@kitman-sh/cli 0.12.15 → 0.12.16
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-m9revazf.js → chunk-6ymzrhwd.js} +4 -4
- package/dist/{chunk-saeb3621.js → chunk-7vkmemp0.js} +6 -6
- package/dist/{chunk-ekr50hg6.js → chunk-fn9w3x0q.js} +41 -41
- package/dist/{chunk-f8ck3syn.js → chunk-rcdk29fp.js} +1 -1
- package/dist/{chunk-hkwxb1am.js → chunk-rpr8qhm1.js} +4 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/{chunk-44mcajbw.js → chunk-hrdbtqex.js} +8 -8
|
@@ -6000,12 +6000,11 @@ var deleteRef = (checkouts, repoBinding, ref) => gen(function* () {
|
|
|
6000
6000
|
var listenForSignals = (input) => gen(function* () {
|
|
6001
6001
|
const services = yield* context();
|
|
6002
6002
|
const clearCheckpoints = clearSettledCheckpoints(input.rpc, input.checkouts).pipe(catch_((error) => logWarning("runner_checkpoints_not_cleared", error.message)), provideContext2(services));
|
|
6003
|
-
const held = yield* input.checkouts.held;
|
|
6004
|
-
const settled = held.length === 0 ? [] : yield* input.rpc.settledRuns(held);
|
|
6005
|
-
yield* forEach(settled, input.checkouts.drop, { discard: true });
|
|
6006
6003
|
const scope = yield* scope2;
|
|
6007
|
-
|
|
6008
|
-
|
|
6004
|
+
const dropSettled = (runIds) => forEach(runIds, (runId) => ignore(input.checkouts.drop(runId)), { discard: true }).pipe(provideContext2(services), andThen2(clearCheckpoints), forkIn(scope), asVoid);
|
|
6005
|
+
const held = yield* input.checkouts.held;
|
|
6006
|
+
yield* dropSettled(held.length === 0 ? [] : yield* input.rpc.settledRuns(held));
|
|
6007
|
+
yield* input.rpc.listen(input.runnerReplicaId, (signal) => isUpdateAvailable(signal) ? input.update?.(signal.version) ?? void_3 : isRunSettled(signal) ? dropSettled([signal.runId]) : input.signals.push(signal));
|
|
6009
6008
|
}).pipe(scoped, catch_((error) => logWarning("runner_signals_disconnected", error.message)), catchDefect((defect) => logError("runner_signals_failed", pretty(die2(defect)))), andThen2(sleep(input.reconnectAfter)), forever);
|
|
6010
6009
|
var pushWork = (worktree, branch, step, shared, env) => gen(function* () {
|
|
6011
6010
|
const git = (...args) => runCommand2("git", ["-C", worktree, ...args]);
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-5zhh41gb.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-7vkmemp0.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -34,6 +34,14 @@ import {
|
|
|
34
34
|
encodePrettyJsonString
|
|
35
35
|
} from "./chunk-zw3gf6r5.js";
|
|
36
36
|
import"./chunk-q5w3v4k1.js";
|
|
37
|
+
import {
|
|
38
|
+
decodeText,
|
|
39
|
+
mkString,
|
|
40
|
+
FileSystem,
|
|
41
|
+
Path,
|
|
42
|
+
withDefault,
|
|
43
|
+
String2
|
|
44
|
+
} from "./chunk-0h49y8gf.js";
|
|
37
45
|
import {
|
|
38
46
|
SecureRandom,
|
|
39
47
|
layerWebCrypto,
|
|
@@ -46,14 +54,6 @@ import {
|
|
|
46
54
|
kitmanMcpServer,
|
|
47
55
|
RunnerRpcProtocolVersion
|
|
48
56
|
} from "./chunk-cjzcg317.js";
|
|
49
|
-
import {
|
|
50
|
-
decodeText,
|
|
51
|
-
mkString,
|
|
52
|
-
FileSystem,
|
|
53
|
-
Path,
|
|
54
|
-
withDefault,
|
|
55
|
-
String2
|
|
56
|
-
} from "./chunk-0h49y8gf.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|