@kitman-sh/cli 0.10.61 → 0.10.63
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-x306t6v1.js → chunk-09jf8588.js} +11 -11
- package/dist/{chunk-qdn9tnav.js → chunk-0fdgam8v.js} +17 -26
- package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-byhwksbq.js → chunk-1z9p4q8b.js} +2 -2
- package/dist/{chunk-769fbeff.js → chunk-5y050gx7.js} +36 -36
- package/dist/{chunk-eyw9a80g.js → chunk-62mqje8y.js} +21 -21
- package/dist/{chunk-wf3ednaj.js → chunk-88257wax.js} +19 -19
- package/dist/{chunk-26hcgbe7.js → chunk-a4798jzf.js} +3 -3
- package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
- package/dist/{chunk-43tv7md8.js → chunk-d8awdfdj.js} +60 -60
- package/dist/{chunk-evgrce0h.js → chunk-e3tv8mv2.js} +5 -5
- package/dist/{chunk-zej59tf2.js → chunk-eawcprsb.js} +60 -14
- package/dist/{chunk-mewtccqf.js → chunk-hvev0dve.js} +11 -11
- package/dist/{chunk-7a5njmab.js → chunk-hxkk42cg.js} +7 -7
- package/dist/{chunk-1vav1vaf.js → chunk-phmma642.js} +7 -7
- package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-ksx5nt4b.js → chunk-rrz0v4fg.js} +5 -5
- package/dist/{chunk-k2bnq58a.js → chunk-sdpjvc1r.js} +115 -107
- package/dist/{chunk-r0s0wvev.js → chunk-smgvtzd2.js} +7 -7
- package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-n7g89pj2.js → chunk-wkccjgwb.js} +4 -4
- package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
- package/dist/{chunk-qdx3wa4y.js → chunk-z0z56a72.js} +9 -9
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
make10,
|
|
4
|
-
runForEach,
|
|
5
|
-
compiled2
|
|
6
|
-
} from "./chunk-qdn9tnav.js";
|
|
7
2
|
import {
|
|
8
3
|
getOrUndefined,
|
|
9
4
|
liftThrowable,
|
|
@@ -27,16 +22,21 @@ import {
|
|
|
27
22
|
NullOr,
|
|
28
23
|
Finite,
|
|
29
24
|
encodeUnknownJsonStringSync
|
|
30
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-d3ksv8y1.js";
|
|
31
26
|
import {
|
|
32
27
|
isNumber,
|
|
33
28
|
isJsonObject,
|
|
34
29
|
isString
|
|
35
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-v01c0k6j.js";
|
|
31
|
+
import {
|
|
32
|
+
make11,
|
|
33
|
+
runForEach,
|
|
34
|
+
compiled2
|
|
35
|
+
} from "./chunk-0fdgam8v.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make3
|
|
39
|
+
} from "./chunk-eawcprsb.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
173
|
-
stdin:
|
|
172
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
173
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
String4,
|
|
200
200
|
toCodecStringTree,
|
|
201
201
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-d3ksv8y1.js";
|
|
203
203
|
|
|
204
204
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
205
|
var headUnsafe = (self) => {
|
|
@@ -248,15 +248,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
248
248
|
return (self, that) => is(self, that) && is(that, self);
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
252
|
-
var BigInt2 = globalThis.BigInt;
|
|
253
|
-
var toNumber = (b) => {
|
|
254
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
255
|
-
return none();
|
|
256
|
-
}
|
|
257
|
-
return some(Number(b));
|
|
258
|
-
};
|
|
259
|
-
|
|
260
251
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
261
252
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
262
253
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -1136,7 +1127,7 @@ var MutableRefProto = {
|
|
|
1136
1127
|
};
|
|
1137
1128
|
}
|
|
1138
1129
|
};
|
|
1139
|
-
var
|
|
1130
|
+
var make8 = (value) => {
|
|
1140
1131
|
const ref = Object.create(MutableRefProto);
|
|
1141
1132
|
ref.current = value;
|
|
1142
1133
|
return ref;
|
|
@@ -1297,7 +1288,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1297
1288
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1298
1289
|
var TypeId3 = "~effect/PubSub";
|
|
1299
1290
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1300
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1291
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1301
1292
|
var unbounded = (options) => make5({
|
|
1302
1293
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1303
1294
|
strategy: () => new DroppingStrategy
|
|
@@ -1392,7 +1383,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1392
1383
|
subscribers.delete(subscription);
|
|
1393
1384
|
}
|
|
1394
1385
|
};
|
|
1395
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1386
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1396
1387
|
class UnboundedPubSub {
|
|
1397
1388
|
publisherHead = {
|
|
1398
1389
|
value: AbsentValue,
|
|
@@ -1809,7 +1800,7 @@ var QueueProto = {
|
|
|
1809
1800
|
};
|
|
1810
1801
|
}
|
|
1811
1802
|
};
|
|
1812
|
-
var
|
|
1803
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1813
1804
|
const self = Object.create(QueueProto);
|
|
1814
1805
|
self.dispatcher = fiber.currentDispatcher;
|
|
1815
1806
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1824,14 +1815,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1824
1815
|
};
|
|
1825
1816
|
return succeed2(self);
|
|
1826
1817
|
});
|
|
1827
|
-
var bounded = (capacity) =>
|
|
1818
|
+
var bounded = (capacity) => make9({
|
|
1828
1819
|
capacity
|
|
1829
1820
|
});
|
|
1830
|
-
var sliding = (capacity) =>
|
|
1821
|
+
var sliding = (capacity) => make9({
|
|
1831
1822
|
capacity,
|
|
1832
1823
|
strategy: "sliding"
|
|
1833
1824
|
});
|
|
1834
|
-
var unbounded2 = () =>
|
|
1825
|
+
var unbounded2 = () => make9();
|
|
1835
1826
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1836
1827
|
var offerUnsafe = (self, message) => {
|
|
1837
1828
|
if (self.state._tag !== "Open") {
|
|
@@ -2257,7 +2248,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2257
2248
|
return onError(pull, onCause);
|
|
2258
2249
|
}));
|
|
2259
2250
|
var toTransform = (channel) => channel.transform;
|
|
2260
|
-
var asyncQueue = (scope, f, options) =>
|
|
2251
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2261
2252
|
capacity: options?.bufferSize,
|
|
2262
2253
|
strategy: options?.strategy
|
|
2263
2254
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2298,7 +2289,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2298
2289
|
}));
|
|
2299
2290
|
var readableStreamToPullUnsafe = (options) => {
|
|
2300
2291
|
const reader = options.readable.getReader();
|
|
2301
|
-
const exit = options.exit ??
|
|
2292
|
+
const exit = options.exit ?? make8(undefined);
|
|
2302
2293
|
const pull = suspend3(() => {
|
|
2303
2294
|
if (exit.current)
|
|
2304
2295
|
return exit.current;
|
|
@@ -2912,7 +2903,7 @@ var release = (self, state) => {
|
|
|
2912
2903
|
};
|
|
2913
2904
|
|
|
2914
2905
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2915
|
-
var
|
|
2906
|
+
var make10 = make6;
|
|
2916
2907
|
var get3 = get2;
|
|
2917
2908
|
|
|
2918
2909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2924,7 +2915,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2924
2915
|
var toChannel2 = (stream) => stream.channel;
|
|
2925
2916
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2926
2917
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2927
|
-
var
|
|
2918
|
+
var make11 = (...values) => fromArray2(values);
|
|
2928
2919
|
var suspend = (stream) => {
|
|
2929
2920
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2930
2921
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3089,7 +3080,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3089
3080
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3090
3081
|
var TypeId10 = "~effect/FileSystem";
|
|
3091
3082
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3092
|
-
var
|
|
3083
|
+
var make12 = (impl) => FileSystem.of({
|
|
3093
3084
|
...impl,
|
|
3094
3085
|
[TypeId10]: TypeId10,
|
|
3095
3086
|
glob: make2(impl),
|
|
@@ -3149,7 +3140,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3149
3140
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3150
3141
|
var TypeId11 = "~effect/Path";
|
|
3151
3142
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3152
|
-
var
|
|
3143
|
+
var make13 = (impl) => Path.of({
|
|
3153
3144
|
...impl,
|
|
3154
3145
|
[TypeId11]: TypeId11,
|
|
3155
3146
|
resolveWithin(root, input) {
|
|
@@ -3224,7 +3215,7 @@ function makeProvider(load, mapInput) {
|
|
|
3224
3215
|
function makeSource(get, transform) {
|
|
3225
3216
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3226
3217
|
}
|
|
3227
|
-
function
|
|
3218
|
+
function make7(get) {
|
|
3228
3219
|
return makeSource(get, identityPath);
|
|
3229
3220
|
}
|
|
3230
3221
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3233,7 +3224,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3233
3224
|
function fromEnvRecord(env, options) {
|
|
3234
3225
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3235
3226
|
const trie = buildEnvTrie(env);
|
|
3236
|
-
return
|
|
3227
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3237
3228
|
}
|
|
3238
3229
|
function fromEnv(options) {
|
|
3239
3230
|
const env = options?.env ?? {
|
|
@@ -3560,4 +3551,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3560
3551
|
...argv
|
|
3561
3552
|
];
|
|
3562
3553
|
|
|
3563
|
-
export { map, makeEquivalence,
|
|
3554
|
+
export { map, makeEquivalence, 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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
ArraySchema,
|
|
12
12
|
decodeJsonStringOption,
|
|
13
13
|
encodeUnknownJsonStringSync
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-d3ksv8y1.js";
|
|
15
15
|
import {
|
|
16
16
|
replaceSecretReferences,
|
|
17
17
|
secretReferencesIn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-rrnee9mk.js";
|
|
19
19
|
|
|
20
20
|
// packages/agent-runtime/src/secret-proxy.ts
|
|
21
21
|
import { appendFileSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-0fdgam8v.js";
|
|
18
|
+
import"./chunk-d3ksv8y1.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-d3ksv8y1.js";
|
|
106
106
|
import {
|
|
107
107
|
currentTimeMillis,
|
|
108
108
|
SecureRandom,
|
|
@@ -141,8 +141,8 @@ import {
|
|
|
141
141
|
sessionForApi,
|
|
142
142
|
readAuthStore,
|
|
143
143
|
agentCredentialForApi,
|
|
144
|
-
make5,
|
|
145
144
|
make6,
|
|
145
|
+
make7,
|
|
146
146
|
Service,
|
|
147
147
|
shouldRefresh,
|
|
148
148
|
refreshSession,
|
|
@@ -153,27 +153,13 @@ import {
|
|
|
153
153
|
runMcpEffect,
|
|
154
154
|
createAgentAuthSignedFetch,
|
|
155
155
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import {
|
|
158
|
-
join,
|
|
159
|
-
interrupt,
|
|
160
|
-
runForEach,
|
|
161
|
-
FileSystem,
|
|
162
|
-
Path,
|
|
163
|
-
embeddedFile,
|
|
164
|
-
extractEmbeddedFile,
|
|
165
|
-
map3,
|
|
166
|
-
all,
|
|
167
|
-
withDefault,
|
|
168
|
-
option,
|
|
169
|
-
String2
|
|
170
|
-
} from "./chunk-qdn9tnav.js";
|
|
156
|
+
} from "./chunk-sdpjvc1r.js";
|
|
171
157
|
import {
|
|
172
158
|
guard,
|
|
173
159
|
Id,
|
|
174
160
|
Timestamp,
|
|
175
161
|
ActorType
|
|
176
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-rrnee9mk.js";
|
|
177
163
|
import {
|
|
178
164
|
toJsonValue,
|
|
179
165
|
isOneOf,
|
|
@@ -187,17 +173,31 @@ import {
|
|
|
187
173
|
isJsonObject,
|
|
188
174
|
isString,
|
|
189
175
|
kindOf
|
|
190
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-v01c0k6j.js";
|
|
177
|
+
import {
|
|
178
|
+
join,
|
|
179
|
+
interrupt,
|
|
180
|
+
runForEach,
|
|
181
|
+
FileSystem,
|
|
182
|
+
Path,
|
|
183
|
+
embeddedFile,
|
|
184
|
+
extractEmbeddedFile,
|
|
185
|
+
map3,
|
|
186
|
+
all,
|
|
187
|
+
withDefault,
|
|
188
|
+
option,
|
|
189
|
+
String2
|
|
190
|
+
} from "./chunk-0fdgam8v.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-q3c7vmby.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-e3tv8mv2.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -1941,56 +1941,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1941
1941
|
LivePresenceSubscriptionUpdate
|
|
1942
1942
|
]);
|
|
1943
1943
|
|
|
1944
|
-
class LiveRpcs extends make6(
|
|
1944
|
+
class LiveRpcs extends make7(make6("Session", {
|
|
1945
1945
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1946
1946
|
error: LiveRpcError
|
|
1947
|
-
}),
|
|
1947
|
+
}), make6("Subscribe", {
|
|
1948
1948
|
payload: LiveSubscribeInput,
|
|
1949
1949
|
success: LiveSubscriptionMessage,
|
|
1950
1950
|
error: LiveRpcError,
|
|
1951
1951
|
stream: true
|
|
1952
|
-
}),
|
|
1952
|
+
}), make6("Replay", {
|
|
1953
1953
|
payload: LiveReplayInput,
|
|
1954
1954
|
success: ArraySchema(LiveEvent),
|
|
1955
1955
|
error: LiveRpcError
|
|
1956
|
-
}),
|
|
1956
|
+
}), make6("Ack", {
|
|
1957
1957
|
payload: LiveAckInput,
|
|
1958
1958
|
success: LiveAckResult,
|
|
1959
1959
|
error: LiveRpcError
|
|
1960
|
-
}),
|
|
1960
|
+
}), make6("SubscribeWeb", {
|
|
1961
1961
|
payload: LiveWebSubscribeInput,
|
|
1962
1962
|
success: LiveWebSubscriptionMessage,
|
|
1963
1963
|
error: LiveRpcError,
|
|
1964
1964
|
stream: true
|
|
1965
|
-
}),
|
|
1965
|
+
}), make6("SubscriptionStatus", {
|
|
1966
1966
|
payload: { subscriptionId: String4 },
|
|
1967
1967
|
success: LiveSubscriptionStatus,
|
|
1968
1968
|
error: LiveRpcError
|
|
1969
|
-
}),
|
|
1969
|
+
}), make6("ReplayWeb", {
|
|
1970
1970
|
payload: LiveWebReplayInput,
|
|
1971
1971
|
success: LiveWebReplayResult,
|
|
1972
1972
|
error: LiveRpcError
|
|
1973
|
-
}),
|
|
1973
|
+
}), make6("AckWeb", {
|
|
1974
1974
|
payload: LiveWebAckInput,
|
|
1975
1975
|
success: LiveWebAckResult,
|
|
1976
1976
|
error: LiveRpcError
|
|
1977
|
-
}),
|
|
1977
|
+
}), make6("PublishPresence", {
|
|
1978
1978
|
payload: LivePresencePublishInput,
|
|
1979
1979
|
success: LivePresenceEntry,
|
|
1980
1980
|
error: LiveRpcError
|
|
1981
|
-
}),
|
|
1981
|
+
}), make6("SubscribePresence", {
|
|
1982
1982
|
payload: LivePresenceSubscribeInput,
|
|
1983
1983
|
success: LivePresenceSubscriptionMessage,
|
|
1984
1984
|
error: LiveRpcError,
|
|
1985
1985
|
stream: true
|
|
1986
|
-
}),
|
|
1986
|
+
}), make6("ClearPresence", {
|
|
1987
1987
|
payload: { scope: optional(LiveScope) },
|
|
1988
1988
|
error: LiveRpcError
|
|
1989
|
-
}),
|
|
1989
|
+
}), make6("RecordSessionUpdate", {
|
|
1990
1990
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1991
1991
|
success: SessionUpdate,
|
|
1992
1992
|
error: LiveRpcError
|
|
1993
|
-
}),
|
|
1993
|
+
}), make6("EndSession", {
|
|
1994
1994
|
payload: { sessionId: String4, input: SessionEnd },
|
|
1995
1995
|
success: Session,
|
|
1996
1996
|
error: LiveRpcError
|
|
@@ -2042,7 +2042,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2042
2042
|
})
|
|
2043
2043
|
});
|
|
2044
2044
|
const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2045
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2045
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2046
2046
|
let abandon = () => {};
|
|
2047
2047
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2048
2048
|
abandon = reject;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make16,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-d3ksv8y1.js";
|
|
89
89
|
import {
|
|
90
90
|
tap,
|
|
91
91
|
mapError,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-0fdgam8v.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
digestSha256,
|
|
136
136
|
sha256Hasher,
|
|
137
137
|
raw,
|
|
138
|
-
|
|
138
|
+
make5,
|
|
139
139
|
get,
|
|
140
140
|
put,
|
|
141
141
|
HttpClient,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-sdpjvc1r.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-rrnee9mk.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-v01c0k6j.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
216
|
+
make3
|
|
217
|
+
} from "./chunk-eawcprsb.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-hvev0dve.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1249
1249
|
run: (command, args) => runCommand2(command, args),
|
|
1250
1250
|
attach: (command, args) => gen(function* () {
|
|
1251
1251
|
const spawner = yield* ChildProcessSpawner;
|
|
1252
|
-
const handle = yield* spawner.spawn(
|
|
1252
|
+
const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1253
1253
|
const exitCode = yield* handle.exitCode;
|
|
1254
1254
|
if (exitCode !== 0)
|
|
1255
1255
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.63";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1901,7 +1901,7 @@ var Usage = [
|
|
|
1901
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1902
1902
|
].join(`
|
|
1903
1903
|
`);
|
|
1904
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-d8awdfdj.js"));
|
|
1905
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1906
1906
|
defaultValue: () => gen(function* () {
|
|
1907
1907
|
const tui = yield* tryPromise({
|
|
@@ -2756,7 +2756,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2756
2756
|
});
|
|
2757
2757
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2758
2758
|
defaultValue: () => (options) => gen(function* () {
|
|
2759
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2759
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-smgvtzd2.js"));
|
|
2760
2760
|
return yield* makeRunnerRpcClient({
|
|
2761
2761
|
runnerId: options.runnerId,
|
|
2762
2762
|
bearer: options.bearer,
|
|
@@ -2951,7 +2951,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2953
2953
|
const platform = yield* context();
|
|
2954
|
-
const updated = yield*
|
|
2954
|
+
const updated = yield* make16();
|
|
2955
2955
|
const scope = yield* scope2;
|
|
2956
2956
|
yield* listenForSignals({
|
|
2957
2957
|
rpc,
|
|
@@ -3140,7 +3140,7 @@ function mcpCommand(args) {
|
|
|
3140
3140
|
if (command.action === "run") {
|
|
3141
3141
|
if (command.args.length > 0)
|
|
3142
3142
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3143
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3143
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-5y050gx7.js"));
|
|
3144
3144
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3145
3145
|
}
|
|
3146
3146
|
if (command.action !== "setup")
|
|
@@ -4342,9 +4342,9 @@ function claimCommand(args) {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
});
|
|
4344
4344
|
}
|
|
4345
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4345
|
+
var KitWriter = map8(promise(() => import("./chunk-88257wax.js")), (build) => build.writeKit);
|
|
4346
4346
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4347
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4347
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-88257wax.js")), (build) => build.buildKit(directory))
|
|
4348
4348
|
});
|
|
4349
4349
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4350
4350
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5102,7 +5102,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5102
5102
|
return gen(function* () {
|
|
5103
5103
|
const fs = yield* FileSystem;
|
|
5104
5104
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5105
|
-
const response = yield* send(
|
|
5105
|
+
const response = yield* send(make5(download.method)(download.url), failed);
|
|
5106
5106
|
if (response.status < 200 || response.status >= 300)
|
|
5107
5107
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5108
5108
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
decodeText,
|
|
4
|
-
mkString,
|
|
5
|
-
FileSystem,
|
|
6
|
-
Path,
|
|
7
|
-
withDefault,
|
|
8
|
-
String2
|
|
9
|
-
} from "./chunk-qdn9tnav.js";
|
|
10
2
|
import {
|
|
11
3
|
isString2,
|
|
12
4
|
hasProperty,
|
|
@@ -40,9 +32,9 @@ import {
|
|
|
40
32
|
toCodecJson,
|
|
41
33
|
Json,
|
|
42
34
|
encodePrettyJsonString
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import"./chunk-
|
|
45
|
-
import"./chunk-
|
|
35
|
+
} from "./chunk-d3ksv8y1.js";
|
|
36
|
+
import"./chunk-rrnee9mk.js";
|
|
37
|
+
import"./chunk-v01c0k6j.js";
|
|
46
38
|
import {
|
|
47
39
|
SecureRandom,
|
|
48
40
|
layerWebCrypto,
|
|
@@ -54,23 +46,31 @@ import {
|
|
|
54
46
|
layer4,
|
|
55
47
|
kitmanMcpServer,
|
|
56
48
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-sdpjvc1r.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-0fdgam8v.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-a4798jzf.js";
|
|
62
|
+
import"./chunk-hxkk42cg.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-phmma642.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
71
|
+
make3
|
|
72
|
+
} from "./chunk-eawcprsb.js";
|
|
73
|
+
import"./chunk-e3tv8mv2.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
109
109
|
}));
|
|
110
110
|
var run = (command, args, cwd) => gen(function* () {
|
|
111
111
|
const spawner = yield* ChildProcessSpawner;
|
|
112
|
-
const handle = yield* spawner.spawn(
|
|
112
|
+
const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
|
|
113
113
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
114
114
|
mkString(decodeText(handle.stdout)),
|
|
115
115
|
mkString(decodeText(handle.stderr)),
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-d3ksv8y1.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-0fdgam8v.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-sdpjvc1r.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|