@outerlayer/cli 0.34.0-next.20261025224117 → 0.34.0-next.20261026145838
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/dist/{build-B4OKU4MV.js → build-ZJK6CPNH.js} +3 -3
- package/dist/{build-disk-ZL46AEN3.js → build-disk-7HS4UF7O.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-XFPWE74N.js → builder-MHZKDI4H.js} +2 -2
- package/dist/{check-YOSEXQPQ.js → check-4W4QUBMP.js} +25 -21
- package/dist/{chunk-FVCHHSHB.js → chunk-35JMYSUD.js} +1 -1
- package/dist/{chunk-2D6CKNR7.js → chunk-3EHDZTRT.js} +2 -2
- package/dist/{chunk-SUOZYOWO.js → chunk-3RLKILPT.js} +1 -1
- package/dist/{chunk-NW26E4YU.js → chunk-4YFMNF5Y.js} +2 -2
- package/dist/{chunk-UN3SQTVL.js → chunk-6JZXIWX7.js} +3 -3
- package/dist/{chunk-AVPLEFQR.js → chunk-7DXVL7TN.js} +2 -2
- package/dist/{chunk-OQLF3MQQ.js → chunk-7JE2WFNK.js} +1 -1
- package/dist/{chunk-ZVGSCE2Q.js → chunk-7P3H4RY2.js} +8 -8
- package/dist/{chunk-DJO6GI7B.js → chunk-AE3OTPUU.js} +34 -18
- package/dist/{chunk-6P4YL4CO.js → chunk-CY5TCVBS.js} +3 -3
- package/dist/{chunk-INOUUSYI.js → chunk-EMH2LNIE.js} +2 -2
- package/dist/{chunk-BHSSGVOY.js → chunk-GEQT3RPN.js} +2 -2
- package/dist/{chunk-AJYZNISW.js → chunk-GSSVJNP2.js} +5 -5
- package/dist/{chunk-K2UAQWYO.js → chunk-IM6IL3F4.js} +2 -2
- package/dist/{chunk-YV7BP62T.js → chunk-KAVZAB3E.js} +8 -8
- package/dist/{chunk-XJXBQQR4.js → chunk-KRTD2F3I.js} +2 -2
- package/dist/{chunk-5AFPP3GZ.js → chunk-M3ME6TLQ.js} +1 -1
- package/dist/{chunk-RFVIQLNB.js → chunk-PP6OX4OT.js} +1 -1
- package/dist/{chunk-RLPIRL33.js → chunk-PWSUNS6Y.js} +12 -12
- package/dist/{chunk-TBKV4L2W.js → chunk-QEIA5Q35.js} +3 -3
- package/dist/{chunk-JBCOUY4M.js → chunk-SKVA4KWD.js} +2 -2
- package/dist/{chunk-KM2HLQE3.js → chunk-UONH72CJ.js} +1 -1
- package/dist/{chunk-EGVHFHY4.js → chunk-VGRCZE6U.js} +2 -2
- package/dist/{chunk-UO4FQAOX.js → chunk-VVOSUGEF.js} +1 -1
- package/dist/{chunk-QQP3S5FU.js → chunk-WHDS6MEG.js} +2 -2
- package/dist/{chunk-PFHTT4PP.js → chunk-WMNPKBX5.js} +3 -3
- package/dist/{chunk-AP2K4LPI.js → chunk-XKJOIQ2Q.js} +27 -3
- package/dist/{chunk-QANM5COC.js → chunk-XTYYF6P7.js} +2 -2
- package/dist/{chunk-6OLVVAOK.js → chunk-YZ375YBI.js} +3 -3
- package/dist/{chunk-SMWRIAGH.js → chunk-ZP7GKJSM.js} +4 -4
- package/dist/{cli-NKT5FAP3.js → cli-PFWJD5QM.js} +86 -86
- package/dist/{command-BC2NOUA5.js → command-CM22HPN5.js} +12 -12
- package/dist/{config-QASNKYM6.js → config-W2XWNR4C.js} +4 -4
- package/dist/{connect-cmd-MEDWMW3L.js → connect-cmd-TOWE4P45.js} +2 -2
- package/dist/{container-start-3GFLLV4Q.js → container-start-D2OEPMUO.js} +22 -18
- package/dist/{context-show-cmd-VSFCG663.js → context-show-cmd-5UJUWBJL.js} +3 -3
- package/dist/{dist-QGN5R4Y2.js → dist-IOPJIQWK.js} +1 -1
- package/dist/{docker-TAC6G4VU.js → docker-GA63DVME.js} +2 -2
- package/dist/{doctor-Z4OA5JJK.js → doctor-GVWQBHBC.js} +13 -13
- package/dist/{emit-artifact-cmd-L4REOPWX.js → emit-artifact-cmd-TUOLSGHB.js} +6 -6
- package/dist/{emit-criteria-cmd-QVFOQARC.js → emit-criteria-cmd-VEUMA7MZ.js} +4 -4
- package/dist/{emit-demo-cmd-L4B6OOTV.js → emit-demo-cmd-YLEZB6FG.js} +7 -7
- package/dist/{emit-finding-cmd-YXFCIWMU.js → emit-finding-cmd-BX3FWGSX.js} +4 -4
- package/dist/{emit-result-cmd-NI4LCTUM.js → emit-result-cmd-AYXGCIPR.js} +5 -5
- package/dist/{emit-step-cmd-HWAUCZZB.js → emit-step-cmd-CU6GQ3WW.js} +4 -4
- package/dist/{find-unit-4UR647S4.js → find-unit-GGBRYOSO.js} +6 -6
- package/dist/{findings-cmd-O2IBO25E.js → findings-cmd-G4V4M3PO.js} +4 -4
- package/dist/{governing-source-JCI7VDQ6.js → governing-source-JQV3ZKD7.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-3KP2CDZJ.js → init-3NT4YX2X.js} +12 -12
- package/dist/{init-43LJRRQO.js → init-FY3HP73H.js} +12 -12
- package/dist/{init-cmd-FN7CSVLZ.js → init-cmd-RXHHEAOT.js} +6 -6
- package/dist/{init-update-TTMFFNMB.js → init-update-RHS6HWLI.js} +4 -3
- package/dist/{loop-5MVKWHNV.js → loop-V3GED2WX.js} +24 -20
- package/dist/{machine-APH6CXPC.js → machine-HLZLH327.js} +12 -12
- package/dist/{runner-env-BJPUHAKZ.js → runner-env-V52JUOD5.js} +6 -6
- package/dist/{runner-identity-ZCPPC2BJ.js → runner-identity-J4NCBSBU.js} +2 -2
- package/dist/{runner-key-WY6KFIRA.js → runner-key-ZUHMQCHZ.js} +12 -12
- package/dist/{session-sender-5T7BXPKC.js → session-sender-XDKMK4SF.js} +6 -6
- package/dist/{spec-cmd-4ABYAFNZ.js → spec-cmd-XQV7EIJW.js} +5 -5
- package/dist/{status-U3Y6HJJI.js → status-ZJJEJ52D.js} +20 -16
- package/dist/{sync-cmd-34CGNA6T.js → sync-cmd-BG2M536W.js} +5 -5
- package/dist/{update-steps-ROLDDTPM.js → update-steps-I5JLERXS.js} +21 -17
- package/dist/{watch-6HU7LCUY.js → watch-7A63565I.js} +5 -5
- package/dist/{work-claim-cmd-5QKLHSCR.js → work-claim-cmd-OVPMBIRR.js} +8 -8
- package/dist/{work-cmd-3MKUIE2C.js → work-cmd-KVFRK24I.js} +4 -4
- package/dist/{work-comment-cmd-ESC3DSHI.js → work-comment-cmd-GC3WAFM7.js} +5 -5
- package/dist/{work-demo-cmd-7S23DGYO.js → work-demo-cmd-IOB5UDGQ.js} +4 -4
- package/dist/{work-logs-cmd-46UPNN7Q.js → work-logs-cmd-7II6D2JJ.js} +4 -4
- package/dist/{work-open-pr-cmd-JNGTGLIP.js → work-open-pr-cmd-FYKRKCDL.js} +5 -5
- package/dist/{work-pr-cmd-2J2LKETD.js → work-pr-cmd-KP3RI7TV.js} +4 -4
- package/dist/{work-proofs-cmd-HRWTHYSS.js → work-proofs-cmd-TVU6QFZN.js} +5 -5
- package/dist/{work-proofs-record-6OKAT3IC.js → work-proofs-record-XANZE3K4.js} +10 -10
- package/dist/{work-stop-cmd-Y22XIVQ6.js → work-stop-cmd-5V3DV3HJ.js} +4 -4
- package/package.json +2 -2
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
3
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-CY5TCVBS.js';
|
|
4
4
|
import { writePendingUpdate } from './chunk-TFPNPS4Q.js';
|
|
5
|
-
import { renderUpdateSteps } from './chunk-
|
|
6
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, 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-
|
|
5
|
+
import { renderUpdateSteps } from './chunk-KRTD2F3I.js';
|
|
6
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, 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-AE3OTPUU.js';
|
|
7
7
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
8
8
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-FDJPDZSR.js';
|
|
9
9
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
10
10
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
11
11
|
import { RUNNER_PROTOCOL } from './chunk-PAK5P2ND.js';
|
|
12
|
-
import { realBlockedProbes, checkBlockedWithSlots } from './chunk-
|
|
12
|
+
import { realBlockedProbes, checkBlockedWithSlots } from './chunk-ZP7GKJSM.js';
|
|
13
13
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-UMYYYF7B.js';
|
|
14
14
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
15
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, setUpRunnerCgroup, sweepImageBuilders, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-
|
|
16
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
15
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, setUpRunnerCgroup, sweepImageBuilders, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-7P3H4RY2.js';
|
|
16
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-PP6OX4OT.js';
|
|
17
17
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-SYVRBBLW.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
20
|
-
import { freeBytes, formatBytes, volumeBytes } from './chunk-
|
|
21
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, RUNNER_LABEL, BUILD_LABEL, readJobFileChecked } from './chunk-
|
|
19
|
+
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-3EHDZTRT.js';
|
|
20
|
+
import { freeBytes, formatBytes, volumeBytes } from './chunk-UONH72CJ.js';
|
|
21
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, RUNNER_LABEL, BUILD_LABEL, readJobFileChecked } from './chunk-M3ME6TLQ.js';
|
|
22
22
|
import { claimPidFile, writePidFile, readPidFile, releasePidFile } from './chunk-YNMVVQOQ.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-6JZXIWX7.js';
|
|
25
25
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-MOI2KDLH.js';
|
|
26
26
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
27
27
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, imagesDir, rootfsDir, builderCacheDiskPath } from './chunk-PXGU3GKY.js';
|
|
@@ -1921,7 +1921,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
1921
1921
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
1922
1922
|
);
|
|
1923
1923
|
async function tryClaimAndStart(state, item, queue) {
|
|
1924
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
1924
|
+
const { postJson: postJson2 } = await import('./work-cmd-KVFRK24I.js');
|
|
1925
1925
|
const log = logOf(state);
|
|
1926
1926
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
1927
1927
|
const claim = await retrySend(
|
|
@@ -3211,7 +3211,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3211
3211
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3212
3212
|
const held = heldClaudeCredential();
|
|
3213
3213
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3214
|
-
return (await import('./check-
|
|
3214
|
+
return (await import('./check-4W4QUBMP.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3215
3215
|
},
|
|
3216
3216
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3217
3217
|
log
|
|
@@ -1,13 +1,13 @@
|
|
|
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-XTYYF6P7.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-7DXVL7TN.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
8
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-MECW77XP.js';
|
|
9
9
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-3N77LUQI.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-GSSVJNP2.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
13
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-EOTMDIYC.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-XTYYF6P7.js';
|
|
4
4
|
import { spoolDir } from './chunk-25GRRBTH.js';
|
|
5
|
-
import { CaptureDaemon } from './chunk-
|
|
5
|
+
import { CaptureDaemon } from './chunk-GSSVJNP2.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-M3ME6TLQ.js';
|
|
4
4
|
import { buildsDir, rootfsDir, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-PXGU3GKY.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-7DXVL7TN.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
7
|
import { acquireSpoolLockAt } from './chunk-MECW77XP.js';
|
|
8
8
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-3N77LUQI.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-GSSVJNP2.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { StepNameSchema, StepBodySchema } from './chunk-EOTMDIYC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, runnerLabelValue, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
3
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, runnerLabelValue, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-M3ME6TLQ.js';
|
|
4
4
|
import { GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, CLAUDE_CODE_VERSION, NODE_IMAGE, DEFAULT_BASE_IMAGE, MEDIA_PINS, PLAYWRIGHT_VERSION } from './chunk-4UPET3R7.js';
|
|
5
5
|
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-YNMVVQOQ.js';
|
|
6
6
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-7DXVL7TN.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
7
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-3N77LUQI.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-GSSVJNP2.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { CriteriaListSchema } from './chunk-EOTMDIYC.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-QEIA5Q35.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-4UPET3R7.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
|
-
import { autoConnect } from './chunk-
|
|
8
|
+
import { autoConnect } from './chunk-7DXVL7TN.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
10
|
import { defaultFetch, resolveGatewayCredentials } from './chunk-3N77LUQI.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-GSSVJNP2.js';
|
|
12
12
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
13
13
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-EOTMDIYC.js';
|
|
14
14
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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 {
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-4P6QGMPN.js';
|
|
5
5
|
import { skillsBaseFor } from './chunk-NKOM4JKY.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolvePackRoot,
|
|
7
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-ZQSANKS4.js';
|
|
8
8
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
9
|
import { hasSymlinkComponent } from './chunk-DQ6YO7FH.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -51,6 +51,30 @@ function readShippedManifest(packRoot = resolvePackRoot()) {
|
|
|
51
51
|
return { ok: false, problem: "unreadable" };
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
function upgradedStarterText(path, content, opts = {}) {
|
|
55
|
+
const packRoot = opts.packRoot ?? resolvePackRoot();
|
|
56
|
+
const manifest = opts.manifest ?? readShippedManifest(packRoot);
|
|
57
|
+
const shipped = manifest.ok ? manifest.files.get(path) : void 0;
|
|
58
|
+
if (shipped === void 0) return void 0;
|
|
59
|
+
const validator = VALIDATOR_FILES.find(({ name }) => path === `${VALIDATORS_DIR}/${name}`);
|
|
60
|
+
let current;
|
|
61
|
+
if (path === POLICY_PATH) current = POLICY_CONTENT;
|
|
62
|
+
else if (validator === void 0) return void 0;
|
|
63
|
+
else {
|
|
64
|
+
try {
|
|
65
|
+
current = readFileSync(join(packRoot, "validators", validator.name), "utf8");
|
|
66
|
+
} catch {
|
|
67
|
+
return void 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const bases = opts.base === AGENTS_SKILLS_BASE ? [AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE] : [OUTERLAYER_SKILLS_BASE, AGENTS_SKILLS_BASE];
|
|
71
|
+
for (const base of bases) {
|
|
72
|
+
const hash = contentHash(restoreSkillPaths(content, base));
|
|
73
|
+
if (hash === contentHash(current)) return void 0;
|
|
74
|
+
if (shipped.has(hash)) return rewriteSkillPaths(current, base);
|
|
75
|
+
}
|
|
76
|
+
return void 0;
|
|
77
|
+
}
|
|
54
78
|
function mcpItemsInit() {
|
|
55
79
|
return [
|
|
56
80
|
// Through 0.12.0 `init` wrote a command that needs a global install on every teammate's machine.
|
|
@@ -189,4 +213,4 @@ function checkStarterFiles(cwd, opts = {}) {
|
|
|
189
213
|
return { checks: [{ name: NAME, status: "warn", detail: parts.join("; "), fix }], mcpOutdated };
|
|
190
214
|
}
|
|
191
215
|
|
|
192
|
-
export { canonical, checkStarterFiles, contentHash, contextIsGoverned, inspectStarterFiles, readShippedManifest };
|
|
216
|
+
export { canonical, checkStarterFiles, contentHash, contextIsGoverned, inspectStarterFiles, readShippedManifest, upgradedStarterText };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-VGRCZE6U.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
@@ -13,7 +13,7 @@ import { readLatestProvenanceForSession, readContextProvenance } from './chunk-Z
|
|
|
13
13
|
import { hookExecSpoolPath } from './chunk-2O5KA67H.js';
|
|
14
14
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
15
15
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
|
-
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
16
|
+
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-GSSVJNP2.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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-6JZXIWX7.js';
|
|
4
4
|
import { C } from './chunk-ANPNT6PM.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-MECW77XP.js';
|
|
6
6
|
import { defaultFetch } from './chunk-3N77LUQI.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-GSSVJNP2.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-EOTMDIYC.js';
|
|
@@ -130,7 +130,7 @@ async function runWorkProofs(opts) {
|
|
|
130
130
|
async function runWorkProofsCommand(opts) {
|
|
131
131
|
try {
|
|
132
132
|
if (opts.record) {
|
|
133
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
133
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-XANZE3K4.js');
|
|
134
134
|
const result2 = await runWorkProofsRecord(opts);
|
|
135
135
|
process.exitCode = result2.exitCode;
|
|
136
136
|
return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit } from './chunk-
|
|
5
|
-
import { builtinKind, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
6
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-7P3H4RY2.js';
|
|
4
|
+
import { checkFit } from './chunk-EMH2LNIE.js';
|
|
5
|
+
import { builtinKind, imageBuildOf, keepsHostBuilder } from './chunk-3EHDZTRT.js';
|
|
6
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UONH72CJ.js';
|
|
7
7
|
import { builderDiskPinned } from './chunk-4UPET3R7.js';
|
|
8
8
|
import { FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-G4W4B33M.js';
|
|
9
9
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|