@kitman-sh/cli 0.12.0-rc.8 → 0.12.1

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-dh09wyed.js → chunk-0367j54r.js} +42 -42
  2. package/dist/{chunk-y7vjk8vv.js → chunk-0h49y8gf.js} +165 -31
  3. package/dist/{chunk-3kxwb7qn.js → chunk-13yrey2v.js} +7 -7
  4. package/dist/{chunk-7959aeck.js → chunk-1wbdexzg.js} +14 -6
  5. package/dist/{chunk-jg8n8z0z.js → chunk-4d4n8qjs.js} +4 -4
  6. package/dist/{chunk-8sz25ptv.js → chunk-5zhh41gb.js} +4 -4
  7. package/dist/{chunk-e711ebdj.js → chunk-5zth85pj.js} +2 -2
  8. package/dist/{chunk-6pqxsnk1.js → chunk-711r4pfw.js} +20 -20
  9. package/dist/{chunk-9q7qc1dg.js → chunk-adbzjs9g.js} +1 -1
  10. package/dist/{chunk-det0tmx7.js → chunk-beagq0pp.js} +27 -17
  11. package/dist/{chunk-9c9vrbh4.js → chunk-c7253rcg.js} +171 -132
  12. package/dist/{chunk-mmpcdj8f.js → chunk-c76ngzr6.js} +7 -7
  13. package/dist/{chunk-vkchn89k.js → chunk-cbpb2rww.js} +7 -7
  14. package/dist/{chunk-jwc8bdga.js → chunk-fs72937p.js} +5 -5
  15. package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
  16. package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
  17. package/dist/{chunk-3cgshf16.js → chunk-hvwkpnv5.js} +24 -24
  18. package/dist/{chunk-ey4mf341.js → chunk-kvt8cr8m.js} +6 -6
  19. package/dist/{chunk-892qrkb3.js → chunk-mtkstrh3.js} +60 -14
  20. package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
  21. package/dist/{chunk-vrms6e1m.js → chunk-rgby07sa.js} +4 -4
  22. package/dist/{chunk-scb6qgy2.js → chunk-xmdjysn2.js} +52 -24
  23. package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
  24. package/dist/{chunk-d8qcmqh5.js → chunk-y39h1gzp.js} +4 -4
  25. package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -400,7 +400,16 @@ Kitman Web includes user, agent, and operator guides.
400
400
  path: "kits",
401
401
  level: 1,
402
402
  link: "https://kitman.sh/knowledge/docs/kits",
403
- text: "Deploying, installing, publishing and syncing Kits.\n\nA Kit is what Kitman runs and what agents get: Loops, Agents and Schedules, plus a setup of skills, plugins, MCP servers and instructions. It is a repository whose `kitman.config.ts` exports `defineKit({ \u2026 })`. Kits change only at their source.\n\nA Kit reaches the Workspace, a Team or one person in one of two ways, and a name is only ever one of them there:\n\n- **Deployed** from its repository with `kitman deploy`, by hand or from CI through a Deploy Binding.\n- **Installed** from npm with `kitman kit add <name>`. An install follows npm's `latest` unless pinned.\n\nA Team's Tasks and Runs get the Kits of its Owner chain, nearest first: the Team's, then the Workspace's, then Kitman's shipped Kits."
403
+ text: `Deploying, installing, publishing and syncing Kits.
404
+
405
+ A Kit is what Kitman runs and what agents get: Loops, Agents and Schedules, plus a setup of skills, plugins, MCP servers and instructions. It is a repository whose \`kitman.config.ts\` exports \`defineKit({ \u2026 })\`. Kits change only at their source.
406
+
407
+ A Kit reaches the Workspace, a Team or one person in one of two ways, and a name is only ever one of them there:
408
+
409
+ - **Deployed** from its repository with \`kitman deploy\`, by hand or from CI through a Deploy Binding.
410
+ - **Installed** from npm with \`kitman kit add <name>\`. An install follows its Workspace's [release channel](#release-channel) unless pinned.
411
+
412
+ A Team's Tasks and Runs get the Kits of its Owner chain, nearest first: the Team's, then the Workspace's, then Kitman's shipped Kits.`
404
413
  },
