@outerlayer/cli 0.36.0-next.20261103103134 → 0.36.0-next.20261103191900

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 (165) hide show
  1. package/dist/{agent-setup-DZZZH3SE.js → agent-setup-X7AYIYU2.js} +18 -18
  2. package/dist/{agent-subcommand-WRHH6SRD.js → agent-subcommand-54OWGFVV.js} +3 -3
  3. package/dist/{bridge-GZSZQGLI.js → bridge-QJNA3KV6.js} +6 -6
  4. package/dist/{build-UKZ5RPRR.js → build-4R4PUGPT.js} +12 -12
  5. package/dist/{build-disk-3HOXULLP.js → build-disk-LYHGWH4G.js} +10 -10
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-QEK4GIRY.js → builder-ER6LUZBQ.js} +9 -9
  8. package/dist/caller-PCOQRDGJ.js +23 -0
  9. package/dist/{check-D6NMQ6LP.js → check-27MDV3T5.js} +56 -54
  10. package/dist/{chunk-6UI4ELNA.js → chunk-2BTDFRRQ.js} +7 -7
  11. package/dist/{chunk-FLQL6ZIG.js → chunk-2HOSCIV6.js} +1 -1
  12. package/dist/{chunk-MPVTZLOM.js → chunk-2I654QYW.js} +3 -3
  13. package/dist/{chunk-PDRWRFB2.js → chunk-45AYMLMT.js} +3 -3
  14. package/dist/{chunk-K26KMWU4.js → chunk-4HMOBW7H.js} +7 -7
  15. package/dist/{chunk-R63T46P7.js → chunk-4KYPJE3D.js} +3 -3
  16. package/dist/{chunk-HR4PJLOO.js → chunk-4YLF777T.js} +1 -1
  17. package/dist/{chunk-OGG5ELXF.js → chunk-5MN6VZZH.js} +4 -4
  18. package/dist/{chunk-JMM3L5RG.js → chunk-6HMA3FIE.js} +4 -4
  19. package/dist/{chunk-NH4EZRBM.js → chunk-6LPBK4XU.js} +6 -6
  20. package/dist/{chunk-J4NJWTNO.js → chunk-7HDI5CGG.js} +5 -5
  21. package/dist/{chunk-QVOU2QUR.js → chunk-7HRNYPL3.js} +3 -3
  22. package/dist/{chunk-2JWLK2TU.js → chunk-7TPLWWFN.js} +1 -1
  23. package/dist/{chunk-VMPVQE4D.js → chunk-7TZP5JBS.js} +2 -2
  24. package/dist/{chunk-6J3QWXTA.js → chunk-7V4ZEB2R.js} +4 -4
  25. package/dist/{chunk-DWYQKLCL.js → chunk-AWY7ORQ2.js} +1 -1
  26. package/dist/{chunk-WAGHPZP2.js → chunk-AZXFZGHQ.js} +1 -1
  27. package/dist/{chunk-LDKF6B2R.js → chunk-B5BLIHJZ.js} +3 -3
  28. package/dist/{chunk-IEVARJ6G.js → chunk-BOUW2CV6.js} +2 -2
  29. package/dist/{chunk-3XEYA3QF.js → chunk-BQUI64BU.js} +1 -1
  30. package/dist/{chunk-GWJUEJR4.js → chunk-C4OYAXLQ.js} +7 -7
  31. package/dist/{chunk-EHS3HEB6.js → chunk-COPXXXNB.js} +3 -3
  32. package/dist/{chunk-NDCN3R5C.js → chunk-D7TMGSZN.js} +3 -3
  33. package/dist/{chunk-7UYXSF62.js → chunk-DDOD4YOQ.js} +6 -7
  34. package/dist/{chunk-KVO4MJWS.js → chunk-DE64NSOH.js} +6 -6
  35. package/dist/{chunk-ZE2JJQPC.js → chunk-DSZKDLFU.js} +1 -1
  36. package/dist/{chunk-54ERDQ3O.js → chunk-E6ESLX5E.js} +32 -8
  37. package/dist/{chunk-KHJPRTOW.js → chunk-EKDQDOSS.js} +1 -1
  38. package/dist/{chunk-LV4IDDD3.js → chunk-ENWGIREE.js} +5 -5
  39. package/dist/{chunk-2W5C47AE.js → chunk-FDRQZALU.js} +1 -1
  40. package/dist/{chunk-K373UCEV.js → chunk-GAPNTRA5.js} +1 -1
  41. package/dist/{chunk-TWGSXBZM.js → chunk-GNLAORSW.js} +3 -3
  42. package/dist/{chunk-LISVY7JZ.js → chunk-H5CWIV56.js} +7 -7
  43. package/dist/{chunk-YEZGNCSK.js → chunk-H6T73OLF.js} +1 -1
  44. package/dist/{chunk-JD5EVW6Y.js → chunk-I5EZW66W.js} +4 -4
  45. package/dist/{chunk-U7MLC45I.js → chunk-IADJEW5P.js} +5 -5
  46. package/dist/{chunk-NQYTUVZR.js → chunk-IM4VUDKW.js} +1 -1
  47. package/dist/{chunk-BZQ3S24G.js → chunk-INT54Z2T.js} +1 -1
  48. package/dist/{chunk-GPBTTHK3.js → chunk-JJ63MLE5.js} +1 -1
  49. package/dist/{chunk-HQBKKYYQ.js → chunk-K3GCT2HL.js} +4 -4
  50. package/dist/{chunk-4MN4BBKZ.js → chunk-K3GWZRRK.js} +7 -7
  51. package/dist/{chunk-ZZ4WIQRF.js → chunk-KJ424QKG.js} +12 -9
  52. package/dist/{chunk-HO4DPX5N.js → chunk-KQDTORGF.js} +1 -1
  53. package/dist/{chunk-PYK6GCCU.js → chunk-KRTIYEJI.js} +5 -5
  54. package/dist/{chunk-52Z7AOZ2.js → chunk-LIJMW36Q.js} +43 -27
  55. package/dist/{chunk-XW2KXLZB.js → chunk-MLO33RMW.js} +18 -18
  56. package/dist/{chunk-IEDO26G4.js → chunk-NDIV6GDC.js} +12 -3
  57. package/dist/{chunk-T5I2H7TJ.js → chunk-NE2A2ZIY.js} +1 -1
  58. package/dist/{chunk-B5UBTIIP.js → chunk-OHOATH4S.js} +4 -4
  59. package/dist/{chunk-4MLH5MDB.js → chunk-OM3XGJBY.js} +5 -5
  60. package/dist/{chunk-XAMTNTOH.js → chunk-PCWNDYQO.js} +9 -9
  61. package/dist/{chunk-SYKEQT63.js → chunk-PJ5GYGC6.js} +17 -5
  62. package/dist/{chunk-B5VKRKLJ.js → chunk-PUEIXGZ4.js} +1 -1
  63. package/dist/{chunk-L3SHPR2M.js → chunk-PYPHE6FZ.js} +1 -1
  64. package/dist/{chunk-CDTBXABP.js → chunk-QBDQ64QF.js} +2 -2
  65. package/dist/{chunk-VST3BWL4.js → chunk-QGUOCNQA.js} +11 -10
  66. package/dist/{chunk-NMMGRG5V.js → chunk-R2DEJ5Q6.js} +4 -4
  67. package/dist/{chunk-U6EACUUG.js → chunk-RYSGOWHG.js} +16 -3
  68. package/dist/{chunk-54PQNYA7.js → chunk-S7YLAN2P.js} +2 -2
  69. package/dist/{chunk-LXXP5HRJ.js → chunk-SRNHGJAV.js} +3 -3
  70. package/dist/{chunk-2SBNZ4EC.js → chunk-T3MVV6LG.js} +1 -1
  71. package/dist/{chunk-EUWTGCK5.js → chunk-T4J5VR7B.js} +1 -1
  72. package/dist/{chunk-OPEZVPF7.js → chunk-UYXX33HA.js} +3 -3
  73. package/dist/{chunk-P4Q6M6PI.js → chunk-W3ZKWZ6G.js} +1 -1
  74. package/dist/{chunk-DEZSNJSE.js → chunk-W72X24TZ.js} +1 -1
  75. package/dist/{chunk-BEJJJZXF.js → chunk-WRNDC7H7.js} +3 -3
  76. package/dist/{chunk-UZSMDU4U.js → chunk-WVZ6EKJ3.js} +2 -2
  77. package/dist/{chunk-NOLS2G2W.js → chunk-WWTZLRPH.js} +8 -0
  78. package/dist/{chunk-42X6CTBI.js → chunk-X7PK7QRY.js} +3 -3
  79. package/dist/{chunk-YCBVYTFI.js → chunk-XLCAYPLV.js} +1 -1
  80. package/dist/{chunk-S7YU25AF.js → chunk-Z27IIHHE.js} +32 -31
  81. package/dist/{claude-launcher-CPSCSL6U.js → claude-launcher-WJ5CVLJR.js} +6 -6
  82. package/dist/{cli-TZW5XJRE.js → cli-RCLYJFIL.js} +159 -143
  83. package/dist/{command-5VOKN4HI.js → command-XGIJADGX.js} +48 -48
  84. package/dist/{config-23EBIGW4.js → config-VHJI645L.js} +11 -11
  85. package/dist/{connect-cmd-GEBIOBQQ.js → connect-cmd-CQNECBHI.js} +10 -10
  86. package/dist/{container-start-NJGGT4E3.js → container-start-S5EL4HIH.js} +46 -46
  87. package/dist/{context-cleanup-I7FLIV5A.js → context-cleanup-2SPOGEZR.js} +3 -3
  88. package/dist/{context-show-cmd-CSPMSRHX.js → context-show-cmd-XODQYX7H.js} +11 -11
  89. package/dist/{control-plane-launch-KC7NUNYQ.js → control-plane-launch-KIJABWN4.js} +13 -13
  90. package/dist/{demo-record-cmd-ZW6U2LAV.js → demo-record-cmd-QVK4YUIV.js} +7 -7
  91. package/dist/{demo-voice-cmd-IDW3QX3E.js → demo-voice-cmd-4BOI7UDQ.js} +18 -18
  92. package/dist/{docker-2VHMWLNK.js → docker-BP7AD65K.js} +9 -9
  93. package/dist/{doctor-ZAB6SDWF.js → doctor-TZIHEPIW.js} +48 -48
  94. package/dist/{emit-artifact-cmd-2ZHPNLPG.js → emit-artifact-cmd-EGFKK4KF.js} +17 -17
  95. package/dist/{emit-cmd-UN7HGZC5.js → emit-cmd-S64A2LJ2.js} +6 -6
  96. package/dist/{emit-criteria-cmd-TUXGD7CW.js → emit-criteria-cmd-L2YRIRCQ.js} +13 -13
  97. package/dist/{emit-demo-cmd-4YMYB556.js → emit-demo-cmd-QHKUH4Y3.js} +18 -18
  98. package/dist/{emit-finding-cmd-O2NN22XF.js → emit-finding-cmd-DCEGWYY4.js} +13 -13
  99. package/dist/{emit-result-cmd-VRITADX2.js → emit-result-cmd-WGBZUASN.js} +16 -16
  100. package/dist/{emit-step-cmd-LGNBZTWJ.js → emit-step-cmd-TFKMQZHD.js} +13 -13
  101. package/dist/{exec-client-NXTXAVHI.js → exec-client-GW5ZI74B.js} +7 -7
  102. package/dist/find-unit-L2JIUL4D.js +24 -0
  103. package/dist/{findings-cmd-RJD7KTSW.js → findings-cmd-QO7OMGM6.js} +13 -13
  104. package/dist/{fleet-readiness-RIO2SWC7.js → fleet-readiness-ZF4UUANH.js} +12 -12
  105. package/dist/{governing-source-CZSYE7QE.js → governing-source-JYK3VK23.js} +18 -18
  106. package/dist/{guest-init-FLSL5RI7.js → guest-init-FPRVOOK5.js} +8 -8
  107. package/dist/{hook-fast-HYRZAY5K.js → hook-fast-WLRNPF5S.js} +2 -2
  108. package/dist/{hook-install-CSHKOLWT.js → hook-install-TZZNJB4P.js} +3 -3
  109. package/dist/{hook-wrap-fast-ITUBSHEF.js → hook-wrap-fast-HNY3OGLN.js} +2 -2
  110. package/dist/host-checks-FEYDTZKZ.js +79 -0
  111. package/dist/{host-key-CPAEQSNU.js → host-key-WG4KPVLI.js} +7 -7
  112. package/dist/{image-tag-MAMFM4SO.js → image-tag-GZW7HJBN.js} +7 -7
  113. package/dist/index.js +6 -6
  114. package/dist/init-6FLEEVZY.js +79 -0
  115. package/dist/{init-G7D7ABKV.js → init-RSKNY7WL.js} +44 -44
  116. package/dist/{init-cmd-5GHIMFSS.js → init-cmd-UD6QSHH2.js} +26 -26
  117. package/dist/{init-update-TQH2Q7IZ.js → init-update-N3WBXLGD.js} +21 -21
  118. package/dist/{install-cmd-PVQ5M5NM.js → install-cmd-GJNKXZN2.js} +9 -9
  119. package/dist/{layout-2DF7ON2F.js → layout-YSNLYG6U.js} +3 -3
  120. package/dist/{logs-BM644OOJ.js → logs-IMTZ733E.js} +6 -6
  121. package/dist/loop-VCH4UOQ4.js +90 -0
  122. package/dist/machine-ZU7XA2IC.js +79 -0
  123. package/dist/{machine-skills-O7XAZYLN.js → machine-skills-WOAIOXAQ.js} +3 -3
  124. package/dist/{mcp-install-cmd-METCXTTR.js → mcp-install-cmd-NFMA6PSL.js} +3 -3
  125. package/dist/{mcp-serve-cmd-CTKBLSM6.js → mcp-serve-cmd-27QGBQGR.js} +8 -8
  126. package/dist/{paths-VIBBLJ2W.js → paths-HV5GP5OV.js} +6 -6
  127. package/dist/pending-4PZIZNR5.js +18 -0
  128. package/dist/{pidfile-PAX5XHQJ.js → pidfile-P4DJ2C7S.js} +7 -7
  129. package/dist/{record-QPXOUL6F.js → record-UOVUKWPV.js} +7 -7
  130. package/dist/{relay-KASDMV3R.js → relay-JMCC6IJ4.js} +4 -4
  131. package/dist/{relay-protocol-7HSCZC5H.js → relay-protocol-RR5JOWOO.js} +4 -4
  132. package/dist/{runner-agents-WUMCXVS2.js → runner-agents-RO4TU5N4.js} +3 -3
  133. package/dist/{runner-env-R2C5LYCX.js → runner-env-XX2NZOEJ.js} +13 -13
  134. package/dist/{runner-identity-UDPLWT7I.js → runner-identity-HHW4UKYE.js} +9 -9
  135. package/dist/{runner-key-JGIDJTHH.js → runner-key-FNNAF36Q.js} +44 -44
  136. package/dist/{session-sender-4QKSVX5Z.js → session-sender-4FS2GKAY.js} +17 -17
  137. package/dist/{spec-cmd-QAOTQPI6.js → spec-cmd-AAVXNWTV.js} +14 -14
  138. package/dist/{starter-pack-LAPDUG6E.js → starter-pack-NAR72DKB.js} +4 -4
  139. package/dist/{state-OTWJW4O7.js → state-IASJSAJV.js} +7 -7
  140. package/dist/{status-OKZHXEYB.js → status-FQ5AIDWL.js} +44 -44
  141. package/dist/{statusline-fast-7V7U4SI4.js → statusline-fast-5G2CTPSX.js} +2 -2
  142. package/dist/{sync-cmd-FLNYVXAE.js → sync-cmd-K3V4D54W.js} +16 -16
  143. package/dist/update-steps-TR2A4Z6Q.js +80 -0
  144. package/dist/{watch-4V7FZI5R.js → watch-SAMIKKQC.js} +16 -16
  145. package/dist/{work-claim-cmd-E2D4YHCS.js → work-claim-cmd-PBW4QDJH.js} +19 -19
  146. package/dist/{work-cmd-VD362634.js → work-cmd-L23VUS4H.js} +13 -13
  147. package/dist/{work-comment-cmd-EUI5IOQI.js → work-comment-cmd-DRBGJAUD.js} +15 -15
  148. package/dist/{work-demo-cmd-MGL3U6ZF.js → work-demo-cmd-HT72ZB6K.js} +13 -13
  149. package/dist/{work-logs-cmd-QAJG75DG.js → work-logs-cmd-VSWZHEUJ.js} +13 -13
  150. package/dist/{work-open-pr-cmd-SXVSMG44.js → work-open-pr-cmd-DOMZJJC3.js} +14 -14
  151. package/dist/{work-pr-cmd-WUIMC7XB.js → work-pr-cmd-FC3AJ67Y.js} +13 -13
  152. package/dist/{work-proofs-cmd-AAHTMSCF.js → work-proofs-cmd-NINHCBZW.js} +15 -15
  153. package/dist/{work-proofs-record-LLUEXW7I.js → work-proofs-record-7XH374TO.js} +22 -22
  154. package/dist/{work-stop-cmd-RZLGWQJ5.js → work-stop-cmd-J5DXU4BV.js} +13 -13
  155. package/package.json +1 -1
  156. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
  157. package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
  158. package/dist/caller-WSMJJSFL.js +0 -23
  159. package/dist/find-unit-RYYTX2O5.js +0 -24
  160. package/dist/host-checks-KLMATCMD.js +0 -79
  161. package/dist/init-BB2LERCZ.js +0 -79
  162. package/dist/loop-7MAMONQJ.js +0 -90
  163. package/dist/machine-HDHSI7WF.js +0 -79
  164. package/dist/pending-RXJKH4AC.js +0 -18
  165. package/dist/update-steps-W56ITCKQ.js +0 -80
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-6J3QWXTA.js';
4
- import { orgHomeDir } from './chunk-L3SHPR2M.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-7V4ZEB2R.js';
4
+ import { orgHomeDir } from './chunk-PYPHE6FZ.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-IEVARJ6G.js';
4
- import { parseSize } from './chunk-6UI4ELNA.js';
5
- import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-LDKF6B2R.js';
6
- import { builderDiskPinned } from './chunk-IEDO26G4.js';
3
+ import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-BOUW2CV6.js';
4
+ import { parseSize } from './chunk-2BTDFRRQ.js';
5
+ import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-B5BLIHJZ.js';
6
+ import { builderDiskPinned } from './chunk-NDIV6GDC.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
9
9
  import { hostname } from 'os';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { decodeWrappedCommand } from './chunk-ZHQC43NH.js';
