@outerlayer/cli 0.38.0-next.20261105124419 → 0.38.0-next.20261105132355
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-JEUFYIPH.js → agent-setup-RXMEQ7PA.js} +18 -18
- package/dist/{agent-subcommand-GR6FUDOR.js → agent-subcommand-KPQGEOPQ.js} +3 -3
- package/dist/{bridge-POOKFVVM.js → bridge-F4BNXRM2.js} +6 -6
- package/dist/{build-L2I4A2E6.js → build-ZH5MAZNM.js} +12 -12
- package/dist/{build-disk-JXDTAY5A.js → build-disk-GPCMOIZV.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-MV5A5KOW.js → builder-ZMVXHOEJ.js} +9 -9
- package/dist/caller-J7FR4VBJ.js +23 -0
- package/dist/{check-LYPMBZU5.js → check-HXGQQAJS.js} +52 -52
- package/dist/{chunk-HZ7BKQH4.js → chunk-2C3XLYO5.js} +1 -1
- package/dist/{chunk-A75ZPAOP.js → chunk-2FDWTE6F.js} +5 -5
- package/dist/{chunk-LXZNM5VB.js → chunk-2RKPEUGK.js} +1 -1
- package/dist/{chunk-EL46EW3V.js → chunk-35RIDLSD.js} +2 -2
- package/dist/{chunk-BNYBHWYH.js → chunk-3B5H5MGB.js} +1 -1
- package/dist/{chunk-DPBSA2A3.js → chunk-3J7F3VGZ.js} +2 -2
- package/dist/{chunk-H3N7Q4ZE.js → chunk-3PR7BPMG.js} +5 -5
- package/dist/{chunk-P3KL3ZJF.js → chunk-45UZPTDQ.js} +1 -1
- package/dist/{chunk-L2PT4NRI.js → chunk-5M3KXOPY.js} +1 -1
- package/dist/{chunk-FBZE3LGM.js → chunk-64D2YZK5.js} +1 -1
- package/dist/{chunk-SKTLYF3W.js → chunk-6XYKZH3K.js} +5 -5
- package/dist/{chunk-FFEZDIDM.js → chunk-7476RWW6.js} +25 -25
- package/dist/{chunk-GDYUTUUU.js → chunk-AWRRWWA7.js} +8 -8
- package/dist/{chunk-H273QEFX.js → chunk-BMYIPXBG.js} +4 -4
- package/dist/{chunk-LDWLK3SO.js → chunk-CUAV3727.js} +4 -4
- package/dist/{chunk-VSF7YDGF.js → chunk-D5JJQRW7.js} +7 -7
- package/dist/{chunk-T3E7R6RM.js → chunk-DOKFFSOZ.js} +3 -3
- package/dist/{chunk-FV52S3JR.js → chunk-DP6ZOSCR.js} +2 -2
- package/dist/{chunk-3FVSLRXZ.js → chunk-EKRLMOWS.js} +5 -5
- package/dist/{chunk-GLPQBMON.js → chunk-EVFZUFCO.js} +5 -5
- package/dist/{chunk-NSDQESOY.js → chunk-FRQPX2QR.js} +1 -1
- package/dist/{chunk-YXEI5FEI.js → chunk-GEW4TNCL.js} +7 -7
- package/dist/{chunk-BG3X4UPN.js → chunk-GMRIR2MF.js} +7 -7
- package/dist/{chunk-U3YQTCAX.js → chunk-GTJ2WSYI.js} +27 -27
- package/dist/{chunk-LJTQLJY7.js → chunk-GYUHWK2N.js} +9 -9
- package/dist/{chunk-KEUMMQXT.js → chunk-GZETHU2Z.js} +3 -3
- package/dist/{chunk-SKMSAH7E.js → chunk-H6H5GCM6.js} +7 -7
- package/dist/{chunk-TCWYLSE3.js → chunk-HI5RBFL3.js} +1 -1
- package/dist/{chunk-D46NGZOG.js → chunk-HOCVTWV2.js} +1 -1
- package/dist/{chunk-XLZOJPOD.js → chunk-HU3POMM4.js} +6 -6
- package/dist/{chunk-7423RCC2.js → chunk-HVUS5WRU.js} +4 -4
- package/dist/{chunk-RHJC4BFN.js → chunk-IG7SBYJY.js} +1 -1
- package/dist/{chunk-6MWBZHBW.js → chunk-IJN3GP4M.js} +1 -1
- package/dist/{chunk-MFQZ4YB2.js → chunk-IYG543BV.js} +3 -3
- package/dist/{chunk-UZNSGMUZ.js → chunk-IYUJFAQD.js} +1 -1
- package/dist/{chunk-NSX2KF4L.js → chunk-J56SR6X4.js} +1 -1
- package/dist/{chunk-BBHBVDET.js → chunk-J7MMYBBV.js} +6 -6
- package/dist/{chunk-3YULN4UC.js → chunk-JCEJARDB.js} +1 -1
- package/dist/{chunk-UXR7PP74.js → chunk-K7BI4TLM.js} +3 -3
- package/dist/{chunk-YVCZDPEY.js → chunk-K7KQCOSM.js} +8 -8
- package/dist/{chunk-G6BDSNSO.js → chunk-KFJIOCZS.js} +3 -3
- package/dist/{chunk-YFOZG7QW.js → chunk-KXCTWOPU.js} +3 -3
- package/dist/{chunk-2KFLMNQU.js → chunk-KXKVMSHC.js} +1 -1
- package/dist/{chunk-MTOTUOVL.js → chunk-L25GQH45.js} +1 -1
- package/dist/{chunk-L5ZU6BDL.js → chunk-LFHJZDES.js} +15 -15
- package/dist/{chunk-MEWH2KP3.js → chunk-LMT72G74.js} +1 -1
- package/dist/{chunk-W4KFRTFB.js → chunk-M4WTELYI.js} +4 -4
- package/dist/{chunk-PGWNGQNM.js → chunk-MB7IX6DO.js} +1 -1
- package/dist/{chunk-Z4VSLXAS.js → chunk-MPGTKJOM.js} +4 -4
- package/dist/{chunk-CFXCMHUO.js → chunk-MY6T3N3A.js} +1 -1
- package/dist/{chunk-GF4O3M23.js → chunk-OVRLLZPJ.js} +1 -1
- package/dist/{chunk-3AJKX3FY.js → chunk-PMBG7IYE.js} +8 -8
- package/dist/{chunk-ZQNYV4OZ.js → chunk-QAFR65VC.js} +216 -48
- package/dist/{chunk-MTWLACRR.js → chunk-QDM23DTW.js} +7 -7
- package/dist/{chunk-P4YTEF6T.js → chunk-RM3K57Q7.js} +1 -1
- package/dist/{chunk-HUZPRUNL.js → chunk-SKV6FO37.js} +4 -4
- package/dist/{chunk-DQZ7XFCI.js → chunk-SSSPZ3TB.js} +1 -1
- package/dist/{chunk-XXSTLXIV.js → chunk-SUMRSD2Q.js} +1 -1
- package/dist/{chunk-YHBRCUSH.js → chunk-U63SE2NJ.js} +1 -1
- package/dist/{chunk-HODTWJUB.js → chunk-VG524OUD.js} +5 -5
- package/dist/{chunk-VRJKRJLT.js → chunk-VUSYGNNN.js} +1 -1
- package/dist/{chunk-VK27VYPT.js → chunk-VV2VLQWG.js} +2 -2
- package/dist/{chunk-J6M3QBZ4.js → chunk-W7LJQ2GU.js} +3 -3
- package/dist/{chunk-V4ALUVM7.js → chunk-XN4A275V.js} +5 -5
- package/dist/{chunk-M2YIRI4M.js → chunk-XUXDUOJI.js} +4 -4
- package/dist/{chunk-VV3Y32EV.js → chunk-Y2HVISUN.js} +1 -1
- package/dist/{chunk-GSSCNJ6F.js → chunk-Y5ZKDLNX.js} +4 -4
- package/dist/{chunk-THL7WJ3F.js → chunk-YU6XPJ5I.js} +2 -2
- package/dist/{chunk-JAHR4LAD.js → chunk-ZEEQB7VM.js} +4 -4
- package/dist/{claude-launcher-B3E7YQ7I.js → claude-launcher-3O5W5ENW.js} +6 -6
- package/dist/{cli-EP4ERRKA.js → cli-RU4HLUZP.js} +140 -140
- package/dist/{command-W3QDOBVS.js → command-HRXMLFOT.js} +47 -47
- package/dist/{config-4AL4H4O6.js → config-J4NNZ2XO.js} +11 -11
- package/dist/{connect-cmd-KLQSLHOG.js → connect-cmd-GVIUKK3R.js} +10 -10
- package/dist/{container-start-LQH2INFF.js → container-start-JNTWQOMK.js} +45 -45
- package/dist/{context-cleanup-7QZQJXID.js → context-cleanup-7V2ARBSC.js} +3 -3
- package/dist/{context-show-cmd-BTLIXLYY.js → context-show-cmd-73E36KAV.js} +11 -11
- package/dist/{control-plane-launch-VPATGJOX.js → control-plane-launch-L744RJ4A.js} +13 -13
- package/dist/{demo-record-cmd-THSOAV2Z.js → demo-record-cmd-KGH3WGLY.js} +7 -7
- package/dist/{demo-voice-cmd-WZTG4EOA.js → demo-voice-cmd-CHCS7TQF.js} +17 -17
- package/dist/{dist-NEH3H3EL.js → dist-U6EGOQD5.js} +1 -1
- package/dist/{docker-RZSABDTP.js → docker-CAMJXBAJ.js} +9 -9
- package/dist/{doctor-3DZ6WX3N.js → doctor-2Z224QH4.js} +47 -47
- package/dist/{emit-artifact-cmd-LSOMCAWB.js → emit-artifact-cmd-CGY656UZ.js} +16 -16
- package/dist/{emit-cmd-ANJGKYSQ.js → emit-cmd-AG7HL3YI.js} +6 -6
- package/dist/{emit-criteria-cmd-QGXJEVQQ.js → emit-criteria-cmd-3HYUUSDK.js} +13 -13
- package/dist/{emit-demo-cmd-DQBIIGD3.js → emit-demo-cmd-GHDL7ZGH.js} +17 -17
- package/dist/{emit-finding-cmd-Q2AVCU7I.js → emit-finding-cmd-KPHWY6ZU.js} +13 -13
- package/dist/{emit-result-cmd-UCIWLIXJ.js → emit-result-cmd-WOJEHOXH.js} +15 -15
- package/dist/{emit-step-cmd-M2EUH4MC.js → emit-step-cmd-QTNJBTZN.js} +13 -13
- package/dist/{exec-client-CACFKEHG.js → exec-client-IPPD3NF4.js} +7 -7
- package/dist/find-unit-N3OJBFS5.js +24 -0
- package/dist/{findings-cmd-DLJSGR2Z.js → findings-cmd-LVYAXHQG.js} +13 -13
- package/dist/{fleet-readiness-BXCAJXUJ.js → fleet-readiness-F46LOKJ6.js} +12 -12
- package/dist/{governing-source-LWLFMQ2W.js → governing-source-4XYZYZCD.js} +18 -18
- package/dist/{guest-init-TJQFOKPW.js → guest-init-CFJM25V5.js} +8 -8
- package/dist/{hook-fast-5BMJYJBP.js → hook-fast-RNST4WJH.js} +1 -1
- package/dist/{hook-install-5OS6ZH4B.js → hook-install-G3FUCXBE.js} +3 -3
- package/dist/host-checks-TXG6OTBM.js +79 -0
- package/dist/{host-key-5ZQYRJ4E.js → host-key-QUBI74MS.js} +7 -7
- package/dist/{image-tag-JSSECZZE.js → image-tag-5Z2NKCHC.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-MSMRHTHS.js → init-NCBQ2DOK.js} +43 -43
- package/dist/init-YENLMMJU.js +79 -0
- package/dist/{init-agent-CMZKNDGD.js → init-agent-CNHQT7YK.js} +43 -43
- package/dist/{init-cmd-L5XCJGZE.js → init-cmd-I3BH7SXO.js} +24 -24
- package/dist/{init-update-SQEBAU2E.js → init-update-WYM5WSM7.js} +21 -21
- package/dist/{install-cmd-MFPQWUDC.js → install-cmd-3NOHEA6E.js} +9 -9
- package/dist/{layout-DBSSMC4R.js → layout-RPYMSWCY.js} +3 -3
- package/dist/{logs-F3IASZEW.js → logs-XKEW5EOB.js} +23 -8
- package/dist/loop-TIX5JGHS.js +90 -0
- package/dist/machine-62FUJBEK.js +79 -0
- package/dist/{machine-skills-QEAB6375.js → machine-skills-RP2Y5F32.js} +3 -3
- package/dist/{mcp-install-cmd-ZL2TJUIK.js → mcp-install-cmd-IZYHXHXG.js} +3 -3
- package/dist/{mcp-serve-cmd-KIP3JUYE.js → mcp-serve-cmd-HAIJVRR7.js} +8 -8
- package/dist/{paths-HU7EYF2U.js → paths-6AMRSXZK.js} +6 -6
- package/dist/pending-C4XQUKWA.js +18 -0
- package/dist/{pidfile-UYKW6PT2.js → pidfile-3BILBCEO.js} +7 -7
- package/dist/{record-UJ6R33UZ.js → record-MV6WJGZT.js} +7 -7
- package/dist/{relay-MS7QJ53J.js → relay-CO5I2WOV.js} +4 -4
- package/dist/{relay-protocol-7LG6NHYA.js → relay-protocol-S2JGOYZZ.js} +4 -4
- package/dist/{runner-agents-QJCL4MO3.js → runner-agents-FQ4FODZN.js} +3 -3
- package/dist/{runner-env-NDXVB5YY.js → runner-env-72OTIZV2.js} +13 -13
- package/dist/{runner-identity-YXGTTBKA.js → runner-identity-IVP2GW33.js} +9 -9
- package/dist/{runner-key-CO6357IF.js → runner-key-E3ORW6RS.js} +43 -43
- package/dist/{session-sender-YJDE2SEH.js → session-sender-PWYFVWN6.js} +16 -16
- package/dist/{spec-cmd-V7JOMHZF.js → spec-cmd-2WKI4V2T.js} +14 -14
- package/dist/{starter-pack-6TS4PJYJ.js → starter-pack-W6S3L76K.js} +4 -4
- package/dist/{state-CG5CTXKH.js → state-C3FRODOO.js} +7 -7
- package/dist/{status-3XYAF6ZY.js → status-3RD4MERA.js} +43 -43
- package/dist/{sync-cmd-RSSBSQXL.js → sync-cmd-TIDWKW4E.js} +15 -15
- package/dist/update-steps-4AI2DSYF.js +80 -0
- package/dist/{watch-FTHG5QVH.js → watch-IA6UDVSF.js} +15 -15
- package/dist/{work-claim-cmd-7MLYX5OA.js → work-claim-cmd-VBRJO6FU.js} +19 -19
- package/dist/{work-cmd-WVRZ3ONW.js → work-cmd-2LXE27RX.js} +13 -13
- package/dist/{work-comment-cmd-6AEA5UOR.js → work-comment-cmd-ER53OPLH.js} +15 -15
- package/dist/{work-demo-cmd-67SOL7WG.js → work-demo-cmd-CSXUA7KH.js} +13 -13
- package/dist/{work-logs-cmd-Y5VTLE6R.js → work-logs-cmd-ECF7ZLHO.js} +13 -13
- package/dist/{work-open-pr-cmd-OVGDDLWM.js → work-open-pr-cmd-SUJEYZ6C.js} +14 -14
- package/dist/{work-pr-cmd-Z5PB457N.js → work-pr-cmd-FCNFYWUR.js} +13 -13
- package/dist/{work-proofs-cmd-CAFCKTPD.js → work-proofs-cmd-6DV35Y2W.js} +15 -15
- package/dist/{work-proofs-record-SYYCUSBA.js → work-proofs-record-7YI27TFT.js} +21 -21
- package/dist/{work-stop-cmd-CF4W4NXI.js → work-stop-cmd-PBC7SJ7M.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +2 -1
- package/dist/caller-XIG74H56.js +0 -23
- package/dist/find-unit-5MZ7BHRD.js +0 -24
- package/dist/host-checks-NZEMJCEM.js +0 -79
- package/dist/init-334GEUWV.js +0 -79
- package/dist/loop-6HY663IL.js +0 -90
- package/dist/machine-XIKOX7WS.js +0 -79
- package/dist/pending-WNHJ5I2H.js +0 -18
- package/dist/update-steps-NCHAZ5KA.js +0 -80
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-3B5H5MGB.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-GMRIR2MF.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VUSYGNNN.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-IYUJFAQD.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit } from './chunk-2JIGPSVF.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-TXG6OTBM.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-TXG6OTBM.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -368,7 +368,7 @@ async function runWorkProofs(opts) {
|
|
|
368
368
|
async function runWorkProofsCommand(opts) {
|
|
369
369
|
try {
|
|
370
370
|
if (opts.record) {
|
|
371
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
371
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-7YI27TFT.js');
|
|
372
372
|
const result2 = await runWorkProofsRecord(opts);
|
|
373
373
|
process.exitCode = result2.exitCode;
|
|
374
374
|
return;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-IJN3GP4M.js';
|
|
5
|
+
import { autoConnect } from './chunk-DOKFFSOZ.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-VVZIFOAN.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VUSYGNNN.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
13
13
|
import { StepNameSchema, StepBodySchema } from './chunk-2JIGPSVF.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-IJN3GP4M.js';
|
|
5
|
+
import { autoConnect } from './chunk-DOKFFSOZ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VUSYGNNN.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
12
12
|
import { CriteriaListSchema } from './chunk-2JIGPSVF.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
@@ -1,13 +1,13 @@
|
|
|
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-Y5ZKDLNX.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-JCEJARDB.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-PMBG7IYE.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-KXKVMSHC.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-2C3XLYO5.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-XUXDUOJI.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-RM3K57Q7.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -1,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-MPGTKJOM.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-VUSYGNNN.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-QAFR65VC.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
|
-
import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-RM3K57Q7.js';
|
|
4
|
+
import { defaultAgents } from './chunk-IYUJFAQD.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-HI5RBFL3.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-VUSYGNNN.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-SSSPZ3TB.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-J56SR6X4.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-IYUJFAQD.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-GMRIR2MF.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-IJN3GP4M.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VUSYGNNN.js';
|
|
8
|
+
import { logHookError } from './chunk-K7BI4TLM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
12
12
|
import { randomUUID } from 'crypto';
|
|
13
13
|
|
|
14
14
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-OV4XTV5M.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-IYUJFAQD.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-GTJ2WSYI.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-HU3POMM4.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-JCEJARDB.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-GMRIR2MF.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-SKV6FO37.js';
|
|
9
|
+
import { signerFor } from './chunk-U63SE2NJ.js';
|
|
10
|
+
import { pidFilePath } from './chunk-2C3XLYO5.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-IJN3GP4M.js';
|
|
4
|
+
import { autoConnect } from './chunk-DOKFFSOZ.js';
|
|
5
|
+
import { workPageUrl } from './chunk-MPGTKJOM.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-VUSYGNNN.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-U63SE2NJ.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
15
15
|
|
|
16
16
|
createRequire(import.meta.url);
|
|
17
17
|
|
|
@@ -486,7 +486,7 @@ async function runWorkLinkSession(opts) {
|
|
|
486
486
|
return await linkSession(opts);
|
|
487
487
|
} catch (err) {
|
|
488
488
|
if (opts.logFailures) {
|
|
489
|
-
const { logHookError } = await import('./hook-fast-
|
|
489
|
+
const { logHookError } = await import('./hook-fast-RNST4WJH.js');
|
|
490
490
|
const reason = err instanceof Error ? err.message : String(err);
|
|
491
491
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
492
492
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, MAX_TEST_FILE_BYTES } from './chunk-
|
|
3
|
+
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, MAX_TEST_FILE_BYTES } from './chunk-3B5H5MGB.js';
|
|
4
4
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
|
-
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
7
|
-
import { upgradedStarterText } from './chunk-
|
|
8
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
9
|
-
import { writeDockerClientConfig } from './chunk-
|
|
10
|
-
import { senderPidfile } from './chunk-
|
|
11
|
-
import { installScrubContext } from './chunk-
|
|
6
|
+
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-XN4A275V.js';
|
|
7
|
+
import { upgradedStarterText } from './chunk-2FDWTE6F.js';
|
|
8
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-KXCTWOPU.js';
|
|
9
|
+
import { writeDockerClientConfig } from './chunk-MY6T3N3A.js';
|
|
10
|
+
import { senderPidfile } from './chunk-M4WTELYI.js';
|
|
11
|
+
import { installScrubContext } from './chunk-H6H5GCM6.js';
|
|
12
12
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
|
-
import { runnerImageVersion } from './chunk-
|
|
14
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
13
|
+
import { runnerImageVersion } from './chunk-2RKPEUGK.js';
|
|
14
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-VV2VLQWG.js';
|
|
15
15
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
16
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
17
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
16
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-D5JJQRW7.js';
|
|
17
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-Y5ZKDLNX.js';
|
|
18
18
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
19
19
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
20
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
21
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
22
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
23
|
-
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-
|
|
24
|
-
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
25
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
26
|
-
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_TREE, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
27
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
20
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-LMT72G74.js';
|
|
21
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-W7LJQ2GU.js';
|
|
22
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-QDM23DTW.js';
|
|
23
|
+
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-GMRIR2MF.js';
|
|
24
|
+
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-SKV6FO37.js';
|
|
25
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-3J7F3VGZ.js';
|
|
26
|
+
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_TREE, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-PMBG7IYE.js';
|
|
27
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-KXKVMSHC.js';
|
|
28
28
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-VVZIFOAN.js';
|
|
29
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
29
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-FRQPX2QR.js';
|
|
30
30
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
31
|
-
import { signerFor } from './chunk-
|
|
32
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
33
|
-
import { BUILD_HOME, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-
|
|
34
|
-
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, builtInNames, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
31
|
+
import { signerFor } from './chunk-U63SE2NJ.js';
|
|
32
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-2C3XLYO5.js';
|
|
33
|
+
import { BUILD_HOME, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-XUXDUOJI.js';
|
|
34
|
+
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, builtInNames, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-DP6ZOSCR.js';
|
|
35
35
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
36
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-
|
|
37
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
36
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-RM3K57Q7.js';
|
|
37
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-IYUJFAQD.js';
|
|
38
38
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
39
39
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
40
40
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
41
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
41
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-QAFR65VC.js';
|
|
42
42
|
import { CheckItemsSchema, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-2JIGPSVF.js';
|
|
43
43
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
44
44
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, renameSync, rmdirSync, createReadStream, lstatSync, unlinkSync, chmodSync, realpathSync, writeSync, truncateSync, cpSync, fstatSync, readSync, createWriteStream, copyFileSync, linkSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
10
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
11
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-GTJ2WSYI.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-HU3POMM4.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-GMRIR2MF.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-SKV6FO37.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-3J7F3VGZ.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-U63SE2NJ.js';
|
|
9
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-DP6ZOSCR.js';
|
|
10
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-RM3K57Q7.js';
|
|
11
|
+
import { defaultAgents } from './chunk-IYUJFAQD.js';
|
|
12
12
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
13
13
|
import { join, dirname } from 'path';
|
|
14
14
|
import { totalmem } from 'os';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-MB7IX6DO.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-HOCVTWV2.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-2C3XLYO5.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -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-BMYIPXBG.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-WGC7UFRM.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-VVZIFOAN.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-VUSYGNNN.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, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-U63SE2NJ.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-XUXDUOJI.js';
|
|
11
|
+
import { writeSyncStatus, spoolDir } from './chunk-K7BI4TLM.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-AWY7ORQ2.js';
|
|
@@ -16,10 +16,10 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-4OD45RBP.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAdapters } from './chunk-IYUJFAQD.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-QAFR65VC.js';
|
|
23
23
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-2JIGPSVF.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
@@ -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-IYUJFAQD.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.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 { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2C3XLYO5.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } 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-SKV6FO37.js';
|
|
4
|
+
import { parseSize } from './chunk-PMBG7IYE.js';
|
|
5
|
+
import { runnerDir } from './chunk-2C3XLYO5.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-DP6ZOSCR.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-RM3K57Q7.js';
|
|
8
|
+
import { defaultAgents } from './chunk-IYUJFAQD.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,13 +1,13 @@
|
|
|
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-IJN3GP4M.js';
|
|
4
|
+
import { autoConnect } from './chunk-DOKFFSOZ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-VUSYGNNN.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -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-2C3XLYO5.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 { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-IYUJFAQD.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-GTJ2WSYI.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-2RKPEUGK.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-CAMJXBAJ.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 = "";
|
|
@@ -5,7 +5,7 @@ import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-
|
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.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-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-QAFR65VC.js';
|
|
9
9
|
import { RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-2JIGPSVF.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';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-IYUJFAQD.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-6XYKZH3K.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-IJN3GP4M.js';
|
|
7
|
+
import { autoConnect } from './chunk-DOKFFSOZ.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-VUSYGNNN.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-RM3K57Q7.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
|
|
14
14
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-2JIGPSVF.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
@@ -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-2C3XLYO5.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -609,7 +609,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
609
609
|
try {
|
|
610
610
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
611
611
|
if (event === void 0) return void 0;
|
|
612
|
-
const { hookRegistered } = await import('./hook-install-
|
|
612
|
+
const { hookRegistered } = await import('./hook-install-G3FUCXBE.js');
|
|
613
613
|
const registered = hookRegistered(event, { home, cwd });
|
|
614
614
|
if (registered !== false) return void 0;
|
|
615
615
|
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.`;
|
|
@@ -809,11 +809,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
809
809
|
const dirs = findGitDirs(cwd);
|
|
810
810
|
if (dirs === void 0) return void 0;
|
|
811
811
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
812
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
812
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-7V2ARBSC.js');
|
|
813
813
|
cleanupEarlierCopies(dirs);
|
|
814
814
|
}
|
|
815
815
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
816
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
816
|
+
const { governanceOf } = await import('./control-plane-launch-L744RJ4A.js');
|
|
817
817
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
818
818
|
recordMissingContext(dirs, sessionId, home);
|
|
819
819
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|