@cloop/runner 0.3.61 → 0.3.62
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-OPKO2EY6.js → box-3CZIKC6H.js} +22 -14
- package/dist/{chunk-BI2Y5ZCL.js → chunk-5RB7XKPB.js} +2 -1
- package/dist/{chunk-IUBEQ342.js → chunk-7YTPL6VG.js} +1 -1
- package/dist/{chunk-OWYY764F.js → chunk-ADT3PMYQ.js} +1 -1
- package/dist/{chunk-TUGKGUV3.js → chunk-CUSQXHR6.js} +1 -1
- package/dist/{chunk-QLZYSUGR.js → chunk-DTAMCVUY.js} +18 -8
- package/dist/{chunk-CBUSTVCH.js → chunk-IRXCIO7U.js} +3 -3
- package/dist/{chunk-PMH5WSQK.js → chunk-J247WS7A.js} +1 -1
- package/dist/{chunk-PTOPXY65.js → chunk-LFSIT2WB.js} +1 -1
- package/dist/{chunk-LZ4NZTA2.js → chunk-NOKR7P5V.js} +1 -1
- package/dist/{connect-QWFKIR2A.js → connect-ERGLJSZO.js} +9 -7
- package/dist/{disconnect-DYPSIUVQ.js → disconnect-7JNCCZOP.js} +7 -7
- package/dist/{existing-runner-FNLWQGFZ.js → existing-runner-2KYDHSFA.js} +7 -7
- package/dist/index.js +14 -14
- package/dist/{login-64IZF4QT.js → login-ID3ZTPSR.js} +2 -2
- package/dist/{mcp-server-X4MIHXI4.js → mcp-server-4CJUB63Q.js} +2 -2
- package/dist/{runner-RHKB5LKX.js → runner-GL4F3GUD.js} +3 -3
- package/dist/{runs-62FX5IQ6.js → runs-WMZTZXJ6.js} +2 -2
- package/dist/{statusline-FKJDEYAA.js → statusline-JXETQIKS.js} +1 -1
- package/dist/{takeover-FUQV257E.js → takeover-CSFKISDC.js} +4 -4
- package/dist/{use-RASS2OSW.js → use-LRGHLUC3.js} +7 -7
- 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-IRXCIO7U.js";
|
|
5
|
+
import "./chunk-ADT3PMYQ.js";
|
|
6
6
|
import {
|
|
7
7
|
CAPTURE_TICK_MS,
|
|
8
8
|
DEFAULT_FALLBACK_MODEL,
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
connectCommand,
|
|
24
24
|
findNpx,
|
|
25
25
|
installedService,
|
|
26
|
+
isRelease,
|
|
26
27
|
legacyStagingRunner,
|
|
27
28
|
mintSession,
|
|
28
29
|
moveLegacyStagingRunner,
|
|
@@ -39,7 +40,7 @@ import {
|
|
|
39
40
|
systemServices,
|
|
40
41
|
unitFor,
|
|
41
42
|
which
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DTAMCVUY.js";
|
|
43
44
|
import {
|
|
44
45
|
MeshSocket,
|
|
45
46
|
WAKE_TICK_MS,
|
|
@@ -47,7 +48,7 @@ import {
|
|
|
47
48
|
defaultSocketFactory,
|
|
48
49
|
runnerLog,
|
|
49
50
|
wakeWatch
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5RB7XKPB.js";
|
|
51
52
|
import {
|
|
52
53
|
BoxWatch,
|
|
53
54
|
hostedThreadsFilePath,
|
|
@@ -57,7 +58,7 @@ import {
|
|
|
57
58
|
runnerStatePath,
|
|
58
59
|
threadsFilePath,
|
|
59
60
|
writeRunnerState
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CUSQXHR6.js";
|
|
61
62
|
import {
|
|
62
63
|
BackgroundReading,
|
|
63
64
|
BoxToolError,
|
|
@@ -109,20 +110,20 @@ import {
|
|
|
109
110
|
utcWindow,
|
|
110
111
|
windowsPowerShellEnv,
|
|
111
112
|
writeBoxConfig
|
|
112
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-J247WS7A.js";
|
|
113
114
|
import "./chunk-VK6GV757.js";
|
|
114
115
|
import {
|
|
115
116
|
olderThan
|
|
116
117
|
} from "./chunk-365HFCQQ.js";
|
|
117
118
|
import "./chunk-PKIEWBR7.js";
|
|
118
|
-
import "./chunk-
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-7YTPL6VG.js";
|
|
120
|
+
import "./chunk-NOKR7P5V.js";
|
|
120
121
|
import {
|
|
121
122
|
getMachine
|
|
122
123
|
} from "./chunk-SBYSVZ7J.js";
|
|
123
124
|
import {
|
|
124
125
|
VERSION
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-LFSIT2WB.js";
|
|
126
127
|
import {
|
|
127
128
|
getMeshUrl,
|
|
128
129
|
getOrigin,
|
|
@@ -2672,8 +2673,9 @@ function updateDecision(input) {
|
|
|
2672
2673
|
if (!input.latest) return stay("no_latest");
|
|
2673
2674
|
if (!olderThan(input.current, input.latest)) return stay("current");
|
|
2674
2675
|
if (input.latest === input.failed) return stay("failed_before");
|
|
2675
|
-
if (input.
|
|
2676
|
-
|
|
2676
|
+
if (!input.release) return stay("not_a_release");
|
|
2677
|
+
if (input.unitText === null) return stay("no_service");
|
|
2678
|
+
if (!namesVersion(input.unitText, input.current)) return stay("not_our_service");
|
|
2677
2679
|
if (!input.canDetach) return stay("no_detach");
|
|
2678
2680
|
if (input.running > 0 || input.inFlight > 0) return stay("busy");
|
|
2679
2681
|
return { kind: "hand_over", to: input.latest };
|
|
@@ -2800,6 +2802,7 @@ function selfUpdate(kind, platform = process.platform, onFailed = () => {
|
|
|
2800
2802
|
state.error = error;
|
|
2801
2803
|
onFailed(error, version);
|
|
2802
2804
|
};
|
|
2805
|
+
const release = isRelease(process.argv[1] ?? "");
|
|
2803
2806
|
const canDetach = platform === "darwin" || platform === "win32" || platform === "linux" && which("systemd-run") !== null;
|
|
2804
2807
|
const check = async () => {
|
|
2805
2808
|
state.checked_at = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -2867,15 +2870,20 @@ function selfUpdate(kind, platform = process.platform, onFailed = () => {
|
|
|
2867
2870
|
running,
|
|
2868
2871
|
inFlight,
|
|
2869
2872
|
failed: readFailed(),
|
|
2870
|
-
canDetach
|
|
2873
|
+
canDetach,
|
|
2874
|
+
release
|
|
2871
2875
|
});
|
|
2872
2876
|
if (decision.kind === "hand_over") {
|
|
2873
2877
|
lastWhy = null;
|
|
2874
2878
|
handOver(decision.to);
|
|
2875
2879
|
return;
|
|
2876
2880
|
}
|
|
2877
|
-
|
|
2878
|
-
lastWhy
|
|
2881
|
+
const why = `${decision.why}:${latest}`;
|
|
2882
|
+
if (why !== lastWhy && latest) {
|
|
2883
|
+
log(`staying on ${VERSION}: ${decision.why}`);
|
|
2884
|
+
if (decision.why === "not_our_service") fail("not_our_service", latest);
|
|
2885
|
+
}
|
|
2886
|
+
lastWhy = why;
|
|
2879
2887
|
}
|
|
2880
2888
|
};
|
|
2881
2889
|
}
|
|
@@ -34,7 +34,8 @@ var RUNNER_ERRORS = [
|
|
|
34
34
|
"registry_unreachable",
|
|
35
35
|
"fetch_failed",
|
|
36
36
|
"npx_missing",
|
|
37
|
-
"handover_failed"
|
|
37
|
+
"handover_failed",
|
|
38
|
+
"not_our_service"
|
|
38
39
|
];
|
|
39
40
|
var HARNESS_IDS = ["claude-code", "codex", "claudeAgent", "opencode"];
|
|
40
41
|
var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
freshness,
|
|
5
5
|
outcomeLine,
|
|
6
6
|
runnerLog
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RB7XKPB.js";
|
|
8
8
|
import {
|
|
9
9
|
readRunnerState,
|
|
10
10
|
runnerStatePath,
|
|
11
11
|
threadsFilePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CUSQXHR6.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-J247WS7A.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-7YTPL6VG.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-NOKR7P5V.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-LFSIT2WB.js";
|
|
83
83
|
import {
|
|
84
84
|
STAGING_ORIGIN,
|
|
85
85
|
getOrigin,
|
|
@@ -94,6 +94,7 @@ import {
|
|
|
94
94
|
existsSync as existsSync6,
|
|
95
95
|
mkdirSync as mkdirSync3,
|
|
96
96
|
readdirSync as readdirSync4,
|
|
97
|
+
realpathSync as realpathSync2,
|
|
97
98
|
rmSync as rmSync3,
|
|
98
99
|
statSync as statSync2,
|
|
99
100
|
writeFileSync as writeFileSync2
|
|
@@ -2700,11 +2701,19 @@ var endDaemonStep = (environment) => ({
|
|
|
2700
2701
|
mayFail: true
|
|
2701
2702
|
});
|
|
2702
2703
|
function programFor(script, node, npx, version) {
|
|
2703
|
-
if (
|
|
2704
|
+
if (!isRelease(script)) return [node, script, "box", "run"];
|
|
2704
2705
|
if (!npx)
|
|
2705
|
-
return "npx is not on PATH, so the service cannot run Cloop. Install
|
|
2706
|
+
return "npx is not on PATH, so the service cannot run Cloop. Install Node.js with npm, which ships npx, and run `cloop connect` again.";
|
|
2706
2707
|
return [npx, "-y", `@cloop/runner@${version}`, "box", "run"];
|
|
2707
2708
|
}
|
|
2709
|
+
function isRelease(script) {
|
|
2710
|
+
const published = (path) => /[\\/](_npx|node_modules)[\\/]/.test(path);
|
|
2711
|
+
try {
|
|
2712
|
+
return published(realpathSync2(script));
|
|
2713
|
+
} catch {
|
|
2714
|
+
return published(script);
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2708
2717
|
function findNpx() {
|
|
2709
2718
|
const name = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
2710
2719
|
const beside = join8(dirname3(process.execPath), name);
|
|
@@ -3650,6 +3659,7 @@ export {
|
|
|
3650
3659
|
registerTaskScript,
|
|
3651
3660
|
endDaemonScript,
|
|
3652
3661
|
programFor,
|
|
3662
|
+
isRelease,
|
|
3653
3663
|
findNpx,
|
|
3654
3664
|
FIRST_CONNECT_MS,
|
|
3655
3665
|
awaitDaemon,
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findRun,
|
|
4
4
|
ownHarness
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ADT3PMYQ.js";
|
|
6
6
|
import {
|
|
7
7
|
lockThreadsFile,
|
|
8
8
|
threadsFilePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CUSQXHR6.js";
|
|
10
10
|
import {
|
|
11
11
|
localRunsFilePath,
|
|
12
12
|
readRunRecords,
|
|
13
13
|
runHarness,
|
|
14
14
|
takeoverSummary
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-J247WS7A.js";
|
|
16
16
|
import {
|
|
17
17
|
sanitizeLabel
|
|
18
18
|
} from "./chunk-VK6GV757.js";
|
|
@@ -96,7 +96,7 @@ var RESULT_INSTRUCTION = [
|
|
|
96
96
|
"A draft's body is the message itself, as the recipient will read it; if you saved it somewhere (a Gmail draft), put that link in url, never in body. A doc's body is the whole page in GitHub Markdown: headings, lists, bold and tables all show; a table suits one row per item. Give every product, page or source you mention as a full https link.",
|
|
97
97
|
`A wizard is for ${WIZARD_FOR}. When the work needs such a step, return a wizard for it, not only words. A wizard has 1 to ${WIZARD_STEPS_MAX} steps in order, each {"title", "body" in Markdown, optional https "url"}. Never ask the user to paste a password, key or other secret anywhere. The user sees a wizard as a walkthrough: in your own words, call it a walkthrough, never a wizard.`,
|
|
98
98
|
"List as outputs only what this run made. A PR or page you only read, checked or cited goes in the summary, never in outputs.",
|
|
99
|
-
'
|
|
99
|
+
'Your answer shows in the chat as GitHub Markdown, so most answers need no page: write the whole answer above the cloop-result block, and keep the summary to your conclusion or what you did. Make a doc output only when the answer is a document the owner will keep or share, such as a report, a plan or research longer than about 400 words, with its own headings. Then the summary is your conclusion in one or two sentences, such as "I recommend X, because Y.", the doc holds the method and caveats, and it does not repeat the summary. Title a doc for what it says, never "Full answer" or "Summary".'
|
|
100
100
|
].join("\n");
|
|
101
101
|
var MACHINE_RESULT_INSTRUCTION = [
|
|
102
102
|
RESULT_INSTRUCTION,
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
findNpx,
|
|
27
27
|
harnessesFound,
|
|
28
28
|
installedService,
|
|
29
|
+
isRelease,
|
|
29
30
|
isWorkstation,
|
|
30
31
|
mcpHarnesses,
|
|
31
32
|
mintSession,
|
|
@@ -54,17 +55,17 @@ import {
|
|
|
54
55
|
which,
|
|
55
56
|
workFolder,
|
|
56
57
|
workFolderLine
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-DTAMCVUY.js";
|
|
59
|
+
import "./chunk-5RB7XKPB.js";
|
|
60
|
+
import "./chunk-CUSQXHR6.js";
|
|
61
|
+
import "./chunk-J247WS7A.js";
|
|
61
62
|
import "./chunk-VK6GV757.js";
|
|
62
63
|
import "./chunk-365HFCQQ.js";
|
|
63
64
|
import "./chunk-PKIEWBR7.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-7YTPL6VG.js";
|
|
66
|
+
import "./chunk-NOKR7P5V.js";
|
|
66
67
|
import "./chunk-SBYSVZ7J.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-LFSIT2WB.js";
|
|
68
69
|
import "./chunk-D5UZW42X.js";
|
|
69
70
|
export {
|
|
70
71
|
DEFAULT_T3_URL,
|
|
@@ -93,6 +94,7 @@ export {
|
|
|
93
94
|
findNpx,
|
|
94
95
|
harnessesFound,
|
|
95
96
|
installedService,
|
|
97
|
+
isRelease,
|
|
96
98
|
isWorkstation,
|
|
97
99
|
mcpHarnesses,
|
|
98
100
|
mintSession,
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
runnerOrigin,
|
|
8
8
|
stopService,
|
|
9
9
|
unitOrigin
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DTAMCVUY.js";
|
|
11
|
+
import "./chunk-5RB7XKPB.js";
|
|
12
|
+
import "./chunk-CUSQXHR6.js";
|
|
13
|
+
import "./chunk-J247WS7A.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-7YTPL6VG.js";
|
|
18
|
+
import "./chunk-NOKR7P5V.js";
|
|
19
19
|
import "./chunk-SBYSVZ7J.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-LFSIT2WB.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-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-DTAMCVUY.js";
|
|
6
|
+
import "./chunk-5RB7XKPB.js";
|
|
7
|
+
import "./chunk-CUSQXHR6.js";
|
|
8
|
+
import "./chunk-J247WS7A.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-7YTPL6VG.js";
|
|
13
|
+
import "./chunk-NOKR7P5V.js";
|
|
14
14
|
import "./chunk-SBYSVZ7J.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LFSIT2WB.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-LFSIT2WB.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-2KYDHSFA.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-ID3ZTPSR.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-4CJUB63Q.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-JXETQIKS.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-ERGLJSZO.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-LRGHLUC3.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-7JNCCZOP.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-3CZIKC6H.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-WMZTZXJ6.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-WMZTZXJ6.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-CSFKISDC.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-WMZTZXJ6.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-GL4F3GUD.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-NOKR7P5V.js";
|
|
7
7
|
import "./chunk-SBYSVZ7J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LFSIT2WB.js";
|
|
9
9
|
import "./chunk-D5UZW42X.js";
|
|
10
10
|
export {
|
|
11
11
|
deviceLogin,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
MeshSocket,
|
|
16
16
|
defaultSocketFactory
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5RB7XKPB.js";
|
|
18
18
|
import {
|
|
19
19
|
sanitizeLabel,
|
|
20
20
|
sanitizeUntrusted
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-SBYSVZ7J.js";
|
|
32
32
|
import {
|
|
33
33
|
VERSION
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LFSIT2WB.js";
|
|
35
35
|
import {
|
|
36
36
|
getMeshUrl,
|
|
37
37
|
getToken
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
connectWebhook,
|
|
4
4
|
runnerCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-7YTPL6VG.js";
|
|
6
|
+
import "./chunk-NOKR7P5V.js";
|
|
7
7
|
import "./chunk-SBYSVZ7J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LFSIT2WB.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-ADT3PMYQ.js";
|
|
13
|
+
import "./chunk-J247WS7A.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-IRXCIO7U.js";
|
|
13
|
+
import "./chunk-ADT3PMYQ.js";
|
|
14
|
+
import "./chunk-CUSQXHR6.js";
|
|
15
|
+
import "./chunk-J247WS7A.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-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-DTAMCVUY.js";
|
|
7
|
+
import "./chunk-5RB7XKPB.js";
|
|
8
|
+
import "./chunk-CUSQXHR6.js";
|
|
9
9
|
import {
|
|
10
10
|
isLocal,
|
|
11
11
|
readRunnerConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J247WS7A.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-7YTPL6VG.js";
|
|
17
|
+
import "./chunk-NOKR7P5V.js";
|
|
18
18
|
import "./chunk-SBYSVZ7J.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LFSIT2WB.js";
|
|
20
20
|
import "./chunk-D5UZW42X.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/use.ts
|
package/package.json
CHANGED