@kitman-sh/cli 0.29.0 → 0.30.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-y6petreh.js → chunk-0mg7k9b4.js} +115 -115
- package/dist/{chunk-eshk0da5.js → chunk-1j38xtvp.js} +2 -2
- package/dist/{chunk-wqdxszpm.js → chunk-39kjyh2y.js} +12 -12
- package/dist/{chunk-18x6rmkq.js → chunk-3xg9zbmy.js} +5 -5
- package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-sm340tvm.js → chunk-63cyj9dh.js} +17 -17
- package/dist/{chunk-q1medqp5.js → chunk-7j1kf6sa.js} +6 -6
- package/dist/{chunk-4tdk1w0k.js → chunk-bv4gcq1h.js} +7 -7
- package/dist/{chunk-8andwyqa.js → chunk-cehbrs1y.js} +5 -5
- package/dist/{chunk-cm2sr223.js → chunk-chxtmsns.js} +23 -23
- package/dist/{chunk-89eskdmq.js → chunk-d4h1p51s.js} +22 -22
- package/dist/{chunk-j021bman.js → chunk-gap0vmj7.js} +60 -14
- package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
- package/dist/{chunk-fyjet273.js → chunk-js64y97w.js} +4 -4
- package/dist/{chunk-f9fhdprs.js → chunk-msn6rrx9.js} +4 -4
- package/dist/{chunk-e491q405.js → chunk-my92qn4x.js} +7 -7
- package/dist/{chunk-cbkj3km5.js → chunk-r7m32p2j.js} +1 -1
- package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-pyjx5q5s.js → chunk-sw0dadq5.js} +1 -1
- package/dist/{chunk-vshy6fm5.js → chunk-tbmht2qb.js} +7 -7
- package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-1yyq4nh2.js → chunk-wtea9nbk.js} +24 -24
- package/dist/{chunk-9zxzmsmm.js → chunk-yaa3gkpx.js} +4 -4
- package/dist/{chunk-801jtbdq.js → chunk-yr7np5eb.js} +3 -3
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-63cyj9dh.js";
|
|
19
|
+
import"./chunk-h2f26xbd.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Path,
|
|
7
7
|
withDefault,
|
|
8
8
|
String2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-63cyj9dh.js";
|
|
10
10
|
import {
|
|
11
11
|
isString,
|
|
12
12
|
isObject,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
toCodecJson,
|
|
44
44
|
Json,
|
|
45
45
|
encodePrettyJsonString
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-h2f26xbd.js";
|
|
47
47
|
import {
|
|
48
48
|
SecureRandom,
|
|
49
49
|
layerWebCrypto,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
KitDeclarations,
|
|
61
61
|
kitmanMcpServer,
|
|
62
62
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-0mg7k9b4.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-yr7np5eb.js";
|
|
68
68
|
import {
|
|
69
69
|
stepDefinedTwice,
|
|
70
70
|
hostSteps,
|
|
71
71
|
exports_activities,
|
|
72
72
|
describeFlag,
|
|
73
73
|
Described
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import"./chunk-
|
|
76
|
-
import"./chunk-
|
|
74
|
+
} from "./chunk-3xg9zbmy.js";
|
|
75
|
+
import"./chunk-bv4gcq1h.js";
|
|
76
|
+
import"./chunk-tsx0347c.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
79
|
+
make3
|
|
80
|
+
} from "./chunk-gap0vmj7.js";
|
|
81
|
+
import"./chunk-cehbrs1y.js";
|
|
82
|
+
import"./chunk-4qjfn1sa.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
|
@@ -3891,7 +3891,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
3891
3891
|
}));
|
|
3892
3892
|
var run = (command, args, cwd) => gen(function* () {
|
|
3893
3893
|
const spawner = yield* ChildProcessSpawner;
|
|
3894
|
-
const handle = yield* spawner.spawn(
|
|
3894
|
+
const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
|
|
3895
3895
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
3896
3896
|
mkString(decodeText(handle.stdout)),
|
|
3897
3897
|
mkString(decodeText(handle.stderr)),
|
|
@@ -138,12 +138,12 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-h2f26xbd.js";
|
|
142
142
|
import {
|
|
143
143
|
getCurrent,
|
|
144
144
|
runForEach,
|
|
145
145
|
FileSystem
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-63cyj9dh.js";
|
|
147
147
|
import {
|
|
148
148
|
currentTimeMillis,
|
|
149
149
|
WebCrypto,
|
|
@@ -181,18 +181,18 @@ import {
|
|
|
181
181
|
StepManifest,
|
|
182
182
|
KitSetup,
|
|
183
183
|
RunnerRpcError
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-0mg7k9b4.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-tsx0347c.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-4qjfn1sa.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
String4,
|
|
204
204
|
toCodecStringTree,
|
|
205
205
|
encodeUnknownJsonStringSync
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-h2f26xbd.js";
|
|
207
207
|
|
|
208
208
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
209
209
|
var headUnsafe = (self) => {
|
|
@@ -1140,7 +1140,7 @@ var MutableRefProto = {
|
|
|
1140
1140
|
};
|
|
1141
1141
|
}
|
|
1142
1142
|
};
|
|
1143
|
-
var
|
|
1143
|
+
var make8 = (value) => {
|
|
1144
1144
|
const ref = Object.create(MutableRefProto);
|
|
1145
1145
|
ref.current = value;
|
|
1146
1146
|
return ref;
|
|
@@ -1301,7 +1301,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1301
1301
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1302
1302
|
var TypeId3 = "~effect/PubSub";
|
|
1303
1303
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1304
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1304
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1305
1305
|
var unbounded = (options) => make5({
|
|
1306
1306
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1307
1307
|
strategy: () => new DroppingStrategy
|
|
@@ -1396,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1396
1396
|
subscribers.delete(subscription);
|
|
1397
1397
|
}
|
|
1398
1398
|
};
|
|
1399
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1399
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1400
1400
|
class UnboundedPubSub {
|
|
1401
1401
|
publisherHead = {
|
|
1402
1402
|
value: AbsentValue,
|
|
@@ -1813,7 +1813,7 @@ var QueueProto = {
|
|
|
1813
1813
|
};
|
|
1814
1814
|
}
|
|
1815
1815
|
};
|
|
1816
|
-
var
|
|
1816
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1817
1817
|
const self = Object.create(QueueProto);
|
|
1818
1818
|
self.dispatcher = fiber.currentDispatcher;
|
|
1819
1819
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1828,14 +1828,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1828
1828
|
};
|
|
1829
1829
|
return succeed2(self);
|
|
1830
1830
|
});
|
|
1831
|
-
var bounded = (capacity) =>
|
|
1831
|
+
var bounded = (capacity) => make9({
|
|
1832
1832
|
capacity
|
|
1833
1833
|
});
|
|
1834
|
-
var sliding = (capacity) =>
|
|
1834
|
+
var sliding = (capacity) => make9({
|
|
1835
1835
|
capacity,
|
|
1836
1836
|
strategy: "sliding"
|
|
1837
1837
|
});
|
|
1838
|
-
var unbounded2 = () =>
|
|
1838
|
+
var unbounded2 = () => make9();
|
|
1839
1839
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1840
1840
|
var offerUnsafe = (self, message) => {
|
|
1841
1841
|
if (self.state._tag !== "Open") {
|
|
@@ -2261,7 +2261,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2261
2261
|
return onError(pull, onCause);
|
|
2262
2262
|
}));
|
|
2263
2263
|
var toTransform = (channel) => channel.transform;
|
|
2264
|
-
var asyncQueue = (scope, f, options) =>
|
|
2264
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2265
2265
|
capacity: options?.bufferSize,
|
|
2266
2266
|
strategy: options?.strategy
|
|
2267
2267
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2302,7 +2302,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2302
2302
|
}));
|
|
2303
2303
|
var readableStreamToPullUnsafe = (options) => {
|
|
2304
2304
|
const reader = options.readable.getReader();
|
|
2305
|
-
const exit = options.exit ??
|
|
2305
|
+
const exit = options.exit ?? make8(undefined);
|
|
2306
2306
|
const pull = suspend3(() => {
|
|
2307
2307
|
if (exit.current)
|
|
2308
2308
|
return exit.current;
|
|
@@ -2956,7 +2956,7 @@ var release = (self, state) => {
|
|
|
2956
2956
|
};
|
|
2957
2957
|
|
|
2958
2958
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2959
|
-
var
|
|
2959
|
+
var make10 = make6;
|
|
2960
2960
|
var get3 = get2;
|
|
2961
2961
|
|
|
2962
2962
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2968,7 +2968,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2968
2968
|
var toChannel2 = (stream) => stream.channel;
|
|
2969
2969
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2970
2970
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2971
|
-
var
|
|
2971
|
+
var make11 = (...values) => fromArray2(values);
|
|
2972
2972
|
var suspend = (stream) => {
|
|
2973
2973
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2974
2974
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3168,7 +3168,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3168
3168
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3169
3169
|
var TypeId10 = "~effect/FileSystem";
|
|
3170
3170
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3171
|
-
var
|
|
3171
|
+
var make12 = (impl) => FileSystem.of({
|
|
3172
3172
|
...impl,
|
|
3173
3173
|
[TypeId10]: TypeId10,
|
|
3174
3174
|
glob: make2(impl),
|
|
@@ -3228,7 +3228,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3228
3228
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3229
3229
|
var TypeId11 = "~effect/Path";
|
|
3230
3230
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3231
|
-
var
|
|
3231
|
+
var make13 = (impl) => Path.of({
|
|
3232
3232
|
...impl,
|
|
3233
3233
|
[TypeId11]: TypeId11,
|
|
3234
3234
|
resolveWithin(root, input) {
|
|
@@ -3303,7 +3303,7 @@ function makeProvider(load, mapInput) {
|
|
|
3303
3303
|
function makeSource(get, transform) {
|
|
3304
3304
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3305
3305
|
}
|
|
3306
|
-
function
|
|
3306
|
+
function make7(get) {
|
|
3307
3307
|
return makeSource(get, identityPath);
|
|
3308
3308
|
}
|
|
3309
3309
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3312,7 +3312,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3312
3312
|
function fromEnvRecord(env, options) {
|
|
3313
3313
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3314
3314
|
const trie = buildEnvTrie(env);
|
|
3315
|
-
return
|
|
3315
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3316
3316
|
}
|
|
3317
3317
|
function fromEnv(options) {
|
|
3318
3318
|
const env = options?.env ?? {
|
|
@@ -3644,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3644
3644
|
...argv
|
|
3645
3645
|
];
|
|
3646
3646
|
|
|
3647
|
-
export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3647
|
+
export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -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-bv4gcq1h.js";
|
|
8
|
+
import"./chunk-cehbrs1y.js";
|
|
9
|
+
import"./chunk-0mg7k9b4.js";
|
|
10
|
+
import"./chunk-4qjfn1sa.js";
|
|
11
|
+
import"./chunk-63cyj9dh.js";
|
|
12
|
+
import"./chunk-h2f26xbd.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-h2f26xbd.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-63cyj9dh.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-0mg7k9b4.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-cehbrs1y.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-h2f26xbd.js";
|
|
100
100
|
import {
|
|
101
101
|
interrupt,
|
|
102
102
|
getCurrent,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-63cyj9dh.js";
|
|
112
112
|
import {
|
|
113
113
|
Clock,
|
|
114
114
|
empty,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-0mg7k9b4.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")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -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,7 +172,7 @@ import {
|
|
|
172
172
|
decodeJsonStringSync,
|
|
173
173
|
encodeUnknownJsonStringSync,
|
|
174
174
|
storable
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-h2f26xbd.js";
|
|
176
176
|
import {
|
|
177
177
|
join,
|
|
178
178
|
interrupt,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
unbounded2,
|
|
182
182
|
offer,
|
|
183
183
|
makeUnsafe3,
|
|
184
|
-
|
|
184
|
+
make11,
|
|
185
185
|
fromQueue,
|
|
186
186
|
fromPubSub,
|
|
187
187
|
map2,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
writeSrtSettings2,
|
|
219
219
|
srtStepArgv2,
|
|
220
220
|
srtArgv2
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-63cyj9dh.js";
|
|
222
222
|
import {
|
|
223
223
|
currentTimeMillis,
|
|
224
224
|
SecureRandom,
|
|
@@ -307,7 +307,7 @@ import {
|
|
|
307
307
|
checkServicesFile,
|
|
308
308
|
checkServices,
|
|
309
309
|
serviceChecks
|
|
310
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-0mg7k9b4.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-yaa3gkpx.js";
|
|
327
|
+
import"./chunk-yr7np5eb.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-my92qn4x.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-3xg9zbmy.js";
|
|
353
|
+
import"./chunk-bv4gcq1h.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
|
-
|
|
361
|
-
} from "./chunk-
|
|
362
|
-
import"./chunk-
|
|
360
|
+
make3
|
|
361
|
+
} from "./chunk-gap0vmj7.js";
|
|
362
|
+
import"./chunk-cehbrs1y.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";
|
|
@@ -8032,7 +8032,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
8032
8032
|
const input = yield* unbounded2();
|
|
8033
8033
|
const pending = new Map;
|
|
8034
8034
|
let lastId = 0;
|
|
8035
|
-
const handle = yield* spawner.spawn(
|
|
8035
|
+
const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
|
|
8036
8036
|
cwd: env.home,
|
|
8037
8037
|
extendEnv: true,
|
|
8038
8038
|
env: { HOME: env.home, CODEX_HOME: env.codexHome },
|
|
@@ -8055,7 +8055,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
8055
8055
|
return {
|
|
8056
8056
|
request: (method, params) => gen(function* () {
|
|
8057
8057
|
const id = ++lastId;
|
|
8058
|
-
const deferred = yield*
|
|
8058
|
+
const deferred = yield* make16();
|
|
8059
8059
|
pending.set(id, deferred);
|
|
8060
8060
|
yield* send({ id, method, params });
|
|
8061
8061
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -8195,10 +8195,10 @@ var handshake = [
|
|
|
8195
8195
|
`).join("");
|
|
8196
8196
|
var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
8197
8197
|
const spawner = yield* ChildProcessSpawner;
|
|
8198
|
-
const server = yield* spawner.spawn(
|
|
8198
|
+
const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
|
|
8199
8199
|
extendEnv: true,
|
|
8200
8200
|
env: mcp.env,
|
|
8201
|
-
stdin: { stream:
|
|
8201
|
+
stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
8202
8202
|
stderr: "ignore"
|
|
8203
8203
|
}));
|
|
8204
8204
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -8271,8 +8271,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
8271
8271
|
};
|
|
8272
8272
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
8273
8273
|
const spawner = yield* ChildProcessSpawner;
|
|
8274
|
-
const handle = yield* spawner.spawn(
|
|
8275
|
-
stdin:
|
|
8274
|
+
const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
|
|
8275
|
+
stdin: make11(new TextEncoder().encode(stdin)),
|
|
8276
8276
|
stdout: "inherit",
|
|
8277
8277
|
stderr: "inherit",
|
|
8278
8278
|
extendEnv: false,
|