@outerlayer/cli 0.40.0-next.20261117031847 → 0.40.0-next.20261117043041
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/README.md +5 -1
- package/dist/agent-setup-4J2JL5EB.js +41 -0
- package/dist/{agent-subcommand-SNGOSV4D.js → agent-subcommand-64YO6FE4.js} +4 -4
- package/dist/{artifact-link-cmd-K6VFGMIO.js → artifact-link-cmd-HYEM4X5U.js} +2 -2
- package/dist/{bridge-C5FNHUYF.js → bridge-H72K6N7O.js} +7 -7
- package/dist/{build-YFKCYJR6.js → build-PBQIJPCC.js} +13 -13
- package/dist/{build-disk-ZRWIYYVO.js → build-disk-3COAKTPF.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-334EUQCE.js → builder-GOJQQOIV.js} +10 -10
- package/dist/caller-BZBHMIA2.js +23 -0
- package/dist/{check-LGB3BWZ7.js → check-TRV42MHY.js} +55 -55
- package/dist/{chunk-O2324X34.js → chunk-2L2LLHQW.js} +1 -1
- package/dist/{chunk-XLU5ZOTK.js → chunk-3FZXSMIL.js} +4 -4
- package/dist/{chunk-WNQMNFJG.js → chunk-3RG2ZR3J.js} +5 -5
- package/dist/{chunk-G3HBBHIK.js → chunk-3TEE7JVW.js} +1 -1
- package/dist/{chunk-OF6XMZHO.js → chunk-52CTFVXD.js} +1 -1
- package/dist/{chunk-DQQID2EX.js → chunk-6FWHB4TW.js} +8 -8
- package/dist/{chunk-MCUI6RHU.js → chunk-6IGOHB3O.js} +12 -3
- package/dist/{chunk-GZLNKW2J.js → chunk-7CK4Z6VC.js} +6 -6
- package/dist/{chunk-J6WQ6POX.js → chunk-7QDRLTFW.js} +1 -1
- package/dist/{chunk-ROMZCAG7.js → chunk-AAGXH2FR.js} +1 -1
- package/dist/{chunk-OVF475U5.js → chunk-ATK2MNGU.js} +4 -4
- package/dist/{chunk-CVSREZEZ.js → chunk-BIBHD4KJ.js} +4 -4
- package/dist/{chunk-QVTGSGQ5.js → chunk-BIXO533I.js} +2 -2
- package/dist/{chunk-WZRXXOWB.js → chunk-BVKLR7GA.js} +17 -17
- package/dist/{chunk-OCXVMUXA.js → chunk-CKS7B2ZJ.js} +7 -7
- package/dist/{chunk-2F3RZT5L.js → chunk-CZYUSXAR.js} +3 -3
- package/dist/{chunk-2MSLNM5V.js → chunk-D3PPI7I4.js} +1 -1
- package/dist/{chunk-M7RI6IMR.js → chunk-DMW22UQE.js} +3 -3
- package/dist/{chunk-F7EYCXY4.js → chunk-EBSN6K35.js} +6 -6
- package/dist/{chunk-MJGBRYDH.js → chunk-FBFYIEHC.js} +12 -7
- package/dist/{chunk-UNGZ25QF.js → chunk-FRQLJUID.js} +2 -2
- package/dist/{chunk-FPUFOQEH.js → chunk-FUNAQRMN.js} +9 -9
- package/dist/{chunk-CEHT2FCU.js → chunk-FYL2RFHI.js} +3 -3
- package/dist/{chunk-R4IC7BKJ.js → chunk-G2KLJMPR.js} +8 -8
- package/dist/{chunk-ONDONSBT.js → chunk-H37HSQGH.js} +1 -1
- package/dist/{chunk-GOJ2SPKB.js → chunk-H73CCPAW.js} +1 -1
- package/dist/{chunk-6JRDP6O4.js → chunk-H7BNWYIA.js} +5 -5
- package/dist/{chunk-HQPB4ZMS.js → chunk-HHOFP647.js} +1 -1
- package/dist/{chunk-62EOPMMA.js → chunk-HQEPFG5U.js} +1 -1
- package/dist/{chunk-4WRECUUH.js → chunk-I6PDJEYQ.js} +3 -3
- package/dist/{chunk-F2I2GQMF.js → chunk-IHMGZWOB.js} +1 -1
- package/dist/{chunk-QVQWIKDP.js → chunk-ISTSELPU.js} +6 -6
- package/dist/{chunk-OUVDFJ3T.js → chunk-IXHMDBXY.js} +7 -7
- package/dist/{chunk-EO7KUUKZ.js → chunk-J4EPJMU6.js} +2 -2
- package/dist/{chunk-6RJBLCPV.js → chunk-J7UWKTRV.js} +1 -1
- package/dist/{chunk-WYD6XWET.js → chunk-JMQDGBAF.js} +2 -2
- package/dist/{chunk-6P23FS2Z.js → chunk-K3IO22FH.js} +1 -1
- package/dist/{chunk-YUR7GV5L.js → chunk-KPCGSGZS.js} +5 -5
- package/dist/{chunk-DOJGTDZU.js → chunk-KZEZBZ4W.js} +8 -8
- package/dist/{chunk-2VVSAKM3.js → chunk-LDTLGJ5F.js} +530 -103
- package/dist/{chunk-ZTZFWQBG.js → chunk-MAWSNLSZ.js} +4 -4
- package/dist/{chunk-CGYKQEPN.js → chunk-MN73QQDA.js} +4 -4
- package/dist/{chunk-IWPU2TDY.js → chunk-O2JKZTP3.js} +2 -2
- package/dist/{chunk-ERFVB3TJ.js → chunk-OA2KHMXX.js} +6 -6
- package/dist/{chunk-JDAH6YHU.js → chunk-PC6BJDBE.js} +5 -5
- package/dist/{chunk-DRF45IQZ.js → chunk-PIP32M2V.js} +3 -3
- package/dist/{chunk-3TQVQKQ2.js → chunk-PKYJMXRB.js} +8 -8
- package/dist/{chunk-CJCGE7TW.js → chunk-PVDIDOKH.js} +40 -9
- package/dist/{chunk-A72OH6K3.js → chunk-QJ3AJNRP.js} +7 -7
- package/dist/{chunk-OIAWDKSR.js → chunk-QKMVEQXO.js} +3 -3
- package/dist/{chunk-DV44KCM6.js → chunk-QMC2MM2S.js} +1 -1
- package/dist/{chunk-NLOUOUZV.js → chunk-QMOE5Y4X.js} +1 -1
- package/dist/{chunk-AAOM7S3Z.js → chunk-RC5WWCUS.js} +5 -5
- package/dist/{chunk-T3NBGNP5.js → chunk-RZSGNO7S.js} +247 -138
- package/dist/{chunk-NWYQ7PKS.js → chunk-SLZSJRLS.js} +10 -10
- package/dist/{chunk-6MF44FPF.js → chunk-SS3SQYDS.js} +1 -1
- package/dist/{chunk-H7EBNQGW.js → chunk-SSVM6C5N.js} +1 -1
- package/dist/{chunk-JGSIVQVE.js → chunk-T4SVE4O4.js} +4 -4
- package/dist/{chunk-QIO2NIX2.js → chunk-TPLMLNME.js} +1 -1
- package/dist/{chunk-NO3JPGJW.js → chunk-UAGUV74T.js} +1 -1
- package/dist/{chunk-Z3IDEUCC.js → chunk-ULI64TQ5.js} +3 -3
- package/dist/{chunk-OY4EJVUH.js → chunk-V56S4A34.js} +1 -1
- package/dist/{chunk-CWJ26A6W.js → chunk-V65YF5VP.js} +1 -1
- package/dist/{chunk-5SAJ23BY.js → chunk-VEW4BPVJ.js} +1 -1
- package/dist/{chunk-QAZOUTEM.js → chunk-VH7P6XUP.js} +1 -1
- package/dist/{chunk-DHB3M244.js → chunk-VUSPSY6N.js} +1 -1
- package/dist/{chunk-YNNTU5IZ.js → chunk-WAI7EGGE.js} +1 -1
- package/dist/{chunk-3IHZYNZW.js → chunk-WHIAOWEN.js} +1 -1
- package/dist/{chunk-WT74ZSRC.js → chunk-XVE7HD6X.js} +6 -6
- package/dist/{chunk-KDKMVWHJ.js → chunk-XVTDFLRQ.js} +3 -3
- package/dist/{chunk-PIJWOPSG.js → chunk-Y73IIGAU.js} +7 -7
- package/dist/{chunk-5LDYQLE3.js → chunk-YAB2SVSI.js} +2 -2
- package/dist/{chunk-IQTMXXKU.js → chunk-YOQ3GBJK.js} +10 -10
- package/dist/{chunk-SBSH253O.js → chunk-YVLGGDYK.js} +1 -1
- package/dist/{chunk-RO5YUUN2.js → chunk-ZHXBFXG2.js} +1 -1
- package/dist/{claude-launcher-3H5XSXVA.js → claude-launcher-43RD6G3Y.js} +7 -7
- package/dist/{cli-FRR5Q3IX.js → cli-DRPVOAEG.js} +169 -169
- package/dist/{command-Y5FG3FWC.js → command-FMNZSGIX.js} +52 -52
- package/dist/{config-V6VQOSHM.js → config-OJTLS62B.js} +12 -12
- package/dist/{connect-cmd-AU2IGAYG.js → connect-cmd-L5KO3U67.js} +13 -13
- package/dist/{container-start-Z6OCZPUC.js → container-start-OPQZF4LH.js} +49 -49
- package/dist/{context-cleanup-SK445SLA.js → context-cleanup-REXSRAU6.js} +4 -4
- package/dist/{context-show-cmd-Z6YW2XPG.js → context-show-cmd-DAVFJJHX.js} +14 -14
- package/dist/{control-plane-launch-CNGKWYLK.js → control-plane-launch-TARK67QP.js} +14 -14
- package/dist/{demo-record-cmd-VEMSRUVR.js → demo-record-cmd-BRBXTCSL.js} +8 -8
- package/dist/{demo-voice-cmd-ABNZ6H7V.js → demo-voice-cmd-67ZE46PS.js} +20 -20
- package/dist/{dist-775TDFCK.js → dist-3AH72O53.js} +2 -2
- package/dist/{docker-UHQ4LAJE.js → docker-FEOTGBDS.js} +10 -10
- package/dist/{doctor-B7XTBO53.js → doctor-22YI6EJN.js} +51 -51
- package/dist/{emit-artifact-cmd-WLBQOFGX.js → emit-artifact-cmd-ZDQ5PPRN.js} +19 -19
- package/dist/{emit-cmd-A6ZGOPLZ.js → emit-cmd-MY3TTOV7.js} +7 -7
- package/dist/{emit-criteria-cmd-S533NEY4.js → emit-criteria-cmd-SED3RVYR.js} +16 -16
- package/dist/{emit-demo-cmd-K4JY5PDP.js → emit-demo-cmd-VBHIORA3.js} +20 -20
- package/dist/{emit-finding-cmd-C7RZGGVJ.js → emit-finding-cmd-NQRNWPFW.js} +16 -16
- package/dist/{emit-result-cmd-5NLUDBXM.js → emit-result-cmd-CA3FQUGR.js} +18 -18
- package/dist/{emit-step-cmd-Q7VIXGYQ.js → emit-step-cmd-EZQD56H5.js} +16 -16
- package/dist/{exec-client-RR6F42IB.js → exec-client-JEOB57LW.js} +8 -8
- package/dist/{find-unit-WRHK3H5X.js → find-unit-HJRHPB3Y.js} +13 -13
- package/dist/{findings-cmd-74MN2Q7K.js → findings-cmd-4HKGMYM7.js} +16 -16
- package/dist/{fleet-readiness-R6B3PYU7.js → fleet-readiness-SPPQPJZI.js} +14 -14
- package/dist/{governing-source-M2HYH7ZN.js → governing-source-URY2L5EI.js} +21 -21
- package/dist/{guest-init-QEWU2H7W.js → guest-init-KXWFAIS5.js} +9 -9
- package/dist/{hook-fast-GPW7D4MD.js → hook-fast-3EMC5BR5.js} +1 -1
- package/dist/{hook-install-VF3X2ZXN.js → hook-install-2S7NZOBO.js} +4 -4
- package/dist/host-checks-MVOAIBQA.js +82 -0
- package/dist/host-key-JGKWDEN7.js +18 -0
- package/dist/{image-tag-LKOD5GRQ.js → image-tag-DJ2DYY75.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-UO4SOY57.js → init-F6XEU4VR.js} +47 -47
- package/dist/init-JEXSFOFP.js +82 -0
- package/dist/{init-agent-JVMIDIXN.js → init-agent-BLC6ART6.js} +47 -47
- package/dist/init-cmd-ISFN4IXL.js +53 -0
- package/dist/{init-update-BRUFAWCA.js → init-update-2PHTQUR6.js} +24 -24
- package/dist/install-cmd-2SO5XQMZ.js +26 -0
- package/dist/launch-agent-ZCE2MKWW.js +26 -0
- package/dist/{layout-BG6MFUS3.js → layout-4GFI5FUZ.js} +4 -4
- package/dist/{login-browser-OA4R4PEQ.js → login-browser-G3NBTYT6.js} +2 -2
- package/dist/{logs-WNZZNFA3.js → logs-IGY3Z45I.js} +7 -7
- package/dist/loop-A3LCREAQ.js +92 -0
- package/dist/machine-P5OCN6FJ.js +82 -0
- package/dist/{machine-skills-B7KO47CH.js → machine-skills-FJPUFZ7N.js} +4 -4
- package/dist/{mcp-install-cmd-JXD6Q7NN.js → mcp-install-cmd-DWN6GODI.js} +4 -4
- package/dist/{mcp-serve-cmd-4D4P6IA7.js → mcp-serve-cmd-3ACPN3DK.js} +9 -9
- package/dist/{paths-I7LDWR3Q.js → paths-KPYCKVEO.js} +7 -7
- package/dist/pending-LR3J3B32.js +18 -0
- package/dist/{pidfile-SNTRLZ2Z.js → pidfile-2TYTTJAD.js} +8 -8
- package/dist/{record-QJPGOWYX.js → record-SXQN3F2G.js} +8 -8
- package/dist/{relay-V5GHEWT3.js → relay-XUWU6YJA.js} +5 -5
- package/dist/{relay-protocol-2S2EAHYH.js → relay-protocol-2ELEUOSS.js} +5 -5
- package/dist/{run-cmd-YY34QRDU.js → run-cmd-ZC6H5JMT.js} +16 -16
- package/dist/{runner-agents-CLDURIBZ.js → runner-agents-RKBGYF6D.js} +4 -4
- package/dist/runner-env-7AZQ443N.js +24 -0
- package/dist/{runner-identity-2374JAQF.js → runner-identity-IA53MENM.js} +10 -10
- package/dist/{runner-key-JRZ5N4IM.js → runner-key-K6SJMQ6I.js} +47 -47
- package/dist/{session-sender-CUM4SRT7.js → session-sender-HUD6KDQS.js} +19 -19
- package/dist/{setup-cmd-5ICCOGTJ.js → setup-cmd-6BBZWFJX.js} +14 -14
- package/dist/{setup-wiring-CEGNPVS5.js → setup-wiring-AE2RFMC4.js} +54 -54
- package/dist/{spec-cmd-6ACWBET6.js → spec-cmd-VKL4K2QQ.js} +17 -17
- package/dist/{starter-pack-WOD4WMUX.js → starter-pack-ETRBBABF.js} +5 -5
- package/dist/state-5QGIGKBB.js +18 -0
- package/dist/{status-H677WBLM.js → status-TJWQ5EIM.js} +47 -47
- package/dist/{sync-cmd-5UMBZRKI.js → sync-cmd-EPN6VJ4R.js} +18 -18
- package/dist/update-steps-RDYVUTKN.js +83 -0
- package/dist/{watch-34LOYMEQ.js → watch-YSSMGF7F.js} +18 -18
- package/dist/{work-claim-cmd-NRHTDJC3.js → work-claim-cmd-TV4TJNBE.js} +23 -23
- package/dist/{work-cmd-NBYW3LBP.js → work-cmd-VWXZLMF4.js} +16 -16
- package/dist/{work-comment-cmd-J4CG33NA.js → work-comment-cmd-A6OMDNWD.js} +18 -18
- package/dist/{work-demo-cmd-APJDOTHV.js → work-demo-cmd-RO2MNERR.js} +16 -16
- package/dist/{work-logs-cmd-FL7DOHUU.js → work-logs-cmd-FNVY6PFY.js} +16 -16
- package/dist/{work-mock-cmd-4MAYOAQS.js → work-mock-cmd-AC2Z3W7V.js} +16 -16
- package/dist/{work-needs-attention-cmd-LG5MFGPW.js → work-needs-attention-cmd-2IEXGHHV.js} +16 -16
- package/dist/{work-no-change-cmd-QATDFQ46.js → work-no-change-cmd-VN5YDUZZ.js} +16 -16
- package/dist/{work-open-pr-cmd-FV43THW5.js → work-open-pr-cmd-GX3AEJMQ.js} +17 -17
- package/dist/{work-pr-cmd-53VAE7HD.js → work-pr-cmd-PU7YFJDD.js} +16 -16
- package/dist/{work-proofs-cmd-4SF7WZC3.js → work-proofs-cmd-XOIAKWF2.js} +18 -18
- package/dist/{work-proofs-record-IGKVQOLA.js → work-proofs-record-7DEOYNST.js} +24 -24
- package/dist/{work-stop-cmd-V5SPVTY4.js → work-stop-cmd-4PKBXINK.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-review/SKILL.md +9 -3
- package/skill-pack/maintained/outerlayer-review/references/consolidation.md +80 -0
- package/skill-pack/shipped.json +3 -0
- package/skill-pack/template/review/SKILL.md +14 -0
- package/dist/agent-setup-E3NJKG6H.js +0 -41
- package/dist/caller-6PMFDU4O.js +0 -23
- package/dist/host-checks-PKOVCAGU.js +0 -82
- package/dist/host-key-HICYSAZ5.js +0 -18
- package/dist/init-DFC5GUE5.js +0 -82
- package/dist/init-cmd-WTJ7KOQ5.js +0 -53
- package/dist/install-cmd-2H4QK5O7.js +0 -26
- package/dist/launch-agent-HPWRSGXZ.js +0 -26
- package/dist/loop-WO37TJ5C.js +0 -92
- package/dist/machine-ZXCUPCDS.js +0 -82
- package/dist/pending-L65HTOAV.js +0 -18
- package/dist/runner-env-ACRSRRBW.js +0 -24
- package/dist/state-TUO74X72.js +0 -18
- package/dist/update-steps-XCDL66FA.js +0 -83
|
@@ -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-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-YAB2SVSI.js';
|
|
4
|
+
import { parseSize } from './chunk-G2KLJMPR.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-PC6BJDBE.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-52CTFVXD.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,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-D3PPI7I4.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-TPLMLNME.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-MAWSNLSZ.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-WHIAOWEN.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-BVKLR7GA.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-7CK4Z6VC.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
6
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-V65YF5VP.js';
|
|
5
|
+
import { autoConnect } from './chunk-QKMVEQXO.js';
|
|
6
|
+
import { acquireSpoolLockAt } from './chunk-QMC2MM2S.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-7QDRLTFW.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
13
|
+
import { StepNameSchema, StepBodySchema } from './chunk-6IGOHB3O.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-
|
|
4
|
-
import { strippedVariables } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-BIXO533I.js';
|
|
4
|
+
import { strippedVariables } from './chunk-52CTFVXD.js';
|
|
5
|
+
import { defaultAgents } from './chunk-FYL2RFHI.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-WAI7EGGE.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
|
|
9
9
|
import { request as request$1, createServer } from 'http';
|
|
10
10
|
import { request } from 'https';
|
|
@@ -125,7 +125,7 @@ function createSandboxClient(opts) {
|
|
|
125
125
|
async create(input) {
|
|
126
126
|
for (let attempt = 1; ; attempt++) {
|
|
127
127
|
try {
|
|
128
|
-
const { workItem: _workItem, factory: _factory, machine: _machine, resume: _resume, ...wanted } = input;
|
|
128
|
+
const { workItem: _workItem, factory: _factory, machine: _machine, resume: _resume, fromState: _fromState, ...wanted } = input;
|
|
129
129
|
const response = await control("/api/sandboxes/ephemeral", { method: "POST", body: JSON.stringify(wanted) });
|
|
130
130
|
return sandboxOf(await response.json());
|
|
131
131
|
} catch (err) {
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-2S7NZOBO.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-REXSRAU6.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-TARK67QP.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-ATK2MNGU.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-VH7P6XUP.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-G2KLJMPR.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-H37HSQGH.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-WHIAOWEN.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-PC6BJDBE.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-52CTFVXD.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
import { join, dirname } from 'path';
|
|
@@ -174,7 +174,7 @@ async function readDefaultBranchFiles(input) {
|
|
|
174
174
|
const over = (args, timeoutMs = CLONE_TIMEOUT_MS, raw = false) => withNewTokenRetry2(credential, () => git(input.dir, args, timeoutMs, credential, raw));
|
|
175
175
|
try {
|
|
176
176
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
177
|
-
const defaultBranch = defaultBranchOf(await over(["ls-remote", "--symref", input.remote, "HEAD"], HEAD_TIMEOUT_MS));
|
|
177
|
+
const defaultBranch = input.branch ?? defaultBranchOf(await over(["ls-remote", "--symref", input.remote, "HEAD"], HEAD_TIMEOUT_MS));
|
|
178
178
|
if (defaultBranch === null) return { ok: false, reason: `${input.remote} does not say which branch is its default; the runner will not guess one` };
|
|
179
179
|
await git(input.dir, ["init", "--quiet"]);
|
|
180
180
|
await git(input.dir, ["config", "remote.origin.url", input.remote]);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
5
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
6
|
-
import { buildRefusalReason } from './chunk-
|
|
7
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
8
|
-
import { signingFetchFor } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
11
|
-
import { SandboxError, describeSandboxError } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-KZEZBZ4W.js';
|
|
5
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-3RG2ZR3J.js';
|
|
6
|
+
import { buildRefusalReason } from './chunk-J7UWKTRV.js';
|
|
7
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-ZHXBFXG2.js';
|
|
8
|
+
import { signingFetchFor } from './chunk-7QDRLTFW.js';
|
|
9
|
+
import { signerFor } from './chunk-QMOE5Y4X.js';
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-WHIAOWEN.js';
|
|
11
|
+
import { SandboxError, describeSandboxError } from './chunk-PC6BJDBE.js';
|
|
12
12
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
13
13
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
14
14
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -512,6 +512,37 @@ async function prefetchGovernedContext(input) {
|
|
|
512
512
|
return { reason: `context_unavailable: the control plane named for ${repository} could not be fetched: ${err instanceof Error ? err.message : String(err)}`, transient: false };
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
+
async function readGovernedFiles(input) {
|
|
516
|
+
const { repository, source } = input;
|
|
517
|
+
const git = input.git ?? defaultGitRunner;
|
|
518
|
+
let tokenRepository;
|
|
519
|
+
try {
|
|
520
|
+
const fetched = await fetchControlPlaneCommit({
|
|
521
|
+
git,
|
|
522
|
+
home: contextHomeDir(input.configPath, input.organizationId),
|
|
523
|
+
repository: source.repository,
|
|
524
|
+
sha: source.sha,
|
|
525
|
+
remoteUrl: input.controlPlaneUrl(source.repository),
|
|
526
|
+
token: async () => {
|
|
527
|
+
if (input.controlPlaneToken === void 0) return void 0;
|
|
528
|
+
const access = await controlPlaneAccess(input.controlPlaneToken, [{ repository: source.repository }], repository, input.log, input.tag);
|
|
529
|
+
tokenRepository = access?.repository;
|
|
530
|
+
return access?.token;
|
|
531
|
+
},
|
|
532
|
+
policy: buildFetch(true)
|
|
533
|
+
});
|
|
534
|
+
if (!fetched.ok) return { ok: false, reason: fetchFailureReason(fetched, credentialName(tokenRepository), source.repository, source.sha, repository) };
|
|
535
|
+
const files = {};
|
|
536
|
+
for (const path of input.paths) {
|
|
537
|
+
const shown = git(["show", `${fetched.localRef}:${path}`], { cwd: fetched.cacheRepoDir, timeoutMs: 1e4 });
|
|
538
|
+
files[path] = shown.ok ? shown.stdout.toString("utf8") : null;
|
|
539
|
+
}
|
|
540
|
+
return { ok: true, files };
|
|
541
|
+
} catch (err) {
|
|
542
|
+
if (err instanceof TokenRefused) return { ok: false, reason: tokenRefusedReason(err, repository) };
|
|
543
|
+
return { ok: false, reason: `context_unavailable: the control plane named for ${repository} could not be read: ${err instanceof Error ? err.message : String(err)}` };
|
|
544
|
+
}
|
|
545
|
+
}
|
|
515
546
|
function removeStagedContext(buildDir) {
|
|
516
547
|
rmSync(stagedContextDir(buildDir), { recursive: true, force: true });
|
|
517
548
|
}
|
|
@@ -567,4 +598,4 @@ async function imageTargetFor(input) {
|
|
|
567
598
|
return { ok: true, repository: resolved.source.repository, pinned: { commit: resolved.source.sha, ref: resolved.source.ref } };
|
|
568
599
|
}
|
|
569
600
|
|
|
570
|
-
export { BuildTokens, SELF_GOVERNED, WORKFLOW_PERMISSION_REASON, classifyRefusal, commandWithShim, controlPlaneTokenFailure, createRunnerLog, describeCallFailure, formatClock, formatDuration, imageTargetFor, keepStagedContext, keptContextTree, logStamp, pinnedSourceOf, prefetchGovernedContext, refusalCode, relativeToRunner, removeKeptContext, removeStagedContext, resolveGoverningSource, retrySend, shimScript, shortClaim, stageGovernedContext };
|
|
601
|
+
export { BuildTokens, SELF_GOVERNED, WORKFLOW_PERMISSION_REASON, classifyRefusal, commandWithShim, controlPlaneTokenFailure, createRunnerLog, describeCallFailure, formatClock, formatDuration, imageTargetFor, keepStagedContext, keptContextTree, logStamp, pinnedSourceOf, prefetchGovernedContext, readGovernedFiles, refusalCode, relativeToRunner, removeKeptContext, removeStagedContext, resolveGoverningSource, retrySend, shimScript, shortClaim, stageGovernedContext };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-RZSGNO7S.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-XVE7HD6X.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-VH7P6XUP.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-KZEZBZ4W.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-MAWSNLSZ.js';
|
|
9
|
+
import { signerFor } from './chunk-QMOE5Y4X.js';
|
|
10
|
+
import { pidFilePath } from './chunk-WHIAOWEN.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,12 +1,12 @@
|
|
|
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-7CK4Z6VC.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-7QDRLTFW.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
4
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
4
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-6IGOHB3O.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
|
|
@@ -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-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WHIAOWEN.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-V65YF5VP.js';
|
|
5
|
+
import { autoConnect } from './chunk-QKMVEQXO.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-7QDRLTFW.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { CriteriaListSchema } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-6IGOHB3O.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|