@outerlayer/cli 0.40.0-next.20261116163636 → 0.40.0-next.20261116174349
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-WO2OJYRM.js → agent-setup-C4SP76RQ.js} +7 -7
- package/dist/{agent-subcommand-627NTYCT.js → agent-subcommand-RIHIZDJL.js} +1 -1
- package/dist/{bridge-ND2CAJZ5.js → bridge-LUFXLKB3.js} +2 -2
- package/dist/{build-F6YPIWXX.js → build-IOMZSFXX.js} +7 -7
- package/dist/{build-disk-NUB2IQLK.js → build-disk-GDBXPKVU.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-2SO7EBSA.js → builder-FZCJZRB5.js} +4 -4
- package/dist/{caller-FFGBVIU7.js → caller-BYIS3VLG.js} +7 -7
- package/dist/{check-XDVWBT5T.js → check-YD3ILIWA.js} +39 -39
- package/dist/{chunk-DQ77PKPL.js → chunk-2NMP6JTW.js} +3 -3
- package/dist/{chunk-4BPYPPWG.js → chunk-2TOYDBQE.js} +1 -1
- package/dist/{chunk-S2FSJ7H2.js → chunk-3DUYDFZS.js} +5 -5
- package/dist/{chunk-Q7AUTP6Z.js → chunk-3VORJPTM.js} +6 -6
- package/dist/{chunk-J74SL6JI.js → chunk-46D7LPS3.js} +3 -2
- package/dist/{chunk-PZAI36UE.js → chunk-4OLHKE6K.js} +2 -2
- package/dist/{chunk-FR3CCEE2.js → chunk-5BNP3YPA.js} +2 -2
- package/dist/{chunk-Z7OGU6UD.js → chunk-5IDATPRL.js} +1 -1
- package/dist/{chunk-JWIH23KZ.js → chunk-5MSUF63A.js} +3 -3
- package/dist/{chunk-EHGWEJJP.js → chunk-65IH42O5.js} +6 -6
- package/dist/{chunk-XAATEDXK.js → chunk-6UFFSMQG.js} +2 -2
- package/dist/{chunk-RZRR2IUL.js → chunk-7DM2GBSI.js} +1 -1
- package/dist/{chunk-7MVTX74D.js → chunk-7VW73CPS.js} +1 -1
- package/dist/{chunk-QZ3QG4FE.js → chunk-AEGLAS4Y.js} +1 -1
- package/dist/{chunk-OTB63HQF.js → chunk-AFSJ4GHZ.js} +1 -1
- package/dist/{chunk-5XAV7LGB.js → chunk-ALJMNIHW.js} +1 -1
- package/dist/{chunk-QZBZQVZK.js → chunk-BKN5HQCX.js} +3 -3
- package/dist/{chunk-L7MCKDRU.js → chunk-BQUUKECC.js} +5 -5
- package/dist/{chunk-7TZ6N25K.js → chunk-BXDQFZAO.js} +1 -1
- package/dist/{chunk-LAMPJU6V.js → chunk-C2ZGJRMQ.js} +1 -1
- package/dist/{chunk-EOTRNAXM.js → chunk-CNFP7ZXP.js} +2 -2
- package/dist/{chunk-DW4N7KNX.js → chunk-CSSBYLSW.js} +7 -7
- package/dist/{chunk-ZX6NQ4TE.js → chunk-DIF5NMRF.js} +1 -1
- package/dist/{chunk-SBEUAS2P.js → chunk-DXFE3GY5.js} +2 -2
- package/dist/{chunk-HHMFCT5K.js → chunk-EHF2UWZC.js} +1 -1
- package/dist/{chunk-ETXP6DPT.js → chunk-F5DIRRMG.js} +1 -1
- package/dist/{chunk-XJTA4GJE.js → chunk-FNPCVOB5.js} +5 -5
- package/dist/{chunk-T3YVHCKG.js → chunk-FVTNWJPF.js} +3 -3
- package/dist/{chunk-JFHPOJ7T.js → chunk-IW4J7WUW.js} +2 -2
- package/dist/{chunk-KCSVX7ML.js → chunk-J6HSOUU6.js} +7 -7
- package/dist/{chunk-C5TJZMYS.js → chunk-KJCEJOJI.js} +1 -1
- package/dist/{chunk-GDARDBX4.js → chunk-KXFHHQ2L.js} +3 -3
- package/dist/{chunk-U77FUTNH.js → chunk-LFGVSVZD.js} +3 -3
- package/dist/{chunk-MGNDNMTO.js → chunk-LYDFDNJH.js} +9 -9
- package/dist/{chunk-XEV7LRU3.js → chunk-MDWAL6FD.js} +1 -1
- package/dist/{chunk-PKIXRFB2.js → chunk-MP4PWSAP.js} +2 -2
- package/dist/{chunk-U7CJ6EPP.js → chunk-NFFFLKX4.js} +3 -3
- package/dist/{chunk-G4TG7RBM.js → chunk-NIHE7WJ6.js} +1 -1
- package/dist/{chunk-EJNRRK26.js → chunk-OW6YWM4F.js} +3 -3
- package/dist/{chunk-RG2Z7XIR.js → chunk-OWIG6HOF.js} +2 -2
- package/dist/{chunk-JR347MV3.js → chunk-PGF36SYX.js} +2 -2
- package/dist/{chunk-2MNKGEEU.js → chunk-QMQH5MAW.js} +4 -4
- package/dist/{chunk-UZPRXITI.js → chunk-RZ3SBLIQ.js} +25 -25
- package/dist/{chunk-SQMXHLMF.js → chunk-SCG7JYAQ.js} +3 -3
- package/dist/{chunk-JXZ3LIHN.js → chunk-SR5UDIQO.js} +1 -1
- package/dist/{chunk-SVJKVEUF.js → chunk-T26E7YR6.js} +2 -2
- package/dist/{chunk-C4KTCBOR.js → chunk-TQN2NY2A.js} +1 -1
- package/dist/{chunk-V3Y2LSIQ.js → chunk-TVSEBOHW.js} +2 -2
- package/dist/{chunk-NKABIKPX.js → chunk-UAFFHGF7.js} +76 -38
- package/dist/{chunk-YDZV2E5U.js → chunk-UTZWCNFV.js} +11 -2
- package/dist/{chunk-43GWGP2Z.js → chunk-VEA3VSYK.js} +1 -1
- package/dist/{chunk-NLBGDF55.js → chunk-W3GCD7EY.js} +3 -3
- package/dist/{chunk-65VG7TV5.js → chunk-WTX57JCA.js} +2 -2
- package/dist/{chunk-H32FCHB5.js → chunk-XYJHIH4N.js} +1 -1
- package/dist/{chunk-EZ4DZGES.js → chunk-ZOUXFTGZ.js} +2 -2
- package/dist/{claude-launcher-JUGEXMO7.js → claude-launcher-6JBILMIB.js} +1 -1
- package/dist/{cli-6HHEJHUB.js → cli-VDQALG6T.js} +136 -136
- package/dist/{command-BHQCP5E3.js → command-2DK6WUWO.js} +35 -35
- package/dist/{config-T34TYP32.js → config-OKFK2D2R.js} +6 -6
- package/dist/{connect-cmd-SVTZFSRL.js → connect-cmd-DLQVEKAR.js} +5 -5
- package/dist/{container-start-RAOTI3SI.js → container-start-AIOV74N2.js} +32 -32
- package/dist/{context-show-cmd-G2DK7GH3.js → context-show-cmd-WHX2TVDI.js} +6 -6
- package/dist/{control-plane-launch-BWUJZAO2.js → control-plane-launch-FC2CG2WV.js} +5 -5
- package/dist/{demo-record-cmd-DASYPH54.js → demo-record-cmd-TAX3IVEZ.js} +2 -2
- package/dist/{demo-voice-cmd-42WXU6GF.js → demo-voice-cmd-UZ5REOVQ.js} +11 -11
- package/dist/{docker-5IU4WLT5.js → docker-K3AROT4N.js} +4 -4
- package/dist/{doctor-6BDO7QKS.js → doctor-VUK7NCG5.js} +34 -34
- package/dist/{emit-artifact-cmd-SVSLY7HB.js → emit-artifact-cmd-QKOYWMHX.js} +10 -10
- package/dist/{emit-criteria-cmd-AOQHGCV3.js → emit-criteria-cmd-UOCPNUZ2.js} +7 -7
- package/dist/{emit-demo-cmd-AIK3WB2Z.js → emit-demo-cmd-7ZP44OBX.js} +11 -11
- package/dist/{emit-finding-cmd-6I4F4UWJ.js → emit-finding-cmd-YNET3JQC.js} +7 -7
- package/dist/{emit-result-cmd-4QS4GPH2.js → emit-result-cmd-YN4UVIR7.js} +9 -9
- package/dist/{emit-step-cmd-3GFMIVRY.js → emit-step-cmd-O67GTOGF.js} +7 -7
- package/dist/{exec-client-ZZQSNFIT.js → exec-client-NCY4LVTP.js} +3 -3
- package/dist/{find-unit-EZ2XURDB.js → find-unit-6FDRYJ4Q.js} +8 -8
- package/dist/{findings-cmd-CECQLYVP.js → findings-cmd-RVZTJ7F4.js} +7 -7
- package/dist/{fleet-readiness-EQLBI2IT.js → fleet-readiness-XACYKJYF.js} +5 -5
- package/dist/{governing-source-ZZTOBIRP.js → governing-source-GQ3CVSHE.js} +9 -9
- package/dist/{guest-init-K5475ZQO.js → guest-init-VATBVGYG.js} +4 -4
- package/dist/{hook-fast-TBCK3I4E.js → hook-fast-IBQM3XCM.js} +1 -1
- package/dist/{host-checks-I2LZOUET.js → host-checks-TOXPLGQR.js} +30 -30
- package/dist/{pending-I5AP7IJ6.js → host-key-DLFYQJXS.js} +3 -3
- package/dist/{image-tag-DTTH4Z6T.js → image-tag-ZQDFHNOV.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-L5MJ2P3L.js → init-BCZJQYL7.js} +30 -30
- package/dist/{init-SRI7RIGW.js → init-ZJOC4YOQ.js} +30 -30
- package/dist/{init-agent-BLT7QWKX.js → init-agent-KPONR3NZ.js} +30 -30
- package/dist/{init-cmd-TALNXEW7.js → init-cmd-CFWVSHRX.js} +11 -11
- package/dist/{init-update-NYCGYG6A.js → init-update-Q35POT3A.js} +8 -8
- package/dist/{install-cmd-DKLCUHBU.js → install-cmd-BMRV5AGB.js} +9 -9
- package/dist/{launch-agent-WUIHZ74D.js → launch-agent-7PKKCS3Y.js} +9 -9
- package/dist/{logs-I4VXXTV5.js → logs-IDRVZ6GR.js} +2 -2
- package/dist/{loop-4A2CJDP2.js → loop-UDAOJKOM.js} +38 -38
- package/dist/{machine-Z3FN3EPB.js → machine-2H7GRC7U.js} +30 -30
- package/dist/{mcp-serve-cmd-5AMUEGSA.js → mcp-serve-cmd-CTLLRVD7.js} +4 -4
- package/dist/{paths-OYHBXFV4.js → paths-JQDBTC6Z.js} +2 -2
- package/dist/{host-key-ZXRIIWZC.js → pending-75AP4OWO.js} +3 -3
- package/dist/{pidfile-PN5VYXTM.js → pidfile-4KKLC5XX.js} +3 -3
- package/dist/{record-H5TSGSHS.js → record-OG5XJVNK.js} +3 -3
- package/dist/{run-cmd-ZWHGXBEN.js → run-cmd-NY7CLM47.js} +7 -7
- package/dist/{runner-env-WVEXFFFD.js → runner-env-J4VFHBTX.js} +8 -8
- package/dist/{runner-identity-WSL54Z2Q.js → runner-identity-MUO7ZRHD.js} +4 -4
- package/dist/{runner-key-LBLXRBG7.js → runner-key-JVYVQFK7.js} +30 -30
- package/dist/{session-sender-UML25ESX.js → session-sender-YJ7PMFFN.js} +10 -10
- package/dist/{setup-cmd-YE6FV6GI.js → setup-cmd-O4ECRHWY.js} +6 -6
- package/dist/{setup-wiring-6XQZN6IM.js → setup-wiring-6VJJUERY.js} +34 -34
- package/dist/{spec-cmd-IKHLMKLA.js → spec-cmd-ZMB3QZOY.js} +8 -8
- package/dist/{state-ZG4F7Q6L.js → state-HEF6DI57.js} +3 -3
- package/dist/{status-XWUFP5R4.js → status-NHDZIWBE.js} +30 -30
- package/dist/{sync-cmd-WJCLQ7JV.js → sync-cmd-UR5TLWPA.js} +9 -9
- package/dist/{update-steps-ENYN7X5S.js → update-steps-RBOIFI7J.js} +31 -31
- package/dist/{watch-BHICLNXC.js → watch-7AEKFGS5.js} +9 -9
- package/dist/{work-claim-cmd-EQGS4H4Q.js → work-claim-cmd-6VC43BOW.js} +13 -13
- package/dist/{work-cmd-ISLS6N6K.js → work-cmd-IYLWLPZJ.js} +7 -7
- package/dist/{work-comment-cmd-2B646ZAR.js → work-comment-cmd-H5RZ4KDR.js} +9 -9
- package/dist/{work-demo-cmd-GF57UCBF.js → work-demo-cmd-JFHZVTFE.js} +7 -7
- package/dist/{work-logs-cmd-YQYCC3UG.js → work-logs-cmd-EEQKE7ES.js} +7 -7
- package/dist/{work-mock-cmd-BLEOHNZZ.js → work-mock-cmd-B6XM6Z4K.js} +7 -7
- package/dist/{work-needs-attention-cmd-E645DC2W.js → work-needs-attention-cmd-NE57YDJ3.js} +7 -7
- package/dist/{work-no-change-cmd-GABW5JNM.js → work-no-change-cmd-S5OLIU64.js} +7 -7
- package/dist/{work-open-pr-cmd-WBVUB7PW.js → work-open-pr-cmd-FXWO45AI.js} +8 -8
- package/dist/{work-pr-cmd-SSYN6MZO.js → work-pr-cmd-4RQHDMGM.js} +7 -7
- package/dist/{work-proofs-cmd-WKIVE2CA.js → work-proofs-cmd-2G2WR7HO.js} +9 -9
- package/dist/{work-proofs-record-AHT6YSZA.js → work-proofs-record-PT7HXMGR.js} +15 -15
- package/dist/{work-stop-cmd-75IPCSPF.js → work-stop-cmd-NMECBYHT.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-review/SKILL.md +8 -5
|
@@ -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-AEGLAS4Y.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,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-4OLHKE6K.js';
|
|
5
|
+
import { workPageUrl } from './chunk-7DM2GBSI.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-NIHE7WJ6.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-AFSJ4GHZ.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';
|
|
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
|
|
|
563
563
|
return await linkSession(opts);
|
|
564
564
|
} catch (err) {
|
|
565
565
|
if (opts.logFailures) {
|
|
566
|
-
const { logHookError } = await import('./hook-fast-
|
|
566
|
+
const { logHookError } = await import('./hook-fast-IBQM3XCM.js');
|
|
567
567
|
const reason = err instanceof Error ? err.message : String(err);
|
|
568
568
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
569
569
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-MDWAL6FD.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-2TOYDBQE.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-UTZWCNFV.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-LYDFDNJH.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-7DM2GBSI.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.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-RZ3SBLIQ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-LFGVSVZD.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-FNPCVOB5.js';
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-5MSUF63A.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-WTX57JCA.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-AFSJ4GHZ.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-UTZWCNFV.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-F5DIRRMG.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
|
-
import { execStartArgv } from './chunk-
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
6
|
-
import { runnerDir } from './chunk-
|
|
4
|
+
import { execStartArgv } from './chunk-F5DIRRMG.js';
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-LFGVSVZD.js';
|
|
6
|
+
import { runnerDir } from './chunk-AEGLAS4Y.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
9
9
|
createRequire(import.meta.url);
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-5MSUF63A.js';
|
|
4
|
+
import { parseSize } from './chunk-BKN5HQCX.js';
|
|
5
|
+
import { runnerDir } from './chunk-AEGLAS4Y.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-5XEO7FJW.js';
|
|
7
7
|
import { credentialAgent, credentialNames, credentialForms } from './chunk-MHXUQI67.js';
|
|
8
8
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-UU3A53VB.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-FNPCVOB5.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-BXDQFZAO.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-44UZZVEQ.js';
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
+
import { isLinkedRepository } from './chunk-7DM2GBSI.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-CLVWA4DI.js';
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-NIHE7WJ6.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-VEA3VSYK.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LA66NWUO.js';
|
|
@@ -1093,8 +1093,8 @@ function doctorExitCode(checks) {
|
|
|
1093
1093
|
|
|
1094
1094
|
// src/doctor-report.ts
|
|
1095
1095
|
async function gatherDoctorChecks(options = {}) {
|
|
1096
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1097
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1096
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-GDBXPKVU.js');
|
|
1097
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-OKFK2D2R.js');
|
|
1098
1098
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1099
1099
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1100
1100
|
const hooks = (() => {
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-VUK7NCG5.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1150,7 +1150,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1150
1150
|
const service = await (async () => {
|
|
1151
1151
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1152
1152
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1153
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1153
|
+
const { inspectRunnerService } = await import('./find-unit-6FDRYJ4Q.js');
|
|
1154
1154
|
return inspectRunnerService(configPath);
|
|
1155
1155
|
})();
|
|
1156
1156
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -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-UTZWCNFV.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
4
|
+
import { autoConnect } from './chunk-4OLHKE6K.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-NIHE7WJ6.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-SCG7JYAQ.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-4OLHKE6K.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-NIHE7WJ6.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
11
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-MHXUQI67.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-AFSJ4GHZ.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-RZ3SBLIQ.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-DIF5NMRF.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-K3AROT4N.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,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-5MSUF63A.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-AEGLAS4Y.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-3DUYDFZS.js';
|
|
4
|
+
import { spoolDir } from './chunk-VEA3VSYK.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
6
|
import { sessionFolderIn, legacyAgent } from './chunk-MB6OS6TU.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-KJCEJOJI.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-F5DIRRMG.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-5MSUF63A.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-AEGLAS4Y.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,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
3
|
+
import { RUNNER_PROTOCOL } from './chunk-SR5UDIQO.js';
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-46D7LPS3.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-5BNP3YPA.js';
|
|
8
8
|
import { upgradedStarterText } from './chunk-UU3A53VB.js';
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-FVTNWJPF.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-MDWAL6FD.js';
|
|
11
|
+
import { senderPidfile } from './chunk-PGF36SYX.js';
|
|
12
|
+
import { installScrubContext } from './chunk-3DUYDFZS.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-DIF5NMRF.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-OWIG6HOF.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-BQUUKECC.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-5IDATPRL.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-EHF2UWZC.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-2TOYDBQE.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-3VORJPTM.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-FNPCVOB5.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-5MSUF63A.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-WTX57JCA.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-BKN5HQCX.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-47NQTKLX.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
30
|
import { sharedSkillNames, skillConflictMessage } from './chunk-ETP7IGQI.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-AFSJ4GHZ.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-AEGLAS4Y.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-UTZWCNFV.js';
|
|
35
35
|
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, 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-5XEO7FJW.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
37
37
|
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, judgeAgent, 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-MHXUQI67.js';
|
|
@@ -4783,7 +4783,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4783
4783
|
const { config, runtime, item, itemKey, jobDir, log, tokens } = input;
|
|
4784
4784
|
const tag = itemTag({ item: item.number, organizationId: input.organizationId, claimId: input.claimId });
|
|
4785
4785
|
const logPath = join(jobDir, "provision.log");
|
|
4786
|
-
const fail = (reason, transient = false) => ({ ok: false, reason, ...transient ? { transient: true } : {} });
|
|
4786
|
+
const fail = (reason, transient = false, retryAfterMs) => ({ ok: false, reason, ...transient ? { transient: true } : {}, ...transient && retryAfterMs !== void 0 ? { retryAfterMs } : {} });
|
|
4787
4787
|
const own = config.sandbox;
|
|
4788
4788
|
if (own === void 0) return fail("runner.sandbox is not set in the config file");
|
|
4789
4789
|
const repositories = repositoriesOf({ repositories: input.repositories, repository: item.specRepository, branch: input.branch });
|
|
@@ -4878,13 +4878,13 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4878
4878
|
variables: env.variables,
|
|
4879
4879
|
cliVersion: input.cliVersion
|
|
4880
4880
|
};
|
|
4881
|
-
const bail = async (reason, aborted2 = false, transient = false) => {
|
|
4881
|
+
const bail = async (reason, aborted2 = false, transient = false, retryAfterMs) => {
|
|
4882
4882
|
try {
|
|
4883
4883
|
await cleanupSandbox(runtime, { buildId, sandboxId: state.sandboxId, container: containerState });
|
|
4884
4884
|
} catch (err) {
|
|
4885
4885
|
log.error(`${tag} cleanup failed: ${describeCallFailure(err)}`);
|
|
4886
4886
|
}
|
|
4887
|
-
return aborted2 ? { ok: false, reason: "ended before provision finished", aborted: true } : fail(reason, transient);
|
|
4887
|
+
return aborted2 ? { ok: false, reason: "ended before provision finished", aborted: true } : fail(reason, transient, retryAfterMs);
|
|
4888
4888
|
};
|
|
4889
4889
|
const giveUpItemDisk = async (reason, why) => {
|
|
4890
4890
|
await bail(reason);
|
|
@@ -4966,7 +4966,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4966
4966
|
return { ok: false, reason: held3, held: true };
|
|
4967
4967
|
}
|
|
4968
4968
|
const transient = late?.kind !== "timed_out" && late?.kind !== "ended" && err instanceof SandboxError && providerMayAnswerLater(err);
|
|
4969
|
-
return bail(`The provider refused to create the sandbox: ${slowStartReason(late) ?? (err instanceof SandboxError ? describeSandboxError(err) : describeCallFailure(err))}`, false, transient);
|
|
4969
|
+
return bail(`The provider refused to create the sandbox: ${slowStartReason(late) ?? (err instanceof SandboxError ? describeSandboxError(err) : describeCallFailure(err))}`, false, transient, err instanceof SandboxError ? err.retryAfterMs : void 0);
|
|
4970
4970
|
}
|
|
4971
4971
|
sandbox = late.sandbox;
|
|
4972
4972
|
}
|
|
@@ -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-3DUYDFZS.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-4OLHKE6K.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-NIHE7WJ6.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 { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-7DM2GBSI.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-NIHE7WJ6.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -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-LFGVSVZD.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';
|
|
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { RemovedTargetError, removedTargetError } from './chunk-3DILWPBX.js';
|
|
4
4
|
import { removeRetiredSkills } from './chunk-CLVWA4DI.js';
|
|
5
5
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
6
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { withTokenHeader } from './chunk-
|
|
6
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-NIHE7WJ6.js';
|
|
7
|
+
import { withTokenHeader } from './chunk-UTZWCNFV.js';
|
|
8
8
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
10
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|