@kitman-sh/cli 0.13.18 → 0.13.19

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.
@@ -266,7 +266,6 @@ import {
266
266
  import {
267
267
  map,
268
268
  makeEquivalence,
269
- toNumber,
270
269
  bytes,
271
270
  BadArgument,
272
271
  systemError,
@@ -330,7 +329,7 @@ import {
330
329
  String2,
331
330
  optionalEnv,
332
331
  harnessesUnsupportedInSrt2
333
- } from "./chunk-hakqpy8z.js";
332
+ } from "./chunk-nf9gdnsf.js";
334
333
  import {
335
334
  isDateTime,
336
335
  Numeric,
@@ -357,8 +356,7 @@ import {
357
356
  make3,
358
357
  parseFdName,
359
358
  fdName
360
- } from "./chunk-84xks8tn.js";
361
-
359
+ } from "./chunk-82w8rmkc.js";
362
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
363
361
  var makeEquivalence3 = Tuple;
364
362
 
@@ -899,6 +897,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
899
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
900
898
  var runMain = runMain2;
901
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
902
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
903
910
  var makeUnsafe = makeUnsafe6;
904
911
  var make18 = make4;
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-hakqpy8z.js";
10
2
  import {
11
3
  isString,
12
4
  hasProperty,
@@ -53,23 +45,31 @@ import {
53
45
  layer4,
54
46
  kitmanMcpServer,
55
47
  RunnerRpcProtocolVersion
56
- } from "./chunk-bc8ytp0y.js";
48
+ } from "./chunk-0n46rkk9.js";
49
+ import {
50
+ decodeText,
51
+ mkString,
52
+ FileSystem,
53
+ Path,
54
+ withDefault,
55
+ String2
56
+ } from "./chunk-nf9gdnsf.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-r1s1dcy0.js";
61
- import"./chunk-rp4tn60z.js";
60
+ } from "./chunk-9krvh1na.js";
61
+ import"./chunk-xjmfnqh9.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-03hvwd6m.js";
67
+ } from "./chunk-5f80t96q.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
70
  make3
71
- } from "./chunk-84xks8tn.js";
72
- import"./chunk-940cc29s.js";
71
+ } from "./chunk-82w8rmkc.js";
72
+ import"./chunk-f86q3a6s.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -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.18") => 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.19") => 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) {
@@ -170,7 +170,13 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-bc8ytp0y.js";
173
+ } from "./chunk-0n46rkk9.js";
174
+ import {
175
+ guard,
176
+ Id,
177
+ Timestamp,
178
+ ActorType
179
+ } from "./chunk-q5w3v4k1.js";
174
180
  import {
175
181
  join,
176
182
  interrupt,
@@ -187,17 +193,11 @@ import {
187
193
  withDefault,
188
194
  option,
189
195
  String2
190
- } from "./chunk-hakqpy8z.js";
191
- import {
192
- guard,
193
- Id,
194
- Timestamp,
195
- ActorType
196
- } from "./chunk-q5w3v4k1.js";
196
+ } from "./chunk-nf9gdnsf.js";
197
197
  import {
198
198
  searchDocs2,
199
199
  readDoc2
200
- } from "./chunk-827sgh31.js";
200
+ } from "./chunk-2bds7yc8.js";
201
201
  import {
202
202
  nextInt
203
203
  } from "./chunk-gq7y5v3e.js";
@@ -207,7 +207,7 @@ import {
207
207
  withHeaders,
208
208
  layerProtocolSocket,
209
209
  ConnectionHooks
210
- } from "./chunk-940cc29s.js";
210
+ } from "./chunk-f86q3a6s.js";
211
211
 
212
212
  // apps/cli/src/mcp.ts
213
213
  import { tmpdir as tmpdir2 } from "os";