4
- import { hookCodec } from './chunk-NOLS2G2W.js';
4
+ import { hookCodec } from './chunk-WWTZLRPH.js';
5
5
  import { homeFromEnv } from './chunk-352DHUTP.js';
6
6
  import { readFileSync, mkdirSync, appendFileSync, writeFileSync } from 'fs';
7
7
  import { spawn } from 'child_process';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { EXEC_PORT } from './chunk-MPVTZLOM.js';
3
+ import { EXEC_PORT } from './chunk-2I654QYW.js';
4
4
  import { createConnection } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, builtInEnvironment, managedAgentCredential, agentCredential, destinationPort } from './chunk-7UYXSF62.js';
4
- import { strippedVariables } from './chunk-IEDO26G4.js';
5
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, builtInEnvironment, managedAgentCredential, agentCredential, destinationPort } from './chunk-DDOD4YOQ.js';
4
+ import { strippedVariables } from './chunk-NDIV6GDC.js';
5
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
6
6
  import { PROVIDERS } from './chunk-QJKW4MKH.js';
7
7
  import { existsSync, unlinkSync, chmodSync } from 'fs';
8
8
  import { request as request$1, createServer } from 'http';
@@ -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-6UI4ELNA.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-L3SHPR2M.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-2BTDFRRQ.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-PYPHE6FZ.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,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-OV4XTV5M.js';
4
- import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-54ERDQ3O.js';
4
+ import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-E6ESLX5E.js';
5
5
  import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
