@kitman-sh/cli 0.13.15 → 0.13.16

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.
@@ -1,4 +1,123 @@
1
1
  // @bun
2
+ import {
3
+ currentTimeMillis,
4
+ SecureRandom,
5
+ layerWebCrypto,
6
+ runMain,
7
+ Stdio,
8
+ Terminal,
9
+ layer3,
10
+ error,
11
+ log,
12
+ toIso,
13
+ currentDate,
14
+ waitingOnWords,
15
+ queueWords,
16
+ redactResponseSurface,
17
+ ReleaseChannels,
18
+ DefaultReleaseChannel,
19
+ newerKitmanVersion,
20
+ releaseChannelOffers,
21
+ NetworkHost,
22
+ RepoBindingProviders,
23
+ RepoBindingCredentialProviderTypes,
24
+ ContextPackModes,
25
+ DefaultContextPackMode,
26
+ ProposalStatuses,
27
+ ProposalTargetTypes,
28
+ tokenCountWords,
29
+ RunDisplayStates,
30
+ RunnerExecutionBackend,
31
+ MaxRunnerConcurrency,
32
+ PinnedImage,
33
+ RunnerSettingNames,
34
+ RunnerSettingsUpdate,
35
+ defaultRunnerSettings,
36
+ shownRunnerSetting,
37
+ defaultRunnerCapabilities,
38
+ deliveryProviderActions,
39
+ MemoryStatuses,
40
+ MemoryScopes,
41
+ MaxMemoryListLimit,
42
+ DecisionStatuses,
43
+ FixFlowRecoveryActions,
44
+ KitmanAgentCapabilityNames,
45
+ sha2562,
46
+ isRunFileRefusalReason,
47
+ runFileRefusalWords,
48
+ repositoryKey,
49
+ createId,
50
+ digestSha256,
51
+ sha256Hasher,
52
+ raw,
53
+ make5,
54
+ get,
55
+ put,
56
+ HttpClient,
57
+ execute,
58
+ Fetch,
59
+ layer4,
60
+ runDisplayLabels,
61
+ listedSummary,
62
+ stepFallbackWords,
63
+ defaultKitName,
64
+ SetupArchive,
65
+ KitmanClientError,
66
+ KitmanEffectClient,
67
+ CliError,
68
+ DefaultApiUrl,
69
+ resolveConfig,
70
+ apiUrlFromEnv,
71
+ stepCredentialFromEnv,
72
+ mcpCredentialNameFromEnv,
73
+ userConfigPath,
74
+ userAuthPath,
75
+ userHarnessSyncPath,
76
+ kitSetupCacheDir,
77
+ bundleCacheDir,
78
+ runnerReleaseChannelPath,
79
+ localConfigPath,
80
+ readUserConfig,
81
+ writeUserConfig,
82
+ sessionForApi,
83
+ readAuthStore,
84
+ storeSession,
85
+ removeSession,
86
+ removeAllSessions,
87
+ agentCredentialForApi,
88
+ storeAgentCredential,
89
+ removeAgentCredential,
90
+ normalizeApiUrl,
91
+ isStoredAgentCredential,
92
+ RpcClientError,
93
+ RunnerHeaders,
94
+ RunnerRpcError,
95
+ parseCallbackUrl,
96
+ revokeToken,
97
+ toStoredSession,
98
+ browserLogin,
99
+ openBrowser,
100
+ shouldRefresh,
101
+ createSdkClient,
102
+ refreshSession,
103
+ createAgentAuthBearerToken,
104
+ createAgentAuthSignedFetch,
105
+ setupMcpAgentCredential,
106
+ generateAgentKeyPair,
107
+ HERDR_CORE_GENERATION2,
108
+ HERDR_CORE_INSTALL_COMMAND2,
109
+ CommandFailed2,
110
+ runCommand2,
111
+ detectHarnesses2,
112
+ kitHarnesses,
113
+ isKitHarness,
114
+ harnessNames,
115
+ herdrRunnerCapabilities2,
116
+ declaredChecks
117
+ } from "./chunk-zd6y6ka8.js";
118
+ import {
119
+ Id
120
+ } from "./chunk-q5w3v4k1.js";
2
121
  import {
3
122
  isTagged,
4
123
  none,
@@ -117,127 +236,10 @@ import {
117
236
  option,
118
237
  String2
119
238
  } from "./chunk-nf9gdnsf.js";
120
- import {
121
- currentTimeMillis,
122
- SecureRandom,
123
- layerWebCrypto,
124
- runMain,
125
- Stdio,
126
- Terminal,
127
- layer3,
128
- error,
129
- log,
130
- toIso,
131
- currentDate,
132
- waitingOnWords,
133
- queueWords,
134
- redactResponseSurface,
135
- ReleaseChannels,
136
- DefaultReleaseChannel,
137
- newerKitmanVersion,
138
- releaseChannelOffers,
139
- NetworkHost,
140
- RepoBindingProviders,
141
- RepoBindingCredentialProviderTypes,
142
- ContextPackModes,
143
- DefaultContextPackMode,
144
- ProposalStatuses,
145
- ProposalTargetTypes,
146
- RunDisplayStates,
147
- RunnerExecutionBackend,
148
- MaxRunnerConcurrency,
149
- PinnedImage,
150
- RunnerSettingNames,
151
- RunnerSettingsUpdate,
152
- defaultRunnerSettings,
153
- shownRunnerSetting,
154
- defaultRunnerCapabilities,
155
- deliveryProviderActions,
156
- MemoryStatuses,
157
- MemoryScopes,
158
- MaxMemoryListLimit,
159
- DecisionStatuses,
160
- FixFlowRecoveryActions,
161
- KitmanAgentCapabilityNames,
162
- sha2562,
163
- isRunFileRefusalReason,
164
- runFileRefusalWords,
165
- repositoryKey,
166
- createId,
167
- digestSha256,
168
- sha256Hasher,
169
- raw,
170
- make5,
171
- get,
172
- put,
173
- HttpClient,
174
- execute,
175
- Fetch,
176
- layer4,
177
- runDisplayLabels,
178
- listedSummary,
179
- defaultKitName,
180
- SetupArchive,
181
- KitmanClientError,
182
- KitmanEffectClient,
183
- CliError,
184
- DefaultApiUrl,
185
- resolveConfig,
186
- apiUrlFromEnv,
187
- stepCredentialFromEnv,
188
- mcpCredentialNameFromEnv,
189
- userConfigPath,
190
- userAuthPath,
191
- userHarnessSyncPath,
192
- kitSetupCacheDir,
193
- bundleCacheDir,
194
- runnerReleaseChannelPath,
195
- localConfigPath,
196
- readUserConfig,
197
- writeUserConfig,
198
- sessionForApi,
199
- readAuthStore,
200
- storeSession,
201
- removeSession,
202
- removeAllSessions,
203
- agentCredentialForApi,
204
- storeAgentCredential,
205
- removeAgentCredential,
206
- normalizeApiUrl,
207
- isStoredAgentCredential,
208
- RpcClientError,
209
- RunnerHeaders,
210
- RunnerRpcError,
211
- parseCallbackUrl,
212
- revokeToken,
213
- toStoredSession,
214
- browserLogin,
215
- openBrowser,
216
- shouldRefresh,
217
- createSdkClient,
218
- refreshSession,
219
- createAgentAuthBearerToken,
220
- createAgentAuthSignedFetch,
221
- setupMcpAgentCredential,
222
- generateAgentKeyPair,
223
- HERDR_CORE_GENERATION2,
224
- HERDR_CORE_INSTALL_COMMAND2,
225
- CommandFailed2,
226
- runCommand2,
227
- detectHarnesses2,
228
- kitHarnesses,
229
- isKitHarness,
230
- harnessNames,
231
- herdrRunnerCapabilities2,
232
- declaredChecks
233
- } from "./chunk-b07c43pg.js";
234
- import {
235
- Id
236
- } from "./chunk-q5w3v4k1.js";
237
239
  import {
238
240
  ChildProcessSpawner,
239
241
  make3
240
- } from "./chunk-82w8rmkc.js";
242
+ } from "./chunk-vsrjg9nm.js";
241
243
 
