@outerlayer/cli 0.40.0-next.20261114175703 → 0.40.0-next.20261115004954

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.
Files changed (137) hide show
  1. package/dist/{agent-setup-RAPMR5E7.js → agent-setup-O4SZOHRU.js} +8 -8
  2. package/dist/{agent-subcommand-FFRNWF6T.js → agent-subcommand-PVTVR4VJ.js} +1 -1
  3. package/dist/{bridge-2LB6UHW7.js → bridge-7Z6MLB2B.js} +3 -3
  4. package/dist/{build-N6WNVWOP.js → build-A2WX5O3I.js} +8 -8
  5. package/dist/{build-disk-RIQDTOML.js → build-disk-ASKLEF5R.js} +6 -6
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-C2BEDG75.js → builder-ANFJHFZQ.js} +5 -5
  8. package/dist/{caller-P3HA4LAX.js → caller-KCSJDOWD.js} +8 -8
  9. package/dist/{check-ARWWJ2ED.js → check-T27N6LQM.js} +40 -40
  10. package/dist/{chunk-I6MLYOGL.js → chunk-2OSEUHWY.js} +1 -1
  11. package/dist/{chunk-QAOEOSSE.js → chunk-2UBMDLUF.js} +1 -1
  12. package/dist/chunk-3FCYURWW.js +41 -0
  13. package/dist/{chunk-6O5LXVFE.js → chunk-3FWY4H6N.js} +7 -7
  14. package/dist/{chunk-6AFTYWAB.js → chunk-3WYPBALP.js} +4 -4
  15. package/dist/{chunk-I2BO2QBH.js → chunk-4ATFANLO.js} +2 -2
  16. package/dist/{chunk-SWKFTYZI.js → chunk-5D3XOHGK.js} +5 -5
  17. package/dist/{chunk-QNHHD75P.js → chunk-5I4PLRFO.js} +3 -3
  18. package/dist/{chunk-PEFV5YIJ.js → chunk-6SOATTHF.js} +3 -3
  19. package/dist/{chunk-4PH73UWD.js → chunk-6WBI37BR.js} +2 -2
  20. package/dist/{chunk-IYDHMOTC.js → chunk-AEKBDXWH.js} +3 -3
  21. package/dist/{chunk-CG44IGEF.js → chunk-ANBDFUHT.js} +1 -1
  22. package/dist/{chunk-X26S7Y2N.js → chunk-AQEVNB6C.js} +2 -2
  23. package/dist/{chunk-3GBUF5VG.js → chunk-BXWZCLJ3.js} +1 -1
  24. package/dist/{chunk-U65ALAP5.js → chunk-C2W453KR.js} +2 -2
  25. package/dist/{chunk-SHCD5V7G.js → chunk-D5YKPIHV.js} +1 -1
  26. package/dist/{chunk-ZI5MT4TT.js → chunk-DMAAKDGD.js} +1 -1
  27. package/dist/{chunk-3ZUW6SKU.js → chunk-FDENE6LM.js} +2 -2
  28. package/dist/{chunk-RM6UGUWJ.js → chunk-FMYWIBBW.js} +2 -2
  29. package/dist/{chunk-BN6NRJ66.js → chunk-FZXC3WER.js} +54 -33
  30. package/dist/chunk-HMVOTDEQ.js +129 -0
  31. package/dist/{chunk-E74YOVYI.js → chunk-IB4SVQNB.js} +1 -1
  32. package/dist/{chunk-PZNWC2RV.js → chunk-IMMWZV57.js} +2 -2
  33. package/dist/{chunk-EANGK4AM.js → chunk-IT7RFVWR.js} +5 -5
  34. package/dist/{chunk-Q2SX6RZJ.js → chunk-J4WAHOXM.js} +1 -1
  35. package/dist/{chunk-VLI43TVN.js → chunk-KJNI2WWR.js} +2 -2
  36. package/dist/{chunk-PQOIDBWE.js → chunk-KTHGBFIH.js} +2 -2
  37. package/dist/{chunk-V6QH7AIR.js → chunk-MHFVGML3.js} +2 -2
  38. package/dist/{chunk-T7HMGQH2.js → chunk-MP6INWPC.js} +3 -3
  39. package/dist/{chunk-7QDAAW2N.js → chunk-N6DWNOEF.js} +1 -1
  40. package/dist/{chunk-IRWP4HF7.js → chunk-NBNZFLKJ.js} +1 -1
  41. package/dist/{chunk-PIXRISH7.js → chunk-NSO6IY24.js} +34 -29
  42. package/dist/{chunk-7HCMWGCV.js → chunk-PIBJDYIC.js} +5 -5
  43. package/dist/{chunk-ZKZD4CGD.js → chunk-PNZMJFVP.js} +4 -4
  44. package/dist/{chunk-FTV63SCQ.js → chunk-PUUQKA3W.js} +17 -6
  45. package/dist/{chunk-3ZYSB2V7.js → chunk-R7VMDX33.js} +3 -3
  46. package/dist/{chunk-3LORQC4Z.js → chunk-RSW5AXPT.js} +1 -1
  47. package/dist/{chunk-34IH7AVH.js → chunk-ST5S3P2C.js} +2 -2
  48. package/dist/{chunk-CYZQDC6N.js → chunk-T3X3FZIR.js} +1 -1
  49. package/dist/{chunk-RIZCV7GX.js → chunk-TG3O6CAF.js} +5 -5
  50. package/dist/{chunk-LJRO53R4.js → chunk-TQDXHGUF.js} +2 -2
  51. package/dist/{chunk-6G6FOCJW.js → chunk-TTHF4LOS.js} +3 -3
  52. package/dist/{chunk-3JVYMD4G.js → chunk-TXKHD4Q6.js} +3 -2
  53. package/dist/{chunk-RC5ENCHK.js → chunk-ULENFLVA.js} +3 -3
  54. package/dist/{chunk-JEW6WDGJ.js → chunk-VGV3J5CX.js} +1 -1
  55. package/dist/{chunk-K4N6Z4A2.js → chunk-VY2MH6VX.js} +5 -5
  56. package/dist/{chunk-4J5KDIHZ.js → chunk-W3K7TKYW.js} +3 -3
  57. package/dist/{chunk-WW6LIFKM.js → chunk-WFBHEF4N.js} +15 -10
  58. package/dist/{chunk-IE75TT5E.js → chunk-WNFQV5SL.js} +1 -1
  59. package/dist/{chunk-ZM7AL7UV.js → chunk-WR2TR6BC.js} +6 -3
  60. package/dist/{chunk-DZCELAHC.js → chunk-X5WH346T.js} +2 -2
  61. package/dist/{chunk-SWYBUMUL.js → chunk-Y2US5RDK.js} +1 -1
  62. package/dist/{chunk-FF5TPCQ7.js → chunk-Y6FNWOKT.js} +10 -10
  63. package/dist/{chunk-GD2LIK6W.js → chunk-YRH4DL4O.js} +3 -3
  64. package/dist/{chunk-7LZYS7BO.js → chunk-YY64D4FA.js} +1 -1
  65. package/dist/{claude-launcher-DQQX7ZEE.js → claude-launcher-FOPWME6I.js} +1 -1
  66. package/dist/{cli-VPYCEJZT.js → cli-UBD53T43.js} +149 -141
  67. package/dist/{command-EQ4LIIPO.js → command-FL2WIRXN.js} +58 -34
  68. package/dist/{config-334GXURH.js → config-PFQRCT5B.js} +7 -7
  69. package/dist/{connect-cmd-XPSZXYXO.js → connect-cmd-IK3Z2YH2.js} +6 -6
  70. package/dist/{container-start-ZX2HJUEQ.js → container-start-CFNWJMHZ.js} +32 -32
  71. package/dist/{context-show-cmd-SZMHOFFV.js → context-show-cmd-DJZC5TRN.js} +7 -7
  72. package/dist/{control-plane-launch-YQOT2EQL.js → control-plane-launch-P2E55QZ4.js} +6 -6
  73. package/dist/{demo-record-cmd-JB5VCPRW.js → demo-record-cmd-VBWYXYOF.js} +3 -3
  74. package/dist/{demo-voice-cmd-BFNOUEP3.js → demo-voice-cmd-W6FHJTMH.js} +12 -12
  75. package/dist/{docker-UZYTRFEQ.js → docker-WMGXGZFP.js} +5 -5
  76. package/dist/{doctor-J4DD52YY.js → doctor-HDHZV4DG.js} +36 -36
  77. package/dist/{emit-artifact-cmd-XSPHZU4L.js → emit-artifact-cmd-MT4M3ILS.js} +11 -11
  78. package/dist/{emit-criteria-cmd-TE4WI4NC.js → emit-criteria-cmd-M5QRMNGB.js} +8 -8
  79. package/dist/{emit-demo-cmd-D6Q4CHLY.js → emit-demo-cmd-VKD2CSQH.js} +12 -12
  80. package/dist/{emit-finding-cmd-OR6SJPFW.js → emit-finding-cmd-UYGLPQJE.js} +8 -8
  81. package/dist/{emit-result-cmd-AXFTHFH5.js → emit-result-cmd-GH4KOPNC.js} +10 -10
  82. package/dist/{emit-step-cmd-DXXTCZON.js → emit-step-cmd-EMCVWILY.js} +8 -8
  83. package/dist/{exec-client-XQCKLD5N.js → exec-client-BJ4FHM2I.js} +4 -4
  84. package/dist/{find-unit-5G5DI5KK.js → find-unit-VUV76BIL.js} +9 -9
  85. package/dist/{findings-cmd-Q47Z5SOI.js → findings-cmd-3P7EWNHA.js} +8 -8
  86. package/dist/{fleet-readiness-E7GE6OEY.js → fleet-readiness-3JMW2XNT.js} +6 -6
  87. package/dist/{governing-source-PZHH5KQO.js → governing-source-6HS6QVTK.js} +10 -10
  88. package/dist/{guest-init-4E2JSHZI.js → guest-init-ZZ3QGRFT.js} +5 -5
  89. package/dist/{hook-fast-CKQWLT6W.js → hook-fast-A5LADBOU.js} +1 -1
  90. package/dist/{host-checks-3PYYUHVK.js → host-checks-6BJKUV4I.js} +30 -30
  91. package/dist/{pending-35UMAGND.js → host-key-J24PEPIK.js} +4 -4
  92. package/dist/{image-tag-CPEVAJDD.js → image-tag-7PALJT67.js} +4 -4
  93. package/dist/index.js +4 -4
  94. package/dist/{init-4J5U5KA7.js → init-KKOUW5M7.js} +30 -30
  95. package/dist/{init-OBLM3BDH.js → init-KRJU32VG.js} +30 -30
  96. package/dist/{init-agent-ZYT24CNV.js → init-agent-KTD5YU6D.js} +30 -30
  97. package/dist/{init-cmd-4U45BP3X.js → init-cmd-UDWRDVBE.js} +11 -11
  98. package/dist/{init-update-X4W5KWHZ.js → init-update-QDEM6MO5.js} +9 -9
  99. package/dist/{install-cmd-AKZE7R2E.js → install-cmd-WQ2KFKHI.js} +6 -6
  100. package/dist/launch-agent-NC7OZQGZ.js +26 -0
  101. package/dist/launch-agent-host-VVMPSX3S.js +6 -0
  102. package/dist/{logs-BQC5UDSI.js → logs-6DZKJJ22.js} +3 -3
  103. package/dist/{loop-7GZBLOZ6.js → loop-ZYC5NTQG.js} +39 -39
  104. package/dist/{machine-DP32IH24.js → machine-M5UU7HWR.js} +30 -30
  105. package/dist/{mcp-serve-cmd-4DDHV5LT.js → mcp-serve-cmd-2KAWL7JK.js} +5 -5
  106. package/dist/{paths-B5GNVTVC.js → paths-BZKRN5J3.js} +3 -3
  107. package/dist/{host-key-Q3OKQTJF.js → pending-5Y4PJTOZ.js} +4 -4
  108. package/dist/{pidfile-ERHOAFUE.js → pidfile-4C23LXPN.js} +4 -4
  109. package/dist/{real-deps-QX5YH7FG.js → real-deps-B7NMEDXM.js} +1 -1
  110. package/dist/{record-GI6LXXNB.js → record-ABSHWHSO.js} +4 -4
  111. package/dist/{relay-4XYITTBN.js → relay-NZWG6R4J.js} +1 -1
  112. package/dist/{relay-protocol-6Y7GDQVE.js → relay-protocol-7ZN7CVXP.js} +1 -1
  113. package/dist/{run-cmd-WEZLK3FS.js → run-cmd-C35Z5ULW.js} +8 -8
  114. package/dist/{runner-env-4PF5MNVO.js → runner-env-AJWM62J2.js} +9 -9
  115. package/dist/{runner-identity-EM4EP5QK.js → runner-identity-PIEZDCFI.js} +5 -5
  116. package/dist/{runner-key-VAQXB2WA.js → runner-key-JAMOE6OP.js} +30 -30
  117. package/dist/{session-sender-KAZJBZMV.js → session-sender-UHBTHRJP.js} +11 -11
  118. package/dist/{spec-cmd-OIIYOA66.js → spec-cmd-BLQBWO7J.js} +9 -9
  119. package/dist/{state-Z3LM7LLU.js → state-RZ2GSI4R.js} +4 -4
  120. package/dist/{status-AAEAC2GN.js → status-QKRBAWZX.js} +33 -32
  121. package/dist/{sync-cmd-MPVBCSMA.js → sync-cmd-LTNVLBSE.js} +10 -10
  122. package/dist/{update-steps-AVUMGWFH.js → update-steps-LCKPYIWI.js} +31 -31
  123. package/dist/{watch-PNFCUWXE.js → watch-RLXCOXF2.js} +10 -10
  124. package/dist/{work-claim-cmd-E6I6VZNS.js → work-claim-cmd-D7JLO57W.js} +14 -14
  125. package/dist/{work-cmd-KTDBSYL6.js → work-cmd-LPNNXYDQ.js} +8 -8
  126. package/dist/{work-comment-cmd-AXS7R6JB.js → work-comment-cmd-3HJLN4QH.js} +10 -10
  127. package/dist/{work-demo-cmd-L57K47U2.js → work-demo-cmd-YALQVN2X.js} +8 -8
  128. package/dist/{work-logs-cmd-K5EEZ5XP.js → work-logs-cmd-2HG4RAQI.js} +8 -8
  129. package/dist/{work-mock-cmd-KQWXIC72.js → work-mock-cmd-JVGAS2SE.js} +8 -8
  130. package/dist/{work-needs-attention-cmd-2ISFSCF3.js → work-needs-attention-cmd-VKGSHNKR.js} +8 -8
  131. package/dist/{work-no-change-cmd-PBVT7YPY.js → work-no-change-cmd-HQAHGBQK.js} +8 -8
  132. package/dist/{work-open-pr-cmd-Q4JLBNFW.js → work-open-pr-cmd-TZE4UMHK.js} +9 -9
  133. package/dist/{work-pr-cmd-MSZGMFKN.js → work-pr-cmd-XLJCLQ6X.js} +8 -8
  134. package/dist/{work-proofs-cmd-CVTO6MPT.js → work-proofs-cmd-P5NOMUJQ.js} +9 -9
  135. package/dist/{work-proofs-record-RCQCMMKT.js → work-proofs-record-MPBQ3FHV.js} +15 -15
  136. package/dist/{work-stop-cmd-NGRBDCJF.js → work-stop-cmd-CDWNUCMO.js} +8 -8
  137. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-BY4SXNUL.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-RIZCV7GX.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-TG3O6CAF.js';
