@kitman-sh/cli 0.19.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.
- package/dist/{chunk-am57a75e.js → chunk-0j884359.js} +3 -3
- package/dist/{chunk-bevxc9rx.js → chunk-0v70erwa.js} +7 -7
- package/dist/{chunk-qvpkwnky.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-y7bth30s.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-t5gb7bqv.js → chunk-746tbgvb.js} +30 -30
- package/dist/{chunk-2dhhyy04.js → chunk-7re3n1ze.js} +5 -5
- package/dist/{chunk-kx00yd3c.js → chunk-7swf974v.js} +9 -9
- package/dist/{chunk-zb8mwx3s.js → chunk-7vngg2n8.js} +17 -17
- package/dist/{chunk-khn17hdn.js → chunk-8t2wcrvv.js} +2 -2
- package/dist/{chunk-2y646fhs.js → chunk-atswrrsb.js} +18 -18
- package/dist/{chunk-t6y0c0ds.js → chunk-bsgvmq34.js} +2 -2
- package/dist/{chunk-e863b7v1.js → chunk-d1826dj4.js} +130 -268
- package/dist/{chunk-ew07nt2d.js → chunk-h2f26xbd.js} +61 -61
- package/dist/{chunk-w9mxqrsp.js → chunk-j4b1yvcd.js} +177 -34
- package/dist/{chunk-y4nrvwgy.js → chunk-js28a12p.js} +4 -4
- package/dist/{chunk-3gmqn9yp.js → chunk-kw46ktwg.js} +4 -4
- package/dist/{chunk-hrdh72c7.js → chunk-mqs553x5.js} +35 -22
- package/dist/{chunk-9cj8g584.js → chunk-npfdbssf.js} +4 -4
- package/dist/{chunk-gqcz0d3j.js → chunk-pr7wx6vh.js} +2 -2
- package/dist/{chunk-4rq880g6.js → chunk-remt6mfx.js} +6 -6
- package/dist/{chunk-6hxtg6eb.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-36dejya4.js → chunk-t8e5ky8f.js} +1 -1
- package/dist/{chunk-haq904fk.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-6387vj9z.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-0sbd6e4d.js → chunk-wmf3hq5w.js} +20 -20
- package/dist/{chunk-qp3kqaw1.js → chunk-y756hc0e.js} +6 -6
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-h2f26xbd.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4qjfn1sa.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
isFailure2,
|
|
44
44
|
hasInterrupts,
|
|
45
45
|
makeUnsafe5,
|
|
46
|
-
|
|
46
|
+
make16,
|
|
47
47
|
_await,
|
|
48
48
|
fail5,
|
|
49
49
|
isDoneUnsafe,
|
|
@@ -172,8 +172,9 @@ import {
|
|
|
172
172
|
decodeJsonStringSync,
|
|
173
173
|
encodeUnknownJsonStringSync,
|
|
174
174
|
storable
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-h2f26xbd.js";
|
|
176
176
|
import {
|
|
177
|
+
currentTimeMillis,
|
|
177
178
|
SecureRandom,
|
|
178
179
|
layerWebCrypto,
|
|
179
180
|
layer,
|
|
@@ -260,9 +261,8 @@ import {
|
|
|
260
261
|
checkServicesFile,
|
|
261
262
|
checkServices,
|
|
262
263
|
serviceChecks
|
|
263
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-d1826dj4.js";
|
|
264
265
|
import {
|
|
265
|
-
currentTimeMillis,
|
|
266
266
|
join,
|
|
267
267
|
interrupt,
|
|
268
268
|
unbounded,
|
|
@@ -270,7 +270,7 @@ import {
|
|
|
270
270
|
unbounded2,
|
|
271
271
|
offer,
|
|
272
272
|
makeUnsafe3,
|
|
273
|
-
|
|
273
|
+
make11,
|
|
274
274
|
fromQueue,
|
|
275
275
|
fromPubSub,
|
|
276
276
|
map2,
|
|
@@ -307,7 +307,7 @@ import {
|
|
|
307
307
|
writeSrtSettings2,
|
|
308
308
|
srtStepArgv2,
|
|
309
309
|
srtArgv2
|
|
310
|
-
} from "./chunk-
|
|
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-
|
|
327
|
-
import"./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
353
|
-
import"./chunk-
|
|
352
|
+
} from "./chunk-7swf974v.js";
|
|
353
|
+
import"./chunk-remt6mfx.js";
|
|
354
354
|
import {
|
|
355
355
|
nextInt
|
|
356
|
-
} from "./chunk-
|
|
357
|
-
import"./chunk-
|
|
356
|
+
} from "./chunk-5kqt4bqp.js";
|
|
357
|
+
import"./chunk-tsx0347c.js";
|
|
358
358
|
import {
|
|
359
359
|
ChildProcessSpawner,
|
|
360
360
|
make3
|
|
361
|
-
} from "./chunk-
|
|
362
|
-
import"./chunk-
|
|
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-
|
|
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*
|
|
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:
|
|
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:
|
|
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-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-npfdbssf.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-746tbgvb.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|