@@ -6247,7 +6247,7 @@ function validateObjectSchemaValue(operationName, path, schema, value) {
6247
6247
  if (properties !== undefined) {
6248
6248
  for (const key of Object.keys(value)) {
6249
6249
  if (!properties.has(key))
6250
- throw new Error(`${operationName} ${path} contains unknown field ${key}.`);
6250
+ throw new Error(`${operationName} ${path} contains unknown field ${key}. It takes: ${[...properties].join(", ")}.`);
6251
6251
  }
6252
6252
  }
6253
6253
  if (!isRecord2(schema.properties))
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-827sgh31.js";
7
+ } from "./chunk-2bds7yc8.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-hakqpy8z.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -31,10 +26,15 @@ import {
31
26
  isString2,
32
27
  encodeUnknownJsonStringSync
33
28
  } from "./chunk-zw3gf6r5.js";
29
+ import {
30
+ make11,
31
+ runForEach,
32
+ compiled2
33
+ } from "./chunk-nf9gdnsf.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-84xks8tn.js";
37
+ } from "./chunk-82w8rmkc.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -76,10 +76,6 @@ import {
76
76
  toCodecJson,
77
77
  Json
78
78
  } from "./chunk-zw3gf6r5.js";
79
- import {
80
- runForEach,
81
- FileSystem
82
- } from "./chunk-hakqpy8z.js";
83
79
  import {
84
80
  guard
85
81
  } from "./chunk-q5w3v4k1.js";
@@ -109,7 +105,11 @@ import {
109
105
  KitDigest,
110
106
  KitSetup,
111
107
  RunnerRpcError
112
- } from "./chunk-bc8ytp0y.js";
108
+ } from "./chunk-0n46rkk9.js";
109
+ import {
110
+ runForEach,
111
+ FileSystem
112
+ } from "./chunk-nf9gdnsf.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");
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-hakqpy8z.js";
34
+ } from "./chunk-nf9gdnsf.js";
35
35
 
36
36
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
37
  var redactedRegistry = /* @__PURE__ */ new WeakMap;
@@ -116,7 +116,7 @@ import {
116
116
  withDefault,
117
117
  option,
118
118
  String2
119
- } from "./chunk-hakqpy8z.js";
119
+ } from "./chunk-nf9gdnsf.js";
120
120
  import {
121
121
  currentTimeMillis,
122
122
  SecureRandom,
@@ -232,14 +232,14 @@ import {
232
232
  harnessNames,
233
233
  herdrRunnerCapabilities2,
234
234
  declaredChecks
235
- } from "./chunk-bc8ytp0y.js";
235
+ } from "./chunk-0n46rkk9.js";
236
236
  import {
237
237
  Id
238
238
  } from "./chunk-q5w3v4k1.js";
239
239
  import {
240
240
  ChildProcessSpawner,
241
241
  make3
242
- } from "./chunk-84xks8tn.js";
242
+ } from "./chunk-82w8rmkc.js";
243
243
 
244
244
  // apps/cli/src/cli-error.ts
245
245
  function cliErrorCode(error, status) {
@@ -1020,10 +1020,10 @@ var sandboxMissing = (sandbox, missing) => ({
1020
1020
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
1021
1021
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
1022
1022
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
1023
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ynvzbgms.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1023
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ysz1v2cq.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1024
1024
  });
1025
1025
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
1026
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ynvzbgms.js")), (module) => module.updateHerdrCore(options))
1026
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ysz1v2cq.js")), (module) => module.updateHerdrCore(options))
1027
1027
  });
