@kitman-sh/cli 0.13.15 → 0.13.17

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.
Files changed (27) hide show
  1. package/dist/{chunk-6z499mrc.js → chunk-0vv8cbye.js} +40 -28
  2. package/dist/{chunk-3syr8kyv.js → chunk-1cr225aq.js} +5 -5
  3. package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
  4. package/dist/{chunk-ydz5ctsj.js → chunk-4yca7e7x.js} +74 -29
  5. package/dist/{chunk-6kz6qa2h.js → chunk-643pxp2k.js} +4 -4
  6. package/dist/{chunk-ga76znz9.js → chunk-67xn3yer.js} +12 -7
  7. package/dist/{chunk-b07c43pg.js → chunk-80f0p6s7.js} +145 -110
  8. package/dist/{chunk-5qeqhjxy.js → chunk-8nzsyz74.js} +4 -4
  9. package/dist/{chunk-fc2bhh5v.js → chunk-ahvpwkyk.js} +2 -2
  10. package/dist/{chunk-jattyebv.js → chunk-b5edh1jq.js} +31 -31
  11. package/dist/{chunk-82w8rmkc.js → chunk-cbf0q15q.js} +14 -60
  12. package/dist/{chunk-h0jf48ew.js → chunk-efyrm6bv.js} +1 -1
  13. package/dist/{chunk-zem7mg1b.js → chunk-g7ysb6ca.js} +11 -11
  14. package/dist/{chunk-6qdhhk6r.js → chunk-gasqek3p.js} +6 -6
  15. package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
  16. package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
  17. package/dist/{chunk-7cx4t4em.js → chunk-pbmadbfm.js} +4 -4
  18. package/dist/{chunk-rqrtf7sb.js → chunk-pjq9bf3w.js} +4 -4
  19. package/dist/{chunk-npnbac9a.js → chunk-pvsg1ppc.js} +4 -4
  20. package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
  21. package/dist/{chunk-hn9x2jjs.js → chunk-q4ra17vf.js} +3 -3
  22. package/dist/{chunk-z4x9m2bv.js → chunk-syhs23yk.js} +7 -7
  23. package/dist/{chunk-nf9gdnsf.js → chunk-x20t7xy8.js} +17 -17
  24. package/dist/{chunk-my63gy4t.js → chunk-zcpnmgwb.js} +7 -7
  25. package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -594,7 +594,7 @@ kitman run drift <run> --dismiss <constraint> --reason "fixtures, not released m
594
594
  path: "loop-operations#tokens",
595
595
  level: 2,
596
596
  link: "https://kitman.sh/knowledge/docs/loop-operations#tokens",
597
- text: "## Tokens\n\nEach attempt of an agent Step records the input, output and cached tokens its Harness reported in its session: Claude Code, Codex and Pi do. Input counts tokens read fresh or written to the cache; cached counts tokens read from it. Claude Code's subagents write their own session files, and their tokens count with the attempt that ran them. An attempt parked on a Question and resumed adds both parts, and one that ran past its time budget or whose Run was stopped still records what its Harness spent. An attempt whose Harness wrote no usage records that it reported none. `runs.show` and `kitman run show` give the Run's total and each Step's. `runs.show` also gives the Harness each started attempt launched on and the model its launch named; an attempt left to its Harness's default model gives no model. A Child Run shows its own."
597
+ text: "## Tokens\n\nEach attempt of an agent Step records the input, output and cached tokens its Harness reported in its session: Claude Code, Codex and Pi do. OpenCode names the model it ran but no tokens. Input counts tokens read fresh or written to the cache; cached counts tokens read from it. Claude Code's subagents write their own session files, and their tokens count with the attempt that ran them. An attempt parked on a Question and resumed adds both parts, and one that ran past its time budget or whose Run was stopped still records what its Harness spent. An attempt whose Harness wrote no usage records that it reported none. `runs.show`, `kitman run show` and the Run page give the Run's total with its Child Runs at any depth, and the Run's own. The total follows the branches the reader may read: a Child Run they may not read is left out with every Run below it. `runs.show` gives that total's counts as decimal digit strings, since one can pass what a JSON number holds exactly. `runs.show` and `kitman run show` also give each Step's. `runs.show` also gives the Harness each started attempt launched on and the model it ran: the one its Harness's session named, else the one its launch named. A session's name that is not a bare model identifier, or that holds a credential or one of the Run's Secrets, is not stored. An attempt left to its Harness's default model whose session named none gives no model. With no usage reported anywhere in the tree, both totals say none was reported."
598
598
  },
