@kitman-sh/cli 0.11.5 → 0.11.6

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.
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-zbdnd7z7.js";
22
+ } from "./chunk-vxftwsbn.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-k004grgr.js";
28
+ } from "./chunk-wf6hts0g.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -159,7 +159,7 @@ import {
159
159
  runMcpEffect,
160
160
  createAgentAuthSignedFetch,
161
161
  setupMcpAgentCredential
162
- } from "./chunk-zbdnd7z7.js";
162
+ } from "./chunk-vxftwsbn.js";
163
163
  import {
164
164
  guard,
165
165
  Id,
@@ -202,7 +202,7 @@ import {
202
202
  withHeaders,
203
203
  layerProtocolSocket,
204
204
  ConnectionHooks
205
- } from "./chunk-k004grgr.js";
205
+ } from "./chunk-wf6hts0g.js";
206
206
 
207
207
  // apps/cli/src/mcp.ts
208
208
  import { tmpdir as tmpdir2 } from "os";
@@ -37,10 +37,10 @@ import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-zbdnd7z7.js";
40
+ } from "./chunk-vxftwsbn.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-xadtvj2q.js";
43
+ } from "./chunk-yz9mt7sj.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -218,7 +218,7 @@ import {
218
218
  harnessNames,
219
219
  herdrRunnerCapabilities2,
220
220
  declaredChecks
221
- } from "./chunk-zbdnd7z7.js";
221
+ } from "./chunk-vxftwsbn.js";
222
222
  import {
223
223
  Id
224
224
  } from "./chunk-0qz10ek8.js";
@@ -530,10 +530,10 @@ var sandboxMissing = (sandbox, missing) => ({
530
530
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
531
531
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
532
532
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
533
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jhm247mx.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
533
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
534
534
  });
535
535
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
536
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jhm247mx.js")), (module) => module.updateHerdrCore(options))
536
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), (module) => module.updateHerdrCore(options))
537
537
  });
538
538
  var herdrCoreMissing = (error) => {
539
539
  if (isTagged(error, "HerdrCoreMissing"))
@@ -953,7 +953,7 @@ var syncTargets = (harness) => gen(function* () {
953
953
  });
954
954
  var syncKits = (input) => gen(function* () {
955
955
  const fs = yield* FileSystem;
956
- const { syncKitSetup } = yield* promise(() => import("./chunk-60vg33dt.js"));
956
+ const { syncKitSetup } = yield* promise(() => import("./chunk-sn8yf0zj.js"));
957
957
  const harnesses = yield* syncTargets(input.harness);
958
958
  const chain = yield* input.client.getKitChain(input.workspaceId);
959
959
  for (const { name, problem } of chain.skipped)
@@ -1871,7 +1871,7 @@ var package_default = {
1871
1871
  };
1872
1872
 
1873
1873
  // apps/cli/src/scaffold.ts
1874
- var cliVersion = "0.11.5";
1874
+ var cliVersion = "0.11.6";
1875
1875
  var packageJson = (name, scaffold) => `${JSON.stringify({
1876
1876
  name,
1877
1877
  private: true,
@@ -2137,7 +2137,7 @@ var Usage = [
2137
2137
  "Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
2138
2138
  ].join(`
2139
2139
  `);
2140
- var agentRuntime = promise(() => import("./chunk-rj7c1m4z.js"));
2140
+ var agentRuntime = promise(() => import("./chunk-aqnsvq80.js"));
2141
2141
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2142
2142
  defaultValue: () => gen(function* () {
2143
2143
  const tui = yield* tryPromise({
@@ -3134,7 +3134,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3134
3134
  });
3135
3135
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3136
3136
  defaultValue: () => (options) => gen(function* () {
3137
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-t2sv5jhr.js"));
3137
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-qy9e5gms.js"));
3138
3138
  return yield* makeRunnerRpcClient({
3139
3139
  runnerId: options.runnerId,
3140
3140
  bearer: options.bearer,
@@ -3658,7 +3658,7 @@ function mcpCommand(args) {
3658
3658
  if (command.action === "run") {
3659
3659
  if (command.args.length > 0)
3660
3660
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
3661
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-gpk5ce9g.js"));
3661
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-4cfn0afm.js"));
3662
3662
  return yield* runMcpServerCommand({ flags: command.flags });
3663
3663
  }
3664
3664
  if (command.action !== "setup")
@@ -4928,9 +4928,9 @@ function changeRequestCommand(args) {
4928
4928
  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}`);
4929
4929
  });
4930
4930
  }
4931
- var KitWriter = map8(promise(() => import("./chunk-6cfskczm.js")), (build) => build.writeKit);
4931
+ var KitWriter = map8(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.writeKit);
4932
4932
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4933
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-6cfskczm.js")), (build) => build.buildKit(directory))
4933
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.buildKit(directory))
4934
4934
  });
