@kitman-sh/cli 0.10.83 → 0.10.84
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-999xbcaa.js → chunk-0mgbryyd.js} +9 -9
- package/dist/{chunk-dzthc6th.js → chunk-2k1qfyvx.js} +6 -6
- package/dist/{chunk-xbyd16q3.js → chunk-2tpysgqk.js} +3 -3
- package/dist/{chunk-2fqry6rd.js → chunk-397fax43.js} +185 -33
- package/dist/{chunk-by54dw1n.js → chunk-62565d52.js} +2 -2
- package/dist/{chunk-93vddjpx.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-adqabkwv.js → chunk-7qbchfkf.js} +9 -9
- package/dist/{chunk-66fhj0c3.js → chunk-92mjxge4.js} +10 -10
- package/dist/{chunk-20rbya07.js → chunk-93b1hdfa.js} +31 -31
- package/dist/{chunk-ptp9p22x.js → chunk-98r2t1s6.js} +18 -18
- package/dist/{chunk-hccw303w.js → chunk-9gztfcvf.js} +7 -7
- package/dist/{chunk-bjexx93x.js → chunk-cakmwaed.js} +2 -2
- package/dist/{chunk-tnqzvx55.js → chunk-d53rckf0.js} +143 -303
- package/dist/{chunk-qnnsy306.js → chunk-ebd5zjnx.js} +2 -2
- package/dist/{chunk-7wag4s6j.js → chunk-hgx1dq68.js} +4 -4
- package/dist/{chunk-xq4k0mgr.js → chunk-jbwk6k6m.js} +60 -60
- package/dist/{chunk-7bsf0fyh.js → chunk-kgdppbdr.js} +6 -1
- package/dist/{chunk-2rpwpzt5.js → chunk-kp01bv8f.js} +25 -25
- package/dist/{chunk-1chta572.js → chunk-krh0gek1.js} +17 -17
- package/dist/{chunk-mr30hj39.js → chunk-kxtmk59a.js} +5 -5
- package/dist/{chunk-72232jhj.js → chunk-ky974pcr.js} +4 -4
- package/dist/{chunk-292vjjdz.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-6kt28g8r.js → chunk-ynn6jk0w.js} +62 -62
- package/dist/{chunk-smnx6fad.js → chunk-ze0f51ds.js} +11 -11
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,47 @@ import {
|
|
|
6
6
|
isObject,
|
|
7
7
|
isJsonObject,
|
|
8
8
|
isString
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-tzz4fv17.js";
|
|
10
|
+
import {
|
|
11
|
+
join,
|
|
12
|
+
interrupt,
|
|
13
|
+
unbounded,
|
|
14
|
+
publishUnsafe,
|
|
15
|
+
unbounded2,
|
|
16
|
+
offer,
|
|
17
|
+
makeUnsafe3,
|
|
18
|
+
make11,
|
|
19
|
+
fromQueue,
|
|
20
|
+
fromPubSub,
|
|
21
|
+
map2,
|
|
22
|
+
filter,
|
|
23
|
+
decodeText,
|
|
24
|
+
encodeText,
|
|
25
|
+
splitLines,
|
|
26
|
+
run,
|
|
27
|
+
runHead,
|
|
28
|
+
runForEach,
|
|
29
|
+
FileSystem,
|
|
30
|
+
Path,
|
|
31
|
+
embeddedFile,
|
|
32
|
+
extractEmbeddedFile,
|
|
33
|
+
optionalEnv,
|
|
34
|
+
operatorConfigHome,
|
|
35
|
+
harnessesUnsupportedInSrt2,
|
|
36
|
+
compiled2,
|
|
37
|
+
pinnedSrtCommand2,
|
|
38
|
+
pinnedSrtStepCommand2,
|
|
39
|
+
runSrtCli2,
|
|
40
|
+
kitmanCacheDirectory2,
|
|
41
|
+
srtSettings2,
|
|
42
|
+
srtCacheEnvironment2,
|
|
43
|
+
srtInheritedEnv2,
|
|
44
|
+
inheritedEnvironment2,
|
|
45
|
+
withOnlyEnvironment2,
|
|
46
|
+
writeSrtSettings2,
|
|
47
|
+
srtStepArgv2,
|
|
48
|
+
srtArgv2
|
|
49
|
+
} from "./chunk-397fax43.js";
|
|
10
50
|
import {
|
|
11
51
|
pipeArguments,
|
|
12
52
|
dual,
|
|
@@ -46,7 +86,7 @@ import {
|
|
|
46
86
|
isFailure2,
|
|
47
87
|
hasInterrupts,
|
|
48
88
|
makeUnsafe5,
|
|
49
|
-
|
|
89
|
+
make16,
|
|
50
90
|
_await,
|
|
51
91
|
fail5,
|
|
52
92
|
isDoneUnsafe,
|
|
@@ -165,8 +205,14 @@ import {
|
|
|
165
205
|
encodePrettyJsonString,
|
|
166
206
|
decodeJsonStringSync,
|
|
167
207
|
encodeUnknownJsonStringSync
|
|
168
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-jbwk6k6m.js";
|
|
169
209
|
import {
|
|
210
|
+
Id,
|
|
211
|
+
secretReference,
|
|
212
|
+
secretPlaceholder
|
|
213
|
+
} from "./chunk-kgdppbdr.js";
|
|
214
|
+
import {
|
|
215
|
+
currentTimeMillis,
|
|
170
216
|
SecureRandom,
|
|
171
217
|
layerWebCrypto,
|
|
172
218
|
layer,
|
|
@@ -237,48 +283,7 @@ import {
|
|
|
237
283
|
installCommand,
|
|
238
284
|
checkServicesFile,
|
|
239
285
|
checkServices
|
|
240
|
-
} from "./chunk-
|
|
241
|
-
import {
|
|
242
|
-
currentTimeMillis,
|
|
243
|
-
join,
|
|
244
|
-
interrupt,
|
|
245
|
-
unbounded,
|
|
246
|
-
publishUnsafe,
|
|
247
|
-
unbounded2,
|
|
248
|
-
offer,
|
|
249
|
-
makeUnsafe3,
|
|
250
|
-
make10,
|
|
251
|
-
fromQueue,
|
|
252
|
-
fromPubSub,
|
|
253
|
-
map2,
|
|
254
|
-
filter,
|
|
255
|
-
decodeText,
|
|
256
|
-
encodeText,
|
|
257
|
-
splitLines,
|
|
258
|
-
run,
|
|
259
|
-
runHead,
|
|
260
|
-
runForEach,
|
|
261
|
-
FileSystem,
|
|
262
|
-
Path,
|
|
263
|
-
embeddedFile,
|
|
264
|
-
extractEmbeddedFile,
|
|
265
|
-
optionalEnv,
|
|
266
|
-
operatorConfigHome,
|
|
267
|
-
harnessesUnsupportedInSrt2,
|
|
268
|
-
compiled2,
|
|
269
|
-
pinnedSrtCommand2,
|
|
270
|
-
pinnedSrtStepCommand2,
|
|
271
|
-
runSrtCli2,
|
|
272
|
-
kitmanCacheDirectory2,
|
|
273
|
-
srtSettings2,
|
|
274
|
-
srtCacheEnvironment2,
|
|
275
|
-
srtInheritedEnv2,
|
|
276
|
-
inheritedEnvironment2,
|
|
277
|
-
withOnlyEnvironment2,
|
|
278
|
-
writeSrtSettings2,
|
|
279
|
-
srtStepArgv2,
|
|
280
|
-
srtArgv2
|
|
281
|
-
} from "./chunk-2fqry6rd.js";
|
|
286
|
+
} from "./chunk-d53rckf0.js";
|
|
282
287
|
import {
|
|
283
288
|
writeAgentEnvironmentConfigFile2,
|
|
284
289
|
readManifestSkillPaths2,
|
|
@@ -294,8 +299,8 @@ import {
|
|
|
294
299
|
applyAgentEnvironmentMaterialization2,
|
|
295
300
|
isPathWithin2,
|
|
296
301
|
skillIdentity2
|
|
297
|
-
} from "./chunk-
|
|
298
|
-
import"./chunk-
|
|
302
|
+
} from "./chunk-7qbchfkf.js";
|
|
303
|
+
import"./chunk-2tpysgqk.js";
|
|
299
304
|
import {
|
|
300
305
|
egressAllowed,
|
|
301
306
|
writeSecretRegistry,
|
|
@@ -305,7 +310,7 @@ import {
|
|
|
305
310
|
secretFilter2,
|
|
306
311
|
opaqueTunnelRefusal2,
|
|
307
312
|
isOpaqueConnectReason2
|
|
308
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-62565d52.js";
|
|
309
314
|
import {
|
|
310
315
|
sliceBytes2,
|
|
311
316
|
maxLineBytes2,
|
|
@@ -313,28 +318,23 @@ import {
|
|
|
313
318
|
decodedOption2,
|
|
314
319
|
decoded2,
|
|
315
320
|
readOpencode2
|
|
316
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-0mgbryyd.js";
|
|
317
322
|
import {
|
|
318
323
|
uploadRunFile,
|
|
319
324
|
programLease,
|
|
320
325
|
rpcRunFiles,
|
|
321
326
|
programHostsEnv,
|
|
322
327
|
undeclaredHostsEnv
|
|
323
|
-
} from "./chunk-
|
|
324
|
-
import"./chunk-
|
|
328
|
+
} from "./chunk-92mjxge4.js";
|
|
329
|
+
import"./chunk-2k1qfyvx.js";
|
|
325
330
|
import {
|
|
326
331
|
nextInt
|
|
327
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-76ctrqm6.js";
|
|
328
333
|
import {
|
|
329
334
|
ChildProcessSpawner,
|
|
330
335
|
make3
|
|
331
|
-
} from "./chunk-
|
|
332
|
-
import"./chunk-
|
|
333
|
-
import {
|
|
334
|
-
Id,
|
|
335
|
-
secretReference,
|
|
336
|
-
secretPlaceholder
|
|
337
|
-
} from "./chunk-7bsf0fyh.js";
|
|
336
|
+
} from "./chunk-cakmwaed.js";
|
|
337
|
+
import"./chunk-98r2t1s6.js";
|
|
338
338
|
|
|
339
339
|
// packages/core/src/sync-kit.ts
|
|
340
340
|
import { createHash } from "crypto";
|
|
@@ -6559,7 +6559,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
6559
6559
|
return {
|
|
6560
6560
|
request: (method, params) => gen(function* () {
|
|
6561
6561
|
const id = ++lastId;
|
|
6562
|
-
const deferred = yield*
|
|
6562
|
+
const deferred = yield* make16();
|
|
6563
6563
|
pending.set(id, deferred);
|
|
6564
6564
|
yield* send({ id, method, params });
|
|
6565
6565
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -6702,7 +6702,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
|
6702
6702
|
const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
|
|
6703
6703
|
extendEnv: true,
|
|
6704
6704
|
env: mcp.env,
|
|
6705
|
-
stdin: { stream:
|
|
6705
|
+
stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
6706
6706
|
stderr: "ignore"
|
|
6707
6707
|
}));
|
|
6708
6708
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -6776,7 +6776,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
6776
6776
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
6777
6777
|
const spawner = yield* ChildProcessSpawner;
|
|
6778
6778
|
const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
|
|
6779
|
-
stdin:
|
|
6779
|
+
stdin: make11(new TextEncoder().encode(stdin)),
|
|
6780
6780
|
stdout: "inherit",
|
|
6781
6781
|
stderr: "inherit",
|
|
6782
6782
|
extendEnv: false,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path
|
|
5
|
+
} from "./chunk-397fax43.js";
|
|
2
6
|
import {
|
|
3
7
|
isObject2,
|
|
4
8
|
isUint8Array,
|
|
@@ -12,30 +16,26 @@ import {
|
|
|
12
16
|
orElseSucceed,
|
|
13
17
|
decodeJsonString,
|
|
14
18
|
encodePrettyJsonString
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-jbwk6k6m.js";
|
|
20
|
+
import"./chunk-kgdppbdr.js";
|
|
16
21
|
import {
|
|
17
22
|
isJsonObject
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
FileSystem,
|
|
21
|
-
Path
|
|
22
|
-
} from "./chunk-2fqry6rd.js";
|
|
23
|
+
} from "./chunk-tzz4fv17.js";
|
|
23
24
|
import {
|
|
24
25
|
tomlTableHeader2,
|
|
25
26
|
tomlKeyPath2,
|
|
26
27
|
kitmanSkillEntry,
|
|
27
28
|
isPathWithin2
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7qbchfkf.js";
|
|
29
30
|
import {
|
|
30
31
|
instructionsStart,
|
|
31
32
|
instructionsEnd,
|
|
32
33
|
renderMcpServer,
|
|
33
34
|
materializeKitSetup,
|
|
34
35
|
tomlInline
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import"./chunk-7bsf0fyh.js";
|
|
36
|
+
} from "./chunk-d53rckf0.js";
|
|
37
|
+
import"./chunk-2tpysgqk.js";
|
|
38
|
+
import"./chunk-cakmwaed.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
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-ebd5zjnx.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-ky974pcr.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-kxtmk59a.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-93b1hdfa.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|