@kitman-sh/cli 0.10.96 → 0.10.97
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-vjcn82g3.js → chunk-25q7mg6g.js} +17 -17
- package/dist/{chunk-t7ncjd6s.js → chunk-2ndnvcp3.js} +8 -8
- package/dist/{chunk-q2d37e4x.js → chunk-3snbxcct.js} +21 -21
- package/dist/{chunk-c9wzakrx.js → chunk-3tjssyvf.js} +8 -8
- package/dist/{chunk-g3r5xp0t.js → chunk-9m9cv82t.js} +2 -2
- package/dist/{chunk-a244myqw.js → chunk-c3k32vw4.js} +1 -1
- package/dist/{chunk-ampzxrqe.js → chunk-dstm8aen.js} +70 -28
- package/dist/{chunk-dh3108wk.js → chunk-gfe4kk5k.js} +5 -5
- package/dist/{chunk-fv6kgtze.js → chunk-hsf2sj69.js} +2 -2
- package/dist/{chunk-s3qgchay.js → chunk-jtyxjjvs.js} +23 -23
- package/dist/{chunk-bk3dpjxq.js → chunk-k4fvnphp.js} +1 -1
- package/dist/{chunk-tpdcq44c.js → chunk-k6ndhjcd.js} +23 -23
- package/dist/{chunk-et6qa95h.js → chunk-mbqeakm1.js} +1 -1
- package/dist/{chunk-mcpesyz2.js → chunk-mkr1nwdy.js} +3 -3
- package/dist/{chunk-6aa8y66v.js → chunk-mrzmq4jq.js} +4 -4
- package/dist/{chunk-8tq7n7wc.js → chunk-mxqrv47k.js} +5 -5
- package/dist/{chunk-4psvc86s.js → chunk-nwqcmdtz.js} +4 -4
- package/dist/{chunk-q3nygncv.js → chunk-q4q69zgm.js} +7 -7
- package/dist/{chunk-15w92pn6.js → chunk-qr0n7rde.js} +12 -12
- package/dist/{chunk-rdv42ygn.js → chunk-rmsm8vnc.js} +4 -4
- package/dist/{chunk-qacvrg7j.js → chunk-t8ny8exc.js} +7 -7
- package/dist/{chunk-3r7ahnwy.js → chunk-w0sehmpd.js} +14 -60
- package/dist/{chunk-2kr43ps6.js → chunk-y8dzp1t8.js} +107 -107
- package/dist/{chunk-abf4m4b2.js → chunk-yzmyy4vs.js} +5 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
String4,
|
|
200
200
|
toCodecStringTree,
|
|
201
201
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-dstm8aen.js";
|
|
203
203
|
|
|
204
204
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
205
|
var headUnsafe = (self) => {
|
|
@@ -1127,7 +1127,7 @@ var MutableRefProto = {
|
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
|
-
var
|
|
1130
|
+
var make7 = (value) => {
|
|
1131
1131
|
const ref = Object.create(MutableRefProto);
|
|
1132
1132
|
ref.current = value;
|
|
1133
1133
|
return ref;
|
|
@@ -1288,7 +1288,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1288
1288
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1289
1289
|
var TypeId3 = "~effect/PubSub";
|
|
1290
1290
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1291
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1291
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1292
1292
|
var unbounded = (options) => make5({
|
|
1293
1293
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1294
1294
|
strategy: () => new DroppingStrategy
|
|
@@ -1383,7 +1383,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1383
1383
|
subscribers.delete(subscription);
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1386
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1387
1387
|
class UnboundedPubSub {
|
|
1388
1388
|
publisherHead = {
|
|
1389
1389
|
value: AbsentValue,
|
|
@@ -1800,7 +1800,7 @@ var QueueProto = {
|
|
|
1800
1800
|
};
|
|
1801
1801
|
}
|
|
1802
1802
|
};
|
|
1803
|
-
var
|
|
1803
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1804
1804
|
const self = Object.create(QueueProto);
|
|
1805
1805
|
self.dispatcher = fiber.currentDispatcher;
|
|
1806
1806
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1815,14 +1815,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1815
1815
|
};
|
|
1816
1816
|
return succeed2(self);
|
|
1817
1817
|
});
|
|
1818
|
-
var bounded = (capacity) =>
|
|
1818
|
+
var bounded = (capacity) => make8({
|
|
1819
1819
|
capacity
|
|
1820
1820
|
});
|
|
1821
|
-
var sliding = (capacity) =>
|
|
1821
|
+
var sliding = (capacity) => make8({
|
|
1822
1822
|
capacity,
|
|
1823
1823
|
strategy: "sliding"
|
|
1824
1824
|
});
|
|
1825
|
-
var unbounded2 = () =>
|
|
1825
|
+
var unbounded2 = () => make8();
|
|
1826
1826
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1827
1827
|
var offerUnsafe = (self, message) => {
|
|
1828
1828
|
if (self.state._tag !== "Open") {
|
|
@@ -2248,7 +2248,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2248
2248
|
return onError(pull, onCause);
|
|
2249
2249
|
}));
|
|
2250
2250
|
var toTransform = (channel) => channel.transform;
|
|
2251
|
-
var asyncQueue = (scope, f, options) =>
|
|
2251
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2252
2252
|
capacity: options?.bufferSize,
|
|
2253
2253
|
strategy: options?.strategy
|
|
2254
2254
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2289,7 +2289,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2289
2289
|
}));
|
|
2290
2290
|
var readableStreamToPullUnsafe = (options) => {
|
|
2291
2291
|
const reader = options.readable.getReader();
|
|
2292
|
-
const exit = options.exit ??
|
|
2292
|
+
const exit = options.exit ?? make7(undefined);
|
|
2293
2293
|
const pull = suspend3(() => {
|
|
2294
2294
|
if (exit.current)
|
|
2295
2295
|
return exit.current;
|
|
@@ -2903,7 +2903,7 @@ var release = (self, state) => {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
|
|
2905
2905
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2906
|
-
var
|
|
2906
|
+
var make9 = make6;
|
|
2907
2907
|
var get3 = get2;
|
|
2908
2908
|
|
|
2909
2909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2915,7 +2915,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2915
2915
|
var toChannel2 = (stream) => stream.channel;
|
|
2916
2916
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2917
2917
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2918
|
-
var
|
|
2918
|
+
var make10 = (...values) => fromArray2(values);
|
|
2919
2919
|
var suspend = (stream) => {
|
|
2920
2920
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2921
2921
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3080,7 +3080,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3080
3080
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3081
3081
|
var TypeId10 = "~effect/FileSystem";
|
|
3082
3082
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3083
|
-
var
|
|
3083
|
+
var make11 = (impl) => FileSystem.of({
|
|
3084
3084
|
...impl,
|
|
3085
3085
|
[TypeId10]: TypeId10,
|
|
3086
3086
|
glob: make2(impl),
|
|
@@ -3140,7 +3140,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3140
3140
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3141
3141
|
var TypeId11 = "~effect/Path";
|
|
3142
3142
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3143
|
-
var
|
|
3143
|
+
var make12 = (impl) => Path.of({
|
|
3144
3144
|
...impl,
|
|
3145
3145
|
[TypeId11]: TypeId11,
|
|
3146
3146
|
resolveWithin(root, input) {
|
|
@@ -3215,7 +3215,7 @@ function makeProvider(load, mapInput) {
|
|
|
3215
3215
|
function makeSource(get, transform) {
|
|
3216
3216
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3217
3217
|
}
|
|
3218
|
-
function
|
|
3218
|
+
function make13(get) {
|
|
3219
3219
|
return makeSource(get, identityPath);
|
|
3220
3220
|
}
|
|
3221
3221
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3224,7 +3224,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3224
3224
|
function fromEnvRecord(env, options) {
|
|
3225
3225
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3226
3226
|
const trie = buildEnvTrie(env);
|
|
3227
|
-
return
|
|
3227
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3228
3228
|
}
|
|
3229
3229
|
function fromEnv(options) {
|
|
3230
3230
|
const env = options?.env ?? {
|
|
@@ -3552,4 +3552,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3552
3552
|
...argv
|
|
3553
3553
|
];
|
|
3554
3554
|
|
|
3555
|
-
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3555
|
+
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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-dstm8aen.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-k4fvnphp.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make10,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-25q7mg6g.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make2
|
|
39
|
+
} from "./chunk-w0sehmpd.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
173
|
-
stdin:
|
|
172
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
173
|
+
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make15,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-dstm8aen.js";
|
|
89
89
|
import {
|
|
90
90
|
tap,
|
|
91
91
|
mapError,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-25q7mg6g.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
digestSha256,
|
|
136
136
|
sha256Hasher,
|
|
137
137
|
raw,
|
|
138
|
-
|
|
138
|
+
make4,
|
|
139
139
|
get,
|
|
140
140
|
put,
|
|
141
141
|
HttpClient,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-y8dzp1t8.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-mbqeakm1.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-k4fvnphp.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
216
|
+
make2
|
|
217
|
+
} from "./chunk-w0sehmpd.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-mrzmq4jq.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-mrzmq4jq.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -739,7 +739,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
739
739
|
});
|
|
740
740
|
var syncKits = (input) => gen(function* () {
|
|
741
741
|
const fs = yield* FileSystem;
|
|
742
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
742
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-3tjssyvf.js"));
|
|
743
743
|
const harnesses = yield* syncTargets(input.harness);
|
|
744
744
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
745
745
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1255,7 +1255,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1255
1255
|
run: (command, args) => runCommand2(command, args),
|
|
1256
1256
|
attach: (command, args) => gen(function* () {
|
|
1257
1257
|
const spawner = yield* ChildProcessSpawner;
|
|
1258
|
-
const handle = yield* spawner.spawn(
|
|
1258
|
+
const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1259
1259
|
const exitCode = yield* handle.exitCode;
|
|
1260
1260
|
if (exitCode !== 0)
|
|
1261
1261
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -1657,7 +1657,7 @@ var package_default = {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
|
|
1659
1659
|
// apps/cli/src/scaffold.ts
|
|
1660
|
-
var cliVersion = "0.10.
|
|
1660
|
+
var cliVersion = "0.10.97";
|
|
1661
1661
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1662
1662
|
name,
|
|
1663
1663
|
private: true,
|
|
@@ -1907,7 +1907,7 @@ var Usage = [
|
|
|
1907
1907
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1908
1908
|
].join(`
|
|
1909
1909
|
`);
|
|
1910
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1910
|
+
var agentRuntime = promise(() => import("./chunk-jtyxjjvs.js"));
|
|
1911
1911
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1912
1912
|
defaultValue: () => gen(function* () {
|
|
1913
1913
|
const tui = yield* tryPromise({
|
|
@@ -2783,7 +2783,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2783
2783
|
});
|
|
2784
2784
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2785
2785
|
defaultValue: () => (options) => gen(function* () {
|
|
2786
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2786
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-q4q69zgm.js"));
|
|
2787
2787
|
return yield* makeRunnerRpcClient({
|
|
2788
2788
|
runnerId: options.runnerId,
|
|
2789
2789
|
bearer: options.bearer,
|
|
@@ -2986,7 +2986,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2986
2986
|
});
|
|
2987
2987
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2988
2988
|
const platform = yield* context();
|
|
2989
|
-
const updated = yield*
|
|
2989
|
+
const updated = yield* make15();
|
|
2990
2990
|
const scope = yield* scope2;
|
|
2991
2991
|
yield* listenForSignals({
|
|
2992
2992
|
rpc,
|
|
@@ -3175,7 +3175,7 @@ function mcpCommand(args) {
|
|
|
3175
3175
|
if (command.action === "run") {
|
|
3176
3176
|
if (command.args.length > 0)
|
|
3177
3177
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3178
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3178
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-k6ndhjcd.js"));
|
|
3179
3179
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3180
3180
|
}
|
|
3181
3181
|
if (command.action !== "setup")
|
|
@@ -4386,9 +4386,9 @@ function claimCommand(args) {
|
|
|
4386
4386
|
}
|
|
4387
4387
|
});
|
|
4388
4388
|
}
|
|
4389
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4389
|
+
var KitWriter = map8(promise(() => import("./chunk-qr0n7rde.js")), (build) => build.writeKit);
|
|
4390
4390
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4391
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4391
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-qr0n7rde.js")), (build) => build.buildKit(directory))
|
|
4392
4392
|
});
|
|
4393
4393
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4394
4394
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5146,7 +5146,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5146
5146
|
return gen(function* () {
|
|
5147
5147
|
const fs = yield* FileSystem;
|
|
5148
5148
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5149
|
-
const response = yield* send(
|
|
5149
|
+
const response = yield* send(make4(download.method)(download.url), failed);
|
|
5150
5150
|
if (response.status < 200 || response.status >= 300)
|
|
5151
5151
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5152
5152
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -12,30 +12,30 @@ import {
|
|
|
12
12
|
orElseSucceed,
|
|
13
13
|
decodeJsonString,
|
|
14
14
|
encodePrettyJsonString
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-dstm8aen.js";
|
|
16
|
+
import"./chunk-mbqeakm1.js";
|
|
17
17
|
import {
|
|
18
18
|
isJsonObject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-k4fvnphp.js";
|
|
20
20
|
import {
|
|
21
21
|
FileSystem,
|
|
22
22
|
Path
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-25q7mg6g.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-gfe4kk5k.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-y8dzp1t8.js";
|
|
37
|
+
import"./chunk-mkr1nwdy.js";
|
|
38
|
+
import"./chunk-w0sehmpd.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-25q7mg6g.js";
|
|
18
|
+
import"./chunk-dstm8aen.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|