@outerlayer/cli 0.38.0-next.20261111182110 → 0.38.0-next.20261111220050
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-P77VERNT.js +40 -0
- package/dist/{agent-subcommand-NZFPV3MV.js → agent-subcommand-MLVQVTVU.js} +5 -5
- package/dist/{artifact-link-cmd-L4BXSQQP.js → artifact-link-cmd-A7SROEQS.js} +2 -2
- package/dist/{bridge-OBIGQXDH.js → bridge-CVHBKOFU.js} +8 -8
- package/dist/{build-4IYEB6OE.js → build-KVJM6PMC.js} +14 -14
- package/dist/{build-disk-2MOEPIZF.js → build-disk-H6ZN32KR.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-SVI2D35R.js → builder-3LUEEVSN.js} +11 -11
- package/dist/caller-IMM277FA.js +23 -0
- package/dist/{check-XIJ2MOWV.js → check-V2TITR5P.js} +58 -58
- package/dist/{chunk-QHYCF36K.js → chunk-26BFN6DH.js} +1 -1
- package/dist/{chunk-36XB56GG.js → chunk-33HBGNKZ.js} +5 -5
- package/dist/{chunk-LVNMKOWI.js → chunk-34VR5LPD.js} +2 -2
- package/dist/{chunk-RHPEAVKR.js → chunk-3FN6JADD.js} +1 -1
- package/dist/{chunk-CT4PKI24.js → chunk-3LOW5W6T.js} +274 -99
- package/dist/{chunk-QENFVQ7O.js → chunk-3RAAAAPL.js} +7 -7
- package/dist/{chunk-KA4BMGBR.js → chunk-3V5B7M5Q.js} +2 -2
- package/dist/{chunk-XAVR7JHO.js → chunk-3XZ66FRV.js} +10 -10
- package/dist/{chunk-R3S2A7YF.js → chunk-544OP3E4.js} +90 -45
- package/dist/{chunk-J345NEVJ.js → chunk-5FTUUXBK.js} +5 -5
- package/dist/{chunk-NEXKR5RR.js → chunk-5NVF5TAL.js} +6 -1
- package/dist/{chunk-NFPJ2XC2.js → chunk-6AORV65Z.js} +3 -3
- package/dist/{chunk-DE3NQAR7.js → chunk-6LYKHTC2.js} +3 -3
- package/dist/{chunk-WV4T6ZOQ.js → chunk-6VHBQBHL.js} +2 -2
- package/dist/{chunk-6XORUAR7.js → chunk-7GJEQXOH.js} +1 -1
- package/dist/{chunk-I45HTSSA.js → chunk-A3NJSQPK.js} +1 -1
- package/dist/{chunk-PBHAM73F.js → chunk-AR3SCE7R.js} +3 -3
- package/dist/{chunk-6YOXYZC2.js → chunk-AS3DUHKZ.js} +7 -7
- package/dist/{chunk-FQPGZOH3.js → chunk-AUBLZPCA.js} +1 -1
- package/dist/{chunk-ATEMEVFF.js → chunk-AW3N24L5.js} +1 -1
- package/dist/{chunk-ZC2BXXKB.js → chunk-B4HUGT3L.js} +16 -16
- package/dist/{chunk-CZDYUKA6.js → chunk-BKAUXDXK.js} +7 -7
- package/dist/{chunk-UPUHL3KC.js → chunk-BU4O4T7X.js} +7 -7
- package/dist/{chunk-N3KGXHV4.js → chunk-BUT777XB.js} +1 -1
- package/dist/{chunk-6XMC6R4W.js → chunk-C6OQ45AS.js} +1 -1
- package/dist/{chunk-DKRZZBKI.js → chunk-CAL6L5DK.js} +3 -3
- package/dist/{chunk-6BXJESQF.js → chunk-CJEWYQ46.js} +9 -9
- package/dist/{chunk-3Z5KBFBB.js → chunk-COTJ2FIL.js} +2 -2
- package/dist/{chunk-ZQII2ZRP.js → chunk-CPXQLO4X.js} +1 -1
- package/dist/{chunk-6GZL5RIV.js → chunk-CT7X6XGR.js} +14 -11
- package/dist/{chunk-JDOEEKPN.js → chunk-DPMUZ2QT.js} +25 -9
- package/dist/{chunk-MOA4PGYL.js → chunk-DULA3AYN.js} +1 -1
- package/dist/{chunk-3YJJ2JDV.js → chunk-E532PUGI.js} +1 -1
- package/dist/{chunk-BIMHESZG.js → chunk-EVME7MT6.js} +1 -1
- package/dist/{chunk-OPCFOIZJ.js → chunk-EWKNMUPI.js} +1 -1
- package/dist/{chunk-MOFT7QCR.js → chunk-F4Q4Y7ZE.js} +5 -5
- package/dist/{chunk-LW5RIKAV.js → chunk-FBLO2U6D.js} +1 -1
- package/dist/{chunk-4AEOP5PD.js → chunk-FM4OXL5V.js} +6 -6
- package/dist/{chunk-D5GR3U2O.js → chunk-FYIISGXR.js} +10 -10
- package/dist/{chunk-IHM7K6RS.js → chunk-GRNA7FHI.js} +4 -4
- package/dist/{chunk-BATSP67Z.js → chunk-GXYVZZO7.js} +6 -6
- package/dist/{chunk-IN7QCBO5.js → chunk-KGDFBO3G.js} +6 -6
- package/dist/{chunk-4G5SYPK2.js → chunk-KUM6RRPC.js} +1 -1
- package/dist/{chunk-6FQSV7ZK.js → chunk-KUNRGSPX.js} +3 -3
- package/dist/{chunk-LKLP5YMH.js → chunk-LEIO5LD3.js} +7 -7
- package/dist/{chunk-KR34GXEH.js → chunk-LF4BHMEG.js} +1 -1
- package/dist/{chunk-CAQSGGPJ.js → chunk-LOXR7Q77.js} +6 -6
- package/dist/{chunk-ORLJK7UT.js → chunk-MOBYKKTR.js} +7 -7
- package/dist/{chunk-NJ6IJFKR.js → chunk-MRZMJPYA.js} +1 -1
- package/dist/{chunk-OKAAVLLW.js → chunk-MXEZN6SV.js} +4 -4
- package/dist/{chunk-7GUD2FIF.js → chunk-N63KZWYP.js} +1 -1
- package/dist/{chunk-UKEJBA5Y.js → chunk-NHYV24WJ.js} +4 -4
- package/dist/{chunk-SASWFX22.js → chunk-NTPBHL6U.js} +1 -1
- package/dist/{chunk-QMCWSBQO.js → chunk-O4BVDRKJ.js} +2 -2
- package/dist/{chunk-QH5NV7EQ.js → chunk-PFSUX4MQ.js} +7 -7
- package/dist/{chunk-SIGBRVEF.js → chunk-Q3QA4DTV.js} +18 -5
- package/dist/{chunk-DKTXQ7XQ.js → chunk-QPSLXP6A.js} +2 -2
- package/dist/{chunk-F3RBGMHL.js → chunk-QR6XP6BJ.js} +1 -1
- package/dist/{chunk-USINHGZI.js → chunk-RIYSVN6V.js} +3 -3
- package/dist/{chunk-36M66QKN.js → chunk-SBZX6XP6.js} +2 -1
- package/dist/{chunk-VQ6ZKSNL.js → chunk-T34WBDIO.js} +1 -1
- package/dist/{chunk-ABRGN5OA.js → chunk-TFAAVSYJ.js} +4 -4
- package/dist/{chunk-UWLCJZ45.js → chunk-TNUJXYK6.js} +1 -1
- package/dist/{chunk-VNHCN75M.js → chunk-TYXZTMZK.js} +1 -1
- package/dist/{chunk-3BEMKOFH.js → chunk-U5NUHRGX.js} +1 -1
- package/dist/{chunk-AJ3YUM23.js → chunk-UIS6E64L.js} +1 -1
- package/dist/{chunk-33XLQIV4.js → chunk-UOCYI5SA.js} +3 -3
- package/dist/{chunk-AMFCM4H7.js → chunk-UPIXYW7Y.js} +3 -3
- package/dist/{chunk-QBJ7MMOT.js → chunk-V6FY4BRV.js} +16 -5
- package/dist/{chunk-3SHX2D37.js → chunk-VZ3T5MPT.js} +5 -5
- package/dist/{chunk-TH3K67SR.js → chunk-WJMA4BRG.js} +9 -9
- package/dist/{chunk-BECC4325.js → chunk-WR53L7RZ.js} +8 -8
- package/dist/{chunk-DULO2L5B.js → chunk-WVTBZX4K.js} +1 -1
- package/dist/{chunk-TMROYEP4.js → chunk-YRJI2ZKT.js} +4 -4
- package/dist/{chunk-PDPBWX67.js → chunk-ZN4444RL.js} +17 -6
- package/dist/{claude-launcher-GIT7VNYK.js → claude-launcher-XHIHOO4U.js} +8 -8
- package/dist/{cli-Y5CRBNQQ.js → cli-VZUDY3VM.js} +168 -159
- package/dist/{cli-update-notice-OC4SOSZE.js → cli-update-notice-PCJN5ZKP.js} +2 -2
- package/dist/{command-2RX7FULE.js → command-TWK2QQ5J.js} +53 -53
- package/dist/config-JMTO5H4U.js +22 -0
- package/dist/{connect-cmd-DSP6HJRP.js → connect-cmd-JPHOQZBW.js} +15 -15
- package/dist/{container-start-DFFZVSGX.js → container-start-IWW2OVWT.js} +51 -51
- package/dist/{context-cleanup-FIQMPC6F.js → context-cleanup-CTKOHNCW.js} +5 -5
- package/dist/{context-show-cmd-BPZX3OUE.js → context-show-cmd-WO6B7UUZ.js} +16 -16
- package/dist/{control-plane-launch-IIHRG233.js → control-plane-launch-OZLAMALE.js} +16 -16
- package/dist/{demo-record-cmd-PI7QDFRP.js → demo-record-cmd-47RXW75H.js} +9 -9
- package/dist/{demo-voice-cmd-CMCPERTJ.js → demo-voice-cmd-ENFCUFP6.js} +22 -22
- package/dist/{dist-JSSJSW2B.js → dist-7JDEWP5U.js} +2 -2
- package/dist/docker-KC5ZFIK5.js +20 -0
- package/dist/{doctor-ZVHGEA3C.js → doctor-3XXCQPUZ.js} +53 -53
- package/dist/emit-artifact-cmd-5YXDBVXP.js +44 -0
- package/dist/{emit-cmd-QGVMVSLS.js → emit-cmd-VETPASRD.js} +8 -8
- package/dist/emit-criteria-cmd-5GBTQL3J.js +35 -0
- package/dist/{emit-demo-cmd-KLYEKCB3.js → emit-demo-cmd-2YTSDKEN.js} +22 -22
- package/dist/{emit-finding-cmd-FZWK3Y4Q.js → emit-finding-cmd-RXR5O2RB.js} +18 -18
- package/dist/{emit-result-cmd-TODAXDFJ.js → emit-result-cmd-ND72YSHC.js} +20 -20
- package/dist/{emit-step-cmd-QI52ZB57.js → emit-step-cmd-NXRZAW3R.js} +18 -18
- package/dist/{exec-client-YQCKCZGW.js → exec-client-RQ2WBQYI.js} +9 -9
- package/dist/find-unit-6YALHLSE.js +24 -0
- package/dist/{findings-cmd-O7I2GKRO.js → findings-cmd-OHZRCVPV.js} +18 -18
- package/dist/{fleet-readiness-BY7PY5FF.js → fleet-readiness-QTBZ322P.js} +16 -16
- package/dist/governing-source-LOIIVNWG.js +41 -0
- package/dist/guest-init-R3Z35NG7.js +20 -0
- package/dist/{hook-fast-3BGU6BF2.js → hook-fast-BEFGAPAW.js} +3 -3
- package/dist/{hook-install-6H6W4UM2.js → hook-install-Y6ZL3OT2.js} +5 -5
- package/dist/host-checks-3OKNIXBF.js +80 -0
- package/dist/host-key-JDLHIUNO.js +18 -0
- package/dist/{image-tag-IJKYPT6D.js → image-tag-BAA6APVR.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-65RN5X55.js → init-IE5IGNVE.js} +49 -49
- package/dist/init-LGMYM54E.js +80 -0
- package/dist/{init-agent-R4ZOEFI3.js → init-agent-YBLFXWPL.js} +49 -49
- package/dist/{init-cmd-L4EFMAQ4.js → init-cmd-VKCXBALQ.js} +29 -29
- package/dist/{init-update-ACLVXFS7.js → init-update-EJS5G2XZ.js} +26 -26
- package/dist/install-cmd-7LUZQZMJ.js +21 -0
- package/dist/{layout-MBCG2IHB.js → layout-IZ6XCHGG.js} +5 -5
- package/dist/{login-browser-COSWHZEC.js → login-browser-LSZKECIB.js} +2 -2
- package/dist/{logs-VX2SXLJH.js → logs-WVO5SCTN.js} +8 -8
- package/dist/loop-ZMIBNWIP.js +90 -0
- package/dist/machine-WILRS4XJ.js +80 -0
- package/dist/{machine-skills-RPKQK52T.js → machine-skills-SDIQFRIX.js} +5 -5
- package/dist/{mcp-install-cmd-GN2K2JM3.js → mcp-install-cmd-GF2QAYQE.js} +5 -5
- package/dist/{mcp-serve-cmd-P34CQIBX.js → mcp-serve-cmd-RB3NBRP7.js} +11 -11
- package/dist/{paths-HV3G2EHE.js → paths-W2U4BYFR.js} +8 -8
- package/dist/pending-ZYVVCMCB.js +18 -0
- package/dist/{pidfile-4ZG5I7ZR.js → pidfile-ZIDS3G5J.js} +9 -9
- package/dist/{record-3XWPD2UP.js → record-I6XI5YWE.js} +9 -9
- package/dist/{relay-ZOWT4YLQ.js → relay-MUBJFLEI.js} +6 -6
- package/dist/{relay-protocol-FDFEVLQT.js → relay-protocol-UK2KZKGH.js} +6 -6
- package/dist/{run-cmd-ZVNOKJB3.js → run-cmd-KPAN5DTB.js} +18 -18
- package/dist/{runner-agents-3NUGNJD6.js → runner-agents-3ZKMPZ2D.js} +5 -5
- package/dist/runner-env-IKUFXCUV.js +24 -0
- package/dist/{runner-identity-F2Z3TXJ7.js → runner-identity-UMODOKXV.js} +11 -11
- package/dist/{runner-key-AOK7W733.js → runner-key-4VZCSL73.js} +49 -49
- package/dist/{session-sender-V3INPB34.js → session-sender-CCXS5LKC.js} +21 -21
- package/dist/{spec-cmd-LYGXRFVY.js → spec-cmd-UX6VYKE6.js} +109 -22
- package/dist/{starter-pack-7QA7J5FT.js → starter-pack-EQL24NLF.js} +6 -6
- package/dist/state-MD27KY5N.js +18 -0
- package/dist/{status-SPPT7WU5.js → status-IRQ5N2CN.js} +49 -49
- package/dist/{sync-cmd-EDSOKOXS.js → sync-cmd-OCHEVJDU.js} +20 -20
- package/dist/update-steps-PCZORLEO.js +81 -0
- package/dist/{watch-GBDNXFAK.js → watch-DDSNYG5M.js} +20 -20
- package/dist/{work-claim-cmd-SHKDYS7J.js → work-claim-cmd-2YYRYOPS.js} +27 -27
- package/dist/work-cmd-PRMB5ETL.js +33 -0
- package/dist/work-comment-cmd-7SOO2JXW.js +39 -0
- package/dist/{work-demo-cmd-YJ654BQP.js → work-demo-cmd-P7AXOVMK.js} +18 -18
- package/dist/{work-logs-cmd-RUNYYALP.js → work-logs-cmd-PUE23KB5.js} +18 -18
- package/dist/{work-needs-attention-cmd-NRDFGJPP.js → work-needs-attention-cmd-SJ6P2V3S.js} +18 -18
- package/dist/{work-no-change-cmd-FDA7PYB7.js → work-no-change-cmd-6FLPOK7M.js} +18 -18
- package/dist/{work-open-pr-cmd-LEWPNTW5.js → work-open-pr-cmd-FTZSIWOM.js} +19 -19
- package/dist/work-pr-cmd-ZOCB54YC.js +34 -0
- package/dist/{work-proofs-cmd-QKIEJJRF.js → work-proofs-cmd-7HOVHHCL.js} +20 -20
- package/dist/{work-proofs-record-2M4A5OIF.js → work-proofs-record-YWUBA3IS.js} +26 -26
- package/dist/{work-stop-cmd-HH2SSJIO.js → work-stop-cmd-LKDWZL24.js} +18 -18
- package/package.json +3 -3
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +10 -4
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +15 -5
- package/skill-pack/maintained/outerlayer-revise/SKILL.md +68 -0
- package/dist/agent-setup-U4XTZO56.js +0 -40
- package/dist/caller-PW7R46M7.js +0 -23
- package/dist/config-AOOR5BPQ.js +0 -22
- package/dist/docker-6MPPSTR4.js +0 -20
- package/dist/emit-artifact-cmd-VJ3C36RU.js +0 -44
- package/dist/emit-criteria-cmd-UOHOOSVV.js +0 -35
- package/dist/find-unit-YT25OH3F.js +0 -24
- package/dist/governing-source-XRLJFSPE.js +0 -41
- package/dist/guest-init-X2HLNETS.js +0 -20
- package/dist/host-checks-U5JKQQMM.js +0 -80
- package/dist/host-key-KQ6JWRB4.js +0 -18
- package/dist/init-CYTHJSTQ.js +0 -80
- package/dist/install-cmd-DHIVJEBO.js +0 -21
- package/dist/loop-4ATDJGQV.js +0 -90
- package/dist/machine-UIA7MN3U.js +0 -80
- package/dist/pending-I2EJ7TMY.js +0 -18
- package/dist/runner-env-JS2WDB5L.js +0 -24
- package/dist/state-64OMLIN4.js +0 -18
- package/dist/update-steps-XPEATLFQ.js +0 -81
- package/dist/work-cmd-QR62TX6Q.js +0 -33
- package/dist/work-comment-cmd-DUDVMT6U.js +0 -39
- package/dist/work-pr-cmd-Y4O34WDA.js +0 -34
|
@@ -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-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-U5NUHRGX.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-3FN6JADD.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-NTPBHL6U.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-ZN4444RL.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
4
4
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
|
-
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-
|
|
6
|
+
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-A3NJSQPK.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { deadHooksState, huskyPrepareScript, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
9
9
|
import { hookCodec } from './chunk-PLVHIQJN.js';
|
|
@@ -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-Y6ZL3OT2.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-CTKOHNCW.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-OZLAMALE.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,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-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-ZN4444RL.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
|
-
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
4
|
-
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-ZN4444RL.js';
|
|
4
|
+
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-AW3N24L5.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import { randomBytes } from 'crypto';
|
|
@@ -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-3LOW5W6T.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-FM4OXL5V.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-UIS6E64L.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-CT7X6XGR.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-V6FY4BRV.js';
|
|
9
|
+
import { signerFor } from './chunk-CPXQLO4X.js';
|
|
10
|
+
import { pidFilePath } from './chunk-WVTBZX4K.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -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-6AORV65Z.js';
|
|
4
|
+
import { strippedVariables } from './chunk-SBZX6XP6.js';
|
|
5
|
+
import { defaultAgents } from './chunk-ZN4444RL.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-7GJEQXOH.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';
|
|
@@ -489,6 +489,19 @@ function parseClaimedRepositories(value) {
|
|
|
489
489
|
const at = primaryAt === -1 ? 0 : primaryAt;
|
|
490
490
|
return [{ ...parsed[at], primary: true }, ...parsed.filter((_, index) => index !== at).map((entry) => ({ ...entry, primary: false }))];
|
|
491
491
|
}
|
|
492
|
+
function parseBranchlessRepositories(value) {
|
|
493
|
+
if (!Array.isArray(value) || value.length === 0) return void 0;
|
|
494
|
+
const parsed = [];
|
|
495
|
+
for (const entry of value) {
|
|
496
|
+
if (typeof entry !== "object" || entry === null) return null;
|
|
497
|
+
const { repository, primary } = entry;
|
|
498
|
+
if (typeof repository !== "string" || repository === "") return null;
|
|
499
|
+
parsed.push({ repository, primary: primary === true });
|
|
500
|
+
}
|
|
501
|
+
const primaryAt = parsed.findIndex((entry) => entry.primary);
|
|
502
|
+
const at = primaryAt === -1 ? 0 : primaryAt;
|
|
503
|
+
return [{ ...parsed[at], primary: true }, ...parsed.filter((_, index) => index !== at).map((entry) => ({ ...entry, primary: false }))];
|
|
504
|
+
}
|
|
492
505
|
function parseUnreachable(value) {
|
|
493
506
|
if (!Array.isArray(value)) return [];
|
|
494
507
|
const entries = [];
|
|
@@ -1315,4 +1328,4 @@ async function startBuildServices(input) {
|
|
|
1315
1328
|
}
|
|
1316
1329
|
}
|
|
1317
1330
|
|
|
1318
|
-
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE, STAND_IN, SandboxError, applyTrust, authorEnvironment, buildAuthorityFor, buildEnvironment, carried6to4, checkEnvironment, checkoutPath, classifyAddress, commitIdentityRecord, containerLocalAddress, createSandboxClient, describeSandboxError, destinationEnvironment, dropBuildAuthority, droppedRequestHeaders, hasDotDotSegment, headerVariables, heldBuildAuthority, hostKeyOf, isMiseVariableAllowed, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseProxied, parseUnreachable, primaryOf, proxyEnvironment, readBundleScript, repositoriesOf, repositoryPath, resolveDestinations, routeNameOf, sandboxSettingsFrom, sharedUserEnvironment, startBuildServices, tokenHeader, toolProxyEnvironment, trustEnvironment, variableForPath, variablesFor, withGitConfig, withHooksPath, withMiseVariables, withTokenHeader, withTunnelRecord, writeTrustFiles };
|
|
1331
|
+
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE, STAND_IN, SandboxError, applyTrust, authorEnvironment, buildAuthorityFor, buildEnvironment, carried6to4, checkEnvironment, checkoutPath, classifyAddress, commitIdentityRecord, containerLocalAddress, createSandboxClient, describeSandboxError, destinationEnvironment, dropBuildAuthority, droppedRequestHeaders, hasDotDotSegment, headerVariables, heldBuildAuthority, hostKeyOf, isMiseVariableAllowed, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseBranchlessRepositories, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseProxied, parseUnreachable, primaryOf, proxyEnvironment, readBundleScript, repositoriesOf, repositoryPath, resolveDestinations, routeNameOf, sandboxSettingsFrom, sharedUserEnvironment, startBuildServices, tokenHeader, toolProxyEnvironment, trustEnvironment, variableForPath, variablesFor, withGitConfig, withHooksPath, withMiseVariables, withTokenHeader, withTunnelRecord, writeTrustFiles };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-CPXQLO4X.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
|
-
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-
|
|
6
|
+
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-A3NJSQPK.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-ZN4444RL.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-FBLO2U6D.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-ZN4444RL.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
8
|
-
import { MAINTAINED_SKILLS } from './chunk-
|
|
8
|
+
import { MAINTAINED_SKILLS } from './chunk-AW3N24L5.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
10
10
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-ZN4444RL.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -176,6 +176,7 @@ function headlessNames(agents = defaultAgents()) {
|
|
|
176
176
|
return headlessAgents(agents).map((agent) => runnerNameOf(agent.descriptor));
|
|
177
177
|
}
|
|
178
178
|
function queuePrompt(queue) {
|
|
179
|
+
if (queue === "revise") return "/outerlayer-revise";
|
|
179
180
|
return queue === "implement" ? "/build" : "/outerlayer-amend";
|
|
180
181
|
}
|
|
181
182
|
function agentCommands(name, agents = defaultAgents()) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-EWKNMUPI.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,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-Q3QA4DTV.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-6AORV65Z.js';
|
|
5
|
+
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-SBZX6XP6.js';
|
|
6
|
+
import { defaultAgents } from './chunk-ZN4444RL.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -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-WVTBZX4K.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-ZN4444RL.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -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-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-Q3QA4DTV.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-6AORV65Z.js';
|
|
5
|
+
import { defaultAgents } from './chunk-ZN4444RL.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-3LOW5W6T.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-KUM6RRPC.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-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-KC5ZFIK5.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,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-3V5B7M5Q.js';
|
|
4
|
+
import { parseSize } from './chunk-CJEWYQ46.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-Q3QA4DTV.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-SBZX6XP6.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';
|
|
@@ -149,6 +149,14 @@ function resolveSandbox(block, build, report) {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
// src/runner/config.ts
|
|
152
|
+
function readOnlyRemoteOf(queue) {
|
|
153
|
+
if (queue === "revise") return "revise";
|
|
154
|
+
return queue === "run" ? true : void 0;
|
|
155
|
+
}
|
|
156
|
+
function readOnlyOption(queue) {
|
|
157
|
+
const readOnly = readOnlyRemoteOf(queue);
|
|
158
|
+
return readOnly === void 0 ? {} : { readOnly };
|
|
159
|
+
}
|
|
152
160
|
var BUILTIN_CONTAINER = "builtin:container";
|
|
153
161
|
var PROCESS_HOOK = "builtin:process";
|
|
154
162
|
var BUILTIN_VM = "builtin:vm";
|
|
@@ -420,6 +428,9 @@ function loadRunnerConfig(configPath) {
|
|
|
420
428
|
if (runner.commands?.run !== void 0 && (typeof runner.commands.run !== "string" || runner.commands.run.trim() === "")) {
|
|
421
429
|
fail(configPath, "runner.commands.run", "must be a command line, or left out");
|
|
422
430
|
}
|
|
431
|
+
if (runner.commands?.revise !== void 0 && (typeof runner.commands.revise !== "string" || runner.commands.revise.trim() === "")) {
|
|
432
|
+
fail(configPath, "runner.commands.revise", "must be a command line, or left out");
|
|
433
|
+
}
|
|
423
434
|
if (fleet) {
|
|
424
435
|
for (const queue of RUNNER_QUEUES) {
|
|
425
436
|
if (!runner.commands?.[queue]) {
|
|
@@ -673,4 +684,4 @@ function egressLimitsOf(config) {
|
|
|
673
684
|
return resolveEgress(config.build?.egress, config.managed === true);
|
|
674
685
|
}
|
|
675
686
|
|
|
676
|
-
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, DEFAULT_WORKSPACE_KEEP_DAYS, EGRESS_SWITCHABLE_KEYS, MAX_ALLOW_HOSTS, RunnerConfigError, allowHostProblem, builtinKind, checkHooks, defaultRunnerConfigPath, egressSummary, emptyEgressCounts, hasRunnerBlock, hostAllowed, imageBuildOf, isBuiltinContainer, isBuiltinSandbox, isBuiltinVm, keepsHostBuilder, keyRunnerFactory, loadRunnerConfig, networkOf, optionalEgress, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerDeliversComments, runnerVmOf, sandboxSizeOf, sandboxTimeLimitMinutes, systemClock };
|
|
687
|
+
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, DEFAULT_WORKSPACE_KEEP_DAYS, EGRESS_SWITCHABLE_KEYS, MAX_ALLOW_HOSTS, RunnerConfigError, allowHostProblem, builtinKind, checkHooks, defaultRunnerConfigPath, egressSummary, emptyEgressCounts, hasRunnerBlock, hostAllowed, imageBuildOf, isBuiltinContainer, isBuiltinSandbox, isBuiltinVm, keepsHostBuilder, keyRunnerFactory, loadRunnerConfig, networkOf, optionalEgress, readOnlyOption, readOnlyRemoteOf, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerDeliversComments, runnerVmOf, sandboxSizeOf, sandboxTimeLimitMinutes, systemClock };
|
|
@@ -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-DULA3AYN.js';
|
|
5
|
+
import { autoConnect } from './chunk-AR3SCE7R.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QPSLXP6A.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-7GJEQXOH.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-5NVF5TAL.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-GXYVZZO7.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-26BFN6DH.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QPSLXP6A.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-CPXQLO4X.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-Q3QA4DTV.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-NHYV24WJ.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-RNCCRUT5.js';
|
|
@@ -16,11 +16,11 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-ZN4444RL.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
23
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-7GJEQXOH.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-5NVF5TAL.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
4
|
-
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
7
|
-
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-MXEZN6SV.js';
|
|
4
|
+
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-MRZMJPYA.js';
|
|
5
|
+
import { installStarterPack } from './chunk-RIYSVN6V.js';
|
|
6
|
+
import { listWithAnd } from './chunk-LOXR7Q77.js';
|
|
7
|
+
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-U5NUHRGX.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-33HBGNKZ.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-FBLO2U6D.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-
|
|
13
|
+
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-ZN4444RL.js';
|
|
14
14
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
15
15
|
import { execFileSync } from 'child_process';
|
|
16
16
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-WJMA4BRG.js';
|
|
4
|
+
import { spoolDir } from './chunk-NHYV24WJ.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-ZN4444RL.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-7GJEQXOH.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CLAUDE_CODE_HOOKS, OPENCODE_CODEC } from './chunk-PLVHIQJN.js';
|
|
4
4
|
import { CLAUDE_CODE, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-7PZDPISM.js';
|
|
5
|
-
import { MAINTAINED_SKILLS } from './chunk-
|
|
5
|
+
import { MAINTAINED_SKILLS } from './chunk-AW3N24L5.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-
|
|
9
|
-
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-7GJEQXOH.js';
|
|
9
|
+
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-5NVF5TAL.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
12
|
import { join as join$1, dirname, sep, basename, relative, delimiter } from 'path';
|
|
@@ -10452,20 +10452,31 @@ function judge(input) {
|
|
|
10452
10452
|
];
|
|
10453
10453
|
return { program: createClaudeCodeImage().program, args, env, driver: "exec", exitFrom: "code" };
|
|
10454
10454
|
}
|
|
10455
|
+
function readUsage2(parsed) {
|
|
10456
|
+
const count = (value) => typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : void 0;
|
|
10457
|
+
const turns = count(parsed.num_turns);
|
|
10458
|
+
const costUsd = count(parsed.total_cost_usd);
|
|
10459
|
+
const durationMs = count(parsed.duration_ms);
|
|
10460
|
+
if (turns === void 0 && costUsd === void 0 && durationMs === void 0) return void 0;
|
|
10461
|
+
return { ...turns === void 0 ? {} : { turns }, ...costUsd === void 0 ? {} : { costUsd }, ...durationMs === void 0 ? {} : { durationMs } };
|
|
10462
|
+
}
|
|
10455
10463
|
function readJudgeOutput(stdout) {
|
|
10456
10464
|
try {
|
|
10457
10465
|
const parsed = JSON.parse(stdout);
|
|
10458
10466
|
if (typeof parsed !== "object" || parsed === null) return void 0;
|
|
10459
10467
|
const { subtype, result } = parsed;
|
|
10460
|
-
|
|
10461
|
-
|
|
10468
|
+
const usage = readUsage2(parsed);
|
|
10469
|
+
const withUsage = usage === void 0 ? {} : { usage };
|
|
10470
|
+
if (subtype === "error_max_turns") return { kind: "turn-limit", ...withUsage };
|
|
10471
|
+
return { kind: "text", text: typeof result === "string" ? result : "", ...withUsage };
|
|
10462
10472
|
} catch {
|
|
10463
10473
|
return void 0;
|
|
10464
10474
|
}
|
|
10465
10475
|
}
|
|
10466
10476
|
var QUEUE_FLAGS = {
|
|
10467
10477
|
implement: "--model opus --effort medium",
|
|
10468
|
-
amend: "--model sonnet --effort medium"
|
|
10478
|
+
amend: "--model sonnet --effort medium",
|
|
10479
|
+
revise: "--model sonnet --effort medium"
|
|
10469
10480
|
};
|
|
10470
10481
|
var JOB_ENV = {
|
|
10471
10482
|
BASH_DEFAULT_TIMEOUT_MS: "1500000",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { withInjectedPrograms } from './chunk-
|
|
4
|
-
import { sharedSkillNames } from './chunk-
|
|
3
|
+
import { withInjectedPrograms } from './chunk-QR6XP6BJ.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-6VHBQBHL.js';
|
|
5
5
|
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import { defaultAgents, agentById, legacyAgent } from './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-O4BVDRKJ.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-ZN4444RL.js';
|
|
9
9
|
import './chunk-PLVHIQJN.js';
|
|
10
10
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-AW3N24L5.js';
|
|
12
12
|
import './chunk-RA3O54FC.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-7GJEQXOH.js';
|
|
15
|
+
import './chunk-5NVF5TAL.js';
|
|
16
16
|
import './chunk-Z5GEFMRW.js';
|
|
17
17
|
import { spawn, execFileSync } from 'child_process';
|
|
18
18
|
import { existsSync, readdirSync, lstatSync, readFileSync, writeFileSync, rmSync, mkdirSync, realpathSync, symlinkSync, renameSync, readlinkSync, statSync } from 'fs';
|
|
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
325
325
|
return 1;
|
|
326
326
|
}
|
|
327
327
|
} else {
|
|
328
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-OZLAMALE.js');
|
|
329
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
330
330
|
if (plane.kind === "none") {
|
|
331
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|