@outerlayer/cli 0.38.0-next.20261109143949 → 0.38.0-next.20261109235338
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 +11 -1
- package/dist/{agent-setup-MLSWF7RF.js → agent-setup-F4KAKOQE.js} +19 -19
- package/dist/{agent-subcommand-DCOPM2NX.js → agent-subcommand-JC5JXZ3X.js} +3 -3
- package/dist/{bridge-HZRJYECQ.js → bridge-TYO2YB2X.js} +6 -6
- package/dist/{build-3LXKCCJF.js → build-QUCL3HFM.js} +12 -12
- package/dist/{build-disk-TYX6DU5R.js → build-disk-3JUHPJEQ.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-VYKWHAUQ.js → builder-PADLK3VJ.js} +9 -9
- package/dist/caller-LYH64TZB.js +23 -0
- package/dist/{check-YUKNUSAS.js → check-DBYJIP44.js} +56 -56
- package/dist/{chunk-DEWD22FA.js → chunk-26NMJGEY.js} +1 -1
- package/dist/{chunk-LA5UO6LI.js → chunk-2BMH3373.js} +5 -4
- package/dist/{chunk-JAURZKSE.js → chunk-2TA2Z5IJ.js} +5 -5
- package/dist/{chunk-HW7QPCOP.js → chunk-2YOFSE7U.js} +145 -50
- package/dist/{chunk-OKELGJNN.js → chunk-3Q2SEOT3.js} +1 -1
- package/dist/{chunk-MMSFADKC.js → chunk-3QTC4UWC.js} +1 -1
- package/dist/{chunk-C3K54KRU.js → chunk-4A4TMFGV.js} +5 -5
- package/dist/{chunk-F3MEL6B6.js → chunk-4NRIC2G5.js} +4 -4
- package/dist/{chunk-4K2EMRJP.js → chunk-52IVBUIU.js} +6 -6
- package/dist/{chunk-LYWLBZ37.js → chunk-553QW3PJ.js} +2 -2
- package/dist/{chunk-NHT7RHAI.js → chunk-5AU2GQGH.js} +3 -3
- package/dist/{chunk-EGKYININ.js → chunk-5J4WME44.js} +5 -5
- package/dist/{chunk-NR3FDUWS.js → chunk-6L55K352.js} +7 -7
- package/dist/{chunk-OPGF3FUY.js → chunk-6ZMFEZ2K.js} +2 -2
- package/dist/{chunk-SLR6QAOE.js → chunk-7HN6T4MY.js} +1 -1
- package/dist/{chunk-LOG4LBUY.js → chunk-7NP5G2FV.js} +2 -2
- package/dist/{chunk-G7HNRAXN.js → chunk-A237UPRS.js} +14 -14
- package/dist/{chunk-CDDED64E.js → chunk-ATEMEVFF.js} +1 -1
- package/dist/{chunk-GVK7AKFX.js → chunk-AZRZBG45.js} +9 -7
- package/dist/{chunk-TFR6S7ZB.js → chunk-BAWOWJ3G.js} +10 -10
- package/dist/{chunk-WGC7UFRM.js → chunk-C2PZOLN7.js} +3 -2
- package/dist/{chunk-Q6ANHBJK.js → chunk-C7YFAPMY.js} +1 -1
- package/dist/{chunk-TTG6Y7G7.js → chunk-DE5QLWJK.js} +2 -2
- package/dist/{chunk-X45WDWSV.js → chunk-DPBFNZ6H.js} +1 -1
- package/dist/{chunk-EI6JYZ42.js → chunk-DQLHVV62.js} +3 -3
- package/dist/{chunk-LIMJRKIU.js → chunk-EYFIWJFI.js} +5 -5
- package/dist/{chunk-U463IFDK.js → chunk-F3NW5TBW.js} +6 -6
- package/dist/{chunk-KIYP5TML.js → chunk-F4XMG7EO.js} +1 -1
- package/dist/{chunk-ZWWU7COR.js → chunk-FLIRUHVT.js} +1 -1
- package/dist/{chunk-2J3X2Z4F.js → chunk-G2J574LS.js} +7 -7
- package/dist/{chunk-2XEQCSCQ.js → chunk-GH5Y3R5R.js} +4 -4
- package/dist/{chunk-UCDCPQXU.js → chunk-HITUWIB7.js} +1 -1
- package/dist/{chunk-6EN72I2O.js → chunk-HT4OKJDB.js} +1 -1
- package/dist/{chunk-IG5ZZG7R.js → chunk-HWHJDQLC.js} +3 -3
- package/dist/{chunk-NFZMENCY.js → chunk-I45HTSSA.js} +1 -1
- package/dist/{chunk-4EQQS3VJ.js → chunk-IJWQT2Y7.js} +1 -1
- package/dist/{chunk-BDTFO5S7.js → chunk-IPB5UOHH.js} +2 -2
- package/dist/{chunk-5OBQBINA.js → chunk-IXC5EISR.js} +1 -1
- package/dist/{chunk-RVYMYTXX.js → chunk-JLCEQXQF.js} +1 -1
- package/dist/{chunk-O4Q7GPKU.js → chunk-KGHVJI7V.js} +3 -3
- package/dist/{chunk-4LUHKCDO.js → chunk-KHC7ICRR.js} +23 -12
- package/dist/{chunk-4OD45RBP.js → chunk-LGJ56FCM.js} +11 -2
- package/dist/{chunk-GECHL3NC.js → chunk-LJPYKCIP.js} +4 -4
- package/dist/{chunk-CCEP5WBI.js → chunk-MGOEHY72.js} +13 -11
- package/dist/{chunk-OYBBYENC.js → chunk-NAU7U44X.js} +6 -6
- package/dist/{chunk-Z4R73UUH.js → chunk-NL2MMRJI.js} +6 -6
- package/dist/{chunk-LO3PSFNT.js → chunk-O7IJBJ6Z.js} +1 -1
- package/dist/{chunk-RMXRQ3OC.js → chunk-OQHHPJNK.js} +1 -1
- package/dist/{chunk-HGWDBTQ3.js → chunk-P43BSQGV.js} +3 -3
- package/dist/{chunk-JMWCPEKP.js → chunk-PCY626FL.js} +2 -2
- package/dist/{chunk-JKRVSEK7.js → chunk-PE5J46EE.js} +8 -8
- package/dist/{chunk-RVDXHF2M.js → chunk-QA3U3MJZ.js} +129 -42
- package/dist/{chunk-7TM2E4RI.js → chunk-QZP3O6IM.js} +6 -6
- package/dist/{chunk-5TZCV6JB.js → chunk-RN5VLKZ2.js} +1 -1
- package/dist/{chunk-HUP2CGX4.js → chunk-SKKKPLOC.js} +3 -3
- package/dist/{chunk-D7KYG37D.js → chunk-SOLQ3JA6.js} +19 -8
- package/dist/{chunk-UNA4YIHE.js → chunk-SWXAP4GM.js} +4 -4
- package/dist/{chunk-X56UUEHE.js → chunk-TYLZR7HX.js} +12 -3
- package/dist/{chunk-QP6SPQU5.js → chunk-UU6FN6PZ.js} +5 -5
- package/dist/{chunk-H3YHAO7L.js → chunk-W37QA6WG.js} +1 -1
- package/dist/{chunk-LLVBDIQJ.js → chunk-WE4CWGNR.js} +7 -7
- package/dist/{chunk-KX4JKW4Z.js → chunk-WISVAUTD.js} +7 -4
- package/dist/{chunk-22QIA7SH.js → chunk-X3CGWGAG.js} +1 -1
- package/dist/{chunk-BFWZGLUU.js → chunk-XDHMRHMC.js} +1 -1
- package/dist/{chunk-DX27B42J.js → chunk-XLUQC2PE.js} +1 -1
- package/dist/{chunk-LIH6CIVB.js → chunk-XMVASSUZ.js} +1 -1
- package/dist/{chunk-TNAUQADA.js → chunk-XPXJWIOJ.js} +1 -1
- package/dist/{chunk-6JW2L7UV.js → chunk-Y2M2NZX4.js} +8 -8
- package/dist/{chunk-T63WTVGY.js → chunk-Y67NEZMW.js} +5 -5
- package/dist/{chunk-B3ILHK4Q.js → chunk-ZIOMM4LL.js} +5 -5
- package/dist/{chunk-KFHF3GBH.js → chunk-ZRTGX4GN.js} +3 -3
- package/dist/{chunk-GTKR2YEZ.js → chunk-ZUIHEOSC.js} +1 -1
- package/dist/{chunk-PM4YDVAX.js → chunk-ZZ4AX25R.js} +1 -1
- package/dist/{claude-launcher-YDSG5XIN.js → claude-launcher-UYCMHZOU.js} +6 -6
- package/dist/{cli-7VKJRQWW.js → cli-KEVUJ6PY.js} +193 -146
- package/dist/{cli-update-notice-AWYJ4A7R.js → cli-update-notice-OC4SOSZE.js} +2 -2
- package/dist/{command-3WAJBJWX.js → command-DNGERCQW.js} +51 -50
- package/dist/{config-O2LJAZJZ.js → config-M66C2AGN.js} +11 -11
- package/dist/{connect-cmd-3DBWVCUL.js → connect-cmd-JBM5ODV3.js} +11 -11
- package/dist/{container-start-T4GH4WLX.js → container-start-4NKXX3MA.js} +49 -48
- package/dist/{context-cleanup-Z23RX7JT.js → context-cleanup-UE5HQRHP.js} +3 -3
- package/dist/{context-show-cmd-OGRCR5OT.js → context-show-cmd-HX5LND6O.js} +12 -12
- package/dist/{control-plane-launch-JZPULKCL.js → control-plane-launch-XEMMZ7VZ.js} +14 -14
- package/dist/{demo-record-cmd-YPWPHDAN.js → demo-record-cmd-PI4PFFEO.js} +7 -7
- package/dist/{demo-voice-cmd-TNZ2G5CJ.js → demo-voice-cmd-3GASMSCU.js} +20 -20
- package/dist/{docker-MOESJVCB.js → docker-KWHEDC6K.js} +9 -9
- package/dist/{doctor-KHAB6YWH.js → doctor-GPATU5TY.js} +51 -50
- package/dist/{emit-artifact-cmd-W7YBXLA7.js → emit-artifact-cmd-OH7PNHZF.js} +19 -19
- package/dist/{emit-cmd-3YOUQCID.js → emit-cmd-RPICQ5H2.js} +6 -6
- package/dist/{emit-criteria-cmd-KZW275Q2.js → emit-criteria-cmd-JW2GS2SO.js} +16 -16
- package/dist/{emit-demo-cmd-3UBPYRAM.js → emit-demo-cmd-5W6H6AI4.js} +20 -20
- package/dist/{emit-finding-cmd-NL6H2PBJ.js → emit-finding-cmd-PSCJFCBZ.js} +16 -16
- package/dist/{emit-result-cmd-KRUV7V74.js → emit-result-cmd-VJZDDWD3.js} +18 -18
- package/dist/{emit-step-cmd-SHBIO2JI.js → emit-step-cmd-ER65MOU6.js} +16 -16
- package/dist/{exec-client-WJLO2KWS.js → exec-client-PHJ4YGYG.js} +7 -7
- package/dist/find-unit-D7MX5YW7.js +24 -0
- package/dist/{findings-cmd-3JP4GYD3.js → findings-cmd-BN6LO7LI.js} +16 -16
- package/dist/{fleet-readiness-U4IZZV52.js → fleet-readiness-FHVT7ZXE.js} +13 -13
- package/dist/governing-source-6WWMRJEI.js +41 -0
- package/dist/{guest-init-HIKD3MHJ.js → guest-init-IREU7IIE.js} +8 -8
- package/dist/{hook-fast-2ENS5AKU.js → hook-fast-OFCB6O5N.js} +3 -3
- package/dist/{hook-install-JTYPE5ZQ.js → hook-install-3SSLJYA3.js} +3 -3
- package/dist/host-checks-KYLKXG2A.js +80 -0
- package/dist/{host-key-V2VVCBGR.js → host-key-4764FB4U.js} +7 -7
- package/dist/{image-tag-EX2R462S.js → image-tag-MYCA26HL.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/init-EPBASJNK.js +80 -0
- package/dist/{init-7F2KP6XU.js → init-RUY6NPTN.js} +47 -46
- package/dist/{init-agent-RJSMNEWD.js → init-agent-Z6PF22UT.js} +47 -46
- package/dist/{init-cmd-F72BWVFC.js → init-cmd-3M4QENFU.js} +25 -25
- package/dist/{init-update-ZWSICDTJ.js → init-update-V4AWGCUH.js} +22 -22
- package/dist/{install-cmd-LX76Y7NB.js → install-cmd-UJO2EMXF.js} +9 -9
- package/dist/{layout-4FLIBRPO.js → layout-VZ3MERWV.js} +3 -3
- package/dist/{logs-BWGJ2BVT.js → logs-SQJ5BKAP.js} +6 -6
- package/dist/loop-VUNIGNXU.js +90 -0
- package/dist/machine-2KFSAU27.js +80 -0
- package/dist/{machine-skills-UEQA3AUX.js → machine-skills-SAD5OWIH.js} +3 -3
- package/dist/{mcp-install-cmd-DBKKGLHW.js → mcp-install-cmd-7KKOGEFA.js} +3 -3
- package/dist/{mcp-serve-cmd-LFXU5UGJ.js → mcp-serve-cmd-EKANKY4W.js} +9 -9
- package/dist/{paths-CSZZQK3X.js → paths-LYF7UNWL.js} +6 -6
- package/dist/pending-3FQ3GG6T.js +18 -0
- package/dist/{pidfile-TTIUEDXW.js → pidfile-EYAULWL2.js} +7 -7
- package/dist/{record-U7DU6IVT.js → record-CHYO34BN.js} +7 -7
- package/dist/{relay-KZTGUSFJ.js → relay-J3OROVNN.js} +4 -4
- package/dist/{relay-protocol-LG4J5K63.js → relay-protocol-UI7QUDOZ.js} +4 -4
- package/dist/run-cmd-PIMQNBAX.js +114 -0
- package/dist/{runner-agents-32J743FJ.js → runner-agents-KSP3MLAH.js} +3 -3
- package/dist/{runner-env-RGYTHURZ.js → runner-env-AMGOE3UI.js} +13 -13
- package/dist/{runner-identity-VQCIKNBK.js → runner-identity-WZAKGBRX.js} +9 -9
- package/dist/{runner-key-TFFPQCGE.js → runner-key-HGHQYJJX.js} +47 -46
- package/dist/{session-sender-3VFTMIM3.js → session-sender-W6MTYKLE.js} +19 -19
- package/dist/{spec-cmd-RQFIJ75J.js → spec-cmd-RJVMWOOX.js} +17 -17
- package/dist/{starter-pack-LO3D6CPP.js → starter-pack-52PX6IPU.js} +4 -4
- package/dist/{state-IH6JOEJZ.js → state-UIV37NXY.js} +7 -7
- package/dist/{status-KGZWBU26.js → status-YQ25OCUL.js} +47 -46
- package/dist/{sync-cmd-4RSCWFAF.js → sync-cmd-2NBSELL7.js} +18 -18
- package/dist/update-steps-FH7UXI5N.js +81 -0
- package/dist/{watch-NH5QZJLE.js → watch-WQGK2SQB.js} +18 -18
- package/dist/{work-claim-cmd-FNE2ZMVG.js → work-claim-cmd-CQ3DSJBR.js} +21 -21
- package/dist/{work-cmd-32J5UQJO.js → work-cmd-B32BDBV2.js} +14 -14
- package/dist/{work-comment-cmd-ZUZEAIIH.js → work-comment-cmd-L5FTPUGE.js} +16 -16
- package/dist/{work-demo-cmd-56C6JQD3.js → work-demo-cmd-BOKSQSA5.js} +14 -14
- package/dist/{work-launch-LWDQXLGI.js → work-launch-ODTGCNJC.js} +1 -1
- package/dist/{work-logs-cmd-XKVZ2UY6.js → work-logs-cmd-TZXDF3UI.js} +14 -14
- package/dist/{work-needs-attention-cmd-DYD3AIRU.js → work-needs-attention-cmd-WR5GR3B6.js} +14 -14
- package/dist/{work-no-change-cmd-QVD67UG5.js → work-no-change-cmd-TKC3V64O.js} +14 -14
- package/dist/{work-open-pr-cmd-3SSJPKHW.js → work-open-pr-cmd-T2IFI7OR.js} +16 -16
- package/dist/{work-pr-cmd-DF6Q5XHU.js → work-pr-cmd-WM6PGSGK.js} +15 -15
- package/dist/{work-proofs-cmd-2XWS5N2R.js → work-proofs-cmd-E4VJP55B.js} +17 -17
- package/dist/{work-proofs-record-KEZ6Z4QH.js → work-proofs-record-MIVUWECF.js} +24 -24
- package/dist/{work-stop-cmd-4KNMURDC.js → work-stop-cmd-52WGVYF5.js} +14 -14
- package/package.json +2 -2
- package/skill-pack/maintained/outerlayer-run/SKILL.md +49 -0
- package/skill-pack/shipped.json +2 -0
- package/skill-pack/template/spec/SKILL.md +10 -11
- package/skill-pack/template/writing-specs/SKILL.md +18 -22
- package/dist/caller-VU7QBFHQ.js +0 -23
- package/dist/find-unit-YNIILXQK.js +0 -24
- package/dist/governing-source-VZFU65KP.js +0 -41
- package/dist/host-checks-HZLHQ6WH.js +0 -79
- package/dist/init-XTTWPX6J.js +0 -79
- package/dist/loop-O5JBFZXP.js +0 -90
- package/dist/machine-LGJSYGQS.js +0 -79
- package/dist/pending-BHRSEFXV.js +0 -18
- package/dist/update-steps-3LU3NZQL.js +0 -80
|
@@ -1,11 +1,11 @@
|
|
|
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-QZP3O6IM.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-F4XMG7EO.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-2DVQHK37.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-6ZMFEZ2K.js';
|
|
8
|
+
import { logHookError } from './chunk-SOLQ3JA6.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
import { resolveRepoIdentity } from './chunk-N2QYP3NQ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-WISVAUTD.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-O7IJBJ6Z.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -18,9 +18,18 @@ function runnerCalls(config) {
|
|
|
18
18
|
return config;
|
|
19
19
|
}
|
|
20
20
|
function claimCalls(config, job) {
|
|
21
|
+
if (job.queue === "run") return withoutBuildAccess(runnerCalls(config));
|
|
21
22
|
if (config.fleet !== true) return runnerCalls(config);
|
|
22
23
|
return { ...config, appId: factoryOf(job) };
|
|
23
24
|
}
|
|
25
|
+
function withoutBuildAccess(config) {
|
|
26
|
+
if (config.build === void 0) return config;
|
|
27
|
+
const { destinations: _destinations, ...build } = config.build;
|
|
28
|
+
return { ...config, build: { ...build, variables: [] } };
|
|
29
|
+
}
|
|
30
|
+
function configForJob(config, job) {
|
|
31
|
+
return job.queue === "run" ? withoutBuildAccess(config) : config;
|
|
32
|
+
}
|
|
24
33
|
function itemCalls(config, job) {
|
|
25
34
|
if (config.fleet !== true) return runnerCalls(config);
|
|
26
35
|
if (job.itemKey === void 0 || job.itemKey === "") throw new RunnerConfigError("a fleet build's job holds no item key");
|
|
@@ -36,4 +45,4 @@ function spoolHomeFor(config, job) {
|
|
|
36
45
|
return orgHomeDir(config.configPath, job.organizationId);
|
|
37
46
|
}
|
|
38
47
|
|
|
39
|
-
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor };
|
|
48
|
+
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-
|
|
4
|
-
import { strippedVariables } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-2BMH3373.js';
|
|
4
|
+
import { strippedVariables } from './chunk-ZUIHEOSC.js';
|
|
5
|
+
import { defaultAgents } from './chunk-3Q2SEOT3.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { MIN_SCRUBBED_LITERAL } from './chunk-N2QYP3NQ.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
|
|
@@ -649,7 +649,7 @@ function buildEnvironment(input) {
|
|
|
649
649
|
...builtIns ? {} : { OUTERLAYER_URL: input.config.url },
|
|
650
650
|
...builtIns || input.itemKey === void 0 ? {} : { OUTERLAYER_API_KEY: input.itemKey },
|
|
651
651
|
OUTERLAYER_APP_ID: input.config.appId,
|
|
652
|
-
OUTERLAYER_WORK: String(input.item),
|
|
652
|
+
...input.run === true ? { OUTERLAYER_RUN: String(input.item) } : { OUTERLAYER_WORK: String(input.item) },
|
|
653
653
|
...input.branch === void 0 ? {} : { OUTERLAYER_BRANCH: input.branch }
|
|
654
654
|
};
|
|
655
655
|
const variables = [];
|
|
@@ -676,7 +676,7 @@ function buildEnvironment(input) {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
const destinations = destinationEnvironment(input.config.build?.destinations, containerLocalAddress);
|
|
679
|
-
const builtInLiterals = builtIns ? builtInEnvironment((name2) => containerBuiltInAddress(name2, input.agents), input.config.managed === true ? managedAgentCredential(input.agents) : agentCredential(input.hostEnv, {}, input.agents), input.agents, void 0, input.job) : {};
|
|
679
|
+
const builtInLiterals = builtIns ? builtInEnvironment((name2) => containerBuiltInAddress(name2, input.agents), input.config.managed === true ? managedAgentCredential(input.agents) : agentCredential(input.hostEnv, {}, input.agents), input.agents, void 0, input.job, input.run === true) : {};
|
|
680
680
|
const hooksPath = input.identity?.hooksPath;
|
|
681
681
|
const hooks = {};
|
|
682
682
|
if (hooksPath !== void 0) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-3Q2SEOT3.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -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-LJPYKCIP.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-26NMJGEY.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, imageAgentPins } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-G2J574LS.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-IXC5EISR.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-O7IJBJ6Z.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-UU6FN6PZ.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-ZUIHEOSC.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,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-7NP5G2FV.js';
|
|
4
|
+
import { parseSize } from './chunk-G2J574LS.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-UU6FN6PZ.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-ZUIHEOSC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -414,6 +414,9 @@ function loadRunnerConfig(configPath) {
|
|
|
414
414
|
fail(configPath, `runner.commands.${queue}`, "is required for an enabled queue");
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
+
if (runner.commands?.run !== void 0 && (typeof runner.commands.run !== "string" || runner.commands.run.trim() === "")) {
|
|
418
|
+
fail(configPath, "runner.commands.run", "must be a command line, or left out");
|
|
419
|
+
}
|
|
417
420
|
if (fleet) {
|
|
418
421
|
for (const queue of RUNNER_QUEUES) {
|
|
419
422
|
if (!runner.commands?.[queue]) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-3Q2SEOT3.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -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-O7IJBJ6Z.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-2DVQHK37.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-3Q2SEOT3.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-HE53NIRE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -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-3Q2SEOT3.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,14 +1,14 @@
|
|
|
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-XMVASSUZ.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-QZP3O6IM.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-2DVQHK37.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { parseWorkItemEnv } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-6ZMFEZ2K.js';
|
|
8
|
+
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-3Q2SEOT3.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-N2QYP3NQ.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-HE53NIRE.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -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-KYLKXG2A.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-KYLKXG2A.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 };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-MIVUWECF.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launchRefusalForSession } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-F4XMG7EO.js';
|
|
5
|
+
import { autoConnect } from './chunk-IPB5UOHH.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-2DVQHK37.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
-
import { launchedItemForSession } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-6ZMFEZ2K.js';
|
|
9
|
+
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-N2QYP3NQ.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-
|
|
4
|
-
import { launchRefusalForSession } from './chunk-
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-KHC7ICRR.js';
|
|
4
|
+
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
+
import { detectActiveSession } from './chunk-F4XMG7EO.js';
|
|
6
|
+
import { autoConnect } from './chunk-IPB5UOHH.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-2DVQHK37.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-6ZMFEZ2K.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-2DVQHK37.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-C7YFAPMY.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-IJ4DF5QS.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-6ZMFEZ2K.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-3Q2SEOT3.js';
|
|
11
11
|
import { remoteLookupFailed } from './chunk-N2QYP3NQ.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-3Q2SEOT3.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-3Q2SEOT3.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -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-X3CGWGAG.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-DE5QLWJK.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-PCY626FL.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-3Q2SEOT3.js';
|
|
9
9
|
import './chunk-PLVHIQJN.js';
|
|
10
10
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-ATEMEVFF.js';
|
|
12
12
|
import './chunk-RA3O54FC.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import './chunk-N2QYP3NQ.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-XEMMZ7VZ.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);
|