@kitman-sh/cli 0.13.13 → 0.13.14
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-3z0wep73.js → chunk-06dwvzv0.js} +63 -63
- package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
- package/dist/{chunk-pvza175a.js → chunk-3vbs995s.js} +115 -118
- package/dist/{chunk-nve4pjqm.js → chunk-4142qeg3.js} +3 -3
- package/dist/{chunk-7hf2d50x.js → chunk-5ba08a9e.js} +18 -18
- package/dist/{chunk-ga76znz9.js → chunk-5mxvqg32.js} +10 -10
- package/dist/{chunk-vbygjtdw.js → chunk-6agcvxbj.js} +10 -10
- package/dist/{chunk-b5abe9c7.js → chunk-89rpg6j9.js} +73 -73
- package/dist/{chunk-82w8rmkc.js → chunk-8xpdkxr7.js} +14 -60
- package/dist/{chunk-fc2bhh5v.js → chunk-aa30tt6t.js} +2 -2
- package/dist/{chunk-6kz6qa2h.js → chunk-d4kmyv5h.js} +4 -4
- package/dist/{chunk-s364dren.js → chunk-dwxqp8ez.js} +7 -7
- package/dist/{chunk-jwr0rr2p.js → chunk-ef3nzqng.js} +3 -3
- package/dist/{chunk-j2aw5bss.js → chunk-fk5238tn.js} +4 -4
- package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
- package/dist/{chunk-nf9gdnsf.js → chunk-hgfphycc.js} +26 -17
- package/dist/{chunk-cxc8d0r3.js → chunk-hmt2egsx.js} +6 -6
- package/dist/{chunk-wh6eeetn.js → chunk-hw9fcfs0.js} +9 -9
- package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
- package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
- package/dist/{chunk-ptn9g4wd.js → chunk-st8ggqv1.js} +21 -21
- package/dist/{chunk-4yzdyte6.js → chunk-vjsqg4a5.js} +9 -8
- package/dist/{chunk-7jege23c.js → chunk-vmww6hnk.js} +5 -5
- package/dist/{chunk-9rez0yze.js → chunk-zencwg2t.js} +1 -1
- package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-zgraq2y3.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-hgfphycc.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3vbs995s.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-hgfphycc.js";
|
|
2
10
|
import {
|
|
3
11
|
isString,
|
|
4
12
|
hasProperty,
|
|
@@ -32,8 +40,8 @@ import {
|
|
|
32
40
|
toCodecJson,
|
|
33
41
|
Json,
|
|
34
42
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
43
|
+
} from "./chunk-zgraq2y3.js";
|
|
44
|
+
import"./chunk-pxvd8w2v.js";
|
|
37
45
|
import {
|
|
38
46
|
SecureRandom,
|
|
39
47
|
layerWebCrypto,
|
|
@@ -45,31 +53,23 @@ import {
|
|
|
45
53
|
layer4,
|
|
46
54
|
kitmanMcpServer,
|
|
47
55
|
RunnerRpcProtocolVersion
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
decodeText,
|
|
51
|
-
mkString,
|
|
52
|
-
FileSystem,
|
|
53
|
-
Path,
|
|
54
|
-
withDefault,
|
|
55
|
-
String2
|
|
56
|
-
} from "./chunk-nf9gdnsf.js";
|
|
56
|
+
} from "./chunk-3vbs995s.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-4142qeg3.js";
|
|
61
|
+
import"./chunk-dwxqp8ez.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-vjsqg4a5.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
|
-
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import"./chunk-
|
|
70
|
+
make2
|
|
71
|
+
} from "./chunk-8xpdkxr7.js";
|
|
72
|
+
import"./chunk-vmww6hnk.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
108
108
|
}));
|
|
109
109
|
var run = (command, args, cwd) => gen(function* () {
|
|
110
110
|
const spawner = yield* ChildProcessSpawner;
|
|
111
|
-
const handle = yield* spawner.spawn(
|
|
111
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
112
112
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
113
113
|
mkString(decodeText(handle.stdout)),
|
|
114
114
|
mkString(decodeText(handle.stderr)),
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
make10,
|
|
4
|
+
runForEach,
|
|
5
|
+
compiled2
|
|
6
|
+
} from "./chunk-hgfphycc.js";
|
|
2
7
|
import {
|
|
3
8
|
getOrUndefined,
|
|
4
9
|
liftThrowable,
|
|
@@ -25,16 +30,11 @@ import {
|
|
|
25
30
|
isJsonObject,
|
|
26
31
|
isString2,
|
|
27
32
|
encodeUnknownJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
make11,
|
|
31
|
-
runForEach,
|
|
32
|
-
compiled2
|
|
33
|
-
} from "./chunk-nf9gdnsf.js";
|
|
33
|
+
} from "./chunk-zgraq2y3.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
make2
|
|
37
|
+
} from "./chunk-8xpdkxr7.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/opencode-store.ts
|
|
40
40
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -167,8 +167,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
167
167
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
168
168
|
const spawner = yield* ChildProcessSpawner;
|
|
169
169
|
const [command, ...args] = opencodeReaderCommand();
|
|
170
|
-
const handle = yield* spawner.spawn(
|
|
171
|
-
stdin:
|
|
170
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
171
|
+
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
172
172
|
stderr: "ignore",
|
|
173
173
|
extendEnv: false,
|
|
174
174
|
env: {},
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path
|
|
5
|
+
} from "./chunk-hgfphycc.js";
|
|
2
6
|
import {
|
|
3
7
|
isObject,
|
|
4
8
|
isUint8Array,
|
|
@@ -13,27 +17,23 @@ import {
|
|
|
13
17
|
isJsonObject,
|
|
14
18
|
decodeJsonString,
|
|
15
19
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
18
|
-
import {
|
|
19
|
-
FileSystem,
|
|
20
|
-
Path
|
|
21
|
-
} from "./chunk-nf9gdnsf.js";
|
|
20
|
+
} from "./chunk-zgraq2y3.js";
|
|
21
|
+
import"./chunk-pxvd8w2v.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-hw9fcfs0.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
31
31
|
renderMcpServer,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-3vbs995s.js";
|
|
35
|
+
import"./chunk-4142qeg3.js";
|
|
36
|
+
import"./chunk-8xpdkxr7.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|