@outerlayer/cli 0.38.0-next.20261111113945 → 0.38.0-next.20261111172503
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 +10 -8
- package/dist/{agent-setup-OJETTF3R.js → agent-setup-HXEWWT6K.js} +7 -7
- package/dist/{agent-subcommand-GDVH463X.js → agent-subcommand-NZFPV3MV.js} +1 -1
- package/dist/{bridge-D3L6JK6X.js → bridge-OBIGQXDH.js} +2 -2
- package/dist/{build-CBPURIYL.js → build-4IYEB6OE.js} +7 -7
- package/dist/{build-disk-ANS4SYJ3.js → build-disk-2MOEPIZF.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-7TYKMRTJ.js → builder-SVI2D35R.js} +4 -4
- package/dist/{caller-ZROOH73G.js → caller-PW7R46M7.js} +7 -7
- package/dist/{check-XFV3VI2N.js → check-HC7E2BFS.js} +37 -37
- package/dist/{chunk-YE6EE4RC.js → chunk-2FJYZUZE.js} +3 -3
- package/dist/{chunk-XEFOBPG3.js → chunk-33XLQIV4.js} +1 -1
- package/dist/{chunk-4GJPOZXO.js → chunk-36XB56GG.js} +2 -2
- package/dist/{chunk-UBZTPZJF.js → chunk-3YJJ2JDV.js} +1 -1
- package/dist/{chunk-YTZYFWJQ.js → chunk-3Z5KBFBB.js} +2 -2
- package/dist/{chunk-3WNKIXAJ.js → chunk-4AEOP5PD.js} +3 -3
- package/dist/{chunk-IKT2MOY6.js → chunk-4G5SYPK2.js} +1 -1
- package/dist/{chunk-S6VT3TNG.js → chunk-6BXJESQF.js} +3 -3
- package/dist/{chunk-GNJVUQYO.js → chunk-6FQSV7ZK.js} +3 -3
- package/dist/{chunk-L2VXYF66.js → chunk-7GUD2FIF.js} +1 -1
- package/dist/{chunk-2APZSZWP.js → chunk-7XORCWWZ.js} +3 -3
- package/dist/{chunk-I6PMRDHZ.js → chunk-ABRGN5OA.js} +1 -1
- package/dist/{chunk-U527OJJO.js → chunk-AJ3YUM23.js} +1 -1
- package/dist/{chunk-ZTH5HHYS.js → chunk-BIMHESZG.js} +1 -1
- package/dist/{chunk-SGZCU6L3.js → chunk-DKMSDIWM.js} +170 -82
- package/dist/{chunk-7YDMHWVK.js → chunk-DKRZZBKI.js} +3 -3
- package/dist/{chunk-OFZ5A2A5.js → chunk-DKTXQ7XQ.js} +1 -1
- package/dist/{chunk-5YJWKIIO.js → chunk-DULO2L5B.js} +1 -1
- package/dist/{chunk-ICXSMGJF.js → chunk-EQZNHUEK.js} +2 -2
- package/dist/{chunk-O67Y46CY.js → chunk-FUONFFTG.js} +5 -5
- package/dist/{chunk-XF2HRP6A.js → chunk-HNQLZ7CK.js} +1 -1
- package/dist/{chunk-TXRMWSFE.js → chunk-J345NEVJ.js} +2 -2
- package/dist/{chunk-OZWB73EH.js → chunk-KA4BMGBR.js} +2 -2
- package/dist/{chunk-O7TYQC2D.js → chunk-KFB7KFEK.js} +7 -7
- package/dist/{chunk-WTPL4B4G.js → chunk-KN5VDMVL.js} +3 -3
- package/dist/{chunk-UEAEKTK5.js → chunk-LKLP5YMH.js} +5 -5
- package/dist/{chunk-WBUOD2CU.js → chunk-LMVHXHGQ.js} +9 -9
- package/dist/{chunk-BCP3LGUV.js → chunk-LVNMKOWI.js} +1 -1
- package/dist/{chunk-LIHVAX2O.js → chunk-M2WESKWY.js} +2 -2
- package/dist/{chunk-XJJIVGJB.js → chunk-MG33BM7E.js} +2 -2
- package/dist/{chunk-HWUCTGDI.js → chunk-N3XAJZGV.js} +3 -3
- package/dist/{chunk-NIMQJTUR.js → chunk-O5ERYWXA.js} +7 -7
- package/dist/{chunk-36XCKMNB.js → chunk-OKSYYMD2.js} +2 -2
- package/dist/{chunk-JOFYKUCM.js → chunk-ONTXC6D3.js} +3 -3
- package/dist/{chunk-WL333KYF.js → chunk-OPCFOIZJ.js} +1 -1
- package/dist/{chunk-JZJNPNNW.js → chunk-QBJ7MMOT.js} +8 -8
- package/dist/{chunk-I6RBMWDV.js → chunk-QOP2CYYY.js} +5 -5
- package/dist/{chunk-ZW36EULQ.js → chunk-SIGBRVEF.js} +5 -13
- package/dist/{chunk-MJEP4EFZ.js → chunk-T6QX3S64.js} +5 -5
- package/dist/{chunk-7IV7XZ6C.js → chunk-TJ7OVPR7.js} +2 -2
- package/dist/{chunk-CEDWGLK5.js → chunk-TUH2STQV.js} +5 -5
- package/dist/{chunk-VASOYLWE.js → chunk-UHOP4IMQ.js} +1 -1
- package/dist/{chunk-DHLEYFNL.js → chunk-UKEJBA5Y.js} +1 -1
- package/dist/{chunk-QHRH3BPI.js → chunk-UWLCJZ45.js} +1 -1
- package/dist/{chunk-AABLA7NP.js → chunk-VCNY5VAF.js} +2 -2
- package/dist/{chunk-LXEXWLCW.js → chunk-VNHCN75M.js} +1 -1
- package/dist/{chunk-FAFHCIJN.js → chunk-VQ6ZKSNL.js} +1 -1
- package/dist/{chunk-PFNFXK5B.js → chunk-WV43CAGI.js} +2 -2
- package/dist/{chunk-EFIMO5HF.js → chunk-YOFYW4EE.js} +50 -36
- package/dist/{chunk-HKP33YSC.js → chunk-ZQII2ZRP.js} +1 -1
- package/dist/{claude-launcher-YYBDHFKP.js → claude-launcher-GIT7VNYK.js} +1 -1
- package/dist/{cli-KUDROKJT.js → cli-EOY2DOOD.js} +124 -124
- package/dist/{command-6EO3Z7BW.js → command-OD2UYKKQ.js} +32 -32
- package/dist/{config-6EOFYJWZ.js → config-AOOR5BPQ.js} +6 -6
- package/dist/{connect-cmd-OTYUH5EY.js → connect-cmd-FIPFU4X4.js} +5 -5
- package/dist/{container-start-B6UCYRAZ.js → container-start-NISTFOL2.js} +30 -30
- package/dist/{context-show-cmd-U7NEJRQH.js → context-show-cmd-SOUPRIUD.js} +6 -6
- package/dist/{control-plane-launch-SXAXGPCQ.js → control-plane-launch-IIHRG233.js} +5 -5
- package/dist/{demo-record-cmd-WJJWOVEV.js → demo-record-cmd-PI7QDFRP.js} +2 -2
- package/dist/{demo-voice-cmd-CDVRH7RS.js → demo-voice-cmd-JZOO3TL5.js} +11 -11
- package/dist/{docker-G46NSNAE.js → docker-6MPPSTR4.js} +4 -4
- package/dist/{doctor-6TS6Y6DI.js → doctor-OU54YSDJ.js} +32 -32
- package/dist/{emit-artifact-cmd-QET3MR7Y.js → emit-artifact-cmd-ZU7JHEYN.js} +10 -10
- package/dist/{emit-criteria-cmd-Z3NGUOQ3.js → emit-criteria-cmd-4DSDN3CZ.js} +7 -7
- package/dist/{emit-demo-cmd-VN5TLP6X.js → emit-demo-cmd-2CLCGPBS.js} +11 -11
- package/dist/{emit-finding-cmd-NN6TLRV4.js → emit-finding-cmd-GG2WT2ZN.js} +7 -7
- package/dist/{emit-result-cmd-XCU6WVMT.js → emit-result-cmd-3MUFY5ES.js} +9 -9
- package/dist/{emit-step-cmd-3B3SN2DX.js → emit-step-cmd-KHXTWZFP.js} +7 -7
- package/dist/{exec-client-55XHR4PH.js → exec-client-YQCKCZGW.js} +3 -3
- package/dist/{find-unit-RPIWIOJ2.js → find-unit-YT25OH3F.js} +8 -8
- package/dist/{findings-cmd-HDH4Y5ON.js → findings-cmd-OSJ2Y3IC.js} +7 -7
- package/dist/{fleet-readiness-3HC5JKYS.js → fleet-readiness-JE3MTT3R.js} +5 -5
- package/dist/{governing-source-B3RBMTCL.js → governing-source-FQKK5RCJ.js} +9 -9
- package/dist/{guest-init-KGFEH6IZ.js → guest-init-X2HLNETS.js} +4 -4
- package/dist/{hook-fast-BH7W6WZV.js → hook-fast-3BGU6BF2.js} +1 -1
- package/dist/{host-checks-VQ4C5U6W.js → host-checks-PIVAISJF.js} +28 -28
- package/dist/{pending-QUWRYGA3.js → host-key-KQ6JWRB4.js} +3 -3
- package/dist/{image-tag-DBU2FVYO.js → image-tag-IJKYPT6D.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-ZSLVVOTK.js → init-4WHNRYJK.js} +28 -28
- package/dist/{init-PNXWQIPT.js → init-CSOKCOU2.js} +28 -28
- package/dist/{init-agent-J6RUWY5O.js → init-agent-N4SCUBDT.js} +28 -28
- package/dist/{init-cmd-DX66HZ6D.js → init-cmd-7HDKDTUS.js} +10 -10
- package/dist/{init-update-GZM2FZRC.js → init-update-UFZX37SD.js} +8 -8
- package/dist/{install-cmd-L5GEWLRY.js → install-cmd-DHIVJEBO.js} +5 -5
- package/dist/{logs-JZF44C7F.js → logs-VX2SXLJH.js} +2 -2
- package/dist/{loop-IWOVUNVC.js → loop-DH7PXRWV.js} +36 -36
- package/dist/{machine-HMMOQT46.js → machine-Y3VIABUB.js} +28 -28
- package/dist/{mcp-serve-cmd-X5FNE5WG.js → mcp-serve-cmd-P34CQIBX.js} +4 -4
- package/dist/{paths-TQEUR7ET.js → paths-HV3G2EHE.js} +2 -2
- package/dist/{host-key-HQQLUWQB.js → pending-I2EJ7TMY.js} +3 -3
- package/dist/{pidfile-KOZAOHSS.js → pidfile-4ZG5I7ZR.js} +3 -3
- package/dist/{record-6TPL2BNW.js → record-3XWPD2UP.js} +3 -3
- package/dist/{run-cmd-DE6LEJ4S.js → run-cmd-R4EB4TKJ.js} +7 -7
- package/dist/{runner-env-QO43XEFB.js → runner-env-JS2WDB5L.js} +8 -8
- package/dist/{runner-identity-L4RMVVQ3.js → runner-identity-F2Z3TXJ7.js} +4 -4
- package/dist/{runner-key-JPAT3ERV.js → runner-key-DIVDANJ3.js} +28 -28
- package/dist/{session-sender-KXFNZ7QR.js → session-sender-NMZGHC65.js} +10 -10
- package/dist/{spec-cmd-B44VHKSR.js → spec-cmd-Z26RVBY6.js} +8 -8
- package/dist/{state-NBUID6K5.js → state-64OMLIN4.js} +3 -3
- package/dist/{status-MQVZT3Z4.js → status-CJSJY6XJ.js} +28 -28
- package/dist/{sync-cmd-ELGJ5MHU.js → sync-cmd-WE46ELML.js} +9 -9
- package/dist/{update-steps-MXCEJOCG.js → update-steps-QTCJF6DY.js} +29 -29
- package/dist/{watch-FJYJQXBK.js → watch-O5BOUDHZ.js} +9 -9
- package/dist/{work-claim-cmd-VRTQB3TO.js → work-claim-cmd-35CRWPQK.js} +12 -12
- package/dist/{work-cmd-EDGMD2VX.js → work-cmd-4NMKJHC5.js} +7 -7
- package/dist/{work-comment-cmd-YKGQ7WPG.js → work-comment-cmd-4FLBLGH3.js} +9 -9
- package/dist/{work-demo-cmd-GWKHJGHE.js → work-demo-cmd-ZFZLPJHZ.js} +7 -7
- package/dist/{work-logs-cmd-4RA6SF2Z.js → work-logs-cmd-2CGBAPNO.js} +7 -7
- package/dist/{work-needs-attention-cmd-SHFYBESF.js → work-needs-attention-cmd-SXZHDR4U.js} +7 -7
- package/dist/{work-no-change-cmd-AMSJX7MG.js → work-no-change-cmd-EFDSBICP.js} +7 -7
- package/dist/{work-open-pr-cmd-G5VF5AA2.js → work-open-pr-cmd-272NR4QR.js} +11 -9
- package/dist/{work-pr-cmd-CX2QSIJN.js → work-pr-cmd-OJ7ZGDKB.js} +7 -7
- package/dist/{work-proofs-cmd-5PC334U6.js → work-proofs-cmd-CZFDNMXW.js} +8 -8
- package/dist/{work-proofs-record-EHZDEFKH.js → work-proofs-record-BVFYTMES.js} +14 -14
- package/dist/{work-stop-cmd-E7OUJHBJ.js → work-stop-cmd-UHGV6AGA.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-cli/references/open-pull-request.md +4 -0
|
@@ -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-DKMSDIWM.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4AEOP5PD.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-AJ3YUM23.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-QOP2CYYY.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-QBJ7MMOT.js';
|
|
9
|
+
import { signerFor } from './chunk-ZQII2ZRP.js';
|
|
10
|
+
import { pidFilePath } from './chunk-DULO2L5B.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-DKMSDIWM.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-4AEOP5PD.js';
|
|
5
|
+
import { runnerDir } from './chunk-DULO2L5B.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
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-ABRGN5OA.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-AJ3YUM23.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-6BXJESQF.js';
|
|
7
7
|
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FQPGZOH3.js';
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-DULO2L5B.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-SIGBRVEF.js';
|
|
10
10
|
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-36M66QKN.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-MOFT7QCR.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-QOP2CYYY.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-UHOP4IMQ.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-F3RBGMHL.js';
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
+
import { isLinkedRepository } from './chunk-HNQLZ7CK.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-SASWFX22.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-DKTXQ7XQ.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-UKEJBA5Y.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
|
|
@@ -1051,8 +1051,8 @@ function doctorExitCode(checks) {
|
|
|
1051
1051
|
|
|
1052
1052
|
// src/doctor-report.ts
|
|
1053
1053
|
async function gatherDoctorChecks(options = {}) {
|
|
1054
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1055
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1054
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-2MOEPIZF.js');
|
|
1055
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-AOOR5BPQ.js');
|
|
1056
1056
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1057
1057
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1058
1058
|
const hooks = (() => {
|
|
@@ -1080,7 +1080,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1080
1080
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1081
1081
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1082
1082
|
} else if (hasRunnerBlock(configPath)) {
|
|
1083
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1083
|
+
const { runnerHostChecks } = await import('./doctor-OU54YSDJ.js');
|
|
1084
1084
|
const gateway = (() => {
|
|
1085
1085
|
try {
|
|
1086
1086
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1108,7 +1108,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1108
1108
|
const service = await (async () => {
|
|
1109
1109
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1110
1110
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1111
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1111
|
+
const { inspectRunnerService } = await import('./find-unit-YT25OH3F.js');
|
|
1112
1112
|
return inspectRunnerService(configPath);
|
|
1113
1113
|
})();
|
|
1114
1114
|
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-4AEOP5PD.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-NFPJ2XC2.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -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-TUH2STQV.js';
|
|
4
|
+
import { spoolDir } from './chunk-UKEJBA5Y.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
6
|
import { sessionFolderIn, legacyAgent } from './chunk-PDPBWX67.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-MOA4PGYL.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-VCNY5VAF.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-TUH2STQV.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-MOA4PGYL.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-VCNY5VAF.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-QHYCF36K.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
@@ -1,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, 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-DKMSDIWM.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4AEOP5PD.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-QOP2CYYY.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-QBJ7MMOT.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-KA4BMGBR.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-ZQII2ZRP.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-SIGBRVEF.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-NFPJ2XC2.js';
|
|
11
11
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-36M66QKN.js';
|
|
12
12
|
import { defaultAgents } from './chunk-PDPBWX67.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-MOA4PGYL.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-VCNY5VAF.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-QHYCF36K.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-QOP2CYYY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-MOA4PGYL.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-DKTXQ7XQ.js';
|
|
8
|
+
import { logHookError } from './chunk-UKEJBA5Y.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-DULO2L5B.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,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-KA4BMGBR.js';
|
|
4
|
+
import { parseSize } from './chunk-6BXJESQF.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-SIGBRVEF.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-36M66QKN.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
@@ -168,8 +168,7 @@ function builtinKind(hook) {
|
|
|
168
168
|
}
|
|
169
169
|
function runnerDeliversComments(config) {
|
|
170
170
|
if (config.deliverComments === false) return false;
|
|
171
|
-
|
|
172
|
-
return kind === "container" || kind === "vm";
|
|
171
|
+
return builtinKind(config.hooks.provision) !== "own";
|
|
173
172
|
}
|
|
174
173
|
var RUNNER_QUEUES = ["implement", "amend"];
|
|
175
174
|
var RunnerConfigError = class extends Error {
|
|
@@ -206,6 +205,7 @@ var DEFAULT_SAVED_STATE_MAX = "20g";
|
|
|
206
205
|
var DEFAULT_WORKSPACE_MAX = "40g";
|
|
207
206
|
var DEFAULT_WORKSPACE_ORG_MAX = "20g";
|
|
208
207
|
var DEFAULT_WORKSPACE_KEEP_DAYS = 7;
|
|
208
|
+
var SANDBOX_WORKSPACE_KEEP_DAYS = 1;
|
|
209
209
|
var DEFAULT_SAVED_STATE_MAX_BYTES = 20 * 1024 ** 3;
|
|
210
210
|
var VARIABLE_NAME = /^[A-Za-z_][A-Za-z0-9_]{0,254}$/;
|
|
211
211
|
var MAX_VARIABLES = 100;
|
|
@@ -433,7 +433,7 @@ function loadRunnerConfig(configPath) {
|
|
|
433
433
|
const build = resolveBuild(configPath, runner.build);
|
|
434
434
|
const sandbox = isBuiltinSandbox(runner.hooks.provision) ? resolveSandbox(runner.sandbox, build, (field, problem) => fail(configPath, field, problem)) : void 0;
|
|
435
435
|
if (sandbox === void 0 && runner.sandbox !== void 0) fail(configPath, "runner.sandbox", `is used only when the hooks are ${BUILTIN_SANDBOX}`);
|
|
436
|
-
const housekeeping = resolveHousekeeping(configPath, runner.housekeeping, sandbox === void 0 ? build.disk : SANDBOX_RUNNER_MIN_FREE_DISK);
|
|
436
|
+
const housekeeping = resolveHousekeeping(configPath, runner.housekeeping, sandbox === void 0 ? build.disk : SANDBOX_RUNNER_MIN_FREE_DISK, sandbox === void 0 ? DEFAULT_WORKSPACE_KEEP_DAYS : SANDBOX_WORKSPACE_KEEP_DAYS);
|
|
437
437
|
const checks = resolveChecks(configPath, runner.checks);
|
|
438
438
|
const update = resolveUpdate(configPath, runner.update);
|
|
439
439
|
if (config.scrub?.literals !== void 0 && !Array.isArray(config.scrub.literals)) {
|
|
@@ -498,7 +498,7 @@ function checkBuiltinHooks(configPath, hooks) {
|
|
|
498
498
|
fail(configPath, "runner.hooks", `provision and cleanup must both be ${BUILTIN_CONTAINER}, both be ${BUILTIN_VM}, both be ${BUILTIN_SANDBOX}, or neither`);
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function resolveHousekeeping(configPath, block, buildDisk) {
|
|
501
|
+
function resolveHousekeeping(configPath, block, buildDisk, keepDays = DEFAULT_WORKSPACE_KEEP_DAYS) {
|
|
502
502
|
const given = block ?? {};
|
|
503
503
|
if (typeof given !== "object" || Array.isArray(given)) fail(configPath, "runner.housekeeping", "must be an object");
|
|
504
504
|
const keys = given;
|
|
@@ -539,7 +539,7 @@ function resolveHousekeeping(configPath, block, buildDisk) {
|
|
|
539
539
|
if (keys.workspaceKeepDays !== void 0 && (!Number.isInteger(keys.workspaceKeepDays) || keys.workspaceKeepDays < 1)) {
|
|
540
540
|
fail(configPath, "runner.housekeeping.workspaceKeepDays", "must be a whole number of at least 1");
|
|
541
541
|
}
|
|
542
|
-
const workspaceKeepDays = keys.workspaceKeepDays ??
|
|
542
|
+
const workspaceKeepDays = keys.workspaceKeepDays ?? keepDays;
|
|
543
543
|
const minText = keys.minFreeDisk ?? buildDisk;
|
|
544
544
|
const minFreeDisk = typeof minText === "string" ? wholeBytes(parseSize(minText)) : void 0;
|
|
545
545
|
if (minFreeDisk === void 0) fail(configPath, "runner.housekeeping.minFreeDisk", 'must be a size such as "40g"');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-MOA4PGYL.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-VCNY5VAF.js';
|
|
5
|
+
import { workPageUrl } from './chunk-HNQLZ7CK.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-QHYCF36K.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-DKTXQ7XQ.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-ZQII2ZRP.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-7PZDPISM.js';
|
|
@@ -546,7 +546,7 @@ async function runWorkLinkSession(opts) {
|
|
|
546
546
|
return await linkSession(opts);
|
|
547
547
|
} catch (err) {
|
|
548
548
|
if (opts.logFailures) {
|
|
549
|
-
const { logHookError } = await import('./hook-fast-
|
|
549
|
+
const { logHookError } = await import('./hook-fast-3BGU6BF2.js');
|
|
550
550
|
const reason = err instanceof Error ? err.message : String(err);
|
|
551
551
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
552
552
|
}
|
|
@@ -38,7 +38,7 @@ function describeSandboxError(err) {
|
|
|
38
38
|
const detail = err.message === "" ? "" : `: ${err.message}`;
|
|
39
39
|
return err.code === void 0 ? `The provider answered HTTP ${err.status}${detail}` : `${err.code}${detail}`;
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var PAUSE_TIMEOUT_MS = 5 * 6e4;
|
|
42
42
|
function sandboxOf(raw) {
|
|
43
43
|
if (typeof raw.id !== "string" || typeof raw.dataPlaneUrl !== "string") throw new SandboxError("the answer names no sandbox id or data plane", 0);
|
|
44
44
|
return {
|
|
@@ -138,19 +138,11 @@ function createSandboxClient(opts) {
|
|
|
138
138
|
truncated: body.truncated === true
|
|
139
139
|
};
|
|
140
140
|
},
|
|
141
|
-
async
|
|
142
|
-
|
|
143
|
-
const body = await response.json();
|
|
144
|
-
if (body.name !== name2) throw new SandboxError("the answer names no snapshot", 0);
|
|
145
|
-
return { name: name2, storedBytes: typeof body.storedBytes === "number" ? body.storedBytes : 0 };
|
|
141
|
+
async pause(id) {
|
|
142
|
+
await control(`/v1/sandboxes/${encodeURIComponent(id)}/pause`, { method: "POST", timeoutMs: PAUSE_TIMEOUT_MS });
|
|
146
143
|
},
|
|
147
|
-
async
|
|
148
|
-
|
|
149
|
-
await control(`/v1/snapshots/${encodeURIComponent(name2)}`, { method: "DELETE" });
|
|
150
|
-
} catch (err) {
|
|
151
|
-
if (err instanceof SandboxError && err.status === 404) return;
|
|
152
|
-
throw err;
|
|
153
|
-
}
|
|
144
|
+
async restartTimeLimit(id, minutes) {
|
|
145
|
+
await control(`/api/sandboxes/ephemeral/${encodeURIComponent(id)}`, { method: "POST", body: JSON.stringify({ timeLimitMinutes: minutes }) });
|
|
154
146
|
},
|
|
155
147
|
async upload(sandbox, path, bytes) {
|
|
156
148
|
await call(`${sandbox.dataPlaneUrl}/files?path=${encodeURIComponent(path)}`, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-JDOEEKPN.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-QOP2CYYY.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-DKTXQ7XQ.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-PIVAISJF.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-PIVAISJF.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-BVFYTMES.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-OKAAVLLW.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-NJ6IJFKR.js';
|
|
5
5
|
import { installStarterPack } from './chunk-USINHGZI.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-HNQLZ7CK.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-3BEMKOFH.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-36XB56GG.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-LW5RIKAV.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-OKSYYMD2.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-QHYCF36K.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-ZQII2ZRP.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-SIGBRVEF.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-UKEJBA5Y.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-RNCCRUT5.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-3BEMKOFH.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-DKTXQ7XQ.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-QMCWSBQO.js';
|
|
@@ -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-IIHRG233.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 { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-HNQLZ7CK.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-DKTXQ7XQ.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-DULO2L5B.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-OPCFOIZJ.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';
|
|
@@ -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-MOA4PGYL.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-VCNY5VAF.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.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';
|