@outerlayer/cli 0.38.0-next.20261111153051 → 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-TRZOYZRD.js → caller-PW7R46M7.js} +7 -7
- package/dist/{check-X43YL4P6.js → check-HC7E2BFS.js} +37 -37
- package/dist/{chunk-GAQ432XL.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-NS7VJS7W.js → chunk-3Z5KBFBB.js} +2 -2
- package/dist/{chunk-F3NABQVP.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-3E2PQ4J3.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-HI5IJ2R7.js → chunk-J345NEVJ.js} +2 -2
- package/dist/{chunk-OZWB73EH.js → chunk-KA4BMGBR.js} +2 -2
- package/dist/{chunk-I2SVCIY4.js → chunk-KFB7KFEK.js} +7 -7
- package/dist/{chunk-OB6YHX2T.js → chunk-KN5VDMVL.js} +3 -3
- package/dist/{chunk-UEAEKTK5.js → chunk-LKLP5YMH.js} +5 -5
- package/dist/{chunk-LHHRLWSN.js → chunk-LMVHXHGQ.js} +9 -9
- package/dist/{chunk-WHU4U3RZ.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-BOWIPNXG.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-64X24LE3.js → chunk-QBJ7MMOT.js} +7 -6
- package/dist/{chunk-I6RBMWDV.js → chunk-QOP2CYYY.js} +5 -5
- package/dist/{chunk-ZW36EULQ.js → chunk-SIGBRVEF.js} +5 -13
- package/dist/{chunk-TJWLAGFC.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-66D534SM.js → chunk-YOFYW4EE.js} +30 -26
- 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-UQ52XIEO.js → cli-EOY2DOOD.js} +124 -124
- package/dist/{command-PZHB4OZ7.js → command-OD2UYKKQ.js} +32 -32
- package/dist/{config-7YVZTYU3.js → config-AOOR5BPQ.js} +6 -6
- package/dist/{connect-cmd-OTYUH5EY.js → connect-cmd-FIPFU4X4.js} +5 -5
- package/dist/{container-start-JROIQ2RA.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-W3SQUPXU.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-ASTWTNYY.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-5D3WZ273.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-VV27PYOW.js → init-4WHNRYJK.js} +28 -28
- package/dist/{init-24SUQNWG.js → init-CSOKCOU2.js} +28 -28
- package/dist/{init-agent-QBIM2ZPU.js → init-agent-N4SCUBDT.js} +28 -28
- package/dist/{init-cmd-KEQHT7RP.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-4NS6FYOZ.js → loop-DH7PXRWV.js} +36 -36
- package/dist/{machine-RLSG22IR.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-ILSQXHT3.js → runner-env-JS2WDB5L.js} +8 -8
- package/dist/{runner-identity-L4RMVVQ3.js → runner-identity-F2Z3TXJ7.js} +4 -4
- package/dist/{runner-key-BCLVHJQL.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-W4M5LFEI.js → status-CJSJY6XJ.js} +28 -28
- package/dist/{sync-cmd-ELGJ5MHU.js → sync-cmd-WE46ELML.js} +9 -9
- package/dist/{update-steps-3MULI6SR.js → update-steps-QTCJF6DY.js} +29 -29
- package/dist/{watch-FJYJQXBK.js → watch-O5BOUDHZ.js} +9 -9
- package/dist/{work-claim-cmd-Y33H4R25.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-25P27T3R.js → work-proofs-cmd-CZFDNMXW.js} +8 -8
- package/dist/{work-proofs-record-BQY5P2K5.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';
|
|
@@ -205,6 +205,7 @@ var DEFAULT_SAVED_STATE_MAX = "20g";
|
|
|
205
205
|
var DEFAULT_WORKSPACE_MAX = "40g";
|
|
206
206
|
var DEFAULT_WORKSPACE_ORG_MAX = "20g";
|
|
207
207
|
var DEFAULT_WORKSPACE_KEEP_DAYS = 7;
|
|
208
|
+
var SANDBOX_WORKSPACE_KEEP_DAYS = 1;
|
|
208
209
|
var DEFAULT_SAVED_STATE_MAX_BYTES = 20 * 1024 ** 3;
|
|
209
210
|
var VARIABLE_NAME = /^[A-Za-z_][A-Za-z0-9_]{0,254}$/;
|
|
210
211
|
var MAX_VARIABLES = 100;
|
|
@@ -432,7 +433,7 @@ function loadRunnerConfig(configPath) {
|
|
|
432
433
|
const build = resolveBuild(configPath, runner.build);
|
|
433
434
|
const sandbox = isBuiltinSandbox(runner.hooks.provision) ? resolveSandbox(runner.sandbox, build, (field, problem) => fail(configPath, field, problem)) : void 0;
|
|
434
435
|
if (sandbox === void 0 && runner.sandbox !== void 0) fail(configPath, "runner.sandbox", `is used only when the hooks are ${BUILTIN_SANDBOX}`);
|
|
435
|
-
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);
|
|
436
437
|
const checks = resolveChecks(configPath, runner.checks);
|
|
437
438
|
const update = resolveUpdate(configPath, runner.update);
|
|
438
439
|
if (config.scrub?.literals !== void 0 && !Array.isArray(config.scrub.literals)) {
|
|
@@ -497,7 +498,7 @@ function checkBuiltinHooks(configPath, hooks) {
|
|
|
497
498
|
fail(configPath, "runner.hooks", `provision and cleanup must both be ${BUILTIN_CONTAINER}, both be ${BUILTIN_VM}, both be ${BUILTIN_SANDBOX}, or neither`);
|
|
498
499
|
}
|
|
499
500
|
}
|
|
500
|
-
function resolveHousekeeping(configPath, block, buildDisk) {
|
|
501
|
+
function resolveHousekeeping(configPath, block, buildDisk, keepDays = DEFAULT_WORKSPACE_KEEP_DAYS) {
|
|
501
502
|
const given = block ?? {};
|
|
502
503
|
if (typeof given !== "object" || Array.isArray(given)) fail(configPath, "runner.housekeeping", "must be an object");
|
|
503
504
|
const keys = given;
|
|
@@ -538,7 +539,7 @@ function resolveHousekeeping(configPath, block, buildDisk) {
|
|
|
538
539
|
if (keys.workspaceKeepDays !== void 0 && (!Number.isInteger(keys.workspaceKeepDays) || keys.workspaceKeepDays < 1)) {
|
|
539
540
|
fail(configPath, "runner.housekeeping.workspaceKeepDays", "must be a whole number of at least 1");
|
|
540
541
|
}
|
|
541
|
-
const workspaceKeepDays = keys.workspaceKeepDays ??
|
|
542
|
+
const workspaceKeepDays = keys.workspaceKeepDays ?? keepDays;
|
|
542
543
|
const minText = keys.minFreeDisk ?? buildDisk;
|
|
543
544
|
const minFreeDisk = typeof minText === "string" ? wholeBytes(parseSize(minText)) : void 0;
|
|
544
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';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-KFB7KFEK.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { writeFleetState } from './chunk-
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
6
|
+
import { writeFleetState } from './chunk-VNHCN75M.js';
|
|
7
|
+
import { writePendingUpdate } from './chunk-7GUD2FIF.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-2FJYZUZE.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-3YJJ2JDV.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-O5ERYWXA.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-OPCFOIZJ.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-DKMSDIWM.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-6XMC6R4W.js';
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-4AEOP5PD.js';
|
|
15
|
+
import { RepoFilter } from './chunk-TUH2STQV.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-4G5SYPK2.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-3Z5KBFBB.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-AJ3YUM23.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson, getBytes } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-FUONFFTG.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson, getBytes } from './chunk-QOP2CYYY.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-QBJ7MMOT.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-KA4BMGBR.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-6BXJESQF.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-ZQII2ZRP.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-DULO2L5B.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-SIGBRVEF.js';
|
|
30
30
|
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-NFPJ2XC2.js';
|
|
31
|
-
import { cleanAttachmentName } from './chunk-
|
|
31
|
+
import { cleanAttachmentName } from './chunk-UKEJBA5Y.js';
|
|
32
32
|
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-36M66QKN.js';
|
|
33
33
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
34
34
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
@@ -2322,6 +2322,9 @@ function recordHousekeeping(state, root, patch) {
|
|
|
2322
2322
|
logOf(state).error(`could not write housekeeping.json: ${describeCallFailure(err)}`);
|
|
2323
2323
|
}
|
|
2324
2324
|
}
|
|
2325
|
+
function sandboxesInUse(state) {
|
|
2326
|
+
return /* @__PURE__ */ new Set([...unfinishedJobs(jobsDir(state.config.configPath)).flatMap(({ job }) => job.sandbox?.sandboxId ?? []), ...runtimeOf(state).sandbox.resuming]);
|
|
2327
|
+
}
|
|
2325
2328
|
async function sweepOwnSandboxes(state) {
|
|
2326
2329
|
const runtime = runtimeOf(state);
|
|
2327
2330
|
const log = logOf(state);
|
|
@@ -2335,6 +2338,7 @@ async function sweepOwnSandboxes(state) {
|
|
|
2335
2338
|
...runtime.sandbox.sandboxes.keys(),
|
|
2336
2339
|
...runtime.sandbox.creating
|
|
2337
2340
|
]),
|
|
2341
|
+
heldSandboxes: () => /* @__PURE__ */ new Set([...sandboxesInUse(state), ...keptSandboxIds(state.config.configPath)]),
|
|
2338
2342
|
log: (line) => log.line(line)
|
|
2339
2343
|
});
|
|
2340
2344
|
} catch (err) {
|
|
@@ -2363,7 +2367,7 @@ async function housekeepingPass(state) {
|
|
|
2363
2367
|
itemStates: (ids) => askItemStates(state.config, state.deps.fetchImpl, ids),
|
|
2364
2368
|
removeHostBuilder: !own && !hostBuilder,
|
|
2365
2369
|
docker,
|
|
2366
|
-
...own ? {
|
|
2370
|
+
...own ? { endSandbox: (id) => runtimeOf(state).sandbox.client().end(id), sandboxesInUse: () => sandboxesInUse(state) } : {},
|
|
2367
2371
|
now: state.deps.now ?? (() => /* @__PURE__ */ new Date()),
|
|
2368
2372
|
log: logOf(state)
|
|
2369
2373
|
});
|
|
@@ -2526,7 +2530,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2526
2530
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2527
2531
|
);
|
|
2528
2532
|
async function tryClaimAndStart(state, item, queue) {
|
|
2529
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2533
|
+
const { postJson: postJson2 } = await import('./work-cmd-4NMKJHC5.js');
|
|
2530
2534
|
const log = logOf(state);
|
|
2531
2535
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2532
2536
|
const claim = await retrySend(
|
|
@@ -3253,7 +3257,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3253
3257
|
config: state.config,
|
|
3254
3258
|
job,
|
|
3255
3259
|
jobDir: dirPath,
|
|
3256
|
-
deps: { spawnFn: state.deps.spawnFn, runtime:
|
|
3260
|
+
deps: { spawnFn: state.deps.spawnFn, runtime: runtimeOf(state), log }
|
|
3257
3261
|
});
|
|
3258
3262
|
if (sender !== void 0) {
|
|
3259
3263
|
job = { ...active.job, sender };
|
|
@@ -4012,7 +4016,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4012
4016
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4013
4017
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4014
4018
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4015
|
-
return (await import('./check-
|
|
4019
|
+
return (await import('./check-HC7E2BFS.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4016
4020
|
},
|
|
4017
4021
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4018
4022
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DULO2L5B.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|