@kitman-sh/cli 0.12.0-rc.1 → 0.12.0-rc.2
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-p3jbjz2a.js → chunk-2k08hw5q.js} +8 -8
- package/dist/{chunk-rr0yw34p.js → chunk-2ptxq9cq.js} +5 -5
- package/dist/{chunk-0b93nv6j.js → chunk-3d4d52e5.js} +1 -10
- package/dist/{chunk-tcyqkqzj.js → chunk-4f72nbw2.js} +14 -14
- package/dist/{chunk-s7xcdcqx.js → chunk-6pz3nsn5.js} +49 -48
- package/dist/{chunk-66xhktcp.js → chunk-7gnrnv4a.js} +19 -19
- package/dist/{chunk-1sy32p83.js → chunk-bxqfgc6z.js} +7 -7
- package/dist/{chunk-bjnvrsej.js → chunk-cjscsbg8.js} +14 -14
- package/dist/{chunk-5vzznkvb.js → chunk-d9bv70qb.js} +3 -3
- package/dist/{chunk-rm3vqk5d.js → chunk-db9q9y8h.js} +2 -2
- package/dist/{chunk-82xjnghh.js → chunk-emh8zw7k.js} +4 -4
- package/dist/{chunk-dc57c8s5.js → chunk-fhyn2b38.js} +42 -13
- package/dist/{chunk-wf8ajpyy.js → chunk-ha241q06.js} +5 -5
- package/dist/{chunk-ap9y5k9y.js → chunk-japwbj9n.js} +1 -1
- package/dist/{chunk-kfwp70pn.js → chunk-myqf27w2.js} +3 -3
- package/dist/{chunk-ejhfa1t6.js → chunk-n6hxwdm6.js} +2 -2
- package/dist/{chunk-8yyj061t.js → chunk-rzzd7zv3.js} +3 -3
- package/dist/{chunk-2qarscbj.js → chunk-sk6ceghr.js} +1 -1
- package/dist/{chunk-kpfrhex3.js → chunk-vmv7gwwr.js} +6 -6
- package/dist/{chunk-a8jgegds.js → chunk-yfamq8xw.js} +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -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-bxqfgc6z.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-fhyn2b38.js";
|
|
37
|
+
import"./chunk-n6hxwdm6.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") {
|
|
@@ -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-fhyn2b38.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,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-fhyn2b38.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-n6hxwdm6.js";
|
|
62
|
+
import"./chunk-myqf27w2.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2ptxq9cq.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
72
|
+
} from "./chunk-sk6ceghr.js";
|
|
73
|
+
import"./chunk-db9q9y8h.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -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,
|
|
@@ -288,7 +248,47 @@ import {
|
|
|
288
248
|
installCommand,
|
|
289
249
|
checkServicesFile,
|
|
290
250
|
checkServices
|
|
291
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-fhyn2b38.js";
|
|
252
|
+
import {
|
|
253
|
+
join,
|
|
254
|
+
interrupt,
|
|
255
|
+
unbounded,
|
|
256
|
+
publishUnsafe,
|
|
257
|
+
unbounded2,
|
|
258
|
+
offer,
|
|
259
|
+
makeUnsafe3,
|
|
260
|
+
make11,
|
|
261
|
+
fromQueue,
|
|
262
|
+
fromPubSub,
|
|
263
|
+
map2,
|
|
264
|
+
filter,
|
|
265
|
+
decodeText,
|
|
266
|
+
encodeText,
|
|
267
|
+
splitLines,
|
|
268
|
+
run,
|
|
269
|
+
runHead,
|
|
270
|
+
runForEach,
|
|
271
|
+
FileSystem,
|
|
272
|
+
Path,
|
|
273
|
+
embeddedFile,
|
|
274
|
+
extractEmbeddedFile,
|
|
275
|
+
optionalEnv,
|
|
276
|
+
operatorConfigHome,
|
|
277
|
+
harnessesUnsupportedInSrt2,
|
|
278
|
+
compiled2,
|
|
279
|
+
pinnedSrtCommand2,
|
|
280
|
+
pinnedSrtStepCommand2,
|
|
281
|
+
runSrtCli2,
|
|
282
|
+
kitmanCacheDirectory2,
|
|
283
|
+
srtSettings2,
|
|
284
|
+
srtCacheEnvironment2,
|
|
285
|
+
srtInheritedEnv2,
|
|
286
|
+
inheritedEnvironment2,
|
|
287
|
+
withOnlyEnvironment2,
|
|
288
|
+
writeSrtSettings2,
|
|
289
|
+
srtStepArgv2,
|
|
290
|
+
srtArgv2
|
|
291
|
+
} from "./chunk-3d4d52e5.js";
|
|
292
292
|
import {
|
|
293
293
|
writeAgentEnvironmentConfigFile2,
|
|
294
294
|
readManifestSkillPaths2,
|
|
@@ -304,8 +304,8 @@ import {
|
|
|
304
304
|
applyAgentEnvironmentMaterialization2,
|
|
305
305
|
isPathWithin2,
|
|
306
306
|
skillIdentity2
|
|
307
|
-
} from "./chunk-
|
|
308
|
-
import"./chunk-
|
|
307
|
+
} from "./chunk-bxqfgc6z.js";
|
|
308
|
+
import"./chunk-n6hxwdm6.js";
|
|
309
309
|
import {
|
|
310
310
|
egressAllowed,
|
|
311
311
|
writeSecretRegistry,
|
|
@@ -323,23 +323,23 @@ import {
|
|
|
323
323
|
decodedOption2,
|
|
324
324
|
decoded2,
|
|
325
325
|
readOpencode2
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-vmv7gwwr.js";
|
|
327
327
|
import {
|
|
328
328
|
uploadRunFile,
|
|
329
329
|
programLease,
|
|
330
330
|
rpcRunFiles,
|
|
331
331
|
programHostsEnv,
|
|
332
332
|
undeclaredHostsEnv
|
|
333
|
-
} from "./chunk-
|
|
334
|
-
import"./chunk-
|
|
333
|
+
} from "./chunk-2ptxq9cq.js";
|
|
334
|
+
import"./chunk-myqf27w2.js";
|
|
335
335
|
import {
|
|
336
336
|
nextInt
|
|
337
337
|
} from "./chunk-nzjb36ad.js";
|
|
338
338
|
import {
|
|
339
339
|
ChildProcessSpawner,
|
|
340
340
|
make3
|
|
341
|
-
} from "./chunk-
|
|
342
|
-
import"./chunk-
|
|
341
|
+
} from "./chunk-sk6ceghr.js";
|
|
342
|
+
import"./chunk-db9q9y8h.js";
|
|
343
343
|
|
|
344
344
|
// packages/core/src/sync-kit.ts
|
|
345
345
|
import { createHash } from "crypto";
|
|
@@ -4579,6 +4579,7 @@ var boundChange = (change) => {
|
|
|
4579
4579
|
truncated: omittedPaths > 0 || changedPaths.length > files.length || files.some((file) => file.truncated)
|
|
4580
4580
|
};
|
|
4581
4581
|
};
|
|
4582
|
+
var outputLength = outputLines * EvidenceLimits.lineLength;
|
|
4582
4583
|
var DriftStatus = Literals(["open", "correction_sent", "escalated", "verified", "dismissed"]);
|
|
4583
4584
|
var DriftActor = Struct({ actorType: String4, actorId: String4 });
|
|
4584
4585
|
var DriftResolution = Struct({
|