@outerlayer/cli 0.40.0-next.20261116220204 → 0.40.0-next.20261117002704
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 +1 -1
- package/dist/{agent-setup-JC3F26N6.js → agent-setup-ITG2WLQK.js} +7 -7
- package/dist/{agent-subcommand-EWQJAV3E.js → agent-subcommand-T4M5PE5I.js} +1 -1
- package/dist/{bridge-WXS4GHQQ.js → bridge-AUDVCIXF.js} +2 -2
- package/dist/{build-ZHPHOW2B.js → build-63TJO4RL.js} +7 -7
- package/dist/{build-disk-YZ7ODI7X.js → build-disk-ZGHQ6OLM.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-77GMYGSF.js → builder-CA34F56P.js} +4 -4
- package/dist/{caller-SM5D57S6.js → caller-LKNUKTP3.js} +7 -7
- package/dist/{check-C5UY3MND.js → check-XYWYU6GK.js} +43 -42
- package/dist/{chunk-BO7DGJTR.js → chunk-2SVXVICA.js} +26 -26
- package/dist/{chunk-QNSF3BS5.js → chunk-35MTVD6X.js} +1 -1
- package/dist/{chunk-BOFWJBL3.js → chunk-3AH7ZUAK.js} +1 -1
- package/dist/{chunk-SWMQTB4P.js → chunk-3EK3YMRS.js} +5 -5
- package/dist/{chunk-N5LT6JCM.js → chunk-3UK6W752.js} +1 -1
- package/dist/{chunk-JTEYATSI.js → chunk-3XGZLUEU.js} +14 -8
- package/dist/{chunk-ZJ6IWCYP.js → chunk-4OGHZ2PG.js} +3 -3
- package/dist/{chunk-4SQWMWQS.js → chunk-5QF3CFE3.js} +2 -2
- package/dist/{chunk-XOWXZHXN.js → chunk-5VRVDHNH.js} +4 -4
- package/dist/{chunk-PM3PXJGE.js → chunk-6YKJ2RKQ.js} +1 -1
- package/dist/{chunk-ZFPLDYZR.js → chunk-BDB3DZ7X.js} +1 -1
- package/dist/{chunk-WVIEJ54M.js → chunk-BFR4W3RX.js} +7 -7
- package/dist/{chunk-3BT6QAT6.js → chunk-BGMIZJII.js} +2 -2
- package/dist/{chunk-U2PH653O.js → chunk-BGRPYWUU.js} +1 -1
- package/dist/{chunk-KQQYVRAS.js → chunk-BPAVTBGG.js} +1 -1
- package/dist/{chunk-VTH2U3EU.js → chunk-DFAXUIG6.js} +1 -1
- package/dist/{chunk-OFGS4BSG.js → chunk-DS7GC2JB.js} +1 -1
- package/dist/{chunk-MEVK7OXF.js → chunk-EJWKKEOB.js} +2 -2
- package/dist/{chunk-TTNVXL5S.js → chunk-ENVJDHAN.js} +1 -1
- package/dist/{chunk-JFHKCU4V.js → chunk-EX4QXXYW.js} +5 -5
- package/dist/{chunk-RQROV4IX.js → chunk-F7YGXLOV.js} +5 -5
- package/dist/{chunk-HP2F6CEN.js → chunk-H6VZZCGC.js} +41 -36
- package/dist/{chunk-C62CQPXK.js → chunk-HR2GYDDL.js} +2 -2
- package/dist/{chunk-2FPPFOCF.js → chunk-HZIY7YCX.js} +7 -7
- package/dist/{chunk-EOZVHAHQ.js → chunk-IX2ELMBR.js} +1 -1
- package/dist/{chunk-7FHP2UJQ.js → chunk-JS2AM7BN.js} +1 -1
- package/dist/{chunk-REAUWHYJ.js → chunk-JUZYSHHA.js} +2 -2
- package/dist/{chunk-4QSRJJKY.js → chunk-K6BIAGPB.js} +2 -2
- package/dist/{chunk-KQMSOVUS.js → chunk-KFUCIJF7.js} +1 -1
- package/dist/{chunk-RY4TNWSO.js → chunk-KN7XHG74.js} +1 -1
- package/dist/{chunk-MN2K4UZ7.js → chunk-LQHCJUA3.js} +3 -3
- package/dist/{chunk-BYK23TXC.js → chunk-NMFZCE4P.js} +3 -3
- package/dist/{chunk-ALNQ65QN.js → chunk-NOHI3MBC.js} +2 -2
- package/dist/{chunk-XUMBXWHP.js → chunk-O6OWUZ3V.js} +2 -2
- package/dist/{chunk-DQ5F2C7G.js → chunk-OBXKW6VF.js} +3 -3
- package/dist/{chunk-DXGLK63L.js → chunk-PHWQHRZG.js} +9 -9
- package/dist/{chunk-5ESTAMMU.js → chunk-R6KZTHIW.js} +2 -2
- package/dist/{chunk-CKNBYJ3V.js → chunk-RSD4TQOD.js} +3 -3
- package/dist/{chunk-6WYDKGEM.js → chunk-SAMELQW5.js} +2 -2
- package/dist/{chunk-Q7R3ZPDR.js → chunk-SOTFSLYA.js} +2 -2
- package/dist/{chunk-PJEAA2YG.js → chunk-SU6GA65D.js} +1 -1
- package/dist/{chunk-KRKTRRAA.js → chunk-THAESND6.js} +1 -1
- package/dist/{chunk-UFCL2LGN.js → chunk-TU4PQ4CD.js} +1 -1
- package/dist/{chunk-ALNKPDO7.js → chunk-UQD76TOU.js} +3 -3
- package/dist/{chunk-RLAMV6CK.js → chunk-V7ENVZZR.js} +3 -3
- package/dist/{chunk-BMS44OSB.js → chunk-VAXBKKG4.js} +3 -3
- package/dist/{chunk-OXIUSLAE.js → chunk-VJWRB7BK.js} +1 -1
- package/dist/{chunk-5X5QLEXA.js → chunk-VLCUYNED.js} +3 -3
- package/dist/{chunk-CDJJPBSR.js → chunk-VPD2TY6U.js} +2 -1
- package/dist/{chunk-WYUZTBBR.js → chunk-W4QHG6VM.js} +1 -1
- package/dist/{chunk-E7MVQJ7V.js → chunk-YRF7F2TQ.js} +2 -2
- package/dist/{chunk-AVXBOVJU.js → chunk-Z4R7JF6C.js} +2 -2
- package/dist/{chunk-LSQYJ6S5.js → chunk-Z5BXBH6M.js} +6 -6
- package/dist/{chunk-U6E6XSDD.js → chunk-Z5J6IPYQ.js} +6 -7
- package/dist/{claude-launcher-ZTUSGHO5.js → claude-launcher-WFYFNHUQ.js} +1 -1
- package/dist/{cli-R43HPCNH.js → cli-APYYEGI6.js} +141 -151
- package/dist/{command-CGIF5OQM.js → command-LTPHM4KZ.js} +34 -34
- package/dist/{config-YHSGL25Q.js → config-K6RF5TY6.js} +6 -6
- package/dist/{connect-cmd-E4SDVANQ.js → connect-cmd-E3M2RQB5.js} +5 -5
- package/dist/{container-start-42NGB2QB.js → container-start-FPLQOZTD.js} +31 -31
- package/dist/{context-show-cmd-OIWMFZGI.js → context-show-cmd-H45BCDZO.js} +6 -6
- package/dist/{control-plane-launch-YLQ7EYSP.js → control-plane-launch-6FHKEZIQ.js} +5 -5
- package/dist/{demo-record-cmd-255JUNQU.js → demo-record-cmd-7GYNIICA.js} +2 -2
- package/dist/{demo-voice-cmd-XHFKWMPK.js → demo-voice-cmd-2NGBXD6Y.js} +11 -11
- package/dist/{docker-ORLC5V6H.js → docker-M4TE7I2E.js} +4 -4
- package/dist/{doctor-IYFMP3LN.js → doctor-S3QZPQ2F.js} +33 -33
- package/dist/{emit-artifact-cmd-WSNZ2FLC.js → emit-artifact-cmd-UHQG2FQS.js} +10 -10
- package/dist/{emit-criteria-cmd-6IDBWMIQ.js → emit-criteria-cmd-ETJPON5K.js} +7 -7
- package/dist/{emit-demo-cmd-L5WF6YAL.js → emit-demo-cmd-IPK53FHD.js} +11 -11
- package/dist/{emit-finding-cmd-Z3XRTBP6.js → emit-finding-cmd-DL6E6AQL.js} +7 -7
- package/dist/{emit-result-cmd-CTUXHKXI.js → emit-result-cmd-ILPPSI3K.js} +9 -9
- package/dist/{emit-step-cmd-QJMQBAW6.js → emit-step-cmd-CMB56E3C.js} +7 -7
- package/dist/{exec-client-2DPHGEQ7.js → exec-client-XTXZSGIK.js} +3 -3
- package/dist/{find-unit-42KZMUNX.js → find-unit-3WJF7RFR.js} +8 -8
- package/dist/{findings-cmd-HCXUYYFF.js → findings-cmd-C2D4QIYY.js} +7 -7
- package/dist/{fleet-readiness-T3A4OXL5.js → fleet-readiness-UPQAAMPP.js} +5 -5
- package/dist/{governing-source-3NGFOGV5.js → governing-source-4UMCWAEA.js} +9 -9
- package/dist/{guest-init-PYTIPXJO.js → guest-init-OGZDDA45.js} +4 -4
- package/dist/{hook-fast-C7WPT57P.js → hook-fast-XCGO72FK.js} +1 -1
- package/dist/{host-checks-7EKRJE6O.js → host-checks-DQVDLDZG.js} +29 -29
- package/dist/{host-key-TMN3XEN4.js → host-key-UYIZS52D.js} +3 -3
- package/dist/{image-tag-2RPNWED5.js → image-tag-TG7HRWDA.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-R2ZBIBGV.js → init-6PQ4UZ56.js} +29 -29
- package/dist/{init-7BANKI6E.js → init-DADXCFJX.js} +29 -29
- package/dist/{init-agent-3T33IF3B.js → init-agent-I7R4HUIQ.js} +29 -29
- package/dist/{init-cmd-LEMSEJFV.js → init-cmd-6YT5MOGN.js} +11 -11
- package/dist/{init-update-R45YPY6Z.js → init-update-BJN7CPRA.js} +8 -8
- package/dist/{install-cmd-BTSGKGLY.js → install-cmd-VCLVT3GB.js} +9 -9
- package/dist/{launch-agent-JAV2TK6O.js → launch-agent-425NNQPI.js} +9 -9
- package/dist/{logs-FIMGCWIJ.js → logs-TBIGZPKG.js} +2 -2
- package/dist/{loop-B6PC4TIA.js → loop-AUAQVFAU.js} +37 -37
- package/dist/{machine-DE27UZT3.js → machine-HPME6PXN.js} +29 -29
- package/dist/{mcp-serve-cmd-SDJJODVQ.js → mcp-serve-cmd-Z3GKR5MP.js} +4 -4
- package/dist/{paths-Z5WLOE3L.js → paths-GRJGT5AP.js} +2 -2
- package/dist/{pending-VBUAC36E.js → pending-YVKVMPAW.js} +3 -3
- package/dist/{pidfile-IRBF5RBB.js → pidfile-2KPDN5A6.js} +3 -3
- package/dist/{record-5ZQJPUU7.js → record-Y2T2OEET.js} +3 -3
- package/dist/{run-cmd-YRGHB2FX.js → run-cmd-VHTEX3XS.js} +7 -7
- package/dist/{runner-env-MJV3XSQN.js → runner-env-6KNKI2TZ.js} +8 -8
- package/dist/{runner-identity-YA4I56ZF.js → runner-identity-5NE5577P.js} +4 -4
- package/dist/{runner-key-2KUWD73V.js → runner-key-E64VN3MQ.js} +29 -29
- package/dist/{session-sender-A7JUBMOO.js → session-sender-5KIOBYZM.js} +10 -10
- package/dist/{setup-cmd-DVUX3W7V.js → setup-cmd-67VCWV63.js} +6 -6
- package/dist/{setup-wiring-AKTMN2H4.js → setup-wiring-EX7C5PTG.js} +33 -33
- package/dist/{spec-cmd-2IPC4QCZ.js → spec-cmd-6XK7JVGC.js} +8 -8
- package/dist/{state-F5KL5ZTE.js → state-6UA4AE4Q.js} +3 -3
- package/dist/{status-3J56J2VY.js → status-LW5OM4ON.js} +29 -29
- package/dist/{sync-cmd-CD5REXOW.js → sync-cmd-65JX5EJ4.js} +9 -9
- package/dist/{update-steps-MMWO4K3H.js → update-steps-JFVCPZ24.js} +30 -30
- package/dist/{watch-MDF7ZTX3.js → watch-L7IVSO5D.js} +9 -9
- package/dist/{work-claim-cmd-FCSEOL46.js → work-claim-cmd-W6SPUUDJ.js} +13 -13
- package/dist/{work-cmd-QIRKAMXD.js → work-cmd-UTP5PXOP.js} +7 -7
- package/dist/{work-comment-cmd-TP6MGSSN.js → work-comment-cmd-45BYGZ7Z.js} +9 -9
- package/dist/{work-demo-cmd-IM56TAG7.js → work-demo-cmd-NDJC3HEO.js} +7 -7
- package/dist/{work-logs-cmd-PX3H55TS.js → work-logs-cmd-XGYISYHV.js} +7 -7
- package/dist/{work-mock-cmd-TVQVVV27.js → work-mock-cmd-2E4B2ACI.js} +7 -7
- package/dist/{work-needs-attention-cmd-XHROYKCN.js → work-needs-attention-cmd-G7ILFISE.js} +7 -7
- package/dist/{work-no-change-cmd-HIB4AX6X.js → work-no-change-cmd-7SW5ZEGP.js} +7 -7
- package/dist/{work-open-pr-cmd-R5567TX5.js → work-open-pr-cmd-XOFSHSP2.js} +8 -8
- package/dist/{work-pr-cmd-XKYHVAU2.js → work-pr-cmd-WYQOLDP4.js} +7 -7
- package/dist/{work-proofs-cmd-HE4XVJ7H.js → work-proofs-cmd-4CB6GZD4.js} +8 -8
- package/dist/{work-proofs-record-SNQQZVJB.js → work-proofs-record-IFVCQU2J.js} +14 -14
- package/dist/{work-stop-cmd-T7XVFOZG.js → work-stop-cmd-KME3DAW2.js} +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -373,7 +373,7 @@ content:
|
|
|
373
373
|
`runner.sandbox.provider: "outerlayer"`. The runner calls no sandbox
|
|
374
374
|
provider's API and holds no provider key. It asks your gateway for the
|
|
375
375
|
sandbox of each claim with `POST /v1/work-items/{id}/claim/sandbox`, and sends
|
|
376
|
-
the
|
|
376
|
+
the idle and time limits and the runner's own label. It
|
|
377
377
|
ends, reads and lists its sandboxes, and asks for the address of the build's
|
|
378
378
|
relay, on `/v1/managed-sandboxes`. The gateway answers with one sandbox's
|
|
379
379
|
address and secret. The runner then calls that sandbox's data plane with the
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { keepHandWritten, runAgentSetup } from './chunk-
|
|
3
|
+
export { keepHandWritten, runAgentSetup } from './chunk-BGMIZJII.js';
|
|
4
4
|
import './chunk-PNX74XDV.js';
|
|
5
5
|
import './chunk-SCY7U54A.js';
|
|
6
6
|
import './chunk-TD7CTDKT.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-BGRPYWUU.js';
|
|
8
8
|
import './chunk-DV44KCM6.js';
|
|
9
9
|
import './chunk-WNLDTV2M.js';
|
|
10
10
|
import './chunk-DHB3M244.js';
|
|
11
11
|
import './chunk-A2LHHKTT.js';
|
|
12
12
|
import './chunk-2AM6Z5BP.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-NOHI3MBC.js';
|
|
14
14
|
import './chunk-3DILWPBX.js';
|
|
15
15
|
import './chunk-CLVWA4DI.js';
|
|
16
16
|
import './chunk-A2WPWZJA.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-KN7XHG74.js';
|
|
18
18
|
import './chunk-HWVMRETT.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
19
|
+
import './chunk-KFUCIJF7.js';
|
|
20
|
+
import './chunk-JS2AM7BN.js';
|
|
21
|
+
import './chunk-VPD2TY6U.js';
|
|
22
22
|
import './chunk-5XEO7FJW.js';
|
|
23
23
|
import './chunk-545P7JY7.js';
|
|
24
24
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -19,7 +19,7 @@ function resolveSubcommand(word, agents = defaultAgents()) {
|
|
|
19
19
|
async function runSubcommand(argv, agents = defaultAgents()) {
|
|
20
20
|
const agentId = resolveSubcommand(argv[0], agents);
|
|
21
21
|
if (agentId === void 0) return void 0;
|
|
22
|
-
const { runAgentLauncher } = await import('./claude-launcher-
|
|
22
|
+
const { runAgentLauncher } = await import('./claude-launcher-WFYFNHUQ.js');
|
|
23
23
|
return runAgentLauncher(agentId, argv.slice(1), { agents });
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { BRIDGE_ADDRESS, BRIDGE_CIDR, CONTAINER_NO_PROXY, CONTAINER_PROXY, TUNNEL_PORT, dockerClientConfig, startBridgeForward, writeDockerClientConfig } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { BRIDGE_ADDRESS, BRIDGE_CIDR, CONTAINER_NO_PROXY, CONTAINER_PROXY, TUNNEL_PORT, dockerClientConfig, startBridgeForward, writeDockerClientConfig } from './chunk-35MTVD6X.js';
|
|
4
|
+
import './chunk-VPD2TY6U.js';
|
|
5
5
|
import './chunk-5XEO7FJW.js';
|
|
6
6
|
import './chunk-MHXUQI67.js';
|
|
7
7
|
import './chunk-MB6OS6TU.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, readRepositoryRecipe, universalBase, writeRecord } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, readRepositoryRecipe, universalBase, writeRecord } from './chunk-3EK3YMRS.js';
|
|
4
|
+
import './chunk-BDB3DZ7X.js';
|
|
5
|
+
import './chunk-IX2ELMBR.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
7
|
import './chunk-FJGYU2EK.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-RSD4TQOD.js';
|
|
9
9
|
export { RecipeError } from './chunk-47NQTKLX.js';
|
|
10
10
|
import './chunk-A2WPWZJA.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
11
|
+
import './chunk-KFUCIJF7.js';
|
|
12
|
+
import './chunk-JS2AM7BN.js';
|
|
13
|
+
import './chunk-VPD2TY6U.js';
|
|
14
14
|
import './chunk-5XEO7FJW.js';
|
|
15
15
|
import './chunk-MHXUQI67.js';
|
|
16
16
|
import './chunk-MB6OS6TU.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-5QF3CFE3.js';
|
|
4
|
+
import './chunk-RSD4TQOD.js';
|
|
5
5
|
import './chunk-47NQTKLX.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-KFUCIJF7.js';
|
|
7
|
+
import './chunk-JS2AM7BN.js';
|
|
8
|
+
import './chunk-VPD2TY6U.js';
|
|
9
9
|
import './chunk-5XEO7FJW.js';
|
|
10
10
|
import './chunk-MHXUQI67.js';
|
|
11
11
|
import './chunk-MB6OS6TU.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-17T00:34:05.861Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-RSD4TQOD.js';
|
|
4
4
|
import './chunk-47NQTKLX.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-KFUCIJF7.js';
|
|
6
|
+
import './chunk-JS2AM7BN.js';
|
|
7
|
+
import './chunk-VPD2TY6U.js';
|
|
8
8
|
import './chunk-5XEO7FJW.js';
|
|
9
9
|
import './chunk-MHXUQI67.js';
|
|
10
10
|
import './chunk-MB6OS6TU.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-EJWKKEOB.js';
|
|
4
|
+
import './chunk-Z5J6IPYQ.js';
|
|
5
|
+
import './chunk-5QF3CFE3.js';
|
|
6
|
+
import './chunk-RSD4TQOD.js';
|
|
7
7
|
import './chunk-47NQTKLX.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-KFUCIJF7.js';
|
|
9
|
+
import './chunk-JS2AM7BN.js';
|
|
10
|
+
import './chunk-VPD2TY6U.js';
|
|
11
11
|
import './chunk-5XEO7FJW.js';
|
|
12
12
|
import './chunk-MHXUQI67.js';
|
|
13
13
|
import './chunk-MB6OS6TU.js';
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-2SVXVICA.js';
|
|
4
|
+
import './chunk-ENVJDHAN.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-HZIY7YCX.js';
|
|
7
|
+
import './chunk-VLCUYNED.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import { findServiceUnit } from './chunk-
|
|
14
|
-
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
15
|
-
import './chunk-
|
|
9
|
+
import './chunk-BPAVTBGG.js';
|
|
10
|
+
import './chunk-W4QHG6VM.js';
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-BFR4W3RX.js';
|
|
12
|
+
import './chunk-SU6GA65D.js';
|
|
13
|
+
import { findServiceUnit } from './chunk-3AH7ZUAK.js';
|
|
14
|
+
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-H6VZZCGC.js';
|
|
15
|
+
import './chunk-6YKJ2RKQ.js';
|
|
16
16
|
import './chunk-46D7LPS3.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-2PGI6RDE.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-SOTFSLYA.js';
|
|
20
|
+
import './chunk-OBXKW6VF.js';
|
|
21
21
|
import './chunk-UU3A53VB.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
22
|
+
import './chunk-VAXBKKG4.js';
|
|
23
|
+
import './chunk-35MTVD6X.js';
|
|
24
|
+
import './chunk-K6BIAGPB.js';
|
|
25
|
+
import './chunk-F7YGXLOV.js';
|
|
26
|
+
import './chunk-JUZYSHHA.js';
|
|
27
27
|
import './chunk-C2PZOLN7.js';
|
|
28
28
|
import './chunk-B4XB5QFD.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-3UK6W752.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-EJWKKEOB.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
33
|
+
import './chunk-3EK3YMRS.js';
|
|
34
|
+
import './chunk-BDB3DZ7X.js';
|
|
35
|
+
import './chunk-IX2ELMBR.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
37
37
|
import './chunk-OGFGZQA3.js';
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
40
|
-
import { describeCallFailure } from './chunk-
|
|
38
|
+
import './chunk-TU4PQ4CD.js';
|
|
39
|
+
import './chunk-THAESND6.js';
|
|
40
|
+
import { describeCallFailure } from './chunk-Z5BXBH6M.js';
|
|
41
41
|
import './chunk-FJGYU2EK.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-3XGZLUEU.js';
|
|
43
43
|
import './chunk-A7M4QXVX.js';
|
|
44
|
-
import './chunk-
|
|
45
|
-
import { keyRunnerFactory, loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
44
|
+
import './chunk-YRF7F2TQ.js';
|
|
45
|
+
import { keyRunnerFactory, loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-Z5J6IPYQ.js';
|
|
46
|
+
import './chunk-5QF3CFE3.js';
|
|
47
|
+
import './chunk-RSD4TQOD.js';
|
|
48
48
|
import './chunk-47NQTKLX.js';
|
|
49
49
|
import './chunk-SCY7U54A.js';
|
|
50
50
|
import './chunk-TD7CTDKT.js';
|
|
51
|
-
import './chunk-
|
|
51
|
+
import './chunk-BGRPYWUU.js';
|
|
52
52
|
import './chunk-DV44KCM6.js';
|
|
53
53
|
import './chunk-WNLDTV2M.js';
|
|
54
54
|
import './chunk-DHB3M244.js';
|
|
55
55
|
import './chunk-A2LHHKTT.js';
|
|
56
56
|
import './chunk-2AM6Z5BP.js';
|
|
57
|
-
import './chunk-
|
|
57
|
+
import './chunk-NOHI3MBC.js';
|
|
58
58
|
import './chunk-3DILWPBX.js';
|
|
59
59
|
import './chunk-CLVWA4DI.js';
|
|
60
60
|
import './chunk-A2WPWZJA.js';
|
|
61
61
|
import './chunk-ETP7IGQI.js';
|
|
62
|
-
import './chunk-
|
|
62
|
+
import './chunk-KN7XHG74.js';
|
|
63
63
|
import './chunk-HWVMRETT.js';
|
|
64
|
-
import './chunk-
|
|
65
|
-
import './chunk-
|
|
66
|
-
import { SandboxError, describeSandboxError, SANDBOX_VARIABLES } from './chunk-
|
|
64
|
+
import './chunk-KFUCIJF7.js';
|
|
65
|
+
import './chunk-JS2AM7BN.js';
|
|
66
|
+
import { SandboxError, describeSandboxError, SANDBOX_VARIABLES } from './chunk-VPD2TY6U.js';
|
|
67
67
|
import { parseRunnerEnv } from './chunk-5XEO7FJW.js';
|
|
68
|
-
import './chunk-
|
|
68
|
+
import './chunk-DFAXUIG6.js';
|
|
69
69
|
import './chunk-545P7JY7.js';
|
|
70
70
|
import './chunk-F3J4UKBF.js';
|
|
71
71
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -126,6 +126,7 @@ async function askManagedSandboxes(config, fetchImpl) {
|
|
|
126
126
|
return err.code === "managed_sandboxes_unavailable" ? { refused, unavailable: true } : { refused };
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
+
var IGNORED_MACHINE_NOTE = "runner.sandbox.machine has no effect: the factory's build settings choose the size of each sandbox. Remove the key from the config";
|
|
129
130
|
async function runRunnerCheck(configPath, deps = {}) {
|
|
130
131
|
let config;
|
|
131
132
|
try {
|
|
@@ -203,10 +204,9 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
203
204
|
if (config.sandbox?.provider === "outerlayer" && config.fleet === true) {
|
|
204
205
|
sandboxLine = "sandboxes OuterLayer provides them for each claim, at the size the claim's factory sets";
|
|
205
206
|
} else if (config.sandbox?.provider === "outerlayer") {
|
|
206
|
-
const machine = config.sandbox.machine ?? "small";
|
|
207
207
|
const asked = await askManagedSandboxes(config, deps.fetchImpl);
|
|
208
208
|
if (asked.refused !== void 0) return { ok: false, check: "sandboxes", message: `${configPath}: ${asked.refused}` };
|
|
209
|
-
sandboxLine = `sandboxes OuterLayer provides them
|
|
209
|
+
sandboxLine = `sandboxes OuterLayer provides them, at the machine size in the factory's build settings${asked.unchecked === void 0 ? "" : ` \xB7 not checked: ${asked.unchecked}`}`;
|
|
210
210
|
} else if (config.sandbox !== void 0) {
|
|
211
211
|
const found = sandboxVariablesIn([deps.env ?? process.env], join(dirname(configPath), "runner.env"));
|
|
212
212
|
if ("error" in found) return { ok: false, check: "sandbox key", message: `${SANDBOX_VARIABLES.join(", ")} are not all in this shell, and ${found.path} could not be read to look for them: ${found.error}` };
|
|
@@ -253,9 +253,10 @@ async function runRunnerCheck(configPath, deps = {}) {
|
|
|
253
253
|
`repos include ${config.repos?.include?.join(", ") ?? "(all)"}`,
|
|
254
254
|
`repos exclude ${config.repos?.exclude?.join(", ") ?? "(none)"}`,
|
|
255
255
|
...formerSkill.length > 0 ? [`note ${formerSkillProblem(formerSkill)}`] : [],
|
|
256
|
-
...modelless.length > 0 ? [`note ${modellessProblem(modelless, agents)}`] : []
|
|
256
|
+
...modelless.length > 0 ? [`note ${modellessProblem(modelless, agents)}`] : [],
|
|
257
|
+
...config.sandbox?.machineIgnored === true ? [`note ${IGNORED_MACHINE_NOTE}`] : []
|
|
257
258
|
];
|
|
258
259
|
return { ok: true, lines, unverifiedReason, summary: config.fleet === true ? `${config.url} \xB7 fleet machine${fleetName === void 0 ? "" : ` ${fleetName}`}` : `${config.url} \xB7 app ${keyRunnerFactory(config)}` };
|
|
259
260
|
}
|
|
260
261
|
|
|
261
|
-
export { askManagedSandboxes, runRunnerCheck };
|
|
262
|
+
export { IGNORED_MACHINE_NOTE, askManagedSandboxes, runRunnerCheck };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ENVJDHAN.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-HZIY7YCX.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-VLCUYNED.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
|
-
import { writeFleetState } from './chunk-
|
|
9
|
-
import { writePendingUpdate } 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, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
13
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
8
|
+
import { writeFleetState } from './chunk-BPAVTBGG.js';
|
|
9
|
+
import { writePendingUpdate } from './chunk-W4QHG6VM.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-BFR4W3RX.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-SU6GA65D.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-H6VZZCGC.js';
|
|
13
|
+
import { RUNNER_PROTOCOL } from './chunk-6YKJ2RKQ.js';
|
|
14
14
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-46D7LPS3.js';
|
|
15
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
16
|
-
import { RepoFilter } from './chunk-
|
|
15
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-OBXKW6VF.js';
|
|
16
|
+
import { RepoFilter } from './chunk-F7YGXLOV.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
18
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
18
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-3UK6W752.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-EJWKKEOB.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-3EK3YMRS.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-IX2ELMBR.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
25
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
26
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
27
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
28
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-
|
|
29
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
30
|
-
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
31
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
24
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-Z5BXBH6M.js';
|
|
25
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-3XGZLUEU.js';
|
|
26
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-Z5J6IPYQ.js';
|
|
27
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-5QF3CFE3.js';
|
|
28
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-RSD4TQOD.js';
|
|
29
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-KFUCIJF7.js';
|
|
30
|
+
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes, imagesDir } from './chunk-JS2AM7BN.js';
|
|
31
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-VPD2TY6U.js';
|
|
32
32
|
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-5XEO7FJW.js';
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
33
|
+
import { cleanAttachmentName } from './chunk-DFAXUIG6.js';
|
|
34
34
|
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-MHXUQI67.js';
|
|
35
35
|
import { defaultAgents, resolvePackRoot } from './chunk-MB6OS6TU.js';
|
|
36
36
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -3234,7 +3234,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3234
3234
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3235
3235
|
);
|
|
3236
3236
|
async function tryClaimAndStart(state, item, queue) {
|
|
3237
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3237
|
+
const { postJson: postJson2 } = await import('./work-cmd-UTP5PXOP.js');
|
|
3238
3238
|
const log = logOf(state);
|
|
3239
3239
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3240
3240
|
const claim = await retrySend(
|
|
@@ -4865,7 +4865,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4865
4865
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4866
4866
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4867
4867
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4868
|
-
return (await import('./check-
|
|
4868
|
+
return (await import('./check-XYWYU6GK.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4869
4869
|
},
|
|
4870
4870
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4871
4871
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-VPD2TY6U.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-OBXKW6VF.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-5XEO7FJW.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
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-BDB3DZ7X.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-IX2ELMBR.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-RSD4TQOD.js';
|
|
8
8
|
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-47NQTKLX.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-JS2AM7BN.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-VPD2TY6U.js';
|
|
12
12
|
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-MHXUQI67.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JS2AM7BN.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
5
|
+
import { workPageUrl } from './chunk-BGRPYWUU.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-DV44KCM6.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-KN7XHG74.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-KFUCIJF7.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-JIMISJV2.js';
|
|
@@ -116,7 +116,7 @@ var WorkCommandError = class extends Error {
|
|
|
116
116
|
* reached a response. A caller that has to tell one refusal from another —
|
|
117
117
|
* a claim lost to another host from a key that no longer works — reads it
|
|
118
118
|
* rather than matching on the message. */
|
|
119
|
-
constructor(message, retryable = false, status, code, reason, billingUrl, lowestVersion) {
|
|
119
|
+
constructor(message, retryable = false, status, code, reason, billingUrl, lowestVersion, retryAfter) {
|
|
120
120
|
super(message);
|
|
121
121
|
this.retryable = retryable;
|
|
122
122
|
this.status = status;
|
|
@@ -124,6 +124,7 @@ var WorkCommandError = class extends Error {
|
|
|
124
124
|
this.reason = reason;
|
|
125
125
|
this.billingUrl = billingUrl;
|
|
126
126
|
this.lowestVersion = lowestVersion;
|
|
127
|
+
this.retryAfter = retryAfter;
|
|
127
128
|
}
|
|
128
129
|
};
|
|
129
130
|
var WORK_LINK_RETRY_DELAYS_MS = [1e3, 5e3, 15e3, 6e4];
|
|
@@ -256,7 +257,8 @@ async function sendJsonBefore(method, url, path, apiKey, appId, body, fetchImpl,
|
|
|
256
257
|
json.error?.code,
|
|
257
258
|
typeof reason === "string" ? reason : void 0,
|
|
258
259
|
void 0,
|
|
259
|
-
typeof json.error?.lowestVersion === "string" ? json.error.lowestVersion : void 0
|
|
260
|
+
typeof json.error?.lowestVersion === "string" ? json.error.lowestVersion : void 0,
|
|
261
|
+
response.headers.get("retry-after") ?? void 0
|
|
260
262
|
);
|
|
261
263
|
}
|
|
262
264
|
return { status: response.status, data: json.data ?? json };
|
|
@@ -318,7 +320,11 @@ async function getJson(url, path, apiKey, appId, fetchImpl, signer, limits) {
|
|
|
318
320
|
json.error?.message ?? `request failed (${response.status})`,
|
|
319
321
|
response.status >= 500 || response.status === 429,
|
|
320
322
|
response.status,
|
|
321
|
-
json.error?.code
|
|
323
|
+
json.error?.code,
|
|
324
|
+
void 0,
|
|
325
|
+
void 0,
|
|
326
|
+
void 0,
|
|
327
|
+
response.headers.get("retry-after") ?? void 0
|
|
322
328
|
);
|
|
323
329
|
}
|
|
324
330
|
return { status: response.status, data: json.data ?? json, pagination: json.pagination ?? null };
|
|
@@ -550,7 +556,7 @@ async function runWorkLinkSession(opts) {
|
|
|
550
556
|
return await linkSession(opts);
|
|
551
557
|
} catch (err) {
|
|
552
558
|
if (opts.logFailures) {
|
|
553
|
-
const { logHookError } = await import('./hook-fast-
|
|
559
|
+
const { logHookError } = await import('./hook-fast-XCGO72FK.js');
|
|
554
560
|
const reason = err instanceof Error ? err.message : String(err);
|
|
555
561
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
556
562
|
}
|
|
@@ -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-F7YGXLOV.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-DV44KCM6.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KN7XHG74.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-JIMISJV2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-RSD4TQOD.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-JS2AM7BN.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-VJWRB7BK.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-SU6GA65D.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-Z5J6IPYQ.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-JS2AM7BN.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-VPD2TY6U.js';
|
|
4
4
|
import { RELAY_ID, RELAY_USER } from './chunk-5XEO7FJW.js';
|
|
5
5
|
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-MHXUQI67.js';
|
|
6
6
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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, isBuiltinSandbox, 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 { sandboxSettingsFrom } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-H6VZZCGC.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-OBXKW6VF.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-3XGZLUEU.js';
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-Z5J6IPYQ.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-5QF3CFE3.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-KFUCIJF7.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-VPD2TY6U.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-5XEO7FJW.js';
|
|
11
11
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-MHXUQI67.js';
|
|
12
12
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-PNX74XDV.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-SCY7U54A.js';
|
|
5
5
|
import { installStarterPack } from './chunk-TD7CTDKT.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-BGRPYWUU.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-WNLDTV2M.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-NOHI3MBC.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-IPS7A2BK.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|