@outerlayer/cli 0.40.0-next.20261114141534 → 0.40.0-next.20261114214913

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 (141) 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-2MAB2XOX.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-FF5TPCQ7.js → chunk-3MCO6PFW.js} +9 -9
  14. package/dist/{chunk-PIXRISH7.js → chunk-3SOB6LWY.js} +29 -27
  15. package/dist/{chunk-6AFTYWAB.js → chunk-3WYPBALP.js} +4 -4
  16. package/dist/{chunk-I2BO2QBH.js → chunk-4ATFANLO.js} +2 -2
  17. package/dist/{chunk-SWKFTYZI.js → chunk-5D3XOHGK.js} +5 -5
  18. package/dist/{chunk-QNHHD75P.js → chunk-5I4PLRFO.js} +3 -3
  19. package/dist/{chunk-3JJ6JIYS.js → chunk-5ZVZ7MVD.js} +5 -5
  20. package/dist/{chunk-PEFV5YIJ.js → chunk-6SOATTHF.js} +3 -3
  21. package/dist/{chunk-4PH73UWD.js → chunk-6WBI37BR.js} +2 -2
  22. package/dist/{chunk-CG44IGEF.js → chunk-ANBDFUHT.js} +1 -1
  23. package/dist/{chunk-X26S7Y2N.js → chunk-AQEVNB6C.js} +2 -2
  24. package/dist/{chunk-3GBUF5VG.js → chunk-BXWZCLJ3.js} +1 -1
  25. package/dist/{chunk-U65ALAP5.js → chunk-C2W453KR.js} +2 -2
  26. package/dist/{chunk-SHCD5V7G.js → chunk-D5YKPIHV.js} +1 -1
  27. package/dist/{chunk-ZI5MT4TT.js → chunk-DMAAKDGD.js} +1 -1
  28. package/dist/{chunk-3ZUW6SKU.js → chunk-FDENE6LM.js} +2 -2
  29. package/dist/{chunk-RM6UGUWJ.js → chunk-FMYWIBBW.js} +2 -2
  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-6O5LXVFE.js → chunk-IOKR7Z7Z.js} +7 -7
  34. package/dist/{chunk-EANGK4AM.js → chunk-IT7RFVWR.js} +5 -5
  35. package/dist/{chunk-Q2SX6RZJ.js → chunk-J4WAHOXM.js} +1 -1
  36. package/dist/{chunk-VLI43TVN.js → chunk-KJNI2WWR.js} +2 -2
  37. package/dist/{chunk-PQOIDBWE.js → chunk-KTHGBFIH.js} +2 -2
  38. package/dist/{chunk-V6QH7AIR.js → chunk-MHFVGML3.js} +2 -2
  39. package/dist/{chunk-T7HMGQH2.js → chunk-MP6INWPC.js} +3 -3
  40. package/dist/{chunk-7QDAAW2N.js → chunk-N6DWNOEF.js} +1 -1
  41. package/dist/{chunk-IRWP4HF7.js → chunk-NBNZFLKJ.js} +1 -1
  42. package/dist/{chunk-3ZYSB2V7.js → chunk-ODWWDOK5.js} +3 -3
  43. package/dist/{chunk-IYDHMOTC.js → chunk-OHJOC2H2.js} +3 -3
  44. package/dist/{chunk-ZKZD4CGD.js → chunk-PNZMJFVP.js} +4 -4
  45. package/dist/{chunk-FTV63SCQ.js → chunk-PUUQKA3W.js} +17 -6
  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-WW6LIFKM.js → chunk-SWSPRGJL.js} +8 -8
  49. package/dist/{chunk-CYZQDC6N.js → chunk-T3X3FZIR.js} +1 -1
  50. package/dist/{chunk-RIZCV7GX.js → chunk-TG3O6CAF.js} +5 -5
  51. package/dist/{chunk-BN6NRJ66.js → chunk-TIDPEU6D.js} +29 -29
  52. package/dist/{chunk-LJRO53R4.js → chunk-TQDXHGUF.js} +2 -2
  53. package/dist/{chunk-6G6FOCJW.js → chunk-TTHF4LOS.js} +3 -3
  54. package/dist/{chunk-3JVYMD4G.js → chunk-TXKHD4Q6.js} +3 -2
  55. package/dist/{chunk-RC5ENCHK.js → chunk-ULENFLVA.js} +3 -3
  56. package/dist/{chunk-JEW6WDGJ.js → chunk-VGV3J5CX.js} +1 -1
  57. package/dist/{chunk-K4N6Z4A2.js → chunk-VY2MH6VX.js} +5 -5
  58. package/dist/{chunk-4J5KDIHZ.js → chunk-W3K7TKYW.js} +3 -3
  59. package/dist/{chunk-IE75TT5E.js → chunk-WNFQV5SL.js} +1 -1
  60. package/dist/{chunk-ZM7AL7UV.js → chunk-WR2TR6BC.js} +6 -3
  61. package/dist/{chunk-DZCELAHC.js → chunk-X5WH346T.js} +2 -2
  62. package/dist/{chunk-SWYBUMUL.js → chunk-Y2US5RDK.js} +1 -1
  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-EZTI4WK3.js → cli-AUEXVGLP.js} +149 -141
  67. package/dist/{command-EQ4LIIPO.js → command-G3B5IT5T.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-JHQMAKWD.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-4JZJQOGE.js} +34 -34
  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-TTY663DX.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-3D6C7GI2.js} +30 -30
  95. package/dist/{init-OBLM3BDH.js → init-GPS5KJQV.js} +30 -30
  96. package/dist/{init-agent-ZYT24CNV.js → init-agent-RXCIPMQ6.js} +30 -30
  97. package/dist/{init-cmd-4U45BP3X.js → init-cmd-5NUDQ6DV.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-5VIKTHCW.js} +39 -39
  104. package/dist/{machine-DP32IH24.js → machine-MP4YXEVG.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-O7SMLAEA.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-4EU2RICM.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-3YS3E7BW.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-DPC5M65G.js → work-proofs-cmd-GU2BPOGW.js} +9 -9
  135. package/dist/{work-proofs-record-PFPGBKXM.js → work-proofs-record-M2T5FGC4.js} +19 -16
  136. package/dist/{work-stop-cmd-NGRBDCJF.js → work-stop-cmd-CDWNUCMO.js} +8 -8
  137. package/package.json +1 -1
  138. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
  139. package/skill-pack/maintained/outerlayer-amend/references/new-proof.md +16 -0
  140. package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +6 -0
  141. package/skill-pack/maintained/outerlayer-build/references/evidence.md +2 -0
