@cloop/runner 0.3.42 → 0.3.45

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,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/version.ts
4
- var VERSION = true ? "0.3.42" : "0.0.0-dev";
4
+ var VERSION = true ? "0.3.45" : "0.0.0-dev";
5
5
 
6
6
  export {
7
7
  VERSION
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SBYSVZ7J.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-7B53CL3W.js";
9
+ } from "./chunk-AAHVP23O.js";
10
10
  import {
11
11
  getOrigin,
12
12
  readCredentials,
@@ -9,7 +9,7 @@ import {
9
9
  readRunnerState,
10
10
  runnerStatePath,
11
11
  threadsFilePath
12
- } from "./chunk-PN5CQQVG.js";
12
+ } from "./chunk-UXMDNJ3O.js";
13
13
  import {
14
14
  BoxToolError,
15
15
  CLOOP_THREAD_PREFIX,
@@ -21,6 +21,7 @@ import {
21
21
  T3Client,
22
22
  T3Driver,
23
23
  T3HttpError,
24
+ apiErrorWords,
24
25
  boxPath,
25
26
  cloopCommand,
26
27
  commandFor,
@@ -48,7 +49,7 @@ import {
48
49
  windowsExecutable,
49
50
  windowsPowerShellEnv,
50
51
  writeBoxConfig
51
- } from "./chunk-NP5VVHLS.js";
52
+ } from "./chunk-RRRV64ZB.js";
52
53
  import {
53
54
  CLAUDE_FLOOR,
54
55
  CODEX_FLOOR,
@@ -62,14 +63,14 @@ import {
62
63
  } from "./chunk-PKIEWBR7.js";
63
64
  import {
64
65
  connectWebhook
65
- } from "./chunk-OXFFDL26.js";
66
+ } from "./chunk-L763FCD7.js";
66
67
  import {
67
68
  ConnectFailure,
68
69
  connectReport,
69
70
  deviceLogin,
70
71
  newAttempt,
71
72
  sendConnectReport
72
- } from "./chunk-QOYGTYFE.js";
73
+ } from "./chunk-EPWLBMCR.js";
73
74
  import {
74
75
  defaultDeviceName,
75
76
  getMachine,
@@ -77,7 +78,7 @@ import {
77
78
  } from "./chunk-SBYSVZ7J.js";
78
79
  import {
79
80
  VERSION
80
- } from "./chunk-7B53CL3W.js";
81
+ } from "./chunk-AAHVP23O.js";
81
82
  import {
82
83
  STAGING_ORIGIN,
83
84
  getOrigin,
@@ -798,14 +799,6 @@ async function codexModels(bin = "codex") {
798
799
  return [];
799
800
  }
800
801
  }
801
- function errorMessage(message) {
802
- try {
803
- const inner = JSON.parse(message).error?.message;
804
- return typeof inner === "string" ? inner : message;
805
- } catch {
806
- return message;
807
- }
808
- }
809
802
  function parseCodexLine(raw) {
810
803
  let msg;
811
804
  try {
@@ -840,7 +833,7 @@ function parseCodexLine(raw) {
840
833
  if (msg.type === "turn.completed") return [{ type: "result", ok: true }];
841
834
  if (msg.type === "turn.failed") {
842
835
  const message = msg.error?.message;
843
- const text = typeof message === "string" ? errorMessage(message) : void 0;
836
+ const text = typeof message === "string" ? apiErrorWords(message) : void 0;
844
837
  return [
845
838
  { type: "result", ok: false, ...text ? { text } : {} },
846
839
  ...text && HARNESS_SIGNED_OUT.test(text) ? [{ type: "signed_out" }] : []
@@ -3396,6 +3389,7 @@ export {
3396
3389
  DEFAULT_FALLBACK_MODEL,
3397
3390
  claudeDialect,
3398
3391
  probeCodex,
3392
+ codexModels,
3399
3393
  codexDialect,
3400
3394
  DEFAULT_T3_URL,
3401
3395
  which,
@@ -9,7 +9,7 @@ import {
9
9
  runHarness,
10
10
  runLogDir,
11
11
  runLogPath
12
- } from "./chunk-NP5VVHLS.js";
12
+ } from "./chunk-RRRV64ZB.js";
13
13
  import {
14
14
  sanitizeLabel,
15
15
  stripControl
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ConnectFailure,
4
4
  deviceLogin
5
- } from "./chunk-QOYGTYFE.js";
5
+ } from "./chunk-EPWLBMCR.js";
6
6
  import {
7
7
  ApiError,
8
8
  ReauthError,
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  findRun,
4
4
  ownHarness
5
- } from "./chunk-3N4X2TK2.js";
5
+ } from "./chunk-KG2RA3FJ.js";
6
6
  import {
7
7
  lockThreadsFile,
8
8
  threadsFilePath
9
- } from "./chunk-PN5CQQVG.js";
9
+ } from "./chunk-UXMDNJ3O.js";
10
10
  import {
11
11
  localRunsFilePath,
12
12
  readRunRecords,
13
13
  runHarness,
14
14
  takeoverSummary
15
- } from "./chunk-NP5VVHLS.js";
15
+ } from "./chunk-RRRV64ZB.js";
16
16
  import {
17
17
  sanitizeLabel
18
18
  } from "./chunk-VK6GV757.js";
@@ -1136,6 +1136,24 @@ function limitedModel(said) {
1136
1136
  function refusedModel(said) {
1137
1137
  return /The '([^']+)' model is not supported/i.exec(said ?? "")?.[1] ?? null;
1138
1138
  }
