@kitman-sh/cli 0.10.87 → 0.10.88

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 (26) hide show
  1. package/dist/{chunk-m0yvvg6r.js → chunk-101maext.js} +4 -4
  2. package/dist/{chunk-tzz4fv17.js → chunk-1mcwey0c.js} +1 -1
  3. package/dist/{chunk-9zd52pda.js → chunk-5dwyvg1z.js} +5 -5
  4. package/dist/{chunk-h6v1w0vw.js → chunk-7202s8t5.js} +23 -23
  5. package/dist/{chunk-4s08g8x1.js → chunk-7bv81x50.js} +8 -8
  6. package/dist/{chunk-z7mvdzqm.js → chunk-8n5fwxyd.js} +21 -21
  7. package/dist/{chunk-gaxp5nmx.js → chunk-9b0agw88.js} +23 -23
  8. package/dist/{chunk-bk31f16e.js → chunk-a7m6tq5q.js} +3 -3
  9. package/dist/{chunk-62565d52.js → chunk-aj4ev9v2.js} +2 -2
  10. package/dist/{chunk-jbwk6k6m.js → chunk-caqesagt.js} +70 -28
  11. package/dist/{chunk-ky974pcr.js → chunk-cw2ghw7n.js} +4 -4
  12. package/dist/{chunk-e8zm8z3a.js → chunk-dmwqvnmb.js} +8 -8
  13. package/dist/{chunk-myjfc5nh.js → chunk-ghga9phe.js} +5 -5
  14. package/dist/{chunk-w5smxtzc.js → chunk-h2e1m210.js} +107 -107
  15. package/dist/{chunk-193zkyhj.js → chunk-jv2xwq5v.js} +4 -4
  16. package/dist/{chunk-76ctrqm6.js → chunk-maj4dn1b.js} +1 -1
  17. package/dist/{chunk-11pnta38.js → chunk-ntbwavn3.js} +5 -5
  18. package/dist/{chunk-kgdppbdr.js → chunk-p74pmd81.js} +1 -1
  19. package/dist/{chunk-rxcy9h90.js → chunk-q6yydf12.js} +7 -7
  20. package/dist/{chunk-n3prr22y.js → chunk-tm2zkgsf.js} +19 -19
  21. package/dist/{chunk-fq47a5yd.js → chunk-vne4rsj0.js} +2 -2
  22. package/dist/{chunk-xb70ys3n.js → chunk-w9j2yb0n.js} +17 -17
  23. package/dist/{chunk-98sg1yyd.js → chunk-ybp1mwv9.js} +14 -60
  24. package/dist/{chunk-fhgfsets.js → chunk-zy5ywtx2.js} +7 -7
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -75,10 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-jbwk6k6m.js";
78
+ } from "./chunk-caqesagt.js";
79
79
  import {
80
80
  guard
81
- } from "./chunk-kgdppbdr.js";
81
+ } from "./chunk-p74pmd81.js";
82
82
  import {
83
83
  currentTimeMillis,
84
84
  WebCrypto,
@@ -105,11 +105,11 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-w5smxtzc.js";
108
+ } from "./chunk-h2e1m210.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
112
- } from "./chunk-xb70ys3n.js";
112
+ } from "./chunk-w9j2yb0n.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -8,7 +8,7 @@ import {
8
8
  isFunction2,
9
9
  isUndefined2,
10
10
  isObjectOrArray
11
- } from "./chunk-jbwk6k6m.js";
11
+ } from "./chunk-caqesagt.js";
12
12
 
13
13
  // packages/core/src/runtime-type.ts
14
14
  var UnsafeJsonObjectKeys = new Set(["__proto__", "constructor", "prototype"]);
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-e8zm8z3a.js";
11
- import"./chunk-98sg1yyd.js";
12
- import"./chunk-tzz4fv17.js";
13
- import"./chunk-xb70ys3n.js";
14
- import"./chunk-jbwk6k6m.js";
10
+ } from "./chunk-dmwqvnmb.js";
11
+ import"./chunk-ybp1mwv9.js";
12
+ import"./chunk-1mcwey0c.js";
13
+ import"./chunk-w9j2yb0n.js";
14
+ import"./chunk-caqesagt.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -6,7 +6,7 @@ import {
6
6
  isObject,