5
5
  import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-3GBUF5VG.js';
7
+ import { defaultFetch } from './chunk-BXWZCLJ3.js';
8
8
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
@@ -129,14 +129,14 @@ function governingDir(cwd) {
129
129
  async function testProofMode(cwd) {
130
130
  const dir = governingDir(cwd);
131
131
  if (dir === void 0) return "any";
132
- const { testProofIn } = await import('./host-checks-3PYYUHVK.js');
132
+ const { testProofIn } = await import('./host-checks-6BJKUV4I.js');
133
133
  return testProofIn(dir);
134
134
  }
135
135
  async function judgeCheckName(cwd) {
136
136
  const dir = governingDir(cwd);
137
137
  if (dir === void 0) return {};
138
138
  if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
139
- const { checksIn, isJudgeCheck } = await import('./host-checks-3PYYUHVK.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-6BJKUV4I.js');
140
140
  const quiet = { line: () => void 0, error: () => void 0 };
141
141
  const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
142
142
  return check === void 0 ? {} : { name: check.name };
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
372
372
  async function runWorkProofsCommand(opts) {
373
373
  try {
374
374
  if (opts.record || opts.check) {
375
- const { runWorkProofsRecord } = await import('./work-proofs-record-RCQCMMKT.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-MPBQ3FHV.js');
376
376
  const result2 = await runWorkProofsRecord(opts);
377
377
  process.exitCode = result2.exitCode;
378
378
  return;
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-T7HMGQH2.js';
4
- import { parseSize } from './chunk-6AFTYWAB.js';
5
- import { runnerDir } from './chunk-I6MLYOGL.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-FTV63SCQ.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-MP6INWPC.js';
4
+ import { parseSize } from './chunk-3WYPBALP.js';
5
+ import { runnerDir } from './chunk-2OSEUHWY.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-PUUQKA3W.js';
7
7
  import { credentialAgent, credentialNames, credentialForms } from './chunk-R2XWZSLR.js';
8
8
  import { defaultAgents } from './chunk-OZG4BNC6.js';
9
9
  import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
@@ -196,13 +196,24 @@ function firstOf(agent, values, source) {
196
196
  const found = agent.credentials.classify(values);
197
197
  return found === void 0 ? void 0 : { variable: found.variable, value: values[found.variable], source };
198
198
  }
199
- function readAgentCredential(env, agentId, agents = defaultAgents()) {
199
+ function readCredentialFiles(configDir, agent) {
200
+ for (const name of [credentialNames(agent.descriptor).envFile, "runner.env"]) {
201
+ const path = join(configDir, name);
202
+ try {
203
+ const found = firstOf(agent, parseRunnerEnv(readFileSync(path, "utf8")), "credential-file");
204
+ if (found !== void 0) return found;
205
+ } catch {
206
+ }
207
+ }
208
+ return void 0;
209
+ }
210
+ function readAgentCredential(env, agentId, agents = defaultAgents(), configDir) {
200
211
  const agent = agentOf(agentId, agents);
201
212
  if (agent === void 0) return void 0;
202
213
  const fromEnvironment = firstOf(agent, env, "environment");
203
214
  if (fromEnvironment !== void 0) return fromEnvironment;
204
215
  const directory = env.CREDENTIALS_DIRECTORY;
205
- if (directory === void 0 || directory === "") return void 0;
216
+ if (directory === void 0 || directory === "") return configDir === void 0 ? void 0 : readCredentialFiles(configDir, agent);
206
217
  const path = join(directory, credentialNames(agent.descriptor).credentialId);
207
218
  try {
208
219
  const text = readFileSync(path, "utf8");
@@ -249,10 +260,10 @@ function complain(path, label, reason) {
249
260
  }
250
261
  var heldCopies = /* @__PURE__ */ new Map();
251
262
  var removedValues = /* @__PURE__ */ new Set();
252
- function holdAgentCredentials(env = process.env, agents = defaultAgents()) {
263
+ function holdAgentCredentials(env = process.env, agents = defaultAgents(), configDir) {
253
264
  const first = credentialAgent(agents);
254
265
  if (first !== void 0 && !heldCopies.has(first.descriptor.id)) {
255
- const read = readAgentCredential(env, first.descriptor.id, agents);
266
+ const read = readAgentCredential(env, first.descriptor.id, agents, configDir);
256
267
  if (read !== void 0) heldCopies.set(first.descriptor.id, read);
257
268
  }
258
269
  for (const name of strippedVariables(agents)) {
@@ -262,8 +273,8 @@ function holdAgentCredentials(env = process.env, agents = defaultAgents()) {
262
273
  }
263
274
  return first === void 0 ? void 0 : heldCopies.get(first.descriptor.id);
264
275
  }
265
- function takeAgentCredentials(env, hooks, agents = defaultAgents()) {
266
- return /^builtin:(container|vm|sandbox)$/.test(hooks.provision) ? holdAgentCredentials(env, agents) : void 0;
276
+ function takeAgentCredentials(env, hooks, agents = defaultAgents(), configDir) {
277
+ return /^builtin:(container|vm|sandbox)$/.test(hooks.provision) ? holdAgentCredentials(env, agents, configDir) : void 0;
267
278
  }
268
279
  function removedAgentCredentialValues() {
269
280
  return [...removedValues];
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { helperSocketPath } from './chunk-PIXRISH7.js';
4
- import { UNIT_MARKER } from './chunk-ZKZD4CGD.js';
5
- import { runnerDir } from './chunk-I6MLYOGL.js';
3
+ import { helperSocketPath } from './chunk-NSO6IY24.js';
4
+ import { UNIT_MARKER } from './chunk-PNZMJFVP.js';
5
+ import { runnerDir } from './chunk-2OSEUHWY.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
8
8
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-I6MLYOGL.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2OSEUHWY.js';
4
4
  import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-6AFTYWAB.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-I6MLYOGL.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-3WYPBALP.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-2OSEUHWY.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-I6MLYOGL.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2OSEUHWY.js';
4
4
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { detectActiveSession } from './chunk-7RDHN455.js';
4
- import { autoConnect } from './chunk-X26S7Y2N.js';
5
- import { workPageUrl } from './chunk-Q2SX6RZJ.js';
4
+ import { autoConnect } from './chunk-AQEVNB6C.js';
5
+ import { workPageUrl } from './chunk-J4WAHOXM.js';
6
6
  import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-3GBUF5VG.js';
9
- import { signRunnerRequest } from './chunk-SHCD5V7G.js';
8
+ import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-BXWZCLJ3.js';
9
+ import { signRunnerRequest } from './chunk-D5YKPIHV.js';
10
10
  import { readRepoConnection } from './chunk-BJ3KTMDH.js';
11
11
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
563
563
  return await linkSession(opts);
564
564
  } catch (err) {
565
565
  if (opts.logFailures) {
566
- const { logHookError } = await import('./hook-fast-CKQWLT6W.js');
566
+ const { logHookError } = await import('./hook-fast-A5LADBOU.js');
567
567
  const reason = err instanceof Error ? err.message : String(err);
568
568
  logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
569
569
  }
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { detectActiveSession } from './chunk-7RDHN455.js';
4
- import { autoConnect } from './chunk-X26S7Y2N.js';
4
+ import { autoConnect } from './chunk-AQEVNB6C.js';
5
5
  import { C } from './chunk-2AM6Z5BP.js';
6
- import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-3GBUF5VG.js';
6
+ import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-BXWZCLJ3.js';
7
7
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
8
8
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
9
9
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-SWYBUMUL.js';
4
- import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-ZM7AL7UV.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-Y2US5RDK.js';
4
+ import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-WR2TR6BC.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-I6MLYOGL.js';
6
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-2OSEUHWY.js';
7
7
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
8
8
  import { dirname, sep, join } from 'path';
9
9
  import { spawnSync } from 'child_process';
@@ -11,8 +11,9 @@ function decideInstalledSwitch(input) {
11
11
  if (!input.underService) return { kind: "foreground", to };
12
12
  return { kind: "restart", to };
13
13
  }
14
+ var LAUNCH_AGENT_ENV = "OUTERLAYER_LAUNCH_AGENT";
14
15
  function startedByService(env, parentPid) {
15
- return (env.INVOCATION_ID ?? "") !== "" && parentPid === 1;
16
+ return ((env.INVOCATION_ID ?? "") !== "" || env[LAUNCH_AGENT_ENV] === "1") && parentPid === 1;
16
17
  }
17
18
 
18
- export { decideInstalledSwitch, startedByService };
19
+ export { LAUNCH_AGENT_ENV, decideInstalledSwitch, startedByService };
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_UNIT_NAME } from './chunk-ZKZD4CGD.js';
4
- import { RUNNER_FILE_MODE } from './chunk-I6MLYOGL.js';
5
- import { parseRunnerEnv, withoutCredentialLines } from './chunk-FTV63SCQ.js';
3
+ import { DEFAULT_UNIT_NAME } from './chunk-PNZMJFVP.js';
4
+ import { RUNNER_FILE_MODE } from './chunk-2OSEUHWY.js';
5
+ import { parseRunnerEnv, withoutCredentialLines } from './chunk-PUUQKA3W.js';
6
6
  import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-R2XWZSLR.js';
7
7
  import { defaultAgents } from './chunk-OZG4BNC6.js';
8
8
  import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { EXEC_PORT } from './chunk-PQOIDBWE.js';
3
+ import { EXEC_PORT } from './chunk-KTHGBFIH.js';
4
4
  import { createConnection } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { newTokenRetry } from './chunk-FJGYU2EK.js';
4
- import { WorkCommandError, postJson } from './chunk-RIZCV7GX.js';
5
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-DZCELAHC.js';
4
+ import { WorkCommandError, postJson } from './chunk-TG3O6CAF.js';
5
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-X5WH346T.js';
6
6
  import { buildRefusalReason } from './chunk-OHJUCEPI.js';
7
7
  import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-A3SSJ7WS.js';
8
- import { signingFetchFor } from './chunk-3GBUF5VG.js';
9
- import { signerFor } from './chunk-SHCD5V7G.js';
10
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-I6MLYOGL.js';
8
+ import { signingFetchFor } from './chunk-BXWZCLJ3.js';
9
+ import { signerFor } from './chunk-D5YKPIHV.js';
10
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-2OSEUHWY.js';
11
11
  import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
12
12
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
13
13
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-RIZCV7GX.js';
3
+ import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-TG3O6CAF.js';
4
4
  import { detectActiveSession } from './chunk-7RDHN455.js';
5
5
  import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-3GBUF5VG.js';
8
- import { logHookError } from './chunk-CG44IGEF.js';
7
+ import { defaultFetch } from './chunk-BXWZCLJ3.js';
8
+ import { logHookError } from './chunk-ANBDFUHT.js';
9
9
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-PIXRISH7.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZKZD4CGD.js';
5
- import { getJson, WorkCommandError } from './chunk-RIZCV7GX.js';
6
- import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-T7HMGQH2.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-34IH7AVH.js';
8
- import { ensureHostKey } from './chunk-SHCD5V7G.js';
9
- import { sandboxSettingsFrom } from './chunk-E74YOVYI.js';
10
- import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-FTV63SCQ.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-NSO6IY24.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-PNZMJFVP.js';
5
+ import { getJson, WorkCommandError } from './chunk-TG3O6CAF.js';
6
+ import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-MP6INWPC.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-ST5S3P2C.js';
8
+ import { ensureHostKey } from './chunk-D5YKPIHV.js';
9
+ import { sandboxSettingsFrom } from './chunk-IB4SVQNB.js';
10
+ import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-PUUQKA3W.js';
11
11
  import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-R2XWZSLR.js';
12
12
  import { defaultAgents } from './chunk-OZG4BNC6.js';
13
13
  import { closeSync, openSync, constants, readFileSync } from 'fs';
@@ -26,8 +26,13 @@ function fleetConfigProblem(config) {
26
26
  if (config.appId !== void 0) {
27
27
  return `fleet: the config names an appId (${config.appId}), and a fleet machine belongs to no factory. Remove appId from the config`;
28
28
  }
29
- if (!isBuiltinVm(config.hooks.provision) || !isBuiltinVm(config.hooks.cleanup)) {
30
- return "fleet: runner.hooks.provision and runner.hooks.cleanup must be builtin:vm, because a fleet runner runs microVM builds only";
29
+ const vm = isBuiltinVm(config.hooks.provision) && isBuiltinVm(config.hooks.cleanup);
30
+ const sandbox = isBuiltinSandbox(config.hooks.provision) && isBuiltinSandbox(config.hooks.cleanup);
31
+ if (!vm && !sandbox) {
32
+ return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
33
+ }
34
+ if (sandbox && config.sandbox?.provider === "outerlayer") {
35
+ return `fleet: runner.sandbox.provider is "outerlayer", and a fleet runner needs a sandbox provider account of its own. Remove runner.sandbox.provider, name the snapshot in runner.sandbox.snapshot, and give the runner the provider's credentials`;
31
36
  }
32
37
  return void 0;
33
38
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, BUILD_HOME } from './chunk-E74YOVYI.js';
3
+ import { RELAY_PORT, BUILD_HOME } from './chunk-IB4SVQNB.js';
4
4
  import { createServer, connect } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-I6MLYOGL.js';
3
+ import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2OSEUHWY.js';
4
4
  import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
5
5
  import { join, basename, sep, resolve } from 'path';
6
6
 
@@ -92,10 +92,13 @@ function cleanVersions(configPath, keep) {
92
92
  }
93
93
  }
94
94
  function execStartCommand(configPath, nodePath) {
95
- return `${nodePath} ${join(currentLink(configPath), "node_modules", "@outerlayer", "cli", "dist", "index.js")} runner start --config ${configPath}`;
95
+ return execStartArgv(configPath, nodePath).join(" ");
96
+ }
97
+ function execStartArgv(configPath, nodePath) {
98
+ return [nodePath, join(currentLink(configPath), "node_modules", "@outerlayer", "cli", "dist", "index.js"), "runner", "start", "--config", configPath];
96
99
  }
97
100
  function execStartLine(configPath, nodePath) {
98
101
  return `ExecStart=${execStartCommand(configPath, nodePath)}`;
99
102
  }
100
103
 
101
- export { cleanVersions, currentLink, currentVersion, entryIn, execStartCommand, execStartLine, isInLayout, packageRootIn, readMarker, removeMarker, stagingDir, startedThroughCurrent, switchCurrent, versionDir, writeMarker };
104
+ export { cleanVersions, currentLink, currentVersion, entryIn, execStartArgv, execStartCommand, execStartLine, isInLayout, packageRootIn, readMarker, removeMarker, stagingDir, startedThroughCurrent, switchCurrent, versionDir, writeMarker };
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
3
3
  import { RemovedTargetError, removedTargetError } from './chunk-OHJUCEPI.js';
4
4
  import { removeRetiredSkills } from './chunk-2EON52MM.js';
5
5
  import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
6
- import { defaultFetch, resolveGatewayCredentials } from './chunk-3GBUF5VG.js';
7
- import { withTokenHeader } from './chunk-E74YOVYI.js';
6
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-BXWZCLJ3.js';
7
+ import { withTokenHeader } from './chunk-IB4SVQNB.js';
8
8
  import { appendContextProvenance } from './chunk-545P7JY7.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
10
  import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-ZM7AL7UV.js';
3
+ import { currentLink } from './chunk-WR2TR6BC.js';
4
4
  import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
5
5
  import { randomBytes } from 'crypto';
6
6
  import { join, dirname, delimiter, resolve } from 'path';
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { checkStarterFiles, contextIsGoverned } from './chunk-ADXJXXGU.js';
4
- import { resolveCredentials, getJson, WorkCommandError } from './chunk-RIZCV7GX.js';
5
- import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-IRWP4HF7.js';
4
+ import { resolveCredentials, getJson, WorkCommandError } from './chunk-TG3O6CAF.js';
5
+ import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-NBNZFLKJ.js';
6
6
  import { withInjectedPrograms } from './chunk-RLNTFA2C.js';
7
- import { isLinkedRepository } from './chunk-Q2SX6RZJ.js';
7
+ import { isLinkedRepository } from './chunk-J4WAHOXM.js';
8
8
  import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
9
9
  import { C } from './chunk-2AM6Z5BP.js';
10
10
  import { checkFormerSkillNames } from './chunk-2EON52MM.js';
11
- import { resolveGatewayCredentials, defaultFetch } from './chunk-3GBUF5VG.js';
12
- import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-CG44IGEF.js';
11
+ import { resolveGatewayCredentials, defaultFetch } from './chunk-BXWZCLJ3.js';
12
+ import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-ANBDFUHT.js';
13
13
  import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
14
14
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
15
15
  import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
@@ -1052,8 +1052,8 @@ function doctorExitCode(checks) {
1052
1052
 
1053
1053
  // src/doctor-report.ts
1054
1054
  async function gatherDoctorChecks(options = {}) {
1055
- const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-RIQDTOML.js');
1056
- const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-334GXURH.js');
1055
+ const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-ASKLEF5R.js');
1056
+ const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-PFQRCT5B.js');
1057
1057
  const configPath = options.configPath ?? defaultRunnerConfigPath();
1058
1058
  const runnerHost = hasRunnerBlock(configPath);
1059
1059
  const hooks = (() => {
@@ -1081,12 +1081,12 @@ async function gatherDoctorChecks(options = {}) {
1081
1081
  const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
1082
1082
  checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
1083
1083
  } else if (hasRunnerBlock(configPath)) {
1084
- const { runnerHostChecks } = await import('./doctor-J4DD52YY.js');
1084
+ const { runnerHostChecks } = await import('./doctor-HDHZV4DG.js');
1085
1085
  const gateway = (() => {
1086
1086
  try {
1087
1087
  const loaded = loadRunnerConfig(configPath);
1088
1088
  const { url, apiKey } = loaded;
1089
- return loaded.fleet === true ? { url, apiKey, fleet: true, ...loaded.appId === void 0 ? {} : { appId: loaded.appId } } : { url, apiKey, appId: keyRunnerFactory(loaded) };
1089
+ return loaded.fleet === true ? { url, apiKey, fleet: true, ...loaded.appId === void 0 ? {} : { appId: loaded.appId }, ...loaded.sandbox?.provider === void 0 ? {} : { sandboxProvider: loaded.sandbox.provider } } : { url, apiKey, appId: keyRunnerFactory(loaded) };
1090
1090
  } catch {
1091
1091
  return void 0;
1092
1092
  }
@@ -1109,7 +1109,7 @@ async function gatherDoctorChecks(options = {}) {
1109
1109
  const service = await (async () => {
1110
1110
  const { existsSync: existsSync3 } = await import('fs');
1111
1111
  if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
1112
- const { inspectRunnerService } = await import('./find-unit-5G5DI5KK.js');
1112
+ const { inspectRunnerService } = await import('./find-unit-VUV76BIL.js');
1113
1113
  return inspectRunnerService(configPath);
1114
1114
  })();
1115
1115
  checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-EANGK4AM.js';
3
+ import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-IT7RFVWR.js';
4
4
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
5
5
  import { detectActiveSession } from './chunk-7RDHN455.js';
6
- import { autoConnect } from './chunk-X26S7Y2N.js';
6
+ import { autoConnect } from './chunk-AQEVNB6C.js';
7
7
  import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-TDTWNGCO.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-3GBUF5VG.js';
9
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-BXWZCLJ3.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-I6MLYOGL.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-2OSEUHWY.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
325
325
  return 1;
326
326
  }
327
327
  } else {
328
- const { resolveLaunchPlane } = await import('./control-plane-launch-YQOT2EQL.js');
328
+ const { resolveLaunchPlane } = await import('./control-plane-launch-P2E55QZ4.js');
329
329
  const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
330
330
  if (plane.kind === "none") {
331
331
  const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);