1139
+ function nextModel(listed, tried) {
1140
+ return listed.find((m) => !tried.includes(m)) ?? null;
1141
+ }
1142
+ var MODEL_REFUSAL_MS = 24 * 36e5;
1143
+ function refusedRecently(refusals, now) {
1144
+ return refusals.filter((r) => now - Date.parse(r.at) < MODEL_REFUSAL_MS).map((r) => r.model);
1145
+ }
1146
+ function refusedModelLine(harness, refused, next) {
1147
+ return `${harness} cannot use ${refused} on this account, so this ran on ${next}.`;
1148
+ }
1149
+ function apiErrorWords(said) {
1150
+ try {
1151
+ const inner = JSON.parse(said)?.error?.message;
1152
+ return typeof inner === "string" && inner.trim() ? inner.trim() : said;
1153
+ } catch {
1154
+ return said;
1155
+ }
1156
+ }
1139
1157
  var HARNESS_SIGNED_OUT = /^\s*(Failed to authenticate:\s*OAuth session expired and could not be refreshed\b|Your access token could not be refreshed\b|Your authentication session could not be refreshed\b|Not signed in\. Please run 'codex login'|unexpected status 401\b)/i;
1140
1158
  var LIMIT_HOLD_MS = 60 * 6e4;
1141
1159
  var HARNESS_STATE = {
@@ -1621,17 +1639,18 @@ function limitMove(cfg, from, a) {
1621
1639
  const own = p?.driver ?? p?.instanceId ?? from;
1622
1640
  const other = otherDriver(cfg, from);
1623
1641
  const skip = (x) => a.tried.has(x.instanceId) || a.spent(x) || overridesAuth(cfg, x.instanceId);
1624
- for (const driver of [own, other]) {
1642
+ for (const driver of a.sameHarness ? [own] : [own, other]) {
1625
1643
  if (!driver || driver === CODEX_PROVIDER && a.permission !== "full") continue;
1626
1644
  const to = readyProvider(cfg, driver, skip);
1627
1645
  if (to) return to;
1628
1646
  }
1629
1647
  return null;
1630
1648
  }
1631
- function launchMove(cfg, own, permission, spent) {
1649
+ function launchMove(cfg, own, permission, spent, sameHarness = false) {
1632
1650
  const ownProvider = cfg.providers.find((p) => p.instanceId === own && p.enabled);
1633
- const free = ownProvider && spent(ownProvider) ? limitMove(cfg, own, { tried: /* @__PURE__ */ new Set([own]), permission, spent }) : null;
1651
+ const free = ownProvider && spent(ownProvider) ? limitMove(cfg, own, { tried: /* @__PURE__ */ new Set([own]), permission, spent, sameHarness }) : null;
1634
1652
  if (free) return { to: free, reason: "limit" };
1653
+ if (sameHarness) return null;
1635
1654
  const auth = cfg.providers.find((p) => p.instanceId === own && p.enabled)?.auth;
1636
1655
  if (!auth || auth.status === "authenticated") return null;
1637
1656
  const driver = otherDriver(cfg, own);
@@ -1801,6 +1820,8 @@ var T3Driver = class {
1801
1820
  },
1802
1821
  harnesses: cfg.providers.filter((p) => p.enabled).map((p) => ({
1803
1822
  id: p.instanceId,
1823
+ ...p.driver && p.driver !== p.instanceId ? { driver: p.driver } : {},
1824
+ ...overridesAuth(cfg, p.instanceId) ? { perToken: true } : {},
1804
1825
  name: p.displayName ?? p.instanceId,
1805
1826
  version: p.version,
1806
1827
  ready: p.status === "ready",
@@ -1924,11 +1945,14 @@ var T3Driver = class {
1924
1945
  if (!runtimeMode || !RUNTIME_MODES.has(runtimeMode))
1925
1946
  throw new BoxToolError("runtime_mode_unknown");
1926
1947
  const permission = permissionOf(runtimeMode);
1927
- const named = Boolean(a.harness || a.model);
1928
1948
  const own = cfg.settings?.defaultModelSelection?.instanceId ?? CLAUDE_PROVIDER;
1929
- const move = named ? null : launchMove(cfg, own, permission, this.spent);
1930
- const fallback = move?.to ?? cfg.settings?.defaultModelSelection;
1931
- const harness = a.harness ?? fallback?.instanceId ?? "claudeAgent";
1949
+ const sameHarness = !a.model && a.harness !== void 0 && BUILT_IN.has(a.harness);
1950
+ const named = Boolean(a.model) || a.harness !== void 0 && !sameHarness;
1951
+ const ownDriver = cfg.providers.find((p) => p.instanceId === own)?.driver ?? own;
1952
+ const start = sameHarness && (ownDriver !== a.harness || overridesAuth(cfg, own)) ? a.harness : own;
1953
+ const move = named ? null : launchMove(cfg, start, permission, this.spent, sameHarness);
1954
+ const fallback = move?.to ?? (start === own ? cfg.settings?.defaultModelSelection : void 0);
1955
+ const harness = (named ? a.harness : void 0) ?? fallback?.instanceId ?? start;
1932
1956
  const provider = cfg.providers.find((p) => p.instanceId === harness && p.enabled);
1933
1957
  if (!provider) throw new BoxToolError("harness_unavailable");
1934
1958
  if (provider.auth && provider.auth.status !== "authenticated")
@@ -1967,12 +1991,13 @@ var T3Driver = class {
1967
1991
  if (!this.launched.has(launched.threadId))
1968
1992
  this.launched.set(launched.threadId, {
1969
1993
  named,
1994
+ sameHarness,
1970
1995
  permission,
1971
- tried: /* @__PURE__ */ new Set([modelSelection.instanceId, ...move ? [own] : []]),
1996
+ tried: /* @__PURE__ */ new Set([modelSelection.instanceId, ...move ? [start] : []]),
1972
1997
  ...move ? {
1973
1998
  switched: movedLine(
1974
1999
  move.reason,
1975
- providerName(own, cfg),
2000
+ providerName(start, cfg),
1976
2001
  providerName(move.to.instanceId, cfg),
1977
2002
  "is"
1978
2003
  )
@@ -2466,7 +2491,8 @@ var T3Driver = class {
2466
2491
  const to = reason === "limit" ? limitMove(cfg, from, {
2467
2492
  tried: entry.tried,
2468
2493
  permission: entry.permission,
2469
- spent: this.spent
2494
+ spent: this.spent,
2495
+ sameHarness: entry.sameHarness
2470
2496
  }) : this.signedOutMove(cfg, from, entry);
2471
2497
  if (!to) {
2472
2498
  this.log(
@@ -2510,6 +2536,7 @@ ${MACHINE_RESULT_INSTRUCTION}`
2510
2536
  };
2511
2537
  /** The other harness a signed-out run moves to, never one it already ran on. */
2512
2538
  signedOutMove(cfg, from, entry) {
2539
+ if (entry.sameHarness) return null;
2513
2540
  const driver = otherDriver(cfg, from);
2514
2541
  if (!driver || driver === CODEX_PROVIDER && entry.permission !== "full") return null;
2515
2542
  return readyProvider(cfg, driver, (p) => entry.tried.has(p.instanceId));
@@ -2658,7 +2685,7 @@ var switchedLine = (move, from, to) => movedLine(move.reason, harnessName(from),
2658
2685
  function failedEnd(harness, run2) {
2659
2686
  const said = run2.result?.text?.trim() || run2.lastText;
2660
2687
  const limited = HARNESS_LIMIT.test(run2.result?.text ?? "");
2661
- const words = said?.replace(/\s+/g, " ").trim();
2688
+ const words = said && apiErrorWords(said.trim()).replace(/\s+/g, " ").trim();
2662
2689
  const error = limited ? { error: "harness_limit" } : {};
2663
2690
  const opening = run2.switched ? `${run2.switched} ` : "";
2664
2691
  if (!words)
@@ -3395,7 +3422,7 @@ ${MACHINE_RESULT_INSTRUCTION}`, images));
3395
3422
  } finally {
3396
3423
  this.recovering.delete(r.work_id);
3397
3424
  }
3398
- const next = listed.find((m) => !tried.includes(m));
3425
+ const next = nextModel(listed, tried);
3399
3426
  if (!next)
3400
3427
  this.log(`model work=${r.work_id} refused=${refused} next=none catalog=${listed.length}`);
3401
3428
  if (!next || this.stopping || r.end) return false;
@@ -3403,10 +3430,7 @@ ${MACHINE_RESULT_INSTRUCTION}`, images));
3403
3430
  r.refused = tried;
3404
3431
  r.model = next;
3405
3432
  r.session_id = null;
3406
- r.switched = [
3407
- moved,
3408
- `${harnessName(dialect.name)} cannot use ${tried[0]} on this account, so this ran on ${next}.`
3409
- ].filter(Boolean).join(" ");
3433
+ r.switched = [moved, refusedModelLine(harnessName(dialect.name), tried[0] ?? refused, next)].filter(Boolean).join(" ");
3410
3434
  this.save();
3411
3435
  this.log(`model work=${r.work_id} refused=${refused} next=${next}`);
3412
3436
  this.spawnRun(
@@ -3548,6 +3572,11 @@ export {
3548
3572
  nextProgress,
3549
3573
  isYes,
3550
3574
  HARNESS_LIMIT,
3575
+ refusedModel,
3576
+ nextModel,
3577
+ refusedRecently,
3578
+ refusedModelLine,
3579
+ apiErrorWords,
3551
3580
  HARNESS_SIGNED_OUT,
3552
3581
  ENVIRONMENTS,
3553
3582
  environmentOf,
@@ -9,7 +9,7 @@ import {
9
9
  commandFor,
10
10
  imageExt,
11
11
  runnerPath
12
- } from "./chunk-NP5VVHLS.js";
12
+ } from "./chunk-RRRV64ZB.js";
13
13
 
14
14
  // src/run-previews.ts
15
15
  import { execFile as execFile2, spawn } from "child_process";
@@ -53,17 +53,17 @@ import {
53
53
  which,
54
54
  workFolder,
55
55
  workFolderLine
56
- } from "./chunk-JW5GATBV.js";
56
+ } from "./chunk-HHNLRNOM.js";
57
57
  import "./chunk-CVVYCLZ6.js";
58
- import "./chunk-PN5CQQVG.js";
59
- import "./chunk-NP5VVHLS.js";
58
+ import "./chunk-UXMDNJ3O.js";
59
+ import "./chunk-RRRV64ZB.js";
60
60
  import "./chunk-VK6GV757.js";
61
61
  import "./chunk-365HFCQQ.js";
62
62
  import "./chunk-PKIEWBR7.js";
63
- import "./chunk-OXFFDL26.js";
64
- import "./chunk-QOYGTYFE.js";
63
+ import "./chunk-L763FCD7.js";
64
+ import "./chunk-EPWLBMCR.js";
65
65
  import "./chunk-SBYSVZ7J.js";
66
- import "./chunk-7B53CL3W.js";
66
+ import "./chunk-AAHVP23O.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-JW5GATBV.js";
10
+ } from "./chunk-HHNLRNOM.js";
11
11
  import "./chunk-CVVYCLZ6.js";
12
- import "./chunk-PN5CQQVG.js";
13
- import "./chunk-NP5VVHLS.js";
12
+ import "./chunk-UXMDNJ3O.js";
13
+ import "./chunk-RRRV64ZB.js";
14
14
  import "./chunk-VK6GV757.js";
15
15
  import "./chunk-365HFCQQ.js";
16
16
  import "./chunk-PKIEWBR7.js";
17
- import "./chunk-OXFFDL26.js";
18
- import "./chunk-QOYGTYFE.js";
17
+ import "./chunk-L763FCD7.js";
18
+ import "./chunk-EPWLBMCR.js";
19
19
  import "./chunk-SBYSVZ7J.js";
20
- import "./chunk-7B53CL3W.js";
20
+ import "./chunk-AAHVP23O.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-JW5GATBV.js";
5
+ } from "./chunk-HHNLRNOM.js";
6
6
  import "./chunk-CVVYCLZ6.js";
7
- import "./chunk-PN5CQQVG.js";
8
- import "./chunk-NP5VVHLS.js";
7
+ import "./chunk-UXMDNJ3O.js";
8
+ import "./chunk-RRRV64ZB.js";
9
9
  import "./chunk-VK6GV757.js";
10
10
  import "./chunk-365HFCQQ.js";
11
11
  import "./chunk-PKIEWBR7.js";
12
- import "./chunk-OXFFDL26.js";
13
- import "./chunk-QOYGTYFE.js";
12
+ import "./chunk-L763FCD7.js";
13
+ import "./chunk-EPWLBMCR.js";
14
14
  import "./chunk-SBYSVZ7J.js";
15
- import "./chunk-7B53CL3W.js";
15
+ import "./chunk-AAHVP23O.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-7B53CL3W.js";
7
+ } from "./chunk-AAHVP23O.js";
8
8
  import {
9
9
  applyEnvironmentFlag
10
10
  } from "./chunk-D5UZW42X.js";
@@ -50,6 +50,7 @@ Usage:
50
50
  this computer on Cloop, remove its service and machine files
51
51
  cloop box connect cloop connect with T3 Code forced
52
52
  cloop box run Answer the Cloop Agent's machine calls (daemon)
53
+ cloop box model --harness codex Print the model a Cloop Box Codex run starts on now
53
54
  cloop runs List this machine's runs: open ones, and the last 24 hours
54
55
  cloop watch [id] Follow a run as it works. No id: the newest open run.
55
56
  Stop it from Threads.
@@ -68,7 +69,7 @@ Add --staging to any command to use Cloop staging instead of production.
68
69
  A production machine and a staging machine can run side by side on one computer.
69
70
  `;
70
71
  async function pinExistingRunner() {
71
- const { pinExistingRunner: pin } = await import("./existing-runner-UAE25B5U.js");
72
+ const { pinExistingRunner: pin } = await import("./existing-runner-Z4RKD2BE.js");
72
73
  const { note } = pin();
73
74
  if (note) console.error(note);
74
75
  }
@@ -76,7 +77,7 @@ async function main() {
76
77
  switch (command) {
77
78
  case "login":
78
79
  case "auth": {
79
- const { loginCommand } = await import("./login-WOGARHMU.js");
80
+ const { loginCommand } = await import("./login-6OSXQMFR.js");
80
81
  await loginCommand(argv);
81
82
  break;
82
83
  }
@@ -86,61 +87,61 @@ async function main() {
86
87
  break;
87
88
  }
88
89
  case "serve": {
89
- const { startMcpServer } = await import("./mcp-server-L3OA2STT.js");
90
+ const { startMcpServer } = await import("./mcp-server-TFME5MG7.js");
90
91
  await startMcpServer();
91
92
  break;
92
93
  }
93
94
  case "statusline": {
94
- const { statuslineCommand } = await import("./statusline-GI5O33B7.js");
95
+ const { statuslineCommand } = await import("./statusline-ZRRZ3QEM.js");
95
96
  statuslineCommand();
96
97
  break;
97
98
  }
98
99
  case "connect": {
99
- const { connectCommand } = await import("./connect-KKFAIJHV.js");
100
+ const { connectCommand } = await import("./connect-4FRXNGYW.js");
100
101
  await connectCommand(argv.slice(1));
101
102
  break;
102
103
  }
103
104
  case "use": {
104
- const { useCommand } = await import("./use-QO6CKD74.js");
105
+ const { useCommand } = await import("./use-S6M2FOPX.js");
105
106
  process.exitCode = await useCommand(argv.slice(1));
106
107
  break;
107
108
  }
108
109
  case "disconnect": {
109
- const { disconnectCommand } = await import("./disconnect-OPKIFMX7.js");
110
+ const { disconnectCommand } = await import("./disconnect-KTPNFDF4.js");
110
111
  await disconnectCommand(argv.slice(1));
111
112
  break;
112
113
  }
113
114
  case "box": {
114
- const { boxCommand } = await import("./box-XOSIY7JI.js");
115
+ const { boxCommand } = await import("./box-X5UV2WYQ.js");
115
116
  await boxCommand(argv.slice(1));
116
117
  break;
117
118
  }
118
119
  case "runs": {
119
120
  await pinExistingRunner();
120
- const { runsCommand } = await import("./runs-HAZFMJMF.js");
121
+ const { runsCommand } = await import("./runs-4M5B26MP.js");
121
122
  process.exitCode = runsCommand();
122
123
  break;
123
124
  }
124
125
  case "watch": {
125
126
  await pinExistingRunner();
126
- const { watchCommand } = await import("./runs-HAZFMJMF.js");
127
+ const { watchCommand } = await import("./runs-4M5B26MP.js");
127
128
  process.exitCode = await watchCommand(argv.slice(1));
128
129
  break;
129
130
  }
130
131
  case "takeover": {
131
132
  await pinExistingRunner();
132
- const { takeoverCommand } = await import("./takeover-3XXBFT26.js");
133
+ const { takeoverCommand } = await import("./takeover-RKTFGMQY.js");
133
134
  process.exitCode = await takeoverCommand(argv.slice(1));
134
135
  break;
135
136
  }
136
137
  case "resume": {
137
138
  await pinExistingRunner();
138
- const { resumeCommand } = await import("./runs-HAZFMJMF.js");
139
+ const { resumeCommand } = await import("./runs-4M5B26MP.js");
139
140
  process.exitCode = await resumeCommand(argv.slice(1));
140
141
  break;
141
142
  }
142
143
  case "runner": {
143
- const { runnerCommand } = await import("./runner-ZX2BKPD3.js");
144
+ const { runnerCommand } = await import("./runner-G5JMZDKA.js");
144
145
  await runnerCommand(argv.slice(1));
145
146
  break;
146
147
  }
@@ -3,9 +3,9 @@ import {
3
3
  deviceLogin,
4
4
  loginCommand,
5
5
  refusalSentence
6
- } from "./chunk-QOYGTYFE.js";
6
+ } from "./chunk-EPWLBMCR.js";
7
7
  import "./chunk-SBYSVZ7J.js";
8
- import "./chunk-7B53CL3W.js";
8
+ import "./chunk-AAHVP23O.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-7B53CL3W.js";
34
+ } from "./chunk-AAHVP23O.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-OXFFDL26.js";
6
- import "./chunk-QOYGTYFE.js";
5
+ } from "./chunk-L763FCD7.js";
6
+ import "./chunk-EPWLBMCR.js";
7
7
  import "./chunk-SBYSVZ7J.js";
8
- import "./chunk-7B53CL3W.js";
8
+ import "./chunk-AAHVP23O.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-3N4X2TK2.js";
13
- import "./chunk-NP5VVHLS.js";
12
+ } from "./chunk-KG2RA3FJ.js";
13
+ import "./chunk-RRRV64ZB.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-7B53CL3W.js";
10
+ } from "./chunk-AAHVP23O.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-TSUDGSA2.js";
13
- import "./chunk-3N4X2TK2.js";
14
- import "./chunk-PN5CQQVG.js";
15
- import "./chunk-NP5VVHLS.js";
12
+ } from "./chunk-PUDWLT5C.js";
13
+ import "./chunk-KG2RA3FJ.js";
14
+ import "./chunk-UXMDNJ3O.js";
15
+ import "./chunk-RRRV64ZB.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-JW5GATBV.js";
6
+ } from "./chunk-HHNLRNOM.js";
7
7
  import "./chunk-CVVYCLZ6.js";
8
- import "./chunk-PN5CQQVG.js";
8
+ import "./chunk-UXMDNJ3O.js";
9
9
  import {
10
10
  isLocal,
11
11
  readRunnerConfig
12
- } from "./chunk-NP5VVHLS.js";
12
+ } from "./chunk-RRRV64ZB.js";
13
13
  import "./chunk-VK6GV757.js";
14
14
  import "./chunk-365HFCQQ.js";
15
15
  import "./chunk-PKIEWBR7.js";
16
- import "./chunk-OXFFDL26.js";
17
- import "./chunk-QOYGTYFE.js";
16
+ import "./chunk-L763FCD7.js";
17
+ import "./chunk-EPWLBMCR.js";
18
18
  import "./chunk-SBYSVZ7J.js";
19
- import "./chunk-7B53CL3W.js";
19
+ import "./chunk-AAHVP23O.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.42",
3
+ "version": "0.3.45",
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.",