6
6
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
7
7
  import { lstatSync, readFileSync } from 'fs';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-52Z7AOZ2.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
5
- import { RunnerAlreadyRunningError, readPidFile } from './chunk-HO4DPX5N.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-LIJMW36Q.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-KJ424QKG.js';
5
+ import { RunnerAlreadyRunningError, readPidFile } from './chunk-KQDTORGF.js';
6
6
  import { isSameProcess } from './chunk-JBJTC3UU.js';
7
- import { isSignatureRefusal, postJson } from './chunk-KVO4MJWS.js';
8
- import { keyRunnerFactory } from './chunk-6J3QWXTA.js';
9
- import { signerFor } from './chunk-KHJPRTOW.js';
10
- import { pidFilePath } from './chunk-L3SHPR2M.js';
7
+ import { isSignatureRefusal, postJson } from './chunk-DE64NSOH.js';
8
+ import { keyRunnerFactory } from './chunk-7V4ZEB2R.js';
9
+ import { signerFor } from './chunk-EKDQDOSS.js';
10
+ import { pidFilePath } from './chunk-PYPHE6FZ.js';
11
11
  import { readFileSync } from 'fs';
12
12
 
13
13
  createRequire(import.meta.url);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-K26KMWU4.js';
4
- import { spoolDir } from './chunk-SYKEQT63.js';
3
+ import { LiveUploader } from './chunk-4HMOBW7H.js';
4
+ import { spoolDir } from './chunk-PJ5GYGC6.js';
5
5
  import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-54ERDQ3O.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-E6ESLX5E.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { CaptureDaemon } from './chunk-WZOWXDDM.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { stripTerminalControls } from './chunk-52Z7AOZ2.js';