242
244
  // apps/cli/src/cli-error.ts
243
245
  function cliErrorCode(error, status) {
@@ -1018,10 +1020,10 @@ var sandboxMissing = (sandbox, missing) => ({
1018
1020
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
1019
1021
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
1020
1022
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
1021
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rqrtf7sb.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1023
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-c9rvst3x.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1022
1024
  });
1023
1025
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
1024
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rqrtf7sb.js")), (module) => module.updateHerdrCore(options))
1026
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-c9rvst3x.js")), (module) => module.updateHerdrCore(options))
1025
1027
  });
1026
1028
  var herdrCoreMissing = (error) => {
1027
1029
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1447,7 +1449,7 @@ var syncTargets = (harness) => gen(function* () {
1447
1449
  });
1448
1450
  var syncKits = (input) => gen(function* () {
1449
1451
  const fs = yield* FileSystem;
1450
- const { syncKitSetup } = yield* promise(() => import("./chunk-z4x9m2bv.js"));
1452
+ const { syncKitSetup } = yield* promise(() => import("./chunk-sjdze64n.js"));
1451
1453
  const harnesses = yield* syncTargets(input.harness);
1452
1454
  const chain = yield* input.client.getKitChain(input.workspaceId);
1453
1455
  for (const { name, problem } of chain.skipped)
@@ -2366,7 +2368,7 @@ var package_default = {
2366
2368
  };
2367
2369
 
2368
2370
  // apps/cli/src/scaffold.ts
2369
- var cliVersion = "0.13.15";
2371
+ var cliVersion = "0.13.16";
2370
2372
  var packageJson = (name, scaffold) => `${JSON.stringify({
2371
2373
  name,
2372
2374
  private: true,
@@ -2518,7 +2520,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2518
2520
 
2519
2521
  // apps/cli/src/commands.ts
2520
2522
  var ClientId = "kitman-cli";
2521
- var agentRuntime = promise(() => import("./chunk-ydz5ctsj.js"));
2523
+ var agentRuntime = promise(() => import("./chunk-t4xwk14b.js"));
2522
2524
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2523
2525
  defaultValue: () => gen(function* () {
2524
2526
  const tui = yield* tryPromise({
@@ -3554,7 +3556,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3554
3556
  });
3555
3557
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3556
3558
  defaultValue: () => (options) => gen(function* () {
3557
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-6qdhhk6r.js"));
3559
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-49gbakce.js"));
3558
3560
  return yield* makeRunnerRpcClient({
3559
3561
  runnerId: options.runnerId,
3560
3562
  bearer: options.bearer,
@@ -3958,11 +3960,12 @@ function startCanonicalHerdrRunnerCommand(input) {
3958
3960
  spending,
3959
3961
  sandbox: sandboxOf,
3960
3962
  heartbeat: heartbeatOf,
3963
+ harnessStarted: (work) => asVoid(rpc.heartbeat({ workUnitId: work.id, lease: leaseOf(work), harnessStarted: true })),
3961
3964
  gitCredentials: rpc.gitCredential,
3962
3965
  checkpoints: rpcStepCheckpoints(rpc, signals, storage),
3963
3966
  transcripts: (work, entries) => rpc.appendTranscript({ workUnitId: work.id, entries }),
3964
3967
  runnerScope: scope,
3965
- runAgent: (work, worktree, session, steered, refused) => flatMap3(currentTimeMillis, (now) => agentBackend.execute({
3968
+ runAgent: (work, worktree, session, steered, refused, launched) => flatMap3(currentTimeMillis, (now) => agentBackend.execute({
3966
3969
  runnerId: input.runnerId,
3967
3970
  sharedRunner: !personal,
3968
3971
  attempt: runnerStepAttemptFromAgentStep(work),
@@ -3974,6 +3977,7 @@ function startCanonicalHerdrRunnerCommand(input) {
3974
3977
  ...work.secretDestinations === undefined ? undefined : { secretDestinations: work.secretDestinations }
3975
3978
  },
3976
3979
  recordRefusal: refused,
3980
+ launched,
3977
3981
  revokedSecrets: heartbeatOf(work).pipe(map8((state) => state.revokedSecrets ?? [])),
3978
3982
  sandbox: {
3979
3983
  backend: work.sandbox ?? sandboxOf(work),
@@ -4049,11 +4053,12 @@ function startCanonicalHerdrRunnerCommand(input) {
4049
4053
  }).pipe(asVoid)), tapError2(onProtocolRefusal)),
4050
4054
  heartbeatWork: (workUnitId, lease) => rpc.heartbeat({ workUnitId, lease }),
4051
4055
  complete: (completion) => rpc.complete(completion),
4052
- release: (workUnitId, lease, crashed, tokens) => rpc.release({
4056
+ release: (workUnitId, lease, crashed, tokens, ranModel) => rpc.release({
4053
4057
  workUnitId,
4054
4058
  lease,
4055
4059
  ...crashed === undefined ? undefined : { crashed: { reason: crashed } },
4056
- ...tokens === undefined ? undefined : { tokens }
4060
+ ...tokens === undefined ? undefined : { tokens },
4061
+ ...ranModel === undefined ? undefined : { ranModel }
4057
4062
  })
4058
4063
  };
4059
4064
  };
@@ -4076,9 +4081,9 @@ function startCanonicalHerdrRunnerCommand(input) {
4076
4081
  }
4077
4082
  },
4078
4083
  spent: (workUnitId) => sync2(() => {
4079
- const tokens = spending.get(workUnitId);
4084
+ const spend = spending.get(workUnitId);
4080
4085
  spending.delete(workUnitId);
4081
- return tokens;
4086
+ return spend;
4082
4087
  })
4083
4088
  },
4084
4089
  signals
@@ -4118,7 +4123,7 @@ function mcpCommand(args) {
4118
4123
  if (command.action === "run") {
4119
4124
  if (command.args.length > 0)
4120
4125
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4121
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-jattyebv.js"));
4126
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-tntbdpmy.js"));
4122
4127
  return yield* runMcpServerCommand({ flags: command.flags });
4123
4128
  }
4124
4129
  if (command.action !== "setup")
@@ -4606,7 +4611,7 @@ function programLoopCommand(command) {
4606
4611
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4607
4612
  });
4608
4613
  }
4609
- var docsModule = promise(() => import("./chunk-h0jf48ew.js"));
4614
+ var docsModule = promise(() => import("./chunk-v1e4g2re.js"));
4610
4615
  function docsCommand(args) {
4611
4616
  return gen(function* () {
4612
4617
  const command = parseCommand(args);
@@ -4846,8 +4851,14 @@ var runListLine = (item) => [
4846
4851
  item.display.summary === undefined ? "" : listedSummary(item.display.summary),
4847
4852
  item.run.id
4848
4853
  ].filter((part) => part !== "").join(" ");
4849
- var tokenWords = (tokens) => `${tokens.input.toLocaleString("en-US")} input, ${tokens.output.toLocaleString("en-US")} output, ${tokens.cached.toLocaleString("en-US")} cached`;
4854
+ var tokenWords = (tokens) => `${tokenCountWords(tokens.input)} input, ${tokenCountWords(tokens.output)} output, ${tokenCountWords(tokens.cached)} cached`;
4850
4855
  var stepTokenLines = (step) => step.tokens !== undefined ? [` Tokens: ${tokenWords(step.tokens)}`] : step.attempts.some((attempt) => attempt.tokens === "none") ? [" Tokens: none reported"] : [];
4856
+ var terminalText = (text) => text.replace(/[\u0000-\u001f\u007f-\u009f]/gu, (char) => `\\u${char.charCodeAt(0).toString(16).padStart(4, "0")}`);
4857
+ var reportedTokenWords = (tokens) => tokens === undefined ? "none reported" : tokenWords(tokens);
4858
+ var runTokenLines = ({ tokens, tokensWithChildRuns }) => [
4859
+ `Tokens with Child Runs: ${reportedTokenWords(tokensWithChildRuns)}`,
4860
+ `Tokens, the Run\u2019s own: ${reportedTokenWords(tokens)}`
4861
+ ];
4851
4862
  var runShowLines = (shown) => [
4852
4863
  `Run ${shown.run.id}: ${runDisplayLabels[shown.display.state]}${shown.display.retried ? " \xB7 Retried" : ""}`,
4853
4864
  ...shown.display.summary === undefined ? [] : [`Now: ${shown.display.summary}`],
@@ -4858,9 +4869,10 @@ var runShowLines = (shown) => [
4858
4869
  `Loop${shown.run.loopVersion === undefined ? "" : ` ${shown.run.loopVersion}`}${shown.run.loopLayer === undefined ? "" : ` from the ${shown.run.loopLayer} layer`}, digest ${shown.run.loopDigest}`
4859
4870
  ],
4860
4871
  ...shown.run.failureSummary === undefined ? [] : [`Failure: ${shown.run.failureSummary}`],
4861
- ...shown.tokens === undefined ? [] : [`Tokens: ${tokenWords(shown.tokens)}`],
4872
+ ...runTokenLines(shown),
4862
4873
  ...shown.steps.flatMap((step) => [
4863
4874
  `Step ${step.name}: ${step.status} (attempt ${step.attempts.length})`,
4875
+ ...step.fallback === undefined ? [] : [` ${terminalText(stepFallbackWords(step.fallback))}`],
4864
4876
  ...stepTokenLines(step),
4865
4877
  ...claimLines(step)
4866
4878
  ]),
@@ -5441,9 +5453,9 @@ function changeRequestCommand(args) {
5441
5453
  yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
5442
5454
  });
5443
5455
  }
5444
- var KitWriter = map8(promise(() => import("./chunk-zem7mg1b.js")), (build) => build.writeKit);
5456
+ var KitWriter = map8(promise(() => import("./chunk-at5dh2te.js")), (build) => build.writeKit);
5445
5457
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5446
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-zem7mg1b.js")), (build) => build.buildKit(directory))
5458
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-at5dh2te.js")), (build) => build.buildKit(directory))
5447
5459
  });
5448
5460
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5449
5461
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-5qeqhjxy.js";
7
+ } from "./chunk-y7p4d14b.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -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",
@@ -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.16") => 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) {
@@ -1,4 +1,17 @@
1
1
  // @bun
2
+ import {
3
+ isDateTime,
4
+ Numeric,
5
+ isWholeNumber,
6
+ guard,
7
+ Id,
8
+ Timestamp,
9
+ ActorType,
10
+ SecretName,
11
+ SecretScope,
12
+ SecretHosts,
13
+ isSecretReference
14
+ } from "./chunk-q5w3v4k1.js";
2
15
  import {
3
16
  pipeArguments,
4
17
  dual,
@@ -198,6 +211,7 @@ import {
198
211
  omit,
199
212
  map9,
200
213
  declare,
214
+ is,
201
215
  decodeUnknownEffect2,
202
216
  decodeEffect,
203
217
  decodeUnknownOption,
@@ -329,19 +343,6 @@ import {
329
343
  optionalEnv,
330
344
  harnessesUnsupportedInSrt2
331
345
  } from "./chunk-nf9gdnsf.js";
332
- import {
333
- isDateTime,
334
- Numeric,
335
- isWholeNumber,
336
- guard,
337
- Id,
338
- Timestamp,
339
- ActorType,
340
- SecretName,
341
- SecretScope,
342
- SecretHosts,
343
- isSecretReference
344
- } from "./chunk-q5w3v4k1.js";
345
346
  import {
346
347
  isRedacted,
347
348
  make,
@@ -355,7 +356,7 @@ import {
355
356
  make3,
356
357
  parseFdName,
357
358
  fdName
358
- } from "./chunk-82w8rmkc.js";
359
+ } from "./chunk-vsrjg9nm.js";
359
360
 
360
361
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
362
  var makeEquivalence3 = Tuple;
@@ -3822,6 +3823,9 @@ function redactResponseValue(value, key, depth) {
3822
3823
  function redactCredentials(output) {
3823
3824
  return CREDENTIAL_RULES.reduce(redactedBy, output);
3824
3825
  }
3826
+ function redactCredentialText(text) {
3827
+ return RESPONSE_RULES.reduce(redactedBy, text);
3828
+ }
3825
3829
  function redactedOutputTail(output, maxChars = 4000) {
3826
3830
  const redacted = redactCredentials(output);
3827
3831
  return redacted.length <= maxChars ? redacted : redacted.slice(-maxChars);
@@ -5630,6 +5634,9 @@ var sum = (usages) => usages.length === 0 ? undefined : usages.reduce((total, us
5630
5634
  cached: total.cached + usage.cached
5631
5635
  }));
5632
5636
  var tokensSpent = (attempts) => sum(attempts.filter((tokens) => tokens !== undefined && tokens !== "none"));
5637
+ var TokenTotalCount = String4.check(isPattern(/^(?:0|[1-9][0-9]*)$/));
5638
+ var TokenTotal = Struct({ input: TokenTotalCount, output: TokenTotalCount, cached: TokenTotalCount });
5639
+ var tokenCountWords = (count) => BigInt(count).toLocaleString("en-US");
5633
5640
 
5634
5641
  // packages/core/src/loop.ts
5635
5642
  var LoopStatuses = ["draft", "active", "disabled", "archived"];
@@ -5856,6 +5863,7 @@ var LoopSafeReferenceString = String4.check(isMinLength(1), isMaxLength(240), is
5856
5863
  var LoopSafeInternalReferenceString = String4.check(isMinLength(1), isMaxLength(240), isPattern(new RegExp(LoopSafeInternalReferencePattern, "u")));
5857
5864
  var loopSafeTextMaxLength = 4000;
5858
5865
  var LoopSafeText = String4.check(isMaxLength(loopSafeTextMaxLength), isPattern(new RegExp(`^(?![\\s\\S]*(?:${LoopCredentialContentPattern}|[A-Za-z][A-Za-z0-9+.-]*://(?:[^\\s/?#]*@|[^\\s?#]*\\?)))[\\s\\S]*$`, "u")));
5866
+ var reportedModelName = (named) => /^[A-Za-z0-9][\w.:/@+[\]-]{0,199}$/u.test(named) && is(LoopSafeText)(named) && redactCredentialText(named) === named ? named : undefined;
5859
5867
  var QuestionText = String4;
5860
5868
  var LoopSafeOutputDataString = String4.check(isMaxLength(4000), isPattern(new RegExp(LoopSafeInternalReferencePattern, "u")));
5861
5869
  var LoopSafePackageName = String4.check(isMinLength(1), isMaxLength(200), isPattern(new RegExp(LoopSafeReferencePattern, "u")));
@@ -6392,6 +6400,12 @@ var SkippedChoice = Struct({
6392
6400
  reason: Literals(SkippedChoiceReasons),
6393
6401
  until: optionalKey(Timestamp)
6394
6402
  });
6403
+ var StepFallback = Struct({
6404
+ harness: String4,
6405
+ model: optionalKey(String4),
6406
+ effort: optionalKey(Literals(AgentEfforts)),
6407
+ firstChoice: SkippedChoice
6408
+ });
6395
6409
  var StepAttempt = Struct({
6396
6410
  id: Id,
6397
6411
  workspaceId: Id,
@@ -6532,7 +6546,8 @@ var RunStepSummary = Struct({
6532
6546
  model: optionalKey(String4),
6533
6547
  tokens: optionalKey(AttemptTokens)
6534
6548
  })),
6535
- tokens: optionalKey(TokenUsage)
6549
+ tokens: optionalKey(TokenUsage),
6550
+ fallback: optionalKey(StepFallback)
6536
6551
  });
6537
6552
  var RunSteerDeliveries = ["queued", "delivered", "failed"];
6538
6553
  var RunSteer = Struct({
@@ -6595,6 +6610,7 @@ var RunGraphNode = Struct({
6595
6610
  model: optionalKey(String4),
6596
6611
  runner: optionalKey(Struct({ id: Id, name: String4 }))
6597
6612
  })),
6613
+ fallback: optionalKey(StepFallback),
6598
6614
  child: optionalKey(Struct({
6599
6615
  runId: Id,
6600
6616
  loopTitle: String4,
@@ -6627,6 +6643,7 @@ var RunShow = Struct({
6627
6643
  steps: ArraySchema(RunStepSummary),
6628
6644
  questions: ArraySchema(Question),
6629
6645
  questionsBelow: optionalKey(ArraySchema(QuestionBelow)),
6646
+ runsBelow: optionalKey(ArraySchema(Struct({ runId: Id, parentRunId: Id }))),
6630
6647
  children: ArraySchema(Struct({
6631
6648
  runId: Id,
6632
6649
  name: String4,
@@ -6647,7 +6664,8 @@ var RunShow = Struct({
6647
6664
  steers: ArraySchema(RunSteer),
6648
6665
  waiting: ArraySchema(RunWaiting),
6649
6666
  closures: ArraySchema(RunClosure),
6650
- tokens: optionalKey(TokenUsage)
6667
+ tokens: optionalKey(TokenUsage),
6668
+ tokensWithChildRuns: optionalKey(TokenTotal)
6651
6669
  });
6652
6670
  var RunStartPreview = Struct({
6653
6671
  loop: Struct({ id: String4, title: String4, outcome: optionalKey(String4) }),
@@ -7109,6 +7127,7 @@ var WorkUnitHeartbeatInput = Struct({
7109
7127
  workUnitId: Id,
7110
7128
  lease: WorkUnitLeaseInput,
7111
7129
  leaseDurationSeconds: optionalKey(Int.check(isGreaterThanOrEqualTo(1), isLessThanOrEqualTo(3600))),
7130
+ harnessStarted: optionalKey(Literal(true)),
7112
7131
  secrets: optionalKey(ArraySchema(Struct({ name: SecretName, version: String4.check(isMinLength(1), isMaxLength(128)) })).check(isMaxLength(256)))
7113
7132
  });
7114
7133
  var WorkUnitHeartbeatResult = Struct({
@@ -7122,7 +7141,8 @@ var WorkUnitReleaseInput = Struct({
7122
7141
  workUnitId: Id,
7123
7142
  lease: WorkUnitLeaseInput,
7124
7143
  crashed: optionalKey(Struct({ reason: String4.check(isMinLength(1), isMaxLength(500)) })),
7125
- tokens: optionalKey(AttemptTokens)
7144
+ tokens: optionalKey(AttemptTokens),
7145
+ ranModel: optionalKey(String4.check(isMinLength(1), isMaxLength(200)))
7126
7146
  });
7127
7147
  var CheckEvidence = Struct({
7128
7148
  name: String4.check(isMinLength(1), isMaxLength(120)),
@@ -7193,6 +7213,7 @@ var WorkUnitOutcome = Struct({
7193
7213
  harnessHold: optionalKey(HarnessHold),
7194
7214
  restart: optionalKey(StepRestart),
7195
7215
  tokens: optionalKey(AttemptTokens),
7216
+ ranModel: optionalKey(String4.check(isMinLength(1), isMaxLength(200))),
7196
7217
  failureSummary: optionalKey(String4.check(isMinLength(1), isMaxLength(4000)))
7197
7218
  });
7198
7219
  var WorkUnitCompletion = Struct({
@@ -11480,6 +11501,20 @@ var listedSummary = (summary) => {
11480
11501
  const line = summary.replace(/\s+/g, " ").trim();
11481
11502
  return line.length <= summaryLimit ? line : `${Array.from(line).slice(0, summaryLimit).join("").trimEnd()}\u2026`;
11482
11503
  };
11504
+ // packages/core/src/step-fallback.ts
11505
+ var skippedReasonWords = {
11506
+ not_on_runner: "not on this Runner",
11507
+ out_of_quota: "out of quota",
11508
+ rate_limited: "rate limited",
11509
+ login_refused: "login refused",
11510
+ failed_to_start: "failed to start"
11511
+ };
11512
+ var choiceWords = (choice, unnamedModel) => [
11513
+ choice.harness ?? "the Runner\u2019s default Harness",
11514
+ choice.model ?? unnamedModel,
11515
+ ...choice.effort === undefined ? [] : [`${choice.effort} effort`]
11516
+ ].join(" \xB7 ");
11517
+ var stepFallbackWords = (fallback) => `Fallback: ${choiceWords(fallback, "model not reported")}. First choice ${choiceWords(fallback.firstChoice, "its Harness\u2019s default model")}: ${skippedReasonWords[fallback.firstChoice.reason]}`;
11483
11518
  // packages/core/src/kit.ts
11484
11519
  var KitName = String4.check(isMinLength(1), isMaxLength(214), isPattern(new RegExp("^(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$", "u")));
11485
11520
  var KitDigest = String4.check(isPattern(new RegExp("^[a-f0-9]{64}$", "u")));
@@ -16248,4 +16283,4 @@ function checkServices(declaration) {
16248
16283
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16249
16284
  }
16250
16285
 
16251
- export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, failedTestOfLine, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16286
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, failedTestOfLine, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
package/dist/index.js CHANGED
@@ -8,12 +8,12 @@ if (args[0] === "srt") {
8
8
  const { runSrtCli } = await import("./chunk-fc2bhh5v.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-gy9rf14f.js");
11
+ const { runSrtStep } = await import("./chunk-s88vcvtd.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-6kz6qa2h.js");
14
+ const { runOpencodeReader } = await import("./chunk-4zh7qxck.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-6z499mrc.js");
17
+ const { runCli } = await import("./chunk-ttk3d0z2.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.13.15",
3
+ "version": "0.13.16",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {