@outerlayer/cli 0.28.4 → 0.29.0
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 +12 -0
- package/dist/{agent-setup-IDF3EXM4.js → agent-setup-S3KI7TER.js} +14 -14
- package/dist/{artifact-link-cmd-LEI6EOZE.js → artifact-link-cmd-LIJEXVN5.js} +2 -2
- package/dist/{bridge-JN3VJ23L.js → bridge-CP25XV3W.js} +2 -2
- package/dist/{build-JCYOHPLL.js → build-ZS4Y5MJU.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-HCTVP2O7.js → builder-FDUOMHY3.js} +6 -6
- package/dist/{check-WJ4X2Q44.js → check-5XB22HKS.js} +42 -41
- package/dist/{chunk-6NFXOQKZ.js → chunk-23PFIW35.js} +1 -1
- package/dist/{chunk-SATUCMAJ.js → chunk-25Z6SBMQ.js} +2 -2
- package/dist/{chunk-FTNCNEWE.js → chunk-2KOXAMMB.js} +12 -12
- package/dist/{chunk-W3K6GBXY.js → chunk-2YLKMVFV.js} +2 -2
- package/dist/{chunk-QBF462QH.js → chunk-3KMYWLMK.js} +1 -1
- package/dist/{chunk-5B7BEQPR.js → chunk-427AVP6J.js} +2 -2
- package/dist/{chunk-VWFOKRYS.js → chunk-42TFWHFF.js} +1 -1
- package/dist/{chunk-X7SFJZIG.js → chunk-6AG2XW5S.js} +29 -10
- package/dist/{chunk-BUP5N3X6.js → chunk-6XQPCQBW.js} +1 -1
- package/dist/{chunk-WL3QF3QF.js → chunk-77YT7YC4.js} +18 -16
- package/dist/{chunk-EZ3DZXUH.js → chunk-7H7RUQCZ.js} +3 -3
- package/dist/{chunk-NVUO52YW.js → chunk-A2E7MU2H.js} +55 -47
- package/dist/{chunk-MFI55TNI.js → chunk-BFA2LNJG.js} +22 -6
- package/dist/{chunk-N5EEEKT6.js → chunk-C7F6U2YZ.js} +3 -2
- package/dist/{chunk-M6NNXKRM.js → chunk-CU7TJL6S.js} +1 -1
- package/dist/{chunk-KBB3CQTW.js → chunk-D3D2CERC.js} +5 -5
- package/dist/{chunk-RKOTJQVG.js → chunk-DXI6A6JN.js} +10 -4
- package/dist/{chunk-KJIUFOC4.js → chunk-F72ABZRD.js} +1 -1
- package/dist/{chunk-UXLLWIA2.js → chunk-FA6XWYRH.js} +7 -7
- package/dist/{chunk-P2RWZCV7.js → chunk-FUGRIAG7.js} +2 -2
- package/dist/{chunk-JYVBEWBC.js → chunk-GG3WS4C5.js} +3 -3
- package/dist/{chunk-O47BTZSN.js → chunk-GI73HOI2.js} +1 -1
- package/dist/{chunk-2BZTGJII.js → chunk-GJJDPZS2.js} +7 -7
- package/dist/{chunk-QKXF7CLR.js → chunk-GJOF6357.js} +4 -4
- package/dist/{chunk-TG7FAHRP.js → chunk-H6DGJBXG.js} +5 -5
- package/dist/{chunk-QFNFBQCG.js → chunk-HRWL7NSJ.js} +5 -5
- package/dist/chunk-I3LTIAOR.js +11 -0
- package/dist/{chunk-OOUHNKKX.js → chunk-IG45QISA.js} +2 -2
- package/dist/{chunk-AV5MJY45.js → chunk-IGEJUPDE.js} +3 -3
- package/dist/{chunk-QZBXLLTV.js → chunk-JL6VZHAJ.js} +38 -1
- package/dist/{chunk-RXFKXZJS.js → chunk-KBIJZAH4.js} +1 -1
- package/dist/{chunk-UHU7H57K.js → chunk-LKN4J37L.js} +151 -34
- package/dist/{chunk-6P2Z5AUY.js → chunk-M4QY7YZ5.js} +360 -74
- package/dist/{chunk-5Q4NDYQP.js → chunk-MO2NI6W6.js} +25 -24
- package/dist/{chunk-HWOU2HDH.js → chunk-MX3PPJNS.js} +1 -1
- package/dist/{chunk-ITAIEJ2T.js → chunk-MZJAIRXM.js} +4 -4
- package/dist/{chunk-YYGXCRIW.js → chunk-NAHTO4XM.js} +1 -1
- package/dist/{chunk-JGML2VUN.js → chunk-NX2G6PH6.js} +1 -1
- package/dist/{chunk-OO6OADZN.js → chunk-OD6WUNKZ.js} +3 -3
- package/dist/{chunk-DSKOHPXN.js → chunk-OKAJSYZ2.js} +1 -1
- package/dist/{chunk-DWVAG73B.js → chunk-PAHZQQB3.js} +1 -1
- package/dist/{chunk-NMIYK2G2.js → chunk-PGA5BVHQ.js} +3 -3
- package/dist/{chunk-YTR435DO.js → chunk-PP7C7JQO.js} +3 -3
- package/dist/{chunk-DQYMQ47E.js → chunk-S2Q65ZOT.js} +1 -1
- package/dist/{chunk-R7TMTFJP.js → chunk-SHVE5JZO.js} +1 -1
- package/dist/{chunk-JZJLKTZT.js → chunk-SN3C57RV.js} +5 -5
- package/dist/{chunk-TOHKSZKI.js → chunk-TZGQQY7Y.js} +7 -7
- package/dist/{chunk-VM6BX2WJ.js → chunk-UPKFSNSU.js} +5 -5
- package/dist/{chunk-TCBVV2JK.js → chunk-V47KJGNE.js} +3 -3
- package/dist/{chunk-NKD5BNRX.js → chunk-VT3BKV5D.js} +3 -3
- package/dist/{chunk-HOU33DW5.js → chunk-VY4YVFL5.js} +1 -1
- package/dist/{chunk-ERVZGWUR.js → chunk-WEMNLTWB.js} +7 -7
- package/dist/{chunk-DIQN5SEL.js → chunk-YSH4KCUJ.js} +1 -1
- package/dist/{claude-launcher-LVYZ4YJI.js → claude-launcher-SHIQTBS6.js} +5 -5
- package/dist/{cli-X3JGBH2D.js → cli-EN2WGVM6.js} +126 -120
- package/dist/{command-NLWZT7KR.js → command-2VFWA2RF.js} +30 -30
- package/dist/{config-TNV5HHLO.js → config-HJQ4YE57.js} +2 -2
- package/dist/{connect-cmd-43IWARIV.js → connect-cmd-T6IAT5FT.js} +12 -12
- package/dist/{container-start-3MXIUNE2.js → container-start-C5ZCXXMF.js} +29 -29
- package/dist/{context-cleanup-LTH77FC3.js → context-cleanup-MV3X6NSF.js} +3 -3
- package/dist/{control-plane-launch-TIK265OT.js → control-plane-launch-5FZ6LJOC.js} +10 -10
- package/dist/{dist-JFVKLUHL.js → dist-H5IYGH3T.js} +2 -2
- package/dist/{docker-2IIRBQAB.js → docker-RFN6UWTT.js} +6 -6
- package/dist/{doctor-PKMAUDTU.js → doctor-VXDBXKSL.js} +32 -32
- package/dist/{emit-artifact-cmd-RM2X3PBJ.js → emit-artifact-cmd-M52RLUBU.js} +16 -16
- package/dist/{emit-cmd-QUABLVO6.js → emit-cmd-HTNETHAE.js} +6 -6
- package/dist/{emit-criteria-cmd-ZUI7DFND.js → emit-criteria-cmd-APDCA6FK.js} +13 -13
- package/dist/{emit-finding-cmd-W2FU4CCF.js → emit-finding-cmd-XEX5XVVI.js} +13 -13
- package/dist/{emit-result-cmd-JINMQ7QG.js → emit-result-cmd-HFC3WDWB.js} +52 -25
- package/dist/{emit-step-cmd-7FZWQTV3.js → emit-step-cmd-LTRPF2YX.js} +14 -14
- package/dist/{exec-client-6ZJJ4KVH.js → exec-client-GHFNXOY6.js} +3 -3
- package/dist/{fleet-readiness-3A67MUAU.js → fleet-readiness-SJA7NFR2.js} +12 -12
- package/dist/{governing-source-KQMKM5CI.js → governing-source-PBYOKKAJ.js} +17 -17
- package/dist/{guest-init-A4HHI2UR.js → guest-init-MQRIALWR.js} +4 -4
- package/dist/{hook-fast-UJPAWDAO.js → hook-fast-JKYCVO4R.js} +1 -1
- package/dist/{host-key-NGRCMJZ7.js → host-key-DBYH3RTZ.js} +3 -3
- package/dist/{image-tag-TEOKZVD5.js → image-tag-XNODAHAW.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-HENNITCI.js → init-JJPJ2XLL.js} +29 -29
- package/dist/{init-Q6JV7IGF.js → init-ZUMSDYMW.js} +29 -29
- package/dist/{init-cmd-GJR37XGU.js → init-cmd-342RW7DZ.js} +22 -22
- package/dist/{init-update-MZ4IRFC7.js → init-update-4MCW5W72.js} +21 -21
- package/dist/{install-NPTR35MG.js → install-GODA5G7U.js} +4 -4
- package/dist/{install-cmd-4PXPAFQX.js → install-cmd-YNQ5DCZP.js} +5 -5
- package/dist/{layout-BBTQPS6V.js → layout-DBAL2HTQ.js} +4 -4
- package/dist/{login-browser-WSOSQH2T.js → login-browser-B6E4GNIF.js} +2 -2
- package/dist/{logs-Z4L4I3OR.js → logs-KAG3MAUO.js} +2 -2
- package/dist/loop-ZXJFOVCS.js +81 -0
- package/dist/{machine-HZGUBOUH.js → machine-F3TVUBZY.js} +25 -25
- package/dist/{machine-skills-O7W6NMWB.js → machine-skills-6MLTVBCF.js} +4 -4
- package/dist/{mcp-serve-cmd-NQM2WDYI.js → mcp-serve-cmd-SGISNCB3.js} +4 -4
- package/dist/{paths-2VSGK6E2.js → paths-PG4JNLZG.js} +2 -2
- package/dist/{pending-SFZ2AYSK.js → pending-GG252ERT.js} +3 -3
- package/dist/{pidfile-3FT5OLUE.js → pidfile-7SYDMT2O.js} +3 -3
- package/dist/{record-7SSRLSI2.js → record-ZGUOOYJH.js} +3 -3
- package/dist/{runner-env-2Z2DVSUJ.js → runner-env-WI6LKWIU.js} +5 -5
- package/dist/{runner-identity-B37HHOZR.js → runner-identity-JIC54L5Q.js} +6 -6
- package/dist/{runner-key-UP5YBUHR.js → runner-key-RXCKMQRL.js} +29 -29
- package/dist/{session-sender-7MSVJZ6Q.js → session-sender-JAAMA5E6.js} +17 -17
- package/dist/{spec-cmd-KAQ7MX4O.js → spec-cmd-BUFLEQ6L.js} +14 -14
- package/dist/{starter-pack-5SOT5V4I.js → starter-pack-I5W5JAYT.js} +5 -5
- package/dist/{status-2ICTDC2R.js → status-E7V365CD.js} +33 -32
- package/dist/{sync-cmd-7K3WVQKO.js → sync-cmd-U5FUBXJY.js} +16 -16
- package/dist/{watch-NCYESLO2.js → watch-AOPZJOUM.js} +16 -16
- package/dist/{work-claim-cmd-IOUEHYIY.js → work-claim-cmd-Z2UZD37I.js} +17 -17
- package/dist/{work-cmd-FOI74X5B.js → work-cmd-XLVQDNTC.js} +14 -14
- package/dist/{work-comment-cmd-3C44H4CG.js → work-comment-cmd-THLQUSMH.js} +14 -14
- package/dist/{work-logs-cmd-YGAWCX3X.js → work-logs-cmd-2NFG6ZY6.js} +14 -14
- package/dist/{work-open-pr-cmd-HUG5HAVC.js → work-open-pr-cmd-J22A2YCD.js} +15 -15
- package/dist/{work-pr-cmd-L2EDOYXH.js → work-pr-cmd-SYAENEH4.js} +14 -14
- package/dist/{work-stop-cmd-GGDVKC67.js → work-stop-cmd-FP453YCB.js} +14 -14
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +40 -39
- package/skill-pack/maintained/outerlayer-build/SKILL.md +5 -9
- package/skill-pack/maintained/outerlayer-build/references/criteria-judge.md +15 -12
- package/skill-pack/maintained/outerlayer-build/references/release.md +11 -6
- package/skill-pack/shipped.json +1 -0
- package/skill-pack/validators/acceptance-criteria.yaml +7 -2
- package/dist/loop-DO46LFUH.js +0 -80
|
@@ -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-77YT7YC4.js';
|
|
4
|
+
import { GUEST_CID } from './chunk-YSH4KCUJ.js';
|
|
5
|
+
import { keepStagedContext, describeCallFailure, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript } from './chunk-SN3C57RV.js';
|
|
6
|
+
import { runnerImageVersion } from './chunk-GI73HOI2.js';
|
|
7
7
|
import { hostAllowed } from './chunk-UXYLWVTQ.js';
|
|
8
|
-
import { readDefaultBranchHead, cloneRepository, buildRepositoryImage } from './chunk-
|
|
8
|
+
import { readDefaultBranchHead, cloneRepository, buildRepositoryImage } from './chunk-V47KJGNE.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,
|
|
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-BFA2LNJG.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-6AG2XW5S.js';
|
|
15
|
+
import { setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-LKN4J37L.js';
|
|
16
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, deliveryDir, ghConfigDir, runnerDirOfBuild, spoolDir, mirrorDir, buildDir, SHIM_DIR } from './chunk-PAHZQQB3.js';
|
|
17
|
+
import { repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, CHECKOUT_DIR, lifecycleWorkdir, claudeCredential, buildEnvironment, startBuildServices, checkEnvironment, AGENT_CREDENTIAL_MISSING, checkoutPath, JOB_MOUNT } from './chunk-C7F6U2YZ.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-DXI6A6JN.js';
|
|
21
|
+
import { downconvertSession } from './chunk-JL6VZHAJ.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';
|
|
@@ -3340,6 +3340,17 @@ function containerJudgeEnvironment(input) {
|
|
|
3340
3340
|
const state = job.container;
|
|
3341
3341
|
const user = state.agentUser ?? ADDED_USER;
|
|
3342
3342
|
const folder = join(input.jobDir, "judge");
|
|
3343
|
+
const readJudgeFile = async (file, name, maxBytes) => {
|
|
3344
|
+
if (!filesAreCopied(state)) return readRegularFile(join(folder, name), maxBytes);
|
|
3345
|
+
const read = await runtime.host.exec({
|
|
3346
|
+
container: state.container,
|
|
3347
|
+
user,
|
|
3348
|
+
env: NO_ENV,
|
|
3349
|
+
argv: ["/bin/sh", "-c", `[ -f ${file} ] && [ ! -L ${file} ] && head -c ${maxBytes + 1} ${file}`]
|
|
3350
|
+
}, { timeoutMs: REPORT_READ_TIMEOUT_MS });
|
|
3351
|
+
if (read.status > 1) throw new Error(`reading the judge's ${name} exited ${read.status}: ${firstLine5(read.stderr)}`);
|
|
3352
|
+
return read.status === 0 && Buffer.byteLength(read.stdout) <= maxBytes ? read.stdout : void 0;
|
|
3353
|
+
};
|
|
3343
3354
|
return {
|
|
3344
3355
|
stop: async () => {
|
|
3345
3356
|
if (input.config !== void 0) await ensureTunnel(runtime, state, input.jobDir, input.config, job.itemKey, job.branch, job.repositories, input.log);
|
|
@@ -3382,18 +3393,8 @@ function containerJudgeEnvironment(input) {
|
|
|
3382
3393
|
chmodSync(folder, 1023);
|
|
3383
3394
|
},
|
|
3384
3395
|
run: (command, opts) => runtime.host.exec({ container: state.container, user, workdir: command.cwd, env: { literals: command.env, passed: {} }, argv: command.argv }, { logPath: opts.logPath }),
|
|
3385
|
-
readReport:
|
|
3386
|
-
|
|
3387
|
-
const file = JUDGE_REPORT;
|
|
3388
|
-
const read = await runtime.host.exec({
|
|
3389
|
-
container: state.container,
|
|
3390
|
-
user,
|
|
3391
|
-
env: NO_ENV,
|
|
3392
|
-
argv: ["/bin/sh", "-c", `[ -f ${file} ] && [ ! -L ${file} ] && head -c ${MAX_REPORT_BYTES + 1} ${file}`]
|
|
3393
|
-
}, { timeoutMs: REPORT_READ_TIMEOUT_MS });
|
|
3394
|
-
if (read.status > 1) throw new Error(`reading the judge report exited ${read.status}: ${firstLine5(read.stderr)}`);
|
|
3395
|
-
return read.status === 0 && Buffer.byteLength(read.stdout) <= MAX_REPORT_BYTES ? read.stdout : void 0;
|
|
3396
|
-
},
|
|
3396
|
+
readReport: () => readJudgeFile(JUDGE_REPORT, "report.html", MAX_REPORT_BYTES),
|
|
3397
|
+
readItems: () => readJudgeFile(JUDGE_ITEMS, "items.json", MAX_ITEMS_BYTES),
|
|
3397
3398
|
// The judge's files belong to the build's user, and Claude Code makes some of its folders private to it, so the runner's user cannot remove them from the
|
|
3398
3399
|
// host. Every capability is dropped in the container, so root there could not either; the build's user removes its own, and the runner removes the rest.
|
|
3399
3400
|
clear: async () => {
|
|
@@ -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-PAHZQQB3.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-KT4CN6OU.js';
|
|
4
|
-
import { POLICY_CONTENT, VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
4
|
+
import { POLICY_CONTENT, VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH } from './chunk-25Z6SBMQ.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-427AVP6J.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, skillDir, loadTemplateFiles, rewriteSkillPaths, restoreSkillPaths, TEMPLATE_SKILLS } from './chunk-
|
|
7
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, skillDir, loadTemplateFiles, rewriteSkillPaths, restoreSkillPaths, TEMPLATE_SKILLS } from './chunk-NX2G6PH6.js';
|
|
8
8
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-42TFWHFF.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAX_ALLOW_HOSTS, allowHostProblem } from './chunk-UXYLWVTQ.js';
|
|
4
4
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-C7F6U2YZ.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
7
7
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
8
8
|
import { hostname } from 'os';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
4
4
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
5
|
-
import { splitRawFile } from './chunk-
|
|
5
|
+
import { splitRawFile } from './chunk-DXI6A6JN.js';
|
|
6
6
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { BRIDGE_ADDRESS, TUNNEL_PORT, BRIDGE_CIDR } from './chunk-
|
|
4
|
-
import { EXEC_PORT } from './chunk-
|
|
3
|
+
import { BRIDGE_ADDRESS, TUNNEL_PORT, BRIDGE_CIDR } from './chunk-KBIJZAH4.js';
|
|
4
|
+
import { EXEC_PORT } from './chunk-YSH4KCUJ.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
6
|
+
import { RELAY_PORT } from './chunk-C7F6U2YZ.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync } from 'fs';
|
|
9
9
|
|
|
@@ -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-23PFIW35.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -1,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-HRWL7NSJ.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-LKN4J37L.js';
|
|
5
|
+
import { resolveGatewayCredentials } from './chunk-F72ABZRD.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,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-GJJDPZS2.js';
|
|
4
|
+
import { CaptureDaemon } from './chunk-LKN4J37L.js';
|
|
5
|
+
import { spoolDir } from './chunk-IG45QISA.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 { loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { loadMachineSkillFiles, resolvePackRoot } from './chunk-NX2G6PH6.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,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-PAHZQQB3.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, isStagingWriteFault, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { signingFetchFor } from './chunk-
|
|
6
|
-
import { signerFor } from './chunk-
|
|
7
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-6AG2XW5S.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, isStagingWriteFault, lookupGoverningSource } from './chunk-H6DGJBXG.js';
|
|
5
|
+
import { signingFetchFor } from './chunk-F72ABZRD.js';
|
|
6
|
+
import { signerFor } from './chunk-SHVE5JZO.js';
|
|
7
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-PAHZQQB3.js';
|
|
8
8
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-FGF52V4V.js';
|
|
9
9
|
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
10
10
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-6XQPCQBW.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-427AVP6J.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-F72ABZRD.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-HCVLP7XA.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleClaudeSkills } from './chunk-
|
|
9
|
-
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleClaudeSkills } from './chunk-S2Q65ZOT.js';
|
|
9
|
+
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-NX2G6PH6.js';
|
|
10
10
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
11
11
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
12
|
-
import { hasSymlinkComponent } from './chunk-
|
|
13
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-
|
|
12
|
+
import { hasSymlinkComponent } from './chunk-42TFWHFF.js';
|
|
13
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-DXI6A6JN.js';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
15
15
|
import { join, dirname, posix } from 'path';
|
|
16
16
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
5
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-
|
|
4
|
+
import { autoConnect, detectActiveSession } from './chunk-PGA5BVHQ.js';
|
|
5
|
+
import { acquireSpoolLockAt } from './chunk-6XQPCQBW.js';
|
|
6
|
+
import { resolveRepoIdentity } from './chunk-LKN4J37L.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-F72ABZRD.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
11
|
+
import { StepNameSchema, StepBodySchema } from './chunk-JL6VZHAJ.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
13
13
|
import { randomUUID } from 'crypto';
|
|
14
14
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
@@ -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-CU7TJL6S.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-PAHZQQB3.js';
|
|
7
|
+
import { withGitConfig, tokenHeader, PROXY_WARNING_FLAG } from './chunk-C7F6U2YZ.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,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-PGA5BVHQ.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-LKN4J37L.js';
|
|
5
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-F72ABZRD.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';
|
|
@@ -5,7 +5,7 @@ import { C } from './chunk-ANPNT6PM.js';
|
|
|
5
5
|
import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudConfig, cloudConfigPath } from './chunk-PJDQPF5N.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-
|
|
8
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-JL6VZHAJ.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isPlaceholderCommand } from './chunk-
|
|
4
|
-
import { describeCallFailure } from './chunk-
|
|
5
|
-
import { builtinKind } from './chunk-
|
|
6
|
-
import { WorkCommandError, getJson } from './chunk-
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
8
|
-
import { signerFor } from './chunk-
|
|
9
|
-
import { CLAUDE_CREDENTIAL_VARIABLES, claudeCredential } from './chunk-
|
|
3
|
+
import { isPlaceholderCommand } from './chunk-D3D2CERC.js';
|
|
4
|
+
import { describeCallFailure } from './chunk-SN3C57RV.js';
|
|
5
|
+
import { builtinKind } from './chunk-NAHTO4XM.js';
|
|
6
|
+
import { WorkCommandError, getJson } from './chunk-6AG2XW5S.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-6XQPCQBW.js';
|
|
8
|
+
import { signerFor } from './chunk-SHVE5JZO.js';
|
|
9
|
+
import { CLAUDE_CREDENTIAL_VARIABLES, claudeCredential } from './chunk-C7F6U2YZ.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -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-C7F6U2YZ.js';
|
|
4
4
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-S2Q65ZOT.js';
|
|
8
|
+
import './chunk-NX2G6PH6.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-DXI6A6JN.js';
|
|
12
|
+
import './chunk-JL6VZHAJ.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-5FZ6LJOC.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);
|