4935
4935
  var uploadKit = (client, workspaceId, built) => gen(function* () {
4936
4936
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -246,7 +246,7 @@ import {
246
246
  installCommand,
247
247
  checkServicesFile,
248
248
  checkServices
249
- } from "./chunk-zbdnd7z7.js";
249
+ } from "./chunk-vxftwsbn.js";
250
250
  import {
251
251
  join,
252
252
  interrupt,
@@ -302,8 +302,8 @@ import {
302
302
  applyAgentEnvironmentMaterialization2,
303
303
  isPathWithin2,
304
304
  skillIdentity2
305
- } from "./chunk-y78nw5ty.js";
306
- import"./chunk-xadtvj2q.js";
305
+ } from "./chunk-7ww1ztjr.js";
306
+ import"./chunk-yz9mt7sj.js";
307
307
  import {
308
308
  egressAllowed,
309
309
  writeSecretRegistry,
@@ -328,8 +328,8 @@ import {
328
328
  rpcRunFiles,
329
329
  programHostsEnv,
330
330
  undeclaredHostsEnv
331
- } from "./chunk-0j0bncss.js";
332
- import"./chunk-73rctgzy.js";
331
+ } from "./chunk-pft5558d.js";
332
+ import"./chunk-3nwq8a1k.js";
333
333
  import {
334
334
  nextInt
335
335
  } from "./chunk-nzjb36ad.js";
@@ -337,7 +337,7 @@ import {
337
337
  ChildProcessSpawner,
338
338
  make3
339
339
  } from "./chunk-sk6ceghr.js";
340
- import"./chunk-k004grgr.js";
340
+ import"./chunk-wf6hts0g.js";
341
341
 
342
342
  // packages/core/src/sync-kit.ts
343
343
  import { createHash } from "crypto";
@@ -12,7 +12,7 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-zbdnd7z7.js";
15
+ } from "./chunk-vxftwsbn.js";
16
16
  import"./chunk-3d4d52e5.js";
17
17
  import"./chunk-vtfwjhzh.js";
18
18
  export {
@@ -105,7 +105,7 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-zbdnd7z7.js";
108
+ } from "./chunk-vxftwsbn.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
@@ -519,7 +519,6 @@ class StepFailed extends TaggedError2()("StepFailed", {
519
519
  return `Step "${this.step}" failed: ${this.reason}`;
520
520
  }
521
521
  }
522
-
523
522
  class OutputInvalid extends TaggedError2()("OutputInvalid", {
524
523
  step: String4,
525
524
  message: String4
@@ -4,9 +4,9 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-73rctgzy.js";
8
- import"./chunk-k004grgr.js";
9
- import"./chunk-zbdnd7z7.js";
7
+ } from "./chunk-3nwq8a1k.js";
8
+ import"./chunk-wf6hts0g.js";
9
+ import"./chunk-vxftwsbn.js";
10
10
  import"./chunk-0qz10ek8.js";
11
11
  import"./chunk-c6rbt85q.js";
12
12
  import"./chunk-3d4d52e5.js";
@@ -26,15 +26,15 @@ import {
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-y78nw5ty.js";
29
+ } from "./chunk-7ww1ztjr.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-zbdnd7z7.js";
37
- import"./chunk-xadtvj2q.js";
36
+ } from "./chunk-vxftwsbn.js";
37
+ import"./chunk-yz9mt7sj.js";
38
38
  import"./chunk-sk6ceghr.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -14423,6 +14423,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14423
14423
  payload: {
14424
14424
  lease: ProgramLease,
14425
14425
  step: String4,
14426
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14426
14427
  effect: Union([
14427
14428
  Struct({
14428
14429
  kind: Literal("post_comment"),
@@ -14669,6 +14670,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14669
14670
  payload: {
14670
14671
  lease: ProgramLease,
14671
14672
  step: String4,
14673
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14672
14674
  changeRequestId: String4,
14673
14675
  head: optionalKey(String4),
14674
14676
  rebase: optionalKey(Boolean2)
@@ -14721,6 +14723,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14721
14723
  payload: {
14722
14724
  lease: ProgramLease,
14723
14725
  step: String4,
14726
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14724
14727
  tag: String4,
14725
14728
  revision: optionalKey(String4),
14726
14729
  title: String4,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-zbdnd7z7.js";
126
+ } from "./chunk-vxftwsbn.js";
127
127
 
128
128
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
129
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -35,14 +35,6 @@ import {
35
35
  } from "./chunk-vtfwjhzh.js";
36
36
  import"./chunk-0qz10ek8.js";
37
37
  import"./chunk-c6rbt85q.js";
38
- import {
39
- decodeText,
40
- mkString,
41
- FileSystem,
42
- Path,
43
- withDefault,
44
- String2
45
- } from "./chunk-3d4d52e5.js";
46
38
  import {
47
39
  SecureRandom,
48
40
  layerWebCrypto,
@@ -54,23 +46,31 @@ import {
54
46
  layer4,
55
47
  kitmanMcpServer,
56
48
  RunnerRpcProtocolVersion
57
- } from "./chunk-zbdnd7z7.js";
49
+ } from "./chunk-vxftwsbn.js";
50
+ import {
51
+ decodeText,
52
+ mkString,
53
+ FileSystem,
54
+ Path,
55
+ withDefault,
56
+ String2
57
+ } from "./chunk-3d4d52e5.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-xadtvj2q.js";
62
- import"./chunk-73rctgzy.js";
61
+ } from "./chunk-yz9mt7sj.js";
62
+ import"./chunk-3nwq8a1k.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-0j0bncss.js";
68
+ } from "./chunk-pft5558d.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
71
  make3
72
72
  } from "./chunk-sk6ceghr.js";
73
- import"./chunk-k004grgr.js";
73
+ import"./chunk-wf6hts0g.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-zbdnd7z7.js";
41
+ } from "./chunk-vxftwsbn.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
14
14
  const { runOpencodeReader } = await import("./chunk-d9bv70qb.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-sjsh7819.js");
17
+ const { runCli } = await import("./chunk-951j2kzn.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.11.5",
3
+ "version": "0.11.6",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {