@kitman-sh/cli 0.28.0 → 0.29.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-ja48xvcs.js → chunk-18x6rmkq.js} +9 -9
- package/dist/{chunk-tsx0347c.js → chunk-1hgsf81a.js} +1 -1
- package/dist/{chunk-egzbfz18.js → chunk-1yyq4nh2.js} +24 -24
- package/dist/{chunk-samxkpbz.js → chunk-4qrb09w4.js} +3 -3
- package/dist/{chunk-t6ynnbcb.js → chunk-4tdk1w0k.js} +7 -7
- package/dist/{chunk-h2f26xbd.js → chunk-61dmxexa.js} +70 -28
- package/dist/{chunk-1vnvmeqr.js → chunk-801jtbdq.js} +3 -3
- package/dist/{chunk-zty7be4e.js → chunk-89eskdmq.js} +22 -22
- package/dist/{chunk-vv7zg8rb.js → chunk-8andwyqa.js} +5 -5
- package/dist/{chunk-zysde2fp.js → chunk-9zxzmsmm.js} +9 -9
- package/dist/{chunk-sgtt81qc.js → chunk-cbkj3km5.js} +1 -1
- package/dist/{chunk-jhby2e0v.js → chunk-cm2sr223.js} +74 -74
- package/dist/{chunk-7re3n1ze.js → chunk-e491q405.js} +10 -10
- package/dist/{chunk-8t2wcrvv.js → chunk-eshk0da5.js} +2 -2
- package/dist/{chunk-220vzyz9.js → chunk-f9fhdprs.js} +4 -4
- package/dist/{chunk-npfdbssf.js → chunk-fyjet273.js} +4 -4
- package/dist/{chunk-bsgvmq34.js → chunk-j021bman.js} +14 -60
- package/dist/{chunk-w4mr1bhh.js → chunk-pyjx5q5s.js} +1 -1
- package/dist/{chunk-ks4q040v.js → chunk-q1medqp5.js} +6 -6
- package/dist/{chunk-vz38kngm.js → chunk-q8e58p57.js} +2 -2
- package/dist/{chunk-4qjfn1sa.js → chunk-rbpn35g5.js} +1 -1
- package/dist/{chunk-j4b1yvcd.js → chunk-sm340tvm.js} +26 -17
- package/dist/{chunk-z05pkzhf.js → chunk-vshy6fm5.js} +10 -10
- package/dist/{chunk-fpmmafh8.js → chunk-wqdxszpm.js} +19 -19
- package/dist/{chunk-xppw33hz.js → chunk-y6petreh.js} +116 -124
- package/dist/{chunk-5kqt4bqp.js → chunk-znhjs0t6.js} +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
isString,
|
|
4
|
-
hasProperty,
|
|
5
|
-
symbol,
|
|
6
|
-
hash,
|
|
7
|
-
symbol2,
|
|
8
|
-
equals,
|
|
9
3
|
BaseProto,
|
|
10
|
-
PipeInspectableProto,
|
|
11
4
|
Prototype,
|
|
12
5
|
some,
|
|
13
6
|
Service2,
|
|
@@ -21,8 +14,11 @@ import {
|
|
|
21
14
|
andThen2,
|
|
22
15
|
map9,
|
|
23
16
|
raceFirst,
|
|
24
|
-
scoped
|
|
25
|
-
|
|
17
|
+
scoped,
|
|
18
|
+
isRedacted,
|
|
19
|
+
make16,
|
|
20
|
+
value
|
|
21
|
+
} from "./chunk-61dmxexa.js";
|
|
26
22
|
import {
|
|
27
23
|
unwrap,
|
|
28
24
|
drainFork,
|
|
@@ -31,49 +27,7 @@ import {
|
|
|
31
27
|
runCollect,
|
|
32
28
|
runDrain,
|
|
33
29
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
|
|
36
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
38
|
-
var value2 = (self) => {
|
|
39
|
-
if (redactedRegistry.has(self)) {
|
|
40
|
-
return redactedRegistry.get(self);
|
|
41
|
-
} else {
|
|
42
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
47
|
-
var TypeId = "~effect/Redacted";
|
|
48
|
-
var isRedacted = (u) => hasProperty(u, TypeId);
|
|
49
|
-
var make = (value, options) => {
|
|
50
|
-
const self = Object.create(Proto);
|
|
51
|
-
if (options?.label) {
|
|
52
|
-
self.label = options.label;
|
|
53
|
-
}
|
|
54
|
-
redactedRegistry.set(self, value);
|
|
55
|
-
return self;
|
|
56
|
-
};
|
|
57
|
-
var Proto = {
|
|
58
|
-
[TypeId]: {
|
|
59
|
-
_A: (_) => _
|
|
60
|
-
},
|
|
61
|
-
label: undefined,
|
|
62
|
-
...PipeInspectableProto,
|
|
63
|
-
toJSON() {
|
|
64
|
-
return this.toString();
|
|
65
|
-
},
|
|
66
|
-
toString() {
|
|
67
|
-
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
68
|
-
},
|
|
69
|
-
[symbol]() {
|
|
70
|
-
return hash(redactedRegistry.get(this));
|
|
71
|
-
},
|
|
72
|
-
[symbol2](that) {
|
|
73
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
var value = value2;
|
|
30
|
+
} from "./chunk-sm340tvm.js";
|
|
77
31
|
|
|
78
32
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
79
33
|
function nominal() {
|
|
@@ -101,7 +55,7 @@ var HandleProto = {
|
|
|
101
55
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
102
56
|
...params
|
|
103
57
|
}, HandleProto);
|
|
104
|
-
var
|
|
58
|
+
var make = (spawn) => {
|
|
105
59
|
const streamString = (command, options) => spawn(command).pipe(map9((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
106
60
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
107
61
|
return ChildProcessSpawner.of({
|
|
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
|
|
|
222
176
|
if (word.length === 0)
|
|
223
177
|
return;
|
|
224
178
|
const value = word.map(unwrap2).join("");
|
|
225
|
-
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ?
|
|
179
|
+
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
|
|
226
180
|
word = [];
|
|
227
181
|
plain = true;
|
|
228
182
|
braceDepth = 0;
|
|
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
|
|
|
312
266
|
};
|
|
313
267
|
|
|
314
268
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
|
|
315
|
-
var
|
|
316
|
-
var
|
|
269
|
+
var TypeId = "~effect/process/ChildProcess";
|
|
270
|
+
var Proto = {
|
|
317
271
|
.../* @__PURE__ */ Prototype({
|
|
318
272
|
label: "Command",
|
|
319
273
|
evaluate(fiber) {
|
|
320
274
|
return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
|
|
321
275
|
}
|
|
322
276
|
}),
|
|
323
|
-
[
|
|
277
|
+
[TypeId]: TypeId
|
|
324
278
|
};
|
|
325
|
-
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(
|
|
279
|
+
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
|
|
326
280
|
_tag: "StandardCommand",
|
|
327
281
|
command,
|
|
328
282
|
args,
|
|
329
283
|
options
|
|
330
284
|
});
|
|
331
|
-
var
|
|
285
|
+
var make2 = function make(...args) {
|
|
332
286
|
if (isTemplateString(args[0])) {
|
|
333
287
|
const [templates, ...expressions] = args;
|
|
334
288
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
|
|
|
386
340
|
}
|
|
387
341
|
return script;
|
|
388
342
|
};
|
|
389
|
-
export {
|
|
343
|
+
export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
|
|
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
|
|
|
2211
2211
|
return page === null ? link : page[1] || "index";
|
|
2212
2212
|
};
|
|
2213
2213
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2214
|
-
var pinnedLink2 = (link, version = "0.
|
|
2214
|
+
var pinnedLink2 = (link, version = "0.29.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2215
2215
|
var pageOf = (path) => path.split("#")[0];
|
|
2216
2216
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2217
2217
|
function excerpt(text, queryTerms) {
|
|
@@ -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-4tdk1w0k.js";
|
|
8
|
+
import"./chunk-8andwyqa.js";
|
|
9
|
+
import"./chunk-y6petreh.js";
|
|
10
|
+
import"./chunk-rbpn35g5.js";
|
|
11
|
+
import"./chunk-sm340tvm.js";
|
|
12
|
+
import"./chunk-61dmxexa.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-61dmxexa.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-rbpn35g5.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
String4,
|
|
204
204
|
toCodecStringTree,
|
|
205
205
|
encodeUnknownJsonStringSync
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-61dmxexa.js";
|
|
207
207
|
|
|
208
208
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
209
209
|
var headUnsafe = (self) => {
|
|
@@ -252,6 +252,15 @@ var makeEquivalence = (equivalence) => {
|
|
|
252
252
|
return (self, that) => is(self, that) && is(that, self);
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
256
|
+
var BigInt2 = globalThis.BigInt;
|
|
257
|
+
var toNumber = (b) => {
|
|
258
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
259
|
+
return none();
|
|
260
|
+
}
|
|
261
|
+
return some(Number(b));
|
|
262
|
+
};
|
|
263
|
+
|
|
255
264
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
256
265
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
257
266
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -1131,7 +1140,7 @@ var MutableRefProto = {
|
|
|
1131
1140
|
};
|
|
1132
1141
|
}
|
|
1133
1142
|
};
|
|
1134
|
-
var
|
|
1143
|
+
var make7 = (value) => {
|
|
1135
1144
|
const ref = Object.create(MutableRefProto);
|
|
1136
1145
|
ref.current = value;
|
|
1137
1146
|
return ref;
|
|
@@ -1292,7 +1301,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1292
1301
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1293
1302
|
var TypeId3 = "~effect/PubSub";
|
|
1294
1303
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1295
|
-
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), make7(false), options.strategy(), make7(none())));
|
|
1296
1305
|
var unbounded = (options) => make5({
|
|
1297
1306
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1298
1307
|
strategy: () => new DroppingStrategy
|
|
@@ -1387,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1387
1396
|
subscribers.delete(subscription);
|
|
1388
1397
|
}
|
|
1389
1398
|
};
|
|
1390
|
-
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), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1391
1400
|
class UnboundedPubSub {
|
|
1392
1401
|
publisherHead = {
|
|
1393
1402
|
value: AbsentValue,
|
|
@@ -1804,7 +1813,7 @@ var QueueProto = {
|
|
|
1804
1813
|
};
|
|
1805
1814
|
}
|
|
1806
1815
|
};
|
|
1807
|
-
var
|
|
1816
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1808
1817
|
const self = Object.create(QueueProto);
|
|
1809
1818
|
self.dispatcher = fiber.currentDispatcher;
|
|
1810
1819
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1819,14 +1828,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1819
1828
|
};
|
|
1820
1829
|
return succeed2(self);
|
|
1821
1830
|
});
|
|
1822
|
-
var bounded = (capacity) =>
|
|
1831
|
+
var bounded = (capacity) => make8({
|
|
1823
1832
|
capacity
|
|
1824
1833
|
});
|
|
1825
|
-
var sliding = (capacity) =>
|
|
1834
|
+
var sliding = (capacity) => make8({
|
|
1826
1835
|
capacity,
|
|
1827
1836
|
strategy: "sliding"
|
|
1828
1837
|
});
|
|
1829
|
-
var unbounded2 = () =>
|
|
1838
|
+
var unbounded2 = () => make8();
|
|
1830
1839
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1831
1840
|
var offerUnsafe = (self, message) => {
|
|
1832
1841
|
if (self.state._tag !== "Open") {
|
|
@@ -2252,7 +2261,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2252
2261
|
return onError(pull, onCause);
|
|
2253
2262
|
}));
|
|
2254
2263
|
var toTransform = (channel) => channel.transform;
|
|
2255
|
-
var asyncQueue = (scope, f, options) =>
|
|
2264
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2256
2265
|
capacity: options?.bufferSize,
|
|
2257
2266
|
strategy: options?.strategy
|
|
2258
2267
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2293,7 +2302,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2293
2302
|
}));
|
|
2294
2303
|
var readableStreamToPullUnsafe = (options) => {
|
|
2295
2304
|
const reader = options.readable.getReader();
|
|
2296
|
-
const exit = options.exit ??
|
|
2305
|
+
const exit = options.exit ?? make7(undefined);
|
|
2297
2306
|
const pull = suspend3(() => {
|
|
2298
2307
|
if (exit.current)
|
|
2299
2308
|
return exit.current;
|
|
@@ -2947,7 +2956,7 @@ var release = (self, state) => {
|
|
|
2947
2956
|
};
|
|
2948
2957
|
|
|
2949
2958
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2950
|
-
var
|
|
2959
|
+
var make9 = make6;
|
|
2951
2960
|
var get3 = get2;
|
|
2952
2961
|
|
|
2953
2962
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2959,7 +2968,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2959
2968
|
var toChannel2 = (stream) => stream.channel;
|
|
2960
2969
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2961
2970
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2962
|
-
var
|
|
2971
|
+
var make10 = (...values) => fromArray2(values);
|
|
2963
2972
|
var suspend = (stream) => {
|
|
2964
2973
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2965
2974
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3159,7 +3168,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3159
3168
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3160
3169
|
var TypeId10 = "~effect/FileSystem";
|
|
3161
3170
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3162
|
-
var
|
|
3171
|
+
var make11 = (impl) => FileSystem.of({
|
|
3163
3172
|
...impl,
|
|
3164
3173
|
[TypeId10]: TypeId10,
|
|
3165
3174
|
glob: make2(impl),
|
|
@@ -3219,7 +3228,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3219
3228
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3220
3229
|
var TypeId11 = "~effect/Path";
|
|
3221
3230
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3222
|
-
var
|
|
3231
|
+
var make12 = (impl) => Path.of({
|
|
3223
3232
|
...impl,
|
|
3224
3233
|
[TypeId11]: TypeId11,
|
|
3225
3234
|
resolveWithin(root, input) {
|
|
@@ -3294,7 +3303,7 @@ function makeProvider(load, mapInput) {
|
|
|
3294
3303
|
function makeSource(get, transform) {
|
|
3295
3304
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3296
3305
|
}
|
|
3297
|
-
function
|
|
3306
|
+
function make13(get) {
|
|
3298
3307
|
return makeSource(get, identityPath);
|
|
3299
3308
|
}
|
|
3300
3309
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3303,7 +3312,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3303
3312
|
function fromEnvRecord(env, options) {
|
|
3304
3313
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3305
3314
|
const trie = buildEnvTrie(env);
|
|
3306
|
-
return
|
|
3315
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3307
3316
|
}
|
|
3308
3317
|
function fromEnv(options) {
|
|
3309
3318
|
const env = options?.env ?? {
|
|
@@ -3635,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3635
3644
|
...argv
|
|
3636
3645
|
];
|
|
3637
3646
|
|
|
3638
|
-
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3647
|
+
export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty2, make10, 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, make11, FileTypeId, WatchBackend, Path, make12, 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 };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path
|
|
5
|
+
} from "./chunk-sm340tvm.js";
|
|
2
6
|
import {
|
|
3
7
|
isObject,
|
|
4
8
|
isUint8Array,
|
|
@@ -13,17 +17,13 @@ import {
|
|
|
13
17
|
isJsonObject,
|
|
14
18
|
decodeJsonString,
|
|
15
19
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
FileSystem,
|
|
19
|
-
Path
|
|
20
|
-
} from "./chunk-j4b1yvcd.js";
|
|
20
|
+
} from "./chunk-61dmxexa.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-9zxzmsmm.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-y6petreh.js";
|
|
35
|
+
import"./chunk-801jtbdq.js";
|
|
36
|
+
import"./chunk-j021bman.js";
|
|
37
|
+
import"./chunk-rbpn35g5.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-sm340tvm.js";
|
|
2
10
|
import {
|
|
3
11
|
isString,
|
|
4
12
|
isObject,
|
|
@@ -35,15 +43,7 @@ import {
|
|
|
35
43
|
toCodecJson,
|
|
36
44
|
Json,
|
|
37
45
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
decodeText,
|
|
41
|
-
mkString,
|
|
42
|
-
FileSystem,
|
|
43
|
-
Path,
|
|
44
|
-
withDefault,
|
|
45
|
-
String2
|
|
46
|
-
} from "./chunk-j4b1yvcd.js";
|
|
46
|
+
} from "./chunk-61dmxexa.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-y6petreh.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-801jtbdq.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-18x6rmkq.js";
|
|
75
|
+
import"./chunk-4tdk1w0k.js";
|
|
76
|
+
import"./chunk-1hgsf81a.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
79
|
+
make2
|
|
80
|
+
} from "./chunk-j021bman.js";
|
|
81
|
+
import"./chunk-8andwyqa.js";
|
|
82
|
+
import"./chunk-rbpn35g5.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(make2(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)),
|