@cloop/runner 0.3.11 → 0.3.12
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-4G3Z6BGK.js → box-V3CQHA36.js} +4 -4
- package/dist/{chunk-RMXD3BW4.js → chunk-6IQ3ABBS.js} +1 -1
- package/dist/{chunk-JO6TUYVI.js → chunk-7SELZL6Z.js} +1 -1
- package/dist/{chunk-LYB5H7VQ.js → chunk-JUQALHVZ.js} +5 -4
- package/dist/{chunk-RSKVW2PT.js → chunk-UZYPDPGL.js} +1 -1
- package/dist/{connect-FG2XEPHS.js → connect-XMPA7BZG.js} +4 -4
- package/dist/{disconnect-MATUPTML.js → disconnect-ATKLCLYO.js} +4 -4
- package/dist/{existing-runner-RIA6NDFN.js → existing-runner-LS2M5OAF.js} +4 -4
- package/dist/index.js +10 -10
- package/dist/{login-LLHZ3GEB.js → login-4ZGAE7QV.js} +2 -2
- package/dist/{mcp-server-FLDX42SN.js → mcp-server-4EH6Z5Z3.js} +1 -1
- package/dist/{runner-4YA72EPY.js → runner-7PUTRUFX.js} +3 -3
- package/dist/{statusline-6F2Q4UEE.js → statusline-NDXFVGUT.js} +1 -1
- package/dist/{use-Z2T43IM6.js → use-QN3OGZGP.js} +4 -4
- package/package.json +1 -1
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
systemServices,
|
|
33
33
|
unitFor,
|
|
34
34
|
which
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JUQALHVZ.js";
|
|
36
36
|
import {
|
|
37
37
|
BoxWatch,
|
|
38
38
|
lockThreadsFile,
|
|
@@ -60,12 +60,12 @@ import {
|
|
|
60
60
|
olderThan
|
|
61
61
|
} from "./chunk-UBXT5IDU.js";
|
|
62
62
|
import "./chunk-R3CLO2FB.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-UZYPDPGL.js";
|
|
64
|
+
import "./chunk-7SELZL6Z.js";
|
|
65
65
|
import "./chunk-ES5BRAKJ.js";
|
|
66
66
|
import {
|
|
67
67
|
VERSION
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-6IQ3ABBS.js";
|
|
69
69
|
import {
|
|
70
70
|
getMeshUrl,
|
|
71
71
|
getToken,
|
|
@@ -47,17 +47,17 @@ import {
|
|
|
47
47
|
} from "./chunk-R3CLO2FB.js";
|
|
48
48
|
import {
|
|
49
49
|
connectWebhook
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-UZYPDPGL.js";
|
|
51
51
|
import {
|
|
52
52
|
ConnectFailure,
|
|
53
53
|
connectReport,
|
|
54
54
|
deviceLogin,
|
|
55
55
|
newAttempt,
|
|
56
56
|
sendConnectReport
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7SELZL6Z.js";
|
|
58
58
|
import {
|
|
59
59
|
VERSION
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6IQ3ABBS.js";
|
|
61
61
|
import {
|
|
62
62
|
STAGING_ORIGIN,
|
|
63
63
|
getOrigin,
|
|
@@ -1284,8 +1284,9 @@ var UNIT_ENV = [
|
|
|
1284
1284
|
];
|
|
1285
1285
|
function unitEnv(env) {
|
|
1286
1286
|
const picked = { PATH: "/usr/bin:/bin" };
|
|
1287
|
+
const byName = new Map(Object.entries(env).map(([key, value]) => [key.toUpperCase(), value]));
|
|
1287
1288
|
for (const key of UNIT_ENV) {
|
|
1288
|
-
const value = env[key];
|
|
1289
|
+
const value = env[key] ?? byName.get(key);
|
|
1289
1290
|
if (value) picked[key] = value;
|
|
1290
1291
|
}
|
|
1291
1292
|
return picked;
|
|
@@ -49,17 +49,17 @@ import {
|
|
|
49
49
|
which,
|
|
50
50
|
workFolder,
|
|
51
51
|
workFolderLine
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JUQALHVZ.js";
|
|
53
53
|
import "./chunk-WRSJZ5WD.js";
|
|
54
54
|
import "./chunk-GNNGDCKP.js";
|
|
55
55
|
import "./chunk-NTXQLEMQ.js";
|
|
56
56
|
import "./chunk-VK6GV757.js";
|
|
57
57
|
import "./chunk-UBXT5IDU.js";
|
|
58
58
|
import "./chunk-R3CLO2FB.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-UZYPDPGL.js";
|
|
60
|
+
import "./chunk-7SELZL6Z.js";
|
|
61
61
|
import "./chunk-ES5BRAKJ.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-6IQ3ABBS.js";
|
|
63
63
|
import "./chunk-D5UZW42X.js";
|
|
64
64
|
export {
|
|
65
65
|
DEFAULT_T3_URL,
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
runnerOrigin,
|
|
8
8
|
stopService,
|
|
9
9
|
unitOrigin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JUQALHVZ.js";
|
|
11
11
|
import "./chunk-WRSJZ5WD.js";
|
|
12
12
|
import "./chunk-GNNGDCKP.js";
|
|
13
13
|
import "./chunk-NTXQLEMQ.js";
|
|
14
14
|
import "./chunk-VK6GV757.js";
|
|
15
15
|
import "./chunk-UBXT5IDU.js";
|
|
16
16
|
import "./chunk-R3CLO2FB.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-UZYPDPGL.js";
|
|
18
|
+
import "./chunk-7SELZL6Z.js";
|
|
19
19
|
import "./chunk-ES5BRAKJ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-6IQ3ABBS.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-JUQALHVZ.js";
|
|
6
6
|
import "./chunk-WRSJZ5WD.js";
|
|
7
7
|
import "./chunk-GNNGDCKP.js";
|
|
8
8
|
import "./chunk-NTXQLEMQ.js";
|
|
9
9
|
import "./chunk-VK6GV757.js";
|
|
10
10
|
import "./chunk-UBXT5IDU.js";
|
|
11
11
|
import "./chunk-R3CLO2FB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UZYPDPGL.js";
|
|
13
|
+
import "./chunk-7SELZL6Z.js";
|
|
14
14
|
import "./chunk-ES5BRAKJ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6IQ3ABBS.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-UBXT5IDU.js";
|
|
5
5
|
import {
|
|
6
6
|
VERSION
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6IQ3ABBS.js";
|
|
8
8
|
import {
|
|
9
9
|
applyEnvironmentFlag
|
|
10
10
|
} from "./chunk-D5UZW42X.js";
|
|
@@ -65,7 +65,7 @@ Add --staging to any command to use Cloop staging instead of production.
|
|
|
65
65
|
A production runner and a staging runner can run side by side on one machine.
|
|
66
66
|
`;
|
|
67
67
|
async function pinExistingRunner() {
|
|
68
|
-
const { pinExistingRunner: pin } = await import("./existing-runner-
|
|
68
|
+
const { pinExistingRunner: pin } = await import("./existing-runner-LS2M5OAF.js");
|
|
69
69
|
const { note } = pin();
|
|
70
70
|
if (note) console.error(note);
|
|
71
71
|
}
|
|
@@ -73,7 +73,7 @@ async function main() {
|
|
|
73
73
|
switch (command) {
|
|
74
74
|
case "login":
|
|
75
75
|
case "auth": {
|
|
76
|
-
const { loginCommand } = await import("./login-
|
|
76
|
+
const { loginCommand } = await import("./login-4ZGAE7QV.js");
|
|
77
77
|
await loginCommand(argv);
|
|
78
78
|
break;
|
|
79
79
|
}
|
|
@@ -83,32 +83,32 @@ async function main() {
|
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
85
|
case "serve": {
|
|
86
|
-
const { startMcpServer } = await import("./mcp-server-
|
|
86
|
+
const { startMcpServer } = await import("./mcp-server-4EH6Z5Z3.js");
|
|
87
87
|
await startMcpServer();
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
case "statusline": {
|
|
91
|
-
const { statuslineCommand } = await import("./statusline-
|
|
91
|
+
const { statuslineCommand } = await import("./statusline-NDXFVGUT.js");
|
|
92
92
|
statuslineCommand();
|
|
93
93
|
break;
|
|
94
94
|
}
|
|
95
95
|
case "connect": {
|
|
96
|
-
const { connectCommand } = await import("./connect-
|
|
96
|
+
const { connectCommand } = await import("./connect-XMPA7BZG.js");
|
|
97
97
|
await connectCommand(argv.slice(1));
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
case "use": {
|
|
101
|
-
const { useCommand } = await import("./use-
|
|
101
|
+
const { useCommand } = await import("./use-QN3OGZGP.js");
|
|
102
102
|
process.exitCode = await useCommand(argv.slice(1));
|
|
103
103
|
break;
|
|
104
104
|
}
|
|
105
105
|
case "disconnect": {
|
|
106
|
-
const { disconnectCommand } = await import("./disconnect-
|
|
106
|
+
const { disconnectCommand } = await import("./disconnect-ATKLCLYO.js");
|
|
107
107
|
await disconnectCommand(argv.slice(1));
|
|
108
108
|
break;
|
|
109
109
|
}
|
|
110
110
|
case "box": {
|
|
111
|
-
const { boxCommand } = await import("./box-
|
|
111
|
+
const { boxCommand } = await import("./box-V3CQHA36.js");
|
|
112
112
|
await boxCommand(argv.slice(1));
|
|
113
113
|
break;
|
|
114
114
|
}
|
|
@@ -137,7 +137,7 @@ async function main() {
|
|
|
137
137
|
break;
|
|
138
138
|
}
|
|
139
139
|
case "runner": {
|
|
140
|
-
const { runnerCommand } = await import("./runner-
|
|
140
|
+
const { runnerCommand } = await import("./runner-7PUTRUFX.js");
|
|
141
141
|
await runnerCommand(argv.slice(1));
|
|
142
142
|
break;
|
|
143
143
|
}
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
deviceLogin,
|
|
4
4
|
loginCommand,
|
|
5
5
|
refusalSentence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7SELZL6Z.js";
|
|
7
7
|
import "./chunk-ES5BRAKJ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6IQ3ABBS.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-UZYPDPGL.js";
|
|
6
|
+
import "./chunk-7SELZL6Z.js";
|
|
7
7
|
import "./chunk-ES5BRAKJ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6IQ3ABBS.js";
|
|
9
9
|
import "./chunk-D5UZW42X.js";
|
|
10
10
|
export {
|
|
11
11
|
connectWebhook,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DRIVER_NAME,
|
|
4
4
|
pinExistingRunner,
|
|
5
5
|
runConnect
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JUQALHVZ.js";
|
|
7
7
|
import "./chunk-WRSJZ5WD.js";
|
|
8
8
|
import {
|
|
9
9
|
isLocal,
|
|
@@ -13,10 +13,10 @@ import "./chunk-NTXQLEMQ.js";
|
|
|
13
13
|
import "./chunk-VK6GV757.js";
|
|
14
14
|
import "./chunk-UBXT5IDU.js";
|
|
15
15
|
import "./chunk-R3CLO2FB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UZYPDPGL.js";
|
|
17
|
+
import "./chunk-7SELZL6Z.js";
|
|
18
18
|
import "./chunk-ES5BRAKJ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-6IQ3ABBS.js";
|
|
20
20
|
import "./chunk-D5UZW42X.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/use.ts
|
package/package.json
CHANGED