@cloop/runner 0.2.6 → 0.2.7
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-Q5AA4S2T.js → box-U65RXLCX.js} +9 -9
- package/dist/{chunk-V4IYJUCC.js → chunk-DLFNATEZ.js} +6 -6
- package/dist/{chunk-E3V2PRVS.js → chunk-JFCEKATW.js} +21 -148
- package/dist/{chunk-52VJGOLJ.js → chunk-JZNBZUPZ.js} +1 -1
- package/dist/{chunk-GTE4QSTR.js → chunk-KH6FK6UQ.js} +1 -1
- package/dist/{chunk-H7ZCXBNW.js → chunk-LNQLGVYC.js} +328 -46
- package/dist/{chunk-UEV7ARIT.js → chunk-MC4DJ4LX.js} +7 -7
- package/dist/{chunk-2SZUL2B6.js → chunk-SANEFNTU.js} +1 -1
- package/dist/{chunk-SXV4JF5H.js → chunk-X7MNNKU3.js} +5 -24
- package/dist/{connect-FG5VDH5N.js → connect-GSGNPOPK.js} +6 -5
- package/dist/{disconnect-ZV32O475.js → disconnect-VTIIRAIV.js} +7 -7
- package/dist/index.js +15 -15
- package/dist/{login-ZKPZEFCV.js → login-XK4DOOGZ.js} +2 -2
- package/dist/{mcp-server-TINABFRL.js → mcp-server-GDTT45SF.js} +5 -5
- package/dist/{runner-VY3HK7L4.js → runner-ST77ZDLI.js} +3 -3
- package/dist/{runs-QLO2XZVZ.js → runs-2CZ3YZGI.js} +3 -3
- package/dist/{statusline-BWUUERD5.js → statusline-6WXP6S3D.js} +1 -1
- package/dist/{takeover-TKQ5V4KV.js → takeover-WHU4CEKP.js} +5 -5
- package/dist/{use-ALFEOPLY.js → use-TBSTJORL.js} +6 -5
- package/package.json +1 -1
- package/dist/{hook-activity-R7OPEYBX.js → hook-activity-LBYV4WJW.js} +1 -1
- package/dist/{hook-session-start-GEBGA63R.js → hook-session-start-YSEV5DCB.js} +3 -3
|
@@ -38,15 +38,16 @@ import {
|
|
|
38
38
|
tilde,
|
|
39
39
|
unitEnv,
|
|
40
40
|
unitFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-X7MNNKU3.js";
|
|
42
42
|
import "./chunk-MWWA2VH7.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-LNQLGVYC.js";
|
|
44
44
|
import "./chunk-JX6VG5FE.js";
|
|
45
|
+
import "./chunk-VK6GV757.js";
|
|
45
46
|
import "./chunk-R3CLO2FB.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-JZNBZUPZ.js";
|
|
48
|
+
import "./chunk-SANEFNTU.js";
|
|
48
49
|
import "./chunk-AG6SI6I2.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-KH6FK6UQ.js";
|
|
50
51
|
import "./chunk-3DIGCVL4.js";
|
|
51
52
|
export {
|
|
52
53
|
DEFAULT_T3_URL,
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
localRunsFilePath
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-VK6GV757.js";
|
|
4
|
+
} from "./chunk-JFCEKATW.js";
|
|
6
5
|
import {
|
|
7
6
|
installedService,
|
|
8
7
|
revokeOwnDevice,
|
|
9
8
|
runSteps,
|
|
10
9
|
tokenGone
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X7MNNKU3.js";
|
|
12
11
|
import {
|
|
13
12
|
runnerStatePath,
|
|
14
13
|
threadsFilePath
|
|
@@ -16,13 +15,14 @@ import {
|
|
|
16
15
|
import {
|
|
17
16
|
boxPath,
|
|
18
17
|
readRunnerConfig
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LNQLGVYC.js";
|
|
20
19
|
import "./chunk-JX6VG5FE.js";
|
|
20
|
+
import "./chunk-VK6GV757.js";
|
|
21
21
|
import "./chunk-R3CLO2FB.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JZNBZUPZ.js";
|
|
23
|
+
import "./chunk-SANEFNTU.js";
|
|
24
24
|
import "./chunk-AG6SI6I2.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-KH6FK6UQ.js";
|
|
26
26
|
import {
|
|
27
27
|
getOrigin
|
|
28
28
|
} from "./chunk-3DIGCVL4.js";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KH6FK6UQ.js";
|
|
5
5
|
import {
|
|
6
6
|
applyEnvironmentFlag
|
|
7
7
|
} from "./chunk-3DIGCVL4.js";
|
|
@@ -55,7 +55,7 @@ async function main() {
|
|
|
55
55
|
switch (command) {
|
|
56
56
|
case "login":
|
|
57
57
|
case "auth": {
|
|
58
|
-
const { loginCommand } = await import("./login-
|
|
58
|
+
const { loginCommand } = await import("./login-XK4DOOGZ.js");
|
|
59
59
|
await loginCommand(argv);
|
|
60
60
|
break;
|
|
61
61
|
}
|
|
@@ -65,57 +65,57 @@ async function main() {
|
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
67
67
|
case "serve": {
|
|
68
|
-
const { startMcpServer } = await import("./mcp-server-
|
|
68
|
+
const { startMcpServer } = await import("./mcp-server-GDTT45SF.js");
|
|
69
69
|
await startMcpServer();
|
|
70
70
|
break;
|
|
71
71
|
}
|
|
72
72
|
case "statusline": {
|
|
73
|
-
const { statuslineCommand } = await import("./statusline-
|
|
73
|
+
const { statuslineCommand } = await import("./statusline-6WXP6S3D.js");
|
|
74
74
|
statuslineCommand();
|
|
75
75
|
break;
|
|
76
76
|
}
|
|
77
77
|
case "connect": {
|
|
78
|
-
const { connectCommand } = await import("./connect-
|
|
78
|
+
const { connectCommand } = await import("./connect-GSGNPOPK.js");
|
|
79
79
|
await connectCommand(argv.slice(1));
|
|
80
80
|
break;
|
|
81
81
|
}
|
|
82
82
|
case "use": {
|
|
83
|
-
const { useCommand } = await import("./use-
|
|
83
|
+
const { useCommand } = await import("./use-TBSTJORL.js");
|
|
84
84
|
process.exitCode = await useCommand(argv.slice(1));
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
87
87
|
case "disconnect": {
|
|
88
|
-
const { disconnectCommand } = await import("./disconnect-
|
|
88
|
+
const { disconnectCommand } = await import("./disconnect-VTIIRAIV.js");
|
|
89
89
|
await disconnectCommand(argv.slice(1));
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
92
|
case "box": {
|
|
93
|
-
const { boxCommand } = await import("./box-
|
|
93
|
+
const { boxCommand } = await import("./box-U65RXLCX.js");
|
|
94
94
|
await boxCommand(argv.slice(1));
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
case "runs": {
|
|
98
|
-
const { runsCommand } = await import("./runs-
|
|
98
|
+
const { runsCommand } = await import("./runs-2CZ3YZGI.js");
|
|
99
99
|
process.exitCode = runsCommand();
|
|
100
100
|
break;
|
|
101
101
|
}
|
|
102
102
|
case "watch": {
|
|
103
|
-
const { watchCommand } = await import("./runs-
|
|
103
|
+
const { watchCommand } = await import("./runs-2CZ3YZGI.js");
|
|
104
104
|
process.exitCode = await watchCommand(argv.slice(1));
|
|
105
105
|
break;
|
|
106
106
|
}
|
|
107
107
|
case "takeover": {
|
|
108
|
-
const { takeoverCommand } = await import("./takeover-
|
|
108
|
+
const { takeoverCommand } = await import("./takeover-WHU4CEKP.js");
|
|
109
109
|
process.exitCode = await takeoverCommand(argv.slice(1));
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
112
112
|
case "resume": {
|
|
113
|
-
const { resumeCommand } = await import("./runs-
|
|
113
|
+
const { resumeCommand } = await import("./runs-2CZ3YZGI.js");
|
|
114
114
|
process.exitCode = await resumeCommand(argv.slice(1));
|
|
115
115
|
break;
|
|
116
116
|
}
|
|
117
117
|
case "runner": {
|
|
118
|
-
const { runnerCommand } = await import("./runner-
|
|
118
|
+
const { runnerCommand } = await import("./runner-ST77ZDLI.js");
|
|
119
119
|
await runnerCommand(argv.slice(1));
|
|
120
120
|
break;
|
|
121
121
|
}
|
|
@@ -124,10 +124,10 @@ async function main() {
|
|
|
124
124
|
const { runnerPermissionHook } = await import("./read-permissions-SPOKGVLO.js");
|
|
125
125
|
await runnerPermissionHook();
|
|
126
126
|
} else if (argv[1] === "session-start") {
|
|
127
|
-
const { hookSessionStart } = await import("./hook-session-start-
|
|
127
|
+
const { hookSessionStart } = await import("./hook-session-start-YSEV5DCB.js");
|
|
128
128
|
await hookSessionStart();
|
|
129
129
|
} else if (argv[1] === "activity") {
|
|
130
|
-
const { hookActivity } = await import("./hook-activity-
|
|
130
|
+
const { hookActivity } = await import("./hook-activity-LBYV4WJW.js");
|
|
131
131
|
await hookActivity();
|
|
132
132
|
} else {
|
|
133
133
|
console.error(`Unknown hook: ${argv[1] ?? "(none)"}`);
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
deviceLogin,
|
|
4
4
|
loginCommand,
|
|
5
5
|
refusalSentence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SANEFNTU.js";
|
|
7
7
|
import "./chunk-AG6SI6I2.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KH6FK6UQ.js";
|
|
9
9
|
import "./chunk-3DIGCVL4.js";
|
|
10
10
|
export {
|
|
11
11
|
deviceLogin,
|
|
@@ -15,10 +15,6 @@ import {
|
|
|
15
15
|
syncInboxPending,
|
|
16
16
|
writeState
|
|
17
17
|
} from "./chunk-J6AEO3GT.js";
|
|
18
|
-
import {
|
|
19
|
-
sanitizeLabel,
|
|
20
|
-
sanitizeUntrusted
|
|
21
|
-
} from "./chunk-VK6GV757.js";
|
|
22
18
|
import {
|
|
23
19
|
HeartbeatClient,
|
|
24
20
|
detectPlatform,
|
|
@@ -27,13 +23,17 @@ import {
|
|
|
27
23
|
getSurface,
|
|
28
24
|
newSessionKey
|
|
29
25
|
} from "./chunk-JX6VG5FE.js";
|
|
26
|
+
import {
|
|
27
|
+
sanitizeLabel,
|
|
28
|
+
sanitizeUntrusted
|
|
29
|
+
} from "./chunk-VK6GV757.js";
|
|
30
30
|
import {
|
|
31
31
|
ReauthError,
|
|
32
32
|
api
|
|
33
33
|
} from "./chunk-AG6SI6I2.js";
|
|
34
34
|
import {
|
|
35
35
|
VERSION
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KH6FK6UQ.js";
|
|
37
37
|
import {
|
|
38
38
|
getMeshUrl,
|
|
39
39
|
getToken
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
connectWebhook,
|
|
4
4
|
runnerCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JZNBZUPZ.js";
|
|
6
|
+
import "./chunk-SANEFNTU.js";
|
|
7
7
|
import "./chunk-AG6SI6I2.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KH6FK6UQ.js";
|
|
9
9
|
import "./chunk-3DIGCVL4.js";
|
|
10
10
|
export {
|
|
11
11
|
connectWebhook,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
runsCommand,
|
|
9
9
|
sessionFolder,
|
|
10
10
|
watchCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-MC4DJ4LX.js";
|
|
12
|
+
import "./chunk-JFCEKATW.js";
|
|
13
|
+
import "./chunk-LNQLGVYC.js";
|
|
13
14
|
import "./chunk-VK6GV757.js";
|
|
14
|
-
import "./chunk-H7ZCXBNW.js";
|
|
15
15
|
import "./chunk-3DIGCVL4.js";
|
|
16
16
|
export {
|
|
17
17
|
findRun,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
takeoverDir,
|
|
10
10
|
writeTakeoverReply,
|
|
11
11
|
writeTakeoverRequest
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-VK6GV757.js";
|
|
12
|
+
} from "./chunk-DLFNATEZ.js";
|
|
13
|
+
import "./chunk-MC4DJ4LX.js";
|
|
14
|
+
import "./chunk-JFCEKATW.js";
|
|
16
15
|
import "./chunk-MWWA2VH7.js";
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LNQLGVYC.js";
|
|
18
17
|
import "./chunk-JX6VG5FE.js";
|
|
18
|
+
import "./chunk-VK6GV757.js";
|
|
19
19
|
import "./chunk-AG6SI6I2.js";
|
|
20
20
|
import "./chunk-3DIGCVL4.js";
|
|
21
21
|
export {
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DRIVER_NAME,
|
|
4
4
|
runConnect
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X7MNNKU3.js";
|
|
6
6
|
import "./chunk-MWWA2VH7.js";
|
|
7
7
|
import {
|
|
8
8
|
isLocal,
|
|
9
9
|
readRunnerConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LNQLGVYC.js";
|
|
11
11
|
import "./chunk-JX6VG5FE.js";
|
|
12
|
+
import "./chunk-VK6GV757.js";
|
|
12
13
|
import "./chunk-R3CLO2FB.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-JZNBZUPZ.js";
|
|
15
|
+
import "./chunk-SANEFNTU.js";
|
|
15
16
|
import "./chunk-AG6SI6I2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KH6FK6UQ.js";
|
|
17
18
|
import "./chunk-3DIGCVL4.js";
|
|
18
19
|
|
|
19
20
|
// src/commands/use.ts
|
package/package.json
CHANGED
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
toolPhrase,
|
|
6
6
|
writeSessionState
|
|
7
7
|
} from "./chunk-AEWIRLRS.js";
|
|
8
|
-
import "./chunk-VK6GV757.js";
|
|
9
8
|
import {
|
|
10
9
|
HeartbeatClient,
|
|
11
10
|
detectPlatform,
|
|
@@ -14,6 +13,7 @@ import {
|
|
|
14
13
|
getSurface,
|
|
15
14
|
sanitizeSessionKey
|
|
16
15
|
} from "./chunk-JX6VG5FE.js";
|
|
16
|
+
import "./chunk-VK6GV757.js";
|
|
17
17
|
import "./chunk-AG6SI6I2.js";
|
|
18
18
|
import {
|
|
19
19
|
getToken
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
sanitizeLabel
|
|
4
|
-
} from "./chunk-VK6GV757.js";
|
|
5
2
|
import {
|
|
6
3
|
HeartbeatClient,
|
|
7
4
|
detectPlatform,
|
|
@@ -10,6 +7,9 @@ import {
|
|
|
10
7
|
getSurface,
|
|
11
8
|
newSessionKey
|
|
12
9
|
} from "./chunk-JX6VG5FE.js";
|
|
10
|
+
import {
|
|
11
|
+
sanitizeLabel
|
|
12
|
+
} from "./chunk-VK6GV757.js";
|
|
13
13
|
import {
|
|
14
14
|
api
|
|
15
15
|
} from "./chunk-AG6SI6I2.js";
|