4
- import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-EUWTGCK5.js';
3
+ import { stripTerminalControls } from './chunk-LIJMW36Q.js';
4
+ import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-T4J5VR7B.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
7
7
  createRequire(import.meta.url);
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
55
55
  return [...new Set(names)].sort();
56
56
  }
57
57
  async function readOwnContainer(deps = {}) {
58
- const run = deps.run ?? (await import('./docker-2VHMWLNK.js')).spawnRun;
58
+ const run = deps.run ?? (await import('./docker-BP7AD65K.js')).spawnRun;
59
59
  const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
60
60
  if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
61
61
  let problem = "";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-IEDO26G4.js';
4
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-NDIV6GDC.js';
4
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
5
5
  import { PROVIDERS } from './chunk-QJKW4MKH.js';
6
6
  import { statSync, readFileSync } from 'fs';
7
7
  import { join } from 'path';
@@ -246,17 +246,16 @@ function complain(path, label, reason) {
246
246
  var heldCopies = /* @__PURE__ */ new Map();
247
247
  var removedValues = /* @__PURE__ */ new Set();
248
248
  function holdAgentCredentials(env = process.env, agents = defaultAgents()) {
249
- for (const agent of runnerAgents(agents)) {
250
- if (heldCopies.has(agent.descriptor.id)) continue;
251
- const read = readAgentCredential(env, agent.descriptor.id, agents);
252
- if (read !== void 0) heldCopies.set(agent.descriptor.id, read);
249
+ const first = credentialAgent(agents);
250
+ if (first !== void 0 && !heldCopies.has(first.descriptor.id)) {
251
+ const read = readAgentCredential(env, first.descriptor.id, agents);
252
+ if (read !== void 0) heldCopies.set(first.descriptor.id, read);
253
253
  }
254
254
  for (const name of strippedVariables(agents)) {
255
255
  const value = env[name];
256
256
  if (value !== void 0 && value !== "") removedValues.add(value);
257
257
  delete env[name];
258
258
  }
259
- const first = runnerAgents(agents)[0];
260
259
  return first === void 0 ? void 0 : heldCopies.get(first.descriptor.id);
261
260
  }
262
261
  function takeAgentCredentials(env, hooks, agents = defaultAgents()) {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
4
- import { autoConnect } from './chunk-UZSMDU4U.js';
5
- import { workPageUrl } from './chunk-PDRWRFB2.js';
3
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
4
+ import { autoConnect } from './chunk-WVZ6EKJ3.js';
5
+ import { workPageUrl } from './chunk-45AYMLMT.js';
6
6
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-HR4PJLOO.js';
9
- import { signRunnerRequest } from './chunk-KHJPRTOW.js';
8
+ import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-4YLF777T.js';
9
+ import { signRunnerRequest } from './chunk-EKDQDOSS.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-QJKW4MKH.js';
@@ -486,7 +486,7 @@ async function runWorkLinkSession(opts) {
486
486
  return await linkSession(opts);
487
487
  } catch (err) {
488
488
  if (opts.logFailures) {
489
- const { logHookError } = await import('./hook-fast-HYRZAY5K.js');
489
+ const { logHookError } = await import('./hook-fast-WLRNPF5S.js');
490
490
  const reason = err instanceof Error ? err.message : String(err);
491
491
  logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
492
492
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-P4Q6M6PI.js';
3
+ import { currentLink } from './chunk-W3ZKWZ6G.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,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { CLAUDE_CODE_HOOKS } from './chunk-NOLS2G2W.js';
3
+ import { CLAUDE_CODE_HOOKS } from './chunk-WWTZLRPH.js';
4
4
  import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-QJKW4MKH.js';
5
5
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
6
6
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
@@ -9,7 +9,7 @@ import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerT
9
9
  import { RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-WUKLQWGY.js';
10
10
  import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
11
11
  import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
12
- import { join as join$1, dirname, sep, basename, relative } from 'path';
12
+ import { join as join$1, dirname, sep, basename, relative, delimiter } from 'path';
13
13
  import { fileURLToPath } from 'url';
14
14
  import { spawnSync } from 'child_process';
15
15
  import { createHash } from 'crypto';
@@ -10460,9 +10460,21 @@ function readJudgeOutput(stdout) {
10460
10460
  return void 0;
10461
10461
  }
10462
10462
  }
10463
+ var QUEUE_FLAGS = {
10464
+ implement: "--model opus --effort medium",
10465
+ amend: "--model sonnet --effort medium"
10466
+ };
10467
+ var JOB_ENV = {
10468
+ BASH_DEFAULT_TIMEOUT_MS: "1500000",
10469
+ BASH_MAX_TIMEOUT_MS: "1500000",
10470
+ CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS: "0",
10471
+ CLAUDE_CODE_STOP_HOOK_BLOCK_CAP: "50"
10472
+ };
10463
10473
  function createClaudeCodeHeadless() {
10464
10474
  return {
10465
- commandLine: (prompt) => `${CLAUDE_CODE.program} -p "${prompt}" --permission-mode bypassPermissions`,
10475
+ commandLine: (prompt, queue) => `${CLAUDE_CODE.program} -p "${prompt}" --permission-mode bypassPermissions${queue === void 0 ? "" : ` ${QUEUE_FLAGS[queue]}`}`,
10476
+ jobEnv: JOB_ENV,
10477
+ modelFlag: "--model",
10466
10478
  promptFlags: ["-p", "--print"],
10467
10479
  permissionMode: { flag: "--permission-mode", accepted: PERMISSION_MODES },
10468
10480
  judge,
@@ -10521,9 +10533,9 @@ function isSkipped(io, candidate) {
10521
10533
  return true;
10522
10534
  }
10523
10535
  }
10524
- function findProgram(io, path, delimiter) {
10536
+ function findProgram(io, path, delimiter2) {
10525
10537
  const list = path ?? "";
10526
- for (const entry of list.split(delimiter)) {
10538
+ for (const entry of list.split(delimiter2)) {
10527
10539
  if (entry === "") continue;
10528
10540
  const candidate = joinPath3(entry, CLAUDE_CODE.program);
10529
10541
  if (!io.fs.executable(candidate)) continue;
@@ -10547,7 +10559,7 @@ function interactive(input) {
10547
10559
  }
10548
10560
  function createLaunch(io) {
10549
10561
  return {
10550
- findProgram: (path, delimiter = ":") => findProgram(io, path, delimiter),
10562
+ findProgram: (path, delimiter2 = ":") => findProgram(io, path, delimiter2),
10551
10563
  version: (program, env) => io.runSync(program, ["--version"], { env, timeoutMs: 15e3 }).stdout,
10552
10564
  interactive,
10553
10565
  session: {
@@ -10902,6 +10914,15 @@ function legacyAgent(agents = defaultAgents()) {
10902
10914
  function contextAgents(agents = defaultAgents()) {
10903
10915
  return agents.flatMap((agent) => agent.adapter.context === void 0 ? [] : [{ descriptor: agent.descriptor, context: agent.adapter.context }]);
10904
10916
  }
10917
+ function laptopAgents(agents = defaultAgents(), io = createNodeAgentIO()) {
10918
+ const path = io.env().PATH;
10919
+ return agents.flatMap((agent) => {
10920
+ const context = agent.adapter.context;
10921
+ if (context === void 0) return [];
10922
+ if (agent.descriptor.id !== LEGACY_AGENT && agent.adapter.launch?.findProgram(path, delimiter) === void 0) return [];
10923
+ return [{ descriptor: agent.descriptor, context }];
10924
+ });
10925
+ }
10905
10926
  function captureAgents(agents = defaultAgents()) {
10906
10927
  return agents.flatMap((agent) => agent.adapter.capture === void 0 ? [] : [{ descriptor: agent.descriptor, capture: agent.adapter.capture }]);
10907
10928
  }
@@ -10927,7 +10948,10 @@ function targetIds(agents = defaultAgents()) {
10927
10948
  return contextAgents(agents).map((agent) => agent.descriptor.id);
10928
10949
  }
10929
10950
  function skillBases(agents = defaultAgents()) {
10930
- return [AGENTS_SKILLS_BASE, ...contextAgents(agents).flatMap((agent) => agent.descriptor.context.repoSkillFolders)];
10951
+ return [.../* @__PURE__ */ new Set([AGENTS_SKILLS_BASE, ...contextAgents(agents).flatMap((agent) => agent.descriptor.context.repoSkillFolders)])];
10952
+ }
10953
+ function knownTargetsLine(agents = defaultAgents()) {
10954
+ return `Known targets: ${targetIds(agents).join(", ")}.`;
10931
10955
  }
10932
10956
 
10933
- export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, extractFacts, generatedHeaderSource, isMaintainedCopy, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, orderSessions, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, rewriteSkillPaths, sessionFolderIn, sessionsToTimeline, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, writeMaintainedFiles };
10957
+ export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, extractFacts, generatedHeaderSource, isMaintainedCopy, knownTargetsLine, laptopAgents, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, orderSessions, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, rewriteSkillPaths, sessionFolderIn, sessionsToTimeline, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, writeMaintainedFiles };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
3
+ import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
4
4
  import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
5
5
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
6
6
 
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_UNIT_NAME } from './chunk-ZZ4WIQRF.js';
4
- import { RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
5
- import { withoutCredentialLines, parseRunnerEnv } from './chunk-7UYXSF62.js';
6
- import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-IEDO26G4.js';
7
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { DEFAULT_UNIT_NAME } from './chunk-KJ424QKG.js';
4
+ import { RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
5
+ import { withoutCredentialLines, parseRunnerEnv } from './chunk-DDOD4YOQ.js';
6
+ import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-NDIV6GDC.js';
7
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
8
8
  import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
9
9
  import { join, dirname } from 'path';
10
10
 
@@ -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-L3SHPR2M.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
4
4
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -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-L3SHPR2M.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-PYPHE6FZ.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-FLQL6ZIG.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-2HOSCIV6.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-MPVTZLOM.js';
6
- import { RELAY_PORT } from './chunk-LDKF6B2R.js';
5
+ import { EXEC_PORT } from './chunk-2I654QYW.js';
6
+ import { RELAY_PORT } from './chunk-B5BLIHJZ.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { WorkCommandError, postJson } from './chunk-KVO4MJWS.js';
4
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J4NJWTNO.js';
5
- import { buildRefusalReason } from './chunk-YEZGNCSK.js';
6
- import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-3XEYA3QF.js';
7
- import { signingFetchFor } from './chunk-HR4PJLOO.js';
8
- import { signerFor } from './chunk-KHJPRTOW.js';
9
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-L3SHPR2M.js';
3
+ import { WorkCommandError, postJson } from './chunk-DE64NSOH.js';
4
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-7HDI5CGG.js';
5
+ import { buildRefusalReason } from './chunk-H6T73OLF.js';
6
+ import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-BQUI64BU.js';
7
+ import { signingFetchFor } from './chunk-4YLF777T.js';
8
+ import { signerFor } from './chunk-EKDQDOSS.js';
9
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-PYPHE6FZ.js';
10
10
  import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-OV4XTV5M.js';
11
11
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
12
12
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-E6ESLX5E.js';
4
4
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
5
5
  import { readFileSync } from 'fs';
6
6
  import { join } from 'path';
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { readCloudConfig } from './chunk-HWVMRETT.js';
5
5
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
6
- import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-54ERDQ3O.js';
7
- import { mkdirSync, writeFileSync, existsSync, readFileSync } from 'fs';
6
+ import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-E6ESLX5E.js';
7
+ import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
8
8
  import { join, dirname } from 'path';
9
9
 
10
10
  createRequire(import.meta.url);
@@ -63,7 +63,7 @@ function mcpTargets(repoRoot, agents) {
63
63
  if (existsSync(join(repoRoot, ".outerlayer", "mcp.json"))) return [{ relPath: ".outerlayer/mcp.json", mcp: legacyAgent(agents).adapter.context.mcp }];
64
64
  const seen = /* @__PURE__ */ new Set();
65
65
  const targets = [];
66
- for (const { context } of contextAgents(agents)) {
66
+ for (const { context } of laptopAgents(agents)) {
67
67
  if (seen.has(context.mcp.file)) continue;
68
68
  seen.add(context.mcp.file);
69
69
  targets.push({ relPath: context.mcp.file, mcp: context.mcp });
@@ -133,4 +133,4 @@ function handleMcpInstallError(err) {
133
133
  process.exitCode = 1;
134
134
  }
135
135
 
136
- export { DEFAULT_MCP_COMMAND, DOCS_MCP_SERVER_NAME, INIT_DOCS_ENTRY, INIT_STDIO_ENTRY, McpInstallError, addDocsMcpEntryIfAbsent, addStdioMcpEntryIfAbsent, buildServerEntry, buildStdioServerEntry, defaultMcpUrl, handleMcpInstallError, mcpTargetPath, runMcpInstall, setMcpEntry };
136
+ export { DEFAULT_MCP_COMMAND, DOCS_MCP_SERVER_NAME, INIT_DOCS_ENTRY, INIT_STDIO_ENTRY, McpInstallError, addDocsMcpEntryIfAbsent, addStdioMcpEntryIfAbsent, buildServerEntry, buildStdioServerEntry, defaultMcpUrl, handleMcpInstallError, mcpTargetPath, mcpTargets, runMcpInstall, setMcpEntry };
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
4
- import { runEmitArtifact } from './chunk-NMMGRG5V.js';
4
+ import { runEmitArtifact } from './chunk-R2DEJ5Q6.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
7
- import { autoConnect } from './chunk-UZSMDU4U.js';
6
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
7
+ import { autoConnect } from './chunk-WVZ6EKJ3.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-4YLF777T.js';
10
10
  import { launchedItemForSession } from './chunk-4OD45RBP.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-IEDO26G4.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-NDIV6GDC.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
14
14
  import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-WUKLQWGY.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
4
- import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-54ERDQ3O.js';
4
+ import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-E6ESLX5E.js';
5
5
  import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
6
6
  import { join, dirname, relative, sep } from 'path';
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
4
- import { legacyAgent, defaultAgents, HookTextError } from './chunk-54ERDQ3O.js';
4
+ import { legacyAgent, defaultAgents, HookTextError } from './chunk-E6ESLX5E.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-54ERDQ3O.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-E6ESLX5E.js';
5
5
  import { CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema } from './chunk-WUKLQWGY.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-QVOU2QUR.js';
3
+ import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-7HRNYPL3.js';
4
4
  import { C } from './chunk-2AM6Z5BP.js';
5
- import { invalidConfigMessage } from './chunk-YEZGNCSK.js';
6
- import { retiredSkillPaths, removeRetiredSkills } from './chunk-NQYTUVZR.js';
5
+ import { invalidConfigMessage } from './chunk-H6T73OLF.js';
6
+ import { retiredSkillPaths, removeRetiredSkills } from './chunk-IM4VUDKW.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-54ERDQ3O.js';
8
+ import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-E6ESLX5E.js';
9
9
  import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
10
10
  import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
11
11
  import { join, dirname } from 'path';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-OGG5ELXF.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-HO4DPX5N.js';
3
+ import { toolsDockerfile } from './chunk-5MN6VZZH.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-KQDTORGF.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
- import { runnerLabelValue } from './chunk-6UI4ELNA.js';
7
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-YCBVYTFI.js';
8
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-L3SHPR2M.js';
9
- import { withGitConfig, tokenHeader } from './chunk-LDKF6B2R.js';
10
- import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-IEDO26G4.js';
6
+ import { runnerLabelValue } from './chunk-2BTDFRRQ.js';
7
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-XLCAYPLV.js';
8
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-PYPHE6FZ.js';
9
+ import { withGitConfig, tokenHeader } from './chunk-B5BLIHJZ.js';
10
+ import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-NDIV6GDC.js';
11
11
  import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
12
12
  import { tmpdir } from 'os';
13
13
  import { join } from 'path';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-6J3QWXTA.js';
4
- import { parseSize } from './chunk-6UI4ELNA.js';
5
- import { runnerDir } from './chunk-L3SHPR2M.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-7UYXSF62.js';
7
- import { runnerAgents, credentialNames, credentialAgent, credentialForms } from './chunk-IEDO26G4.js';
8
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-7V4ZEB2R.js';
4
+ import { parseSize } from './chunk-2BTDFRRQ.js';
5
+ import { runnerDir } from './chunk-PYPHE6FZ.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-DDOD4YOQ.js';
7
+ import { credentialAgent, credentialNames, credentialForms } from './chunk-NDIV6GDC.js';
8
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
9
9
  import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
10
10
  import { dirname, join } from 'path';
11
11
  import { spawnSync } from 'child_process';
@@ -23,7 +23,8 @@ function credentialPath(path) {
23
23
  return path.replace(/%/g, "%%");
24
24
  }
25
25
  function runnerUnit(unit, agents = defaultAgents()) {
26
- const credentialLines = runnerAgents(agents).map((agent) => {
26
+ const credentialLines = [credentialAgent(agents)].flatMap((agent) => {
27
+ if (agent === void 0) return [];
27
28
  const { envFile, credentialId } = credentialNames(agent.descriptor);
28
29
  return unit.credential === "load" ? `LoadCredential=${credentialId}:${credentialPath(`${unit.configDir}/${envFile}`)}` : `EnvironmentFile=-${escapeUnitPath(`${unit.configDir}/${envFile}`)}`;
29
30
  });
@@ -203,7 +204,8 @@ function credentialFileIn(configDir, agents) {
203
204
  return agent === void 0 ? void 0 : credentialFileOf(configDir, agent);
204
205
  }
205
206
  function prepareCredentialFile(configDir, lines, agents) {
206
- return runnerAgents(agents).every((agent) => prepareAgentCredentialFile(configDir, lines, agent));
207
+ const agent = credentialAgent(agents);
208
+ return agent === void 0 || prepareAgentCredentialFile(configDir, lines, agent);
207
209
  }
208
210
  function prepareAgentCredentialFile(configDir, lines, agent) {
209
211
  const file = credentialFileOf(configDir, agent);
@@ -228,7 +230,8 @@ function prepareAgentCredentialFile(configDir, lines, agent) {
228
230
  }
229
231
  }
230
232
  function finishCredentialMove(configDir, lines, agents, reload) {
231
- for (const agent of runnerAgents(agents)) finishAgentCredentialMove(configDir, lines, agent, reload);
233
+ const agent = credentialAgent(agents);
234
+ if (agent !== void 0) finishAgentCredentialMove(configDir, lines, agent, reload);
232
235
  }
233
236
  function finishAgentCredentialMove(configDir, lines, agent, reload) {
234
237
  const file = credentialFileOf(configDir, agent);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { isSameProcess } from './chunk-JBJTC3UU.js';
4
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
5
5
  import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
6
6
  import { dirname } from 'path';
7
7
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
4
- import { isAgentsMdLayout } from './chunk-QVOU2QUR.js';
5
- import { resolveGatewayCredentials, defaultFetch } from './chunk-HR4PJLOO.js';
4
+ import { isAgentsMdLayout } from './chunk-7HRNYPL3.js';
5
+ import { resolveGatewayCredentials, defaultFetch } from './chunk-4YLF777T.js';
6
6
  import { versionAtLeast } from './chunk-OV4XTV5M.js';
7
7
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
8
- import { machineSkillsState, staleAgentSkills } from './chunk-U6EACUUG.js';
8
+ import { machineSkillsState, staleAgentSkills } from './chunk-RYSGOWHG.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
- import { hasSymlinkComponent } from './chunk-DEZSNJSE.js';
11
- import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-54ERDQ3O.js';
10
+ import { hasSymlinkComponent } from './chunk-W72X24TZ.js';
11
+ import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-E6ESLX5E.js';
12
12
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
13
13
  import { execFileSync } from 'child_process';
14
14
  import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';