@kitman-sh/cli 0.13.12 → 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-36s51mp6.js → chunk-06dwvzv0.js} +64 -64
- package/dist/{chunk-fwja3qb1.js → chunk-24h0y27w.js} +1 -1
- package/dist/{chunk-ths93svq.js → chunk-3vbs995s.js} +208 -352
- package/dist/{chunk-4m923rz8.js → chunk-4142qeg3.js} +3 -3
- package/dist/{chunk-02ye1s9f.js → chunk-5ba08a9e.js} +18 -18
- package/dist/{chunk-nge8fq10.js → chunk-5mxvqg32.js} +9 -9
- package/dist/{chunk-n1aqwdc2.js → chunk-6agcvxbj.js} +10 -10
- package/dist/{chunk-8cxh8j07.js → chunk-89rpg6j9.js} +94 -94
- package/dist/{chunk-3z9yz32f.js → chunk-8xpdkxr7.js} +14 -60
- package/dist/{chunk-1bkrxc3v.js → chunk-aa30tt6t.js} +2 -2
- package/dist/{chunk-4t6nrgxw.js → chunk-d4kmyv5h.js} +4 -4
- package/dist/{chunk-npjpmb0w.js → chunk-dwxqp8ez.js} +9 -9
- package/dist/{chunk-x5nv63jj.js → chunk-ef3nzqng.js} +3 -3
- package/dist/{chunk-8t1vygmr.js → chunk-fk5238tn.js} +4 -4
- package/dist/{chunk-eahqsd8h.js → chunk-ggmwpwhf.js} +2 -2
- package/dist/{chunk-szt25e0z.js → chunk-hgfphycc.js} +191 -39
- package/dist/{chunk-95w14qxp.js → chunk-hmt2egsx.js} +6 -6
- package/dist/{chunk-9d03t0pn.js → chunk-hw9fcfs0.js} +9 -9
- package/dist/{chunk-yab3j170.js → chunk-mmd7mjv0.js} +3 -3
- package/dist/{chunk-mcw7wvtx.js → chunk-pxvd8w2v.js} +6 -1
- package/dist/{chunk-zb5pnthp.js → chunk-st8ggqv1.js} +33 -33
- package/dist/{chunk-2xh5p0na.js → chunk-vjsqg4a5.js} +12 -11
- package/dist/{chunk-z74fnmqb.js → chunk-vmww6hnk.js} +20 -20
- package/dist/{chunk-n734b61f.js → chunk-zencwg2t.js} +1 -1
- package/dist/{chunk-8pbnfqaz.js → chunk-zgraq2y3.js} +101 -59
- 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,7 +40,8 @@ import {
|
|
|
32
40
|
toCodecJson,
|
|
33
41
|
Json,
|
|
34
42
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-zgraq2y3.js";
|
|
44
|
+
import"./chunk-pxvd8w2v.js";
|
|
36
45
|
import {
|
|
37
46
|
SecureRandom,
|
|
38
47
|
layerWebCrypto,
|
|
@@ -44,32 +53,23 @@ import {
|
|
|
44
53
|
layer4,
|
|
45
54
|
kitmanMcpServer,
|
|
46
55
|
RunnerRpcProtocolVersion
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
decodeText,
|
|
50
|
-
mkString,
|
|
51
|
-
FileSystem,
|
|
52
|
-
Path,
|
|
53
|
-
withDefault,
|
|
54
|
-
String2
|
|
55
|
-
} from "./chunk-szt25e0z.js";
|
|
56
|
+
} from "./chunk-3vbs995s.js";
|
|
56
57
|
import {
|
|
57
58
|
Packument,
|
|
58
59
|
tarballMatches
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-4142qeg3.js";
|
|
61
|
+
import"./chunk-dwxqp8ez.js";
|
|
61
62
|
import {
|
|
62
63
|
AgentDeclaration,
|
|
63
64
|
KitDeclarations,
|
|
64
65
|
describeFlag,
|
|
65
66
|
Described
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-vjsqg4a5.js";
|
|
67
68
|
import {
|
|
68
69
|
ChildProcessSpawner,
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import"./chunk-
|
|
72
|
-
import"./chunk-mcw7wvtx.js";
|
|
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
|
-
make10,
|
|
31
|
-
runForEach,
|
|
32
|
-
compiled2
|
|
33
|
-
} from "./chunk-szt25e0z.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,7 +167,7 @@ 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(
|
|
170
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
171
171
|
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
172
172
|
stderr: "ignore",
|
|
173
173
|
extendEnv: false,
|
|
@@ -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
|
|
18
|
-
FileSystem,
|
|
19
|
-
Path
|
|
20
|
-
} from "./chunk-szt25e0z.js";
|
|
20
|
+
} from "./chunk-zgraq2y3.js";
|
|
21
|
+
import"./chunk-pxvd8w2v.js";
|
|
21
22
|
import {
|
|
22
23
|
tomlTableHeader2,
|
|
23
24
|
tomlKeyPath2,
|
|
24
25
|
kitmanSkillEntry,
|
|
25
26
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-hw9fcfs0.js";
|
|
27
28
|
import {
|
|
28
29
|
instructionsStart,
|
|
29
30
|
instructionsEnd,
|
|
30
31
|
renderMcpServer,
|
|
31
32
|
materializeKitSetup,
|
|
32
33
|
tomlInline
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import"./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-mcw7wvtx.js";
|
|
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") {
|