@outerlayer/cli 0.32.0 → 0.33.0-next.20261021171323
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 +15 -1
- package/dist/{agent-setup-E7CMDUR5.js → agent-setup-NSUX64RU.js} +10 -10
- package/dist/{artifact-link-cmd-VY6OM7S5.js → artifact-link-cmd-IGVFGHC2.js} +2 -2
- package/dist/{build-7QD3VJ6U.js → build-HU24C46Z.js} +3 -2
- package/dist/build-info.json +1 -1
- package/dist/{builder-REQJGZJP.js → builder-VFREWHZA.js} +5 -4
- package/dist/{check-COMHCLXW.js → check-3TQJDGKM.js} +29 -28
- package/dist/{chunk-HSUUTD4E.js → chunk-3H7NZPYG.js} +1 -1
- package/dist/{chunk-IWFYKNAO.js → chunk-3WW2TL7V.js} +45 -2
- package/dist/{chunk-SJZL5F3F.js → chunk-3Z3MPR55.js} +1 -51
- package/dist/{chunk-4I3ZDQFU.js → chunk-54GBOMDW.js} +2 -2
- package/dist/{chunk-G2RRBBOX.js → chunk-6C3ZVE62.js} +1 -1
- package/dist/{chunk-XKZPL3GE.js → chunk-7LP3F2QH.js} +4 -4
- package/dist/{chunk-JFLVUA43.js → chunk-AR6UB2BP.js} +3 -3
- package/dist/{chunk-Z7HAIZ6X.js → chunk-BSHUTMXV.js} +54 -5
- package/dist/{chunk-SXJVL7NS.js → chunk-BXA6JLHQ.js} +2 -2
- package/dist/{chunk-JH2AMJ4K.js → chunk-CI6PRMWZ.js} +2 -2
- package/dist/{chunk-NIS2PIS4.js → chunk-D73OLAYE.js} +3 -3
- package/dist/{emit-artifact-cmd-NCK3VCDM.js → chunk-EKMMX5A5.js} +8 -36
- package/dist/{chunk-V6IYYQU3.js → chunk-FE3RTGJN.js} +2 -2
- package/dist/{chunk-VIHQLW4L.js → chunk-G7QBSH3X.js} +9 -8
- package/dist/{chunk-XB7TRWI2.js → chunk-GI6LOIHS.js} +4 -4
- package/dist/{chunk-V36AOTBP.js → chunk-GKNF4D62.js} +331 -20
- package/dist/{chunk-4XPAQXJF.js → chunk-H6Y5D6J7.js} +6 -6
- package/dist/{chunk-IGIGNYZK.js → chunk-HPOW2VCB.js} +4 -4
- package/dist/{chunk-3DSC2FN3.js → chunk-JKXTG3BV.js} +2 -2
- package/dist/{chunk-ZUOPFE22.js → chunk-JUXATN46.js} +1 -1
- package/dist/{chunk-FKNOPMUD.js → chunk-KQON2T4A.js} +4 -4
- package/dist/{chunk-BCWVTWS7.js → chunk-KURUM765.js} +4 -4
- package/dist/{chunk-3PYMMGYO.js → chunk-LAS3DOTW.js} +10 -10
- package/dist/chunk-LK2S5XZH.js +99 -0
- package/dist/{chunk-5TNEVWFJ.js → chunk-LQFDTQC2.js} +2 -2
- package/dist/{chunk-7F2VPHP7.js → chunk-LSMF3EET.js} +9 -9
- package/dist/{chunk-WRW6QCI6.js → chunk-NHXJU7CM.js} +2 -2
- package/dist/{chunk-ZWBRHH3L.js → chunk-NYKZC6HU.js} +3 -3
- package/dist/{chunk-XAV6XCI2.js → chunk-OX7CHZTJ.js} +7 -7
- package/dist/{chunk-XTKH5VAC.js → chunk-QCDVKCHA.js} +2 -2
- package/dist/{chunk-U4HMGT3L.js → chunk-SOTJ2V3A.js} +5 -5
- package/dist/{chunk-CVGMB4N7.js → chunk-TI5Y242B.js} +13 -13
- package/dist/{chunk-KCB6V5XH.js → chunk-VXYPD33W.js} +5 -5
- package/dist/{chunk-HJUGOAM7.js → chunk-WXEPMPHK.js} +1 -1
- package/dist/{chunk-UAFMC3PL.js → chunk-XRQ7DABQ.js} +1 -1
- package/dist/{chunk-AKKVPUGK.js → chunk-YW4PEGLN.js} +1 -1
- package/dist/{chunk-QDDPVBIS.js → chunk-ZAJKEHIE.js} +2 -2
- package/dist/{chunk-2JPVI45I.js → chunk-ZZWWKBLL.js} +3 -2
- package/dist/{claude-launcher-IG7GKYIT.js → claude-launcher-RNMUZZ3Y.js} +5 -5
- package/dist/{cli-DLUADCTG.js → cli-YQ64SSV3.js} +144 -89
- package/dist/{command-JRWYFDNM.js → command-RFVCDSJV.js} +19 -18
- package/dist/{connect-cmd-K73AOVUR.js → connect-cmd-HVHPNVAJ.js} +8 -8
- package/dist/{container-start-4RJRBPVB.js → container-start-DP3N72CK.js} +20 -19
- package/dist/{context-cleanup-D5EGQHQV.js → context-cleanup-VSDT77BZ.js} +3 -3
- package/dist/{control-plane-launch-JCUNTTC3.js → control-plane-launch-DHMD5WBU.js} +6 -6
- package/dist/{dist-BE3LYGNH.js → dist-MKY2BSYN.js} +2 -2
- package/dist/{docker-CVRCHNYC.js → docker-6G6IF4YO.js} +5 -4
- package/dist/{doctor-A3A4X2HJ.js → doctor-ZE4LA7EZ.js} +21 -20
- package/dist/emit-artifact-cmd-YRRXCZAI.js +43 -0
- package/dist/{emit-cmd-PSD7AAKJ.js → emit-cmd-T7NIBSF3.js} +6 -6
- package/dist/{emit-criteria-cmd-GTCZWV4B.js → emit-criteria-cmd-PSQORVHS.js} +9 -9
- package/dist/emit-demo-cmd-RJPSISCC.js +888 -0
- package/dist/{emit-finding-cmd-OUG72OQA.js → emit-finding-cmd-6FVW3GGK.js} +10 -10
- package/dist/{emit-result-cmd-YQ5DZMMR.js → emit-result-cmd-PFQ6HSVN.js} +12 -12
- package/dist/{emit-step-cmd-QJXSHSQF.js → emit-step-cmd-U32Y4PZJ.js} +10 -10
- package/dist/{findings-cmd-DYDEHJFI.js → findings-cmd-AMYNXO3S.js} +10 -10
- package/dist/{fleet-readiness-JEQ5ITV6.js → fleet-readiness-7ROJ54ZF.js} +8 -8
- package/dist/{governing-source-JSYW4RCL.js → governing-source-DYJQCHKU.js} +13 -13
- package/dist/{hook-fast-UFHR6EKZ.js → hook-fast-WQQYEXO5.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-CSXI3OQH.js → init-CHWFDK23.js} +20 -19
- package/dist/{init-SYNDV44H.js → init-QDUIHSTK.js} +20 -19
- package/dist/{init-cmd-ALBPEG7I.js → init-cmd-STCU6RGY.js} +18 -18
- package/dist/{init-update-PMDRKPA2.js → init-update-OIFOUIAN.js} +17 -17
- package/dist/{layout-3ISIED6A.js → layout-OQ7EJUMH.js} +4 -4
- package/dist/{login-browser-NTVVDJF7.js → login-browser-KP7YVYTN.js} +2 -2
- package/dist/{loop-XDJYLT4D.js → loop-NUW7SSZY.js} +29 -28
- package/dist/{machine-GC4MZB5W.js → machine-BJ7TT3B7.js} +19 -18
- package/dist/{machine-skills-I4DB2CP3.js → machine-skills-XWWYFNOZ.js} +4 -4
- package/dist/{runner-identity-D3XUB36T.js → runner-identity-FL67WQIA.js} +5 -4
- package/dist/{runner-key-7QNJNPQ6.js → runner-key-YHAJFEGN.js} +20 -19
- package/dist/{session-sender-S6KG6VOM.js → session-sender-PHQ6PJVD.js} +13 -13
- package/dist/{spec-cmd-4RD3A55B.js → spec-cmd-SAMHN5FU.js} +10 -10
- package/dist/{starter-pack-2WFNRGFA.js → starter-pack-6O7F6P7C.js} +5 -5
- package/dist/{status-ZR2N44KU.js → status-QWLX2CCV.js} +23 -22
- package/dist/{sync-cmd-NISS7HJJ.js → sync-cmd-O6UIF4QJ.js} +12 -12
- package/dist/{watch-VSTJUIRH.js → watch-5HMOSQ4Z.js} +12 -12
- package/dist/{work-claim-cmd-27OJUZ56.js → work-claim-cmd-6W7BW4O6.js} +12 -12
- package/dist/{work-cmd-B7YCAK5M.js → work-cmd-3G26E3NL.js} +10 -10
- package/dist/{work-comment-cmd-2X55NLNL.js → work-comment-cmd-S6EGHGHL.js} +10 -10
- package/dist/{work-logs-cmd-2CE5B2DP.js → work-logs-cmd-RQILRNHS.js} +10 -10
- package/dist/{work-open-pr-cmd-Q3HZJPSD.js → work-open-pr-cmd-5CDP6KOF.js} +11 -11
- package/dist/{work-pr-cmd-MT246E2A.js → work-pr-cmd-D3PJJQOX.js} +10 -10
- package/dist/{work-stop-cmd-CWNLRQKE.js → work-stop-cmd-AGZWXGRP.js} +10 -10
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +39 -0
|
@@ -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-QCDVKCHA.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-ZAJKEHIE.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-YW4PEGLN.js';
|
|
8
8
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-WXEPMPHK.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, hostCommandEnvironment, execArgv, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-
|
|
3
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, hostCommandEnvironment, execArgv, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-TI5Y242B.js';
|
|
4
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-X7UUIHGH.js';
|
|
4
5
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
5
|
-
import { fitImageBuildMemory } from './chunk-WHSYPR3U.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
7
|
+
import { fitImageBuildMemory } from './chunk-WHSYPR3U.js';
|
|
7
8
|
import { RUNNER_PROTOCOL } from './chunk-YKYCE4HY.js';
|
|
8
9
|
import { writePendingUpdate } from './chunk-TZQIEUDE.js';
|
|
9
10
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
10
|
-
import {
|
|
11
|
-
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-FKNOPMUD.js';
|
|
11
|
+
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-KQON2T4A.js';
|
|
12
12
|
import { freeBytes, formatBytes } from './chunk-YYYRBYWG.js';
|
|
13
13
|
import { writeMarker, readMarker, currentVersion, removeMarker, entryIn, versionDir, startedThroughCurrent, switchCurrent, isInLayout, cleanVersions, stagingDir } from './chunk-ZZSQYOY5.js';
|
|
14
14
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
15
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, lifecycleSteps, lifecycleFailureReason, prepareBranch, containerCommandExec, setUpRunnerCgroup, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-
|
|
16
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
15
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, lifecycleSteps, lifecycleFailureReason, prepareBranch, containerCommandExec, setUpRunnerCgroup, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-G7QBSH3X.js';
|
|
16
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-BXA6JLHQ.js';
|
|
17
17
|
import { tagToPull, pullInstruction, imageTag, writeUpdateStatus } from './chunk-IWYS4ERC.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
19
|
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-P7BEZAEU.js';
|
|
20
20
|
import { claimPidFile, writePidFile, readPidFile, releasePidFile } from './chunk-T5TBGOT6.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { writeJobFile, ensureRunnerIdentity, readJobFile, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, BUILD_LABEL, RUNNER_LABEL, readJobFileChecked } from './chunk-
|
|
22
|
+
import { writeJobFile, ensureRunnerIdentity, readJobFile, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, BUILD_LABEL, RUNNER_LABEL, readJobFileChecked } from './chunk-ZZWWKBLL.js';
|
|
23
23
|
import { exceedsDisk } from './chunk-YJLHUKYS.js';
|
|
24
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-SOTJ2V3A.js';
|
|
25
25
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-APSYTJ6I.js';
|
|
26
26
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, rootfsDir } from './chunk-KP6R7CV3.js';
|
|
27
27
|
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential } from './chunk-HDSDUTX4.js';
|
|
@@ -1751,7 +1751,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
1751
1751
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
1752
1752
|
);
|
|
1753
1753
|
async function tryClaimAndStart(state, item, queue) {
|
|
1754
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
1754
|
+
const { postJson: postJson2 } = await import('./work-cmd-3G26E3NL.js');
|
|
1755
1755
|
const log = logOf(state);
|
|
1756
1756
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
1757
1757
|
const claim = await retrySend(
|
|
@@ -2947,7 +2947,7 @@ async function start(configPath, deps = { fetchImpl: fetch }) {
|
|
|
2947
2947
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
2948
2948
|
const held = heldClaudeCredential();
|
|
2949
2949
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
2950
|
-
return (await import('./check-
|
|
2950
|
+
return (await import('./check-3TQJDGKM.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
2951
2951
|
},
|
|
2952
2952
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
2953
2953
|
log
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
|
|
4
|
+
createRequire(import.meta.url);
|
|
5
|
+
|
|
6
|
+
// src/runner/image/pins.ts
|
|
7
|
+
var CLAUDE_CODE_VERSION = "2.1.284";
|
|
8
|
+
var DEFAULT_BASE_IMAGE = "ubuntu:24.04@sha256:008173c23f95b170204355c12626cb5a965d779a7e1283b09e9cffbb1bf33ca3";
|
|
9
|
+
var NODE_IMAGE = "node:22-bookworm-slim@sha256:43ac6c60b8f89723f746e8a92ce91abd5017e627ce1ddfe4238355d3a30b772c";
|
|
10
|
+
var BUILDKIT_IMAGE = "moby/buildkit:v0.33.1@sha256:cec9f139f45e93c5c69c60f8b07cfad9f43f4ef6b6a6cd917527fea5ff2e3dea";
|
|
11
|
+
var GH_VERSION = "2.101.0";
|
|
12
|
+
var GH_SHA256 = {
|
|
13
|
+
amd64: "9bca2d1c16825f109907a23307628a2f0698fbf99662b73a5cf0b020293072b8",
|
|
14
|
+
arm64: "b57e8063f18862647c9d22727c32e9da1b963f8bf9db648fe123a6975695640f"
|
|
15
|
+
};
|
|
16
|
+
var TINI_VERSION = "0.19.0";
|
|
17
|
+
var TINI_SHA256 = {
|
|
18
|
+
amd64: "c5b0666b4cb676901f90dfcb37106783c5fe2077b04590973b885950611b30ee",
|
|
19
|
+
arm64: "eae1d3aa50c48fb23b8cbdf4e369d0910dfc538566bfd09df89a774aa84a48b9"
|
|
20
|
+
};
|
|
21
|
+
var MICROVM_ARCHES = ["x86_64"];
|
|
22
|
+
function firecrackerArch(nodeArch) {
|
|
23
|
+
return nodeArch === "x64" ? "x86_64" : nodeArch === "arm64" ? "aarch64" : nodeArch;
|
|
24
|
+
}
|
|
25
|
+
var FIRECRACKER_VERSION = "1.17.0";
|
|
26
|
+
var FIRECRACKER_SHA256 = {
|
|
27
|
+
x86_64: "06094a1108ae9e82aa4c23a775aa92758f53f1175d422270d9d6162cb9ade558"
|
|
28
|
+
};
|
|
29
|
+
var FIRECRACKER_BINARY_SHA256 = {
|
|
30
|
+
x86_64: "99ad0f5cd0514a88aad0e9ae8cfdb3cc3b4ab9d190e1194602406c786b5de7a5"
|
|
31
|
+
};
|
|
32
|
+
var GUEST_ASSETS_VERSION = "7";
|
|
33
|
+
var GUEST_ASSETS_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${GUEST_ASSETS_VERSION}`;
|
|
34
|
+
var GUEST_KERNEL_SHA256 = {
|
|
35
|
+
x86_64: "8552fad4bdea1d49f3e7d2aa500ce3f8918fcd2fc66779fd83235949688a39bb"
|
|
36
|
+
};
|
|
37
|
+
var GUEST_HELPER_SHA256 = {
|
|
38
|
+
x86_64: "0ae934d3ad3f2a94abffcc3f044ba633b1a523dc17ff0c2bc322ed7d7fc505ea"
|
|
39
|
+
};
|
|
40
|
+
function guestAssetsPinned(arch) {
|
|
41
|
+
const zero = "0".repeat(64);
|
|
42
|
+
return GUEST_KERNEL_SHA256[arch] !== zero && GUEST_HELPER_SHA256[arch] !== zero;
|
|
43
|
+
}
|
|
44
|
+
var JAILER_BINARY_SHA256 = {
|
|
45
|
+
x86_64: "65ef226e96f0ceda55ba643f445801ef2cc0ea667ef67cad8ac4f406c9c8434f"
|
|
46
|
+
};
|
|
47
|
+
var HOST_HELPER_ASSETS_VERSION = "10";
|
|
48
|
+
var HOST_HELPER_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${HOST_HELPER_ASSETS_VERSION}`;
|
|
49
|
+
var HOST_HELPER_SHA256 = {
|
|
50
|
+
x86_64: "caa06b7206cceae6d8fc569781b269817ca66cb2ccfe177740fda042ed46bfcc"
|
|
51
|
+
};
|
|
52
|
+
function hostHelperPinned(arch = "x86_64", hashes = HOST_HELPER_SHA256) {
|
|
53
|
+
return hashes[arch] !== "0".repeat(64);
|
|
54
|
+
}
|
|
55
|
+
var VOICE_PACK_VERSION = "kokoro-82m-v1.0-ort-1.21.0";
|
|
56
|
+
var KOKORO_REVISION = "1939ad2a8e416c0acfeecc08a694d14ef25f2231";
|
|
57
|
+
var KOKORO_BASE_URL = `https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX/resolve/${KOKORO_REVISION}`;
|
|
58
|
+
var ONNX_RUNTIME_VERSION = "1.21.0";
|
|
59
|
+
var VOICE_PACK_FILES = [
|
|
60
|
+
{
|
|
61
|
+
name: "model.onnx",
|
|
62
|
+
url: `${KOKORO_BASE_URL}/onnx/model.onnx`,
|
|
63
|
+
sha256: "8fbea51ea711f2af382e88c833d9e288c6dc82ce5e98421ea61c058ce21a34cb"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "af_heart.bin",
|
|
67
|
+
url: `${KOKORO_BASE_URL}/voices/af_heart.bin`,
|
|
68
|
+
sha256: "d583ccff3cdca2f7fae535cb998ac07e9fcb90f09737b9a41fa2734ec44a8f0b"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: "tokenizer.json",
|
|
72
|
+
url: `${KOKORO_BASE_URL}/tokenizer.json`,
|
|
73
|
+
sha256: "77a02c8e164413299b4b4c403b14f8e0e1c1b727db4d46a09d6327b861060a34"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: `onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
77
|
+
url: `https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
78
|
+
sha256: "c711a4048a8b460a70de25a5008b1628e3773878ef9deec1dd4a4ccab46de01a"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: `onnxruntime-common-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
82
|
+
url: `https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
83
|
+
sha256: "9c6126102b312514e64703c0922772974ee5c83e89eb345161226bcfeb67a22c"
|
|
84
|
+
}
|
|
85
|
+
];
|
|
86
|
+
var FFMPEG_BUILD_TAG = "autobuild-2026-09-30-13-08";
|
|
87
|
+
var FFMPEG_STATIC = {
|
|
88
|
+
amd64: {
|
|
89
|
+
file: "ffmpeg-n8.1.3-9-g29e619e767-linux64-lgpl-8.1.tar.xz",
|
|
90
|
+
sha256: "dfa863a00ca81f1bdf58a372b18cff4820f0017e55de32778de8ecd8ed92a02e"
|
|
91
|
+
},
|
|
92
|
+
arm64: {
|
|
93
|
+
file: "ffmpeg-n8.1.3-9-g29e619e767-linuxarm64-lgpl-8.1.tar.xz",
|
|
94
|
+
sha256: "8463881ca7a25015ca6e00f5c91dd2f1637eb73d33c8230413cb74db760a86b3"
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
var MEDIA_PINS = `${VOICE_PACK_VERSION}+${FFMPEG_BUILD_TAG}`;
|
|
98
|
+
|
|
99
|
+
export { BUILDKIT_IMAGE, CLAUDE_CODE_VERSION, DEFAULT_BASE_IMAGE, FFMPEG_BUILD_TAG, FFMPEG_STATIC, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, FIRECRACKER_VERSION, GH_SHA256, GH_VERSION, GUEST_ASSETS_BASE_URL, GUEST_ASSETS_VERSION, GUEST_HELPER_SHA256, GUEST_KERNEL_SHA256, HOST_HELPER_ASSETS_VERSION, HOST_HELPER_BASE_URL, HOST_HELPER_SHA256, JAILER_BINARY_SHA256, MEDIA_PINS, MICROVM_ARCHES, NODE_IMAGE, TINI_SHA256, TINI_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, firecrackerArch, guestAssetsPinned, hostHelperPinned };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
3
|
+
import { MIN_ENGINE_MAJOR } from './chunk-G7QBSH3X.js';
|
|
4
4
|
import { runnerImageVersion } from './chunk-IWYS4ERC.js';
|
|
5
|
-
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-
|
|
5
|
+
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-LK2S5XZH.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
7
7
|
import { existsSync, accessSync, constants, statSync, readFileSync } from 'fs';
|
|
8
8
|
|
|
@@ -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-KURUM765.js';
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-H6Y5D6J7.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-SOTJ2V3A.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-HPOW2VCB.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
8
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-GKNF4D62.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-FE3RTGJN.js';
|
|
11
11
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-F3EF56LQ.js';
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-NHXJU7CM.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';
|
|
@@ -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-ZE4LA7EZ.js');
|
|
1215
1215
|
const gateway = (() => {
|
|
1216
1216
|
try {
|
|
1217
1217
|
const { url, apiKey, appId } = loadRunnerConfig(configPath);
|
|
@@ -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-VSDT77BZ.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-DHMD5WBU.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,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
|
-
import { detectActiveSession, autoConnect, transcriptPathForSession } from './chunk-
|
|
5
|
-
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-
|
|
4
|
+
import { detectActiveSession, autoConnect, transcriptPathForSession } from './chunk-JKXTG3BV.js';
|
|
5
|
+
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-GKNF4D62.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
7
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-F3EF56LQ.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-ZJSNLVCE.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
12
|
-
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-
|
|
12
|
+
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-3WW2TL7V.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
14
14
|
import { readFileSync, existsSync } from 'fs';
|
|
15
15
|
import { join, dirname, basename } from 'path';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-GI6LOIHS.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-KT4CN6OU.js';
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
6
|
-
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
5
|
+
import { installStarterPack } from './chunk-QCDVKCHA.js';
|
|
6
|
+
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-ZAJKEHIE.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
-
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-
|
|
8
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-D73OLAYE.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-YW4PEGLN.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-WXEPMPHK.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-JUXATN46.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -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-YW4PEGLN.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-WXEPMPHK.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 { detectActiveSession, autoConnect } from './chunk-
|
|
4
|
-
import { workPageUrl } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { detectActiveSession, autoConnect } from './chunk-JKXTG3BV.js';
|
|
4
|
+
import { workPageUrl } from './chunk-HPOW2VCB.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
6
|
+
import { resolveRepoIdentity } from './chunk-GKNF4D62.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
8
|
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-F3EF56LQ.js';
|
|
9
9
|
import { signRunnerRequest } from './chunk-APSYTJ6I.js';
|
|
@@ -441,7 +441,7 @@ async function runWorkLinkSession(opts) {
|
|
|
441
441
|
return await linkSession(opts);
|
|
442
442
|
} catch (err) {
|
|
443
443
|
if (opts.logFailures) {
|
|
444
|
-
const { logHookError } = await import('./hook-fast-
|
|
444
|
+
const { logHookError } = await import('./hook-fast-WQQYEXO5.js');
|
|
445
445
|
const reason = err instanceof Error ? err.message : String(err);
|
|
446
446
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
447
447
|
}
|
|
@@ -3,31 +3,31 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
4
4
|
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-RJYKTWUP.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
|
-
import { senderPidfile } from './chunk-
|
|
7
|
-
import { installScrubContext } from './chunk-
|
|
6
|
+
import { senderPidfile } from './chunk-AR6UB2BP.js';
|
|
7
|
+
import { installScrubContext } from './chunk-VXYPD33W.js';
|
|
8
8
|
import { writeDockerClientConfig } from './chunk-XTNMIV77.js';
|
|
9
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, helperFirecrackerNote, HelperRefusal, isLiteralAddress, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, copyJudgeTree } from './chunk-
|
|
9
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, helperFirecrackerNote, HelperRefusal, isLiteralAddress, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, copyJudgeTree } from './chunk-G7QBSH3X.js';
|
|
10
10
|
import { waitForAgent, vmExecArgs } from './chunk-QQGZ5THT.js';
|
|
11
11
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-HIGJTX5U.js';
|
|
12
|
-
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-
|
|
12
|
+
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-BXA6JLHQ.js';
|
|
13
13
|
import { isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-P7BEZAEU.js';
|
|
14
|
-
import { readBranchHead, fetchCommit, diffBetween } from './chunk-
|
|
14
|
+
import { readBranchHead, fetchCommit, diffBetween } from './chunk-BSHUTMXV.js';
|
|
15
15
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
16
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-
|
|
16
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-ZZWWKBLL.js';
|
|
17
17
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
18
|
-
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-
|
|
19
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
20
|
-
import { planArtifactUpload } from './chunk-
|
|
21
|
-
import { scrubText } from './chunk-
|
|
18
|
+
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-LK2S5XZH.js';
|
|
19
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-SOTJ2V3A.js';
|
|
20
|
+
import { planArtifactUpload } from './chunk-3H7NZPYG.js';
|
|
21
|
+
import { scrubText } from './chunk-GKNF4D62.js';
|
|
22
22
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
23
23
|
import { signerFor } from './chunk-APSYTJ6I.js';
|
|
24
24
|
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath } from './chunk-KP6R7CV3.js';
|
|
25
25
|
import { JOB_MOUNT, claudeCredential, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, CLAUDE_CREDENTIAL_VARIABLES, builtInEnvironment, withHooksPath, startBuildServices, BUILT_IN_NAMES, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, currentClaudeCredential, removedClaudeCredentialValues, checkEnvironment, EVAL_INPUT_DIR } from './chunk-HDSDUTX4.js';
|
|
26
|
-
import { resolvePackRoot } from './chunk-
|
|
26
|
+
import { resolvePackRoot } from './chunk-YW4PEGLN.js';
|
|
27
27
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
29
|
-
import { parsePolicy } from './chunk-
|
|
30
|
-
import { CheckItemsSchema, CHECK_ITEM_REASON_MAX_LENGTH } from './chunk-
|
|
29
|
+
import { parsePolicy } from './chunk-JUXATN46.js';
|
|
30
|
+
import { CheckItemsSchema, CHECK_ITEM_REASON_MAX_LENGTH } from './chunk-3WW2TL7V.js';
|
|
31
31
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
32
32
|
import { fdName } from './chunk-XD4ZCMA4.js';
|
|
33
33
|
import { RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON } from './chunk-MESOOLF4.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-7LP3F2QH.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
7
|
-
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
6
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-3H7NZPYG.js';
|
|
7
|
+
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-GKNF4D62.js';
|
|
8
8
|
import { C } from './chunk-ANPNT6PM.js';
|
|
9
9
|
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-F3EF56LQ.js';
|
|
10
10
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-PJDQPF5N.js';
|
|
11
11
|
import { signerFor, signRunnerRequest } from './chunk-APSYTJ6I.js';
|
|
12
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
12
|
+
import { writeSyncStatus, spoolDir } from './chunk-NHXJU7CM.js';
|
|
13
13
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-2O5KA67H.js';
|
|
15
15
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
@@ -17,7 +17,7 @@ import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
|
17
17
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-T2Q7ISPE.js';
|
|
18
18
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
19
19
|
import { removeJournalHooks } from './chunk-TUSYOL2O.js';
|
|
20
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
20
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-3WW2TL7V.js';
|
|
21
21
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
22
22
|
import { dirname, basename, join, sep } from 'path';
|
|
23
23
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-TUSYOL2O.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-JUXATN46.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -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-YW4PEGLN.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';
|
|
@@ -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-JUXATN46.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-
|
|
4
|
-
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-
|
|
3
|
+
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-YW4PEGLN.js';
|
|
4
|
+
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-JUXATN46.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
4
|
-
import { RecipeError
|
|
5
|
-
import {
|
|
4
|
+
import { RecipeError } from './chunk-3Z3MPR55.js';
|
|
5
|
+
import { BUILDKIT_IMAGE } from './chunk-LK2S5XZH.js';
|
|
6
|
+
import { compareVersions } from './chunk-GKNF4D62.js';
|
|
6
7
|
import { ensureHostKey } from './chunk-APSYTJ6I.js';
|
|
7
8
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-KP6R7CV3.js';
|
|
8
9
|
import { CLAUDE_PORT, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-HDSDUTX4.js';
|
|
@@ -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-XRQ7DABQ.js';
|
|
8
|
+
import './chunk-YW4PEGLN.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-JUXATN46.js';
|
|
12
|
+
import './chunk-3WW2TL7V.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-DHMD5WBU.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);
|