7
7
  isJsonObject,
8
8
  isString
9
- } from "./chunk-tzz4fv17.js";
9
+ } from "./chunk-1mcwey0c.js";
10
10
  import {
11
11
  pipeArguments,
12
12
  dual,
@@ -46,7 +46,7 @@ import {
46
46
  isFailure2,
47
47
  hasInterrupts,
48
48
  makeUnsafe5,
49
- make16,
49
+ make15,
50
50
  _await,
51
51
  fail5,
52
52
  isDoneUnsafe,
@@ -165,12 +165,12 @@ import {
165
165
  encodePrettyJsonString,
166
166
  decodeJsonStringSync,
167
167
  encodeUnknownJsonStringSync
168
- } from "./chunk-jbwk6k6m.js";
168
+ } from "./chunk-caqesagt.js";
169
169
  import {
170
170
  Id,
171
171
  secretReference,
172
172
  secretPlaceholder
173
- } from "./chunk-kgdppbdr.js";
173
+ } from "./chunk-p74pmd81.js";
174
174
  import {
175
175
  currentTimeMillis,
176
176
  SecureRandom,
@@ -243,7 +243,7 @@ import {
243
243
  installCommand,
244
244
  checkServicesFile,
245
245
  checkServices
246
- } from "./chunk-w5smxtzc.js";
246
+ } from "./chunk-h2e1m210.js";
247
247
  import {
248
248
  join,
249
249
  interrupt,
@@ -252,7 +252,7 @@ import {
252
252
  unbounded2,
253
253
  offer,
254
254
  makeUnsafe3,
255
- make11,
255
+ make10,
256
256
  fromQueue,
257
257
  fromPubSub,
258
258
  map2,
@@ -283,7 +283,7 @@ import {
283
283
  writeSrtSettings2,
284
284
  srtStepArgv2,
285
285
  srtArgv2
286
- } from "./chunk-xb70ys3n.js";
286
+ } from "./chunk-w9j2yb0n.js";
287
287
  import {
288
288
  writeAgentEnvironmentConfigFile2,
289
289
  readManifestSkillPaths2,
@@ -299,8 +299,8 @@ import {
299
299
  applyAgentEnvironmentMaterialization2,
300
300
  isPathWithin2,
301
301
  skillIdentity2
302
- } from "./chunk-myjfc5nh.js";
303
- import"./chunk-bk31f16e.js";
302
+ } from "./chunk-ghga9phe.js";
303
+ import"./chunk-a7m6tq5q.js";
304
304
  import {
305
305
  egressAllowed,
306
306
  writeSecretRegistry,
@@ -310,7 +310,7 @@ import {
310
310
  secretFilter2,
311
311
  opaqueTunnelRefusal2,
312
312
  isOpaqueConnectReason2
313
- } from "./chunk-62565d52.js";
313
+ } from "./chunk-aj4ev9v2.js";
314
314
  import {
315
315
  sliceBytes2,
316
316
  maxLineBytes2,
@@ -318,23 +318,23 @@ import {
318
318
  decodedOption2,
319
319
  decoded2,
320
320
  readOpencode2
321
- } from "./chunk-e8zm8z3a.js";
321
+ } from "./chunk-dmwqvnmb.js";
322
322
  import {
323
323
  uploadRunFile,
324
324
  programLease,
325
325
  rpcRunFiles,
326
326
  programHostsEnv,
327
327
  undeclaredHostsEnv
328
- } from "./chunk-m0yvvg6r.js";
329
- import"./chunk-fhgfsets.js";
328
+ } from "./chunk-101maext.js";
329
+ import"./chunk-zy5ywtx2.js";
330
330
  import {
331
331
  nextInt
332
- } from "./chunk-76ctrqm6.js";
332
+ } from "./chunk-maj4dn1b.js";
333
333
  import {
334
334
  ChildProcessSpawner,
335
- make3
336
- } from "./chunk-98sg1yyd.js";
337
- import"./chunk-11pnta38.js";
335
+ make2
336
+ } from "./chunk-ybp1mwv9.js";
337
+ import"./chunk-ntbwavn3.js";
338
338
 