405
414
  {
406
415
  title: "Kits Guide \u203A Starting a Kit",
@@ -421,20 +430,14 @@ Kitman Web includes user, agent, and operator guides.
421
430
  path: "kits#listing-installing-and-removing",
422
431
  level: 2,
423
432
  link: "https://kitman.sh/knowledge/docs/kits#listing-installing-and-removing",
424
- text: `## Listing, installing and removing
425
-
426
- \`\`\`sh
427
- kitman kit list [--team <team>|--me]
428
- kitman kit show <name>
429
- kitman kit add <npm name> [--team <team>|--me]
430
- kitman kit pin <name> <version>
431
- kitman kit unpin <name>
432
- kitman kit remove <name> [--yes]
433
- \`\`\`
434
-
435
- \`kitman kit list\` shows each Kit with its version and how it got there: deployed from a repository, or installed from npm. \`kitman kit remove\` removes whichever the name is. A deployed Kit prints what removing it takes away and goes only with \`--yes\`, and needs the rights a deploy does.
436
-
437
- In the web, Knowledge lists a Team's Kits from its Owner chain, and Settings \u2192 Kits shows each deployed Kit's versions, the records it owns and edits made since.`
433
+ text: "## Listing, installing and removing\n\n```sh\nkitman kit list [--team <team>|--me]\nkitman kit show <name>\nkitman kit add <npm name> [--team <team>|--me]\nkitman kit pin <name> <version>\nkitman kit unpin <name>\nkitman kit remove <name> [--yes]\n```\n\n`kitman kit list` shows each Kit with its version and how it got there: deployed from a repository, or installed from npm. `kitman kit remove` removes whichever the name is. A deployed Kit prints what removing it takes away and goes only with `--yes`, and needs the rights a deploy does."
434
+ },
435
+ {
436
+ title: "Kits Guide \u203A Release channel",
437
+ path: "kits#release-channel",
438
+ level: 3,
439
+ link: "https://kitman.sh/knowledge/docs/kits#release-channel",
440
+ text: "### Release channel\n\nAn unpinned npm install follows its Workspace's release channel, the one its Runners follow:\n\n- `stable`, the default: npm's `latest` dist-tag.\n- `next`: the newer of npm's `next` and `latest` dist-tags, so a release candidate published under `next` reaches the install, and a stable release newer than it reaches it too.\n\nA pinned version always wins on either channel. Moving back from `next` to `stable` never downgrades an install: one on a version `next` brought stays on it until npm's `latest` names a newer release. Otherwise a `stable` install follows `latest` wherever it points, back to an older release too when the publisher retags it. A Workspace admin sets the channel in Settings \u2192 General \u2192 Release channel, or with `kitman workspace channel stable|next`.\n\nIn the web, Knowledge lists a Team's Kits from its Owner chain, and Settings \u2192 Kits shows each deployed Kit's versions, the records it owns and edits made since."
438
441
  },
