@kitman-sh/cli 0.20.0 → 0.21.0

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 (28) hide show
  1. package/dist/{chunk-s9fwm42m.js → chunk-0j884359.js} +3 -3
  2. package/dist/{chunk-rekh8azw.js → chunk-0v70erwa.js} +10 -10
  3. package/dist/{chunk-qvpkwnky.js → chunk-4qjfn1sa.js} +1 -1
  4. package/dist/{chunk-y7bth30s.js → chunk-5kqt4bqp.js} +1 -1
  5. package/dist/{chunk-8xd2jvgj.js → chunk-746tbgvb.js} +18 -18
  6. package/dist/{chunk-89a53j2y.js → chunk-7re3n1ze.js} +8 -8
  7. package/dist/{chunk-7dcq58d0.js → chunk-7swf974v.js} +12 -12
  8. package/dist/{chunk-yecj64ke.js → chunk-7vngg2n8.js} +17 -17
  9. package/dist/{chunk-spazhq67.js → chunk-8t2wcrvv.js} +2 -2
  10. package/dist/{chunk-3vgv5ba7.js → chunk-atswrrsb.js} +6 -6
  11. package/dist/{chunk-v30yf453.js → chunk-bsgvmq34.js} +2 -2
  12. package/dist/{chunk-535m9qxp.js → chunk-d1826dj4.js} +130 -263
  13. package/dist/{chunk-ew07nt2d.js → chunk-h2f26xbd.js} +61 -61
  14. package/dist/{chunk-kntnw6r0.js → chunk-j4b1yvcd.js} +177 -37
  15. package/dist/{chunk-avg3cz82.js → chunk-js28a12p.js} +9 -9
  16. package/dist/{chunk-centvmrd.js → chunk-kw46ktwg.js} +4 -4
  17. package/dist/{chunk-2scq36fm.js → chunk-mqs553x5.js} +21 -8
  18. package/dist/{chunk-3hyggg9w.js → chunk-npfdbssf.js} +4 -4
  19. package/dist/{chunk-3wct0tsd.js → chunk-pr7wx6vh.js} +1 -1
  20. package/dist/{chunk-fvdnmgsy.js → chunk-remt6mfx.js} +4 -4
  21. package/dist/{chunk-6hxtg6eb.js → chunk-samxkpbz.js} +3 -3
  22. package/dist/{chunk-dtgp724s.js → chunk-t8e5ky8f.js} +1 -1
  23. package/dist/{chunk-haq904fk.js → chunk-tsx0347c.js} +1 -1
  24. package/dist/{chunk-6387vj9z.js → chunk-vz38kngm.js} +2 -2
  25. package/dist/{chunk-g00ewhrb.js → chunk-wmf3hq5w.js} +63 -63
  26. package/dist/{chunk-rrbnxea1.js → chunk-y756hc0e.js} +6 -6
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -43,7 +43,7 @@ import {
43
43
  isFailure2,
44
44
  hasInterrupts,
45
45
  makeUnsafe5,
46
- make15,
46
+ make16,
47
47
  _await,
48
48
  fail5,
49
49
  isDoneUnsafe,
@@ -172,53 +172,7 @@ import {
172
172
  decodeJsonStringSync,
173
173
  encodeUnknownJsonStringSync,
174
174
  storable
175
- } from "./chunk-ew07nt2d.js";
176
- import {
177
- join,
178
- interrupt,
179
- unbounded,
180
- publishUnsafe,
181
- unbounded2,
182
- offer,
183
- makeUnsafe3,
184
- make10,
185
- fromQueue,
186
- fromPubSub,
187
- map2,
188
- filter,
189
- take2,
190
- mapAccum,
191
- decodeText,
192
- encodeText,
193
- splitLines,
194
- run,
195
- runCollect,
196
- runFold,
197
- runHead,
198
- runForEach,
199
- FileSystem,
200
- Path,
201
- embeddedFile,
202
- extractEmbeddedFile,
203
- optionalEnv,
204
- operatorConfigHome,
205
- tempDirectoryScoped,
206
- harnessesUnsupportedInSrt2,
207
- harnessesUnsupportedInDocker2,
208
- compiled2,
209
- pinnedSrtCommand2,
210
- pinnedSrtStepCommand2,
211
- runSrtCli2,
212
- kitmanCacheDirectory2,
213
- srtSettings2,
214
- srtCacheEnvironment2,
215
- srtInheritedEnv2,
216
- inheritedEnvironment2,
217
- withOnlyEnvironment2,
218
- writeSrtSettings2,
219
- srtStepArgv2,
220
- srtArgv2
221
- } from "./chunk-kntnw6r0.js";
175
+ } from "./chunk-h2f26xbd.js";
222
176
  import {
223
177
  currentTimeMillis,
224
178
  SecureRandom,
@@ -307,7 +261,53 @@ import {
307
261
  checkServicesFile,
308
262
  checkServices,
309
263
  serviceChecks
310
- } from "./chunk-535m9qxp.js";
264
+ } from "./chunk-d1826dj4.js";
265
+ import {
266
+ join,
267
+ interrupt,
268
+ unbounded,
269
+ publishUnsafe,
270
+ unbounded2,
271
+ offer,
272
+ makeUnsafe3,
273
+ make11,
274
+ fromQueue,
275
+ fromPubSub,
276
+ map2,
277
+ filter,
278
+ take2,
279
+ mapAccum,
280
+ decodeText,
281
+ encodeText,
282
+ splitLines,
283
+ run,
284
+ runCollect,
285
+ runFold,
286
+ runHead,
287
+ runForEach,
288
+ FileSystem,
289
+ Path,
290
+ embeddedFile,
291
+ extractEmbeddedFile,
292
+ optionalEnv,
293
+ operatorConfigHome,
294
+ tempDirectoryScoped,
295
+ harnessesUnsupportedInSrt2,
296
+ harnessesUnsupportedInDocker2,
297
+ compiled2,
298
+ pinnedSrtCommand2,
299
+ pinnedSrtStepCommand2,
300
+ runSrtCli2,
301
+ kitmanCacheDirectory2,
302
+ srtSettings2,
303
+ srtCacheEnvironment2,
304
+ srtInheritedEnv2,
305
+ inheritedEnvironment2,
306
+ withOnlyEnvironment2,
307
+ writeSrtSettings2,
308
+ srtStepArgv2,
309
+ srtArgv2
310
+ } from "./chunk-j4b1yvcd.js";
311
311
  import {
312
312
  writeAgentEnvironmentConfigFile2,
313
313
  readManifestSkillPaths2,
@@ -323,8 +323,8 @@ import {
323
323
  applyAgentEnvironmentMaterialization2,
324
324
  isPathWithin2,
325
325
  skillIdentity2
326
- } from "./chunk-avg3cz82.js";
327
- import"./chunk-s9fwm42m.js";
326
+ } from "./chunk-js28a12p.js";
327
+ import"./chunk-0j884359.js";
328
328
  import {
329
329
  egressAllowed,
330
330
  writeSecretRegistry,
@@ -334,7 +334,7 @@ import {
334
334
  secretFilter2,
335
335
  opaqueTunnelRefusal2,
336
336
  isOpaqueConnectReason2
337
- } from "./chunk-6387vj9z.js";
337
+ } from "./chunk-vz38kngm.js";
338
338
  import {
339
339
  sliceBytes2,
340
340
  maxLineBytes2,
@@ -342,29 +342,29 @@ import {
342
342
  decodedOption2,
343
343
  decoded2,
344
344
  readOpencode2
345
- } from "./chunk-89a53j2y.js";
345
+ } from "./chunk-7re3n1ze.js";
346
346
  import {
347
347
  uploadRunFile,
348
348
  programLease,
349
349
  rpcRunFiles,
350
350
  programHostsEnv,
351
351
  undeclaredHostsEnv
352
- } from "./chunk-7dcq58d0.js";
353
- import"./chunk-fvdnmgsy.js";
352
+ } from "./chunk-7swf974v.js";
353
+ import"./chunk-remt6mfx.js";
354
354
  import {
355
355
  nextInt
356
- } from "./chunk-y7bth30s.js";
357
- import"./chunk-haq904fk.js";
356
+ } from "./chunk-5kqt4bqp.js";
357
+ import"./chunk-tsx0347c.js";
358
358
  import {
359
359
  ChildProcessSpawner,
360
360
  make3
361
- } from "./chunk-v30yf453.js";
362
- import"./chunk-3vgv5ba7.js";
361
+ } from "./chunk-bsgvmq34.js";
362
+ import"./chunk-atswrrsb.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
366
366
  secretPlaceholder
