@kitman-sh/cli 0.10.86 → 0.10.87
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-mak28dxp.js → chunk-11pnta38.js} +18 -18
- package/dist/{chunk-b0qaan2c.js → chunk-193zkyhj.js} +4 -4
- package/dist/{chunk-ehwvgxq8.js → chunk-4s08g8x1.js} +8 -8
- package/dist/{chunk-zms40x1v.js → chunk-62565d52.js} +2 -2
- package/dist/{chunk-93vddjpx.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-bjexx93x.js → chunk-98sg1yyd.js} +2 -2
- package/dist/{chunk-mr30hj39.js → chunk-9zd52pda.js} +5 -5
- package/dist/{chunk-6tq2m8xc.js → chunk-bk31f16e.js} +3 -3
- package/dist/{chunk-999xbcaa.js → chunk-e8zm8z3a.js} +6 -6
- package/dist/{chunk-gmt7awee.js → chunk-fhgfsets.js} +6 -6
- package/dist/{chunk-qnnsy306.js → chunk-fq47a5yd.js} +2 -2
- package/dist/{chunk-q1qrwcnw.js → chunk-gaxp5nmx.js} +8 -8
- package/dist/{chunk-38end526.js → chunk-h6v1w0vw.js} +20 -20
- package/dist/{chunk-xq4k0mgr.js → chunk-jbwk6k6m.js} +60 -60
- package/dist/{chunk-3wvp5n5a.js → chunk-kgdppbdr.js} +1 -1
- package/dist/{chunk-wtx1vq9t.js → chunk-ky974pcr.js} +4 -4
- package/dist/{chunk-ekkjbmr9.js → chunk-m0yvvg6r.js} +5 -5
- package/dist/{chunk-jfgmhb6k.js → chunk-myjfc5nh.js} +5 -5
- package/dist/{chunk-y1x0mb3b.js → chunk-n3prr22y.js} +17 -17
- package/dist/{chunk-4sz3sg95.js → chunk-rxcy9h90.js} +7 -7
- package/dist/{chunk-292vjjdz.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-h8fq958v.js → chunk-w5smxtzc.js} +142 -294
- package/dist/{chunk-2fqry6rd.js → chunk-xb70ys3n.js} +177 -34
- package/dist/{chunk-wbdgjd1n.js → chunk-z7mvdzqm.js} +29 -29
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -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-jbwk6k6m.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-xb70ys3n.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-2fqry6rd.js";
|
|
126
|
+
} from "./chunk-w5smxtzc.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 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-98sg1yyd.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-w5smxtzc.js";
|
|
16
|
+
import"./chunk-xb70ys3n.js";
|
|
17
|
+
import"./chunk-jbwk6k6m.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -12,30 +12,30 @@ import {
|
|
|
12
12
|
orElseSucceed,
|
|
13
13
|
decodeJsonString,
|
|
14
14
|
encodePrettyJsonString
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-jbwk6k6m.js";
|
|
16
|
+
import"./chunk-kgdppbdr.js";
|
|
17
17
|
import {
|
|
18
18
|
isJsonObject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-tzz4fv17.js";
|
|
20
20
|
import {
|
|
21
21
|
FileSystem,
|
|
22
22
|
Path
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-xb70ys3n.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-myjfc5nh.js";
|
|
30
30
|
import {
|
|
31
31
|
instructionsStart,
|
|
32
32
|
instructionsEnd,
|
|
33
33
|
renderMcpServer,
|
|
34
34
|
materializeKitSetup,
|
|
35
35
|
tomlInline
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import"./chunk-
|
|
36
|
+
} from "./chunk-w5smxtzc.js";
|
|
37
|
+
import"./chunk-bk31f16e.js";
|
|
38
|
+
import"./chunk-98sg1yyd.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-jbwk6k6m.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-kgdppbdr.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-jbwk6k6m.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-xb70ys3n.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;
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-e8zm8z3a.js";
|
|
11
|
+
import"./chunk-98sg1yyd.js";
|
|
12
|
+
import"./chunk-tzz4fv17.js";
|
|
13
|
+
import"./chunk-xb70ys3n.js";
|
|
14
|
+
import"./chunk-jbwk6k6m.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
17
17
|
decodedOption2 as decodedOption,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-jbwk6k6m.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-xb70ys3n.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-w5smxtzc.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-jbwk6k6m.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-tzz4fv17.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make11,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-xb70ys3n.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-98sg1yyd.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -170,7 +170,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
|
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
172
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
173
|
-
stdin:
|
|
173
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-jbwk6k6m.js";
|
|
10
|
+
import {
|
|
11
|
+
runForEach
|
|
12
|
+
} from "./chunk-xb70ys3n.js";
|
|
10
13
|
import {
|
|
11
14
|
WebSocketConstructor,
|
|
12
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +19,13 @@ import {
|
|
|
16
19
|
RunnerReplicaRpcs,
|
|
17
20
|
RunnerRunFileRpcs,
|
|
18
21
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runForEach
|
|
22
|
-
} from "./chunk-2fqry6rd.js";
|
|
22
|
+
} from "./chunk-w5smxtzc.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-11pnta38.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-xb70ys3n.js";
|
|
18
|
+
import"./chunk-jbwk6k6m.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -102,8 +102,9 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-jbwk6k6m.js";
|
|
106
106
|
import {
|
|
107
|
+
currentTimeMillis,
|
|
107
108
|
SecureRandom,
|
|
108
109
|
makeUnsafe,
|
|
109
110
|
formatIso,
|
|
@@ -153,13 +154,13 @@ import {
|
|
|
153
154
|
runMcpEffect,
|
|
154
155
|
createAgentAuthSignedFetch,
|
|
155
156
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-w5smxtzc.js";
|
|
157
158
|
import {
|
|
158
159
|
guard,
|
|
159
160
|
Id,
|
|
160
161
|
Timestamp,
|
|
161
162
|
ActorType
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-kgdppbdr.js";
|
|
163
164
|
import {
|
|
164
165
|
toJsonValue,
|
|
165
166
|
isOneOf,
|
|
@@ -172,9 +173,8 @@ import {
|
|
|
172
173
|
isJsonObject,
|
|
173
174
|
isString,
|
|
174
175
|
kindOf
|
|
175
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-tzz4fv17.js";
|
|
176
177
|
import {
|
|
177
|
-
currentTimeMillis,
|
|
178
178
|
join,
|
|
179
179
|
interrupt,
|
|
180
180
|
runForEach,
|
|
@@ -187,17 +187,17 @@ import {
|
|
|
187
187
|
withDefault,
|
|
188
188
|
option,
|
|
189
189
|
String2
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-xb70ys3n.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-76ctrqm6.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
196
|
make4,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-11pnta38.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
isObject,
|
|
7
7
|
isJsonObject,
|
|
8
8
|
isString
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-tzz4fv17.js";
|
|
10
10
|
import {
|
|
11
11
|
pipeArguments,
|
|
12
12
|
dual,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
isFailure2,
|
|
47
47
|
hasInterrupts,
|
|
48
48
|
makeUnsafe5,
|
|
49
|
-
|
|
49
|
+
make16,
|
|
50
50
|
_await,
|
|
51
51
|
fail5,
|
|
52
52
|
isDoneUnsafe,
|
|
@@ -165,13 +165,14 @@ import {
|
|
|
165
165
|
encodePrettyJsonString,
|
|
166
166
|
decodeJsonStringSync,
|
|
167
167
|
encodeUnknownJsonStringSync
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-jbwk6k6m.js";
|
|
169
169
|
import {
|
|
170
170
|
Id,
|
|
171
171
|
secretReference,
|
|
172
172
|
secretPlaceholder
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-kgdppbdr.js";
|
|
174
174
|
import {
|
|
175
|
+
currentTimeMillis,
|
|
175
176
|
SecureRandom,
|
|
176
177
|
layerWebCrypto,
|
|
177
178
|
layer,
|
|
@@ -242,9 +243,8 @@ import {
|
|
|
242
243
|
installCommand,
|
|
243
244
|
checkServicesFile,
|
|
244
245
|
checkServices
|
|
245
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-w5smxtzc.js";
|
|
246
247
|
import {
|
|
247
|
-
currentTimeMillis,
|
|
248
248
|
join,
|
|
249
249
|
interrupt,
|
|
250
250
|
unbounded,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
unbounded2,
|
|
253
253
|
offer,
|
|
254
254
|
makeUnsafe3,
|
|
255
|
-
|
|
255
|
+
make11,
|
|
256
256
|
fromQueue,
|
|
257
257
|
fromPubSub,
|
|
258
258
|
map2,
|
|
@@ -283,7 +283,7 @@ import {
|
|
|
283
283
|
writeSrtSettings2,
|
|
284
284
|
srtStepArgv2,
|
|
285
285
|
srtArgv2
|
|
286
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-xb70ys3n.js";
|
|
287
287
|
import {
|
|
288
288
|
writeAgentEnvironmentConfigFile2,
|
|
289
289
|
readManifestSkillPaths2,
|
|
@@ -299,8 +299,8 @@ import {
|
|
|
299
299
|
applyAgentEnvironmentMaterialization2,
|
|
300
300
|
isPathWithin2,
|
|
301
301
|
skillIdentity2
|
|
302
|
-
} from "./chunk-
|
|
303
|
-
import"./chunk-
|
|
302
|
+
} from "./chunk-myjfc5nh.js";
|
|
303
|
+
import"./chunk-bk31f16e.js";
|
|
304
304
|
import {
|
|
305
305
|
egressAllowed,
|
|
306
306
|
writeSecretRegistry,
|
|
@@ -310,7 +310,7 @@ import {
|
|
|
310
310
|
secretFilter2,
|
|
311
311
|
opaqueTunnelRefusal2,
|
|
312
312
|
isOpaqueConnectReason2
|
|
313
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-62565d52.js";
|
|
314
314
|
import {
|
|
315
315
|
sliceBytes2,
|
|
316
316
|
maxLineBytes2,
|
|
@@ -318,23 +318,23 @@ import {
|
|
|
318
318
|
decodedOption2,
|
|
319
319
|
decoded2,
|
|
320
320
|
readOpencode2
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-e8zm8z3a.js";
|
|
322
322
|
import {
|
|
323
323
|
uploadRunFile,
|
|
324
324
|
programLease,
|
|
325
325
|
rpcRunFiles,
|
|
326
326
|
programHostsEnv,
|
|
327
327
|
undeclaredHostsEnv
|
|
328
|
-
} from "./chunk-
|
|
329
|
-
import"./chunk-
|
|
328
|
+
} from "./chunk-m0yvvg6r.js";
|
|
329
|
+
import"./chunk-fhgfsets.js";
|
|
330
330
|
import {
|
|
331
331
|
nextInt
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-76ctrqm6.js";
|
|
333
333
|
import {
|
|
334
334
|
ChildProcessSpawner,
|
|
335
335
|
make3
|
|
336
|
-
} from "./chunk-
|
|
337
|
-
import"./chunk-
|
|
336
|
+
} from "./chunk-98sg1yyd.js";
|
|
337
|
+
import"./chunk-11pnta38.js";
|
|
338
338
|
|
|
339
339
|
// packages/core/src/sync-kit.ts
|
|
340
340
|
import { createHash } from "crypto";
|
|
@@ -6573,7 +6573,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
6573
6573
|
return {
|
|
6574
6574
|
request: (method, params) => gen(function* () {
|
|
6575
6575
|
const id = ++lastId;
|
|
6576
|
-
const deferred = yield*
|
|
6576
|
+
const deferred = yield* make16();
|
|
6577
6577
|
pending.set(id, deferred);
|
|
6578
6578
|
yield* send({ id, method, params });
|
|
6579
6579
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -6716,7 +6716,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
|
6716
6716
|
const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
|
|
6717
6717
|
extendEnv: true,
|
|
6718
6718
|
env: mcp.env,
|
|
6719
|
-
stdin: { stream:
|
|
6719
|
+
stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
6720
6720
|
stderr: "ignore"
|
|
6721
6721
|
}));
|
|
6722
6722
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -6790,7 +6790,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
6790
6790
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
6791
6791
|
const spawner = yield* ChildProcessSpawner;
|
|
6792
6792
|
const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
|
|
6793
|
-
stdin:
|
|
6793
|
+
stdin: make11(new TextEncoder().encode(stdin)),
|
|
6794
6794
|
stdout: "inherit",
|
|
6795
6795
|
stderr: "inherit",
|
|
6796
6796
|
extendEnv: false,
|