@kitman-sh/cli 0.12.0-rc.2 → 0.12.0-rc.4
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-0qz10ek8.js → chunk-6b0k02x4.js} +1 -1
- package/dist/{chunk-rzzd7zv3.js → chunk-74txrt4s.js} +4 -4
- package/dist/{chunk-vtfwjhzh.js → chunk-79gx7ek9.js} +70 -28
- package/dist/{chunk-db9q9y8h.js → chunk-7kjsvwzv.js} +5 -5
- package/dist/{chunk-emh8zw7k.js → chunk-aafxvmj1.js} +7 -7
- package/dist/{chunk-d9bv70qb.js → chunk-b50dvx41.js} +5 -5
- package/dist/{chunk-nzjb36ad.js → chunk-bq55md8p.js} +1 -1
- package/dist/{chunk-c6rbt85q.js → chunk-c9007k48.js} +1 -1
- package/dist/{chunk-2ptxq9cq.js → chunk-ckkpqcfv.js} +10 -6
- package/dist/{chunk-myqf27w2.js → chunk-e7q2frvs.js} +7 -7
- package/dist/{chunk-n6hxwdm6.js → chunk-ezf2myj0.js} +3 -3
- package/dist/{chunk-sk6ceghr.js → chunk-jntxtx9j.js} +14 -60
- package/dist/{chunk-vmv7gwwr.js → chunk-k81ay8y5.js} +8 -8
- package/dist/{chunk-2k08hw5q.js → chunk-kybp1mkk.js} +8 -8
- package/dist/{chunk-6pz3nsn5.js → chunk-nzsrse8d.js} +40 -40
- package/dist/{chunk-z450wa10.js → chunk-pw10mq9e.js} +4 -4
- package/dist/{chunk-ha241q06.js → chunk-qjd6w9sw.js} +5 -3
- package/dist/{chunk-fhyn2b38.js → chunk-r1z41qx6.js} +120 -111
- package/dist/{chunk-cjscsbg8.js → chunk-rjasmnav.js} +22 -22
- package/dist/{chunk-7gnrnv4a.js → chunk-t2mr6z38.js} +737 -26
- package/dist/{chunk-bxqfgc6z.js → chunk-w0aj9mkz.js} +8 -7
- package/dist/{chunk-4f72nbw2.js → chunk-w6cm939j.js} +19 -19
- package/dist/{chunk-5j848ckb.js → chunk-xavcp9se.js} +2 -2
- package/dist/{chunk-japwbj9n.js → chunk-xy5f2nv9.js} +2 -2
- package/dist/{chunk-yfamq8xw.js → chunk-ydydx55z.js} +1 -1
- package/dist/{chunk-3d4d52e5.js → chunk-zmcghp8w.js} +23 -18
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -23,24 +23,25 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-79gx7ek9.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-c9007k48.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
|
-
optionalEnv
|
|
35
|
-
|
|
34
|
+
optionalEnv,
|
|
35
|
+
tempDirectoryScoped
|
|
36
|
+
} from "./chunk-zmcghp8w.js";
|
|
36
37
|
import {
|
|
37
38
|
AgentHarnessIds,
|
|
38
39
|
sha2562,
|
|
39
40
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-r1z41qx6.js";
|
|
41
42
|
import {
|
|
42
43
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ezf2myj0.js";
|
|
44
45
|
|
|
45
46
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
47
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -1234,7 +1235,7 @@ var writeSkill = (plan, operation) => gen(function* () {
|
|
|
1234
1235
|
var checkoutGitTree = (url, ref) => gen(function* () {
|
|
1235
1236
|
const fs = yield* FileSystem;
|
|
1236
1237
|
const path = yield* Path;
|
|
1237
|
-
const scratch = yield* fs
|
|
1238
|
+
const scratch = yield* tempDirectoryScoped(fs, { prefix: "kitman-git-" });
|
|
1238
1239
|
const repository = path.join(scratch, "repository");
|
|
1239
1240
|
const tree = path.join(scratch, "tree");
|
|
1240
1241
|
const git = (...args) => runCommand2("git", ["--git-dir", repository, ...args]);
|
|
@@ -32,17 +32,9 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-3d4d52e5.js";
|
|
35
|
+
} from "./chunk-79gx7ek9.js";
|
|
36
|
+
import"./chunk-6b0k02x4.js";
|
|
37
|
+
import"./chunk-c9007k48.js";
|
|
46
38
|
import {
|
|
47
39
|
SecureRandom,
|
|
48
40
|
layerWebCrypto,
|
|
@@ -54,23 +46,31 @@ import {
|
|
|
54
46
|
layer4,
|
|
55
47
|
kitmanMcpServer,
|
|
56
48
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-r1z41qx6.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-zmcghp8w.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-ezf2myj0.js";
|
|
62
|
+
import"./chunk-e7q2frvs.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-ckkpqcfv.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
71
|
+
make2
|
|
72
|
+
} from "./chunk-jntxtx9j.js";
|
|
73
|
+
import"./chunk-7kjsvwzv.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(make2(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)),
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-79gx7ek9.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6b0k02x4.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-zmcghp8w.js";
|
|
18
|
+
import"./chunk-79gx7ek9.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -166,6 +166,7 @@ import {
|
|
|
166
166
|
scope2,
|
|
167
167
|
scoped,
|
|
168
168
|
scopedWith,
|
|
169
|
+
acquireRelease,
|
|
169
170
|
ensuring2,
|
|
170
171
|
onError,
|
|
171
172
|
onExitPrimitive2,
|
|
@@ -181,6 +182,7 @@ import {
|
|
|
181
182
|
runForkWith,
|
|
182
183
|
runPromise,
|
|
183
184
|
fnUntraced,
|
|
185
|
+
logWarning,
|
|
184
186
|
mapEager,
|
|
185
187
|
flatMapEager,
|
|
186
188
|
catchEager,
|
|
@@ -199,7 +201,7 @@ import {
|
|
|
199
201
|
String4,
|
|
200
202
|
toCodecStringTree,
|
|
201
203
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-79gx7ek9.js";
|
|
203
205
|
|
|
204
206
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
207
|
var headUnsafe = (self) => {
|
|
@@ -1127,7 +1129,7 @@ var MutableRefProto = {
|
|
|
1127
1129
|
};
|
|
1128
1130
|
}
|
|
1129
1131
|
};
|
|
1130
|
-
var
|
|
1132
|
+
var make7 = (value) => {
|
|
1131
1133
|
const ref = Object.create(MutableRefProto);
|
|
1132
1134
|
ref.current = value;
|
|
1133
1135
|
return ref;
|
|
@@ -1288,7 +1290,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1288
1290
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1289
1291
|
var TypeId3 = "~effect/PubSub";
|
|
1290
1292
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1291
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1293
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1292
1294
|
var unbounded = (options) => make5({
|
|
1293
1295
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1294
1296
|
strategy: () => new DroppingStrategy
|
|
@@ -1383,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1383
1385
|
subscribers.delete(subscription);
|
|
1384
1386
|
}
|
|
1385
1387
|
};
|
|
1386
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1388
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1387
1389
|
class UnboundedPubSub {
|
|
1388
1390
|
publisherHead = {
|
|
1389
1391
|
value: AbsentValue,
|
|
@@ -1800,7 +1802,7 @@ var QueueProto = {
|
|
|
1800
1802
|
};
|
|
1801
1803
|
}
|
|
1802
1804
|
};
|
|
1803
|
-
var
|
|
1805
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1804
1806
|
const self = Object.create(QueueProto);
|
|
1805
1807
|
self.dispatcher = fiber.currentDispatcher;
|
|
1806
1808
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1815,14 +1817,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1815
1817
|
};
|
|
1816
1818
|
return succeed2(self);
|
|
1817
1819
|
});
|
|
1818
|
-
var bounded = (capacity) =>
|
|
1820
|
+
var bounded = (capacity) => make8({
|
|
1819
1821
|
capacity
|
|
1820
1822
|
});
|
|
1821
|
-
var sliding = (capacity) =>
|
|
1823
|
+
var sliding = (capacity) => make8({
|
|
1822
1824
|
capacity,
|
|
1823
1825
|
strategy: "sliding"
|
|
1824
1826
|
});
|
|
1825
|
-
var unbounded2 = () =>
|
|
1827
|
+
var unbounded2 = () => make8();
|
|
1826
1828
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1827
1829
|
var offerUnsafe = (self, message) => {
|
|
1828
1830
|
if (self.state._tag !== "Open") {
|
|
@@ -2248,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2248
2250
|
return onError(pull, onCause);
|
|
2249
2251
|
}));
|
|
2250
2252
|
var toTransform = (channel) => channel.transform;
|
|
2251
|
-
var asyncQueue = (scope, f, options) =>
|
|
2253
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2252
2254
|
capacity: options?.bufferSize,
|
|
2253
2255
|
strategy: options?.strategy
|
|
2254
2256
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2289,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2289
2291
|
}));
|
|
2290
2292
|
var readableStreamToPullUnsafe = (options) => {
|
|
2291
2293
|
const reader = options.readable.getReader();
|
|
2292
|
-
const exit = options.exit ??
|
|
2294
|
+
const exit = options.exit ?? make7(undefined);
|
|
2293
2295
|
const pull = suspend3(() => {
|
|
2294
2296
|
if (exit.current)
|
|
2295
2297
|
return exit.current;
|
|
@@ -2903,7 +2905,7 @@ var release = (self, state) => {
|
|
|
2903
2905
|
};
|
|
2904
2906
|
|
|
2905
2907
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2906
|
-
var
|
|
2908
|
+
var make9 = make6;
|
|
2907
2909
|
var get3 = get2;
|
|
2908
2910
|
|
|
2909
2911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2915,7 +2917,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2915
2917
|
var toChannel2 = (stream) => stream.channel;
|
|
2916
2918
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2917
2919
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2918
|
-
var
|
|
2920
|
+
var make10 = (...values) => fromArray2(values);
|
|
2919
2921
|
var suspend = (stream) => {
|
|
2920
2922
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2921
2923
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3080,7 +3082,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3080
3082
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3081
3083
|
var TypeId10 = "~effect/FileSystem";
|
|
3082
3084
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3083
|
-
var
|
|
3085
|
+
var make11 = (impl) => FileSystem.of({
|
|
3084
3086
|
...impl,
|
|
3085
3087
|
[TypeId10]: TypeId10,
|
|
3086
3088
|
glob: make2(impl),
|
|
@@ -3140,7 +3142,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3140
3142
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3141
3143
|
var TypeId11 = "~effect/Path";
|
|
3142
3144
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3143
|
-
var
|
|
3145
|
+
var make12 = (impl) => Path.of({
|
|
3144
3146
|
...impl,
|
|
3145
3147
|
[TypeId11]: TypeId11,
|
|
3146
3148
|
resolveWithin(root, input) {
|
|
@@ -3215,7 +3217,7 @@ function makeProvider(load, mapInput) {
|
|
|
3215
3217
|
function makeSource(get, transform) {
|
|
3216
3218
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3217
3219
|
}
|
|
3218
|
-
function
|
|
3220
|
+
function make13(get) {
|
|
3219
3221
|
return makeSource(get, identityPath);
|
|
3220
3222
|
}
|
|
3221
3223
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3224,7 +3226,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3224
3226
|
function fromEnvRecord(env, options) {
|
|
3225
3227
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3226
3228
|
const trie = buildEnvTrie(env);
|
|
3227
|
-
return
|
|
3229
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3228
3230
|
}
|
|
3229
3231
|
function fromEnv(options) {
|
|
3230
3232
|
const env = options?.env ?? {
|
|
@@ -3465,6 +3467,9 @@ var optionalEnv = (name) => gen(function* () {
|
|
|
3465
3467
|
}));
|
|
3466
3468
|
var operatorConfigHome = (home) => optionalEnv("XDG_CONFIG_HOME").pipe(map8((configHome) => configHome ?? `${home}/.config`));
|
|
3467
3469
|
|
|
3470
|
+
// packages/agent-runtime/src/temp-directory.ts
|
|
3471
|
+
var tempDirectoryScoped = (fs, options) => acquireRelease(fs.makeTempDirectory(options), (directory) => fs.remove(directory, { recursive: true, force: true }).pipe(catch_((error) => logWarning("temp_directory_not_removed", { directory, error: error.message }))));
|
|
3472
|
+
|
|
3468
3473
|
// packages/agent-runtime/src/srt-sandbox.ts
|
|
3469
3474
|
var harnessesUnsupportedInSrt2 = ["codex"];
|
|
3470
3475
|
var compiled2 = import.meta.url.startsWith("file:///$bunfs/");
|
|
@@ -3538,7 +3543,7 @@ var writeSrtSettings2 = (policy, unixSockets) => gen(function* () {
|
|
|
3538
3543
|
const settings = srtSettings2({ ...policy, readAllowedPaths }, seccomp === undefined ? [] : [seccomp], unixSockets);
|
|
3539
3544
|
if (settings === undefined)
|
|
3540
3545
|
return yield* die3(new Error("srt cannot run a Step with an open network"));
|
|
3541
|
-
const dir = yield* fs
|
|
3546
|
+
const dir = yield* tempDirectoryScoped(fs, { prefix: "kitman-srt-" });
|
|
3542
3547
|
const settingsFile = path.join(dir, "srt-settings.json");
|
|
3543
3548
|
yield* fs.writeFileString(settingsFile, encodeUnknownJsonStringSync(applyPath === undefined ? settings : { ...settings, seccomp: { applyPath } }));
|
|
3544
3549
|
return { dir, settingsFile };
|
|
@@ -3552,4 +3557,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3552
3557
|
...argv
|
|
3553
3558
|
];
|
|
3554
3559
|
|
|
3555
|
-
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3560
|
+
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty2, make10, 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, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
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-xy5f2nv9.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-pw10mq9e.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-b50dvx41.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-rjasmnav.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|