@outerlayer/cli 0.35.0-next.20261030155846 → 0.36.0-next.20261030181337
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 +16 -0
- package/README.md +10 -1
- package/dist/{agent-setup-346QMQY6.js → agent-setup-RZE6O737.js} +10 -10
- package/dist/{artifact-link-cmd-H3KVDGP3.js → artifact-link-cmd-DLKYKNWF.js} +2 -2
- package/dist/{build-HHBTSTE4.js → build-GVNOXEDV.js} +4 -4
- package/dist/{build-disk-R6OH6JL5.js → build-disk-H5VDB4G2.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-DL6NSVAU.js → builder-QW6N3XBA.js} +3 -3
- package/dist/{caller-Q44OIVRR.js → caller-TUO3VAKG.js} +6 -6
- package/dist/{check-W4LSRCMV.js → check-BG6MXUPH.js} +36 -36
- package/dist/{chunk-RS2RFWIK.js → chunk-3LCXSD26.js} +1 -1
- package/dist/{chunk-FW3ZQKPY.js → chunk-3XIAGOPV.js} +4 -4
- package/dist/{chunk-VQCUADLI.js → chunk-4A7GNO4U.js} +1 -1
- package/dist/{chunk-YC5KTX7D.js → chunk-5TJQBHKO.js} +4 -4
- package/dist/{chunk-GGI3J7WS.js → chunk-5YH25STT.js} +17 -17
- package/dist/{chunk-WYJUQGCB.js → chunk-6KLNELLP.js} +3 -3
- package/dist/{chunk-K3Z4Y6VU.js → chunk-7ABJKQAQ.js} +2 -2
- package/dist/{chunk-MGF4254K.js → chunk-7GX4X25F.js} +1 -1
- package/dist/{chunk-DH6BDQM4.js → chunk-7K7TGHDF.js} +1 -1
- package/dist/{chunk-USR45QSV.js → chunk-A2QQGMQ7.js} +6 -6
- package/dist/{chunk-2PMJ7TQR.js → chunk-AILO7SNG.js} +1 -1
- package/dist/{chunk-SUVWQPOG.js → chunk-BBUIVGIR.js} +3 -3
- package/dist/{chunk-SUVS7A7X.js → chunk-BIAXDR3K.js} +4 -4
- package/dist/{chunk-ODX2XCL3.js → chunk-BR2WJ6BX.js} +2 -2
- package/dist/{chunk-AWNONB6E.js → chunk-D3H37WUD.js} +2 -2
- package/dist/{chunk-6YK3SXCW.js → chunk-D4BIUQPA.js} +1 -1
- package/dist/{chunk-AZJCSBRV.js → chunk-DQSCVQIO.js} +121 -18
- package/dist/{chunk-BNFFQC3M.js → chunk-DU6UKYXJ.js} +4 -4
- package/dist/{chunk-AW4MYEIW.js → chunk-EA57H6AT.js} +1 -1
- package/dist/{chunk-HTQBIXE7.js → chunk-FCJWPFDS.js} +4 -4
- package/dist/{chunk-WYGAQVBU.js → chunk-GGNG6CVE.js} +3 -3
- package/dist/{chunk-RKDOKIIK.js → chunk-HSSECQOA.js} +7 -2
- package/dist/{chunk-LXAYOMSX.js → chunk-HXOMZZC3.js} +8 -8
- package/dist/{chunk-7KAWBQ7V.js → chunk-IZVBCDSH.js} +16 -4
- package/dist/{chunk-P4PVRDVY.js → chunk-JII4O3EZ.js} +3 -3
- package/dist/{chunk-OS73XDJ7.js → chunk-KSMN2FUF.js} +2 -2
- package/dist/{chunk-SEY2HTZO.js → chunk-LOI3ESFV.js} +6 -6
- package/dist/{chunk-MCMDEEXB.js → chunk-MJEUD4PD.js} +4 -4
- package/dist/{chunk-3L7OHRDV.js → chunk-O3OREOCP.js} +132 -3
- package/dist/{chunk-VRNAM7WM.js → chunk-O6V6T6HD.js} +12 -12
- package/dist/{chunk-K5EOLRGJ.js → chunk-OFOEDDN6.js} +2 -2
- package/dist/{chunk-GWXHRG2N.js → chunk-OJ2KWQPQ.js} +1 -1
- package/dist/{chunk-4PW2DKHE.js → chunk-OSQEG4HG.js} +15 -14
- package/dist/{chunk-VQCAJUDV.js → chunk-OUMMLC45.js} +2 -2
- package/dist/{chunk-DOYLWBJJ.js → chunk-QH6RZLDV.js} +1 -1
- package/dist/{chunk-G2HRULTO.js → chunk-QLWEXEEA.js} +1 -1
- package/dist/{chunk-N2XW4NYY.js → chunk-QZSA5R3L.js} +3 -1
- package/dist/{chunk-P24VR4H3.js → chunk-RUML4JVG.js} +1 -1
- package/dist/{chunk-EK2FNOCD.js → chunk-TGVIFTKI.js} +1 -1
- package/dist/{chunk-FKLGX72N.js → chunk-UCRCIRQQ.js} +5 -5
- package/dist/{chunk-Q7ZHL6FY.js → chunk-UHD5ZR46.js} +4 -4
- package/dist/{chunk-UVQ5C3UP.js → chunk-VOURWC2H.js} +1 -1
- package/dist/{chunk-TMFKZBOW.js → chunk-WNM5GXJ3.js} +2 -2
- package/dist/{chunk-ABGJ67PH.js → chunk-WXR6AVZ7.js} +5 -5
- package/dist/{chunk-CPIYKBQ2.js → chunk-XHDJ75TC.js} +5 -5
- package/dist/{chunk-XSX42Q2H.js → chunk-YQDXFFOK.js} +1 -1
- package/dist/{chunk-7TTYUY2V.js → chunk-YTNZ237E.js} +7 -7
- package/dist/{chunk-P5CXB7ZT.js → chunk-YZXI37NW.js} +2 -2
- package/dist/{chunk-RLFVKOEI.js → chunk-Z25Y26JP.js} +2 -2
- package/dist/{claude-launcher-HREPADCN.js → claude-launcher-FK5ZQWXC.js} +5 -5
- package/dist/{cli-KQUVZRRG.js → cli-J2G5CEGC.js} +125 -111
- package/dist/{command-OHJUJ2WX.js → command-AYXNOGIU.js} +22 -22
- package/dist/{config-EYFLM4WT.js → config-NVGVPL3L.js} +5 -5
- package/dist/{connect-cmd-REJ5FEC6.js → connect-cmd-KO2TIY6J.js} +8 -8
- package/dist/{container-start-KG3ZLJWU.js → container-start-S6XLY7QF.js} +32 -32
- package/dist/{context-cleanup-KIWINRKM.js → context-cleanup-2MTGLUYS.js} +3 -3
- package/dist/{context-show-cmd-XT3QP5OR.js → context-show-cmd-XLER7QAI.js} +9 -9
- package/dist/{control-plane-launch-PCGH76P5.js → control-plane-launch-RUJOCYEI.js} +6 -6
- package/dist/{demo-voice-cmd-2QE7SQRC.js → demo-voice-cmd-GLN5QZJP.js} +14 -14
- package/dist/{dist-BARPQSHD.js → dist-4Q4Y6YJL.js} +2 -2
- package/dist/{docker-3UKTW4GR.js → docker-3AZ3ZFLA.js} +3 -3
- package/dist/{doctor-5HY3JA5Y.js → doctor-TLIRZM2C.js} +23 -23
- package/dist/{emit-artifact-cmd-26PJDTFU.js → emit-artifact-cmd-CNC5CPKI.js} +13 -13
- package/dist/{emit-cmd-ZHYBT2F6.js → emit-cmd-6NZOT5DS.js} +6 -6
- package/dist/{emit-criteria-cmd-6YTFXO3L.js → emit-criteria-cmd-BNXWF46E.js} +10 -10
- package/dist/{emit-demo-cmd-OQ7UDDRG.js → emit-demo-cmd-UXTH6XBO.js} +14 -14
- package/dist/{emit-finding-cmd-NO3FSRHT.js → emit-finding-cmd-5HZE7W6C.js} +10 -10
- package/dist/{emit-result-cmd-7MSUTXG6.js → emit-result-cmd-KAEWXQIH.js} +12 -12
- package/dist/{emit-step-cmd-7PFO7XVA.js → emit-step-cmd-HSKB3SNR.js} +10 -10
- package/dist/{find-unit-3MED6CPQ.js → find-unit-CNYGB5AN.js} +7 -7
- package/dist/{findings-cmd-SWAPQUFT.js → findings-cmd-2OQMIVHA.js} +10 -10
- package/dist/{fleet-readiness-5RMWZH4V.js → fleet-readiness-PCQSCHQ5.js} +8 -8
- package/dist/{governing-source-INXQEK24.js → governing-source-7XCL3AYM.js} +13 -13
- package/dist/{hook-fast-2KVZZRJN.js → hook-fast-EMZVAUJ5.js} +1 -1
- package/dist/{host-checks-RCWXCCW2.js → host-checks-GYAJF5C5.js} +30 -30
- package/dist/index.js +4 -4
- package/dist/{init-52F2M54W.js → init-HEZDVJPU.js} +21 -21
- package/dist/{init-U5XUDKE7.js → init-OOYCYL2C.js} +21 -21
- package/dist/{init-cmd-WYLANAD5.js → init-cmd-4PVOILZD.js} +18 -18
- package/dist/{init-update-Z2T5J3Z2.js → init-update-QMSQEZQU.js} +17 -17
- package/dist/{layout-2YSKJHPC.js → layout-YJ2RD5H2.js} +4 -4
- package/dist/{login-browser-S6PLZCKK.js → login-browser-TWUHD2DS.js} +2 -2
- package/dist/{loop-WJBFH6XU.js → loop-4LW6GUXH.js} +35 -35
- package/dist/{machine-KUUTBDAT.js → machine-23Y2EHH7.js} +21 -21
- package/dist/{machine-skills-YXN3TMJ5.js → machine-skills-FWIZV5HO.js} +4 -4
- package/dist/{runner-env-2NVOHTRC.js → runner-env-IDGTVTYW.js} +7 -7
- package/dist/{runner-identity-T6YPTHOH.js → runner-identity-RJYVFQ5K.js} +3 -3
- package/dist/{runner-key-WPQGF2L7.js → runner-key-BKMFJ7RA.js} +21 -21
- package/dist/{session-sender-ADHV7WZ6.js → session-sender-QDZWNAY7.js} +13 -13
- package/dist/{spec-cmd-OUEKA6X3.js → spec-cmd-OYQEUAMI.js} +11 -11
- package/dist/{starter-pack-3ERHTBBJ.js → starter-pack-6FOYP6DY.js} +5 -5
- package/dist/{status-2JRATV66.js → status-WSQEUBOE.js} +30 -30
- package/dist/{sync-cmd-IEPWMYWY.js → sync-cmd-MNXFOIHW.js} +12 -12
- package/dist/{update-steps-3SRL32IV.js → update-steps-RHCWDCGL.js} +31 -31
- package/dist/{watch-3K3IB443.js → watch-E7RGSZF6.js} +12 -12
- package/dist/{work-claim-cmd-5ACB2ZWP.js → work-claim-cmd-HX7DGFY3.js} +16 -16
- package/dist/{work-cmd-B6HZW26B.js → work-cmd-IEC6XKC6.js} +10 -10
- package/dist/work-comment-cmd-X65LS27O.js +36 -0
- package/dist/{work-demo-cmd-RLOS55MP.js → work-demo-cmd-D7WGXJOC.js} +10 -10
- package/dist/{work-logs-cmd-VUICWCEO.js → work-logs-cmd-FQH2UVMI.js} +10 -10
- package/dist/{work-open-pr-cmd-CYXICEJE.js → work-open-pr-cmd-EFAFERSF.js} +11 -11
- package/dist/{work-pr-cmd-3HSFJO65.js → work-pr-cmd-E55GPZKO.js} +10 -10
- package/dist/{work-proofs-cmd-NJ4YYQ2V.js → work-proofs-cmd-RKUGC2ML.js} +12 -12
- package/dist/{work-proofs-record-NN7XB2QC.js → work-proofs-record-VGCV4TWY.js} +18 -18
- package/dist/{work-stop-cmd-QXZSZLEY.js → work-stop-cmd-ANPTSTYS.js} +10 -10
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +5 -4
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +14 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +4 -0
- package/dist/work-comment-cmd-MBGBBR7V.js +0 -32
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-UHD5ZR46.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-UCRCIRQQ.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-FCJWPFDS.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
8
|
-
import { sanitizeTerminal } from './chunk-
|
|
9
|
-
import { checkFormerSkillNames } from './chunk-
|
|
7
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-A2QQGMQ7.js';
|
|
8
|
+
import { sanitizeTerminal } from './chunk-YQDXFFOK.js';
|
|
9
|
+
import { checkFormerSkillNames } from './chunk-D3H37WUD.js';
|
|
10
10
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
11
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-O3OREOCP.js';
|
|
12
12
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-YBAVN6WS.js';
|
|
13
13
|
import { hookCommandEscapesControlPlane, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-
|
|
15
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-7K7TGHDF.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
17
|
import { readSettings, settingsPath, isOurStatuslineSlot, statuslineWrappedOriginal, REGISTERED_EVENTS, isOurHookCommand, ourCommandBins, cliBinResolvable, ourDirectScriptBins, wrappedOriginalCommand } from './chunk-KYDEBGJG.js';
|
|
18
18
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
@@ -1195,8 +1195,8 @@ function doctorExitCode(checks) {
|
|
|
1195
1195
|
|
|
1196
1196
|
// src/doctor-report.ts
|
|
1197
1197
|
async function gatherDoctorChecks() {
|
|
1198
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1199
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1198
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-H5VDB4G2.js');
|
|
1199
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-NVGVPL3L.js');
|
|
1200
1200
|
const configPath = defaultRunnerConfigPath();
|
|
1201
1201
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1202
1202
|
const hooks = (() => {
|
|
@@ -1224,7 +1224,7 @@ async function gatherDoctorChecks() {
|
|
|
1224
1224
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1225
1225
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1226
1226
|
} else if (hasRunnerBlock(configPath)) {
|
|
1227
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1227
|
+
const { runnerHostChecks } = await import('./doctor-TLIRZM2C.js');
|
|
1228
1228
|
const gateway = (() => {
|
|
1229
1229
|
try {
|
|
1230
1230
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1252,7 +1252,7 @@ async function gatherDoctorChecks() {
|
|
|
1252
1252
|
const service = await (async () => {
|
|
1253
1253
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1254
1254
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1255
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1255
|
+
const { inspectRunnerService } = await import('./find-unit-CNYGB5AN.js');
|
|
1256
1256
|
return inspectRunnerService(configPath);
|
|
1257
1257
|
})();
|
|
1258
1258
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-OSQEG4HG.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-BR2WJ6BX.js';
|
|
5
5
|
import { runnerDir } from './chunk-WT7J2627.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -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-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-AILO7SNG.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,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
4
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
4
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-QLWEXEEA.js';
|
|
5
5
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
6
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
6
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-4A7GNO4U.js';
|
|
7
7
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-H3MLZ4EA.js';
|
|
8
8
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
9
9
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
10
10
|
import { runExec, execCapture, waitForAgent } from './chunk-4PH4DVV4.js';
|
|
11
11
|
import { GUEST_CID, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
12
|
-
import { describeCallFailure, shortClaim, retrySend, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
12
|
+
import { describeCallFailure, shortClaim, retrySend, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-KSMN2FUF.js';
|
|
13
13
|
import { runnerImageVersion } from './chunk-ALEUIS35.js';
|
|
14
|
-
import { claimCalls } from './chunk-
|
|
15
|
-
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-
|
|
16
|
-
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-
|
|
17
|
-
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
14
|
+
import { claimCalls } from './chunk-RUML4JVG.js';
|
|
15
|
+
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-HSSECQOA.js';
|
|
16
|
+
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-TGVIFTKI.js';
|
|
17
|
+
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-QH6RZLDV.js';
|
|
18
18
|
import { RecipeError, DOCKER_FEATURE, universalImagePending, writeSanitizedRecipe, classifyProperties } from './chunk-TV5ITSVY.js';
|
|
19
19
|
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, CLAUDE_CODE_VERSION, builderDiskPinned, guestAssetsPinned, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE } from './chunk-7SO2VHTQ.js';
|
|
20
|
-
import { postJson, WorkCommandError, getJson } from './chunk-
|
|
21
|
-
import { sanitizeTerminal } from './chunk-
|
|
20
|
+
import { postJson, WorkCommandError, getJson } from './chunk-UCRCIRQQ.js';
|
|
21
|
+
import { sanitizeTerminal } from './chunk-YQDXFFOK.js';
|
|
22
22
|
import { signerFor } from './chunk-4DJZSNVT.js';
|
|
23
23
|
import { sharedSkillNames, skillConflictMessage } from './chunk-FGF52V4V.js';
|
|
24
24
|
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
25
|
-
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, parseTranscript, scrubDeep, scrubText } from './chunk-
|
|
26
|
-
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-
|
|
27
|
-
import { downconvertSession } from './chunk-
|
|
25
|
+
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, parseTranscript, scrubDeep, scrubText } from './chunk-7K7TGHDF.js';
|
|
26
|
+
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-AILO7SNG.js';
|
|
27
|
+
import { downconvertSession } from './chunk-QZSA5R3L.js';
|
|
28
28
|
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, buildsDir, buildDir, runnerDir, deliveryDir, ghConfigDir, orgStoreIn, runnerDirOfBuild, spoolDir, mirrorDir, SHIM_DIR, vsockPath, builderCacheDiskPath, builderConsolePath } from './chunk-WT7J2627.js';
|
|
29
29
|
import { CHECKOUT_DIR, claudeCredential, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, CLAUDE_CREDENTIAL_VARIABLES, builtInEnvironment, withHooksPath, startBuildServices, BUILT_IN_NAMES, checkoutPath, repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, buildEnvironment, checkEnvironment, withMiseVariables, isMiseVariableAllowed, JOB_MOUNT, realFdStorePort, AGENT_CREDENTIAL_MISSING } from './chunk-GANAOCHR.js';
|
|
30
30
|
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';
|
|
@@ -4621,7 +4621,8 @@ var STEPS = {
|
|
|
4621
4621
|
gh: "the build's gh configuration",
|
|
4622
4622
|
"git-hooks": "the commit hooks",
|
|
4623
4623
|
context: "the staged context",
|
|
4624
|
-
"eval-input": "the checks' input"
|
|
4624
|
+
"eval-input": "the checks' input",
|
|
4625
|
+
inbox: "the comments for the agent"
|
|
4625
4626
|
};
|
|
4626
4627
|
function field(header, at, length, text) {
|
|
4627
4628
|
header.write(text, at, length, "latin1");
|
|
@@ -6535,4 +6536,4 @@ function describeMachineDocker(machine) {
|
|
|
6535
6536
|
return `Docker Engine ${version ?? "of no known version"}, older than the ${MIN_ENGINE_MAJOR} that container builds need`;
|
|
6536
6537
|
}
|
|
6537
6538
|
|
|
6538
|
-
export { ADDED_USER, ADOPTED_FETCH_RETRY_WINDOW_MS, AgentUserError, AssetError, DeliveryFailure, EVAL_INPUT_NAME, GH_CONFIG_YML, HELPER_ENV, LEASE_SECONDS, MANAGED_UNJAILED_REASON, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, PROOFS_LOG, RECORD_PROOFS_ARGV, ROOT_DISK_ID_PREFIX, RunnerInitError, agentUidOf, attemptNote, claimPermissionProblem, claudeCredentialCheck, cleanupContainer, clockOf, closeHostBuild, containerCommandExec, containerJudgeEnvironment, containerSenderCommand, copyJudgeTree, copyOutSession, copyTranscripts, copyTranscriptsFromContainer, createBuildDisk, createContainerRuntime, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deleteBuildDisk, deleteRecord, deliverContainerHooks, deliverExecMaven, describeMachineDocker, detectMachine, discardUnusableState, dropManagedBuildSettings, dropManagedClaudeKey, ensureContainerRunning, ensureFirecrackerAndJailer, ensureNetworkReady, ensureRootfs, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, firstLine4 as firstLine, formerSkillProblem, formerSkillQueues, ghHostsYml, gitRemoteFor, hasClaudeCredential, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hostCommandEnvironment, hostEnvironment, isPlaceholderCommand, itemScope, itemTag, keepGhConfigCurrent, keepMissingSetupScripts, keepRuntimeStep, keepSession, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listenOnBroker, machineConfig, makeBuildsDirPrivate, managedBuildSettingValues, managedBuildSettingValuesFor, managedBuildSettingsFor, managedClaudeKeyFor, managedClaudeKeyValues, managedClaudeKeyValuesFor, managedMachineLimits, measureDisk, microVmArchSupported, microVmAssetsPinned, missingPermissionFix, missingPermissionOf, needsBuildSkill, needsClaudeCredential, obtainImage, outOfMemoryReason, packKeptSession, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, planSavedState, prepareBranch, prepareResume, prepareRunnerInit, probeHelper, provisionContainer, provisionEnvironment, provisionRuntimes, provisionWithFreshFallback, ranRuntimeStep, reachDockerStep, readConfigObject, readRecords, readResumeRecords, recordProofsInContainer, removeOldestUntil, removeSavedState, resolveAgentUser, resolveHostBuild, restoreSession, restoreSessionIntoContainer, runBuildSteps, runRunnerInit, runSetupScripts, runWithSpawn, runtimeStepInput, said, saveAndPrune, savedStateBase, savedStatesDir, selectExpired, selectStaleIncomplete, selectToFit, senderAliveScript, senderSignalScript, sessionGuestOfContainer, setUpRunnerCgroup, settleFailedSteps, setupInputFor, shellQuote, signalInContainer, startCheckContainer, startHostServices, startJailedInto, startServicesFor, stopContainer, stopJailed, stoppedHelperReason, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, syncInContainer, taggedLog, uidFromProbe, usableCpus, userIdChangedReason, withFactoryHosts, withTunnelLog, writeEvalInput, writeRecord2 as writeRecord, writeRunnerInit };
|
|
6539
|
+
export { ADDED_USER, ADOPTED_FETCH_RETRY_WINDOW_MS, AgentUserError, AssetError, DeliveryFailure, EVAL_INPUT_NAME, GH_CONFIG_YML, HELPER_ENV, LEASE_SECONDS, MANAGED_UNJAILED_REASON, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, PROOFS_LOG, RECORD_PROOFS_ARGV, ROOT_DISK_ID_PREFIX, RunnerInitError, agentUidOf, attemptNote, claimPermissionProblem, claudeCredentialCheck, cleanupContainer, clockOf, closeHostBuild, containerCommandExec, containerJudgeEnvironment, containerSenderCommand, copyJudgeTree, copyOutSession, copyTranscripts, copyTranscriptsFromContainer, createBuildDisk, createContainerRuntime, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deleteBuildDisk, deleteRecord, deliverContainerHooks, deliverExecMaven, deliverJobFiles, describeMachineDocker, detectMachine, discardUnusableState, dropManagedBuildSettings, dropManagedClaudeKey, ensureContainerRunning, ensureFirecrackerAndJailer, ensureNetworkReady, ensureRootfs, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, firstLine4 as firstLine, formerSkillProblem, formerSkillQueues, ghHostsYml, gitRemoteFor, hasClaudeCredential, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hostCommandEnvironment, hostEnvironment, isPlaceholderCommand, itemScope, itemTag, keepGhConfigCurrent, keepMissingSetupScripts, keepRuntimeStep, keepSession, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listenOnBroker, machineConfig, makeBuildsDirPrivate, managedBuildSettingValues, managedBuildSettingValuesFor, managedBuildSettingsFor, managedClaudeKeyFor, managedClaudeKeyValues, managedClaudeKeyValuesFor, managedMachineLimits, measureDisk, microVmArchSupported, microVmAssetsPinned, missingPermissionFix, missingPermissionOf, needsBuildSkill, needsClaudeCredential, obtainImage, outOfMemoryReason, packKeptSession, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, planSavedState, prepareBranch, prepareResume, prepareRunnerInit, probeHelper, provisionContainer, provisionEnvironment, provisionRuntimes, provisionWithFreshFallback, ranRuntimeStep, reachDockerStep, readConfigObject, readRecords, readResumeRecords, recordProofsInContainer, removeOldestUntil, removeSavedState, resolveAgentUser, resolveHostBuild, restoreSession, restoreSessionIntoContainer, runBuildSteps, runRunnerInit, runSetupScripts, runWithSpawn, runtimeStepInput, said, saveAndPrune, savedStateBase, savedStatesDir, selectExpired, selectStaleIncomplete, selectToFit, senderAliveScript, senderSignalScript, sessionGuestOfContainer, setUpRunnerCgroup, settleFailedSteps, setupInputFor, shellQuote, signalInContainer, startCheckContainer, startHostServices, startJailedInto, startServicesFor, stopContainer, stopJailed, stoppedHelperReason, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, syncInContainer, taggedLog, uidFromProbe, usableCpus, userIdChangedReason, withFactoryHosts, withTunnelLog, writeEvalInput, writeRecord2 as writeRecord, writeRunnerInit };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.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-7GX4X25F.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { linkedAgentsPath } from './chunk-
|
|
8
|
+
import { linkedAgentsPath } from './chunk-OJ2KWQPQ.js';
|
|
9
9
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-TV5ITSVY.js';
|
|
4
4
|
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-7SO2VHTQ.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-4DJZSNVT.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-7K7TGHDF.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-WT7J2627.js';
|
|
8
8
|
import { CLAUDE_PORT, BUILD_HOME, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-GANAOCHR.js';
|
|
9
9
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-BR2WJ6BX.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-WT7J2627.js';
|
|
5
5
|
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
@@ -22650,7 +22650,9 @@ var WorkItemReviewNoteSchema = external_exports.object({
|
|
|
22650
22650
|
external_exports.object({
|
|
22651
22651
|
schemaVersion: external_exports.literal(1),
|
|
22652
22652
|
clientSendId: external_exports.string().regex(REVIEW_SEND_ID_PATTERN),
|
|
22653
|
-
notes: external_exports.array(WorkItemReviewNoteSchema).min(1).max(WORK_ITEM_REVIEW_NOTES_MAX)
|
|
22653
|
+
notes: external_exports.array(WorkItemReviewNoteSchema).min(1).max(WORK_ITEM_REVIEW_NOTES_MAX),
|
|
22654
|
+
/** The reviewer's summary. It is stored in the same statement as the notes, so a running agent that gets the `fail` also gets the summary. */
|
|
22655
|
+
summary: external_exports.string().min(1).max(WORK_ITEM_COMMENT_MAX_BODY_LENGTH).optional()
|
|
22654
22656
|
});
|
|
22655
22657
|
var CLI_LOGIN_KIND = "account";
|
|
22656
22658
|
var CLI_LOGIN_MACHINE_NAME_MAX = 255;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-HSSECQOA.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-WT7J2627.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-QH6RZLDV.js';
|
|
4
4
|
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-WT7J2627.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-YZXI37NW.js';
|
|
5
|
+
import { workPageUrl } from './chunk-FCJWPFDS.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
7
|
+
import { sanitizeTerminal } from './chunk-YQDXFFOK.js';
|
|
8
8
|
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
9
9
|
import { signRunnerRequest } from './chunk-4DJZSNVT.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-7K7TGHDF.js';
|
|
12
12
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
|
|
@@ -473,7 +473,7 @@ async function runWorkLinkSession(opts) {
|
|
|
473
473
|
return await linkSession(opts);
|
|
474
474
|
} catch (err) {
|
|
475
475
|
if (opts.logFailures) {
|
|
476
|
-
const { logHookError } = await import('./hook-fast-
|
|
476
|
+
const { logHookError } = await import('./hook-fast-EMZVAUJ5.js');
|
|
477
477
|
const reason = err instanceof Error ? err.message : String(err);
|
|
478
478
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
479
479
|
}
|
|
@@ -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-OHQMGLJP.js';
|
|
4
|
-
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-OUMMLC45.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-WNM5GXJ3.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
7
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-7GX4X25F.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-OJ2KWQPQ.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-BR2WJ6BX.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { 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-7GX4X25F.js';
|
|
4
|
+
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-AILO7SNG.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,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-MJEUD4PD.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
7
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-YQDXFFOK.js';
|
|
8
8
|
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YQHEJ5SV.js';
|
|
9
9
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
10
10
|
import { signerFor, signRunnerRequest } from './chunk-4DJZSNVT.js';
|
|
11
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
11
|
+
import { writeSyncStatus, spoolDir } from './chunk-O3OREOCP.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { hookExecSpoolPath } from './chunk-FUJUFLDC.js';
|
|
14
14
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
15
15
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
16
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-7K7TGHDF.js';
|
|
17
17
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-5WYT3PPE.js';
|
|
18
18
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
19
19
|
import { removeJournalHooks } from './chunk-CJPTUU2E.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-QZSA5R3L.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
22
|
import { SCRUB_ENV_VARIABLE } from './chunk-GANAOCHR.js';
|
|
23
23
|
import { dirname, basename, join, sep } from 'path';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-WXR6AVZ7.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-YZXI37NW.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
8
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-YQDXFFOK.js';
|
|
9
9
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YQHEJ5SV.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-7K7TGHDF.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
13
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
13
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-QZSA5R3L.js';
|
|
14
14
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
15
15
|
import { createHash, randomUUID } from 'crypto';
|
|
16
16
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
3
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-QZSA5R3L.js';
|
|
4
4
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } 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-BIAXDR3K.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-OHQMGLJP.js';
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
5
|
+
import { installStarterPack } from './chunk-OUMMLC45.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
8
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
-
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-
|
|
7
|
+
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-WNM5GXJ3.js';
|
|
8
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-GGNG6CVE.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-7GX4X25F.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-OJ2KWQPQ.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-AILO7SNG.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-FCJWPFDS.js';
|
|
4
4
|
import { resolveGatewayCredentials } from './chunk-YQHEJ5SV.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-7K7TGHDF.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-5YH25STT.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-ALEUIS35.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-3AZ3ZFLA.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -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-EA57H6AT.js';
|
|
8
|
+
import './chunk-7GX4X25F.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-AILO7SNG.js';
|
|
12
|
+
import './chunk-QZSA5R3L.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import './chunk-Z5GEFMRW.js';
|
|
15
15
|
import { spawn, execFileSync, spawnSync } from 'child_process';
|
|
@@ -338,7 +338,7 @@ async function runClaudeLauncher(args, deps = {}) {
|
|
|
338
338
|
return 1;
|
|
339
339
|
}
|
|
340
340
|
} else {
|
|
341
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
341
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-RUJOCYEI.js');
|
|
342
342
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
343
343
|
if (plane.kind === "none") {
|
|
344
344
|
const own2 = ownSkillsDirFor(cwd, home, [], stderr);
|