367
- } from "./chunk-qvpkwnky.js";
367
+ } from "./chunk-4qjfn1sa.js";
368
368
 
369
369
  // packages/core/src/sync-kit.ts
370
370
  import { createHash } from "crypto";
@@ -8027,7 +8027,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8027
8027
  return {
8028
8028
  request: (method, params) => gen(function* () {
8029
8029
  const id = ++lastId;
8030
- const deferred = yield* make15();
8030
+ const deferred = yield* make16();
8031
8031
  pending.set(id, deferred);
8032
8032
  yield* send({ id, method, params });
8033
8033
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -8170,7 +8170,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
8170
8170
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8171
8171
  extendEnv: true,
8172
8172
  env: mcp.env,
8173
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
8173
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
8174
8174
  stderr: "ignore"
8175
8175
  }));
8176
8176
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -8244,7 +8244,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8244
8244
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8245
8245
  const spawner = yield* ChildProcessSpawner;
8246
8246
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8247
- stdin: make10(new TextEncoder().encode(stdin)),
8247
+ stdin: make11(new TextEncoder().encode(stdin)),
8248
8248
  stdout: "inherit",
8249
8249
  stderr: "inherit",
8250
8250
  extendEnv: false,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-fvdnmgsy.js";
8
- import"./chunk-3vgv5ba7.js";
9
- import"./chunk-535m9qxp.js";
10
- import"./chunk-qvpkwnky.js";
11
- import"./chunk-kntnw6r0.js";
12
- import"./chunk-ew07nt2d.js";
7
+ } from "./chunk-remt6mfx.js";
8
+ import"./chunk-atswrrsb.js";
9
+ import"./chunk-d1826dj4.js";
10
+ import"./chunk-4qjfn1sa.js";
11
+ import"./chunk-j4b1yvcd.js";
12
+ import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
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-spazhq67.js");
8
+ const { runSrtCli } = await import("./chunk-8t2wcrvv.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-6hxtg6eb.js");
11
+ const { runSrtStep } = await import("./chunk-samxkpbz.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-3hyggg9w.js");
14
+ const { runOpencodeReader } = await import("./chunk-npfdbssf.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-8xd2jvgj.js");
17
+ const { runCli } = await import("./chunk-746tbgvb.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.20.0",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {