@kitman-sh/cli 0.13.13 → 0.13.14

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 (27) hide show
  1. package/dist/{chunk-3z0wep73.js → chunk-06dwvzv0.js} +63 -63
  2. package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
  3. package/dist/{chunk-pvza175a.js → chunk-3vbs995s.js} +115 -118
  4. package/dist/{chunk-nve4pjqm.js → chunk-4142qeg3.js} +3 -3
  5. package/dist/{chunk-7hf2d50x.js → chunk-5ba08a9e.js} +18 -18
  6. package/dist/{chunk-ga76znz9.js → chunk-5mxvqg32.js} +10 -10
  7. package/dist/{chunk-vbygjtdw.js → chunk-6agcvxbj.js} +10 -10
  8. package/dist/{chunk-b5abe9c7.js → chunk-89rpg6j9.js} +73 -73
  9. package/dist/{chunk-82w8rmkc.js → chunk-8xpdkxr7.js} +14 -60
  10. package/dist/{chunk-fc2bhh5v.js → chunk-aa30tt6t.js} +2 -2
  11. package/dist/{chunk-6kz6qa2h.js → chunk-d4kmyv5h.js} +4 -4
  12. package/dist/{chunk-s364dren.js → chunk-dwxqp8ez.js} +7 -7
  13. package/dist/{chunk-jwr0rr2p.js → chunk-ef3nzqng.js} +3 -3
  14. package/dist/{chunk-j2aw5bss.js → chunk-fk5238tn.js} +4 -4
  15. package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
  16. package/dist/{chunk-nf9gdnsf.js → chunk-hgfphycc.js} +26 -17
  17. package/dist/{chunk-cxc8d0r3.js → chunk-hmt2egsx.js} +6 -6
  18. package/dist/{chunk-wh6eeetn.js → chunk-hw9fcfs0.js} +9 -9
  19. package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
  20. package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
  21. package/dist/{chunk-ptn9g4wd.js → chunk-st8ggqv1.js} +21 -21
  22. package/dist/{chunk-4yzdyte6.js → chunk-vjsqg4a5.js} +9 -8
  23. package/dist/{chunk-7jege23c.js → chunk-vmww6hnk.js} +5 -5
  24. package/dist/{chunk-9rez0yze.js → chunk-zencwg2t.js} +1 -1
  25. package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make16,
