@kitman-sh/cli 0.11.4 → 0.11.5
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-myxv5kpp.js → chunk-0j0bncss.js} +5 -5
- package/dist/{chunk-0b93nv6j.js → chunk-3d4d52e5.js} +1 -10
- package/dist/{chunk-8y6shv5e.js → chunk-60vg33dt.js} +8 -8
- package/dist/{chunk-wpbc3w4f.js → chunk-6cfskczm.js} +14 -14
- package/dist/{chunk-av04xyxt.js → chunk-73rctgzy.js} +3 -3
- package/dist/{chunk-5vzznkvb.js → chunk-d9bv70qb.js} +3 -3
- package/dist/{chunk-gp3ad3ne.js → chunk-gpk5ce9g.js} +16 -16
- package/dist/{chunk-ap9y5k9y.js → chunk-japwbj9n.js} +1 -1
- package/dist/{chunk-n9qm4ypc.js → chunk-jhm247mx.js} +3 -3
- package/dist/{chunk-4e0c4zw0.js → chunk-k004grgr.js} +2 -2
- package/dist/{chunk-cfda9gtd.js → chunk-rj7c1m4z.js} +48 -48
- package/dist/{chunk-89mqzn6e.js → chunk-sjsh7819.js} +12 -12
- package/dist/{chunk-2qarscbj.js → chunk-sk6ceghr.js} +1 -1
- package/dist/{chunk-brpngwz8.js → chunk-t2sv5jhr.js} +4 -4
- package/dist/{chunk-kpfrhex3.js → chunk-vmv7gwwr.js} +6 -6
- package/dist/{chunk-rdx91nvh.js → chunk-xadtvj2q.js} +2 -2
- package/dist/{chunk-kg99fa2c.js → chunk-y78nw5ty.js} +7 -7
- package/dist/{chunk-qh5pwxdk.js → chunk-zbdnd7z7.js} +11 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -76,10 +76,6 @@ import {
|
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
78
|
} from "./chunk-vtfwjhzh.js";
|
|
79
|
-
import {
|
|
80
|
-
runForEach,
|
|
81
|
-
FileSystem
|
|
82
|
-
} from "./chunk-0b93nv6j.js";
|
|
83
79
|
import {
|
|
84
80
|
guard
|
|
85
81
|
} from "./chunk-0qz10ek8.js";
|
|
@@ -109,7 +105,11 @@ import {
|
|
|
109
105
|
KitDigest,
|
|
110
106
|
KitSetup,
|
|
111
107
|
RunnerRpcError
|
|
112
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-zbdnd7z7.js";
|
|
109
|
+
import {
|
|
110
|
+
runForEach,
|
|
111
|
+
FileSystem
|
|
112
|
+
} from "./chunk-3d4d52e5.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -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);
|
|
@@ -3561,4 +3552,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3561
3552
|
...argv
|
|
3562
3553
|
];
|
|
3563
3554
|
|
|
3564
|
-
export { map, makeEquivalence,
|
|
3555
|
+
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, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path
|
|
5
|
-
} from "./chunk-0b93nv6j.js";
|
|
6
2
|
import {
|
|
7
3
|
isObject2,
|
|
8
4
|
isUint8Array,
|
|
@@ -21,21 +17,25 @@ import"./chunk-0qz10ek8.js";
|
|
|
21
17
|
import {
|
|
22
18
|
isJsonObject
|
|
23
19
|
} from "./chunk-c6rbt85q.js";
|
|
20
|
+
import {
|
|
21
|
+
FileSystem,
|
|
22
|
+
Path
|
|
23
|
+
} from "./chunk-3d4d52e5.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-y78nw5ty.js";
|
|
30
30
|
import {
|
|
31
31
|
instructionsStart,
|
|
32
32
|
instructionsEnd,
|
|
33
33
|
renderMcpServer,
|
|
34
34
|
materializeKitSetup,
|
|
35
35
|
tomlInline
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import"./chunk-
|
|
36
|
+
} from "./chunk-zbdnd7z7.js";
|
|
37
|
+
import"./chunk-xadtvj2q.js";
|
|
38
|
+
import"./chunk-sk6ceghr.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
decodeText,
|
|
4
|
-
mkString,
|
|
5
|
-
FileSystem,
|
|
6
|
-
Path,
|
|
7
|
-
withDefault,
|
|
8
|
-
String2
|
|
9
|
-
} from "./chunk-0b93nv6j.js";
|
|
10
2
|
import {
|
|
11
3
|
isString2,
|
|
12
4
|
hasProperty,
|
|
@@ -43,6 +35,14 @@ import {
|
|
|
43
35
|
} from "./chunk-vtfwjhzh.js";
|
|
44
36
|
import"./chunk-0qz10ek8.js";
|
|
45
37
|
import"./chunk-c6rbt85q.js";
|
|
38
|
+
import {
|
|
39
|
+
decodeText,
|
|
40
|
+
mkString,
|
|
41
|
+
FileSystem,
|
|
42
|
+
Path,
|
|
43
|
+
withDefault,
|
|
44
|
+
String2
|
|
45
|
+
} from "./chunk-3d4d52e5.js";
|
|
46
46
|
import {
|
|
47
47
|
SecureRandom,
|
|
48
48
|
layerWebCrypto,
|
|
@@ -54,23 +54,23 @@ import {
|
|
|
54
54
|
layer4,
|
|
55
55
|
kitmanMcpServer,
|
|
56
56
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-zbdnd7z7.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-xadtvj2q.js";
|
|
62
|
+
import"./chunk-73rctgzy.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-0j0bncss.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
72
|
+
} from "./chunk-sk6ceghr.js";
|
|
73
|
+
import"./chunk-k004grgr.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-vtfwjhzh.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3d4d52e5.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-zbdnd7z7.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-k004grgr.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-vmv7gwwr.js";
|
|
11
|
+
import"./chunk-sk6ceghr.js";
|
|
12
12
|
import"./chunk-c6rbt85q.js";
|
|
13
|
-
import"./chunk-
|
|
13
|
+
import"./chunk-3d4d52e5.js";
|
|
14
14
|
import"./chunk-vtfwjhzh.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
@@ -159,21 +159,7 @@ import {
|
|
|
159
159
|
runMcpEffect,
|
|
160
160
|
createAgentAuthSignedFetch,
|
|
161
161
|
setupMcpAgentCredential
|
|
162
|
-
} from "./chunk-
|
|
163
|
-
import {
|
|
164
|
-
join,
|
|
165
|
-
interrupt,
|
|
166
|
-
runForEach,
|
|
167
|
-
FileSystem,
|
|
168
|
-
Path,
|
|
169
|
-
embeddedFile,
|
|
170
|
-
extractEmbeddedFile,
|
|
171
|
-
map3,
|
|
172
|
-
all,
|
|
173
|
-
withDefault,
|
|
174
|
-
option,
|
|
175
|
-
String2
|
|
176
|
-
} from "./chunk-0b93nv6j.js";
|
|
162
|
+
} from "./chunk-zbdnd7z7.js";
|
|
177
163
|
import {
|
|
178
164
|
guard,
|
|
179
165
|
Id,
|
|
@@ -193,6 +179,20 @@ import {
|
|
|
193
179
|
isString,
|
|
194
180
|
kindOf
|
|
195
181
|
} from "./chunk-c6rbt85q.js";
|
|
182
|
+
import {
|
|
183
|
+
join,
|
|
184
|
+
interrupt,
|
|
185
|
+
runForEach,
|
|
186
|
+
FileSystem,
|
|
187
|
+
Path,
|
|
188
|
+
embeddedFile,
|
|
189
|
+
extractEmbeddedFile,
|
|
190
|
+
map3,
|
|
191
|
+
all,
|
|
192
|
+
withDefault,
|
|
193
|
+
option,
|
|
194
|
+
String2
|
|
195
|
+
} from "./chunk-3d4d52e5.js";
|
|
196
196
|
import {
|
|
197
197
|
nextInt
|
|
198
198
|
} from "./chunk-nzjb36ad.js";
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
withHeaders,
|
|
203
203
|
layerProtocolSocket,
|
|
204
204
|
ConnectionHooks
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-k004grgr.js";
|
|
206
206
|
|
|
207
207
|
// apps/cli/src/mcp.ts
|
|
208
208
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-sk6ceghr.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-zbdnd7z7.js";
|
|
16
|
+
import"./chunk-3d4d52e5.js";
|
|
17
17
|
import"./chunk-vtfwjhzh.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-3d4d52e5.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-zbdnd7z7.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")) {
|
|
@@ -7,46 +7,6 @@ import {
|
|
|
7
7
|
isJsonObject,
|
|
8
8
|
isString
|
|
9
9
|
} from "./chunk-c6rbt85q.js";
|
|
10
|
-
import {
|
|
11
|
-
join,
|
|
12
|
-
interrupt,
|
|
13
|
-
unbounded,
|
|
14
|
-
publishUnsafe,
|
|
15
|
-
unbounded2,
|
|
16
|
-
offer,
|
|
17
|
-
makeUnsafe3,
|
|
18
|
-
make11,
|
|
19
|
-
fromQueue,
|
|
20
|
-
fromPubSub,
|
|
21
|
-
map2,
|
|
22
|
-
filter,
|
|
23
|
-
decodeText,
|
|
24
|
-
encodeText,
|
|
25
|
-
splitLines,
|
|
26
|
-
run,
|
|
27
|
-
runHead,
|
|
28
|
-
runForEach,
|
|
29
|
-
FileSystem,
|
|
30
|
-
Path,
|
|
31
|
-
embeddedFile,
|
|
32
|
-
extractEmbeddedFile,
|
|
33
|
-
optionalEnv,
|
|
34
|
-
operatorConfigHome,
|
|
35
|
-
harnessesUnsupportedInSrt2,
|
|
36
|
-
compiled2,
|
|
37
|
-
pinnedSrtCommand2,
|
|
38
|
-
pinnedSrtStepCommand2,
|
|
39
|
-
runSrtCli2,
|
|
40
|
-
kitmanCacheDirectory2,
|
|
41
|
-
srtSettings2,
|
|
42
|
-
srtCacheEnvironment2,
|
|
43
|
-
srtInheritedEnv2,
|
|
44
|
-
inheritedEnvironment2,
|
|
45
|
-
withOnlyEnvironment2,
|
|
46
|
-
writeSrtSettings2,
|
|
47
|
-
srtStepArgv2,
|
|
48
|
-
srtArgv2
|
|
49
|
-
} from "./chunk-0b93nv6j.js";
|
|
50
10
|
import {
|
|
51
11
|
pipeArguments,
|
|
52
12
|
dual,
|
|
@@ -286,7 +246,47 @@ import {
|
|
|
286
246
|
installCommand,
|
|
287
247
|
checkServicesFile,
|
|
288
248
|
checkServices
|
|
289
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-zbdnd7z7.js";
|
|
250
|
+
import {
|
|
251
|
+
join,
|
|
252
|
+
interrupt,
|
|
253
|
+
unbounded,
|
|
254
|
+
publishUnsafe,
|
|
255
|
+
unbounded2,
|
|
256
|
+
offer,
|
|
257
|
+
makeUnsafe3,
|
|
258
|
+
make11,
|
|
259
|
+
fromQueue,
|
|
260
|
+
fromPubSub,
|
|
261
|
+
map2,
|
|
262
|
+
filter,
|
|
263
|
+
decodeText,
|
|
264
|
+
encodeText,
|
|
265
|
+
splitLines,
|
|
266
|
+
run,
|
|
267
|
+
runHead,
|
|
268
|
+
runForEach,
|
|
269
|
+
FileSystem,
|
|
270
|
+
Path,
|
|
271
|
+
embeddedFile,
|
|
272
|
+
extractEmbeddedFile,
|
|
273
|
+
optionalEnv,
|
|
274
|
+
operatorConfigHome,
|
|
275
|
+
harnessesUnsupportedInSrt2,
|
|
276
|
+
compiled2,
|
|
277
|
+
pinnedSrtCommand2,
|
|
278
|
+
pinnedSrtStepCommand2,
|
|
279
|
+
runSrtCli2,
|
|
280
|
+
kitmanCacheDirectory2,
|
|
281
|
+
srtSettings2,
|
|
282
|
+
srtCacheEnvironment2,
|
|
283
|
+
srtInheritedEnv2,
|
|
284
|
+
inheritedEnvironment2,
|
|
285
|
+
withOnlyEnvironment2,
|
|
286
|
+
writeSrtSettings2,
|
|
287
|
+
srtStepArgv2,
|
|
288
|
+
srtArgv2
|
|
289
|
+
} from "./chunk-3d4d52e5.js";
|
|
290
290
|
import {
|
|
291
291
|
writeAgentEnvironmentConfigFile2,
|
|
292
292
|
readManifestSkillPaths2,
|
|
@@ -302,8 +302,8 @@ import {
|
|
|
302
302
|
applyAgentEnvironmentMaterialization2,
|
|
303
303
|
isPathWithin2,
|
|
304
304
|
skillIdentity2
|
|
305
|
-
} from "./chunk-
|
|
306
|
-
import"./chunk-
|
|
305
|
+
} from "./chunk-y78nw5ty.js";
|
|
306
|
+
import"./chunk-xadtvj2q.js";
|
|
307
307
|
import {
|
|
308
308
|
egressAllowed,
|
|
309
309
|
writeSecretRegistry,
|
|
@@ -321,23 +321,23 @@ import {
|
|
|
321
321
|
decodedOption2,
|
|
322
322
|
decoded2,
|
|
323
323
|
readOpencode2
|
|
324
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-vmv7gwwr.js";
|
|
325
325
|
import {
|
|
326
326
|
uploadRunFile,
|
|
327
327
|
programLease,
|
|
328
328
|
rpcRunFiles,
|
|
329
329
|
programHostsEnv,
|
|
330
330
|
undeclaredHostsEnv
|
|
331
|
-
} from "./chunk-
|
|
332
|
-
import"./chunk-
|
|
331
|
+
} from "./chunk-0j0bncss.js";
|
|
332
|
+
import"./chunk-73rctgzy.js";
|
|
333
333
|
import {
|
|
334
334
|
nextInt
|
|
335
335
|
} from "./chunk-nzjb36ad.js";
|
|
336
336
|
import {
|
|
337
337
|
ChildProcessSpawner,
|
|
338
338
|
make3
|
|
339
|
-
} from "./chunk-
|
|
340
|
-
import"./chunk-
|
|
339
|
+
} from "./chunk-sk6ceghr.js";
|
|
340
|
+
import"./chunk-k004grgr.js";
|
|
341
341
|
|
|
342
342
|
// packages/core/src/sync-kit.ts
|
|
343
343
|
import { createHash } from "crypto";
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
withDefault,
|
|
109
109
|
option,
|
|
110
110
|
String2
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-3d4d52e5.js";
|
|
112
112
|
import {
|
|
113
113
|
currentTimeMillis,
|
|
114
114
|
SecureRandom,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
harnessNames,
|
|
219
219
|
herdrRunnerCapabilities2,
|
|
220
220
|
declaredChecks
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-zbdnd7z7.js";
|
|
222
222
|
import {
|
|
223
223
|
Id
|
|
224
224
|
} from "./chunk-0qz10ek8.js";
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
import {
|
|
236
236
|
ChildProcessSpawner,
|
|
237
237
|
make3
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-sk6ceghr.js";
|
|
239
239
|
|
|
240
240
|
// apps/cli/src/cli-error.ts
|
|
241
241
|
function cliErrorCode(error, status) {
|
|
@@ -530,10 +530,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
530
530
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
531
531
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
532
532
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
533
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
533
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jhm247mx.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
534
534
|
});
|
|
535
535
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
536
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
536
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-jhm247mx.js")), (module) => module.updateHerdrCore(options))
|
|
537
537
|
});
|
|
538
538
|
var herdrCoreMissing = (error) => {
|
|
539
539
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -953,7 +953,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
953
953
|
});
|
|
954
954
|
var syncKits = (input) => gen(function* () {
|
|
955
955
|
const fs = yield* FileSystem;
|
|
956
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
956
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-60vg33dt.js"));
|
|
957
957
|
const harnesses = yield* syncTargets(input.harness);
|
|
958
958
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
959
959
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1871,7 +1871,7 @@ var package_default = {
|
|
|
1871
1871
|
};
|
|
1872
1872
|
|
|
1873
1873
|
// apps/cli/src/scaffold.ts
|
|
1874
|
-
var cliVersion = "0.11.
|
|
1874
|
+
var cliVersion = "0.11.5";
|
|
1875
1875
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1876
1876
|
name,
|
|
1877
1877
|
private: true,
|
|
@@ -2137,7 +2137,7 @@ var Usage = [
|
|
|
2137
2137
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
2138
2138
|
].join(`
|
|
2139
2139
|
`);
|
|
2140
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2140
|
+
var agentRuntime = promise(() => import("./chunk-rj7c1m4z.js"));
|
|
2141
2141
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2142
2142
|
defaultValue: () => gen(function* () {
|
|
2143
2143
|
const tui = yield* tryPromise({
|
|
@@ -3134,7 +3134,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3134
3134
|
});
|
|
3135
3135
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3136
3136
|
defaultValue: () => (options) => gen(function* () {
|
|
3137
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3137
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-t2sv5jhr.js"));
|
|
3138
3138
|
return yield* makeRunnerRpcClient({
|
|
3139
3139
|
runnerId: options.runnerId,
|
|
3140
3140
|
bearer: options.bearer,
|
|
@@ -3658,7 +3658,7 @@ function mcpCommand(args) {
|
|
|
3658
3658
|
if (command.action === "run") {
|
|
3659
3659
|
if (command.args.length > 0)
|
|
3660
3660
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3661
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3661
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-gpk5ce9g.js"));
|
|
3662
3662
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3663
3663
|
}
|
|
3664
3664
|
if (command.action !== "setup")
|
|
@@ -4928,9 +4928,9 @@ function changeRequestCommand(args) {
|
|
|
4928
4928
|
yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
|
|
4929
4929
|
});
|
|
4930
4930
|
}
|
|
4931
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4931
|
+
var KitWriter = map8(promise(() => import("./chunk-6cfskczm.js")), (build) => build.writeKit);
|
|
4932
4932
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4933
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4933
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-6cfskczm.js")), (build) => build.buildKit(directory))
|
|
4934
4934
|
});
|
|
4935
4935
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4936
4936
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-73rctgzy.js";
|
|
8
|
+
import"./chunk-k004grgr.js";
|
|
9
|
+
import"./chunk-zbdnd7z7.js";
|
|
10
10
|
import"./chunk-0qz10ek8.js";
|
|
11
11
|
import"./chunk-c6rbt85q.js";
|
|
12
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-3d4d52e5.js";
|
|
13
13
|
import"./chunk-vtfwjhzh.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
make11,
|
|
4
|
-
runForEach,
|
|
5
|
-
compiled2
|
|
6
|
-
} from "./chunk-0b93nv6j.js";
|
|
7
2
|
import {
|
|
8
3
|
getOrUndefined,
|
|
9
4
|
liftThrowable,
|
|
@@ -33,10 +28,15 @@ import {
|
|
|
33
28
|
isJsonObject,
|
|
34
29
|
isString
|
|
35
30
|
} from "./chunk-c6rbt85q.js";
|
|
31
|
+
import {
|
|
32
|
+
make11,
|
|
33
|
+
runForEach,
|
|
34
|
+
compiled2
|
|
35
|
+
} from "./chunk-3d4d52e5.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-sk6ceghr.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3d4d52e5.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-zbdnd7z7.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path,
|
|
5
|
-
optionalEnv
|
|
6
|
-
} from "./chunk-0b93nv6j.js";
|
|
7
2
|
import {
|
|
8
3
|
Reference,
|
|
9
4
|
TaggedError,
|
|
@@ -33,14 +28,19 @@ import {
|
|
|
33
28
|
isJsonObject,
|
|
34
29
|
isString
|
|
35
30
|
} from "./chunk-c6rbt85q.js";
|
|
31
|
+
import {
|
|
32
|
+
FileSystem,
|
|
33
|
+
Path,
|
|
34
|
+
optionalEnv
|
|
35
|
+
} from "./chunk-3d4d52e5.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-zbdnd7z7.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-xadtvj2q.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -253,7 +253,6 @@ import {
|
|
|
253
253
|
import {
|
|
254
254
|
map,
|
|
255
255
|
makeEquivalence,
|
|
256
|
-
toNumber,
|
|
257
256
|
bytes,
|
|
258
257
|
BadArgument,
|
|
259
258
|
systemError,
|
|
@@ -317,7 +316,7 @@ import {
|
|
|
317
316
|
String2,
|
|
318
317
|
optionalEnv,
|
|
319
318
|
harnessesUnsupportedInSrt2
|
|
320
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-3d4d52e5.js";
|
|
321
320
|
import {
|
|
322
321
|
isDateTime,
|
|
323
322
|
Numeric,
|
|
@@ -358,7 +357,7 @@ import {
|
|
|
358
357
|
make3,
|
|
359
358
|
parseFdName,
|
|
360
359
|
fdName
|
|
361
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-sk6ceghr.js";
|
|
362
361
|
|
|
363
362
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
364
363
|
var makeEquivalence3 = Tuple;
|
|
@@ -900,6 +899,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
900
899
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
901
900
|
var runMain = runMain2;
|
|
902
901
|
|
|
902
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
903
|
+
var BigInt2 = globalThis.BigInt;
|
|
904
|
+
var toNumber = (b) => {
|
|
905
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
906
|
+
return none();
|
|
907
|
+
}
|
|
908
|
+
return some(Number(b));
|
|
909
|
+
};
|
|
910
|
+
|
|
903
911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
904
912
|
var makeUnsafe = makeUnsafe6;
|
|
905
913
|
var make18 = make4;
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-japwbj9n.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
11
|
const { runSrtStep } = await import("./chunk-z450wa10.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-d9bv70qb.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-sjsh7819.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|