@kitman-sh/cli 0.13.12 → 0.13.13
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-36s51mp6.js → chunk-3z0wep73.js} +23 -23
- package/dist/{chunk-2xh5p0na.js → chunk-4yzdyte6.js} +7 -7
- package/dist/{chunk-4t6nrgxw.js → chunk-6kz6qa2h.js} +4 -4
- package/dist/{chunk-02ye1s9f.js → chunk-7hf2d50x.js} +9 -9
- package/dist/{chunk-z74fnmqb.js → chunk-7jege23c.js} +18 -18
- package/dist/{chunk-3z9yz32f.js → chunk-82w8rmkc.js} +2 -2
- package/dist/{chunk-n734b61f.js → chunk-9rez0yze.js} +1 -1
- package/dist/{chunk-8cxh8j07.js → chunk-b5abe9c7.js} +35 -35
- package/dist/{chunk-95w14qxp.js → chunk-cxc8d0r3.js} +6 -6
- package/dist/{chunk-1bkrxc3v.js → chunk-fc2bhh5v.js} +2 -2
- package/dist/{chunk-nge8fq10.js → chunk-ga76znz9.js} +5 -5
- package/dist/{chunk-fwja3qb1.js → chunk-gq7y5v3e.js} +1 -1
- package/dist/{chunk-yab3j170.js → chunk-gy9rf14f.js} +3 -3
- package/dist/{chunk-8t1vygmr.js → chunk-j2aw5bss.js} +4 -4
- package/dist/{chunk-x5nv63jj.js → chunk-jwr0rr2p.js} +1 -1
- package/dist/{chunk-szt25e0z.js → chunk-nf9gdnsf.js} +177 -34
- package/dist/{chunk-4m923rz8.js → chunk-nve4pjqm.js} +3 -3
- package/dist/{chunk-zb5pnthp.js → chunk-ptn9g4wd.js} +31 -31
- package/dist/{chunk-ths93svq.js → chunk-pvza175a.js} +141 -282
- package/dist/{chunk-mcw7wvtx.js → chunk-q5w3v4k1.js} +6 -1
- package/dist/{chunk-npjpmb0w.js → chunk-s364dren.js} +6 -6
- package/dist/{chunk-n1aqwdc2.js → chunk-vbygjtdw.js} +7 -7
- package/dist/{chunk-9d03t0pn.js → chunk-wh6eeetn.js} +4 -4
- package/dist/{chunk-eahqsd8h.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-8pbnfqaz.js → chunk-zw3gf6r5.js} +60 -60
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
isFailure2,
|
|
42
42
|
hasInterrupts,
|
|
43
43
|
makeUnsafe5,
|
|
44
|
-
|
|
44
|
+
make16,
|
|
45
45
|
_await,
|
|
46
46
|
fail5,
|
|
47
47
|
isDoneUnsafe,
|
|
@@ -168,8 +168,14 @@ import {
|
|
|
168
168
|
decodeJsonStringSync,
|
|
169
169
|
encodeUnknownJsonStringSync,
|
|
170
170
|
storable
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-zw3gf6r5.js";
|
|
172
172
|
import {
|
|
173
|
+
Id,
|
|
174
|
+
secretReference,
|
|
175
|
+
secretPlaceholder
|
|
176
|
+
} from "./chunk-q5w3v4k1.js";
|
|
177
|
+
import {
|
|
178
|
+
currentTimeMillis,
|
|
173
179
|
SecureRandom,
|
|
174
180
|
layerWebCrypto,
|
|
175
181
|
layer,
|
|
@@ -242,9 +248,8 @@ import {
|
|
|
242
248
|
installCommand,
|
|
243
249
|
checkServicesFile,
|
|
244
250
|
checkServices
|
|
245
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-pvza175a.js";
|
|
246
252
|
import {
|
|
247
|
-
currentTimeMillis,
|
|
248
253
|
join,
|
|
249
254
|
interrupt,
|
|
250
255
|
unbounded,
|
|
@@ -252,7 +257,7 @@ import {
|
|
|
252
257
|
unbounded2,
|
|
253
258
|
offer,
|
|
254
259
|
makeUnsafe3,
|
|
255
|
-
|
|
260
|
+
make11,
|
|
256
261
|
fromQueue,
|
|
257
262
|
fromPubSub,
|
|
258
263
|
map2,
|
|
@@ -286,7 +291,7 @@ import {
|
|
|
286
291
|
writeSrtSettings2,
|
|
287
292
|
srtStepArgv2,
|
|
288
293
|
srtArgv2
|
|
289
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-nf9gdnsf.js";
|
|
290
295
|
import {
|
|
291
296
|
writeAgentEnvironmentConfigFile2,
|
|
292
297
|
readManifestSkillPaths2,
|
|
@@ -302,8 +307,8 @@ import {
|
|
|
302
307
|
applyAgentEnvironmentMaterialization2,
|
|
303
308
|
isPathWithin2,
|
|
304
309
|
skillIdentity2
|
|
305
|
-
} from "./chunk-
|
|
306
|
-
import"./chunk-
|
|
310
|
+
} from "./chunk-wh6eeetn.js";
|
|
311
|
+
import"./chunk-nve4pjqm.js";
|
|
307
312
|
import {
|
|
308
313
|
egressAllowed,
|
|
309
314
|
writeSecretRegistry,
|
|
@@ -313,7 +318,7 @@ import {
|
|
|
313
318
|
secretFilter2,
|
|
314
319
|
opaqueTunnelRefusal2,
|
|
315
320
|
isOpaqueConnectReason2
|
|
316
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-y1krmnbv.js";
|
|
317
322
|
import {
|
|
318
323
|
sliceBytes2,
|
|
319
324
|
maxLineBytes2,
|
|
@@ -321,28 +326,23 @@ import {
|
|
|
321
326
|
decodedOption2,
|
|
322
327
|
decoded2,
|
|
323
328
|
readOpencode2
|
|
324
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-ga76znz9.js";
|
|
325
330
|
import {
|
|
326
331
|
uploadRunFile,
|
|
327
332
|
programLease,
|
|
328
333
|
rpcRunFiles,
|
|
329
334
|
programHostsEnv,
|
|
330
335
|
undeclaredHostsEnv
|
|
331
|
-
} from "./chunk-
|
|
332
|
-
import"./chunk-
|
|
336
|
+
} from "./chunk-4yzdyte6.js";
|
|
337
|
+
import"./chunk-s364dren.js";
|
|
333
338
|
import {
|
|
334
339
|
nextInt
|
|
335
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-gq7y5v3e.js";
|
|
336
341
|
import {
|
|
337
342
|
ChildProcessSpawner,
|
|
338
343
|
make3
|
|
339
|
-
} from "./chunk-
|
|
340
|
-
import"./chunk-
|
|
341
|
-
import {
|
|
342
|
-
Id,
|
|
343
|
-
secretReference,
|
|
344
|
-
secretPlaceholder
|
|
345
|
-
} from "./chunk-mcw7wvtx.js";
|
|
344
|
+
} from "./chunk-82w8rmkc.js";
|
|
345
|
+
import"./chunk-7jege23c.js";
|
|
346
346
|
|
|
347
347
|
// packages/core/src/sync-kit.ts
|
|
348
348
|
import { createHash } from "crypto";
|
|
@@ -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*
|
|
7066
|
+
const deferred = yield* make16();
|
|
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}` })));
|
|
@@ -7206,7 +7206,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
|
7206
7206
|
const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
|
|
7207
7207
|
extendEnv: true,
|
|
7208
7208
|
env: mcp.env,
|
|
7209
|
-
stdin: { stream:
|
|
7209
|
+
stdin: { stream: make11(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);
|
|
@@ -7280,7 +7280,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
7280
7280
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
7281
7281
|
const spawner = yield* ChildProcessSpawner;
|
|
7282
7282
|
const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
|
|
7283
|
-
stdin:
|
|
7283
|
+
stdin: make11(new TextEncoder().encode(stdin)),
|
|
7284
7284
|
stdout: "inherit",
|
|
7285
7285
|
stderr: "inherit",
|
|
7286
7286
|
extendEnv: false,
|
|
@@ -75,8 +75,12 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-zw3gf6r5.js";
|
|
79
79
|
import {
|
|
80
|
+
guard
|
|
81
|
+
} from "./chunk-q5w3v4k1.js";
|
|
82
|
+
import {
|
|
83
|
+
currentTimeMillis,
|
|
80
84
|
WebCrypto,
|
|
81
85
|
SafeJson,
|
|
82
86
|
AgentSandboxNetwork,
|
|
@@ -101,15 +105,11 @@ import {
|
|
|
101
105
|
KitDigest,
|
|
102
106
|
KitSetup,
|
|
103
107
|
RunnerRpcError
|
|
104
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-pvza175a.js";
|
|
105
109
|
import {
|
|
106
|
-
currentTimeMillis,
|
|
107
110
|
runForEach,
|
|
108
111
|
FileSystem
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
guard
|
|
112
|
-
} from "./chunk-mcw7wvtx.js";
|
|
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");
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-ga76znz9.js";
|
|
11
|
+
import"./chunk-82w8rmkc.js";
|
|
12
|
+
import"./chunk-nf9gdnsf.js";
|
|
13
|
+
import"./chunk-zw3gf6r5.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -32,7 +32,8 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-zw3gf6r5.js";
|
|
36
|
+
import"./chunk-q5w3v4k1.js";
|
|
36
37
|
import {
|
|
37
38
|
SecureRandom,
|
|
38
39
|
layerWebCrypto,
|
|
@@ -44,7 +45,7 @@ import {
|
|
|
44
45
|
layer4,
|
|
45
46
|
kitmanMcpServer,
|
|
46
47
|
RunnerRpcProtocolVersion
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-pvza175a.js";
|
|
48
49
|
import {
|
|
49
50
|
decodeText,
|
|
50
51
|
mkString,
|
|
@@ -52,24 +53,23 @@ import {
|
|
|
52
53
|
Path,
|
|
53
54
|
withDefault,
|
|
54
55
|
String2
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-nf9gdnsf.js";
|
|
56
57
|
import {
|
|
57
58
|
Packument,
|
|
58
59
|
tarballMatches
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-nve4pjqm.js";
|
|
61
|
+
import"./chunk-s364dren.js";
|
|
61
62
|
import {
|
|
62
63
|
AgentDeclaration,
|
|
63
64
|
KitDeclarations,
|
|
64
65
|
describeFlag,
|
|
65
66
|
Described
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-4yzdyte6.js";
|
|
67
68
|
import {
|
|
68
69
|
ChildProcessSpawner,
|
|
69
70
|
make3
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import"./chunk-
|
|
72
|
-
import"./chunk-mcw7wvtx.js";
|
|
71
|
+
} from "./chunk-82w8rmkc.js";
|
|
72
|
+
import"./chunk-7jege23c.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,8 +96,21 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-zw3gf6r5.js";
|
|
100
100
|
import {
|
|
101
|
+
interrupt,
|
|
102
|
+
getCurrent,
|
|
103
|
+
makeUnsafe2,
|
|
104
|
+
bounded,
|
|
105
|
+
offerAll,
|
|
106
|
+
failCause,
|
|
107
|
+
end,
|
|
108
|
+
shutdownUnsafe,
|
|
109
|
+
fromQueue,
|
|
110
|
+
unwrap
|
|
111
|
+
} from "./chunk-nf9gdnsf.js";
|
|
112
|
+
import {
|
|
113
|
+
Clock,
|
|
101
114
|
empty,
|
|
102
115
|
fromInput,
|
|
103
116
|
merge,
|
|
@@ -110,20 +123,7 @@ import {
|
|
|
110
123
|
ParseOptions,
|
|
111
124
|
RpcClientDefect,
|
|
112
125
|
RpcClientError
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import {
|
|
115
|
-
Clock,
|
|
116
|
-
interrupt,
|
|
117
|
-
getCurrent,
|
|
118
|
-
makeUnsafe2,
|
|
119
|
-
bounded,
|
|
120
|
-
offerAll,
|
|
121
|
-
failCause,
|
|
122
|
-
end,
|
|
123
|
-
shutdownUnsafe,
|
|
124
|
-
fromQueue,
|
|
125
|
-
unwrap
|
|
126
|
-
} from "./chunk-szt25e0z.js";
|
|
126
|
+
} from "./chunk-pvza175a.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")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-zw3gf6r5.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
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;
|