@@ -1,36 +1,36 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
4
- import { reportFailedStart, fitImageBuildMemory } from './chunk-6O5LXVFE.js';
5
3
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
6
- import { writeFleetState } from './chunk-7LZYS7BO.js';
7
- import { writePendingUpdate } from './chunk-3LORQC4Z.js';
8
- import { renderUpdateSteps } from './chunk-IYDHMOTC.js';
9
- import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-CYZQDC6N.js';
10
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-WW6LIFKM.js';
11
- import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-ZM7AL7UV.js';
12
- import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-PIXRISH7.js';
4
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-IOKR7Z7Z.js';
5
+ import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
6
+ import { writeFleetState } from './chunk-YY64D4FA.js';
7
+ import { writePendingUpdate } from './chunk-RSW5AXPT.js';
8
+ import { renderUpdateSteps } from './chunk-OHJOC2H2.js';
9
+ import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-T3X3FZIR.js';
10
+ import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-SWSPRGJL.js';
11
+ import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-WR2TR6BC.js';
12
+ import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-3SOB6LWY.js';
13
13
  import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-BY4SXNUL.js';
14
- import { RUNNER_PROTOCOL } from './chunk-QAOEOSSE.js';
15
- import { RUNNER_RESERVE_BYTES } from './chunk-ZKZD4CGD.js';
16
- import { RepoFilter } from './chunk-EANGK4AM.js';
14
+ import { RUNNER_PROTOCOL } from './chunk-2UBMDLUF.js';
15
+ import { RUNNER_RESERVE_BYTES } from './chunk-PNZMJFVP.js';
16
+ import { RepoFilter } from './chunk-IT7RFVWR.js';
17
17
  import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