44
+ make15,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,12 +168,55 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zw3gf6r5.js";
171
+ } from "./chunk-zgraq2y3.js";
172
+ import {
173
+ join,
174
+ interrupt,
175
+ unbounded,
176
+ publishUnsafe,
177
+ unbounded2,
178
+ offer,
179
+ makeUnsafe3,
180
+ make10,
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-hgfphycc.js";
172
215
  import {
173
216
  Id,
174
217
  secretReference,
175
218
  secretPlaceholder
176
- } from "./chunk-q5w3v4k1.js";
219
+ } from "./chunk-pxvd8w2v.js";
177
220
  import {
178
221
  currentTimeMillis,
179
222
  SecureRandom,
@@ -248,50 +291,7 @@ import {
248
291
  installCommand,
249
292
  checkServicesFile,
250
293
  checkServices
251
- } from "./chunk-pvza175a.js";
252
- import {
253
- join,
254
- interrupt,
255
- unbounded,
256
- publishUnsafe,
257
- unbounded2,
258
- offer,
259
- makeUnsafe3,
260
- make11,
261
- fromQueue,
262
- fromPubSub,
263
- map2,
264
- filter,
265
- take2,
266
- decodeText,
267
- encodeText,
268
- splitLines,
269
- run,
270
- runCollect,
271
- runHead,
272
- runForEach,
273
- FileSystem,
274
- Path,
275
- embeddedFile,
276
- extractEmbeddedFile,
277
- optionalEnv,
278
- operatorConfigHome,
279
- tempDirectoryScoped,
280
- harnessesUnsupportedInSrt2,
281
- compiled2,
282
- pinnedSrtCommand2,
283
- pinnedSrtStepCommand2,
284
- runSrtCli2,
285
- kitmanCacheDirectory2,
286
- srtSettings2,
287
- srtCacheEnvironment2,
288
- srtInheritedEnv2,
289
- inheritedEnvironment2,
290
- withOnlyEnvironment2,
291
- writeSrtSettings2,
292
- srtStepArgv2,
293
- srtArgv2
294
- } from "./chunk-nf9gdnsf.js";
294
+ } from "./chunk-3vbs995s.js";
295
295
  import {
296
296
  writeAgentEnvironmentConfigFile2,
297
297
  readManifestSkillPaths2,
@@ -307,8 +307,8 @@ import {
307
307
  applyAgentEnvironmentMaterialization2,
308
308
  isPathWithin2,
309
309
  skillIdentity2
310
- } from "./chunk-wh6eeetn.js";
311
- import"./chunk-nve4pjqm.js";
310
+ } from "./chunk-hw9fcfs0.js";
311
+ import"./chunk-4142qeg3.js";
312
312
  import {
313
313
  egressAllowed,
314
314
  writeSecretRegistry,
@@ -318,7 +318,7 @@ import {
318
318
  secretFilter2,
319
319
  opaqueTunnelRefusal2,
320
320
  isOpaqueConnectReason2
321
- } from "./chunk-y1krmnbv.js";
321
+ } from "./chunk-ggmwpwhf.js";
322
322
  import {
323
323
  sliceBytes2,
324
324
  maxLineBytes2,
@@ -326,23 +326,23 @@ import {
326
326
  decodedOption2,
327
327
  decoded2,
328
328
  readOpencode2
329
- } from "./chunk-ga76znz9.js";
329
+ } from "./chunk-5mxvqg32.js";
330
330
  import {
331
331
  uploadRunFile,
332
332
  programLease,
333
333
  rpcRunFiles,
334
334
  programHostsEnv,
335
335
  undeclaredHostsEnv
336
- } from "./chunk-4yzdyte6.js";
337
- import"./chunk-s364dren.js";
336
+ } from "./chunk-vjsqg4a5.js";
337
+ import"./chunk-dwxqp8ez.js";
338
338
  import {
339
339
  nextInt
340
- } from "./chunk-gq7y5v3e.js";
340
+ } from "./chunk-24h0y27w.js";
341
341
  import {
342
342
  ChildProcessSpawner,
343
- make3
344
- } from "./chunk-82w8rmkc.js";
345
- import"./chunk-7jege23c.js";
343
+ make2
344
+ } from "./chunk-8xpdkxr7.js";
345
+ import"./chunk-vmww6hnk.js";
346
346
 
347
347
  // packages/core/src/sync-kit.ts
348
348
  import { createHash } from "crypto";
@@ -7040,7 +7040,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7040
7040
  const input = yield* unbounded2();
7041
7041
  const pending = new Map;
7042
7042
  let lastId = 0;
7043
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7043
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7044
7044
  cwd: env.home,
7045
7045
  extendEnv: true,
7046
7046
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7063,7 +7063,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7063
7063
  return {
7064
7064
  request: (method, params) => gen(function* () {
7065
7065
  const id = ++lastId;
7066
- const deferred = yield* make16();
7066
+ const deferred = yield* make15();
7067
7067
  pending.set(id, deferred);
7068
7068
  yield* send({ id, method, params });
7069
7069
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7203,10 +7203,10 @@ var handshake = [
7203
7203
  `).join("");
7204
7204
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7205
7205
  const spawner = yield* ChildProcessSpawner;
7206
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7206
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7207
7207
  extendEnv: true,
7208
7208
  env: mcp.env,
7209
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7209
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7210
7210
  stderr: "ignore"
7211
7211
  }));
7212
7212
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7279,8 +7279,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7279
7279
  };
7280
7280
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7281
7281
  const spawner = yield* ChildProcessSpawner;
7282
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7283
- stdin: make11(new TextEncoder().encode(stdin)),
7282
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7283
+ stdin: make10(new TextEncoder().encode(stdin)),
7284
7284
  stdout: "inherit",
7285
7285
  stderr: "inherit",
7286
7286
  extendEnv: false,
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-zw3gf6r5.js";
6
+ } from "./chunk-zgraq2y3.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;