@kitman-sh/cli 0.10.64 → 0.10.66
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-zej59tf2.js → chunk-1rry0tsn.js} +60 -14
- package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-wjs5fpv0.js → chunk-2z450w92.js} +5 -5
- package/dist/{chunk-ksx5nt4b.js → chunk-60333x3q.js} +5 -5
- package/dist/{chunk-m9v1z0gz.js → chunk-7zm5er63.js} +21 -21
- package/dist/{chunk-b9xcawfx.js → chunk-8mj0z3hb.js} +36 -36
- package/dist/{chunk-rv4r0n7d.js → chunk-9pp1w29g.js} +4 -4
- package/dist/{chunk-dzxahdb7.js → chunk-b90vtscf.js} +75 -66
- package/dist/{chunk-3z0p2wtr.js → chunk-cctfnp4r.js} +3 -3
- package/dist/{chunk-x306t6v1.js → chunk-csbf77zs.js} +11 -11
- package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
- package/dist/{chunk-qdn9tnav.js → chunk-dk0ftqwg.js} +18 -26
- package/dist/{chunk-fm4m4v6j.js → chunk-fc0y8kn7.js} +116 -107
- package/dist/{chunk-smmgt31x.js → chunk-fsbpm71s.js} +9 -9
- package/dist/{chunk-fznm6es2.js → chunk-gfr11y10.js} +7 -7
- package/dist/{chunk-t47h82ew.js → chunk-n0h0z7yh.js} +11 -11
- package/dist/{chunk-a31qjdsm.js → chunk-p8akhcme.js} +7 -7
- package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-tdp34kqg.js → chunk-qp5cdtsr.js} +19 -19
- package/dist/{chunk-byhwksbq.js → chunk-rm83dbpv.js} +2 -2
- package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-s2d1a2my.js → chunk-t6w469gd.js} +7 -7
- package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path,
|
|
5
|
-
optionalEnv
|
|
6
|
-
} from "./chunk-qdn9tnav.js";
|
|
7
2
|
import {
|
|
8
3
|
Reference,
|
|
9
4
|
TaggedError,
|
|
@@ -28,19 +23,24 @@ import {
|
|
|
28
23
|
fnUntraced,
|
|
29
24
|
encodePrettyJsonString,
|
|
30
25
|
decodeJsonStringSync
|
|
31
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-d3ksv8y1.js";
|
|
32
27
|
import {
|
|
33
28
|
isJsonObject,
|
|
34
29
|
isString
|
|
35
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-v01c0k6j.js";
|
|
31
|
+
import {
|
|
32
|
+
FileSystem,
|
|
33
|
+
Path,
|
|
34
|
+
optionalEnv
|
|
35
|
+
} from "./chunk-dk0ftqwg.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-fc0y8kn7.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-cctfnp4r.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -75,14 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
runForEach,
|
|
81
|
-
FileSystem
|
|
82
|
-
} from "./chunk-qdn9tnav.js";
|
|
78
|
+
} from "./chunk-d3ksv8y1.js";
|
|
83
79
|
import {
|
|
84
80
|
guard
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-rrnee9mk.js";
|
|
86
82
|
import {
|
|
87
83
|
currentTimeMillis,
|
|
88
84
|
WebCrypto,
|
|
@@ -109,7 +105,11 @@ import {
|
|
|
109
105
|
KitDigest,
|
|
110
106
|
KitSetup,
|
|
111
107
|
RunnerRpcError
|
|
112
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-fc0y8kn7.js";
|
|
109
|
+
import {
|
|
110
|
+
runForEach,
|
|
111
|
+
FileSystem
|
|
112
|
+
} from "./chunk-dk0ftqwg.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");
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path
|
|
5
|
-
} from "./chunk-qdn9tnav.js";
|
|
6
2
|
import {
|
|
7
3
|
isObject2,
|
|
8
4
|
isUint8Array,
|
|
@@ -16,26 +12,30 @@ import {
|
|
|
16
12
|
orElseSucceed,
|
|
17
13
|
decodeJsonString,
|
|
18
14
|
encodePrettyJsonString
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-d3ksv8y1.js";
|
|
16
|
+
import"./chunk-rrnee9mk.js";
|
|
21
17
|
import {
|
|
22
18
|
isJsonObject
|
|
23
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-v01c0k6j.js";
|
|
20
|
+
import {
|
|
21
|
+
FileSystem,
|
|
22
|
+
Path
|
|
23
|
+
} from "./chunk-dk0ftqwg.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-fsbpm71s.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-fc0y8kn7.js";
|
|
37
|
+
import"./chunk-cctfnp4r.js";
|
|
38
|
+
import"./chunk-1rry0tsn.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-d3ksv8y1.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-dk0ftqwg.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-fc0y8kn7.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2z450w92.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* make4(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* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -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,17 @@ 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";
|
|
38
|
+
import {
|
|
39
|
+
decodeText,
|
|
40
|
+
mkString,
|
|
41
|
+
FileSystem,
|
|
42
|
+
Path,
|
|
43
|
+
withDefault,
|
|
44
|
+
String2
|
|
45
|
+
} from "./chunk-dk0ftqwg.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-fc0y8kn7.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-cctfnp4r.js";
|
|
62
|
+
import"./chunk-p8akhcme.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-gfr11y10.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
71
|
+
make3
|
|
72
|
+
} from "./chunk-1rry0tsn.js";
|
|
73
|
+
import"./chunk-2z450w92.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)),
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-dk0ftqwg.js";
|
|
18
|
+
import"./chunk-d3ksv8y1.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-d3ksv8y1.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -4,13 +4,13 @@ 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-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-p8akhcme.js";
|
|
8
|
+
import"./chunk-2z450w92.js";
|
|
9
|
+
import"./chunk-fc0y8kn7.js";
|
|
10
|
+
import"./chunk-rrnee9mk.js";
|
|
11
|
+
import"./chunk-v01c0k6j.js";
|
|
12
|
+
import"./chunk-dk0ftqwg.js";
|
|
13
|
+
import"./chunk-d3ksv8y1.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
3
|
-
import"./chunk-
|
|
4
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-d3ksv8y1.js";
|
|
3
|
+
import"./chunk-rrnee9mk.js";
|
|
4
|
+
import"./chunk-v01c0k6j.js";
|
|
5
5
|
import {
|
|
6
6
|
decideSecretRequest,
|
|
7
7
|
readSecretRegistry,
|
|
8
8
|
appendSecretRefusals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-1w81w56v.js";
|
|
10
10
|
|
|
11
11
|
// packages/agent-runtime/src/srt-step.ts
|
|
12
12
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
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-rm83dbpv.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-wtpwkjws.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-60333x3q.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-7zm5er63.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|