@kitman-sh/cli 0.12.6 → 0.12.8
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-s8m2tzdr.js → chunk-0tjg9eya.js} +1 -1
- package/dist/{chunk-vkchn89k.js → chunk-31gpnkq3.js} +5 -5
- package/dist/{chunk-n17dr5c1.js → chunk-3x6cbhzd.js} +4 -4
- package/dist/{chunk-892qrkb3.js → chunk-6d53ezj1.js} +62 -16
- package/dist/{chunk-dcnn882c.js → chunk-6w7ajkm8.js} +29 -29
- package/dist/{chunk-fen5480a.js → chunk-93ypzdpa.js} +7 -7
- package/dist/{chunk-jk5fp5cy.js → chunk-9qp59fht.js} +48 -48
- package/dist/{chunk-8djn7v2p.js → chunk-bh9k3kty.js} +59 -59
- package/dist/{chunk-x5t0c4g4.js → chunk-c8hwfktd.js} +7 -7
- package/dist/{chunk-y7vjk8vv.js → chunk-c8wpw9nh.js} +207 -222
- package/dist/{chunk-gezjwdpw.js → chunk-cr3qw0xf.js} +373 -448
- package/dist/{chunk-mm2m3bys.js → chunk-cw61zyh5.js} +1 -1
- package/dist/{chunk-bz4bp0q7.js → chunk-fh58za51.js} +3 -3
- package/dist/{chunk-7ncc3m3n.js → chunk-gyek54h3.js} +8 -8
- package/dist/{chunk-8sz25ptv.js → chunk-j1cnq2j0.js} +4 -4
- package/dist/{chunk-wberffvr.js → chunk-jwrs9pfa.js} +108 -108
- package/dist/{chunk-e711ebdj.js → chunk-kzwdhdej.js} +2 -2
- package/dist/{chunk-7tnm4jef.js → chunk-n9351czb.js} +7 -7
- package/dist/{chunk-k3ak93p1.js → chunk-pjpfc3sd.js} +1 -1
- package/dist/{chunk-x3cc7dfc.js → chunk-qjqa338f.js} +302 -249
- package/dist/{chunk-v4wn0tz8.js → chunk-s5pzy86v.js} +6 -6
- package/dist/{chunk-gtsq369x.js → chunk-tgwa9vqw.js} +9 -9
- package/dist/{chunk-23245qh7.js → chunk-wcvfkdwd.js} +26 -26
- package/dist/{chunk-rvpfyjtv.js → chunk-xng6j3a8.js} +1 -1
- package/dist/{chunk-skqn4h13.js → chunk-z5f7g1w1.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-qjqa338f.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"];
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
isJsonObject,
|
|
26
26
|
isString2,
|
|
27
27
|
encodeUnknownJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-qjqa338f.js";
|
|
29
29
|
import {
|
|
30
30
|
make10,
|
|
31
31
|
runForEach,
|
|
32
32
|
compiled2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-c8wpw9nh.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
make3
|
|
37
|
+
} from "./chunk-6d53ezj1.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(make3(command, args, {
|
|
171
171
|
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
172
172
|
stderr: "ignore",
|
|
173
173
|
extendEnv: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-6d53ezj1.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-cr3qw0xf.js";
|
|
16
|
+
import"./chunk-c8wpw9nh.js";
|
|
17
|
+
import"./chunk-qjqa338f.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
isString,
|
|
4
|
+
hasProperty,
|
|
5
|
+
symbol,
|
|
6
|
+
hash,
|
|
7
|
+
symbol2,
|
|
8
|
+
equals,
|
|
3
9
|
BaseProto,
|
|
10
|
+
PipeInspectableProto,
|
|
4
11
|
Prototype,
|
|
5
12
|
some,
|
|
6
13
|
Service2,
|
|
@@ -12,13 +19,10 @@ import {
|
|
|
12
19
|
never,
|
|
13
20
|
flatMap3,
|
|
14
21
|
andThen2,
|
|
15
|
-
|
|
22
|
+
map7,
|
|
16
23
|
raceFirst,
|
|
17
|
-
scoped
|
|
18
|
-
|
|
19
|
-
make16,
|
|
20
|
-
value
|
|
21
|
-
} from "./chunk-x3cc7dfc.js";
|
|
24
|
+
scoped
|
|
25
|
+
} from "./chunk-qjqa338f.js";
|
|
22
26
|
import {
|
|
23
27
|
unwrap,
|
|
24
28
|
drainFork,
|
|
@@ -27,7 +31,49 @@ import {
|
|
|
27
31
|
runCollect,
|
|
28
32
|
runDrain,
|
|
29
33
|
mkString
|
|
30
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-c8wpw9nh.js";
|
|
35
|
+
|
|
36
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
38
|
+
var value2 = (self) => {
|
|
39
|
+
if (redactedRegistry.has(self)) {
|
|
40
|
+
return redactedRegistry.get(self);
|
|
41
|
+
} else {
|
|
42
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
47
|
+
var TypeId = "~effect/Redacted";
|
|
48
|
+
var isRedacted = (u) => hasProperty(u, TypeId);
|
|
49
|
+
var make = (value, options) => {
|
|
50
|
+
const self = Object.create(Proto);
|
|
51
|
+
if (options?.label) {
|
|
52
|
+
self.label = options.label;
|
|
53
|
+
}
|
|
54
|
+
redactedRegistry.set(self, value);
|
|
55
|
+
return self;
|
|
56
|
+
};
|
|
57
|
+
var Proto = {
|
|
58
|
+
[TypeId]: {
|
|
59
|
+
_A: (_) => _
|
|
60
|
+
},
|
|
61
|
+
label: undefined,
|
|
62
|
+
...PipeInspectableProto,
|
|
63
|
+
toJSON() {
|
|
64
|
+
return this.toString();
|
|
65
|
+
},
|
|
66
|
+
toString() {
|
|
67
|
+
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
68
|
+
},
|
|
69
|
+
[symbol]() {
|
|
70
|
+
return hash(redactedRegistry.get(this));
|
|
71
|
+
},
|
|
72
|
+
[symbol2](that) {
|
|
73
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var value = value2;
|
|
31
77
|
|
|
32
78
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
33
79
|
function nominal() {
|
|
@@ -55,8 +101,8 @@ var HandleProto = {
|
|
|
55
101
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
56
102
|
...params
|
|
57
103
|
}, HandleProto);
|
|
58
|
-
var
|
|
59
|
-
const streamString = (command, options) => spawn(command).pipe(
|
|
104
|
+
var make2 = (spawn) => {
|
|
105
|
+
const streamString = (command, options) => spawn(command).pipe(map7((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
60
106
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
61
107
|
return ChildProcessSpawner.of({
|
|
62
108
|
spawn,
|
|
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
|
|
|
176
222
|
if (word.length === 0)
|
|
177
223
|
return;
|
|
178
224
|
const value = word.map(unwrap2).join("");
|
|
179
|
-
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ?
|
|
225
|
+
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
|
|
180
226
|
word = [];
|
|
181
227
|
plain = true;
|
|
182
228
|
braceDepth = 0;
|
|
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
|
|
|
266
312
|
};
|
|
267
313
|
|
|
268
314
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
|
|
269
|
-
var
|
|
270
|
-
var
|
|
315
|
+
var TypeId2 = "~effect/process/ChildProcess";
|
|
316
|
+
var Proto2 = {
|
|
271
317
|
.../* @__PURE__ */ Prototype({
|
|
272
318
|
label: "Command",
|
|
273
319
|
evaluate(fiber) {
|
|
274
320
|
return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
|
|
275
321
|
}
|
|
276
322
|
}),
|
|
277
|
-
[
|
|
323
|
+
[TypeId2]: TypeId2
|
|
278
324
|
};
|
|
279
|
-
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(
|
|
325
|
+
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
|
|
280
326
|
_tag: "StandardCommand",
|
|
281
327
|
command,
|
|
282
328
|
args,
|
|
283
329
|
options
|
|
284
330
|
});
|
|
285
|
-
var
|
|
331
|
+
var make3 = function make(...args) {
|
|
286
332
|
if (isTemplateString(args[0])) {
|
|
287
333
|
const [templates, ...expressions] = args;
|
|
288
334
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
|
|
|
340
386
|
}
|
|
341
387
|
return script;
|
|
342
388
|
};
|
|
343
|
-
export { ExitCode, ProcessId, makeHandle,
|
|
389
|
+
export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
gen,
|
|
11
11
|
fail7,
|
|
12
12
|
flatMap3,
|
|
13
|
-
|
|
13
|
+
map7,
|
|
14
14
|
catchTags,
|
|
15
15
|
mapError2,
|
|
16
16
|
orDie,
|
|
@@ -32,8 +32,16 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
35
|
+
} from "./chunk-qjqa338f.js";
|
|
36
|
+
import"./chunk-0tjg9eya.js";
|
|
37
|
+
import {
|
|
38
|
+
decodeText,
|
|
39
|
+
mkString,
|
|
40
|
+
FileSystem,
|
|
41
|
+
Path,
|
|
42
|
+
withDefault,
|
|
43
|
+
String2
|
|
44
|
+
} from "./chunk-c8wpw9nh.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-y7vjk8vv.js";
|
|
56
|
+
} from "./chunk-cr3qw0xf.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import
|
|
62
|
-
ChildProcessSpawner,
|
|
63
|
-
make2
|
|
64
|
-
} from "./chunk-892qrkb3.js";
|
|
65
|
-
import"./chunk-gtsq369x.js";
|
|
60
|
+
} from "./chunk-n9351czb.js";
|
|
61
|
+
import"./chunk-tgwa9vqw.js";
|
|
66
62
|
import {
|
|
67
63
|
AgentDeclaration,
|
|
68
64
|
KitDeclarations,
|
|
69
65
|
describeFlag,
|
|
70
66
|
Described
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import
|
|
67
|
+
} from "./chunk-gyek54h3.js";
|
|
68
|
+
import {
|
|
69
|
+
ChildProcessSpawner,
|
|
70
|
+
make3
|
|
71
|
+
} from "./chunk-6d53ezj1.js";
|
|
72
|
+
import"./chunk-wcvfkdwd.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(make3(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)),
|
|
@@ -118,7 +118,7 @@ var run = (command, args, cwd) => gen(function* () {
|
|
|
118
118
|
}).pipe(scoped);
|
|
119
119
|
var failure = (result) => (result.stderr.trim() || result.stdout.trim()).slice(-2000);
|
|
120
120
|
var provenance = (directory) => gen(function* () {
|
|
121
|
-
const git = (...args) => run("git", args, directory).pipe(
|
|
121
|
+
const git = (...args) => run("git", args, directory).pipe(map7((result) => result.ok ? result.stdout.trim() : undefined), orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
}));
|
|
124
124
|
const repository = yield* git("remote", "get-url", "origin");
|
|
@@ -144,7 +144,7 @@ var readText = (directory, text, what) => gen(function* () {
|
|
|
144
144
|
const file = yield* inKit(directory, text.file, what);
|
|
145
145
|
return yield* fs.readFileString(file).pipe(mapError2(() => new DeclarationsInvalid({ reason: `${what} ${text.file} does not read` })));
|
|
146
146
|
});
|
|
147
|
-
var readAgents = (directory, agents) => forEach(Object.entries(agents), ([id, { instructions, ...agent }]) => instructions === undefined ? succeed6([id, agent]) :
|
|
147
|
+
var readAgents = (directory, agents) => forEach(Object.entries(agents), ([id, { instructions, ...agent }]) => instructions === undefined ? succeed6([id, agent]) : map7(readText(directory, instructions, `Agent "${id}" instructions`), (text) => [id, { ...agent, instructions: text.trim() }])).pipe(map7(Object.fromEntries));
|
|
148
148
|
var utf8 = new TextDecoder("utf-8", { fatal: true });
|
|
149
149
|
var setupFile = (bytes) => {
|
|
150
150
|
try {
|
|
@@ -219,7 +219,7 @@ var fetchNpm = (name, wanted, what) => gen(function* () {
|
|
|
219
219
|
const dist = packument.versions[packument["dist-tags"][wanted] ?? wanted]?.dist;
|
|
220
220
|
if (dist === undefined)
|
|
221
221
|
return yield* failed("npm has no such version or dist-tag");
|
|
222
|
-
const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer),
|
|
222
|
+
const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer), map7((buffer) => new Uint8Array(buffer)), mapError2((error) => failed(error.message)));
|
|
223
223
|
if (!tarballMatches(tarball, dist))
|
|
224
224
|
return yield* failed(`the tarball does not match its integrity ${dist.integrity ?? `sha1 ${dist.shasum}`}`);
|
|
225
225
|
const directory = yield* fs.makeTempDirectoryScoped({ prefix: "kitman-npm-" });
|
|
@@ -260,11 +260,11 @@ var setupArchive = (directory, kit, setup, checkouts) => gen(function* () {
|
|
|
260
260
|
const file = yield* inKit(directory, setup.instructions, what);
|
|
261
261
|
files["instructions.md"] = setupFile(yield* fs.readFile(file).pipe(mapError2(() => new DeclarationsInvalid({ reason: `${what} do not read` }))));
|
|
262
262
|
}
|
|
263
|
-
const skills = setup.skills === undefined ? undefined : yield* forEach(setup.skills, (skill) =>
|
|
263
|
+
const skills = setup.skills === undefined ? undefined : yield* forEach(setup.skills, (skill) => map7(sourceTree(directory, skill.source, `Kit ${kit} skill ${skill.name}`, checkouts), (tree) => ({
|
|
264
264
|
...skill,
|
|
265
265
|
source: place(`skills/${skill.name}`, tree)
|
|
266
266
|
})));
|
|
267
|
-
const plugins = setup.plugins === undefined ? undefined : yield* forEach(setup.plugins, (plugin) =>
|
|
267
|
+
const plugins = setup.plugins === undefined ? undefined : yield* forEach(setup.plugins, (plugin) => map7(sourceTree(directory, plugin.sources[0], `Kit ${kit} plugin ${plugin.name}`, checkouts), (tree) => ({
|
|
268
268
|
...plugin,
|
|
269
269
|
sources: [place(`plugins/${plugin.name}`, tree)]
|
|
270
270
|
})));
|
|
@@ -310,7 +310,7 @@ var importedFile = (file, specifier) => gen(function* () {
|
|
|
310
310
|
const path = yield* Path;
|
|
311
311
|
const target = path.resolve(path.dirname(file), specifier);
|
|
312
312
|
for (const candidate of [target, `${target}.ts`, path.join(target, "kitman.config.ts")])
|
|
313
|
-
if (yield* fs.stat(candidate).pipe(
|
|
313
|
+
if (yield* fs.stat(candidate).pipe(map7((info) => info.type === "File"), orElseSucceed(() => false)))
|
|
314
314
|
return candidate;
|
|
315
315
|
return;
|
|
316
316
|
});
|
|
@@ -351,7 +351,7 @@ var kitModules = (root) => gen(function* () {
|
|
|
351
351
|
if (visited.has(file))
|
|
352
352
|
return;
|
|
353
353
|
visited.add(file);
|
|
354
|
-
const transpiled = yield* run("bun", ["build", "--no-bundle", file], root).pipe(
|
|
354
|
+
const transpiled = yield* run("bun", ["build", "--no-bundle", file], root).pipe(map7((result) => result.ok ? result.stdout : ""), orElseSucceed(() => ""));
|
|
355
355
|
for (const [, specifier] of transpiled.matchAll(/\b(?:from|import)\s*"(\.{1,2}\/[^"]+)"/gu)) {
|
|
356
356
|
const module = specifier === undefined ? undefined : yield* importedFile(file, specifier);
|
|
357
357
|
if (module === undefined || visited.has(module))
|
|
@@ -477,7 +477,7 @@ var buildKit = (directory, options = {}) => gen(function* () {
|
|
|
477
477
|
...own.schedules === undefined ? undefined : { schedules: own.schedules },
|
|
478
478
|
carried
|
|
479
479
|
}).pipe(mapError2((error) => new DeclarationsInvalid({ reason: error.message })));
|
|
480
|
-
const bundle = yield* fs.readFileString(bundleFile).pipe(
|
|
480
|
+
const bundle = yield* fs.readFileString(bundleFile).pipe(map7((text) => new TextEncoder().encode(text.replaceAll(entryName, ".kitman-build-entry.ts"))), mapError2((error) => new BundleFailed({ reason: error.message })));
|
|
481
481
|
return {
|
|
482
482
|
...identity,
|
|
483
483
|
bundle,
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-qjqa338f.js";
|
|
17
|
+
import"./chunk-0tjg9eya.js";
|
|
18
18
|
import {
|
|
19
19
|
FileSystem,
|
|
20
20
|
Path
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-c8wpw9nh.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-c8hwfktd.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-cr3qw0xf.js";
|
|
35
|
+
import"./chunk-n9351czb.js";
|
|
36
|
+
import"./chunk-6d53ezj1.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|