@outerlayer/cli 0.29.0 → 0.30.1
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/CHANGELOG.md +18 -0
- package/README.md +9 -1
- package/dist/{agent-setup-S3KI7TER.js → agent-setup-ZNYAXAWI.js} +14 -14
- package/dist/{artifact-link-cmd-LIJEXVN5.js → artifact-link-cmd-VY6OM7S5.js} +2 -2
- package/dist/{bridge-CP25XV3W.js → bridge-FI7OF2H3.js} +2 -2
- package/dist/{build-ZS4Y5MJU.js → build-PXRDWSN4.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-FDUOMHY3.js → builder-UNVHUZL7.js} +6 -6
- package/dist/{check-5XB22HKS.js → check-BKONE55O.js} +41 -41
- package/dist/{chunk-NAHTO4XM.js → chunk-2ZMJFGOZ.js} +1 -1
- package/dist/{chunk-GG3WS4C5.js → chunk-3F7RC3UA.js} +3 -3
- package/dist/{chunk-SN3C57RV.js → chunk-3IDNLZPR.js} +5 -5
- package/dist/{chunk-HRWL7NSJ.js → chunk-3YLHIXLR.js} +7 -7
- package/dist/{chunk-3KMYWLMK.js → chunk-44CGGHJF.js} +1 -1
- package/dist/{chunk-IGEJUPDE.js → chunk-5HZDPOJI.js} +3 -3
- package/dist/{chunk-OD6WUNKZ.js → chunk-6CNNRO53.js} +3 -3
- package/dist/{chunk-BFA2LNJG.js → chunk-7YSR636F.js} +4 -4
- package/dist/{chunk-NX2G6PH6.js → chunk-AKKVPUGK.js} +1 -1
- package/dist/{chunk-F72ABZRD.js → chunk-AM3GMWQK.js} +1 -1
- package/dist/{emit-finding-cmd-XEX5XVVI.js → chunk-B5CQJBZ2.js} +5 -23
- package/dist/{chunk-D3D2CERC.js → chunk-B6OYEP3K.js} +5 -5
- package/dist/{chunk-MZJAIRXM.js → chunk-BCWVTWS7.js} +4 -4
- package/dist/{chunk-GI73HOI2.js → chunk-D3LS7E7U.js} +1 -1
- package/dist/{chunk-GJJDPZS2.js → chunk-DBELICD6.js} +7 -7
- package/dist/{chunk-A2E7MU2H.js → chunk-DBENBGVF.js} +18 -18
- package/dist/{chunk-6AG2XW5S.js → chunk-DBRB26R7.js} +7 -7
- package/dist/{chunk-H6DGJBXG.js → chunk-DLY22KHX.js} +5 -5
- package/dist/{chunk-LKN4J37L.js → chunk-FTGJ3DPV.js} +52 -2
- package/dist/{chunk-VY4YVFL5.js → chunk-G2RRBBOX.js} +1 -1
- package/dist/{chunk-42TFWHFF.js → chunk-HJUGOAM7.js} +1 -1
- package/dist/{chunk-6XQPCQBW.js → chunk-HSUUTD4E.js} +1 -1
- package/dist/{chunk-FA6XWYRH.js → chunk-I3WLYIIW.js} +7 -7
- package/dist/{chunk-SHVE5JZO.js → chunk-IRF2FKB5.js} +1 -1
- package/dist/{chunk-CU7TJL6S.js → chunk-IRTZYDZO.js} +1 -1
- package/dist/{chunk-M4QY7YZ5.js → chunk-ISKWFUEQ.js} +20 -20
- package/dist/{chunk-JL6VZHAJ.js → chunk-IWFYKNAO.js} +50 -1
- package/dist/{chunk-WEMNLTWB.js → chunk-JGOMMFNX.js} +7 -7
- package/dist/{chunk-23PFIW35.js → chunk-LJIFCG4G.js} +1 -1
- package/dist/{chunk-77YT7YC4.js → chunk-MBVSVQVH.js} +1 -1
- package/dist/{chunk-TZGQQY7Y.js → chunk-MBZTX4V2.js} +7 -7
- package/dist/{chunk-UPKFSNSU.js → chunk-PS3AHE6C.js} +5 -5
- package/dist/{chunk-427AVP6J.js → chunk-QDDPVBIS.js} +2 -2
- package/dist/{chunk-MO2NI6W6.js → chunk-QQJGL7LG.js} +12 -12
- package/dist/{chunk-MX3PPJNS.js → chunk-QWJBTFAF.js} +1 -1
- package/dist/{chunk-IG45QISA.js → chunk-RJDJFRRY.js} +2 -2
- package/dist/{chunk-PGA5BVHQ.js → chunk-SJ4DX2AD.js} +3 -3
- package/dist/{chunk-PAHZQQB3.js → chunk-SOWXLIDN.js} +1 -1
- package/dist/{chunk-VT3BKV5D.js → chunk-TGUWHA27.js} +3 -3
- package/dist/{chunk-YSH4KCUJ.js → chunk-TKJISBV6.js} +1 -1
- package/dist/{chunk-2KOXAMMB.js → chunk-TKX23NFV.js} +12 -12
- package/dist/{chunk-KBIJZAH4.js → chunk-TN2XMMD7.js} +1 -1
- package/dist/{chunk-V47KJGNE.js → chunk-U5DC57AF.js} +3 -3
- package/dist/{chunk-S2Q65ZOT.js → chunk-UAFMC3PL.js} +1 -1
- package/dist/{chunk-FUGRIAG7.js → chunk-V6IYYQU3.js} +2 -2
- package/dist/{chunk-OKAJSYZ2.js → chunk-VL3CF4DZ.js} +1 -1
- package/dist/{chunk-C7F6U2YZ.js → chunk-WHCDULC4.js} +5 -2
- package/dist/{chunk-GJOF6357.js → chunk-XB7TRWI2.js} +4 -4
- package/dist/{chunk-2YLKMVFV.js → chunk-XRRSFHKV.js} +2 -2
- package/dist/{chunk-25Z6SBMQ.js → chunk-XTKH5VAC.js} +2 -2
- package/dist/{chunk-7H7RUQCZ.js → chunk-YVY3IVYV.js} +3 -3
- package/dist/{chunk-PP7C7JQO.js → chunk-ZNMVBHGJ.js} +3 -3
- package/dist/{chunk-DXI6A6JN.js → chunk-ZUOPFE22.js} +1 -1
- package/dist/{claude-launcher-SHIQTBS6.js → claude-launcher-ZDZQXW76.js} +5 -5
- package/dist/{cli-EN2WGVM6.js → cli-6NI7WJFP.js} +182 -120
- package/dist/{command-2VFWA2RF.js → command-EFYTEHPF.js} +30 -30
- package/dist/{config-HJQ4YE57.js → config-VM6GKCCE.js} +2 -2
- package/dist/{connect-cmd-T6IAT5FT.js → connect-cmd-U2DY4OZU.js} +12 -12
- package/dist/{container-start-C5ZCXXMF.js → container-start-C3CGPEXA.js} +32 -31
- package/dist/{context-cleanup-MV3X6NSF.js → context-cleanup-D5EGQHQV.js} +3 -3
- package/dist/{control-plane-launch-5FZ6LJOC.js → control-plane-launch-2AC4BTWL.js} +10 -10
- package/dist/{dist-H5IYGH3T.js → dist-IDP7Q53A.js} +2 -2
- package/dist/{docker-RFN6UWTT.js → docker-K442NGCS.js} +6 -6
- package/dist/{doctor-VXDBXKSL.js → doctor-RGTHY56D.js} +32 -32
- package/dist/{emit-artifact-cmd-M52RLUBU.js → emit-artifact-cmd-IK7GAS7V.js} +16 -16
- package/dist/{emit-cmd-HTNETHAE.js → emit-cmd-PSD7AAKJ.js} +6 -6
- package/dist/{emit-criteria-cmd-APDCA6FK.js → emit-criteria-cmd-TGBRMX3P.js} +13 -13
- package/dist/emit-finding-cmd-KXCNLJLK.js +34 -0
- package/dist/{emit-result-cmd-HFC3WDWB.js → emit-result-cmd-WJBLCVDL.js} +16 -16
- package/dist/{emit-step-cmd-LTRPF2YX.js → emit-step-cmd-OYX5X65A.js} +14 -14
- package/dist/{exec-client-GHFNXOY6.js → exec-client-RMGGSTGR.js} +3 -3
- package/dist/findings-cmd-HFDOB6AC.js +135 -0
- package/dist/{fleet-readiness-SJA7NFR2.js → fleet-readiness-5S2GCWZE.js} +12 -12
- package/dist/{governing-source-PBYOKKAJ.js → governing-source-LVTBDQIM.js} +17 -17
- package/dist/{guest-init-MQRIALWR.js → guest-init-O7INUZWE.js} +4 -4
- package/dist/{hook-fast-JKYCVO4R.js → hook-fast-A2N3PSXI.js} +1 -1
- package/dist/{host-key-DBYH3RTZ.js → host-key-HJ66C6MD.js} +3 -3
- package/dist/{image-tag-XNODAHAW.js → image-tag-LLXOFXKP.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-ZUMSDYMW.js → init-NO5PJEPZ.js} +29 -29
- package/dist/{init-JJPJ2XLL.js → init-VY6J7MAY.js} +29 -29
- package/dist/{init-cmd-342RW7DZ.js → init-cmd-FW67JGI7.js} +22 -22
- package/dist/{init-update-4MCW5W72.js → init-update-RN2PZ3MT.js} +21 -21
- package/dist/{install-GODA5G7U.js → install-GZ27NW6U.js} +4 -4
- package/dist/{install-cmd-YNQ5DCZP.js → install-cmd-26OY23ZZ.js} +5 -5
- package/dist/{layout-DBAL2HTQ.js → layout-3ISIED6A.js} +4 -4
- package/dist/{login-browser-B6E4GNIF.js → login-browser-NTVVDJF7.js} +2 -2
- package/dist/{logs-KAG3MAUO.js → logs-7O3ELY35.js} +2 -2
- package/dist/{loop-ZXJFOVCS.js → loop-SY636F7D.js} +41 -41
- package/dist/{machine-F3TVUBZY.js → machine-IJ2QP3FO.js} +25 -25
- package/dist/{machine-skills-6MLTVBCF.js → machine-skills-I4DB2CP3.js} +4 -4
- package/dist/{mcp-serve-cmd-SGISNCB3.js → mcp-serve-cmd-AT7G6J5V.js} +4 -4
- package/dist/{paths-PG4JNLZG.js → paths-32THAYBB.js} +2 -2
- package/dist/{pending-GG252ERT.js → pending-6CMYQHFL.js} +3 -3
- package/dist/{pidfile-7SYDMT2O.js → pidfile-3BH6WPOA.js} +3 -3
- package/dist/{record-ZGUOOYJH.js → record-WHPJCC6Y.js} +3 -3
- package/dist/{runner-env-WI6LKWIU.js → runner-env-6Q45P3IE.js} +5 -5
- package/dist/{runner-identity-JIC54L5Q.js → runner-identity-KH7HADNF.js} +6 -6
- package/dist/{runner-key-RXCKMQRL.js → runner-key-L6B5CNDG.js} +29 -29
- package/dist/{session-sender-JAAMA5E6.js → session-sender-N4DOGRTN.js} +17 -17
- package/dist/{spec-cmd-BUFLEQ6L.js → spec-cmd-7KOT4IQO.js} +14 -14
- package/dist/{starter-pack-I5W5JAYT.js → starter-pack-2WFNRGFA.js} +5 -5
- package/dist/{status-E7V365CD.js → status-LOQ2RHWX.js} +32 -32
- package/dist/{sync-cmd-U5FUBXJY.js → sync-cmd-E5VRZ5DK.js} +16 -16
- package/dist/{watch-AOPZJOUM.js → watch-P6XAYDM2.js} +16 -16
- package/dist/{work-claim-cmd-Z2UZD37I.js → work-claim-cmd-7YQ5CJ3R.js} +17 -17
- package/dist/{work-cmd-XLVQDNTC.js → work-cmd-RRHDQDOX.js} +14 -14
- package/dist/{work-comment-cmd-THLQUSMH.js → work-comment-cmd-XYAPMQYC.js} +14 -14
- package/dist/{work-logs-cmd-2NFG6ZY6.js → work-logs-cmd-TTLUEWVX.js} +14 -14
- package/dist/{work-open-pr-cmd-J22A2YCD.js → work-open-pr-cmd-A63YGIBW.js} +15 -15
- package/dist/{work-pr-cmd-SYAENEH4.js → work-pr-cmd-HOS5ZHJI.js} +14 -14
- package/dist/{work-stop-cmd-FP453YCB.js → work-stop-cmd-7KIKIZPO.js} +14 -14
- package/package.json +3 -3
- package/skill-pack/maintained/outerlayer-build/SKILL.md +4 -1
- package/skill-pack/maintained/outerlayer-findings/SKILL.md +14 -10
- package/skill-pack/shipped.json +2 -0
- package/skill-pack/template/build/SKILL.md +3 -1
- package/skill-pack/template/spec/SKILL.md +6 -4
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { execCapture } from './chunk-
|
|
4
|
-
import { GUEST_CID } from './chunk-
|
|
5
|
-
import { keepStagedContext, describeCallFailure, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript } from './chunk-
|
|
6
|
-
import { runnerImageVersion } from './chunk-
|
|
3
|
+
import { execCapture } from './chunk-MBVSVQVH.js';
|
|
4
|
+
import { GUEST_CID } from './chunk-TKJISBV6.js';
|
|
5
|
+
import { keepStagedContext, describeCallFailure, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript } from './chunk-3IDNLZPR.js';
|
|
6
|
+
import { runnerImageVersion } from './chunk-D3LS7E7U.js';
|
|
7
7
|
import { hostAllowed } from './chunk-UXYLWVTQ.js';
|
|
8
|
-
import { readDefaultBranchHead, cloneRepository, buildRepositoryImage } from './chunk-
|
|
8
|
+
import { readDefaultBranchHead, cloneRepository, buildRepositoryImage } from './chunk-U5DC57AF.js';
|
|
9
9
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
10
10
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
11
|
-
import { createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, containerExecArgs, childEnvironment, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, spawnRun } from './chunk-
|
|
11
|
+
import { createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, containerExecArgs, childEnvironment, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, spawnRun } from './chunk-7YSR636F.js';
|
|
12
12
|
import { readDu } from './chunk-YJLHUKYS.js';
|
|
13
13
|
import { FIRECRACKER_VERSION, hostHelperPinned, firecrackerArch, MICROVM_ARCHES, RecipeError, DOCKER_FEATURE, CLAUDE_CODE_VERSION, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, DEFAULT_BASE_IMAGE } from './chunk-SJZL5F3F.js';
|
|
14
|
-
import { WorkCommandError } from './chunk-
|
|
15
|
-
import { setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-
|
|
16
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, deliveryDir, ghConfigDir, runnerDirOfBuild, spoolDir, mirrorDir, buildDir, SHIM_DIR } from './chunk-
|
|
17
|
-
import { repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, CHECKOUT_DIR, lifecycleWorkdir, claudeCredential, buildEnvironment, startBuildServices, checkEnvironment, AGENT_CREDENTIAL_MISSING, checkoutPath, JOB_MOUNT } from './chunk-
|
|
14
|
+
import { WorkCommandError } from './chunk-DBRB26R7.js';
|
|
15
|
+
import { setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-FTGJ3DPV.js';
|
|
16
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, deliveryDir, ghConfigDir, runnerDirOfBuild, spoolDir, mirrorDir, buildDir, SHIM_DIR } from './chunk-SOWXLIDN.js';
|
|
17
|
+
import { repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, CHECKOUT_DIR, lifecycleWorkdir, claudeCredential, buildEnvironment, startBuildServices, checkEnvironment, AGENT_CREDENTIAL_MISSING, checkoutPath, JOB_MOUNT } from './chunk-WHCDULC4.js';
|
|
18
18
|
import { sharedSkillNames, skillConflictMessage } from './chunk-FGF52V4V.js';
|
|
19
19
|
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
20
|
-
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-
|
|
21
|
-
import { downconvertSession } from './chunk-
|
|
20
|
+
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-ZUOPFE22.js';
|
|
21
|
+
import { downconvertSession } from './chunk-IWFYKNAO.js';
|
|
22
22
|
import { realFdStorePort } from './chunk-XD4ZCMA4.js';
|
|
23
23
|
import { RELAY_USER, RELAY_ID, UNKNOWN_TRANSPORT_REASON, DOCKER_DESKTOP_REASON, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath } from './chunk-MESOOLF4.js';
|
|
24
24
|
import { readFileSync, mkdirSync, existsSync, mkdtempSync, rmSync, chmodSync, truncateSync, writeFileSync, readdirSync, lstatSync, copyFileSync, accessSync, constants, statSync, rmdirSync, renameSync, unlinkSync, openSync, closeSync, createWriteStream, createReadStream, writeSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-SOWXLIDN.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -680,11 +680,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
680
680
|
const dirs = findGitDirs(cwd);
|
|
681
681
|
if (dirs === void 0) return void 0;
|
|
682
682
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
683
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
683
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-D5EGQHQV.js');
|
|
684
684
|
cleanupEarlierCopies(dirs);
|
|
685
685
|
}
|
|
686
686
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
687
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
687
|
+
const { governanceOf } = await import('./control-plane-launch-2AC4BTWL.js');
|
|
688
688
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
689
689
|
recordMissingContext(dirs, sessionId, home);
|
|
690
690
|
const launcher = `${cliInvocation()} claude`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-3YLHIXLR.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-FTGJ3DPV.js';
|
|
5
|
+
import { resolveGatewayCredentials } from './chunk-AM3GMWQK.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { autoConnect, detectActiveSession } from './chunk-SJ4DX2AD.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-FTGJ3DPV.js';
|
|
5
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-AM3GMWQK.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, GATEWAY_SOCKET, GATEWAY_PORT, CLAUDE_SOCKET, CLAUDE_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
3
|
+
import { RELAY_PORT, GATEWAY_SOCKET, GATEWAY_PORT, CLAUDE_SOCKET, CLAUDE_PORT, DESTINATION_BASE_PORT } from './chunk-WHCDULC4.js';
|
|
4
4
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
8
|
-
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-BCWVTWS7.js';
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-MBZTX4V2.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-DBRB26R7.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-3YLHIXLR.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-HSUUTD4E.js';
|
|
8
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-FTGJ3DPV.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-V6IYYQU3.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-AM3GMWQK.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-RJDJFRRY.js';
|
|
13
13
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-I7RZHMXW.js';
|
|
14
14
|
import { hookCommandEscapesControlPlane, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
15
15
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
@@ -1190,7 +1190,7 @@ function doctorExitCode(checks) {
|
|
|
1190
1190
|
|
|
1191
1191
|
// src/doctor-report.ts
|
|
1192
1192
|
async function gatherDoctorChecks() {
|
|
1193
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1193
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, loadRunnerConfig, runnerVmOf } = await import('./config-VM6GKCCE.js');
|
|
1194
1194
|
const configPath = defaultRunnerConfigPath();
|
|
1195
1195
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1196
1196
|
const hooks = (() => {
|
|
@@ -1211,7 +1211,7 @@ async function gatherDoctorChecks() {
|
|
|
1211
1211
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1212
1212
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1213
1213
|
} else if (hasRunnerBlock(configPath)) {
|
|
1214
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1214
|
+
const { runnerHostChecks } = await import('./doctor-RGTHY56D.js');
|
|
1215
1215
|
const gateway = (() => {
|
|
1216
1216
|
try {
|
|
1217
1217
|
const { url, apiKey, appId } = loadRunnerConfig(configPath);
|
|
@@ -1239,7 +1239,7 @@ async function gatherDoctorChecks() {
|
|
|
1239
1239
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1240
1240
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1241
1241
|
const { inspectService, realInspectProbes } = await import('./inspect-L7JIBK3Y.js');
|
|
1242
|
-
const { DEFAULT_UNIT_NAME } = await import('./install-
|
|
1242
|
+
const { DEFAULT_UNIT_NAME } = await import('./install-GZ27NW6U.js');
|
|
1243
1243
|
const { dirname: dirname2 } = await import('path');
|
|
1244
1244
|
return inspectService(DEFAULT_UNIT_NAME, dirname2(configPath), realInspectProbes());
|
|
1245
1245
|
})();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-WHCDULC4.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-IRTZYDZO.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
5
|
import { CLAUDE_CODE_VERSION, NODE_IMAGE, DEFAULT_BASE_IMAGE, RecipeError, locateRecipe, readRecipe, assertBuildable, TINI_VERSION, GH_VERSION, writeSanitizedRecipe, classifyProperties, GH_SHA256, TINI_SHA256, SANITIZED_NAME } from './chunk-SJZL5F3F.js';
|
|
6
|
-
import { RUNNER_DIR_MODE, repoCacheDir, imagesDir, attemptStamp, runnerDir, rootfsPathFor, RUNNER_FILE_MODE } from './chunk-
|
|
7
|
-
import { withGitConfig, tokenHeader, PROXY_WARNING_FLAG } from './chunk-
|
|
6
|
+
import { RUNNER_DIR_MODE, repoCacheDir, imagesDir, attemptStamp, runnerDir, rootfsPathFor, RUNNER_FILE_MODE } from './chunk-SOWXLIDN.js';
|
|
7
|
+
import { withGitConfig, tokenHeader, PROXY_WARNING_FLAG } from './chunk-WHCDULC4.js';
|
|
8
8
|
import { RELAY_ID, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
9
9
|
import { mkdirSync, rmSync, existsSync, mkdtempSync, cpSync, readFileSync, writeFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
10
10
|
import { tmpdir } from 'os';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { loadMachineSkillFiles, resolvePackRoot } from './chunk-AKKVPUGK.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-CDDED64E.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
3
|
+
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-AKKVPUGK.js';
|
|
4
4
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
5
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-
|
|
5
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-ZUOPFE22.js';
|
|
6
6
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname, relative, sep } from 'path';
|
|
8
8
|
|
|
@@ -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-LJIFCG4G.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';
|
|
@@ -15,7 +15,8 @@ function claudeEnvPath(configPath) {
|
|
|
15
15
|
return join(dirname(configPath), CLAUDE_ENV_FILE);
|
|
16
16
|
}
|
|
17
17
|
var CLAUDE_CREDENTIAL_VARIABLES = ["CLAUDE_CODE_OAUTH_TOKEN", "ANTHROPIC_API_KEY", "ANTHROPIC_AUTH_TOKEN"];
|
|
18
|
-
var
|
|
18
|
+
var FORWARDED_CLAUDE_CREDENTIAL_VARIABLES = ["CLAUDE_CODE_OAUTH_TOKEN", "ANTHROPIC_API_KEY"];
|
|
19
|
+
var FORWARDED = FORWARDED_CLAUDE_CREDENTIAL_VARIABLES;
|
|
19
20
|
function firstOf(values, source) {
|
|
20
21
|
for (const variable of FORWARDED) {
|
|
21
22
|
const value = values[variable];
|
|
@@ -162,6 +163,8 @@ function builtInEnvironment(localFor, credential) {
|
|
|
162
163
|
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1"
|
|
163
164
|
};
|
|
164
165
|
}
|
|
166
|
+
|
|
167
|
+
// src/runner/destinations.ts
|
|
165
168
|
var MAX_RELEASED_DESTINATIONS = 20;
|
|
166
169
|
var MAX_DESTINATIONS = MAX_RELEASED_DESTINATIONS - BUILT_IN_NAMES.length;
|
|
167
170
|
var DESTINATION_BASE_PORT = 3129;
|
|
@@ -753,4 +756,4 @@ function withTunnelRecord(environment, record, onlyWhenUsed = false) {
|
|
|
753
756
|
};
|
|
754
757
|
}
|
|
755
758
|
|
|
756
|
-
export { AGENT_CREDENTIAL_MISSING, BUILD_HOME, BUILT_IN_NAMES, CHECKOUT_DIR, CHECK_ITEMS_FILE, CLAUDE_CREDENTIAL_ID, CLAUDE_CREDENTIAL_VARIABLES, CLAUDE_ENV_FILE, CLAUDE_PORT, CLAUDE_SOCKET, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, GATEWAY_PORT, GATEWAY_SOCKET, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, authorEnvironment, buildEnvironment, builtInEnvironment, checkEnvironment, checkoutPath, claudeCredential, claudeEnvPath, commitIdentityRecord, containerLocalAddress, credentialLineIn, currentClaudeCredential, destinationEnvironment, headerVariables, heldClaudeCredential, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseUnreachable, primaryOf, proxyEnvironment, readClaudeCredential, removedClaudeCredentialValues, repositoriesOf, repositoryPath, resolveDestinations, sharedUserEnvironment, startBuildServices, takeClaudeCredential, tokenHeader, withGitConfig, withHooksPath, withProxyWarningHidden, withTokenHeader, withTunnelRecord, withoutCredentialLines };
|
|
759
|
+
export { AGENT_CREDENTIAL_MISSING, BUILD_HOME, BUILT_IN_NAMES, CHECKOUT_DIR, CHECK_ITEMS_FILE, CLAUDE_CREDENTIAL_ID, CLAUDE_CREDENTIAL_VARIABLES, CLAUDE_ENV_FILE, CLAUDE_PORT, CLAUDE_SOCKET, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, GATEWAY_PORT, GATEWAY_SOCKET, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, authorEnvironment, buildEnvironment, builtInEnvironment, checkEnvironment, checkoutPath, claudeCredential, claudeEnvPath, commitIdentityRecord, containerLocalAddress, credentialLineIn, currentClaudeCredential, destinationEnvironment, headerVariables, heldClaudeCredential, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseUnreachable, primaryOf, proxyEnvironment, readClaudeCredential, removedClaudeCredentialValues, repositoriesOf, repositoryPath, resolveDestinations, sharedUserEnvironment, startBuildServices, takeClaudeCredential, tokenHeader, withGitConfig, withHooksPath, withProxyWarningHidden, withTokenHeader, withTunnelRecord, withoutCredentialLines };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-QDDPVBIS.js';
|
|
4
4
|
import { C } from './chunk-ANPNT6PM.js';
|
|
5
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
6
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-
|
|
5
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-V6IYYQU3.js';
|
|
6
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-AKKVPUGK.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
|
-
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-
|
|
8
|
+
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-ZUOPFE22.js';
|
|
9
9
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
4
|
-
import { runnerImageVersion } from './chunk-
|
|
3
|
+
import { MIN_ENGINE_MAJOR } from './chunk-QQJGL7LG.js';
|
|
4
|
+
import { runnerImageVersion } from './chunk-D3LS7E7U.js';
|
|
5
5
|
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-SJZL5F3F.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
7
7
|
import { existsSync, accessSync, constants, statSync, readFileSync } from 'fs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-ANPNT6PM.js';
|
|
4
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
4
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-AKKVPUGK.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
|
-
import { linkedAgentsPath } from './chunk-
|
|
8
|
+
import { linkedAgentsPath } from './chunk-HJUGOAM7.js';
|
|
9
9
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, writeLauncher, LauncherWriteError, pathNotes } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, isInLayout, packageRootIn, versionDir, switchCurrent, execStartLine } from './chunk-
|
|
3
|
+
import { launcherPath, writeLauncher, LauncherWriteError, pathNotes } from './chunk-VL3CF4DZ.js';
|
|
4
|
+
import { currentVersion, currentLink, isInLayout, packageRootIn, versionDir, switchCurrent, execStartLine } from './chunk-LJIFCG4G.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { RUNNER_DIR_MODE } from './chunk-SOWXLIDN.js';
|
|
7
7
|
import { realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { CaptureDaemon } from './chunk-
|
|
5
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-DBELICD6.js';
|
|
4
|
+
import { CaptureDaemon } from './chunk-FTGJ3DPV.js';
|
|
5
|
+
import { spoolDir } from './chunk-RJDJFRRY.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RESERVED_EMIT_NAMES, ARTIFACT_KINDS, ArtifactCriterionIdSchema } from './chunk-
|
|
3
|
+
import { RESERVED_EMIT_NAMES, ARTIFACT_KINDS, ArtifactCriterionIdSchema } from './chunk-IWFYKNAO.js';
|
|
4
4
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -4,12 +4,12 @@ import { sharedSkillNames } from './chunk-FGF52V4V.js';
|
|
|
4
4
|
import { GOVERNANCE_VARIABLE, versionAtLeast, MINIMUM_CLAUDE_VERSION, SHIM_SCRIPT, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
5
5
|
export { MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-UAFMC3PL.js';
|
|
8
|
+
import './chunk-AKKVPUGK.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-ZUOPFE22.js';
|
|
12
|
+
import './chunk-IWFYKNAO.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
14
14
|
import './chunk-Z5GEFMRW.js';
|
|
15
15
|
import { spawnSync, execFileSync, spawn } from 'child_process';
|
|
@@ -241,7 +241,7 @@ async function runClaudeLauncher(args, deps = {}) {
|
|
|
241
241
|
return 1;
|
|
242
242
|
}
|
|
243
243
|
} else {
|
|
244
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
244
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-2AC4BTWL.js');
|
|
245
245
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
246
246
|
if (plane.kind === "none") {
|
|
247
247
|
const own2 = ownSkillsDirFor(cwd, home, [], stderr);
|