@simplepush/cli 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -86,7 +86,7 @@ sp cancel grptsk_0198… --reason answered --note "already handled"
86
86
  sp cancel sub_0198… --reason superseded --superseded-by sub_0199…
87
87
  ```
88
88
 
89
- Already-answered members are skipped, never failed; re-canceling is a no-op. With an API token it cancels a personal send, without one it uses the org session. `--note` is sealed under the org master key automatically on org cancels; on personal cancels pass `-p "pw@topic"` (topic send) or a bare `-p "pw"` (send to your own devices) to seal it.
89
+ Already-answered members are skipped, never failed; re-canceling is a no-op. With an API token it cancels a personal send, without one it uses the org session. `--note` is sealed under the target's own key whenever the CLI holds it: the org vault on org cancels, or the matching `-p "pw@topic"` (topic send) / bare `-p "pw"` (send to your own devices) on personal ones; otherwise it ships plaintext with a warning.
90
90
 
91
91
  ### Download the files people upload
92
92
 
@@ -162,7 +162,7 @@ Collect its answers like any send: pipe the `sent` line, or collect after the fa
162
162
  sp subtask --append-token "$TOKEN" --format json \
163
163
  --text-input "ETA?" | sp collect --inputs
164
164
 
165
- sp collect --instance tsk_0198…/sub_0198… --since 24h
165
+ sp collect --instance sub_0198… --since 24h
166
166
  ```
167
167
 
168
168
  ### Watch your account live, or replay history
@@ -202,6 +202,7 @@ The read commands mirror the MCP query tools, so an agent can ask questions like
202
202
  sp get tasks --status expired --since 7d --format json # one JSON object per line
203
203
  sp get tasks --status pending --member anna --all # follow cursors to the end
204
204
  sp get tsk_… # the chain: root + subtasks, decrypted where keys are held
205
+ sp get sub_… # one subtask on its own
205
206
  sp get grptsk_… # per-recipient status of a group send
206
207
  sp get submissions --since 24h --member anna
207
208
  sp events --since 7d --member anna # events replay, narrowed client-side