@cloop/runner 0.3.63 → 0.3.64
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/{box-KQU53AKX.js → box-OQO3DWIN.js} +23 -14
- package/dist/{chunk-7F7JEPHV.js → chunk-7AB5JOZN.js} +1 -1
- package/dist/{chunk-BRHNWQUZ.js → chunk-BRDSWUDJ.js} +1 -1
- package/dist/{chunk-NGBKGUKZ.js → chunk-DXX7OIZK.js} +9 -5
- package/dist/{chunk-665SIHSP.js → chunk-FN2G5ZWH.js} +3 -3
- package/dist/{chunk-B2QRBJ6M.js → chunk-GJVUF4SB.js} +1 -1
- package/dist/{chunk-PBG6CEI3.js → chunk-MSCSQNNI.js} +5 -5
- package/dist/{chunk-GGCR772B.js → chunk-QYPDDIJL.js} +1 -1
- package/dist/{chunk-JVL3R7C5.js → chunk-RTLLZQWP.js} +1 -1
- package/dist/{connect-PCVBVZFE.js → connect-TSDASBHE.js} +6 -6
- package/dist/{disconnect-UAZKEKN7.js → disconnect-MI2MKB37.js} +6 -6
- package/dist/{existing-runner-73IABFPZ.js → existing-runner-ZCFTLQ3Q.js} +6 -6
- package/dist/index.js +14 -14
- package/dist/{login-JUOQ5CEH.js → login-NTPTTFH6.js} +2 -2
- package/dist/{mcp-server-5OILYLIJ.js → mcp-server-3HANVJQE.js} +1 -1
- package/dist/{runner-AL2SSJN6.js → runner-UUSWMN54.js} +3 -3
- package/dist/{runs-FUVWTDJ3.js → runs-Q3ONIMHU.js} +2 -2
- package/dist/{statusline-3HRPL3SD.js → statusline-3TMAMI7F.js} +1 -1
- package/dist/{takeover-6AEWWDPT.js → takeover-GTOQXWAM.js} +4 -4
- package/dist/{use-SDYC5SES.js → use-N27RLY7L.js} +6 -6
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
serveTakeovers
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FN2G5ZWH.js";
|
|
5
|
+
import "./chunk-QYPDDIJL.js";
|
|
6
6
|
import {
|
|
7
7
|
CAPTURE_TICK_MS,
|
|
8
8
|
DEFAULT_FALLBACK_MODEL,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
systemServices,
|
|
41
41
|
unitFor,
|
|
42
42
|
which
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MSCSQNNI.js";
|
|
44
44
|
import {
|
|
45
45
|
MeshSocket,
|
|
46
46
|
WAKE_TICK_MS,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
runnerStatePath,
|
|
59
59
|
threadsFilePath,
|
|
60
60
|
writeRunnerState
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-7AB5JOZN.js";
|
|
62
62
|
import {
|
|
63
63
|
BackgroundReading,
|
|
64
64
|
BoxToolError,
|
|
@@ -110,20 +110,20 @@ import {
|
|
|
110
110
|
utcWindow,
|
|
111
111
|
windowsPowerShellEnv,
|
|
112
112
|
writeBoxConfig
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-DXX7OIZK.js";
|
|
114
114
|
import "./chunk-VK6GV757.js";
|
|
115
115
|
import {
|
|
116
116
|
olderThan
|
|
117
117
|
} from "./chunk-365HFCQQ.js";
|
|
118
118
|
import "./chunk-PKIEWBR7.js";
|
|
119
|
-
import "./chunk-
|
|
120
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-GJVUF4SB.js";
|
|
120
|
+
import "./chunk-RTLLZQWP.js";
|
|
121
121
|
import {
|
|
122
122
|
getMachine
|
|
123
123
|
} from "./chunk-SBYSVZ7J.js";
|
|
124
124
|
import {
|
|
125
125
|
VERSION
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-BRDSWUDJ.js";
|
|
127
127
|
import {
|
|
128
128
|
getMeshUrl,
|
|
129
129
|
getOrigin,
|
|
@@ -547,6 +547,7 @@ function coreRequestId(kind, id) {
|
|
|
547
547
|
return REQUEST_ID.test(plain) ? plain : `${kind}-${createHash("sha256").update(id).digest("hex").slice(0, 40)}`;
|
|
548
548
|
}
|
|
549
549
|
var CLOOP_SESSION_PREFIX = "cr_cloop-";
|
|
550
|
+
var isCloopSession = (s) => s.session_id.startsWith(CLOOP_SESSION_PREFIX);
|
|
550
551
|
var MOVES_MAX = 16;
|
|
551
552
|
function movedSessionId(thread, n) {
|
|
552
553
|
const id = `${thread.replace(/^cr_/, "")}-m${n}`;
|
|
@@ -1078,7 +1079,7 @@ var CloudroomDriver = class {
|
|
|
1078
1079
|
unsettled: running.length,
|
|
1079
1080
|
running: running.length,
|
|
1080
1081
|
settled: sessions.length - running.length,
|
|
1081
|
-
cloop: running.filter(
|
|
1082
|
+
cloop: running.filter(isCloopSession).length
|
|
1082
1083
|
},
|
|
1083
1084
|
...usage ? { token_usage: usage.tokenUsage() } : {}
|
|
1084
1085
|
};
|
|
@@ -1114,8 +1115,8 @@ var CloudroomDriver = class {
|
|
|
1114
1115
|
title: s.session_id,
|
|
1115
1116
|
status: busy(s) ? "running" : DEAD.has(s.state) ? "failed" : "completed",
|
|
1116
1117
|
branch: null,
|
|
1117
|
-
source: s
|
|
1118
|
-
cloop: s
|
|
1118
|
+
source: isCloopSession(s) ? "cloop" : "cloudroom",
|
|
1119
|
+
cloop: isCloopSession(s),
|
|
1119
1120
|
settled: !busy(s),
|
|
1120
1121
|
updatedAt: new Date(s.last_activity_ms ?? 0).toISOString()
|
|
1121
1122
|
})
|
|
@@ -1133,6 +1134,7 @@ var CloudroomDriver = class {
|
|
|
1133
1134
|
unsettled: running.length,
|
|
1134
1135
|
settled: sessions.length - running.length,
|
|
1135
1136
|
running: running.length,
|
|
1137
|
+
cloopRunning: running.filter(isCloopSession).length,
|
|
1136
1138
|
threads: shown
|
|
1137
1139
|
};
|
|
1138
1140
|
}
|
|
@@ -3282,11 +3284,18 @@ async function run2() {
|
|
|
3282
3284
|
);
|
|
3283
3285
|
const repos = await driver.checkouts?.().catch(() => lastRepos);
|
|
3284
3286
|
lastRepos = repos ?? lastRepos;
|
|
3285
|
-
return {
|
|
3287
|
+
return {
|
|
3288
|
+
shown,
|
|
3289
|
+
running: listed.running,
|
|
3290
|
+
cloopRunning: listed.cloopRunning,
|
|
3291
|
+
outsideThreads,
|
|
3292
|
+
repos: lastRepos
|
|
3293
|
+
};
|
|
3286
3294
|
},
|
|
3287
3295
|
{
|
|
3288
3296
|
shown: showsOtherThreads(readRunnerConfig()),
|
|
3289
3297
|
running: 0,
|
|
3298
|
+
cloopRunning: 0,
|
|
3290
3299
|
outsideThreads: [],
|
|
3291
3300
|
repos: void 0
|
|
3292
3301
|
},
|
|
@@ -3314,7 +3323,7 @@ async function run2() {
|
|
|
3314
3323
|
try {
|
|
3315
3324
|
await renew();
|
|
3316
3325
|
const callsBefore = callsStarted;
|
|
3317
|
-
const { shown, running, outsideThreads, repos } = await readDriver();
|
|
3326
|
+
const { shown, running, cloopRunning, outsideThreads, repos } = await readDriver();
|
|
3318
3327
|
lastBeatAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
3319
3328
|
socket.sendPresence(
|
|
3320
3329
|
boxPresence({
|
|
@@ -3330,7 +3339,7 @@ async function run2() {
|
|
|
3330
3339
|
...repos ? { repos } : {}
|
|
3331
3340
|
})
|
|
3332
3341
|
);
|
|
3333
|
-
update?.beat({ running, inFlight: inFlight + callsStarted - callsBefore });
|
|
3342
|
+
update?.beat({ running: cloopRunning, inFlight: inFlight + callsStarted - callsBefore });
|
|
3334
3343
|
} finally {
|
|
3335
3344
|
beating = false;
|
|
3336
3345
|
}
|
|
@@ -1770,6 +1770,7 @@ var SHELL_HEADERS = { "x-t3-orchestration-protocol": "2" };
|
|
|
1770
1770
|
function boxCapabilities(scope) {
|
|
1771
1771
|
return hasScope(scope, "orchestration:operate") ? ["view", "start", "steer"] : ["view"];
|
|
1772
1772
|
}
|
|
1773
|
+
var isCloop = (t) => (t.title ?? "").startsWith(CLOOP_THREAD_PREFIX);
|
|
1773
1774
|
function threadView(t) {
|
|
1774
1775
|
return {
|
|
1775
1776
|
id: t.id,
|
|
@@ -1777,7 +1778,7 @@ function threadView(t) {
|
|
|
1777
1778
|
status: t.status,
|
|
1778
1779
|
branch: t.branch ?? null,
|
|
1779
1780
|
source: t.creationSource ?? null,
|
|
1780
|
-
cloop: (t
|
|
1781
|
+
cloop: isCloop(t),
|
|
1781
1782
|
settled: Boolean(t.settledAt),
|
|
1782
1783
|
updatedAt: t.updatedAt
|
|
1783
1784
|
};
|
|
@@ -1921,7 +1922,7 @@ var T3Driver = class {
|
|
|
1921
1922
|
unsettled: unsettled.length,
|
|
1922
1923
|
running: unsettled.filter((t) => t.status === "running").length,
|
|
1923
1924
|
settled: threads.length - unsettled.length,
|
|
1924
|
-
cloop: unsettled.filter(
|
|
1925
|
+
cloop: unsettled.filter(isCloop).length
|
|
1925
1926
|
},
|
|
1926
1927
|
token_usage: this.tokenUsage()
|
|
1927
1928
|
};
|
|
@@ -1968,6 +1969,7 @@ var T3Driver = class {
|
|
|
1968
1969
|
unsettled: all.filter(isUnsettled).length,
|
|
1969
1970
|
settled: all.length - all.filter(isUnsettled).length,
|
|
1970
1971
|
running: threads.filter((t) => t.status === "running").length,
|
|
1972
|
+
cloopRunning: all.filter((t) => t.status === "running" && isCloop(t)).length,
|
|
1971
1973
|
threads: listed.map((t) => {
|
|
1972
1974
|
const view = threadView(t);
|
|
1973
1975
|
const waiting = asks.get(t.id);
|
|
@@ -2226,8 +2228,7 @@ var T3Driver = class {
|
|
|
2226
2228
|
*/
|
|
2227
2229
|
async settle(threadId, commandId) {
|
|
2228
2230
|
const p = await this.readProjection(threadId);
|
|
2229
|
-
if (!(p.thread
|
|
2230
|
-
return { settled: false, refused: "not_cloop" };
|
|
2231
|
+
if (!isCloop(p.thread)) return { settled: false, refused: "not_cloop" };
|
|
2231
2232
|
if (p.thread.settledAt) return { settled: true, already: true };
|
|
2232
2233
|
if (latestRun(p.runs ?? [])?.status !== "completed")
|
|
2233
2234
|
return { settled: false, refused: "not_finished" };
|
|
@@ -2980,11 +2981,14 @@ var LocalDriver = class {
|
|
|
2980
2981
|
...asks.length ? { asks: asks.map((a) => ({ question_id: a.request_id, question: a.summary })) } : {}
|
|
2981
2982
|
};
|
|
2982
2983
|
});
|
|
2984
|
+
const running = shown.filter((t) => t.status === "running").length;
|
|
2983
2985
|
return {
|
|
2984
2986
|
scope,
|
|
2985
2987
|
unsettled: unsettled.length,
|
|
2986
2988
|
settled: all.length - unsettled.length,
|
|
2987
|
-
running
|
|
2989
|
+
running,
|
|
2990
|
+
// The daemon owns every run's harness process here, the owner's adopted sessions too.
|
|
2991
|
+
cloopRunning: running,
|
|
2988
2992
|
threads: orderThreads([...shown, ...await this.ownSessions()], limit)
|
|
2989
2993
|
};
|
|
2990
2994
|
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findRun,
|
|
4
4
|
ownHarness
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QYPDDIJL.js";
|
|
6
6
|
import {
|
|
7
7
|
lockThreadsFile,
|
|
8
8
|
threadsFilePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7AB5JOZN.js";
|
|
10
10
|
import {
|
|
11
11
|
localRunsFilePath,
|
|
12
12
|
readRunRecords,
|
|
13
13
|
runHarness,
|
|
14
14
|
takeoverSummary
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DXX7OIZK.js";
|
|
16
16
|
import {
|
|
17
17
|
sanitizeLabel
|
|
18
18
|
} from "./chunk-VK6GV757.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readRunnerState,
|
|
10
10
|
runnerStatePath,
|
|
11
11
|
threadsFilePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7AB5JOZN.js";
|
|
13
13
|
import {
|
|
14
14
|
BoxToolError,
|
|
15
15
|
CLOOP_THREAD_PREFIX,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
windowsExecutable,
|
|
51
51
|
windowsPowerShellEnv,
|
|
52
52
|
writeBoxConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DXX7OIZK.js";
|
|
54
54
|
import {
|
|
55
55
|
CLAUDE_FLOOR,
|
|
56
56
|
CODEX_FLOOR,
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
} from "./chunk-PKIEWBR7.js";
|
|
65
65
|
import {
|
|
66
66
|
connectWebhook
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GJVUF4SB.js";
|
|
68
68
|
import {
|
|
69
69
|
ConnectFailure,
|
|
70
70
|
connectReport,
|
|
71
71
|
deviceLogin,
|
|
72
72
|
newAttempt,
|
|
73
73
|
sendConnectReport
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RTLLZQWP.js";
|
|
75
75
|
import {
|
|
76
76
|
defaultDeviceName,
|
|
77
77
|
getMachine,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-SBYSVZ7J.js";
|
|
80
80
|
import {
|
|
81
81
|
VERSION
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-BRDSWUDJ.js";
|
|
83
83
|
import {
|
|
84
84
|
STAGING_ORIGIN,
|
|
85
85
|
getOrigin,
|
|
@@ -55,17 +55,17 @@ import {
|
|
|
55
55
|
which,
|
|
56
56
|
workFolder,
|
|
57
57
|
workFolderLine
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MSCSQNNI.js";
|
|
59
59
|
import "./chunk-5RB7XKPB.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-7AB5JOZN.js";
|
|
61
|
+
import "./chunk-DXX7OIZK.js";
|
|
62
62
|
import "./chunk-VK6GV757.js";
|
|
63
63
|
import "./chunk-365HFCQQ.js";
|
|
64
64
|
import "./chunk-PKIEWBR7.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-GJVUF4SB.js";
|
|
66
|
+
import "./chunk-RTLLZQWP.js";
|
|
67
67
|
import "./chunk-SBYSVZ7J.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-BRDSWUDJ.js";
|
|
69
69
|
import "./chunk-D5UZW42X.js";
|
|
70
70
|
export {
|
|
71
71
|
DEFAULT_T3_URL,
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
runnerOrigin,
|
|
8
8
|
stopService,
|
|
9
9
|
unitOrigin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MSCSQNNI.js";
|
|
11
11
|
import "./chunk-5RB7XKPB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7AB5JOZN.js";
|
|
13
|
+
import "./chunk-DXX7OIZK.js";
|
|
14
14
|
import "./chunk-VK6GV757.js";
|
|
15
15
|
import "./chunk-365HFCQQ.js";
|
|
16
16
|
import "./chunk-PKIEWBR7.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-GJVUF4SB.js";
|
|
18
|
+
import "./chunk-RTLLZQWP.js";
|
|
19
19
|
import "./chunk-SBYSVZ7J.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BRDSWUDJ.js";
|
|
21
21
|
import "./chunk-D5UZW42X.js";
|
|
22
22
|
export {
|
|
23
23
|
disconnect,
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
existingRunnerEnvironment,
|
|
4
4
|
pinExistingRunner
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MSCSQNNI.js";
|
|
6
6
|
import "./chunk-5RB7XKPB.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-7AB5JOZN.js";
|
|
8
|
+
import "./chunk-DXX7OIZK.js";
|
|
9
9
|
import "./chunk-VK6GV757.js";
|
|
10
10
|
import "./chunk-365HFCQQ.js";
|
|
11
11
|
import "./chunk-PKIEWBR7.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-GJVUF4SB.js";
|
|
13
|
+
import "./chunk-RTLLZQWP.js";
|
|
14
14
|
import "./chunk-SBYSVZ7J.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BRDSWUDJ.js";
|
|
16
16
|
import "./chunk-D5UZW42X.js";
|
|
17
17
|
export {
|
|
18
18
|
existingRunnerEnvironment,
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-365HFCQQ.js";
|
|
5
5
|
import {
|
|
6
6
|
VERSION
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BRDSWUDJ.js";
|
|
8
8
|
import {
|
|
9
9
|
applyEnvironmentFlag
|
|
10
10
|
} from "./chunk-D5UZW42X.js";
|
|
@@ -69,7 +69,7 @@ Add --staging to any command to use Cloop staging instead of production.
|
|
|
69
69
|
A production machine and a staging machine can run side by side on one computer.
|
|
70
70
|
`;
|
|
71
71
|
async function pinExistingRunner() {
|
|
72
|
-
const { pinExistingRunner: pin } = await import("./existing-runner-
|
|
72
|
+
const { pinExistingRunner: pin } = await import("./existing-runner-ZCFTLQ3Q.js");
|
|
73
73
|
const { note } = pin();
|
|
74
74
|
if (note) console.error(note);
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ async function main() {
|
|
|
77
77
|
switch (command) {
|
|
78
78
|
case "login":
|
|
79
79
|
case "auth": {
|
|
80
|
-
const { loginCommand } = await import("./login-
|
|
80
|
+
const { loginCommand } = await import("./login-NTPTTFH6.js");
|
|
81
81
|
await loginCommand(argv);
|
|
82
82
|
break;
|
|
83
83
|
}
|
|
@@ -87,61 +87,61 @@ async function main() {
|
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
case "serve": {
|
|
90
|
-
const { startMcpServer } = await import("./mcp-server-
|
|
90
|
+
const { startMcpServer } = await import("./mcp-server-3HANVJQE.js");
|
|
91
91
|
await startMcpServer();
|
|
92
92
|
break;
|
|
93
93
|
}
|
|
94
94
|
case "statusline": {
|
|
95
|
-
const { statuslineCommand } = await import("./statusline-
|
|
95
|
+
const { statuslineCommand } = await import("./statusline-3TMAMI7F.js");
|
|
96
96
|
statuslineCommand();
|
|
97
97
|
break;
|
|
98
98
|
}
|
|
99
99
|
case "connect": {
|
|
100
|
-
const { connectCommand } = await import("./connect-
|
|
100
|
+
const { connectCommand } = await import("./connect-TSDASBHE.js");
|
|
101
101
|
await connectCommand(argv.slice(1));
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
case "use": {
|
|
105
|
-
const { useCommand } = await import("./use-
|
|
105
|
+
const { useCommand } = await import("./use-N27RLY7L.js");
|
|
106
106
|
process.exitCode = await useCommand(argv.slice(1));
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
case "disconnect": {
|
|
110
|
-
const { disconnectCommand } = await import("./disconnect-
|
|
110
|
+
const { disconnectCommand } = await import("./disconnect-MI2MKB37.js");
|
|
111
111
|
await disconnectCommand(argv.slice(1));
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
case "box": {
|
|
115
|
-
const { boxCommand } = await import("./box-
|
|
115
|
+
const { boxCommand } = await import("./box-OQO3DWIN.js");
|
|
116
116
|
await boxCommand(argv.slice(1));
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
119
119
|
case "runs": {
|
|
120
120
|
await pinExistingRunner();
|
|
121
|
-
const { runsCommand } = await import("./runs-
|
|
121
|
+
const { runsCommand } = await import("./runs-Q3ONIMHU.js");
|
|
122
122
|
process.exitCode = runsCommand();
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
125
125
|
case "watch": {
|
|
126
126
|
await pinExistingRunner();
|
|
127
|
-
const { watchCommand } = await import("./runs-
|
|
127
|
+
const { watchCommand } = await import("./runs-Q3ONIMHU.js");
|
|
128
128
|
process.exitCode = await watchCommand(argv.slice(1));
|
|
129
129
|
break;
|
|
130
130
|
}
|
|
131
131
|
case "takeover": {
|
|
132
132
|
await pinExistingRunner();
|
|
133
|
-
const { takeoverCommand } = await import("./takeover-
|
|
133
|
+
const { takeoverCommand } = await import("./takeover-GTOQXWAM.js");
|
|
134
134
|
process.exitCode = await takeoverCommand(argv.slice(1));
|
|
135
135
|
break;
|
|
136
136
|
}
|
|
137
137
|
case "resume": {
|
|
138
138
|
await pinExistingRunner();
|
|
139
|
-
const { resumeCommand } = await import("./runs-
|
|
139
|
+
const { resumeCommand } = await import("./runs-Q3ONIMHU.js");
|
|
140
140
|
process.exitCode = await resumeCommand(argv.slice(1));
|
|
141
141
|
break;
|
|
142
142
|
}
|
|
143
143
|
case "runner": {
|
|
144
|
-
const { runnerCommand } = await import("./runner-
|
|
144
|
+
const { runnerCommand } = await import("./runner-UUSWMN54.js");
|
|
145
145
|
await runnerCommand(argv.slice(1));
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
deviceLogin,
|
|
4
4
|
loginCommand,
|
|
5
5
|
refusalSentence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RTLLZQWP.js";
|
|
7
7
|
import "./chunk-SBYSVZ7J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-BRDSWUDJ.js";
|
|
9
9
|
import "./chunk-D5UZW42X.js";
|
|
10
10
|
export {
|
|
11
11
|
deviceLogin,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
connectWebhook,
|
|
4
4
|
runnerCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GJVUF4SB.js";
|
|
6
|
+
import "./chunk-RTLLZQWP.js";
|
|
7
7
|
import "./chunk-SBYSVZ7J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-BRDSWUDJ.js";
|
|
9
9
|
import "./chunk-D5UZW42X.js";
|
|
10
10
|
export {
|
|
11
11
|
connectWebhook,
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
runsCommand,
|
|
10
10
|
sessionFolder,
|
|
11
11
|
watchCommand
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QYPDDIJL.js";
|
|
13
|
+
import "./chunk-DXX7OIZK.js";
|
|
14
14
|
import "./chunk-VK6GV757.js";
|
|
15
15
|
import "./chunk-D5UZW42X.js";
|
|
16
16
|
export {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
takeoverDir,
|
|
10
10
|
writeTakeoverReply,
|
|
11
11
|
writeTakeoverRequest
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-FN2G5ZWH.js";
|
|
13
|
+
import "./chunk-QYPDDIJL.js";
|
|
14
|
+
import "./chunk-7AB5JOZN.js";
|
|
15
|
+
import "./chunk-DXX7OIZK.js";
|
|
16
16
|
import "./chunk-VK6GV757.js";
|
|
17
17
|
import "./chunk-SBYSVZ7J.js";
|
|
18
18
|
import "./chunk-D5UZW42X.js";
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
DRIVER_NAME,
|
|
4
4
|
pinExistingRunner,
|
|
5
5
|
runConnect
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MSCSQNNI.js";
|
|
7
7
|
import "./chunk-5RB7XKPB.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-7AB5JOZN.js";
|
|
9
9
|
import {
|
|
10
10
|
isLocal,
|
|
11
11
|
readRunnerConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DXX7OIZK.js";
|
|
13
13
|
import "./chunk-VK6GV757.js";
|
|
14
14
|
import "./chunk-365HFCQQ.js";
|
|
15
15
|
import "./chunk-PKIEWBR7.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GJVUF4SB.js";
|
|
17
|
+
import "./chunk-RTLLZQWP.js";
|
|
18
18
|
import "./chunk-SBYSVZ7J.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BRDSWUDJ.js";
|
|
20
20
|
import "./chunk-D5UZW42X.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/use.ts
|
package/package.json
CHANGED