@kitman-sh/cli 0.44.0 → 0.45.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-8a7337s1.js → chunk-04wqa07j.js} +1 -1
- package/dist/{chunk-d0rx9esz.js → chunk-0dfg674z.js} +7 -7
- package/dist/{chunk-9h16pekj.js → chunk-4vxbxjf8.js} +1 -1
- package/dist/{chunk-dj873p0e.js → chunk-5gbt1vhm.js} +10 -10
- package/dist/{chunk-1c4wk9dr.js → chunk-5pjbxhxy.js} +3 -3
- package/dist/{chunk-3mbp8cse.js → chunk-5smh4dp2.js} +17 -26
- package/dist/{chunk-1k6z8q79.js → chunk-69y8j7fs.js} +125 -116
- package/dist/{chunk-wh3pjr9r.js → chunk-8gkrs473.js} +13 -13
- package/dist/{chunk-5ccz7ghp.js → chunk-9qvgbp6k.js} +23 -23
- package/dist/{chunk-k2re3tp5.js → chunk-9ykh05hz.js} +1 -1
- package/dist/{chunk-ncp13gyf.js → chunk-a71b15k3.js} +2 -2
- package/dist/{chunk-d2tpz1yp.js → chunk-e3dv8hzy.js} +1 -1
- package/dist/{chunk-hmctc4eq.js → chunk-es6rnmyw.js} +3 -3
- package/dist/{chunk-wkg1v0kd.js → chunk-f957cxrx.js} +5 -5
- package/dist/{chunk-zvmdyf3v.js → chunk-fmvdwf5h.js} +24 -24
- package/dist/{chunk-134jdvs6.js → chunk-fqh4pj6b.js} +14 -60
- package/dist/{chunk-dre4f6s4.js → chunk-g26y214g.js} +9 -9
- package/dist/{chunk-x0ma41ys.js → chunk-k462v2v7.js} +70 -28
- package/dist/{chunk-j60f2tr1.js → chunk-k7eh8tac.js} +4 -4
- package/dist/{chunk-zkvrxna8.js → chunk-n3jpxd14.js} +2 -2
- package/dist/{chunk-7rj9d0rp.js → chunk-qzwsh96c.js} +2 -2
- package/dist/{chunk-dp6v658s.js → chunk-tfwgeqx5.js} +4 -4
- package/dist/{chunk-gw0pc35c.js → chunk-tqv14b4c.js} +19 -19
- package/dist/{chunk-qkwkxn4d.js → chunk-tx9aey19.js} +74 -74
- package/dist/{chunk-wvnsqt17.js → chunk-yyz9xrc1.js} +6 -6
- package/dist/{chunk-3zy2vbp0.js → chunk-zx86g3dw.js} +10 -10
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-k462v2v7.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5smh4dp2.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-69y8j7fs.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-f957cxrx.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* make3(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* make3(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -138,13 +138,7 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import {
|
|
143
|
-
currentTimeMillis,
|
|
144
|
-
getCurrent,
|
|
145
|
-
runForEach,
|
|
146
|
-
FileSystem
|
|
147
|
-
} from "./chunk-3mbp8cse.js";
|
|
141
|
+
} from "./chunk-k462v2v7.js";
|
|
148
142
|
import {
|
|
149
143
|
WebCrypto,
|
|
150
144
|
makeUnsafe,
|
|
@@ -181,18 +175,24 @@ import {
|
|
|
181
175
|
StepManifest,
|
|
182
176
|
KitSetup,
|
|
183
177
|
RunnerRpcError
|
|
184
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-69y8j7fs.js";
|
|
179
|
+
import {
|
|
180
|
+
currentTimeMillis,
|
|
181
|
+
getCurrent,
|
|
182
|
+
runForEach,
|
|
183
|
+
FileSystem
|
|
184
|
+
} from "./chunk-5smh4dp2.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-9ykh05hz.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-4vxbxjf8.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-n3jpxd14.js";
|
|
8
|
+
import"./chunk-4vxbxjf8.js";
|
|
9
|
+
import"./chunk-k462v2v7.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
String4,
|
|
207
207
|
toCodecStringTree,
|
|
208
208
|
encodeUnknownJsonStringSync
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-k462v2v7.js";
|
|
210
210
|
|
|
211
211
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
212
212
|
var headUnsafe = (self) => {
|
|
@@ -260,15 +260,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
260
260
|
var Clock = ClockRef;
|
|
261
261
|
var currentTimeMillis = currentTimeMillis2;
|
|
262
262
|
|
|
263
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
264
|
-
var BigInt2 = globalThis.BigInt;
|
|
265
|
-
var toNumber = (b) => {
|
|
266
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
267
|
-
return none();
|
|
268
|
-
}
|
|
269
|
-
return some(Number(b));
|
|
270
|
-
};
|
|
271
|
-
|
|
272
263
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
273
264
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
274
265
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -1149,7 +1140,7 @@ var MutableRefProto = {
|
|
|
1149
1140
|
};
|
|
1150
1141
|
}
|
|
1151
1142
|
};
|
|
1152
|
-
var
|
|
1143
|
+
var make7 = (value) => {
|
|
1153
1144
|
const ref = Object.create(MutableRefProto);
|
|
1154
1145
|
ref.current = value;
|
|
1155
1146
|
return ref;
|
|
@@ -1310,7 +1301,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1310
1301
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1311
1302
|
var TypeId3 = "~effect/PubSub";
|
|
1312
1303
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1313
|
-
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())));
|
|
1314
1305
|
var unbounded = (options) => make5({
|
|
1315
1306
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1316
1307
|
strategy: () => new DroppingStrategy
|
|
@@ -1405,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1405
1396
|
subscribers.delete(subscription);
|
|
1406
1397
|
}
|
|
1407
1398
|
};
|
|
1408
|
-
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);
|
|
1409
1400
|
class UnboundedPubSub {
|
|
1410
1401
|
publisherHead = {
|
|
1411
1402
|
value: AbsentValue,
|
|
@@ -1822,7 +1813,7 @@ var QueueProto = {
|
|
|
1822
1813
|
};
|
|
1823
1814
|
}
|
|
1824
1815
|
};
|
|
1825
|
-
var
|
|
1816
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1826
1817
|
const self = Object.create(QueueProto);
|
|
1827
1818
|
self.dispatcher = fiber.currentDispatcher;
|
|
1828
1819
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1837,14 +1828,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1837
1828
|
};
|
|
1838
1829
|
return succeed2(self);
|
|
1839
1830
|
});
|
|
1840
|
-
var bounded = (capacity) =>
|
|
1831
|
+
var bounded = (capacity) => make8({
|
|
1841
1832
|
capacity
|
|
1842
1833
|
});
|
|
1843
|
-
var sliding = (capacity) =>
|
|
1834
|
+
var sliding = (capacity) => make8({
|
|
1844
1835
|
capacity,
|
|
1845
1836
|
strategy: "sliding"
|
|
1846
1837
|
});
|
|
1847
|
-
var unbounded2 = () =>
|
|
1838
|
+
var unbounded2 = () => make8();
|
|
1848
1839
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1849
1840
|
var offerUnsafe = (self, message) => {
|
|
1850
1841
|
if (self.state._tag !== "Open") {
|
|
@@ -2270,7 +2261,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2270
2261
|
return onError(pull, onCause);
|
|
2271
2262
|
}));
|
|
2272
2263
|
var toTransform = (channel) => channel.transform;
|
|
2273
|
-
var asyncQueue = (scope, f, options) =>
|
|
2264
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2274
2265
|
capacity: options?.bufferSize,
|
|
2275
2266
|
strategy: options?.strategy
|
|
2276
2267
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2311,7 +2302,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2311
2302
|
}));
|
|
2312
2303
|
var readableStreamToPullUnsafe = (options) => {
|
|
2313
2304
|
const reader = options.readable.getReader();
|
|
2314
|
-
const exit = options.exit ??
|
|
2305
|
+
const exit = options.exit ?? make7(undefined);
|
|
2315
2306
|
const pull = suspend3(() => {
|
|
2316
2307
|
if (exit.current)
|
|
2317
2308
|
return exit.current;
|
|
@@ -2972,7 +2963,7 @@ var release = (self, state) => {
|
|
|
2972
2963
|
};
|
|
2973
2964
|
|
|
2974
2965
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2975
|
-
var
|
|
2966
|
+
var make9 = make6;
|
|
2976
2967
|
var get3 = get2;
|
|
2977
2968
|
|
|
2978
2969
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2984,7 +2975,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2984
2975
|
var toChannel2 = (stream) => stream.channel;
|
|
2985
2976
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2986
2977
|
var empty3 = /* @__PURE__ */ fromChannel2(empty);
|
|
2987
|
-
var
|
|
2978
|
+
var make10 = (...values) => fromArray2(values);
|
|
2988
2979
|
var suspend = (stream) => {
|
|
2989
2980
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2990
2981
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3185,7 +3176,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3185
3176
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3186
3177
|
var TypeId10 = "~effect/FileSystem";
|
|
3187
3178
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3188
|
-
var
|
|
3179
|
+
var make11 = (impl) => FileSystem.of({
|
|
3189
3180
|
...impl,
|
|
3190
3181
|
[TypeId10]: TypeId10,
|
|
3191
3182
|
glob: make2(impl),
|
|
@@ -3245,7 +3236,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3245
3236
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3246
3237
|
var TypeId11 = "~effect/Path";
|
|
3247
3238
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3248
|
-
var
|
|
3239
|
+
var make12 = (impl) => Path.of({
|
|
3249
3240
|
...impl,
|
|
3250
3241
|
[TypeId11]: TypeId11,
|
|
3251
3242
|
resolveWithin(root, input) {
|
|
@@ -3320,7 +3311,7 @@ function makeProvider(load, mapInput) {
|
|
|
3320
3311
|
function makeSource(get, transform) {
|
|
3321
3312
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3322
3313
|
}
|
|
3323
|
-
function
|
|
3314
|
+
function make13(get) {
|
|
3324
3315
|
return makeSource(get, identityPath);
|
|
3325
3316
|
}
|
|
3326
3317
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3329,7 +3320,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3329
3320
|
function fromEnvRecord(env, options) {
|
|
3330
3321
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3331
3322
|
const trie = buildEnvTrie(env);
|
|
3332
|
-
return
|
|
3323
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3333
3324
|
}
|
|
3334
3325
|
function fromEnv(options) {
|
|
3335
3326
|
const env = options?.env ?? {
|
|
@@ -3675,4 +3666,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3675
3666
|
...argv
|
|
3676
3667
|
];
|
|
3677
3668
|
|
|
3678
|
-
export { empty2, map, makeEquivalence, Clock, currentTimeMillis,
|
|
3669
|
+
export { empty2, map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, interruptAll, 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, empty3, 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, toPull, 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 };
|