@cloop/runner 0.3.46 → 0.3.50

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.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  serveTakeovers
4
- } from "./chunk-PUDWLT5C.js";
5
- import "./chunk-KG2RA3FJ.js";
4
+ } from "./chunk-YQPEI7JQ.js";
5
+ import "./chunk-U2WMOXXK.js";
6
6
  import {
7
7
  CAPTURE_TICK_MS,
8
8
  DEFAULT_FALLBACK_MODEL,
@@ -39,7 +39,7 @@ import {
39
39
  systemServices,
40
40
  unitFor,
41
41
  which
42
- } from "./chunk-42ABTDLJ.js";
42
+ } from "./chunk-C5AX6WHQ.js";
43
43
  import {
44
44
  MeshSocket,
45
45
  WAKE_TICK_MS,
@@ -57,7 +57,7 @@ import {
57
57
  runnerStatePath,
58
58
  threadsFilePath,
59
59
  writeRunnerState
60
- } from "./chunk-UXMDNJ3O.js";
60
+ } from "./chunk-QVN7U4PK.js";
61
61
  import {
62
62
  BackgroundReading,
63
63
  BoxToolError,
@@ -106,20 +106,20 @@ import {
106
106
  utcWindow,
107
107
  windowsPowerShellEnv,
108
108
  writeBoxConfig
109
- } from "./chunk-RRRV64ZB.js";
109
+ } from "./chunk-E2FGYM4K.js";
110
110
  import "./chunk-VK6GV757.js";
111
111
  import {
112
112
  olderThan
113
113
  } from "./chunk-365HFCQQ.js";
114
114
  import "./chunk-PKIEWBR7.js";
115
- import "./chunk-NTUUR5CD.js";
116
- import "./chunk-A3YMWMAP.js";
115
+ import "./chunk-KMNIEPH4.js";
116
+ import "./chunk-I3IX5CWA.js";
117
117
  import {
118
118
  getMachine
119
119
  } from "./chunk-SBYSVZ7J.js";
120
120
  import {
121
121
  VERSION
122
- } from "./chunk-2YAX6QVI.js";
122
+ } from "./chunk-BQAW4SH3.js";
123
123
  import {
124
124
  getMeshUrl,
125
125
  getOrigin,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/version.ts
4
- var VERSION = true ? "0.3.46" : "0.0.0-dev";
4
+ var VERSION = true ? "0.3.50" : "0.0.0-dev";
5
5
 
6
6
  export {
7
7
  VERSION
@@ -9,7 +9,7 @@ import {
9
9
  readRunnerState,
10
10
  runnerStatePath,
11
11
  threadsFilePath
12
- } from "./chunk-UXMDNJ3O.js";
12
+ } from "./chunk-QVN7U4PK.js";
13
13
  import {
14
14
  BoxToolError,
15
15
  CLOOP_THREAD_PREFIX,
@@ -49,7 +49,7 @@ import {
49
49
  windowsExecutable,
50
50
  windowsPowerShellEnv,
51
51
  writeBoxConfig
52
- } from "./chunk-RRRV64ZB.js";
52
+ } from "./chunk-E2FGYM4K.js";
53
53
  import {
54
54
  CLAUDE_FLOOR,
55
55
  CODEX_FLOOR,
@@ -63,14 +63,14 @@ import {
63
63
  } from "./chunk-PKIEWBR7.js";
64
64
  import {
65
65
  connectWebhook
66
- } from "./chunk-NTUUR5CD.js";
66
+ } from "./chunk-KMNIEPH4.js";
67
67
  import {
68
68
  ConnectFailure,
69
69
  connectReport,
70
70
  deviceLogin,
71
71
  newAttempt,
72
72
  sendConnectReport
73
- } from "./chunk-A3YMWMAP.js";
73
+ } from "./chunk-I3IX5CWA.js";
74
74
  import {
75
75
  defaultDeviceName,
76
76
  getMachine,
@@ -78,7 +78,7 @@ import {
78
78
  } from "./chunk-SBYSVZ7J.js";
79
79
  import {
80
80
  VERSION
81
- } from "./chunk-2YAX6QVI.js";
81
+ } from "./chunk-BQAW4SH3.js";
82
82
  import {
83
83
  STAGING_ORIGIN,
84
84
  getOrigin,
@@ -828,7 +828,7 @@ var RESULT_INSTRUCTION = [
828
828
  ].join("\n");
829
829
  var MACHINE_RESULT_INSTRUCTION = [
830
830
  RESULT_INSTRUCTION,
831
- `To show the owner a picture, such as a screenshot of a UI change or a result a picture explains better than words, save it as a PNG, JPEG or WebP file outside the repository (for example in /tmp) and list it as an output: {"kind": "image", "title": "The new sign-in page", "path": "/tmp/sign-in.png"}, with the file's absolute path. Cloop uploads the file and shows it on the run. At most ${RUN_IMAGES_MAX} images, each under ${RUN_IMAGE_MAX_BYTES / (1024 * 1024)} MB. On a Cloop Box, the Playwright browser tool takes a screenshot of any page, a local server's page too.`,
831
+ `To show the owner a picture, such as a screenshot of a UI change or a result a picture explains better than words, save it as a PNG, JPEG or WebP file outside the repository (for example in /tmp) and list it as an output: {"kind": "image", "title": "The new sign-in page", "path": "/tmp/sign-in.png"}, with the file's absolute path. Cloop uploads the file and shows it on the run. At most ${RUN_IMAGES_MAX} images, each under ${RUN_IMAGE_MAX_BYTES / (1024 * 1024)} MB. On a Cloop Box, take a picture of a website with the cloop \`browser\` tool: action screenshot shows you the page, and with a title Cloop also attaches the picture to this run and shows it to the owner. You need not list it in your outputs. Use the Playwright browser tool only for a page on localhost, and list its file by path.`,
832
832
  `To let the owner open a web app or page you are running on this machine, such as a dev server, leave the server running after your turn ends: start it in the background, detached from your shell (for example \`nohup npm run dev -- --port 5173 > /tmp/dev.log 2>&1 &\`), and check it answers on its port. Then list it as an output: {"kind": "preview", "title": "The new sign-in page", "port": 5173, "path": "/sign-in"}, with the port it listens on and an optional path to open first. Cloop gives the owner a private link to it for ${PREVIEW_HOURS} hours, while this machine is on. At most ${RUN_PREVIEWS_MAX} previews a run.`,
833
833
  `When you started something that keeps running after this turn (a build, a deploy, a long job) or you wait on something outside, do not wait in the turn: add "check_back": {"in_minutes": 120, "why": "Read the training log and report the score."} to the block. Cloop sends you a message in this conversation then, with your why, and you carry on from there. Give ${CHECK_BACK_MIN_MINUTES} to ${CHECK_BACK_MAX_MINUTES} minutes. Leave it out when the work is done.`
834
834
  ].join("\n");
@@ -884,14 +884,12 @@ function readOutput(o) {
884
884
  ...body !== void 0 ? { body } : {}
885
885
  };
886
886
  }
887
- case "image":
887
+ case "image": {
888
+ const media = typeof out.media === "string" && RUN_MEDIA_KEY.test(out.media) ? out.media : void 0;
889
+ if (out.path === void 0) return media ? { kind: "image", title, media } : null;
888
890
  if (!text(out.path, 400)) return null;
889
- return {
890
- kind: "image",
891
- title,
892
- path: out.path,
893
- ...typeof out.media === "string" && RUN_MEDIA_KEY.test(out.media) ? { media: out.media } : {}
894
- };
891
+ return { kind: "image", title, path: out.path, ...media ? { media } : {} };
892
+ }
895
893
  case "preview":
896
894
  if (!isPort(out.port) || out.path !== void 0 && !isPreviewPath(out.path)) return null;
897
895
  return {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SBYSVZ7J.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-2YAX6QVI.js";
9
+ } from "./chunk-BQAW4SH3.js";
10
10
  import {
11
11
  getOrigin,
12
12
  readCredentials,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ConnectFailure,
4
4
  deviceLogin
5
- } from "./chunk-A3YMWMAP.js";
5
+ } from "./chunk-I3IX5CWA.js";
6
6
  import {
7
7
  ApiError,
8
8
  ReauthError,
@@ -9,7 +9,7 @@ import {
9
9
  commandFor,
10
10
  imageExt,
11
11
  runnerPath
12
- } from "./chunk-RRRV64ZB.js";
12
+ } from "./chunk-E2FGYM4K.js";
13
13
 
14
14
  // src/run-previews.ts
15
15
  import { execFile as execFile2, spawn } from "child_process";
@@ -136,7 +136,9 @@ import { homedir as homedir2 } from "os";
136
136
  import { isAbsolute, join as join2, resolve } from "path";
137
137
  var MEDIA_BUDGET_MS = 3e4;
138
138
  function hasImages(result) {
139
- return Boolean(result?.outputs.some((output) => output.kind === "image"));
139
+ return Boolean(
140
+ result?.outputs.some((output) => output.kind === "image" && output.path !== void 0)
141
+ );
140
142
  }
141
143
  function imageFile(path, cwd) {
142
144
  if (isAbsolute(path)) return path;
@@ -190,14 +192,16 @@ async function imagePatches(workId, result, cwd, deps) {
190
192
  const clock = new AbortController();
191
193
  const timer = setTimeout(() => clock.abort(), budget);
192
194
  const outputs = result.outputs.map((output) => {
193
- if (output.kind !== "image") return output;
195
+ if (output.kind !== "image" || output.path === void 0) return output;
194
196
  const { media: _unsent, ...image } = output;
195
197
  return image;
196
198
  });
197
199
  const work = (async () => {
198
- let sent = 0;
200
+ let sent = outputs.filter(
201
+ (output) => output.kind === "image" && output.path === void 0
202
+ ).length;
199
203
  for (const [i, output] of outputs.entries()) {
200
- if (output.kind !== "image") continue;
204
+ if (output.kind !== "image" || output.path === void 0) continue;
201
205
  if (sent >= RUN_IMAGES_MAX || clock.signal.aborted) {
202
206
  deps.log(
203
207
  `[runner:media] not sent work=${workId} reason=${clock.signal.aborted ? "out_of_time" : "too_many"}`
@@ -594,6 +598,7 @@ var PreviewConnector = class {
594
598
  // src/box-watch.ts
595
599
  import { randomUUID } from "crypto";
596
600
  import { chmodSync, mkdirSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "fs";
601
+ import { uptime } from "os";
597
602
  import { dirname, join as join4 } from "path";
598
603
  var KEEP_MS = 7 * 24 * 36e5;
599
604
  function threadsFilePath(env) {
@@ -632,17 +637,22 @@ function isAlive(pid) {
632
637
  return err.code === "EPERM";
633
638
  }
634
639
  }
635
- function lockThreadsFile(file, pid = process.pid, alive = isAlive) {
640
+ function bootedAt() {
641
+ return Math.round(Date.now() / 1e3 - uptime());
642
+ }
643
+ var SAME_BOOT_S = 120;
644
+ function lockThreadsFile(file, pid = process.pid, alive = isAlive, boot = bootedAt()) {
636
645
  const lock = `${file}.lock`;
646
+ const mine = `${pid} ${boot}`;
637
647
  mkdirSync(dirname(lock), { recursive: true, mode: 448 });
638
648
  for (let attempt = 0; attempt < 2; attempt++) {
639
649
  try {
640
- writeFileSync(lock, String(pid), { flag: "wx", mode: 384 });
650
+ writeFileSync(lock, mine, { flag: "wx", mode: 384 });
641
651
  return {
642
652
  ok: true,
643
653
  release: () => {
644
654
  try {
645
- if (readFileSync(lock, "utf-8") === String(pid)) unlinkSync(lock);
655
+ if (readFileSync(lock, "utf-8") === mine) unlinkSync(lock);
646
656
  } catch {
647
657
  }
648
658
  }
@@ -650,13 +660,17 @@ function lockThreadsFile(file, pid = process.pid, alive = isAlive) {
650
660
  } catch (err) {
651
661
  if (err.code !== "EEXIST") throw err;
652
662
  let held = 0;
663
+ let heldBoot = null;
653
664
  try {
654
- held = Number(readFileSync(lock, "utf-8").trim());
665
+ const [p, b] = readFileSync(lock, "utf-8").trim().split(/\s+/);
666
+ held = Number(p);
667
+ heldBoot = b === void 0 ? null : Number(b);
655
668
  } catch (readErr) {
656
669
  if (readErr.code !== "ENOENT") throw readErr;
657
670
  continue;
658
671
  }
659
- if (Number.isInteger(held) && held > 0 && held !== pid && alive(held)) {
672
+ const thisBoot = heldBoot === null || Math.abs(heldBoot - boot) <= SAME_BOOT_S;
673
+ if (Number.isInteger(held) && held > 0 && held !== pid && thisBoot && alive(held)) {
660
674
  return { ok: false, heldBy: held };
661
675
  }
662
676
  try {
@@ -9,7 +9,7 @@ import {
9
9
  runHarness,
10
10
  runLogDir,
11
11
  runLogPath
12
- } from "./chunk-RRRV64ZB.js";
12
+ } from "./chunk-E2FGYM4K.js";
13
13
  import {
14
14
  sanitizeLabel,
15
15
  stripControl
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  findRun,
4
4
  ownHarness
5
- } from "./chunk-KG2RA3FJ.js";
5
+ } from "./chunk-U2WMOXXK.js";
6
6
  import {
7
7
  lockThreadsFile,
8
8
  threadsFilePath
9
- } from "./chunk-UXMDNJ3O.js";
9
+ } from "./chunk-QVN7U4PK.js";
10
10
  import {
11
11
  localRunsFilePath,
12
12
  readRunRecords,
13
13
  runHarness,
14
14
  takeoverSummary
15
- } from "./chunk-RRRV64ZB.js";
15
+ } from "./chunk-E2FGYM4K.js";
16
16
  import {
17
17
  sanitizeLabel
18
18
  } from "./chunk-VK6GV757.js";
@@ -53,17 +53,17 @@ import {
53
53
  which,
54
54
  workFolder,
55
55
  workFolderLine
56
- } from "./chunk-42ABTDLJ.js";
56
+ } from "./chunk-C5AX6WHQ.js";
57
57
  import "./chunk-BI2Y5ZCL.js";
58
- import "./chunk-UXMDNJ3O.js";
59
- import "./chunk-RRRV64ZB.js";
58
+ import "./chunk-QVN7U4PK.js";
59
+ import "./chunk-E2FGYM4K.js";
60
60
  import "./chunk-VK6GV757.js";
61
61
  import "./chunk-365HFCQQ.js";
62
62
  import "./chunk-PKIEWBR7.js";
63
- import "./chunk-NTUUR5CD.js";
64
- import "./chunk-A3YMWMAP.js";
63
+ import "./chunk-KMNIEPH4.js";
64
+ import "./chunk-I3IX5CWA.js";
65
65
  import "./chunk-SBYSVZ7J.js";
66
- import "./chunk-2YAX6QVI.js";
66
+ import "./chunk-BQAW4SH3.js";
67
67
  import "./chunk-D5UZW42X.js";
68
68
  export {
69
69
  DEFAULT_T3_URL,
@@ -7,17 +7,17 @@ import {
7
7
  runnerOrigin,
8
8
  stopService,
9
9
  unitOrigin
10
- } from "./chunk-42ABTDLJ.js";
10
+ } from "./chunk-C5AX6WHQ.js";
11
11
  import "./chunk-BI2Y5ZCL.js";
12
- import "./chunk-UXMDNJ3O.js";
13
- import "./chunk-RRRV64ZB.js";
12
+ import "./chunk-QVN7U4PK.js";
13
+ import "./chunk-E2FGYM4K.js";
14
14
  import "./chunk-VK6GV757.js";
15
15
  import "./chunk-365HFCQQ.js";
16
16
  import "./chunk-PKIEWBR7.js";
17
- import "./chunk-NTUUR5CD.js";
18
- import "./chunk-A3YMWMAP.js";
17
+ import "./chunk-KMNIEPH4.js";
18
+ import "./chunk-I3IX5CWA.js";
19
19
  import "./chunk-SBYSVZ7J.js";
20
- import "./chunk-2YAX6QVI.js";
20
+ import "./chunk-BQAW4SH3.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-42ABTDLJ.js";
5
+ } from "./chunk-C5AX6WHQ.js";
6
6
  import "./chunk-BI2Y5ZCL.js";
7
- import "./chunk-UXMDNJ3O.js";
8
- import "./chunk-RRRV64ZB.js";
7
+ import "./chunk-QVN7U4PK.js";
8
+ import "./chunk-E2FGYM4K.js";
9
9
  import "./chunk-VK6GV757.js";
10
10
  import "./chunk-365HFCQQ.js";
11
11
  import "./chunk-PKIEWBR7.js";
12
- import "./chunk-NTUUR5CD.js";
13
- import "./chunk-A3YMWMAP.js";
12
+ import "./chunk-KMNIEPH4.js";
13
+ import "./chunk-I3IX5CWA.js";
14
14
  import "./chunk-SBYSVZ7J.js";
15
- import "./chunk-2YAX6QVI.js";
15
+ import "./chunk-BQAW4SH3.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-2YAX6QVI.js";
7
+ } from "./chunk-BQAW4SH3.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-R3U2RIRS.js");
72
+ const { pinExistingRunner: pin } = await import("./existing-runner-5SRUVRID.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-LX3UQGJA.js");
80
+ const { loginCommand } = await import("./login-WZQB2TLE.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-MFHKJ7WR.js");
90
+ const { startMcpServer } = await import("./mcp-server-BBSOR4IK.js");
91
91
  await startMcpServer();
92
92
  break;
93
93
  }
94
94
  case "statusline": {
95
- const { statuslineCommand } = await import("./statusline-LK3NK4AN.js");
95
+ const { statuslineCommand } = await import("./statusline-Q6ATXZTV.js");
96
96
  statuslineCommand();
97
97
  break;
98
98
  }
99
99
  case "connect": {
100
- const { connectCommand } = await import("./connect-RB6AE2BT.js");
100
+ const { connectCommand } = await import("./connect-NMJ5LSRD.js");
101
101
  await connectCommand(argv.slice(1));
102
102
  break;
103
103
  }
104
104
  case "use": {
105
- const { useCommand } = await import("./use-TKCUBBUO.js");
105
+ const { useCommand } = await import("./use-VGOEBSXJ.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-CMPHFSPV.js");
110
+ const { disconnectCommand } = await import("./disconnect-XOLKYHJX.js");
111
111
  await disconnectCommand(argv.slice(1));
112
112
  break;
113
113
  }
114
114
  case "box": {
115
- const { boxCommand } = await import("./box-LSZRJRRB.js");
115
+ const { boxCommand } = await import("./box-LLBHRFVQ.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-4M5B26MP.js");
121
+ const { runsCommand } = await import("./runs-GFEAMAYU.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-4M5B26MP.js");
127
+ const { watchCommand } = await import("./runs-GFEAMAYU.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-RKTFGMQY.js");
133
+ const { takeoverCommand } = await import("./takeover-SYLAMSOC.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-4M5B26MP.js");
139
+ const { resumeCommand } = await import("./runs-GFEAMAYU.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-VTJH554V.js");
144
+ const { runnerCommand } = await import("./runner-66QRLG7Y.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-A3YMWMAP.js";
6
+ } from "./chunk-I3IX5CWA.js";
7
7
  import "./chunk-SBYSVZ7J.js";
8
- import "./chunk-2YAX6QVI.js";
8
+ import "./chunk-BQAW4SH3.js";
9
9
  import "./chunk-D5UZW42X.js";
10
10
  export {
11
11
  deviceLogin,
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-SBYSVZ7J.js";
32
32
  import {
33
33
  VERSION
34
- } from "./chunk-2YAX6QVI.js";
34
+ } from "./chunk-BQAW4SH3.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-NTUUR5CD.js";
6
- import "./chunk-A3YMWMAP.js";
5
+ } from "./chunk-KMNIEPH4.js";
6
+ import "./chunk-I3IX5CWA.js";
7
7
  import "./chunk-SBYSVZ7J.js";
8
- import "./chunk-2YAX6QVI.js";
8
+ import "./chunk-BQAW4SH3.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-KG2RA3FJ.js";
13
- import "./chunk-RRRV64ZB.js";
12
+ } from "./chunk-U2WMOXXK.js";
13
+ import "./chunk-E2FGYM4K.js";
14
14
  import "./chunk-VK6GV757.js";
15
15
  import "./chunk-D5UZW42X.js";
16
16
  export {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-VK6GV757.js";
8
8
  import {
9
9
  VERSION
10
- } from "./chunk-2YAX6QVI.js";
10
+ } from "./chunk-BQAW4SH3.js";
11
11
  import {
12
12
  getToken
13
13
  } from "./chunk-D5UZW42X.js";
@@ -9,10 +9,10 @@ import {
9
9
  takeoverDir,
10
10
  writeTakeoverReply,
11
11
  writeTakeoverRequest
12
- } from "./chunk-PUDWLT5C.js";
13
- import "./chunk-KG2RA3FJ.js";
14
- import "./chunk-UXMDNJ3O.js";
15
- import "./chunk-RRRV64ZB.js";
12
+ } from "./chunk-YQPEI7JQ.js";
13
+ import "./chunk-U2WMOXXK.js";
14
+ import "./chunk-QVN7U4PK.js";
15
+ import "./chunk-E2FGYM4K.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-42ABTDLJ.js";
6
+ } from "./chunk-C5AX6WHQ.js";
7
7
  import "./chunk-BI2Y5ZCL.js";
8
- import "./chunk-UXMDNJ3O.js";
8
+ import "./chunk-QVN7U4PK.js";
9
9
  import {
10
10
  isLocal,
11
11
  readRunnerConfig
12
- } from "./chunk-RRRV64ZB.js";
12
+ } from "./chunk-E2FGYM4K.js";
13
13
  import "./chunk-VK6GV757.js";
14
14
  import "./chunk-365HFCQQ.js";
15
15
  import "./chunk-PKIEWBR7.js";
16
- import "./chunk-NTUUR5CD.js";
17
- import "./chunk-A3YMWMAP.js";
16
+ import "./chunk-KMNIEPH4.js";
17
+ import "./chunk-I3IX5CWA.js";
18
18
  import "./chunk-SBYSVZ7J.js";
19
- import "./chunk-2YAX6QVI.js";
19
+ import "./chunk-BQAW4SH3.js";
20
20
  import "./chunk-D5UZW42X.js";
21
21
 
22
22
  // src/commands/use.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloop/runner",
3
- "version": "0.3.46",
3
+ "version": "0.3.50",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "Make your computer and your agents Cloop machines: device login, the machine daemon, the Cloop MCP server, and Claude Code hooks.",