@outerlayer/cli 0.36.0-next.20261101131017 → 0.36.0-next.20261102124202
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.
- package/dist/agent-setup-AOB76EDJ.js +37 -0
- package/dist/{artifact-link-cmd-W7LRR76D.js → artifact-link-cmd-ZCMQIT5Y.js} +2 -2
- package/dist/bridge-DFG2GTXQ.js +13 -0
- package/dist/build-THAD3B4Q.js +21 -0
- package/dist/build-disk-HO2VPIBJ.js +18 -0
- package/dist/build-info.json +1 -1
- package/dist/builder-AXJNIF4S.js +17 -0
- package/dist/caller-GOY2X6QT.js +20 -0
- package/dist/{check-G4TVQKN3.js → check-SF2OVZXB.js} +73 -71
- package/dist/{chunk-KB5B6ZT5.js → chunk-3FSKTGM6.js} +20 -20
- package/dist/{chunk-CONA2WNE.js → chunk-4CTVN3C5.js} +18 -11
- package/dist/{chunk-2QW2PLWT.js → chunk-4TNUQLXH.js} +8 -8
- package/dist/{chunk-LGV5N5DG.js → chunk-564Q2STF.js} +1 -1
- package/dist/{chunk-2ANBJ7DB.js → chunk-5FIOUQGC.js} +8 -8
- package/dist/{chunk-4W7CPTKY.js → chunk-5FND4PIU.js} +3 -3
- package/dist/{chunk-SQ6HDN7A.js → chunk-5GHJFETA.js} +1 -1
- package/dist/{chunk-4DJZSNVT.js → chunk-6JJITHBI.js} +1 -1
- package/dist/{chunk-6CYNPWZT.js → chunk-6LO62EQ5.js} +151 -108
- package/dist/{chunk-RIHB3HA2.js → chunk-772ILTCK.js} +3 -3
- package/dist/{chunk-CIUD3436.js → chunk-A5Y2HBVU.js} +1 -1
- package/dist/{chunk-F3ZMVUAS.js → chunk-AYLYAOHH.js} +5 -5
- package/dist/{chunk-DZDTSDHQ.js → chunk-C3JWWPLC.js} +10 -11
- package/dist/{chunk-JFMSFHER.js → chunk-CKPQOQFC.js} +644 -74
- package/dist/{chunk-ALEUIS35.js → chunk-CVGQ3BNF.js} +1 -1
- package/dist/{chunk-GDMAN42R.js → chunk-EBIYRRJW.js} +5 -5
- package/dist/{chunk-UIKUH2UQ.js → chunk-ESSJPSJ2.js} +2 -2
- package/dist/{chunk-A67A5SWG.js → chunk-EUDG754F.js} +2 -2
- package/dist/{chunk-55PYF6S2.js → chunk-FIO6PIZ6.js} +3 -3
- package/dist/{chunk-WT7J2627.js → chunk-GD6KIHOS.js} +1 -1
- package/dist/{chunk-SRENPED2.js → chunk-GDZTL6BI.js} +42 -33
- package/dist/{chunk-AF6DQJ5W.js → chunk-GSXGA6KF.js} +1 -1
- package/dist/{chunk-T3AJOPUR.js → chunk-GZ75FRLB.js} +4 -5
- package/dist/chunk-H2FFONRY.js +136 -0
- package/dist/{chunk-IM2DECLP.js → chunk-HIN4BMRW.js} +3 -3
- package/dist/{chunk-OLENS2DD.js → chunk-I626B72C.js} +29 -26
- package/dist/{chunk-YCUUZGFF.js → chunk-I6FRCBMU.js} +26 -21
- package/dist/{chunk-PN6TNCQI.js → chunk-J7TCTARR.js} +11 -12
- package/dist/chunk-J7Y3PCO2.js +653 -0
- package/dist/{chunk-YQHEJ5SV.js → chunk-JVCQZDQ6.js} +3 -3
- package/dist/{chunk-5DYL6FJA.js → chunk-JXXHLQQR.js} +3 -3
- package/dist/{chunk-VI6Z4EJZ.js → chunk-K3X3L5YW.js} +4 -4
- package/dist/{chunk-MKSZHT6S.js → chunk-KN4VIK53.js} +1 -1
- package/dist/{chunk-3LCXSD26.js → chunk-L2BA2HXM.js} +1 -1
- package/dist/chunk-L3JXQDVH.js +78 -0
- package/dist/{chunk-3ONYQMGD.js → chunk-LCOQN6NR.js} +3 -3
- package/dist/{chunk-6KHQGLNT.js → chunk-LSXHTBAM.js} +5 -5
- package/dist/{chunk-RGH5GYU2.js → chunk-LVXR37OG.js} +47 -38
- package/dist/{chunk-HGGR7Y3V.js → chunk-LYFLUNWK.js} +12 -12
- package/dist/{chunk-GANAOCHR.js → chunk-M2NIHHQI.js} +24 -374
- package/dist/chunk-NC3QAHOS.js +26 -0
- package/dist/{chunk-UFRRRF64.js → chunk-NTMRMBLM.js} +10 -5
- package/dist/{chunk-RGU6LHPI.js → chunk-NWBB2SQ4.js} +38 -35
- package/dist/{chunk-A7D5BMII.js → chunk-OYKAOHX5.js} +5 -5
- package/dist/{chunk-46YRS7QS.js → chunk-OZOATEK3.js} +4 -4
- package/dist/{chunk-3PQTOKML.js → chunk-P6PHY33P.js} +1 -1
- package/dist/{chunk-GQ7VVBUA.js → chunk-PKO5IDW4.js} +7 -7
- package/dist/{chunk-7J7HRYZ3.js → chunk-PQDFW422.js} +1 -1
- package/dist/{chunk-EZRAR5YG.js → chunk-PT34C6SU.js} +1 -1
- package/dist/{chunk-K66FIV2S.js → chunk-PTPF36Q7.js} +3 -3
- package/dist/{chunk-7Y5VW4JG.js → chunk-Q42K6XZ6.js} +1 -1
- package/dist/{chunk-VIJWXQMT.js → chunk-QJDX6VJS.js} +7 -7
- package/dist/{chunk-W46566FP.js → chunk-RK4JQRVT.js} +9 -9
- package/dist/{chunk-U553JKMO.js → chunk-RPZIHELI.js} +5 -5
- package/dist/{chunk-CIEX2ZKQ.js → chunk-RSRZDF3K.js} +6 -6
- package/dist/{chunk-46OBCATR.js → chunk-T5Z22NA6.js} +1 -1
- package/dist/{chunk-5H57X7YC.js → chunk-TPMLB3VZ.js} +1 -1
- package/dist/chunk-TWYHSMHM.js +67 -0
- package/dist/{chunk-6GA5BJTH.js → chunk-TYCZVJTB.js} +54 -31
- package/dist/{chunk-4SFHEARD.js → chunk-VRQM4A64.js} +6 -3
- package/dist/{chunk-LRCGXRQI.js → chunk-WDQPBAFV.js} +44 -19
- package/dist/{chunk-UZGQT6OF.js → chunk-WLMAGMTU.js} +5 -3
- package/dist/{chunk-KCUX5I5W.js → chunk-WNYH42PF.js} +6 -6
- package/dist/{chunk-C4YULCXX.js → chunk-WQB3XOEP.js} +28 -31
- package/dist/{chunk-VUG4IZ7H.js → chunk-WUKLQWGY.js} +1 -1
- package/dist/{chunk-MDFOS4OM.js → chunk-XABJMU5A.js} +4 -4
- package/dist/{chunk-MMXPNEEQ.js → chunk-XAOIHYPS.js} +29 -24
- package/dist/{chunk-WAZJPDR2.js → chunk-XE3DIJJT.js} +1 -1
- package/dist/{chunk-3SQZ5LIK.js → chunk-XHFSBSIA.js} +4 -4
- package/dist/{chunk-GDIVOYDA.js → chunk-XLOM2BNL.js} +3 -4
- package/dist/{claude-launcher-YV3TDXBU.js → claude-launcher-LXZPTDNC.js} +23 -18
- package/dist/{cli-EMQEIYSR.js → cli-QFUT3UQS.js} +145 -146
- package/dist/{cli-update-notice-T3CXRWNB.js → cli-update-notice-AWYJ4A7R.js} +2 -2
- package/dist/{command-GKVKI74I.js → command-45RZT4CK.js} +59 -60
- package/dist/{config-4HXUXX3M.js → config-WYQPXLOP.js} +13 -11
- package/dist/connect-cmd-LUCQ7FSV.js +26 -0
- package/dist/{container-start-OMF3ZUIB.js → container-start-T776VI3M.js} +59 -58
- package/dist/{context-cleanup-TPHCVVFV.js → context-cleanup-QE2MIO2Q.js} +5 -3
- package/dist/{context-show-cmd-MKQAAR7R.js → context-show-cmd-7QEHUOEL.js} +17 -17
- package/dist/{control-plane-launch-UWFQWMWB.js → control-plane-launch-THUH6YU5.js} +19 -19
- package/dist/{demo-record-cmd-Y57UWBCX.js → demo-record-cmd-SBERRQNW.js} +8 -5
- package/dist/{demo-voice-cmd-H4PCO2PT.js → demo-voice-cmd-VM3FITZU.js} +22 -24
- package/dist/{dist-Y3WSK7OZ.js → dist-6KGTCWKR.js} +2 -2
- package/dist/docker-MQNLK4OO.js +17 -0
- package/dist/{doctor-FEBZ3DZB.js → doctor-NQOSPJGS.js} +75 -72
- package/dist/emit-artifact-cmd-6E365VBQ.js +41 -0
- package/dist/emit-cmd-ZPFCPVSR.js +16 -0
- package/dist/emit-criteria-cmd-HWQOYZZ4.js +32 -0
- package/dist/{emit-demo-cmd-VKGN74NW.js → emit-demo-cmd-PMQGNNVX.js} +22 -24
- package/dist/{emit-finding-cmd-DNFJEYQS.js → emit-finding-cmd-MYWQN5WW.js} +17 -18
- package/dist/{emit-result-cmd-OR5WTW4P.js → emit-result-cmd-GXK3KMAP.js} +20 -21
- package/dist/{emit-step-cmd-AAEBYW3L.js → emit-step-cmd-ZV2XTUVT.js} +17 -18
- package/dist/exec-client-P7RFRUCK.js +14 -0
- package/dist/find-unit-63SXQ7IM.js +21 -0
- package/dist/{findings-cmd-LTM62M3K.js → findings-cmd-OGMBVVSM.js} +17 -18
- package/dist/fleet-readiness-4RBKLXBQ.js +27 -0
- package/dist/governing-source-XJMXFSAR.js +38 -0
- package/dist/guest-init-XZHRPIMG.js +16 -0
- package/dist/{hook-fast-3HPWMSFB.js → hook-fast-ZOWGWCPO.js} +5 -5
- package/dist/host-checks-WHW24PJR.js +76 -0
- package/dist/host-key-MWLXB5U5.js +14 -0
- package/dist/{image-tag-WBD57QBN.js → image-tag-E4JK2APF.js} +9 -4
- package/dist/index.js +4 -4
- package/dist/init-EZIAHBMH.js +76 -0
- package/dist/{init-O5H4TWA7.js → init-LO6U7YTW.js} +56 -55
- package/dist/{init-cmd-HWAXEEOD.js → init-cmd-2JANO5EN.js} +27 -28
- package/dist/{init-update-3W2TOJQV.js → init-update-D6PRTGNE.js} +55 -48
- package/dist/install-cmd-SJMBNQEH.js +17 -0
- package/dist/layout-AQHIMJMO.js +11 -0
- package/dist/{login-browser-ODTJEGDN.js → login-browser-QH4KYG3F.js} +2 -2
- package/dist/{logs-FEITSC2V.js → logs-NE55HOET.js} +8 -3
- package/dist/loop-2E34CGCX.js +87 -0
- package/dist/machine-6ALGG4IO.js +76 -0
- package/dist/{machine-skills-VRUJVBQV.js → machine-skills-KK2HXYMR.js} +3 -4
- package/dist/{mcp-install-cmd-23ZY4IBK.js → mcp-install-cmd-2QAS3AQZ.js} +5 -1
- package/dist/{mcp-serve-cmd-ZINYSLY6.js → mcp-serve-cmd-U6USKHYR.js} +9 -7
- package/dist/{paths-XEYE7OZ2.js → paths-O7LCWY33.js} +8 -3
- package/dist/pending-YU2GE2UV.js +14 -0
- package/dist/pidfile-5GDCQ5HA.js +15 -0
- package/dist/record-NETSDAO6.js +14 -0
- package/dist/{relay-IEYNSKAZ.js → relay-VZ733BVJ.js} +6 -1
- package/dist/{relay-protocol-5LSWUJCW.js → relay-protocol-24GEUGCO.js} +6 -1
- package/dist/runner-env-KHCONH2R.js +21 -0
- package/dist/runner-identity-PSCZBILD.js +17 -0
- package/dist/{runner-key-HUOW7X7B.js → runner-key-VM2LYVRK.js} +48 -50
- package/dist/{session-sender-32UAV25N.js → session-sender-P2RHDM6U.js} +21 -22
- package/dist/{spec-cmd-TPRHZ3EV.js → spec-cmd-LGKP6MT7.js} +18 -19
- package/dist/{starter-pack-7QNUT74O.js → starter-pack-SMK6UPRL.js} +6 -7
- package/dist/state-RJR4PMMX.js +14 -0
- package/dist/{status-HDJ2V5UD.js → status-HEHCNIDS.js} +48 -50
- package/dist/{sync-cmd-AHXCXMVP.js → sync-cmd-HKN45HXL.js} +20 -21
- package/dist/update-steps-7E4RD47J.js +77 -0
- package/dist/{watch-4EDI4CTS.js → watch-RGZCUCR3.js} +20 -21
- package/dist/{work-claim-cmd-GFRZBX2V.js → work-claim-cmd-6DSPGCZE.js} +24 -26
- package/dist/{work-cmd-FLKJQWGQ.js → work-cmd-GPLYLWY7.js} +17 -18
- package/dist/work-comment-cmd-V5WM7LAW.js +35 -0
- package/dist/{work-demo-cmd-FDPDTXG6.js → work-demo-cmd-SWWI6AGD.js} +17 -18
- package/dist/{work-logs-cmd-PSB44DT5.js → work-logs-cmd-CTFBOPCI.js} +17 -18
- package/dist/{work-open-pr-cmd-QJW5PNT2.js → work-open-pr-cmd-HX2U3YBR.js} +18 -19
- package/dist/{work-pr-cmd-HMGBUHGL.js → work-pr-cmd-EI2R4FQG.js} +17 -18
- package/dist/{work-proofs-cmd-3GPGH4RL.js → work-proofs-cmd-QXNPHLYC.js} +19 -20
- package/dist/{work-proofs-record-AC4GYMQA.js → work-proofs-record-72OKWEES.js} +26 -28
- package/dist/{work-stop-cmd-YO7SBPNF.js → work-stop-cmd-7M7ZYUN2.js} +17 -18
- package/package.json +2 -1
- package/dist/agent-setup-UYTS2PHZ.js +0 -33
- package/dist/bridge-XM4QLKIX.js +0 -8
- package/dist/build-IENNKWWC.js +0 -18
- package/dist/build-disk-M33Q6L22.js +0 -15
- package/dist/builder-YNMSYR75.js +0 -14
- package/dist/caller-2GU5V52U.js +0 -18
- package/dist/chunk-3DMCCCVM.js +0 -74
- package/dist/chunk-7O7LJWQO.js +0 -144
- package/dist/chunk-FGF52V4V.js +0 -137
- package/dist/chunk-HCVLP7XA.js +0 -53
- package/dist/chunk-MESOOLF4.js +0 -45
- package/dist/chunk-OHQMGLJP.js +0 -113
- package/dist/chunk-OUPQTA7N.js +0 -145
- package/dist/connect-cmd-GLB2X7YA.js +0 -27
- package/dist/docker-AFJABU7U.js +0 -14
- package/dist/emit-artifact-cmd-DGFH4MUK.js +0 -42
- package/dist/emit-cmd-HNXRGC5Z.js +0 -17
- package/dist/emit-criteria-cmd-B23VYUF6.js +0 -33
- package/dist/exec-client-FGGPQSYQ.js +0 -9
- package/dist/find-unit-4XKMNIE7.js +0 -19
- package/dist/fleet-readiness-FAKMWCJV.js +0 -28
- package/dist/governing-source-75MBT2IE.js +0 -39
- package/dist/guest-init-WPUS45IN.js +0 -11
- package/dist/host-checks-PUI32LIA.js +0 -78
- package/dist/host-key-O4DFMOSV.js +0 -9
- package/dist/init-Y672J4BW.js +0 -78
- package/dist/install-cmd-JKPXIOEY.js +0 -12
- package/dist/layout-TLUOMM6F.js +0 -11
- package/dist/loop-QJGPNIT4.js +0 -89
- package/dist/machine-YKQSW22W.js +0 -78
- package/dist/pending-D2NNV54J.js +0 -9
- package/dist/pidfile-FLFVRKVW.js +0 -10
- package/dist/record-JMZOXD4R.js +0 -9
- package/dist/runner-env-FK3SUT3Q.js +0 -19
- package/dist/runner-identity-WYAGV6UQ.js +0 -14
- package/dist/state-UWIM42JH.js +0 -9
- package/dist/update-steps-F37GQWLJ.js +0 -79
- package/dist/work-comment-cmd-3HUIIEQD.js +0 -36
- package/dist/{chunk-OLM2TIOW.js → chunk-NFZMENCY.js} +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { keepHandWritten, runAgentSetup } from './chunk-LVXR37OG.js';
|
|
4
|
+
import './chunk-XAOIHYPS.js';
|
|
5
|
+
import './chunk-H2FFONRY.js';
|
|
6
|
+
import './chunk-XHFSBSIA.js';
|
|
7
|
+
import './chunk-4CTVN3C5.js';
|
|
8
|
+
import './chunk-TPMLB3VZ.js';
|
|
9
|
+
import './chunk-A2LHHKTT.js';
|
|
10
|
+
import './chunk-2AM6Z5BP.js';
|
|
11
|
+
import './chunk-P6PHY33P.js';
|
|
12
|
+
import './chunk-WDQPBAFV.js';
|
|
13
|
+
import './chunk-J7TCTARR.js';
|
|
14
|
+
import './chunk-AYLYAOHH.js';
|
|
15
|
+
import './chunk-GZ75FRLB.js';
|
|
16
|
+
import './chunk-JVCQZDQ6.js';
|
|
17
|
+
import './chunk-HWVMRETT.js';
|
|
18
|
+
import './chunk-6JJITHBI.js';
|
|
19
|
+
import './chunk-545P7JY7.js';
|
|
20
|
+
import './chunk-BJ3KTMDH.js';
|
|
21
|
+
import './chunk-5GHJFETA.js';
|
|
22
|
+
import './chunk-NFZMENCY.js';
|
|
23
|
+
import './chunk-FZKNTIOJ.js';
|
|
24
|
+
import './chunk-VRQM4A64.js';
|
|
25
|
+
import './chunk-YQR6E6OV.js';
|
|
26
|
+
import './chunk-CJPTUU2E.js';
|
|
27
|
+
import './chunk-GD6KIHOS.js';
|
|
28
|
+
import './chunk-M2NIHHQI.js';
|
|
29
|
+
import './chunk-J7Y3PCO2.js';
|
|
30
|
+
import './chunk-CKPQOQFC.js';
|
|
31
|
+
import './chunk-WUKLQWGY.js';
|
|
32
|
+
import './chunk-CDDED64E.js';
|
|
33
|
+
import './chunk-RA3O54FC.js';
|
|
34
|
+
import './chunk-352DHUTP.js';
|
|
35
|
+
import './chunk-Z5GEFMRW.js';
|
|
36
|
+
|
|
37
|
+
createRequire(import.meta.url);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-
|
|
3
|
+
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-P6PHY33P.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-WUKLQWGY.js';
|
|
6
6
|
import { spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import './chunk-Z5GEFMRW.js';
|
|
8
8
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { BRIDGE_ADDRESS, BRIDGE_CIDR, CONTAINER_NO_PROXY, CONTAINER_PROXY, TUNNEL_PORT, dockerClientConfig, startBridgeForward, writeDockerClientConfig } from './chunk-KN4VIK53.js';
|
|
4
|
+
import './chunk-M2NIHHQI.js';
|
|
5
|
+
import './chunk-J7Y3PCO2.js';
|
|
6
|
+
import './chunk-CKPQOQFC.js';
|
|
7
|
+
import './chunk-WUKLQWGY.js';
|
|
8
|
+
import './chunk-CDDED64E.js';
|
|
9
|
+
import './chunk-RA3O54FC.js';
|
|
10
|
+
import './chunk-352DHUTP.js';
|
|
11
|
+
import './chunk-Z5GEFMRW.js';
|
|
12
|
+
|
|
13
|
+
createRequire(import.meta.url);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-LYFLUNWK.js';
|
|
4
|
+
import './chunk-3FSKTGM6.js';
|
|
5
|
+
import './chunk-XE3DIJJT.js';
|
|
6
|
+
import './chunk-JBJTC3UU.js';
|
|
7
|
+
import './chunk-C3JWWPLC.js';
|
|
8
|
+
export { RecipeError } from './chunk-A5Y2HBVU.js';
|
|
9
|
+
import './chunk-6JJITHBI.js';
|
|
10
|
+
import './chunk-5GHJFETA.js';
|
|
11
|
+
import './chunk-GD6KIHOS.js';
|
|
12
|
+
import './chunk-M2NIHHQI.js';
|
|
13
|
+
import './chunk-J7Y3PCO2.js';
|
|
14
|
+
import './chunk-CKPQOQFC.js';
|
|
15
|
+
import './chunk-WUKLQWGY.js';
|
|
16
|
+
import './chunk-CDDED64E.js';
|
|
17
|
+
import './chunk-RA3O54FC.js';
|
|
18
|
+
import './chunk-352DHUTP.js';
|
|
19
|
+
import './chunk-Z5GEFMRW.js';
|
|
20
|
+
|
|
21
|
+
createRequire(import.meta.url);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-ESSJPSJ2.js';
|
|
4
|
+
import './chunk-C3JWWPLC.js';
|
|
5
|
+
import './chunk-A5Y2HBVU.js';
|
|
6
|
+
import './chunk-6JJITHBI.js';
|
|
7
|
+
import './chunk-5GHJFETA.js';
|
|
8
|
+
import './chunk-GD6KIHOS.js';
|
|
9
|
+
import './chunk-M2NIHHQI.js';
|
|
10
|
+
import './chunk-J7Y3PCO2.js';
|
|
11
|
+
import './chunk-CKPQOQFC.js';
|
|
12
|
+
import './chunk-WUKLQWGY.js';
|
|
13
|
+
import './chunk-CDDED64E.js';
|
|
14
|
+
import './chunk-RA3O54FC.js';
|
|
15
|
+
import './chunk-352DHUTP.js';
|
|
16
|
+
import './chunk-Z5GEFMRW.js';
|
|
17
|
+
|
|
18
|
+
createRequire(import.meta.url);
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-02T12:47:53.865Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-C3JWWPLC.js';
|
|
4
|
+
import './chunk-A5Y2HBVU.js';
|
|
5
|
+
import './chunk-6JJITHBI.js';
|
|
6
|
+
import './chunk-5GHJFETA.js';
|
|
7
|
+
import './chunk-GD6KIHOS.js';
|
|
8
|
+
import './chunk-M2NIHHQI.js';
|
|
9
|
+
import './chunk-J7Y3PCO2.js';
|
|
10
|
+
import './chunk-CKPQOQFC.js';
|
|
11
|
+
import './chunk-WUKLQWGY.js';
|
|
12
|
+
import './chunk-CDDED64E.js';
|
|
13
|
+
import './chunk-RA3O54FC.js';
|
|
14
|
+
import './chunk-352DHUTP.js';
|
|
15
|
+
import './chunk-Z5GEFMRW.js';
|
|
16
|
+
|
|
17
|
+
createRequire(import.meta.url);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-EUDG754F.js';
|
|
4
|
+
import './chunk-NTMRMBLM.js';
|
|
5
|
+
import './chunk-ESSJPSJ2.js';
|
|
6
|
+
import './chunk-C3JWWPLC.js';
|
|
7
|
+
import './chunk-A5Y2HBVU.js';
|
|
8
|
+
import './chunk-6JJITHBI.js';
|
|
9
|
+
import './chunk-5GHJFETA.js';
|
|
10
|
+
import './chunk-GD6KIHOS.js';
|
|
11
|
+
import './chunk-M2NIHHQI.js';
|
|
12
|
+
import './chunk-J7Y3PCO2.js';
|
|
13
|
+
import './chunk-CKPQOQFC.js';
|
|
14
|
+
import './chunk-WUKLQWGY.js';
|
|
15
|
+
import './chunk-CDDED64E.js';
|
|
16
|
+
import './chunk-RA3O54FC.js';
|
|
17
|
+
import './chunk-352DHUTP.js';
|
|
18
|
+
import './chunk-Z5GEFMRW.js';
|
|
19
|
+
|
|
20
|
+
createRequire(import.meta.url);
|
|
@@ -1,90 +1,88 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-NWBB2SQ4.js';
|
|
4
|
+
import './chunk-Q42K6XZ6.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { findServiceUnit } from './chunk-
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper,
|
|
16
|
-
import './chunk-
|
|
7
|
+
import './chunk-PKO5IDW4.js';
|
|
8
|
+
import './chunk-JXXHLQQR.js';
|
|
9
|
+
import './chunk-L2BA2HXM.js';
|
|
10
|
+
import './chunk-564Q2STF.js';
|
|
11
|
+
import './chunk-PT34C6SU.js';
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-I6FRCBMU.js';
|
|
13
|
+
import './chunk-GSXGA6KF.js';
|
|
14
|
+
import { findServiceUnit } from './chunk-XABJMU5A.js';
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-6LO62EQ5.js';
|
|
16
|
+
import './chunk-XLOM2BNL.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-2PGI6RDE.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
19
|
+
import './chunk-RPZIHELI.js';
|
|
20
|
+
import './chunk-LCOQN6NR.js';
|
|
21
|
+
import './chunk-4TNUQLXH.js';
|
|
22
|
+
import './chunk-LSXHTBAM.js';
|
|
23
23
|
import './chunk-AAGU5FJF.js';
|
|
24
24
|
import './chunk-ZVB57WI6.js';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-CVGQ3BNF.js';
|
|
26
26
|
import './chunk-TQMI335S.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
27
|
+
import './chunk-L3JXQDVH.js';
|
|
28
|
+
import './chunk-TYCZVJTB.js';
|
|
29
29
|
import './chunk-NN33FYXG.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
32
|
-
import './chunk-
|
|
30
|
+
import './chunk-LYFLUNWK.js';
|
|
31
|
+
import './chunk-3FSKTGM6.js';
|
|
32
|
+
import './chunk-XE3DIJJT.js';
|
|
33
33
|
import './chunk-OGFGZQA3.js';
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
36
|
-
import './chunk-
|
|
34
|
+
import './chunk-T5Z22NA6.js';
|
|
35
|
+
import './chunk-5FIOUQGC.js';
|
|
36
|
+
import './chunk-FIO6PIZ6.js';
|
|
37
37
|
import './chunk-JBJTC3UU.js';
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
41
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-VIJWXQMT.js';
|
|
38
|
+
import './chunk-WLMAGMTU.js';
|
|
39
|
+
import './chunk-KN4VIK53.js';
|
|
40
|
+
import './chunk-EUDG754F.js';
|
|
41
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-NTMRMBLM.js';
|
|
42
|
+
import './chunk-ESSJPSJ2.js';
|
|
43
|
+
import './chunk-C3JWWPLC.js';
|
|
44
|
+
import './chunk-A5Y2HBVU.js';
|
|
45
|
+
import './chunk-H2FFONRY.js';
|
|
46
|
+
import './chunk-XHFSBSIA.js';
|
|
47
|
+
import './chunk-QJDX6VJS.js';
|
|
49
48
|
import './chunk-IP7BIBXJ.js';
|
|
50
|
-
import './chunk-
|
|
51
|
-
import './chunk-
|
|
52
|
-
import './chunk-
|
|
49
|
+
import './chunk-5FND4PIU.js';
|
|
50
|
+
import './chunk-4CTVN3C5.js';
|
|
51
|
+
import './chunk-TPMLB3VZ.js';
|
|
53
52
|
import './chunk-A2LHHKTT.js';
|
|
54
53
|
import './chunk-2AM6Z5BP.js';
|
|
55
|
-
import './chunk-
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-
|
|
58
|
-
import './chunk-
|
|
59
|
-
import './chunk-
|
|
60
|
-
import './chunk-
|
|
54
|
+
import './chunk-P6PHY33P.js';
|
|
55
|
+
import './chunk-WDQPBAFV.js';
|
|
56
|
+
import './chunk-J7TCTARR.js';
|
|
57
|
+
import './chunk-AYLYAOHH.js';
|
|
58
|
+
import './chunk-GZ75FRLB.js';
|
|
59
|
+
import './chunk-JVCQZDQ6.js';
|
|
61
60
|
import './chunk-HWVMRETT.js';
|
|
62
|
-
import './chunk-
|
|
63
|
-
import './chunk-
|
|
61
|
+
import './chunk-6JJITHBI.js';
|
|
62
|
+
import './chunk-EBIYRRJW.js';
|
|
64
63
|
import './chunk-545P7JY7.js';
|
|
65
64
|
import './chunk-FUJUFLDC.js';
|
|
66
65
|
import './chunk-BKO6JEZI.js';
|
|
67
|
-
import './chunk-
|
|
68
|
-
import './chunk-
|
|
66
|
+
import './chunk-TWYHSMHM.js';
|
|
67
|
+
import './chunk-NC3QAHOS.js';
|
|
69
68
|
import './chunk-BJ3KTMDH.js';
|
|
70
|
-
import './chunk-
|
|
71
|
-
import './chunk-
|
|
72
|
-
import './chunk-OLM2TIOW.js';
|
|
73
|
-
import './chunk-CDDED64E.js';
|
|
74
|
-
import './chunk-RA3O54FC.js';
|
|
69
|
+
import './chunk-5GHJFETA.js';
|
|
70
|
+
import './chunk-NFZMENCY.js';
|
|
75
71
|
import './chunk-5WYT3PPE.js';
|
|
76
72
|
import './chunk-WZBHBH3J.js';
|
|
77
73
|
import './chunk-FZKNTIOJ.js';
|
|
78
74
|
import './chunk-KYDEBGJG.js';
|
|
79
|
-
import './chunk-
|
|
75
|
+
import './chunk-VRQM4A64.js';
|
|
80
76
|
import './chunk-YQR6E6OV.js';
|
|
81
77
|
import './chunk-CJPTUU2E.js';
|
|
82
|
-
import './chunk-
|
|
83
|
-
import './chunk-
|
|
78
|
+
import './chunk-GD6KIHOS.js';
|
|
79
|
+
import './chunk-M2NIHHQI.js';
|
|
80
|
+
import { credentialAgent, credentialForms, credentialEnvPath, parseRunnerEnv } from './chunk-J7Y3PCO2.js';
|
|
81
|
+
import { defaultAgents } from './chunk-CKPQOQFC.js';
|
|
82
|
+
import './chunk-WUKLQWGY.js';
|
|
83
|
+
import './chunk-CDDED64E.js';
|
|
84
|
+
import './chunk-RA3O54FC.js';
|
|
84
85
|
import './chunk-352DHUTP.js';
|
|
85
|
-
import './chunk-WT7J2627.js';
|
|
86
|
-
import { claudeEnvPath, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
87
|
-
import './chunk-MESOOLF4.js';
|
|
88
86
|
import './chunk-Z5GEFMRW.js';
|
|
89
87
|
import { readFileSync } from 'fs';
|
|
90
88
|
import { join, dirname } from 'path';
|
|
@@ -109,6 +107,10 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
109
107
|
const fleetProblem = fleetConfigProblem(config);
|
|
110
108
|
if (fleetProblem !== void 0) return { ok: false, check: "fleet", message: `${configPath}: ${fleetProblem}` };
|
|
111
109
|
}
|
|
110
|
+
const agents = deps.agents ?? defaultAgents();
|
|
111
|
+
const owner = credentialAgent(agents);
|
|
112
|
+
const forms = owner === void 0 ? void 0 : credentialForms(owner.descriptor);
|
|
113
|
+
const envPath = credentialEnvPath(configPath, agents);
|
|
112
114
|
const hookProblem = checkHooks(config, deps.env ?? process.env);
|
|
113
115
|
if (hookProblem) return { ok: false, check: "hooks", message: `${configPath}: ${hookProblem}` };
|
|
114
116
|
const placeholders = placeholderQueues(config);
|
|
@@ -120,24 +122,24 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
120
122
|
return { ok: false, check: "permission mode", message: `${configPath}: ${permissionModeProblem(modeProblems)}` };
|
|
121
123
|
}
|
|
122
124
|
if (config.managed === true) {
|
|
123
|
-
const files = [join(dirname(configPath), "runner.env"),
|
|
125
|
+
const files = [join(dirname(configPath), "runner.env"), ...envPath === void 0 ? [] : [envPath]];
|
|
124
126
|
const env = {};
|
|
125
127
|
for (const path of files) {
|
|
126
128
|
const fromFile = readRunnerEnv(path);
|
|
127
|
-
if ("error" in fromFile) return { ok: false, check: "managed", message: `${configPath}: ${path} could not be read to look for a
|
|
129
|
+
if ("error" in fromFile) return { ok: false, check: "managed", message: `${configPath}: ${path} could not be read to look for a ${forms?.label ?? "agent"} credential: ${fromFile.error}` };
|
|
128
130
|
Object.assign(env, fromFile.env);
|
|
129
131
|
}
|
|
130
132
|
Object.assign(env, deps.env ?? process.env);
|
|
131
133
|
const socket = env[HELPER_ENV] ?? helperSocketPath(findServiceUnit(dirname(configPath), deps.units));
|
|
132
134
|
const asked = await (deps.helper ?? probeHelper)(socket);
|
|
133
|
-
const unmet = managedProblems(managedFactsOf(config, { env, jailer: asked.ok ? "usable" : { problem: asked.detail } }))[0];
|
|
135
|
+
const unmet = managedProblems(managedFactsOf(config, { env, jailer: asked.ok ? "usable" : { problem: asked.detail } }, agents), agents)[0];
|
|
134
136
|
if (unmet !== void 0) return { ok: false, check: "managed", message: `${configPath}: ${unmet.reason}` };
|
|
135
137
|
}
|
|
136
138
|
let credentialLine;
|
|
137
|
-
if (config.managed !== true &&
|
|
139
|
+
if (config.managed !== true && needsAgentCredential(config.hooks) && forms !== void 0 && envPath !== void 0) {
|
|
138
140
|
const env = deps.env ?? process.env;
|
|
139
|
-
const files = [
|
|
140
|
-
const inShell =
|
|
141
|
+
const files = [envPath, join(dirname(configPath), "runner.env")];
|
|
142
|
+
const inShell = agentCredentialCheck(env, { ignoreHeld: true }, agents);
|
|
141
143
|
let credential = inShell;
|
|
142
144
|
let foundIn;
|
|
143
145
|
if (inShell.status !== "pass") {
|
|
@@ -146,11 +148,11 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
146
148
|
if ("error" in fromFile) {
|
|
147
149
|
return {
|
|
148
150
|
ok: false,
|
|
149
|
-
check:
|
|
150
|
-
message: `the
|
|
151
|
+
check: forms.checkName,
|
|
152
|
+
message: `the ${forms.label} credential is not in this shell, and ${path} could not be read to look for it: ${fromFile.error}`
|
|
151
153
|
};
|
|
152
154
|
}
|
|
153
|
-
const found =
|
|
155
|
+
const found = agentCredentialCheck(fromFile.env, { ignoreHeld: true }, agents);
|
|
154
156
|
if (found.status === "pass") {
|
|
155
157
|
credential = found;
|
|
156
158
|
foundIn = path;
|
|
@@ -161,11 +163,11 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
161
163
|
if (credential.status === "fail") {
|
|
162
164
|
return {
|
|
163
165
|
ok: false,
|
|
164
|
-
check:
|
|
166
|
+
check: forms.checkName,
|
|
165
167
|
message: `${credential.detail}, in this shell or in ${files.join(" or ")}. ${credential.fix}`
|
|
166
168
|
};
|
|
167
169
|
}
|
|
168
|
-
credentialLine =
|
|
170
|
+
credentialLine = `${forms.checkName.padEnd(19)} ${credential.detail}${foundIn === void 0 ? "" : ` (read from ${foundIn})`}`;
|
|
169
171
|
}
|
|
170
172
|
let fleetLine;
|
|
171
173
|
let fleetName;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-M2NIHHQI.js';
|
|
4
|
+
import { buildAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, RELAY_ID, RELAY_USER, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-J7Y3PCO2.js';
|
|
5
|
+
import { defaultAgents } from './chunk-CKPQOQFC.js';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// src/runner/image/claude-wrapper.ts
|
|
10
10
|
var UNIVERSAL_VERSIONS_FILE = "/etc/outerlayer/universal-versions.json";
|
|
11
|
-
function
|
|
11
|
+
function agentWrapperScript(program) {
|
|
12
12
|
return [
|
|
13
13
|
"#!/bin/sh",
|
|
14
14
|
`if [ -f ${UNIVERSAL_VERSIONS_FILE} ]; then PATH="$PATH:/opt/outerlayer/bin"; else PATH=/opt/outerlayer/bin:$PATH; fi`,
|
|
15
15
|
"export PATH",
|
|
16
|
-
|
|
16
|
+
`exec ${program} "$@"`,
|
|
17
17
|
""
|
|
18
18
|
].join("\n");
|
|
19
19
|
}
|
|
@@ -42,17 +42,17 @@ function plain(name, value, allowed) {
|
|
|
42
42
|
if (!allowed.test(value)) throw new Error(`${name} holds a character a Dockerfile line cannot carry safely: ${JSON.stringify(value)}`);
|
|
43
43
|
return value;
|
|
44
44
|
}
|
|
45
|
-
function toolsDockerfile(parts) {
|
|
45
|
+
function toolsDockerfile(parts, agents = defaultAgents()) {
|
|
46
46
|
const recipeImage = plain("the recipe image", parts.recipeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
47
47
|
const nodeImage = plain("the Node image", parts.nodeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
48
|
-
const
|
|
48
|
+
const agent = buildAgent(agents);
|
|
49
|
+
const image = parts.image ?? agent?.adapter.image;
|
|
50
|
+
const agentName = parts.agentName ?? (parts.image === void 0 ? agent?.descriptor.label : parts.image.command) ?? "agent";
|
|
51
|
+
const version = plain(`the ${agentName} version`, parts.claudeCodeVersion, /^[A-Za-z0-9.+-]+$/);
|
|
49
52
|
const buildId = plain("the build id", parts.buildId, /^[A-Za-z0-9_.:+-]+$/);
|
|
50
|
-
const tools = JSON.stringify({ outerlayerBuildId: buildId,
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
["SessionStart", "SessionEnd", "Stop", "PostToolUse"].map((event) => [event, [{ hooks: [{ type: "command", command: `outerlayer hook ${event}` }] }]])
|
|
54
|
-
)
|
|
55
|
-
});
|
|
53
|
+
const tools = JSON.stringify({ outerlayerBuildId: buildId, ...image === void 0 ? {} : { [image.versionKey]: version }, ghVersion: GH_VERSION });
|
|
54
|
+
const files = (image?.files ?? []).map((file) => ({ path: file.path, text: plain(`the text of ${file.path}`, file.text, /^[^\n']*$/) }));
|
|
55
|
+
const folders = [...new Set(files.map((file) => file.path.slice(0, file.path.lastIndexOf("/"))))];
|
|
56
56
|
const download = `NODE_USE_ENV_PROXY=1 node ${PROXY_WARNING_FLAG} -e 'fetch(process.argv[1]).then((r)=>{if(!r.ok)throw new Error(process.argv[1]+" "+r.status);return r.arrayBuffer()}).then((b)=>require("fs").writeFileSync(process.argv[2],Buffer.from(b)))'`;
|
|
57
57
|
const stream = `NODE_USE_ENV_PROXY=1 node ${PROXY_WARNING_FLAG} -e 'const{pipeline}=require("stream/promises"),{Readable}=require("stream"),fs=require("fs");fetch(process.argv[1]).then((r)=>{if(!r.ok)throw new Error(process.argv[1]+" "+r.status);return pipeline(Readable.fromWeb(r.body),fs.createWriteStream(process.argv[2]))})'`;
|
|
58
58
|
const voiceDir = `/out/opt/outerlayer/voice/${VOICE_PACK_VERSION}`;
|
|
@@ -98,7 +98,7 @@ function toolsDockerfile(parts) {
|
|
|
98
98
|
`FROM ${recipeImage} AS recipe`,
|
|
99
99
|
`FROM ${nodeImage} AS stage`,
|
|
100
100
|
"ARG TARGETARCH",
|
|
101
|
-
|
|
101
|
+
...image === void 0 ? [] : image.install(version),
|
|
102
102
|
"COPY dist /out/opt/outerlayer/cli/dist",
|
|
103
103
|
"COPY package.json /out/opt/outerlayer/cli/package.json",
|
|
104
104
|
// `outerlayer demo record` runs a demo on the Playwright release this CLI depends on, found beside the CLI as an npm
|
|
@@ -109,13 +109,13 @@ function toolsDockerfile(parts) {
|
|
|
109
109
|
" && mv node_modules /out/opt/outerlayer/cli/node_modules",
|
|
110
110
|
// `outerlayer claude` installs the maintained skills from this pack into the build's home folder before the agent starts.
|
|
111
111
|
"COPY skill-pack /out/opt/outerlayer/cli/skill-pack",
|
|
112
|
-
|
|
112
|
+
`RUN mkdir -p /out/opt/outerlayer/bin /out/usr/local/bin ${[...folders.map((folder) => `/out${folder}`), "/out/build"].join(" ")} \\`,
|
|
113
113
|
" && cp /usr/local/bin/node /out/opt/outerlayer/bin/node \\",
|
|
114
114
|
` && printf '%s\\n' '#!/bin/sh' 'exec /opt/outerlayer/bin/node /opt/outerlayer/cli/dist/index.js "$@"' > /out/usr/local/bin/outerlayer \\`,
|
|
115
|
-
` && printf '%s\\n' ${
|
|
115
|
+
...image === void 0 ? [] : [` && printf '%s\\n' ${agentWrapperScript(image.program).trimEnd().split("\n").map((line) => `'${line}'`).join(" ")} > /out/usr/local/bin/${image.command} \\`],
|
|
116
116
|
` && printf '%s\\n' '${tools}' > /out/opt/outerlayer/tools.json \\`,
|
|
117
|
-
` && printf '%s\\n' '${
|
|
118
|
-
|
|
117
|
+
...files.map((file) => ` && printf '%s\\n' '${file.text}' > /out${file.path} \\`),
|
|
118
|
+
` && chmod 0755 /out/usr/local/bin/outerlayer${image === void 0 ? "" : ` /out/usr/local/bin/${image.command}`} \\`,
|
|
119
119
|
// Every build, whatever user runs it, writes here: the first mount of an empty volume copies this mode.
|
|
120
120
|
" && chmod 1777 /out/build",
|
|
121
121
|
...parts.guestHelper === true ? [
|
|
@@ -162,13 +162,13 @@ function toolsDockerfile(parts) {
|
|
|
162
162
|
"COPY --from=media /out/ /",
|
|
163
163
|
"COPY --from=browser /out/ /",
|
|
164
164
|
"COPY --from=git /out/ /",
|
|
165
|
-
|
|
165
|
+
...Object.entries(image?.env ?? {}).map(([name, value]) => `ENV ${name}=${value}`),
|
|
166
166
|
// Last, so a recipe's own git comes first. A recipe image that sets no PATH gets the one Docker gives a container.
|
|
167
167
|
`ENV PATH=\${PATH:-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin}:${FALLBACK_BIN}`,
|
|
168
168
|
// espeak-ng's audio library makes a private pulse-* folder for the user who runs it, in the temp folder unless XDG_RUNTIME_DIR names another.
|
|
169
169
|
// Made here, as root, it would ship in the image where the build user cannot read it, and the runner's disk check fails on it.
|
|
170
170
|
"RUN check=$(mktemp -d /tmp/ol-check.XXXXXX) \\",
|
|
171
|
-
|
|
171
|
+
` && outerlayer --version${image === void 0 ? "" : ` && ${image.command} --version`} && gh --version && ffmpeg -version && ffprobe -version \\`,
|
|
172
172
|
' && XDG_RUNTIME_DIR="$check" espeak-ng --version \\',
|
|
173
173
|
` && git --version && ${FALLBACK_BIN}/git --version \\`,
|
|
174
174
|
` && ${IMAGE_BROWSER.playwright}/chromium_headless_shell-${HEADLESS_SHELL_REVISION}/chrome-headless-shell-linux*/chrome-headless-shell --version \\`,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
4
|
-
import { sanitizeTerminal } from './chunk-
|
|
5
|
-
import { isAgentsMdLayout } from './chunk-
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { DEFAULT_DASHBOARD } from './chunk-TPMLB3VZ.js';
|
|
4
|
+
import { sanitizeTerminal } from './chunk-P6PHY33P.js';
|
|
5
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-WDQPBAFV.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-JVCQZDQ6.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
|
-
import { remoteLookupFailed } from './chunk-
|
|
9
|
+
import { remoteLookupFailed } from './chunk-5GHJFETA.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
+
import { defaultAgents } from './chunk-CKPQOQFC.js';
|
|
11
12
|
import { execFileSync } from 'child_process';
|
|
12
13
|
import { lstatSync } from 'fs';
|
|
13
14
|
import { join, relative } from 'path';
|
|
@@ -64,18 +65,24 @@ Then run \`${cliInvocation()} connect\` again.
|
|
|
64
65
|
// src/connect-cmd.ts
|
|
65
66
|
var REQUEST_TIMEOUT_MS = 15e3;
|
|
66
67
|
var COMMIT_LINE = "Commit and push .outerlayer/ so the factory reads your policy and skills. No checks run on a pull request until the policy is on the branch it targets.";
|
|
67
|
-
|
|
68
|
+
function listWithAnd(items) {
|
|
69
|
+
return items.length < 2 ? items.join("") : `${items.slice(0, -1).join(", ")} and ${items.at(-1)}`;
|
|
70
|
+
}
|
|
71
|
+
function agentsLayoutCommitLine(agents = defaultAgents()) {
|
|
72
|
+
const items = [".outerlayer/", "AGENTS.md", ".agents/", ...mcpFiles(agents), ...skillLinkFolders(agents)];
|
|
73
|
+
return `Commit and push ${listWithAnd(items)} so the factory reads your policy and skills. No checks run on a pull request until the policy is on the branch it targets.`;
|
|
74
|
+
}
|
|
68
75
|
var COMMIT_PATHS = [":/.outerlayer"];
|
|
69
|
-
var
|
|
76
|
+
var agentsLayoutCommitPaths = (agents) => [":/.outerlayer", ":/AGENTS.md", ":/.agents", ...mcpFiles(agents).map((file) => `:/${file}`), ...skillLinkFolders(agents).map((folder) => `:/${folder}`)];
|
|
70
77
|
function inAgentsMdLayout(cwd) {
|
|
71
78
|
const dirs = findGitDirs(cwd);
|
|
72
79
|
return dirs !== void 0 && isAgentsMdLayout(dirs.repoRoot);
|
|
73
80
|
}
|
|
74
81
|
function commitLineFor(cwd) {
|
|
75
|
-
return inAgentsMdLayout(cwd) ?
|
|
82
|
+
return inAgentsMdLayout(cwd) ? agentsLayoutCommitLine() : COMMIT_LINE;
|
|
76
83
|
}
|
|
77
84
|
function setupPathsFor(root) {
|
|
78
|
-
return isAgentsMdLayout(root) ? ["AGENTS.md", ".agents",
|
|
85
|
+
return isAgentsMdLayout(root) ? ["AGENTS.md", ".agents", ...skillLinkFolders(), ...mcpFiles(), ".outerlayer"] : [".outerlayer"];
|
|
79
86
|
}
|
|
80
87
|
var MAX_IGNORED_NAMED = 10;
|
|
81
88
|
function gitOutput(root, args) {
|
|
@@ -132,7 +139,7 @@ function commitCommandsFor(cwd) {
|
|
|
132
139
|
return lines.join("\n");
|
|
133
140
|
}
|
|
134
141
|
function hasUncommittedPolicy(cwd) {
|
|
135
|
-
const paths = inAgentsMdLayout(cwd) ?
|
|
142
|
+
const paths = inAgentsMdLayout(cwd) ? agentsLayoutCommitPaths(defaultAgents()) : COMMIT_PATHS;
|
|
136
143
|
try {
|
|
137
144
|
const status = execFileSync("git", ["status", "--porcelain", "--untracked-files=all", "--", ...paths], {
|
|
138
145
|
cwd,
|
|
@@ -389,4 +396,4 @@ ${commitLineFor(deps.cwd)}
|
|
|
389
396
|
return r.code;
|
|
390
397
|
}
|
|
391
398
|
|
|
392
|
-
export {
|
|
399
|
+
export { COMMIT_LINE, agentsLayoutCommitLine, autoConnectedLine, commitCommandsFor, commitLineFor, dashboardBase, fetchFactories, hasUncommittedPolicy, isLinkedRepository, listText, listWithAnd, promptOnTerminal, realConnectDeps, runConnect, runConnectCommand, saveFactoryConnection, selectFactory, slug, workPageUrl };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-LSXHTBAM.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
6
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-P6PHY33P.js';
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JVCQZDQ6.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-6JJITHBI.js';
|
|
10
|
+
import { writeSyncStatus, spoolDir } from './chunk-EBIYRRJW.js';
|
|
11
11
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
12
12
|
import { hookExecSpoolPath } from './chunk-FUJUFLDC.js';
|
|
13
13
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
14
14
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
15
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-5GHJFETA.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-5WYT3PPE.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import {
|
|
19
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-M2NIHHQI.js';
|
|
20
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-WUKLQWGY.js';
|
|
20
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
21
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-GANAOCHR.js';
|
|
22
22
|
import { dirname, basename, join, sep } from 'path';
|
|
23
23
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
24
24
|
import { execFileSync } from 'child_process';
|
|
@@ -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-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-GD6KIHOS.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import { signingFetchFor } from './chunk-
|
|
7
|
-
import { signerFor } from './chunk-
|
|
8
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
9
|
-
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-QJDX6VJS.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J7TCTARR.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-AYLYAOHH.js';
|
|
6
|
+
import { signingFetchFor } from './chunk-JVCQZDQ6.js';
|
|
7
|
+
import { signerFor } from './chunk-6JJITHBI.js';
|
|
8
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-TWYHSMHM.js';
|
|
9
|
+
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-NC3QAHOS.js';
|
|
10
10
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
11
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-GD6KIHOS.js';
|
|
12
12
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
13
13
|
import { relative, join, dirname } from 'path';
|
|
14
14
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-4CTVN3C5.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-JVCQZDQ6.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-5GHJFETA.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
|