599
599
  {
600
600
  title: "Loop Operations Guide \u203A Automatic starts",
@@ -624,7 +624,7 @@ Turning a start off stops new Runs from it. Runs it already started go on. \`kit
624
624
  path: "loop-operations#agents-and-effort",
625
625
  level: 2,
626
626
  link: "https://kitman.sh/knowledge/docs/loop-operations#agents-and-effort",
627
- text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `planned-implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; the `planner` runs on Claude Fable 5.2 at `high` effort; and the `implementer` runs on Claude alone, waiting out a known quota reset rather than falling back to Pi. The `planned-implementer` extends `implementer` at `low` effort: Build runs it for the first implementation of a Task that plan review passed, and `implementer` at `medium` for everything else. The implementers and the others name no model, so a Step runs on whatever model the Runner's harness is logged in to. A Workspace or Team overrides one, such as its harness, model or effort, by declaring an Agent of the same id that extends it, in a Kit it deploys. Each declaration is a layer over the Agent it extends:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n instructions: `## House rules\nNever approve a migration that edits a released one.`,\n effort: 'high'\n }\n }\n})\n```\n\nA declared Agent replaces only the fields it names. Its instructions merge by `## ` heading:\n\n- A section it names replaces the parent's section with that heading.\n- A new heading is appended.\n- Any text before its first heading replaces the parent's.\n\nAn Agent can list fallbacks for a Runner that does not offer its Harness:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n harness: 'claude',\n effort: 'high',\n fallbacks: [\n { harness: 'codex', model: 'gpt-5.5' },\n { harness: 'pi', effort: 'medium' }\n ]\n }\n }\n})\n```\n\nA Step launches the first choice the claiming Runner offers, and the Run page's Step view shows the choices it skipped and why. A fallback with no effort runs at the Agent's effort, and one with no model runs on the Harness's own model. An Agent that extends another inherits its fallbacks; naming `fallbacks` replaces them, and `fallbacks: []` clears them.\n\nEffort (`low`, `medium`, `high` or `xhigh`) is recorded on each StepAttempt. `kitman agent list --team <team>` shows each Agent merged as that Team's Runs resolve it, with the layer each field came from, so a Team Kit's override reads `claude (team)`. Without `--team` it uses the active Team, or only the workspace layer when there is none, and its first line says which."
627
+ text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `planned-implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; the `planner` runs on Claude Fable 5.2 at `high` effort; and the `implementer` runs on Claude alone, waiting out a known quota reset rather than falling back to Pi. The `planned-implementer` extends `implementer` at `low` effort: Build runs it for the first implementation of a Task that plan review passed, and `implementer` at `medium` for everything else. The implementers and the others name no model, so a Step runs on whatever model the Runner's harness is logged in to. A Workspace or Team overrides one, such as its harness, model or effort, by declaring an Agent of the same id that extends it, in a Kit it deploys. Each declaration is a layer over the Agent it extends:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n instructions: `## House rules\nNever approve a migration that edits a released one.`,\n effort: 'high'\n }\n }\n})\n```\n\nA declared Agent replaces only the fields it names. Its instructions merge by `## ` heading:\n\n- A section it names replaces the parent's section with that heading.\n- A new heading is appended.\n- Any text before its first heading replaces the parent's.\n\nAn Agent can list fallbacks for a Runner that does not offer its Harness:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n harness: 'claude',\n effort: 'high',\n fallbacks: [\n { harness: 'codex', model: 'gpt-5.5' },\n { harness: 'pi', effort: 'medium' }\n ]\n }\n }\n})\n```\n\nA Step launches the first choice the claiming Runner offers, and the Run page's Step view shows the choices it skipped and why. A Step that ran on a later choice than its first is marked on the Run page and in `kitman run show` with the Harness and model it ran on and why its first choice was passed over. The mark follows the latest attempt whose Harness started, which its Runner shows by reporting what the Harness spent or its agent by submitting an Output. A claim alone does not move it: a retry on the first choice clears it once its Harness starts, and an attempt given back before its Harness started, one whose Harness failed to start, and a base sync the Runner found up to date ran no agent and are not marked. A fallback with no effort runs at the Agent's effort, and one with no model runs on the Harness's own model. An Agent that extends another inherits its fallbacks; naming `fallbacks` replaces them, and `fallbacks: []` clears them.\n\nEffort (`low`, `medium`, `high` or `xhigh`) is recorded on each StepAttempt. `kitman agent list --team <team>` shows each Agent merged as that Team's Runs resolve it, with the layer each field came from, so a Team Kit's override reads `claude (team)`. Without `--team` it uses the active Team, or only the workspace layer when there is none, and its first line says which."
628
628
  },
629
629
  {
630
630
  title: "Projects and Saved Views",
@@ -923,7 +923,7 @@ A Team view has three tabs: Active shows unstarted and started Tasks, Backlog th
923
923
 
924
924
  Press **C** or use **New task** in a Team view. A title is enough; everything else is optional. Keep the form open to capture several Tasks in a row. Filing a Task in a Team you are not a member of sends it to that Team's [Triage](/docs/triage).
925
925
 
926
- Open a Task beside its list, or on its own page. The description is markdown and saves as you type. If someone else changes it while you edit, Kitman tells you instead of overwriting their work. The Promise is one sentence that says what is true once the Task is done. Acceptance Criteria are an ordered list that reviews and Runs hold the work to. Out of scope lists the cases the Task does not handle. All three are optional.
926
+ Open a Task beside its list, or on its own page. The description is markdown and saves as you type. If someone else changes it while you edit, Kitman tells you instead of overwriting their work. The Promise is one sentence that says what is true once the Task is done. Acceptance Criteria are an ordered list that reviews and Runs hold the work to. Out of scope lists the cases the Task does not handle: outside a private Team, a review reports a problem in one without holding the change, unless it is a blocker. All three are optional.
927
927
 
928
928
  A Team can require agents to state a Task's scope. An owner or admin turns on **Agents must state a Task's scope** under **Settings**, **Forges**, **Edit delivery**, or a signed-in person with access to the Team runs \`kitman team scope <team> required\`; an agent cannot change it. A Task an agent creates without a Promise is then refused with [how to scope a Task](/docs/scope-tasks), and it creates the Task again with one. A Task from a person, an Event, an alert, launch words, a plan ticket or a Proposal a person approves needs none.
929
929
 
@@ -1555,7 +1555,7 @@ var pathOfLink = (link) => {
1555
1555
  return page === null ? link : page[1] || "index";
1556
1556
  };
1557
1557
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1558
- var pinnedLink2 = (link, version = "0.13.15") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1558
+ var pinnedLink2 = (link, version = "0.13.17") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1559
1559
  var pageOf = (path) => path.split("#")[0];
1560
1560
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1561
1561
  function excerpt(text, queryTerms) {
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-nf9gdnsf.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-x20t7xy8.js";
18
+ import"./chunk-zgraq2y3.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,