18
- import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-7QDAAW2N.js';
18
+ import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-N6DWNOEF.js';
19
19
  import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
20
- import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-RM6UGUWJ.js';
21
- import { fetchCommit, readBranchHead, diffBetween } from './chunk-SWKFTYZI.js';
22
- import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-ZI5MT4TT.js';
20
+ import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-FMYWIBBW.js';
21
+ import { fetchCommit, readBranchHead, diffBetween } from './chunk-5D3XOHGK.js';
22
+ import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-DMAAKDGD.js';
23
23
  import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
24
- import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-K4N6Z4A2.js';
25
- import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-RIZCV7GX.js';
26
- import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-T7HMGQH2.js';
27
- import { allocatedBytes, freeBytes, formatBytes } from './chunk-34IH7AVH.js';
28
- import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-6AFTYWAB.js';
29
- import { loadHostKey, ensureHostKey, signerFor } from './chunk-SHCD5V7G.js';
30
- import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-I6MLYOGL.js';
31
- import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-E74YOVYI.js';
32
- import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-FTV63SCQ.js';
33
- import { cleanAttachmentName } from './chunk-CG44IGEF.js';
24
+ import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-VY2MH6VX.js';
25
+ import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-TG3O6CAF.js';
26
+ import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-MP6INWPC.js';
27
+ import { allocatedBytes, freeBytes, formatBytes } from './chunk-ST5S3P2C.js';
28
+ import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-3WYPBALP.js';
29
+ import { loadHostKey, ensureHostKey, signerFor } from './chunk-D5YKPIHV.js';
30
+ import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-2OSEUHWY.js';
31
+ import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-IB4SVQNB.js';
32
+ import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-PUUQKA3W.js';
33
+ import { cleanAttachmentName } from './chunk-ANBDFUHT.js';
34
34
  import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-R2XWZSLR.js';
35
35
  import { defaultAgents, resolvePackRoot } from './chunk-OZG4BNC6.js';
36
36
  import { resolveVersion } from './chunk-RA3O54FC.js';
@@ -3156,7 +3156,7 @@ var CLAIM_REFUSAL_CODES = new Set(
3156
3156
  "pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
3157
3157
  );
3158
3158
  async function tryClaimAndStart(state, item, queue) {
3159
- const { postJson: postJson2 } = await import('./work-cmd-KTDBSYL6.js');
3159
+ const { postJson: postJson2 } = await import('./work-cmd-LPNNXYDQ.js');
3160
3160
  const log = logOf(state);
3161
3161
  const hostKey = await loadHostKey(state.config.configPath);
3162
3162
  const claim = await retrySend(
@@ -4773,7 +4773,7 @@ async function start(configPath, deps = { fetchImpl: fetch }) {
4773
4773
  }
4774
4774
  async function startRunner(configPath, deps, startup) {
4775
4775
  const log = deps.log ??= createRunnerLog(deps.now ?? (() => /* @__PURE__ */ new Date()));
4776
- takeAgentCredentials(process.env, hooksOf(configPath), deps.agents);
4776
+ takeAgentCredentials(process.env, hooksOf(configPath), deps.agents, dirname(configPath));
4777
4777
  const update = deps.update;
4778
4778
  if (update !== void 0) {
4779
4779
  const outcome = await onStartUnderMarker({
@@ -4782,7 +4782,7 @@ async function startRunner(configPath, deps, startup) {
4782
4782
  check: update.check ? () => update.check(configPath) : async () => {
4783
4783
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
4784
4784
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
4785
- return (await import('./check-ARWWJ2ED.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4785
+ return (await import('./check-2MAB2XOX.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4786
4786
  },
4787
4787
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
4788
4788
  log
@@ -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,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,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);