@outerlayer/cli 0.38.0-next.20261111220050 → 0.38.0-next.20261112002049
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 +4 -0
- package/dist/{agent-setup-P77VERNT.js → agent-setup-3GY4FFSC.js} +19 -19
- package/dist/{agent-subcommand-MLVQVTVU.js → agent-subcommand-VDN4AFAJ.js} +3 -3
- package/dist/{bridge-CVHBKOFU.js → bridge-QUQYCBQN.js} +6 -6
- package/dist/{build-KVJM6PMC.js → build-SD44TP2B.js} +12 -12
- package/dist/{build-disk-H6ZN32KR.js → build-disk-4PCVGMAT.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-3LUEEVSN.js → builder-JG2DHKSN.js} +9 -9
- package/dist/caller-A2K7SLSL.js +23 -0
- package/dist/{check-V2TITR5P.js → check-JNQVYVHI.js} +54 -54
- package/dist/{chunk-E532PUGI.js → chunk-2UCTMANO.js} +1 -1
- package/dist/{chunk-DULA3AYN.js → chunk-2VJVPP5Y.js} +1 -1
- package/dist/{chunk-3V5B7M5Q.js → chunk-3C23ZPWR.js} +2 -2
- package/dist/{chunk-WJMA4BRG.js → chunk-3T7PXUHN.js} +6 -6
- package/dist/{chunk-B4HUGT3L.js → chunk-3VWX5BYV.js} +15 -14
- package/dist/{chunk-33HBGNKZ.js → chunk-43R7JHQI.js} +5 -5
- package/dist/{chunk-Q3QA4DTV.js → chunk-4FHDVWKO.js} +3 -3
- package/dist/{chunk-F4Q4Y7ZE.js → chunk-4T2NBVC4.js} +5 -5
- package/dist/{chunk-KUNRGSPX.js → chunk-5NK2KKG6.js} +3 -3
- package/dist/{chunk-CT7X6XGR.js → chunk-5OSY3LK3.js} +22 -8
- package/dist/{chunk-MXEZN6SV.js → chunk-5TMM2K23.js} +4 -4
- package/dist/{chunk-AR3SCE7R.js → chunk-5UFAWMET.js} +2 -2
- package/dist/{chunk-LF4BHMEG.js → chunk-6FB7NTJK.js} +1 -1
- package/dist/{chunk-TYXZTMZK.js → chunk-6X2BSMRM.js} +1 -1
- package/dist/{chunk-DPMUZ2QT.js → chunk-722KABMV.js} +1 -1
- package/dist/{chunk-KGDFBO3G.js → chunk-7DIYEB3X.js} +4 -4
- package/dist/{chunk-5FTUUXBK.js → chunk-A4NWDCWS.js} +5 -5
- package/dist/{chunk-FBLO2U6D.js → chunk-B2SHUO6J.js} +1 -1
- package/dist/{chunk-TNUJXYK6.js → chunk-BBRXFXBB.js} +1 -1
- package/dist/{chunk-VZ3T5MPT.js → chunk-BJIJYPGC.js} +3 -3
- package/dist/{chunk-3XZ66FRV.js → chunk-C4R6LMPQ.js} +10 -10
- package/dist/{chunk-WR53L7RZ.js → chunk-DLUBSTLW.js} +8 -8
- package/dist/{chunk-CAL6L5DK.js → chunk-DZFIRKDZ.js} +3 -3
- package/dist/{chunk-YRJI2ZKT.js → chunk-ECNWHXIO.js} +3 -3
- package/dist/{chunk-6AORV65Z.js → chunk-EJ7ZXBXS.js} +2 -2
- package/dist/{chunk-AW3N24L5.js → chunk-ELPP5OHC.js} +1 -1
- package/dist/{chunk-CJEWYQ46.js → chunk-ERG3WCEC.js} +7 -7
- package/dist/{chunk-V6FY4BRV.js → chunk-EUHUIIGT.js} +4 -4
- package/dist/{chunk-AUBLZPCA.js → chunk-FUZEOWF4.js} +1 -1
- package/dist/{chunk-CPXQLO4X.js → chunk-I5U6CFH4.js} +1 -1
- package/dist/{chunk-6VHBQBHL.js → chunk-I62FX622.js} +2 -2
- package/dist/{chunk-MOBYKKTR.js → chunk-IGBPPM7F.js} +5 -5
- package/dist/{chunk-SBZX6XP6.js → chunk-J6KKJGR7.js} +1 -1
- package/dist/{chunk-WVTBZX4K.js → chunk-JIANCWJ3.js} +1 -1
- package/dist/{chunk-C6OQ45AS.js → chunk-KVWFAAAQ.js} +1 -1
- package/dist/{chunk-RIYSVN6V.js → chunk-KZU5WQK5.js} +3 -3
- package/dist/{chunk-A3NJSQPK.js → chunk-LVELQ635.js} +1 -1
- package/dist/{chunk-3FN6JADD.js → chunk-MVERFCX4.js} +1 -1
- package/dist/{chunk-EVME7MT6.js → chunk-N6BNN6ZD.js} +1 -1
- package/dist/{chunk-UIS6E64L.js → chunk-NDQC2WUJ.js} +1 -1
- package/dist/{chunk-TFAAVSYJ.js → chunk-NO4N4D32.js} +4 -4
- package/dist/{chunk-UOCYI5SA.js → chunk-NRDFBOKE.js} +3 -3
- package/dist/{chunk-34VR5LPD.js → chunk-OAPWDSBW.js} +2 -2
- package/dist/{chunk-3LOW5W6T.js → chunk-OTWTUHWY.js} +93 -42
- package/dist/{chunk-BU4O4T7X.js → chunk-OYRAQXRQ.js} +4 -4
- package/dist/{chunk-QPSLXP6A.js → chunk-PCGU6T7J.js} +2 -2
- package/dist/{chunk-EWKNMUPI.js → chunk-POBH5YCG.js} +1 -1
- package/dist/{chunk-LEIO5LD3.js → chunk-Q7J4T2VP.js} +7 -7
- package/dist/{chunk-ZN4444RL.js → chunk-QYLBGMTA.js} +1 -1
- package/dist/{chunk-COTJ2FIL.js → chunk-RCK2MJRG.js} +2 -2
- package/dist/{chunk-QR6XP6BJ.js → chunk-RUX4M4AX.js} +1 -1
- package/dist/{chunk-3RAAAAPL.js → chunk-SFSE6YDX.js} +55 -15
- package/dist/{chunk-MRZMJPYA.js → chunk-SLORYOL4.js} +1 -1
- package/dist/{chunk-PFSUX4MQ.js → chunk-T4FSZ7LA.js} +7 -7
- package/dist/{chunk-KUM6RRPC.js → chunk-UXARYJQ4.js} +1 -1
- package/dist/{chunk-BKAUXDXK.js → chunk-VBSKVGWP.js} +7 -7
- package/dist/{chunk-FYIISGXR.js → chunk-VRDHLSR2.js} +7 -7
- package/dist/{chunk-UPIXYW7Y.js → chunk-VV445Q2R.js} +3 -3
- package/dist/{chunk-NHYV24WJ.js → chunk-W7BF2RXV.js} +4 -4
- package/dist/{chunk-N63KZWYP.js → chunk-WFYKTAXZ.js} +1 -1
- package/dist/{chunk-FM4OXL5V.js → chunk-WG5OBUIZ.js} +6 -6
- package/dist/{chunk-GRNA7FHI.js → chunk-Y25ONBS6.js} +3 -3
- package/dist/{chunk-GXYVZZO7.js → chunk-Y5S6EUGK.js} +3 -3
- package/dist/{chunk-AS3DUHKZ.js → chunk-YZVNZWKD.js} +4 -4
- package/dist/{chunk-LOXR7Q77.js → chunk-Z42UKOZ6.js} +3 -3
- package/dist/{chunk-NTPBHL6U.js → chunk-Z7XFVFW2.js} +1 -1
- package/dist/{chunk-U5NUHRGX.js → chunk-ZCX43KZ5.js} +1 -1
- package/dist/{chunk-T34WBDIO.js → chunk-ZH5YLKO6.js} +1 -1
- package/dist/{chunk-O4BVDRKJ.js → chunk-ZJHWXRT4.js} +2 -2
- package/dist/{chunk-6LYKHTC2.js → chunk-ZU6LNR3G.js} +3 -3
- package/dist/{chunk-544OP3E4.js → chunk-ZUUA6ZGD.js} +35 -32
- package/dist/{claude-launcher-XHIHOO4U.js → claude-launcher-5ALZD5WD.js} +6 -6
- package/dist/{cli-VZUDY3VM.js → cli-2FFCAE62.js} +155 -154
- package/dist/{cli-update-notice-PCJN5ZKP.js → cli-update-notice-XZ7I7OWP.js} +2 -2
- package/dist/{command-TWK2QQ5J.js → command-ASXZLHXU.js} +49 -49
- package/dist/{config-JMTO5H4U.js → config-5KMNGNK5.js} +11 -11
- package/dist/{connect-cmd-JPHOQZBW.js → connect-cmd-XR7XPGQ6.js} +11 -11
- package/dist/{container-start-IWW2OVWT.js → container-start-6FHPPHMU.js} +47 -47
- package/dist/{context-cleanup-CTKOHNCW.js → context-cleanup-HHMQV7KH.js} +3 -3
- package/dist/{context-show-cmd-WO6B7UUZ.js → context-show-cmd-4EKSCIF4.js} +12 -12
- package/dist/{control-plane-launch-OZLAMALE.js → control-plane-launch-AJPCKLBL.js} +14 -14
- package/dist/{demo-record-cmd-47RXW75H.js → demo-record-cmd-LVZOYPR7.js} +7 -7
- package/dist/{demo-voice-cmd-ENFCUFP6.js → demo-voice-cmd-DT6VFD2U.js} +18 -18
- package/dist/{docker-KC5ZFIK5.js → docker-T7A6GZDD.js} +9 -9
- package/dist/{doctor-3XXCQPUZ.js → doctor-FATFZWEA.js} +49 -49
- package/dist/{emit-artifact-cmd-5YXDBVXP.js → emit-artifact-cmd-B5ZYJKFM.js} +17 -17
- package/dist/{emit-cmd-VETPASRD.js → emit-cmd-P2XWWVFP.js} +6 -6
- package/dist/{emit-criteria-cmd-5GBTQL3J.js → emit-criteria-cmd-RHFJYNSU.js} +14 -14
- package/dist/{emit-demo-cmd-2YTSDKEN.js → emit-demo-cmd-WELKVLD4.js} +18 -18
- package/dist/{emit-finding-cmd-RXR5O2RB.js → emit-finding-cmd-KRNEWZQP.js} +14 -14
- package/dist/{emit-result-cmd-ND72YSHC.js → emit-result-cmd-NQ6LAE4Z.js} +16 -16
- package/dist/{emit-step-cmd-NXRZAW3R.js → emit-step-cmd-HKOYFSYL.js} +14 -14
- package/dist/{exec-client-RQ2WBQYI.js → exec-client-2JSXFMEW.js} +7 -7
- package/dist/find-unit-3QYPTK6A.js +24 -0
- package/dist/{findings-cmd-OHZRCVPV.js → findings-cmd-EF4QXYRT.js} +14 -14
- package/dist/{fleet-readiness-QTBZ322P.js → fleet-readiness-NBYN45IT.js} +13 -13
- package/dist/{governing-source-LOIIVNWG.js → governing-source-C7MY7KB2.js} +19 -19
- package/dist/{guest-init-R3Z35NG7.js → guest-init-FX2NUAW6.js} +8 -8
- package/dist/{hook-fast-BEFGAPAW.js → hook-fast-JZKCKSXB.js} +3 -3
- package/dist/{hook-install-Y6ZL3OT2.js → hook-install-R66RP7ME.js} +3 -3
- package/dist/host-checks-CZGNR4VC.js +80 -0
- package/dist/{host-key-JDLHIUNO.js → host-key-ACYKDZ4X.js} +7 -7
- package/dist/{image-tag-BAA6APVR.js → image-tag-H5CZTC42.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-IE5IGNVE.js → init-5S6A2SYN.js} +45 -45
- package/dist/init-WDYDTJW2.js +80 -0
- package/dist/{init-agent-YBLFXWPL.js → init-agent-PJFH7OFD.js} +45 -45
- package/dist/{init-cmd-VKCXBALQ.js → init-cmd-5SCU7AVL.js} +25 -25
- package/dist/{init-update-EJS5G2XZ.js → init-update-6EJKXKFH.js} +32 -26
- package/dist/{install-cmd-7LUZQZMJ.js → install-cmd-TMUNQF7U.js} +9 -9
- package/dist/{layout-IZ6XCHGG.js → layout-LTYJDJ5J.js} +3 -3
- package/dist/{logs-WVO5SCTN.js → logs-ZEXFSBVF.js} +6 -6
- package/dist/loop-Q76PDO7L.js +90 -0
- package/dist/machine-GI6SZMEK.js +80 -0
- package/dist/{machine-skills-SDIQFRIX.js → machine-skills-CYCZGBAM.js} +3 -3
- package/dist/{mcp-install-cmd-GF2QAYQE.js → mcp-install-cmd-TVIOPOIO.js} +3 -3
- package/dist/{mcp-serve-cmd-RB3NBRP7.js → mcp-serve-cmd-OCQLRUAK.js} +9 -9
- package/dist/{paths-W2U4BYFR.js → paths-IB5XFML7.js} +6 -6
- package/dist/pending-TX4VIF6P.js +18 -0
- package/dist/{pidfile-ZIDS3G5J.js → pidfile-VET4I455.js} +7 -7
- package/dist/{record-I6XI5YWE.js → record-3V3HQRGY.js} +7 -7
- package/dist/{relay-MUBJFLEI.js → relay-V7LX2WR6.js} +4 -4
- package/dist/{relay-protocol-UK2KZKGH.js → relay-protocol-QGEWESBF.js} +4 -4
- package/dist/{run-cmd-KPAN5DTB.js → run-cmd-M5THCWDD.js} +14 -14
- package/dist/{runner-agents-3ZKMPZ2D.js → runner-agents-OTYZ73WU.js} +3 -3
- package/dist/{runner-env-IKUFXCUV.js → runner-env-3QPJQ2H2.js} +13 -13
- package/dist/{runner-identity-UMODOKXV.js → runner-identity-GTWFQEIN.js} +9 -9
- package/dist/{runner-key-4VZCSL73.js → runner-key-ZXNXWBSP.js} +45 -45
- package/dist/{session-sender-CCXS5LKC.js → session-sender-AEUNLU5R.js} +17 -17
- package/dist/{spec-cmd-UX6VYKE6.js → spec-cmd-4EB45ELL.js} +15 -15
- package/dist/{starter-pack-EQL24NLF.js → starter-pack-HMJWEIVX.js} +4 -4
- package/dist/{state-MD27KY5N.js → state-O3A3CIDQ.js} +7 -7
- package/dist/{status-IRQ5N2CN.js → status-R4JD34DO.js} +45 -45
- package/dist/{sync-cmd-OCHEVJDU.js → sync-cmd-2HOFZYI6.js} +16 -16
- package/dist/update-steps-CGWJJ2IA.js +81 -0
- package/dist/{watch-DDSNYG5M.js → watch-ZY62C5WB.js} +16 -16
- package/dist/{work-claim-cmd-2YYRYOPS.js → work-claim-cmd-4KQYRNRC.js} +21 -21
- package/dist/{work-cmd-PRMB5ETL.js → work-cmd-GNYWSA2O.js} +14 -14
- package/dist/{work-comment-cmd-7SOO2JXW.js → work-comment-cmd-7D3DHQ3O.js} +16 -16
- package/dist/{work-demo-cmd-P7AXOVMK.js → work-demo-cmd-PDILNMRF.js} +14 -14
- package/dist/{work-logs-cmd-PUE23KB5.js → work-logs-cmd-ER3AYV62.js} +14 -14
- package/dist/{work-needs-attention-cmd-SJ6P2V3S.js → work-needs-attention-cmd-MAFPEANV.js} +14 -14
- package/dist/{work-no-change-cmd-6FLPOK7M.js → work-no-change-cmd-GDN5EE6N.js} +14 -14
- package/dist/{work-open-pr-cmd-FTZSIWOM.js → work-open-pr-cmd-56TRIE5I.js} +15 -15
- package/dist/{work-pr-cmd-ZOCB54YC.js → work-pr-cmd-W3T6ELML.js} +14 -14
- package/dist/{work-proofs-cmd-7HOVHHCL.js → work-proofs-cmd-Y2OMM37N.js} +16 -16
- package/dist/{work-proofs-record-YWUBA3IS.js → work-proofs-record-I2VLOMRD.js} +22 -22
- package/dist/{work-stop-cmd-LKDWZL24.js → work-stop-cmd-PREZOSNY.js} +14 -14
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +8 -0
- package/skill-pack/maintained/outerlayer-spec/SKILL.md +149 -0
- package/skill-pack/maintained/outerlayer-spec/references/revise-an-issue.md +14 -0
- package/skill-pack/shipped.json +1 -0
- package/skill-pack/template/spec/SKILL.md +5 -120
- package/dist/caller-IMM277FA.js +0 -23
- package/dist/find-unit-6YALHLSE.js +0 -24
- package/dist/host-checks-3OKNIXBF.js +0 -80
- package/dist/init-LGMYM54E.js +0 -80
- package/dist/loop-ZMIBNWIP.js +0 -90
- package/dist/machine-WILRS4XJ.js +0 -80
- package/dist/pending-ZYVVCMCB.js +0 -18
- package/dist/update-steps-PCZORLEO.js +0 -81
|
@@ -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-LVELQ635.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-R66RP7ME.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-HHMQV7KH.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-AJPCKLBL.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,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-JIANCWJ3.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-EUHUIIGT.js';
|
|
4
|
+
import { parseSize } from './chunk-ERG3WCEC.js';
|
|
5
|
+
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-EJ7ZXBXS.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-J6KKJGR7.js';
|
|
8
|
+
import { defaultAgents } from './chunk-QYLBGMTA.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
4
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-PCGU6T7J.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
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-2VJVPP5Y.js';
|
|
5
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-26BFN6DH.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-PCGU6T7J.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';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-3T7PXUHN.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
6
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-26BFN6DH.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-PCGU6T7J.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-26BFN6DH.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-ZCX43KZ5.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-BUT777XB.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-PCGU6T7J.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-QYLBGMTA.js';
|
|
11
11
|
import { remoteLookupFailed } from './chunk-7GJEQXOH.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
@@ -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-QYLBGMTA.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -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-QYLBGMTA.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,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-POBH5YCG.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,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-QYLBGMTA.js';
|
|
4
|
+
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-ELPP5OHC.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import { randomBytes } from 'crypto';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-OTWTUHWY.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-WG5OBUIZ.js';
|
|
5
|
+
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-T4FSZ7LA.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { writeFleetState } from './chunk-
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
13
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
6
|
+
import { writeFleetState } from './chunk-6X2BSMRM.js';
|
|
7
|
+
import { writePendingUpdate } from './chunk-WFYKTAXZ.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-VV445Q2R.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-2UCTMANO.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-C4R6LMPQ.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-POBH5YCG.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-OTWTUHWY.js';
|
|
13
|
+
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-WG5OBUIZ.js';
|
|
15
|
+
import { RepoFilter } from './chunk-3T7PXUHN.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-UXARYJQ4.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-RCK2MJRG.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-NDQC2WUJ.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
30
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
31
|
-
import { cleanAttachmentName } from './chunk-
|
|
32
|
-
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-
|
|
33
|
-
import { defaultAgents } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-VBSKVGWP.js';
|
|
23
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-5OSY3LK3.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-EUHUIIGT.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-3C23ZPWR.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-ERG3WCEC.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-I5U6CFH4.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-JIANCWJ3.js';
|
|
29
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-4FHDVWKO.js';
|
|
30
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-EJ7ZXBXS.js';
|
|
31
|
+
import { cleanAttachmentName } from './chunk-W7BF2RXV.js';
|
|
32
|
+
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-J6KKJGR7.js';
|
|
33
|
+
import { defaultAgents } from './chunk-QYLBGMTA.js';
|
|
34
34
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
35
35
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
36
36
|
import { join, dirname } from 'path';
|
|
@@ -2573,7 +2573,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2573
2573
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2574
2574
|
);
|
|
2575
2575
|
async function tryClaimAndStart(state, item, queue) {
|
|
2576
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2576
|
+
const { postJson: postJson2 } = await import('./work-cmd-GNYWSA2O.js');
|
|
2577
2577
|
const log = logOf(state);
|
|
2578
2578
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2579
2579
|
const claim = await retrySend(
|
|
@@ -2711,7 +2711,7 @@ async function startClaimedBuild(state, item, queue, data, fleet) {
|
|
|
2711
2711
|
for (const entry of parseUnreachable(data.unreachable)) {
|
|
2712
2712
|
log.line(`${tag}: ${entry.repository} is left out of this build because its GitHub App installation is suspended`);
|
|
2713
2713
|
}
|
|
2714
|
-
const starting = startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true, data.diskHeldElsewhere === true, data.codeReview === true);
|
|
2714
|
+
const starting = startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true, data.diskHeldElsewhere === true, data.codeReview === true, void 0, data.continueSession === true);
|
|
2715
2715
|
const endStranded = async (err) => {
|
|
2716
2716
|
const stranded = [...state.jobs.values()].find((active) => active.job.claimId === claimId);
|
|
2717
2717
|
if (stranded === void 0) return false;
|
|
@@ -2762,9 +2762,9 @@ function wasExtended(claim) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
async function prepareSession(state, active, item, queue, tag) {
|
|
2764
2764
|
const job = active.job;
|
|
2765
|
-
const builtin = job.microvm !== void 0 || job.container !== void 0;
|
|
2765
|
+
const builtin = job.microvm !== void 0 || job.container !== void 0 || job.sandbox !== void 0;
|
|
2766
2766
|
const log = logOf(state);
|
|
2767
|
-
if (queue === "amend" && !builtin
|
|
2767
|
+
if (queue === "amend" && !builtin) {
|
|
2768
2768
|
job.disk = { restored: false, reason: "build_type_cannot_restore" };
|
|
2769
2769
|
writeJobFile(join(active.dirPath, "job.json"), job);
|
|
2770
2770
|
}
|
|
@@ -2774,12 +2774,14 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2774
2774
|
organizationId: job.organizationId,
|
|
2775
2775
|
workItemId: item.id,
|
|
2776
2776
|
queue,
|
|
2777
|
+
continueSession: job.continueSession === true,
|
|
2777
2778
|
builtin,
|
|
2778
2779
|
job,
|
|
2779
2780
|
requireScrubNote: state.config.managed === true,
|
|
2780
2781
|
restore: async ({ dir, meta }) => {
|
|
2781
2782
|
if (job.microvm !== void 0) await restoreSessionIntoMicroVm(runtimeOf(state), job.microvm, dir, meta, job);
|
|
2782
2783
|
else if (job.container !== void 0) await restoreSessionIntoContainer(runtimeOf(state), job.container, dir, meta, job);
|
|
2784
|
+
else if (job.sandbox !== void 0) await restoreSessionIntoSandbox(runtimeOf(state), job.sandbox, dir, meta, job);
|
|
2783
2785
|
},
|
|
2784
2786
|
log: (line) => log.line(`${tag} ${line}`)
|
|
2785
2787
|
}, state.deps.agents);
|
|
@@ -2791,7 +2793,7 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2791
2793
|
return void 0;
|
|
2792
2794
|
}
|
|
2793
2795
|
}
|
|
2794
|
-
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk, diskHeldElsewhere, codeReview, run) {
|
|
2796
|
+
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk, diskHeldElsewhere, codeReview, run, continueSession) {
|
|
2795
2797
|
const log = logOf(state);
|
|
2796
2798
|
const startedAt = nowOf(state);
|
|
2797
2799
|
const repositories = repositoriesOf({ repositories: claimed, repository: item.specRepository, branch });
|
|
@@ -2814,6 +2816,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2814
2816
|
...queue === "run" ? {} : { workItemId: item.id },
|
|
2815
2817
|
...run === void 0 ? {} : { run },
|
|
2816
2818
|
...freshDisk ? { freshDisk: true } : {},
|
|
2819
|
+
...continueSession ? { continueSession: true } : {},
|
|
2817
2820
|
...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
|
|
2818
2821
|
...codeReview === true ? { codeReview: true } : {},
|
|
2819
2822
|
...queue === "amend" && recordsProofsOnly(item) ? { proofsOnly: true } : {},
|
|
@@ -4061,7 +4064,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4061
4064
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4062
4065
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4063
4066
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4064
|
-
return (await import('./check-
|
|
4067
|
+
return (await import('./check-JNQVYVHI.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4065
4068
|
},
|
|
4066
4069
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4067
4070
|
log
|
|
@@ -1,14 +1,14 @@
|
|
|
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-RUX4M4AX.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-I62FX622.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-ZJHWXRT4.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-QYLBGMTA.js';
|
|
9
9
|
import './chunk-PLVHIQJN.js';
|
|
10
10
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-ELPP5OHC.js';
|
|
12
12
|
import './chunk-RA3O54FC.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import './chunk-7GJEQXOH.js';
|
|
@@ -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-AJPCKLBL.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);
|