439
442
  {
440
443
  title: "Kits Guide \u203A The Marketplace",
@@ -703,7 +706,14 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
703
706
  path: "runner-operations#herdr-core",
704
707
  level: 3,
705
708
  link: "https://kitman.sh/knowledge/docs/runner-operations#herdr-core",
706
- text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nWhen Kitman serves a stable release newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Release candidates and dev builds are never installed this way. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version.\n\nWhen a Kitman release raises the protocol its Runners speak, Kitman gives an older Runner no more work and shows it with the `update_required` Runner Problem. The Runner installs the release Kitman serves and restarts on it by itself. If the release still reads the older protocol's work calls, the Runner first lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Otherwise its running Steps stop and go back to Kitman once their leases expire. A Runner in a container cannot update itself: it waits for its work the same way, then stops. Run it from an image with the release Kitman serves.\n\nSome work needs a Runner new enough to run its kind, such as a Release's deploy, a benchmark or resolving revisions. While no online Runner that serves such work can run it, its Run says so instead of its place in the queue, and names the Runners that serve it and the Kitman version each runs. Within a few minutes, busy or not, each such Runner's owner, or the Workspace admins for a shared one, is told once per piece of work, with how to update it. An agent Step that no online Runner serving it can launch, for want of its Harness or sandbox, or because the Runner takes no agent Steps, says so the same way.\n\nEvery Runner start updates herdr-core to its latest release within the same protocol generation, keeping your terminals running, so herdr-core follows each Kitman update. An update that cannot happen, such as on a machine that is offline or a herdr-core a package manager installed, leaves the Runner working on the herdr-core it has and shows the `update_failed` Runner Problem with its fix.\n\nA Runner without a herdr-core it can use shows the `herdr_core_missing` Runner Problem and stops:\n\n- herdr-core is not installed: run `curl -fsSL https://releases.herdr.dev/core/install.sh | sh`, then restart the Runner.\n- herdr-core lacks something Kitman needs: run `herdr-core update`, then restart the Runner.\n- herdr-core speaks a newer protocol generation than this Kitman: update Kitman."
709
+ text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nWhen Kitman serves a release on your Workspace's release channel newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version."
710
+ },
711
+ {
712
+ title: "Runner Operations Guide \u203A Release channel",
713
+ path: "runner-operations#release-channel",
714
+ level: 3,
715
+ link: "https://kitman.sh/knowledge/docs/runner-operations#release-channel",
716
+ text: "### Release channel\n\nA Workspace's release channel decides which releases its Runners update themselves to:\n\n- `stable`, the default: only stable releases, such as `0.12.0`.\n- `next`: release candidates Kitman serves too, such as `0.12.0-rc.5`.\n\nDev builds are never installed this way on either channel. A Workspace admin sets the channel in Settings \u2192 General \u2192 Release channel, with `kitman workspace channel next` or `kitman workspace channel stable`, or with the SDK's `updateWorkspace(workspaceId, { releaseChannel })`. Changing it offers each connected Runner the release it now makes due. The same channel decides what its unpinned npm Kits follow; see the [Kits guide](/docs/kits#release-channel).\n\nMoving back from `next` to `stable` never downgrades a Runner: one on a release candidate keeps running it until Kitman serves a stable release newer than it. The Runners page and `kitman runner status` show the channel each Runner follows.\n\nWhen a Kitman release raises the protocol its Runners speak, Kitman gives an older Runner no more work and shows it with the `update_required` Runner Problem. The Runner installs the release Kitman serves and restarts on it by itself. If the release still reads the older protocol's work calls, the Runner first lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Otherwise its running Steps stop and go back to Kitman once their leases expire. A Runner in a container cannot update itself: it waits for its work the same way, then stops. Run it from an image with the release Kitman serves.\n\nSome work needs a Runner new enough to run its kind, such as a Release's deploy, a benchmark or resolving revisions. While no online Runner that serves such work can run it, its Run says so instead of its place in the queue, and names the Runners that serve it and the Kitman version each runs. Within a few minutes, busy or not, each such Runner's owner, or the Workspace admins for a shared one, is told once per piece of work, with how to update it. An agent Step that no online Runner serving it can launch, for want of its Harness or sandbox, or because the Runner takes no agent Steps, says so the same way.\n\nEvery Runner start updates herdr-core to its latest release within the same protocol generation, keeping your terminals running, so herdr-core follows each Kitman update. An update that cannot happen, such as on a machine that is offline or a herdr-core a package manager installed, leaves the Runner working on the herdr-core it has and shows the `update_failed` Runner Problem with its fix.\n\nA Runner without a herdr-core it can use shows the `herdr_core_missing` Runner Problem and stops:\n\n- herdr-core is not installed: run `curl -fsSL https://releases.herdr.dev/core/install.sh | sh`, then restart the Runner.\n- herdr-core lacks something Kitman needs: run `herdr-core update`, then restart the Runner.\n- herdr-core speaks a newer protocol generation than this Kitman: update Kitman."
707
717
  },
708
718
  {
709
719
  title: "Runner Operations Guide \u203A Harnesses",
@@ -1444,7 +1454,7 @@ var pathOfLink = (link) => {
1444
1454
  return page === null ? link : page[1] || "index";
1445
1455
  };
1446
1456
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1447
- var pinnedLink2 = (link, version = "0.12.0-rc.8") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1457
+ var pinnedLink2 = (link, version = "0.12.1") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1448
1458
  var pageOf = (path) => path.split("#")[0];
1449
1459
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1450
1460
  function excerpt(text, queryTerms) {