1028
1028
  var herdrCoreMissing = (error) => {
1029
1029
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1449,7 +1449,7 @@ var syncTargets = (harness) => gen(function* () {
1449
1449
  });
1450
1450
  var syncKits = (input) => gen(function* () {
1451
1451
  const fs = yield* FileSystem;
1452
- const { syncKitSetup } = yield* promise(() => import("./chunk-be2jf9m3.js"));
1452
+ const { syncKitSetup } = yield* promise(() => import("./chunk-xt6db7sf.js"));
1453
1453
  const harnesses = yield* syncTargets(input.harness);
1454
1454
  const chain = yield* input.client.getKitChain(input.workspaceId);
1455
1455
  for (const { name, problem } of chain.skipped)
@@ -2368,7 +2368,7 @@ var package_default = {
2368
2368
  };
2369
2369
 
2370
2370
  // apps/cli/src/scaffold.ts
2371
- var cliVersion = "0.13.18";
2371
+ var cliVersion = "0.13.19";
2372
2372
  var packageJson = (name, scaffold) => `${JSON.stringify({
2373
2373
  name,
2374
2374
  private: true,
@@ -2520,7 +2520,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2520
2520
 
2521
2521
  // apps/cli/src/commands.ts
2522
2522
  var ClientId = "kitman-cli";
2523
- var agentRuntime = promise(() => import("./chunk-39m1xtbk.js"));
2523
+ var agentRuntime = promise(() => import("./chunk-d917m1ak.js"));
2524
2524
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2525
2525
  defaultValue: () => gen(function* () {
2526
2526
  const tui = yield* tryPromise({
@@ -3556,7 +3556,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3556
3556
  });
3557
3557
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3558
3558
  defaultValue: () => (options) => gen(function* () {
3559
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-z1rve2hk.js"));
3559
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-s4pejxc8.js"));
3560
3560
  return yield* makeRunnerRpcClient({
3561
3561
  runnerId: options.runnerId,
3562
3562
  bearer: options.bearer,
@@ -4123,7 +4123,7 @@ function mcpCommand(args) {
4123
4123
  if (command.action === "run") {
4124
4124
  if (command.args.length > 0)
4125
4125
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4126
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-7m71m106.js"));
4126
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-40ee20qs.js"));
4127
4127
  return yield* runMcpServerCommand({ flags: command.flags });
4128
4128
  }
4129
4129
  if (command.action !== "setup")
@@ -4611,7 +4611,7 @@ function programLoopCommand(command) {
4611
4611
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4612
4612
  });
4613
4613
  }
4614
- var docsModule = promise(() => import("./chunk-dc0pcs3z.js"));
4614
+ var docsModule = promise(() => import("./chunk-4yg6da62.js"));
4615
4615
  function docsCommand(args) {
4616
4616
  return gen(function* () {
4617
4617
  const command = parseCommand(args);
@@ -5453,9 +5453,9 @@ function changeRequestCommand(args) {
5453
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}`);
5454
5454
  });
5455
5455
  }
5456
- var KitWriter = map8(promise(() => import("./chunk-fv2v1sdc.js")), (build) => build.writeKit);
5456
+ var KitWriter = map8(promise(() => import("./chunk-12afnp8q.js")), (build) => build.writeKit);
5457
5457
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5458
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-fv2v1sdc.js")), (build) => build.buildKit(directory))
5458
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-12afnp8q.js")), (build) => build.buildKit(directory))
5459
5459
  });
5460
5460
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5461
5461
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-hakqpy8z.js";
31
+ } from "./chunk-nf9gdnsf.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-bc8ytp0y.js";
42
+ } from "./chunk-0n46rkk9.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -169,49 +169,6 @@ import {
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
171
  } from "./chunk-zw3gf6r5.js";
