@outerlayer/cli 0.40.0-next.20261116163636 → 0.40.0-next.20261116164749
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-B7GD472D.js} +38 -38
- 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-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-ZX6NQ4TE.js → chunk-DIF5NMRF.js} +1 -1
- package/dist/{chunk-SBEUAS2P.js → chunk-DXFE3GY5.js} +2 -2
- package/dist/{chunk-UZPRXITI.js → chunk-E6CZJDZN.js} +24 -24
- package/dist/{chunk-HHMFCT5K.js → chunk-EHF2UWZC.js} +1 -1
- package/dist/{chunk-ETXP6DPT.js → chunk-F5DIRRMG.js} +1 -1
- package/dist/{chunk-EHGWEJJP.js → chunk-FNH6OTJ7.js} +6 -6
- package/dist/{chunk-XJTA4GJE.js → chunk-FNPCVOB5.js} +5 -5
- package/dist/{chunk-T3YVHCKG.js → chunk-FVTNWJPF.js} +3 -3
- package/dist/{chunk-NKABIKPX.js → chunk-HLUTL43W.js} +68 -37
- package/dist/{chunk-NLBGDF55.js → chunk-IVJQXA3H.js} +3 -3
- package/dist/{chunk-C5TJZMYS.js → chunk-KJCEJOJI.js} +1 -1
- package/dist/{chunk-KCSVX7ML.js → chunk-KKNOKOS3.js} +7 -7
- package/dist/{chunk-GDARDBX4.js → chunk-KXFHHQ2L.js} +3 -3
- package/dist/{chunk-U77FUTNH.js → chunk-LFGVSVZD.js} +3 -3
- 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-RG2Z7XIR.js → chunk-OWIG6HOF.js} +2 -2
- package/dist/{chunk-EJNRRK26.js → chunk-P3FWVFSF.js} +3 -3
- package/dist/{chunk-JR347MV3.js → chunk-PGF36SYX.js} +2 -2
- package/dist/{chunk-2MNKGEEU.js → chunk-QMQH5MAW.js} +4 -4
- package/dist/{chunk-SQMXHLMF.js → chunk-SCG7JYAQ.js} +3 -3
- package/dist/{chunk-SVJKVEUF.js → chunk-T26E7YR6.js} +2 -2
- package/dist/{chunk-DW4N7KNX.js → chunk-T75OODXK.js} +7 -7
- package/dist/{chunk-MGNDNMTO.js → chunk-TI76I6GK.js} +9 -9
- package/dist/{chunk-C4KTCBOR.js → chunk-TQN2NY2A.js} +1 -1
- package/dist/{chunk-JFHPOJ7T.js → chunk-TTBMGPDH.js} +2 -2
- package/dist/{chunk-V3Y2LSIQ.js → chunk-TVSEBOHW.js} +2 -2
- package/dist/{chunk-YDZV2E5U.js → chunk-UTZWCNFV.js} +11 -2
- package/dist/{chunk-43GWGP2Z.js → chunk-VEA3VSYK.js} +1 -1
- 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-BOV37MES.js} +136 -136
- package/dist/{command-BHQCP5E3.js → command-BLF35JLS.js} +34 -34
- 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-UTZNUW57.js} +31 -31
- 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-W3PWMLJM.js} +33 -33
- 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-IOUQSSNT.js} +29 -29
- 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-SRI7RIGW.js → init-5S5HLDZS.js} +29 -29
- package/dist/{init-L5MJ2P3L.js → init-YARWGWWK.js} +29 -29
- package/dist/{init-agent-BLT7QWKX.js → init-agent-NEKBQSKC.js} +29 -29
- package/dist/{init-cmd-TALNXEW7.js → init-cmd-K4YAB435.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-V6PMHRHF.js} +37 -37
- package/dist/{machine-Z3FN3EPB.js → machine-I4JVJABS.js} +29 -29
- 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-YFXERIBI.js} +29 -29
- 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-OP2LZVND.js} +33 -33
- 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-PX4MKUNA.js} +29 -29
- package/dist/{sync-cmd-WJCLQ7JV.js → sync-cmd-UR5TLWPA.js} +9 -9
- package/dist/{update-steps-ENYN7X5S.js → update-steps-VNQU2XXZ.js} +30 -30
- package/dist/{watch-BHICLNXC.js → watch-7AEKFGS5.js} +9 -9
- package/dist/{work-claim-cmd-EQGS4H4Q.js → work-claim-cmd-N6W62ZKY.js} +12 -12
- 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-NLPHORL7.js} +9 -9
- package/dist/{work-proofs-record-AHT6YSZA.js → work-proofs-record-5JMCIUAR.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,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,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,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-E6CZJDZN.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-LFGVSVZD.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-C2ZGJRMQ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-FNPCVOB5.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-5MSUF63A.js';
|
|
9
|
+
import { signerFor } from './chunk-AFSJ4GHZ.js';
|
|
10
|
+
import { pidFilePath } from './chunk-AEGLAS4Y.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -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-W3PWMLJM.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 { 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';
|
|
@@ -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-TI76I6GK.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';
|
|
@@ -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';
|
|
@@ -27,11 +27,12 @@ var CALL_TIMEOUT_MS = 3e4;
|
|
|
27
27
|
var CREATE_ATTEMPTS = 2;
|
|
28
28
|
var LIST_PAGES = 50;
|
|
29
29
|
var SandboxError = class extends Error {
|
|
30
|
-
constructor(message, status, code, reason) {
|
|
30
|
+
constructor(message, status, code, reason, retryAfterMs) {
|
|
31
31
|
super(message);
|
|
32
32
|
this.status = status;
|
|
33
33
|
this.code = code;
|
|
34
34
|
this.reason = reason;
|
|
35
|
+
this.retryAfterMs = retryAfterMs;
|
|
35
36
|
this.name = "SandboxError";
|
|
36
37
|
}
|
|
37
38
|
};
|
|
@@ -43,6 +44,14 @@ function providerMayAnswerLater(err) {
|
|
|
43
44
|
if (err.code === "sandbox_provider_refused") return false;
|
|
44
45
|
return err.status === 0 || err.status === 429 || err.status >= 500;
|
|
45
46
|
}
|
|
47
|
+
var MAX_RETRY_AFTER_MS = 36e5;
|
|
48
|
+
function retryAfterMsOf(header, nowMs) {
|
|
49
|
+
const text = header?.trim() ?? "";
|
|
50
|
+
if (text === "") return void 0;
|
|
51
|
+
const ms = /^\d+$/.test(text) ? Number(text) * 1e3 : Date.parse(text) - nowMs;
|
|
52
|
+
if (!Number.isFinite(ms) || ms <= 0) return void 0;
|
|
53
|
+
return Math.min(ms, MAX_RETRY_AFTER_MS);
|
|
54
|
+
}
|
|
46
55
|
var PAUSE_TIMEOUT_MS = 5 * 6e4;
|
|
47
56
|
function sandboxOf(raw) {
|
|
48
57
|
if (typeof raw.id !== "string" || typeof raw.dataPlaneUrl !== "string") throw new SandboxError("the answer names no sandbox id or data plane", 0);
|
|
@@ -75,7 +84,7 @@ function sandboxCallOf(fetchImpl) {
|
|
|
75
84
|
else if (typeof body.detail === "string") message = body.detail;
|
|
76
85
|
} catch {
|
|
77
86
|
}
|
|
78
|
-
throw new SandboxError(message, response.status, code);
|
|
87
|
+
throw new SandboxError(message, response.status, code, void 0, retryAfterMsOf(response.headers.get("retry-after"), Date.now()));
|
|
79
88
|
};
|
|
80
89
|
}
|
|
81
90
|
function dataPlaneOf(call, headerOf) {
|
|
@@ -882,7 +882,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-FC2CG2WV.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,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-BKN5HQCX.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-AEGLAS4Y.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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-AEGLAS4Y.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-4OLHKE6K.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NIHE7WJ6.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -342,7 +342,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
342
342
|
return 1;
|
|
343
343
|
}
|
|
344
344
|
} else {
|
|
345
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
345
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-FC2CG2WV.js');
|
|
346
346
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
347
347
|
if (plane.kind === "none") {
|
|
348
348
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|