@kitman-sh/cli 0.22.0 → 0.24.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.
@@ -237,7 +237,7 @@ Moving a Task to a state agents pick up from, such as **Ready for agents**, or c
237
237
 
238
238
  Nothing new starts while the Task already has a Run that has not finished. To give a new Task blockers before it starts, create it in another state, add its relations, then move it.
239
239
 
240
- Each pickup is listed by \`kitman loop starts\` (\`loops.automaticStarts\`) as a \`task.picked_up\` Event, and each release by a finished blocker as \`task.unblocked\`: the Run it started, or why it started none, such as the blockers it waits on or the Run it already has. A blocker in another private Team is listed only as a count.
240
+ Each pickup is listed by \`kitman loop starts\` (\`loops.automaticStarts\`) as a \`task.picked_up\` Event, and each release by a finished blocker as \`task.unblocked\`: the Run it started, or why it started none, such as the blockers it waits on or the Run it already has. A blocker in another private Team is listed only as a count. A start Kitman tries again after it was refused is listed as \`task.retried\` once it starts a Run.
241
241
 
242
242
  Any state can hand Tasks to agents. In the Team's settings, the **Workflow** tab has a switch with a robot on each state that turns agent pickup on or off; the same robot marks those states in lists and menus. A Triage Rule can accept a Task straight into such a state, so routine work goes from intake to an agent without waiting on a person.`
243
243
  },
@@ -302,7 +302,9 @@ To start it now, use **Start run** and choose **Start anyway**, or pass \`--over
302
302
 
303
303
  When Kitman cannot start a Run for the Task, the move still happens, and the person who moved it gets a **Start** item in their Inbox. It says what is missing: the Task Type has no default Loop, the Loop no longer exists, or the Loop needs something Kitman could not choose, such as a repository. The Task page, its board card and its list row say the same, as **Agents cannot start it**, until a Run starts or the Task leaves the pickup state.
304
304
 
305
- Open the item and use **Start run** in it: pick the Loop, and give what is missing, such as the repository to work in. The item clears itself once a Run starts for the Task, or when the Task leaves the state.`
305
+ Kitman tries the start again about once a minute while the Task waits there, so it starts by itself once what stopped it is fixed: a Kit deployed with a Loop that can run, a repository bound, a Secret set. A start refused again for the same reason tells nobody again; one refused for a new reason replaces the **Start** item, so the Task shows why it cannot start now.
306
+
307
+ To start it sooner, or to give what Kitman cannot choose, open the item and use **Start run** in it: pick the Loop, and give what is missing, such as the repository to work in. The item clears itself once a Run starts for the Task, or when the Task leaves the state.`
306
308
  },
307
309
  {
308
310
  title: "Handing Work to Agents \u203A Starting a Run by hand",
@@ -2209,7 +2211,7 @@ var pathOfLink = (link) => {
2209
2211
  return page === null ? link : page[1] || "index";
2210
2212
  };
2211
2213
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2212
- var pinnedLink2 = (link, version = "0.22.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2214
+ var pinnedLink2 = (link, version = "0.24.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2213
2215
  var pageOf = (path) => path.split("#")[0];
2214
2216
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2215
2217
  function excerpt(text, queryTerms) {
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-jq8hbcnf.js";
8
- import"./chunk-cswzx3jj.js";
9
- import"./chunk-bgwp50wv.js";
7
+ } from "./chunk-112etn4t.js";
8
+ import"./chunk-nhseg19m.js";
9
+ import"./chunk-j35nm5gm.js";
10
10
  import"./chunk-4qjfn1sa.js";
11
- import"./chunk-63cyj9dh.js";
11
+ import"./chunk-j4b1yvcd.js";
12
12
  import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-gap0vmj7.js";
2
+ import"./chunk-bsgvmq34.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,8 +12,8 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-bgwp50wv.js";
16
- import"./chunk-63cyj9dh.js";
15
+ } from "./chunk-j35nm5gm.js";
16
+ import"./chunk-j4b1yvcd.js";
17
17
  import"./chunk-h2f26xbd.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-63cyj9dh.js";
10
2
  import {
11
3
  isString,
12
4
  isObject,
@@ -44,6 +36,14 @@ import {
44
36
  Json,
45
37
  encodePrettyJsonString
46
38
  } from "./chunk-h2f26xbd.js";
39
+ import {
40
+ decodeText,
41
+ mkString,
42
+ FileSystem,
43
+ Path,
44
+ withDefault,
45
+ String2
46
+ } from "./chunk-j4b1yvcd.js";
47
47
  import {
48
48
  SecureRandom,
49
49
  layerWebCrypto,
@@ -60,26 +60,26 @@ import {
60
60
  KitDeclarations,
61
61
  kitmanMcpServer,
62
62
  RunnerRpcProtocolVersion
63
- } from "./chunk-bgwp50wv.js";
63
+ } from "./chunk-j35nm5gm.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-5gx52vjz.js";
67
+ } from "./chunk-j28yqnk0.js";
68
+ import"./chunk-4qjfn1sa.js";
68
69
  import {
69
70
  stepDefinedTwice,
70
71
  hostSteps,
71
72
  exports_activities,
72
73
  describeFlag,
73
74
  Described
74
- } from "./chunk-xqc3fc72.js";
75
- import"./chunk-jq8hbcnf.js";
75
+ } from "./chunk-9s82d4g0.js";
76
+ import"./chunk-112etn4t.js";
76
77
  import"./chunk-tsx0347c.js";
77
78
  import {
78
79
  ChildProcessSpawner,
79
80
  make3
80
- } from "./chunk-gap0vmj7.js";
81
- import"./chunk-cswzx3jj.js";
82
- import"./chunk-4qjfn1sa.js";
81
+ } from "./chunk-bsgvmq34.js";
82
+ import"./chunk-nhseg19m.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
85
85
  import {
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-63cyj9dh.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -18,12 +14,16 @@ import {
18
14
  decodeJsonString,
19
15
  encodePrettyJsonString
20
16
  } from "./chunk-h2f26xbd.js";
17
+ import {
18
+ FileSystem,
19
+ Path
20
+ } from "./chunk-j4b1yvcd.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-ytknm7wg.js";
26
+ } from "./chunk-a3wsye48.js";
27
27
  import {
28
28
  instructionsStart,
29
29
  instructionsEnd,
@@ -31,10 +31,10 @@ import {
31
31
  antigravityPlugins,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-bgwp50wv.js";
35
- import"./chunk-5gx52vjz.js";
36
- import"./chunk-gap0vmj7.js";
34
+ } from "./chunk-j35nm5gm.js";
37
35
  import"./chunk-4qjfn1sa.js";
36
+ import"./chunk-j28yqnk0.js";
37
+ import"./chunk-bsgvmq34.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
40
40
  class KitSyncError extends TaggedError("KitSyncError") {
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-1j38xtvp.js");
8
+ const { runSrtCli } = await import("./chunk-8t2wcrvv.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-samxkpbz.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-js64y97w.js");
14
+ const { runOpencodeReader } = await import("./chunk-npfdbssf.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-vmc9xnvh.js");
17
+ const { runCli } = await import("./chunk-236jyzyz.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {