@cloop/runner 0.2.7 → 0.2.8

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,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  serveTakeovers
4
- } from "./chunk-DLFNATEZ.js";
5
- import "./chunk-MC4DJ4LX.js";
4
+ } from "./chunk-LJTAYH6Q.js";
5
+ import "./chunk-GGK4FLAH.js";
6
6
  import {
7
7
  LocalDriver
8
- } from "./chunk-JFCEKATW.js";
8
+ } from "./chunk-5GPCD7HI.js";
9
9
  import {
10
10
  MeshSocket,
11
11
  defaultSocketFactory
@@ -21,7 +21,7 @@ import {
21
21
  probeClaudePermissions,
22
22
  probeCodex,
23
23
  runBoxTool
24
- } from "./chunk-X7MNNKU3.js";
24
+ } from "./chunk-WKJBZKUO.js";
25
25
  import {
26
26
  BoxWatch,
27
27
  lockThreadsFile,
@@ -32,17 +32,20 @@ import {
32
32
  T3Driver,
33
33
  isLocal,
34
34
  readRunnerConfig,
35
+ showsOtherThreads,
35
36
  writeBoxConfig
36
- } from "./chunk-LNQLGVYC.js";
37
+ } from "./chunk-L5R7QXIB.js";
37
38
  import {
38
39
  getMachine
39
40
  } from "./chunk-JX6VG5FE.js";
40
41
  import "./chunk-VK6GV757.js";
41
42
  import "./chunk-R3CLO2FB.js";
42
- import "./chunk-JZNBZUPZ.js";
43
- import "./chunk-SANEFNTU.js";
43
+ import "./chunk-YVMU3GCX.js";
44
+ import "./chunk-SQLFEVGP.js";
44
45
  import "./chunk-AG6SI6I2.js";
45
- import "./chunk-KH6FK6UQ.js";
46
+ import {
47
+ VERSION
48
+ } from "./chunk-JXVCUFUB.js";
46
49
  import {
47
50
  getMeshUrl,
48
51
  getToken,
@@ -55,6 +58,7 @@ import { readdir, stat } from "fs/promises";
55
58
  import { homedir } from "os";
56
59
  import { join } from "path";
57
60
  import { createInterface } from "readline";
61
+ var seen = /* @__PURE__ */ new Map();
58
62
  var UUID = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;
59
63
  async function listOutsideSessions(root = join(homedir(), ".claude", "projects"), own = /* @__PURE__ */ new Set(), now = Date.now()) {
60
64
  const files = [];
@@ -73,32 +77,42 @@ async function listOutsideSessions(root = join(homedir(), ".claude", "projects")
73
77
  }
74
78
  }
75
79
  const results = [];
76
- for (const file of files.sort((a, b) => b.mtime - a.mtime).slice(0, 20)) {
77
- let title;
78
- let cwd;
79
- const stream = createReadStream(file.file, { encoding: "utf8" });
80
- const lines = createInterface({ input: stream, crlfDelay: Number.POSITIVE_INFINITY });
81
- try {
82
- for await (const line of lines) {
83
- if (!cwd && line.includes('"cwd"')) {
80
+ const newest = files.sort((a, b) => b.mtime - a.mtime).slice(0, 20);
81
+ for (const path of seen.keys()) if (!newest.some((file) => file.file === path)) seen.delete(path);
82
+ for (const file of newest) {
83
+ const known = seen.get(file.file);
84
+ let title = known?.mtime === file.mtime ? known.title : void 0;
85
+ let cwd = known?.mtime === file.mtime ? known.cwd : void 0;
86
+ if (known?.mtime !== file.mtime) {
87
+ const stream = createReadStream(file.file, { encoding: "utf8" });
88
+ const lines = createInterface({ input: stream, crlfDelay: Number.POSITIVE_INFINITY });
89
+ try {
90
+ for await (const line of lines) {
91
+ if (!cwd && line.includes('"cwd"')) {
92
+ try {
93
+ const record = JSON.parse(line);
94
+ if (typeof record.cwd === "string" && record.cwd.startsWith("/") && record.cwd.length <= 500)
95
+ cwd = record.cwd;
96
+ } catch {
97
+ }
98
+ }
99
+ if (!/^\s*\{\s*"type"\s*:\s*"(?:summary|custom-title|title)"/.test(line)) continue;
84
100
  try {
85
101
  const record = JSON.parse(line);
86
- if (typeof record.cwd === "string" && record.cwd.startsWith("/") && record.cwd.length <= 500)
87
- cwd = record.cwd;
102
+ const value = record.type === "summary" ? record.summary : record.type === "custom-title" ? record.customTitle : record.title;
103
+ if (typeof value === "string" && value.trim()) title = value.trim().slice(0, 120);
88
104
  } catch {
89
105
  }
90
106
  }
91
- if (!/^\s*\{\s*"type"\s*:\s*"(?:summary|custom-title|title)"/.test(line)) continue;
92
- try {
93
- const record = JSON.parse(line);
94
- const value = record.type === "summary" ? record.summary : record.type === "custom-title" ? record.customTitle : record.title;
95
- if (typeof value === "string" && value.trim()) title = value.trim().slice(0, 120);
96
- } catch {
97
- }
107
+ } finally {
108
+ lines.close();
109
+ stream.destroy();
98
110
  }
99
- } finally {
100
- lines.close();
101
- stream.destroy();
111
+ seen.set(file.file, {
112
+ mtime: file.mtime,
113
+ ...title ? { title } : {},
114
+ ...cwd ? { cwd } : {}
115
+ });
102
116
  }
103
117
  results.push({
104
118
  id: file.id,
@@ -146,7 +160,9 @@ function boxPresence(beat) {
146
160
  machine: beat.machine,
147
161
  surface: {
148
162
  driver: beat.driver,
163
+ version: VERSION,
149
164
  outsideThreads: beat.outsideThreads,
165
+ otherThreads: beat.otherThreads,
150
166
  ...beat.t3 ? { t3: beat.t3 } : {}
151
167
  },
152
168
  status: beat.running > 0 ? "active" : "idle",
@@ -290,7 +306,7 @@ async function run() {
290
306
  ...await mintSession(cfg.t3Url, { stored: cfg.t3Bin }),
291
307
  // Read from disk: `cloop connect` may have replaced it since.
292
308
  deviceToken: disk?.deviceToken ?? cfg.deviceToken,
293
- showOtherThreads: disk?.showOtherThreads ?? false,
309
+ hideOtherThreads: disk?.hideOtherThreads === true,
294
310
  ...disk?.chosenDriver ? { chosenDriver: disk.chosenDriver } : {},
295
311
  ...disk?.origin ?? cfg.origin ? { origin: disk?.origin ?? cfg.origin } : {}
296
312
  };
@@ -308,21 +324,16 @@ async function run() {
308
324
  await renewT3();
309
325
  let running = 0;
310
326
  let outsideThreads = [];
327
+ const shown = showsOtherThreads(readRunnerConfig());
311
328
  try {
312
- const enabled = readRunnerConfig()?.showOtherThreads === true;
329
+ const own = shown && driver.name === "claude-code";
313
330
  const listed = await driver.listThreads({
314
- scope: enabled ? "all" : "unsettled",
315
- limit: enabled ? 200 : 1
331
+ scope: own ? "all" : "unsettled",
332
+ limit: own ? 200 : 1
316
333
  });
317
334
  running = listed.running;
318
- if (enabled && driver.name === "t3")
319
- outsideThreads = listed.threads.filter((t) => !t.cloop).slice(0, 20).map((t) => ({
320
- id: t.id,
321
- title: t.title.slice(0, 120),
322
- updatedAt: t.updatedAt,
323
- status: t.status
324
- }));
325
- if (enabled && driver.name === "claude-code")
335
+ if (shown && driver instanceof T3Driver) outsideThreads = await driver.outsideThreads(20);
336
+ if (own)
326
337
  outsideThreads = await listOutsideSessions(
327
338
  void 0,
328
339
  new Set(listed.threads.map((t) => t.id))
@@ -337,6 +348,7 @@ async function run() {
337
348
  capabilities: driver.capabilities,
338
349
  machine,
339
350
  outsideThreads,
351
+ otherThreads: shown,
340
352
  running,
341
353
  t3: cfg && !isLocal(cfg) ? t3Presence(cfg, t3.renewalFailed) : null
342
354
  })
@@ -14,7 +14,7 @@ import {
14
14
  pruneRunLogs,
15
15
  resultPrUrl,
16
16
  runLogDir
17
- } from "./chunk-LNQLGVYC.js";
17
+ } from "./chunk-L5R7QXIB.js";
18
18
  import {
19
19
  CONFIG_DIR
20
20
  } from "./chunk-3DIGCVL4.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  localRunsFilePath,
4
4
  readRunRecords
5
- } from "./chunk-JFCEKATW.js";
5
+ } from "./chunk-5GPCD7HI.js";
6
6
  import {
7
7
  STOPPED_SUMMARY,
8
8
  isEndLogLine,
@@ -10,7 +10,7 @@ import {
10
10
  readRunnerConfig,
11
11
  runLogDir,
12
12
  runLogPath
13
- } from "./chunk-LNQLGVYC.js";
13
+ } from "./chunk-L5R7QXIB.js";
14
14
  import {
15
15
  sanitizeLabel,
16
16
  stripControl
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/version.ts
4
- var VERSION = true ? "0.2.7" : "0.0.0-dev";
4
+ var VERSION = true ? "0.2.8" : "0.0.0-dev";
5
5
 
6
6
  export {
7
7
  VERSION
@@ -767,6 +767,30 @@ ${RESULT_INSTRUCTION}`, attachments: [] }
767
767
  const open = await this.openTarget(id, projection).catch(() => null);
768
768
  return { status, settled, pr_url, last_assistant_text, open };
769
769
  }
770
+ /**
771
+ * The owner's own open threads, the ones Cloop did not start: running
772
+ * first, then the most recent. Each carries where it opens, the same
773
+ * target as a Cloop run's thread: its web page when another device can
774
+ * reach T3, else its project, to find it by title.
775
+ */
776
+ async outsideThreads(limit) {
777
+ const [cfg, shell] = await this.readT3State();
778
+ const base = this.t3.t3Url;
779
+ const web = base ? reachableBase(base, cfg.directEndpoints, this.servedBase(base)) : null;
780
+ const projects = new Map((shell.projects ?? []).map((p) => [p.id, p.title]));
781
+ const mine = (shell.threads ?? []).filter((t) => isUnsettled(t) && !threadView(t).cloop);
782
+ return orderThreads(mine, limit).map((t) => {
783
+ const project = t.projectId ? projects.get(t.projectId) : void 0;
784
+ return {
785
+ id: t.id,
786
+ title: t.title.slice(0, 120),
787
+ updatedAt: t.updatedAt,
788
+ status: t.status,
789
+ ...project ? { project: project.slice(0, 200) } : {},
790
+ ...web ? { url: t3ThreadUrl(web, cfg.environment.environmentId, t.id) } : {}
791
+ };
792
+ });
793
+ }
770
794
  /** Where the owner opens this thread: the T3 web app's page for it, or its title and project. */
771
795
  async openTarget(id, p) {
772
796
  const [cfg, shell] = await this.readT3State();
@@ -1087,6 +1111,14 @@ function boxPath() {
1087
1111
  function isLocal(cfg) {
1088
1112
  return cfg.driver === "claude-code" || cfg.driver === "codex";
1089
1113
  }
1114
+ function showsOtherThreads(cfg) {
1115
+ return cfg?.hideOtherThreads !== true;
1116
+ }
1117
+ function otherThreadsChoice(argv, previous) {
1118
+ if (argv.includes("--hide-other-threads")) return true;
1119
+ if (argv.includes("--show-other-threads")) return false;
1120
+ return previous?.hideOtherThreads === true;
1121
+ }
1090
1122
  function readRunnerConfig() {
1091
1123
  let parsed;
1092
1124
  try {
@@ -1140,6 +1172,8 @@ export {
1140
1172
  T3Driver,
1141
1173
  boxPath,
1142
1174
  isLocal,
1175
+ showsOtherThreads,
1176
+ otherThreadsChoice,
1143
1177
  readRunnerConfig,
1144
1178
  writeBoxConfig
1145
1179
  };
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  findRun
4
- } from "./chunk-MC4DJ4LX.js";
4
+ } from "./chunk-GGK4FLAH.js";
5
5
  import {
6
6
  localRunsFilePath,
7
7
  readRunRecords,
8
8
  takeoverSummary
9
- } from "./chunk-JFCEKATW.js";
9
+ } from "./chunk-5GPCD7HI.js";
10
10
  import {
11
11
  lockThreadsFile,
12
12
  threadsFilePath
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  isLocal,
16
16
  readRunnerConfig
17
- } from "./chunk-LNQLGVYC.js";
17
+ } from "./chunk-L5R7QXIB.js";
18
18
  import {
19
19
  shortMachineName
20
20
  } from "./chunk-JX6VG5FE.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-AG6SI6I2.js";
6
6
  import {
7
7
  VERSION
8
- } from "./chunk-KH6FK6UQ.js";
8
+ } from "./chunk-JXVCUFUB.js";
9
9
  import {
10
10
  getOrigin,
11
11
  readCredentials,
@@ -10,6 +10,7 @@ import {
10
10
  defaultT3BinSources,
11
11
  isLocal,
12
12
  isYes,
13
+ otherThreadsChoice,
13
14
  pickT3Bin,
14
15
  questionLine,
15
16
  readRunnerConfig,
@@ -17,7 +18,7 @@ import {
17
18
  t3BaseDirArgs,
18
19
  t3Candidates,
19
20
  writeBoxConfig
20
- } from "./chunk-LNQLGVYC.js";
21
+ } from "./chunk-L5R7QXIB.js";
21
22
  import {
22
23
  getMachine,
23
24
  shortMachineName
@@ -28,17 +29,17 @@ import {
28
29
  } from "./chunk-R3CLO2FB.js";
29
30
  import {
30
31
  connectWebhook
31
- } from "./chunk-JZNBZUPZ.js";
32
+ } from "./chunk-YVMU3GCX.js";
32
33
  import {
33
34
  ConnectFailure,
34
35
  connectReport,
35
36
  deviceLogin,
36
37
  newAttempt,
37
38
  sendConnectReport
38
- } from "./chunk-SANEFNTU.js";
39
+ } from "./chunk-SQLFEVGP.js";
39
40
  import {
40
41
  VERSION
41
- } from "./chunk-KH6FK6UQ.js";
42
+ } from "./chunk-JXVCUFUB.js";
42
43
  import {
43
44
  STAGING_ORIGIN,
44
45
  getOrigin
@@ -1392,7 +1393,7 @@ async function connectT3(argv, attempt, fallback, chosen, services) {
1392
1393
  writeBoxConfig: (cfg2) => writeBoxConfig({
1393
1394
  ...cfg2,
1394
1395
  origin: getOrigin(),
1395
- showOtherThreads: argv.includes("--show-other-threads"),
1396
+ hideOtherThreads: otherThreadsChoice(argv, previous),
1396
1397
  ...chosen ? { chosenDriver: chosen } : {}
1397
1398
  })
1398
1399
  });
@@ -1441,7 +1442,7 @@ async function connectLocal(driver, found, argv, attempt, chosen, services) {
1441
1442
  const deviceToken = await deviceLogin({ origin: getOrigin(), deviceName, device });
1442
1443
  attempt.deviceToken = deviceToken;
1443
1444
  const cfg = {
1444
- showOtherThreads: argv.includes("--show-other-threads"),
1445
+ hideOtherThreads: otherThreadsChoice(argv, previous),
1445
1446
  driver,
1446
1447
  environmentId: device.environmentId,
1447
1448
  label: deviceName,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ConnectFailure,
4
4
  deviceLogin
5
- } from "./chunk-SANEFNTU.js";
5
+ } from "./chunk-SQLFEVGP.js";
6
6
  import {
7
7
  ApiError,
8
8
  ReauthError,
@@ -38,16 +38,16 @@ import {
38
38
  tilde,
39
39
  unitEnv,
40
40
  unitFor
41
- } from "./chunk-X7MNNKU3.js";
41
+ } from "./chunk-WKJBZKUO.js";
42
42
  import "./chunk-MWWA2VH7.js";
43
- import "./chunk-LNQLGVYC.js";
43
+ import "./chunk-L5R7QXIB.js";
44
44
  import "./chunk-JX6VG5FE.js";
45
45
  import "./chunk-VK6GV757.js";
46
46
  import "./chunk-R3CLO2FB.js";
47
- import "./chunk-JZNBZUPZ.js";
48
- import "./chunk-SANEFNTU.js";
47
+ import "./chunk-YVMU3GCX.js";
48
+ import "./chunk-SQLFEVGP.js";
49
49
  import "./chunk-AG6SI6I2.js";
50
- import "./chunk-KH6FK6UQ.js";
50
+ import "./chunk-JXVCUFUB.js";
51
51
  import "./chunk-3DIGCVL4.js";
52
52
  export {
53
53
  DEFAULT_T3_URL,
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  localRunsFilePath
4
- } from "./chunk-JFCEKATW.js";
4
+ } from "./chunk-5GPCD7HI.js";
5
5
  import {
6
6
  installedService,
7
7
  revokeOwnDevice,
8
8
  runSteps,
9
9
  tokenGone
10
- } from "./chunk-X7MNNKU3.js";
10
+ } from "./chunk-WKJBZKUO.js";
11
11
  import {
12
12
  runnerStatePath,
13
13
  threadsFilePath
@@ -15,14 +15,14 @@ import {
15
15
  import {
16
16
  boxPath,
17
17
  readRunnerConfig
18
- } from "./chunk-LNQLGVYC.js";
18
+ } from "./chunk-L5R7QXIB.js";
19
19
  import "./chunk-JX6VG5FE.js";
20
20
  import "./chunk-VK6GV757.js";
21
21
  import "./chunk-R3CLO2FB.js";
22
- import "./chunk-JZNBZUPZ.js";
23
- import "./chunk-SANEFNTU.js";
22
+ import "./chunk-YVMU3GCX.js";
23
+ import "./chunk-SQLFEVGP.js";
24
24
  import "./chunk-AG6SI6I2.js";
25
- import "./chunk-KH6FK6UQ.js";
25
+ import "./chunk-JXVCUFUB.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-KH6FK6UQ.js";
4
+ } from "./chunk-JXVCUFUB.js";
5
5
  import {
6
6
  applyEnvironmentFlag
7
7
  } from "./chunk-3DIGCVL4.js";
@@ -23,12 +23,14 @@ Usage:
23
23
  cloop hook activity Lifecycle hook: records what this session is doing
24
24
  cloop connect [--repo <path>]... [--driver t3|claude-code|codex] [--fallback-model <list>]
25
25
  [--no-service] [--no-start] [--ask-everything] [--t3-pair <link>]
26
+ [--hide-other-threads | --show-other-threads]
26
27
  Make this machine a Cloop runner: T3 Code, else
27
28
  Claude Code or Codex in the repos you name.
28
29
  When T3 Code will not pair by itself, paste a
29
30
  link from T3 Code (Settings, Connections,
30
31
  Create pairing link) at the question, or pass
31
- it with --t3-pair
32
+ it with --t3-pair. Cloop shows the threads you
33
+ started yourself; --hide-other-threads hides them
32
34
  cloop use t3|claude-code|codex Run Cloop work here with that harness. It reconnects
33
35
  this machine, swaps its service, and keeps the choice
34
36
  cloop disconnect [--yes] Stop being a Cloop runner: revoke this computer on
@@ -55,7 +57,7 @@ async function main() {
55
57
  switch (command) {
56
58
  case "login":
57
59
  case "auth": {
58
- const { loginCommand } = await import("./login-XK4DOOGZ.js");
60
+ const { loginCommand } = await import("./login-262MCIQ4.js");
59
61
  await loginCommand(argv);
60
62
  break;
61
63
  }
@@ -65,57 +67,57 @@ async function main() {
65
67
  break;
66
68
  }
67
69
  case "serve": {
68
- const { startMcpServer } = await import("./mcp-server-GDTT45SF.js");
70
+ const { startMcpServer } = await import("./mcp-server-R5LX4ER5.js");
69
71
  await startMcpServer();
70
72
  break;
71
73
  }
72
74
  case "statusline": {
73
- const { statuslineCommand } = await import("./statusline-6WXP6S3D.js");
75
+ const { statuslineCommand } = await import("./statusline-LDW7RBT6.js");
74
76
  statuslineCommand();
75
77
  break;
76
78
  }
77
79
  case "connect": {
78
- const { connectCommand } = await import("./connect-GSGNPOPK.js");
80
+ const { connectCommand } = await import("./connect-RLDBBQI7.js");
79
81
  await connectCommand(argv.slice(1));
80
82
  break;
81
83
  }
82
84
  case "use": {
83
- const { useCommand } = await import("./use-TBSTJORL.js");
85
+ const { useCommand } = await import("./use-2W7Y42JQ.js");
84
86
  process.exitCode = await useCommand(argv.slice(1));
85
87
  break;
86
88
  }
87
89
  case "disconnect": {
88
- const { disconnectCommand } = await import("./disconnect-VTIIRAIV.js");
90
+ const { disconnectCommand } = await import("./disconnect-UYN2G7CO.js");
89
91
  await disconnectCommand(argv.slice(1));
90
92
  break;
91
93
  }
92
94
  case "box": {
93
- const { boxCommand } = await import("./box-U65RXLCX.js");
95
+ const { boxCommand } = await import("./box-TMEYQ5AN.js");
94
96
  await boxCommand(argv.slice(1));
95
97
  break;
96
98
  }
97
99
  case "runs": {
98
- const { runsCommand } = await import("./runs-2CZ3YZGI.js");
100
+ const { runsCommand } = await import("./runs-UV7GEDGW.js");
99
101
  process.exitCode = runsCommand();
100
102
  break;
101
103
  }
102
104
  case "watch": {
103
- const { watchCommand } = await import("./runs-2CZ3YZGI.js");
105
+ const { watchCommand } = await import("./runs-UV7GEDGW.js");
104
106
  process.exitCode = await watchCommand(argv.slice(1));
105
107
  break;
106
108
  }
107
109
  case "takeover": {
108
- const { takeoverCommand } = await import("./takeover-WHU4CEKP.js");
110
+ const { takeoverCommand } = await import("./takeover-KTRIOB3P.js");
109
111
  process.exitCode = await takeoverCommand(argv.slice(1));
110
112
  break;
111
113
  }
112
114
  case "resume": {
113
- const { resumeCommand } = await import("./runs-2CZ3YZGI.js");
115
+ const { resumeCommand } = await import("./runs-UV7GEDGW.js");
114
116
  process.exitCode = await resumeCommand(argv.slice(1));
115
117
  break;
116
118
  }
117
119
  case "runner": {
118
- const { runnerCommand } = await import("./runner-ST77ZDLI.js");
120
+ const { runnerCommand } = await import("./runner-ML437F74.js");
119
121
  await runnerCommand(argv.slice(1));
120
122
  break;
121
123
  }
@@ -3,9 +3,9 @@ import {
3
3
  deviceLogin,
4
4
  loginCommand,
5
5
  refusalSentence
6
- } from "./chunk-SANEFNTU.js";
6
+ } from "./chunk-SQLFEVGP.js";
7
7
  import "./chunk-AG6SI6I2.js";
8
- import "./chunk-KH6FK6UQ.js";
8
+ import "./chunk-JXVCUFUB.js";
9
9
  import "./chunk-3DIGCVL4.js";
10
10
  export {
11
11
  deviceLogin,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-AG6SI6I2.js";
34
34
  import {
35
35
  VERSION
36
- } from "./chunk-KH6FK6UQ.js";
36
+ } from "./chunk-JXVCUFUB.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-JZNBZUPZ.js";
6
- import "./chunk-SANEFNTU.js";
5
+ } from "./chunk-YVMU3GCX.js";
6
+ import "./chunk-SQLFEVGP.js";
7
7
  import "./chunk-AG6SI6I2.js";
8
- import "./chunk-KH6FK6UQ.js";
8
+ import "./chunk-JXVCUFUB.js";
9
9
  import "./chunk-3DIGCVL4.js";
10
10
  export {
11
11
  connectWebhook,
@@ -8,9 +8,9 @@ import {
8
8
  runsCommand,
9
9
  sessionFolder,
10
10
  watchCommand
11
- } from "./chunk-MC4DJ4LX.js";
12
- import "./chunk-JFCEKATW.js";
13
- import "./chunk-LNQLGVYC.js";
11
+ } from "./chunk-GGK4FLAH.js";
12
+ import "./chunk-5GPCD7HI.js";
13
+ import "./chunk-L5R7QXIB.js";
14
14
  import "./chunk-VK6GV757.js";
15
15
  import "./chunk-3DIGCVL4.js";
16
16
  export {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-VK6GV757.js";
8
8
  import {
9
9
  VERSION
10
- } from "./chunk-KH6FK6UQ.js";
10
+ } from "./chunk-JXVCUFUB.js";
11
11
  import {
12
12
  getToken
13
13
  } from "./chunk-3DIGCVL4.js";
@@ -9,11 +9,11 @@ import {
9
9
  takeoverDir,
10
10
  writeTakeoverReply,
11
11
  writeTakeoverRequest
12
- } from "./chunk-DLFNATEZ.js";
13
- import "./chunk-MC4DJ4LX.js";
14
- import "./chunk-JFCEKATW.js";
12
+ } from "./chunk-LJTAYH6Q.js";
13
+ import "./chunk-GGK4FLAH.js";
14
+ import "./chunk-5GPCD7HI.js";
15
15
  import "./chunk-MWWA2VH7.js";
16
- import "./chunk-LNQLGVYC.js";
16
+ import "./chunk-L5R7QXIB.js";
17
17
  import "./chunk-JX6VG5FE.js";
18
18
  import "./chunk-VK6GV757.js";
19
19
  import "./chunk-AG6SI6I2.js";
@@ -2,19 +2,19 @@
2
2
  import {
3
3
  DRIVER_NAME,
4
4
  runConnect
5
- } from "./chunk-X7MNNKU3.js";
5
+ } from "./chunk-WKJBZKUO.js";
6
6
  import "./chunk-MWWA2VH7.js";
7
7
  import {
8
8
  isLocal,
9
9
  readRunnerConfig
10
- } from "./chunk-LNQLGVYC.js";
10
+ } from "./chunk-L5R7QXIB.js";
11
11
  import "./chunk-JX6VG5FE.js";
12
12
  import "./chunk-VK6GV757.js";
13
13
  import "./chunk-R3CLO2FB.js";
14
- import "./chunk-JZNBZUPZ.js";
15
- import "./chunk-SANEFNTU.js";
14
+ import "./chunk-YVMU3GCX.js";
15
+ import "./chunk-SQLFEVGP.js";
16
16
  import "./chunk-AG6SI6I2.js";
17
- import "./chunk-KH6FK6UQ.js";
17
+ import "./chunk-JXVCUFUB.js";
18
18
  import "./chunk-3DIGCVL4.js";
19
19
 
20
20
  // src/commands/use.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloop/runner",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "Make your machine and your agents Cloop runners: device login, the runner daemon, the Cloop MCP server, and Claude Code hooks.",