339
339
  // packages/core/src/sync-kit.ts
340
340
  import { createHash } from "crypto";
@@ -6550,7 +6550,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
6550
6550
  const input = yield* unbounded2();
6551
6551
  const pending = new Map;
6552
6552
  let lastId = 0;
6553
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
6553
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
6554
6554
  cwd: env.home,
6555
6555
  extendEnv: true,
6556
6556
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -6573,7 +6573,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
6573
6573
  return {
6574
6574
  request: (method, params) => gen(function* () {
6575
6575
  const id = ++lastId;
6576
- const deferred = yield* make16();
6576
+ const deferred = yield* make15();
6577
6577
  pending.set(id, deferred);
6578
6578
  yield* send({ id, method, params });
6579
6579
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -6713,10 +6713,10 @@ var handshake = [
6713
6713
  `).join("");
6714
6714
  var kitmanMcpPreflight = (mcp) => gen(function* () {
6715
6715
  const spawner = yield* ChildProcessSpawner;
6716
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
6716
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
6717
6717
  extendEnv: true,
6718
6718
  env: mcp.env,
6719
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
6719
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
6720
6720
  stderr: "ignore"
6721
6721
  }));
6722
6722
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -6789,8 +6789,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
6789
6789
  };
6790
6790
  const exitCode = sandbox === undefined ? yield* gen(function* () {
6791
6791
  const spawner = yield* ChildProcessSpawner;
6792
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
6793
- stdin: make11(new TextEncoder().encode(stdin)),
6792
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
6793
+ stdin: make10(new TextEncoder().encode(stdin)),
6794
6794
  stdout: "inherit",
6795
6795
  stderr: "inherit",
6796
6796
  extendEnv: false,
@@ -12,30 +12,30 @@ import {
12
12
  orElseSucceed,
13
13
  decodeJsonString,
14
14
  encodePrettyJsonString
15
- } from "./chunk-jbwk6k6m.js";
16
- import"./chunk-kgdppbdr.js";
15
+ } from "./chunk-caqesagt.js";
16
+ import"./chunk-p74pmd81.js";
17
17
  import {
18
18
  isJsonObject
19
- } from "./chunk-tzz4fv17.js";
19
+ } from "./chunk-1mcwey0c.js";
20
20
  import {
21
21
  FileSystem,
22
22
  Path
23
- } from "./chunk-xb70ys3n.js";
23
+ } from "./chunk-w9j2yb0n.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-myjfc5nh.js";
29
+ } from "./chunk-ghga9phe.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-w5smxtzc.js";
37
- import"./chunk-bk31f16e.js";
38
- import"./chunk-98sg1yyd.js";
36
+ } from "./chunk-h2e1m210.js";
37
+ import"./chunk-a7m6tq5q.js";
38
+ import"./chunk-ybp1mwv9.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -6,7 +6,7 @@ import {
6
6
  getOrUndefined,
7
7
  Reference,
8
8
  TaggedError,
9
- make16,
9
+ make15,
10
10
  _await,
11
11
  fail5,
12
12
  succeed5,
@@ -85,7 +85,7 @@ import {
85
85
  decodeJsonString,
86
86
  encodeJsonStringSync,
87
87
  encodePrettyJsonString
88
- } from "./chunk-jbwk6k6m.js";
88
+ } from "./chunk-caqesagt.js";
89
89
  import {
90
90
  tap,
91
91
  mapError,
@@ -97,7 +97,7 @@ import {
97
97
  withDefault,
98
98
  option,
99
99
  String2
100
- } from "./chunk-xb70ys3n.js";
100
+ } from "./chunk-w9j2yb0n.js";
101
101
  import {
102
102
  currentTimeMillis,
103
103
  SecureRandom,
@@ -135,7 +135,7 @@ import {
135
135
  digestSha256,
136
136
  sha256Hasher,
137
137
  raw,
138
- make5,
138
+ make4,
139
139
  get,
140
140
  put,
141
141
  HttpClient,
@@ -197,10 +197,10 @@ import {
197
197
  harnessNames,
198
198
  herdrRunnerCapabilities2,
199
199
  declaredChecks
200
- } from "./chunk-w5smxtzc.js";
200
+ } from "./chunk-h2e1m210.js";
201
201
  import {
202
202
  Id
203
- } from "./chunk-kgdppbdr.js";
203
+ } from "./chunk-p74pmd81.js";
204
204
  import {
205
205
  toJsonValue,
206
206
  isOneOf,
@@ -210,11 +210,11 @@ import {
210
210
  isObject,
211
211
  isJsonObject,
212
212
  isString
213
- } from "./chunk-tzz4fv17.js";
213
+ } from "./chunk-1mcwey0c.js";
214
214
  import {
215
215
  ChildProcessSpawner,
216
- make3
217
- } from "./chunk-98sg1yyd.js";
216
+ make2
217
+ } from "./chunk-ybp1mwv9.js";
218
218
 
219
219
  // apps/cli/src/cli-error.ts
220
220
  function cliErrorCode(error, status) {
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
504
504
  var checkRegistryImageSetting = pinnedImage;
505
505
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
506
506
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
507
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-193zkyhj.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
507
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jv2xwq5v.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
508
508
  });
509
509
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
510
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-193zkyhj.js")), (module) => module.updateHerdrCore(options))
510
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jv2xwq5v.js")), (module) => module.updateHerdrCore(options))
511
511
  });
512
512
  var herdrCoreMissing = (error) => {
513
513
  if (isTagged(error, "HerdrCoreMissing"))
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
733
733
  });
734
734
  var syncKits = (input) => gen(function* () {
735
735
  const fs = yield* FileSystem;
736
- const { syncKitSetup } = yield* promise(() => import("./chunk-4s08g8x1.js"));
736
+ const { syncKitSetup } = yield* promise(() => import("./chunk-7bv81x50.js"));
737
737
  const harnesses = yield* syncTargets(input.harness);
738
738
  const chain = yield* input.client.getKitChain(input.workspaceId);
739
739
  for (const { name, problem } of chain.skipped)
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
1249
1249
  run: (command, args) => runCommand2(command, args),
1250
1250
  attach: (command, args) => gen(function* () {
1251
1251
  const spawner = yield* ChildProcessSpawner;
1252
- const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1252
+ const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1253
1253
  const exitCode = yield* handle.exitCode;
1254
1254
  if (exitCode !== 0)
1255
1255
  return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
@@ -1651,7 +1651,7 @@ var package_default = {
1651
1651
  };
1652
1652
 
1653
1653
  // apps/cli/src/scaffold.ts
1654
- var cliVersion = "0.10.87";
1654
+ var cliVersion = "0.10.88";
1655
1655
  var packageJson = (name, scaffold) => `${JSON.stringify({
1656
1656
  name,
1657
1657
  private: true,
@@ -1901,7 +1901,7 @@ var Usage = [
1901
1901
  "Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
1902
1902
  ].join(`
1903
1903
  `);
1904
- var agentRuntime = promise(() => import("./chunk-h6v1w0vw.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-7202s8t5.js"));
1905
1905
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
1906
1906
  defaultValue: () => gen(function* () {
1907
1907
  const tui = yield* tryPromise({
@@ -2777,7 +2777,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
2777
2777
  });
2778
2778
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
2779
2779
  defaultValue: () => (options) => gen(function* () {
2780
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-rxcy9h90.js"));
2780
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-q6yydf12.js"));
2781
2781
  return yield* makeRunnerRpcClient({
2782
2782
  runnerId: options.runnerId,
2783
2783
  bearer: options.bearer,
@@ -2972,7 +2972,7 @@ function startCanonicalHerdrRunnerCommand(input) {
2972
2972
  });
2973
2973
  const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
2974
2974
  const platform = yield* context();
2975
- const updated = yield* make16();
2975
+ const updated = yield* make15();
2976
2976
  const scope = yield* scope2;
2977
2977
  yield* listenForSignals({
2978
2978
  rpc,
@@ -3161,7 +3161,7 @@ function mcpCommand(args) {
3161
3161
  if (command.action === "run") {
3162
3162
  if (command.args.length > 0)
3163
3163
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
3164
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-gaxp5nmx.js"));
3164
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-9b0agw88.js"));
3165
3165
  return yield* runMcpServerCommand({ flags: command.flags });
3166
3166
  }
3167
3167
  if (command.action !== "setup")
@@ -4372,9 +4372,9 @@ function claimCommand(args) {
4372
4372
  }
4373
4373
  });
4374
4374
  }
4375
- var KitWriter = map8(promise(() => import("./chunk-n3prr22y.js")), (build) => build.writeKit);
4375
+ var KitWriter = map8(promise(() => import("./chunk-tm2zkgsf.js")), (build) => build.writeKit);
4376
4376
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4377
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-n3prr22y.js")), (build) => build.buildKit(directory))
4377
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-tm2zkgsf.js")), (build) => build.buildKit(directory))
4378
4378
  });
4379
4379
  var uploadKit = (client, workspaceId, built) => gen(function* () {
4380
4380
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -5132,7 +5132,7 @@ function downloadPresignedAsset(download, outputPath) {
5132
5132
  return gen(function* () {
5133
5133
  const fs = yield* FileSystem;
5134
5134
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
5135
- const response = yield* send(make5(download.method)(download.url), failed);
5135
+ const response = yield* send(make4(download.method)(download.url), failed);
5136
5136
  if (response.status < 200 || response.status >= 300)
5137
5137
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
5138
5138
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -102,7 +102,7 @@ import {
102
102
  decodeJsonStringOption,
103
103
  encodeJsonStringSync,
104
104
  encodePrettyJsonString
105
- } from "./chunk-jbwk6k6m.js";
105
+ } from "./chunk-caqesagt.js";
106
106
  import {
107
107
  currentTimeMillis,
108
108
  SecureRandom,
@@ -142,8 +142,8 @@ import {
142
142
  sessionForApi,
143
143
  readAuthStore,
144
144
  agentCredentialForApi,
145
+ make5,
145
146
  make6,
146
- make7,
147
147
  Service,
148
148
  shouldRefresh,
149
149
  refreshSession,
@@ -154,13 +154,13 @@ import {
154
154
  runMcpEffect,
155
155
  createAgentAuthSignedFetch,
156
156
  setupMcpAgentCredential
157
- } from "./chunk-w5smxtzc.js";
157
+ } from "./chunk-h2e1m210.js";
158
158
  import {
159
159
  guard,
160
160
  Id,
161
161
  Timestamp,
162
162
  ActorType
163
- } from "./chunk-kgdppbdr.js";
163
+ } from "./chunk-p74pmd81.js";
164
164
  import {
165
165
  toJsonValue,
166
166
  isOneOf,
@@ -173,7 +173,7 @@ import {
173
173
  isJsonObject,
174
174
  isString,
175
175
  kindOf
176
- } from "./chunk-tzz4fv17.js";
176
+ } from "./chunk-1mcwey0c.js";
177
177
  import {
178
178
  join,
179
179
  interrupt,
@@ -187,17 +187,17 @@ import {
187
187
  withDefault,
188
188
  option,
189
189
  String2
190
- } from "./chunk-xb70ys3n.js";
190
+ } from "./chunk-w9j2yb0n.js";
191
191
  import {
192
192
  nextInt
193
- } from "./chunk-76ctrqm6.js";
193
+ } from "./chunk-maj4dn1b.js";
194
194
  import {
195
195
  layerJson,
196
- make4,
196
+ make3,
197
197
  withHeaders,
198
198
  layerProtocolSocket,
199
199
  ConnectionHooks
200
- } from "./chunk-11pnta38.js";
200
+ } from "./chunk-ntbwavn3.js";
201
201
 
202
202
  // apps/cli/src/mcp.ts
203
203
  import { tmpdir } from "os";
@@ -1949,56 +1949,56 @@ var LivePresenceSubscriptionMessage = Union([
1949
1949
  LivePresenceSubscriptionUpdate
1950
1950
  ]);
1951
1951
 
1952
- class LiveRpcs extends make7(make6("Session", {
1952
+ class LiveRpcs extends make6(make5("Session", {
1953
1953
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1954
1954
  error: LiveRpcError
1955
- }), make6("Subscribe", {
1955
+ }), make5("Subscribe", {
1956
1956
  payload: LiveSubscribeInput,
1957
1957
  success: LiveSubscriptionMessage,
1958
1958
  error: LiveRpcError,
1959
1959
  stream: true
1960
- }), make6("Replay", {
1960
+ }), make5("Replay", {
1961
1961
  payload: LiveReplayInput,
1962
1962
  success: ArraySchema(LiveEvent),
1963
1963
  error: LiveRpcError
1964
- }), make6("Ack", {
1964
+ }), make5("Ack", {
1965
1965
  payload: LiveAckInput,
1966
1966
  success: LiveAckResult,
1967
1967
  error: LiveRpcError
1968
- }), make6("SubscribeWeb", {
1968
+ }), make5("SubscribeWeb", {
1969
1969
  payload: LiveWebSubscribeInput,
1970
1970
  success: LiveWebSubscriptionMessage,
1971
1971
  error: LiveRpcError,
1972
1972
  stream: true
1973
- }), make6("SubscriptionStatus", {
1973
+ }), make5("SubscriptionStatus", {
1974
1974
  payload: { subscriptionId: String4 },
1975
1975
  success: LiveSubscriptionStatus,
1976
1976
  error: LiveRpcError
1977
- }), make6("ReplayWeb", {
1977
+ }), make5("ReplayWeb", {
1978
1978
  payload: LiveWebReplayInput,
1979
1979
  success: LiveWebReplayResult,
1980
1980
  error: LiveRpcError
1981
- }), make6("AckWeb", {
1981
+ }), make5("AckWeb", {
1982
1982
  payload: LiveWebAckInput,
1983
1983
  success: LiveWebAckResult,
1984
1984
  error: LiveRpcError
1985
- }), make6("PublishPresence", {
1985
+ }), make5("PublishPresence", {
1986
1986
  payload: LivePresencePublishInput,
1987
1987
  success: LivePresenceEntry,
1988
1988
  error: LiveRpcError
1989
- }), make6("SubscribePresence", {
1989
+ }), make5("SubscribePresence", {
1990
1990
  payload: LivePresenceSubscribeInput,
1991
1991
  success: LivePresenceSubscriptionMessage,
1992
1992
  error: LiveRpcError,
1993
1993
  stream: true
1994
- }), make6("ClearPresence", {
1994
+ }), make5("ClearPresence", {
1995
1995
  payload: { scope: optional(LiveScope) },
1996
1996
  error: LiveRpcError
1997
- }), make6("RecordSessionUpdate", {
1997
+ }), make5("RecordSessionUpdate", {
1998
1998
  payload: { sessionId: String4, input: SessionUpdateCreate },
1999
1999
  success: SessionUpdate,
2000
2000
  error: LiveRpcError
2001
- }), make6("EndSession", {
2001
+ }), make5("EndSession", {
2002
2002
  payload: { sessionId: String4, input: SessionEnd },
2003
2003
  success: Session,
2004
2004
  error: LiveRpcError
@@ -2050,7 +2050,7 @@ function connectKitmanLiveRoot(protocol) {
2050
2050
  })
2051
2051
  });
2052
2052
  const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2053
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2053
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2054
2054
  let abandon = () => {};
2055
2055
  const abandoned = new Promise((_resolve, reject) => {
2056
2056
  abandon = reject;
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-jbwk6k6m.js";
27
+ } from "./chunk-caqesagt.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-xb70ys3n.js";
31
+ } from "./chunk-w9j2yb0n.js";
32
32
  import {
33
33
  digestSha256,
34
34
  digestSha512,
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-w5smxtzc.js";
41
+ } from "./chunk-h2e1m210.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-jbwk6k6m.js";
16
+ } from "./chunk-caqesagt.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-kgdppbdr.js";
20
+ } from "./chunk-p74pmd81.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";