172
- import {
173
- join,
174
- interrupt,
175
- unbounded,
176
- publishUnsafe,
177
- unbounded2,
178
- offer,
179
- makeUnsafe3,
180
- make11,
181
- fromQueue,
182
- fromPubSub,
183
- map2,
184
- filter,
185
- take2,
186
- decodeText,
187
- encodeText,
188
- splitLines,
189
- run,
190
- runCollect,
191
- runHead,
192
- runForEach,
193
- FileSystem,
194
- Path,
195
- embeddedFile,
196
- extractEmbeddedFile,
197
- optionalEnv,
198
- operatorConfigHome,
199
- tempDirectoryScoped,
200
- harnessesUnsupportedInSrt2,
201
- compiled2,
202
- pinnedSrtCommand2,
203
- pinnedSrtStepCommand2,
204
- runSrtCli2,
205
- kitmanCacheDirectory2,
206
- srtSettings2,
207
- srtCacheEnvironment2,
208
- srtInheritedEnv2,
209
- inheritedEnvironment2,
210
- withOnlyEnvironment2,
211
- writeSrtSettings2,
212
- srtStepArgv2,
213
- srtArgv2
214
- } from "./chunk-hakqpy8z.js";
215
172
  import {
216
173
  Id,
217
174
  secretReference,
@@ -297,7 +254,50 @@ import {
297
254
  checkServicesFile,
298
255
  checkServices,
299
256
  serviceChecks
300
- } from "./chunk-bc8ytp0y.js";
257
+ } from "./chunk-0n46rkk9.js";
258
+ import {
259
+ join,
260
+ interrupt,
261
+ unbounded,
262
+ publishUnsafe,
263
+ unbounded2,
264
+ offer,
265
+ makeUnsafe3,
266
+ make11,
267
+ fromQueue,
268
+ fromPubSub,
269
+ map2,
270
+ filter,
271
+ take2,
272
+ decodeText,
273
+ encodeText,
274
+ splitLines,
275
+ run,
276
+ runCollect,
277
+ runHead,
278
+ runForEach,
279
+ FileSystem,
280
+ Path,
281
+ embeddedFile,
282
+ extractEmbeddedFile,
283
+ optionalEnv,
284
+ operatorConfigHome,
285
+ tempDirectoryScoped,
286
+ harnessesUnsupportedInSrt2,
287
+ compiled2,
288
+ pinnedSrtCommand2,
289
+ pinnedSrtStepCommand2,
290
+ runSrtCli2,
291
+ kitmanCacheDirectory2,
292
+ srtSettings2,
293
+ srtCacheEnvironment2,
294
+ srtInheritedEnv2,
295
+ inheritedEnvironment2,
296
+ withOnlyEnvironment2,
297
+ writeSrtSettings2,
298
+ srtStepArgv2,
299
+ srtArgv2
300
+ } from "./chunk-nf9gdnsf.js";
301
301
  import {
302
302
  writeAgentEnvironmentConfigFile2,
303
303
  readManifestSkillPaths2,
@@ -313,8 +313,8 @@ import {
313
313
  applyAgentEnvironmentMaterialization2,
314
314
  isPathWithin2,
315
315
  skillIdentity2
316
- } from "./chunk-vxc2cg5f.js";
317
- import"./chunk-r1s1dcy0.js";
316
+ } from "./chunk-yh7twvn9.js";
317
+ import"./chunk-9krvh1na.js";
318
318
  import {
319
319
  egressAllowed,
320
320
  writeSecretRegistry,
@@ -332,23 +332,23 @@ import {
332
332
  decodedOption2,
333
333
  decoded2,
334
334
  readOpencode2
335
- } from "./chunk-a7ds2jqf.js";
335
+ } from "./chunk-590h6emd.js";
336
336
  import {
337
337
  uploadRunFile,
338
338
  programLease,
339
339
  rpcRunFiles,
340
340
  programHostsEnv,
341
341
  undeclaredHostsEnv
342
- } from "./chunk-03hvwd6m.js";
343
- import"./chunk-rp4tn60z.js";
342
+ } from "./chunk-5f80t96q.js";
343
+ import"./chunk-xjmfnqh9.js";
344
344
  import {
345
345
  nextInt
346
346
  } from "./chunk-gq7y5v3e.js";
347
347
  import {
348
348
  ChildProcessSpawner,
349
349
  make3
350
- } from "./chunk-84xks8tn.js";
351
- import"./chunk-940cc29s.js";
350
+ } from "./chunk-82w8rmkc.js";
351
+ import"./chunk-f86q3a6s.js";
352
352
 
353
353
  // packages/core/src/sync-kit.ts
354
354
  import { createHash } from "crypto";
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-hakqpy8z.js";
111
+ } from "./chunk-nf9gdnsf.js";
112
112
  import {
113
113
  Clock,
114
114
  empty,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-bc8ytp0y.js";
126
+ } from "./chunk-0n46rkk9.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")) {
@@ -14,7 +14,7 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-hakqpy8z.js";
17
+ } from "./chunk-nf9gdnsf.js";
18
18
  import"./chunk-zw3gf6r5.js";
