@skrr-ai/cli 0.1.158 → 0.1.159

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.
@@ -686,7 +686,7 @@
686
686
  "id": "parts",
687
687
  "title": "Multi-part updates: --part",
688
688
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
689
- "tokens": 455,
689
+ "tokens": 540,
690
690
  "aliases": [],
691
691
  "explains": [
692
692
  "INVALID_MESSAGE_SEQUENCE",
@@ -725,7 +725,7 @@
725
725
  ]
726
726
  }
727
727
  ],
728
- "hash": "b37990a98883b920a9582ef398bfff985120e2d03e1de2e46ecf2198e6b75a25",
728
+ "hash": "d7f7f3c7c7d729f5aa1d4937487ca8261f605f12cc5997d16bef44e75744b6af",
729
729
  "tokens": 557
730
730
  },
731
731
  "routedIndex": {
@@ -2075,7 +2075,7 @@
2075
2075
  "routed": false,
2076
2076
  "aliases": [],
2077
2077
  "body": "## Concept model\n\nAn **Agent Update** is a deliberate owner-facing message. It is conversation, not\nrecord: what durably changed belongs to the work's own records, and the message\npoints at it.\n\n## Agent Updates\n\nProactively message the owner whenever it would improve their ability to steer the work, understand\na meaningful change, or stay confidently involved. Adapt to the task, uncertainty and stakes, the\nuser's engagement, what you have already communicated, and any per-agent style direction. Do not\nfollow a fixed schedule or manufacture status chatter.\n\n- Choose the semantic kind: `milestone` for a meaningful completed stage, `status` for a\n useful non-blocking checkpoint, `decision` for a concrete choice, `blocker` when user action is needed to\n continue, and one `result` for the terminal outcome (including failure).\n- Declare the attention intent with `--attention ambient|notify|interrupt`: `ambient` stays in\n the durable timeline by default, `notify` is worth seeing soon, and `interrupt` is reserved for\n work that is blocked or genuinely time-sensitive. The system and the user choose delivery channels and native\n presentation; attention never directly selects an Android channel, iOS interruption level, sound, or critical\n alert, and never bypasses notification preferences, quiet hours, Focus, or rate limits.\n- Say what is newly true and what it changes for the work. Include the next step, decision, or\n uncertainty when it would help the user; do not force every message into a fixed template.\n- Write like a capable teammate giving a busy owner a real, in-the-moment briefing — not like a\n system log, a customer-service script, or a task template. Open on the thing itself, never on a\n subject line (\"Status on the refactor:\", \"Quick update:\"). In the user's language, lead with the\n fresh fact, decision, or risk; then make clear why it matters and what happens next. Where the\n evidence is available, ground the update in one or two useful specifics: the affected thing, the\n evidence, the timing, or the trade-off.\n Use plain, varied sentences and only the confidence the evidence earns. Keep them short: where a\n dash would staple two clauses into one, use two sentences instead. Be warm and direct, but\n never manufacture familiarity, emotion, certainty, or colour that is not true. Avoid AI-shaped\n filler such as \"I am pleased to report\", \"completed / in progress / next step\" recaps,\n \"I will continue to monitor\", \"feel free to let me know\", ceremonial thanks, and vague claims\n such as \"the optimization is complete\". Say the thing instead: \"The migration is in; the\n slowest query fell from 2.8s to 420ms. I am running the full regression now and will flag any\n breakage before merge.\" Treat that as a standard of specificity, not a rigid script. Do not make\n a message longer merely to sound human.\n- Task context and card presentation are separate. A managed session's task context is derived\n server-side, but a message shows no Task Card unless you explicitly choose `--attach-task-card`\n (or `presentation.taskCard: true`). Use a card when it materially helps the user open or follow the\n live task; omit it for ordinary conversational updates.\n- In a hand-started session, use `skrr agent message context --agent <id>` when recent\n updates, read state, or a user's reply would help your judgment. It supplies observations, not a\n schedule or a command to send.\n- In a skrr-managed session, do not pass task, run, or session identity: skrr derives it.\n In a hand-started session, add `--task <task-id>` only when you know the correct task; it is\n declared context.\n- Prefer one message for one thought. For a conversational owner DM — such as a pitch, invitation,\n question, or progress update — when a draft exceeds roughly 320 characters or contains two independent thoughts,\n normally use a 2–4 message human-scale sequence with `--part \"<next thought>\"` and one explicit semantic\n `--idempotency-key`. Do not fragment a single thought merely to send more messages, and never split text\n mechanically: choose the semantic boundaries yourself. If one part does not reach the user, the remaining parts\n are deliberately not sent — the user would otherwise read your thoughts out of order.\n- An idempotency key names ONE update for this agent permanently, so make it specific to this run\n (for example `<task-id>:verify-complete`). Reuse it only to retry that same update: reused with\n the same text it is dropped as a duplicate, and with different text it is rejected.\n- A non-`delivered` status (`held`, `approval_required`, `duplicate`, `dropped`) is a policy\n outcome, not an error. It is never a reason to bypass this command with a direct DM or Slack\n call — this is the only sanctioned agent-to-user path.\n\n## Authority\n\n| Actor | May do | Only a person may do |\n| --- | --- | --- |\n| Agent | Decide to message; declare kind, attention intent, task context and a task card | Choose the delivery channel or native presentation; release a held or approval-gated intent |\n| Person | Everything an Agent may do | — |\n\n## Live state\n\n- `skrr agent message context --agent <id>` — recent updates, read state and owner engagement, as observations for the decision above.\n\n## Related guides\n\n- `tasks` — the records an update points at, and the durable version of what changed.\n- `agents` — which Agent a session speaks as; its `identity` section owns the agent-context refusals.",
2078
- "hash": "e727ca580d003a64140bd4a083763402e19a4f832550e1642b5da8fddc186a72",
2078
+ "hash": "40c0d007ce0780e3e7791824ad759063bbe24a8579ff97ff8535c86e3f57117f",
2079
2079
  "tokens": 1359,
2080
2080
  "sections": [
2081
2081
  {
@@ -2100,7 +2100,7 @@
2100
2100
  "id": "parts",
2101
2101
  "title": "Multi-part updates: --part",
2102
2102
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
2103
- "tokens": 455,
2103
+ "tokens": 540,
2104
2104
  "aliases": [],
2105
2105
  "explains": [
2106
2106
  "INVALID_MESSAGE_SEQUENCE",
@@ -8355,7 +8355,7 @@
8355
8355
  "id": "parts",
8356
8356
  "title": "Multi-part updates: --part",
8357
8357
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
8358
- "tokens": 455,
8358
+ "tokens": 540,
8359
8359
  "aliases": [],
8360
8360
  "explains": [
8361
8361
  "INVALID_MESSAGE_SEQUENCE",
@@ -8406,9 +8406,9 @@
8406
8406
  "INVALID_MESSAGE_SEQUENCE",
8407
8407
  "sequence_invalid"
8408
8408
  ],
8409
- "body": "Read this when one update needs more than one message, or a send answered with a sequence `halt`.\n\n`--part \"<next thought>\"` appends a following message; repeat it for each later\npart. Under the card's ordering rule, here is what the send builds and reports.\n\n- One sequence holds at most 20 parts — the first text plus each `--part`, in order.\n- The server records `{id, index, count}` on every part; `id` is the sequence’s shared key.\n- Part N’s idempotency key is the base key plus `:part:<N>`; a base key that would overflow the 240-character bound keeps a digest trailer instead.\n\n```bash\nskrr agent message send --agent <agent-id> --kind milestone \\\n --idempotency-key \"<task-id>:launch-recap\" \\\n --text \"...\" --part \"...\" --part \"...\"\n```\n\n`--json` reports the sequence as `{sequenceId, parts[], halt?}`; `halt` names\nwhere and why the tail stopped. `ok` is `true` only when every part was sent, so\na sequence whose first part was held answers `ok: false` with `halt` and still\nexits `0` while the platform owns the outcome — branch on `halt` and each part's\nstatus, not on `ok` alone. `ownerInterjected` means the owner replied\nmid-send — the part still delivered, and the tail stopped for the same ordering\nreason. `--no-message-lint` silences the advisory the command prints when one\nlong text may read better as parts.\n\n## Refusals\n\n| Code | Cause | Fix |\n| --- | --- | --- |\n| `INVALID_MESSAGE_SEQUENCE` | `--part` without an explicit `--idempotency-key`, a sequence over the bound, or `--part` on `agent_email` | Give the key, shorten the sequence, or drop the flag |\n| `sequence_invalid` | The server could not parse the sequence `{id, index, count}` | Resend through the CLI; it owns that field |",
8410
- "hash": "bfd978fce0132b684ae2195972d453e05cf53e8a0c1c2461cd7c037537a55ff6",
8411
- "tokens": 455,
8409
+ "body": "Read this when one update needs more than one message, or a send answered with a sequence `halt`.\n\n`--part \"<next thought>\"` appends a following message; repeat it for each later\npart. Under the card's ordering rule, here is what the send builds and reports.\n\n- One sequence holds at most 20 parts — the first text plus each `--part`, in order.\n- The server records `{id, index, count}` on every part; `id` is the sequence’s shared key.\n- Part N’s idempotency key is the base key plus `:part:<N>`; a base key that would overflow the 240-character bound keeps a digest trailer instead.\n\n```bash\nskrr agent message send --agent <agent-id> --kind milestone \\\n --idempotency-key \"<task-id>:launch-recap\" \\\n --text \"...\" --part \"...\" --part \"...\"\n```\n\n`--json` reports the sequence as `{sequenceId, parts[], halt?}`; `halt` names\nwhere and why the tail stopped. `ok` is `true` only when every part was sent, so\na sequence whose first part was held answers `ok: false` with `halt` and still\nexits `0` while the platform owns the outcome — branch on `halt` and each part's\nstatus, not on `ok` alone. `ownerInterjected` means the owner replied\nmid-send — the part still delivered, and the tail stopped for the same ordering\nreason. `--no-message-lint` silences the advisory the command prints when one\nlong text may read better as parts.\n\n## Refusals\n\n| Code | Cause | Fix |\n| --- | --- | --- |\n| `INVALID_MESSAGE_SEQUENCE` | `--part` without an explicit `--idempotency-key`, a sequence over the bound, or `--part` on `agent_email` | Give the key, shorten the sequence, or drop the flag |\n| `sequence_invalid` | The server could not parse the sequence `{id, index, count}` | Resend through the CLI; it owns that field |\n| `owner_replied` | The owner replied before this part was delivered. It is refused (HTTP 409, `retryable: false`) and reported as an error with exit `1`, not as `halt`; `error.details.partialSequence` names the parts already delivered and how many were never attempted | Read their reply first. Do not resend the tail: it may no longer be the right thing to say |",
8410
+ "hash": "dde30f37c6d65668028054470464bff286a28bc78245c56e0be8ffdb21dad66c",
8411
+ "tokens": 540,
8412
8412
  "sections": [
8413
8413
  {
8414
8414
  "id": "writing",
@@ -8432,7 +8432,7 @@
8432
8432
  "id": "parts",
8433
8433
  "title": "Multi-part updates: --part",
8434
8434
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
8435
- "tokens": 455,
8435
+ "tokens": 540,
8436
8436
  "aliases": [],
8437
8437
  "explains": [
8438
8438
  "INVALID_MESSAGE_SEQUENCE",
@@ -8508,7 +8508,7 @@
8508
8508
  "id": "parts",
8509
8509
  "title": "Multi-part updates: --part",
8510
8510
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
8511
- "tokens": 455,
8511
+ "tokens": 540,
8512
8512
  "aliases": [],
8513
8513
  "explains": [
8514
8514
  "INVALID_MESSAGE_SEQUENCE",
@@ -8593,7 +8593,7 @@
8593
8593
  "id": "parts",
8594
8594
  "title": "Multi-part updates: --part",
8595
8595
  "readWhen": "one update needs more than one message, or a send answered with a sequence halt",
8596
- "tokens": 455,
8596
+ "tokens": 540,
8597
8597
  "aliases": [],
8598
8598
  "explains": [
8599
8599
  "INVALID_MESSAGE_SEQUENCE",
@@ -147027,5 +147027,5 @@
147027
147027
  ]
147028
147028
  }
147029
147029
  },
147030
- "version": "0.1.158"
147030
+ "version": "0.1.159"
147031
147031
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.158",
3
+ "version": "0.1.159",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -690,5 +690,5 @@
690
690
  "engines": {
691
691
  "node": ">=20.0.0"
692
692
  },
693
- "gitHead": "877449e52536d27b434fd4f68462bb5a63407243"
693
+ "gitHead": "673b205952372265e85f879f5ca96dbb3ec56aea"
694
694
  }