19
19
  export {
20
20
  compiled2 as compiled,
@@ -250,15 +250,6 @@ var makeEquivalence = (equivalence) => {
250
250
  return (self, that) => is(self, that) && is(that, self);
251
251
  };
252
252
 
253
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
254
- var BigInt2 = globalThis.BigInt;
255
- var toNumber = (b) => {
256
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
257
- return none();
258
- }
259
- return some(Number(b));
260
- };
261
-
262
253
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
263
254
  var bigint0 = /* @__PURE__ */ BigInt(0);
264
255
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3584,4 +3575,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3584
3575
  ...argv
3585
3576
  ];
3586
3577
 
3587
- export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3578
+ export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-rp4tn60z.js";
8
- import"./chunk-940cc29s.js";
9
- import"./chunk-bc8ytp0y.js";
7
+ } from "./chunk-xjmfnqh9.js";
8
+ import"./chunk-f86q3a6s.js";
9
+ import"./chunk-0n46rkk9.js";
10
10
  import"./chunk-q5w3v4k1.js";
11
- import"./chunk-hakqpy8z.js";
11
+ import"./chunk-nf9gdnsf.js";
12
12
  import"./chunk-zw3gf6r5.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-zw3gf6r5.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-hakqpy8z.js";
12
+ } from "./chunk-nf9gdnsf.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-bc8ytp0y.js";
22
+ } from "./chunk-0n46rkk9.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-940cc29s.js";
28
+ } from "./chunk-f86q3a6s.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-hakqpy8z.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -19,21 +15,25 @@ import {
19
15
  encodePrettyJsonString
20
16
  } from "./chunk-zw3gf6r5.js";
21
17
  import"./chunk-q5w3v4k1.js";
18
+ import {
19
+ FileSystem,
20
+ Path
21
+ } from "./chunk-nf9gdnsf.js";
22
22
  import {
23
23
  tomlTableHeader2,
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-vxc2cg5f.js";
27
+ } from "./chunk-yh7twvn9.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-bc8ytp0y.js";
35
- import"./chunk-r1s1dcy0.js";
36
- import"./chunk-84xks8tn.js";
34
+ } from "./chunk-0n46rkk9.js";
35
+ import"./chunk-9krvh1na.js";
36
+ import"./chunk-82w8rmkc.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -1,10 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path,
5
- optionalEnv,
6
- tempDirectoryScoped
7
- } from "./chunk-hakqpy8z.js";
8
2
  import {
9
3
  Reference,
10
4
  TaggedError,
@@ -32,14 +26,20 @@ import {
32
26
  encodePrettyJsonString,
33
27
  decodeJsonStringSync
34
28
  } from "./chunk-zw3gf6r5.js";
29
+ import {
30
+ FileSystem,
31
+ Path,
32
+ optionalEnv,
33
+ tempDirectoryScoped
34
+ } from "./chunk-nf9gdnsf.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-bc8ytp0y.js";
39
+ } from "./chunk-0n46rkk9.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-r1s1dcy0.js";
42
+ } from "./chunk-9krvh1na.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-84xks8tn.js";
2
+ import"./chunk-82w8rmkc.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-bc8ytp0y.js";
16
- import"./chunk-hakqpy8z.js";
15
+ } from "./chunk-0n46rkk9.js";
16
+ import"./chunk-nf9gdnsf.js";
17
17
  import"./chunk-zw3gf6r5.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -7,9 +7,9 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-a7ds2jqf.js";
11
- import"./chunk-84xks8tn.js";
12
- import"./chunk-hakqpy8z.js";
10
+ } from "./chunk-590h6emd.js";
11
+ import"./chunk-82w8rmkc.js";
12
+ import"./chunk-nf9gdnsf.js";
13
13
  import"./chunk-zw3gf6r5.js";
14
14
  export {
15
15
  decoded2 as decoded,
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-1cbnvby8.js");
8
+ const { runSrtCli } = await import("./chunk-fc2bhh5v.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-gy9rf14f.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-frjsv0ng.js");
14
+ const { runOpencodeReader } = await import("./chunk-zfqn6dc1.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-gqy5shhk.js");
17
+ const { runCli } = await import("./chunk-9964wmp9.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.18",
3
+ "version": "0.13.19",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {