@outerlayer/cli 0.33.0-next.20261021171323 → 0.33.0-next.20261021171625
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-info.json +1 -1
- package/dist/{builder-VFREWHZA.js → builder-QECLC243.js} +2 -2
- package/dist/{check-3TQJDGKM.js → check-4BL6XRWJ.js} +15 -15
- package/dist/{chunk-CI6PRMWZ.js → chunk-2FPEB36J.js} +2 -2
- package/dist/{chunk-AR6UB2BP.js → chunk-3RS3RNGH.js} +2 -2
- package/dist/{chunk-NYKZC6HU.js → chunk-4LU7MFJO.js} +2 -2
- package/dist/{chunk-ZZWWKBLL.js → chunk-5T2VOSIL.js} +1 -1
- package/dist/{chunk-LQFDTQC2.js → chunk-GXKWPOK6.js} +1 -1
- package/dist/{chunk-7LP3F2QH.js → chunk-INCKTGMM.js} +2 -2
- package/dist/{chunk-LSMF3EET.js → chunk-JJ4W5LVF.js} +4 -4
- package/dist/{chunk-HPOW2VCB.js → chunk-LESWVXRE.js} +1 -1
- package/dist/{chunk-EKMMX5A5.js → chunk-LRBOBYQI.js} +3 -3
- package/dist/{chunk-G7QBSH3X.js → chunk-MV52FCSG.js} +4 -4
- package/dist/{chunk-54GBOMDW.js → chunk-OF4TFWKR.js} +2 -2
- package/dist/{chunk-BXA6JLHQ.js → chunk-QNVIGO5X.js} +1 -1
- package/dist/{chunk-KQON2T4A.js → chunk-RHBFNZ7J.js} +3 -3
- package/dist/{chunk-LAS3DOTW.js → chunk-UJIG5BU7.js} +8 -8
- package/dist/{chunk-JKXTG3BV.js → chunk-X2Y3B4JH.js} +2 -2
- package/dist/{chunk-SOTJ2V3A.js → chunk-X7ML37UF.js} +3 -3
- package/dist/{chunk-VXYPD33W.js → chunk-XFS2TMOB.js} +2 -2
- package/dist/{chunk-GKNF4D62.js → chunk-XT5SOJRC.js} +48 -25
- package/dist/{chunk-TI5Y242B.js → chunk-YGXKXL4Q.js} +7 -7
- package/dist/{cli-YQ64SSV3.js → cli-PNQX4HRX.js} +64 -64
- package/dist/{command-RFVCDSJV.js → command-LA7T5YFX.js} +8 -8
- package/dist/{connect-cmd-HVHPNVAJ.js → connect-cmd-2AXEPDT2.js} +2 -2
- package/dist/{container-start-DP3N72CK.js → container-start-4LIRN2LX.js} +9 -9
- package/dist/{dist-MKY2BSYN.js → dist-DY2ZNEBS.js} +1 -1
- package/dist/{docker-6G6IF4YO.js → docker-EOP32YLH.js} +2 -2
- package/dist/{doctor-ZE4LA7EZ.js → doctor-FDXHHPDJ.js} +10 -10
- package/dist/{emit-artifact-cmd-YRRXCZAI.js → emit-artifact-cmd-JY5V6WQI.js} +6 -6
- package/dist/{emit-criteria-cmd-PSQORVHS.js → emit-criteria-cmd-XRFBNFN7.js} +3 -3
- package/dist/{emit-demo-cmd-RJPSISCC.js → emit-demo-cmd-JOVCVXIS.js} +6 -6
- package/dist/{emit-finding-cmd-6FVW3GGK.js → emit-finding-cmd-5RHKQHE6.js} +4 -4
- package/dist/{emit-result-cmd-PFQ6HSVN.js → emit-result-cmd-65KJQ2UM.js} +5 -5
- package/dist/{emit-step-cmd-U32Y4PZJ.js → emit-step-cmd-YZIN6B6P.js} +4 -4
- package/dist/{findings-cmd-AMYNXO3S.js → findings-cmd-Z6CKWAG4.js} +4 -4
- package/dist/{governing-source-DYJQCHKU.js → governing-source-NMGGSA6Q.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/{init-QDUIHSTK.js → init-OV6IOD2G.js} +9 -9
- package/dist/{init-CHWFDK23.js → init-UBDZRWNE.js} +9 -9
- package/dist/{init-cmd-STCU6RGY.js → init-cmd-YP4TVN2S.js} +5 -5
- package/dist/{init-update-OIFOUIAN.js → init-update-24K7ZZWX.js} +2 -2
- package/dist/{loop-NUW7SSZY.js → loop-4FEA6E2S.js} +15 -15
- package/dist/{machine-BJ7TT3B7.js → machine-3BMBF33L.js} +8 -8
- package/dist/{runner-identity-FL67WQIA.js → runner-identity-HTQNM5AG.js} +2 -2
- package/dist/{runner-key-YHAJFEGN.js → runner-key-7I5FDQKR.js} +9 -9
- package/dist/{session-sender-PHQ6PJVD.js → session-sender-MKDKMZJD.js} +6 -6
- package/dist/{spec-cmd-SAMHN5FU.js → spec-cmd-V7W3UV6X.js} +4 -4
- package/dist/{status-QWLX2CCV.js → status-TJDVDR4H.js} +11 -11
- package/dist/{sync-cmd-O6UIF4QJ.js → sync-cmd-AI4KTJ56.js} +5 -5
- package/dist/{watch-5HMOSQ4Z.js → watch-C7IS6VNS.js} +5 -5
- package/dist/{work-claim-cmd-6W7BW4O6.js → work-claim-cmd-GFXIZWMU.js} +5 -5
- package/dist/{work-cmd-3G26E3NL.js → work-cmd-UTD4Y7W3.js} +4 -4
- package/dist/{work-comment-cmd-S6EGHGHL.js → work-comment-cmd-J3SRBK6A.js} +4 -4
- package/dist/{work-logs-cmd-RQILRNHS.js → work-logs-cmd-SH7MQPA3.js} +4 -4
- package/dist/{work-open-pr-cmd-5CDP6KOF.js → work-open-pr-cmd-FIX5QLK7.js} +5 -5
- package/dist/{work-pr-cmd-D3PJJQOX.js → work-pr-cmd-S4IBR7DE.js} +4 -4
- package/dist/{work-stop-cmd-AGZWXGRP.js → work-stop-cmd-NECXJEJN.js} +4 -4
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-21T17:
|
|
1
|
+
{"id":"2026-10-21T17:29:56.212Z+b42151d","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-5T2VOSIL.js';
|
|
4
4
|
import './chunk-YJLHUKYS.js';
|
|
5
5
|
import './chunk-3Z3MPR55.js';
|
|
6
6
|
import './chunk-LK2S5XZH.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-XT5SOJRC.js';
|
|
8
8
|
import './chunk-APSYTJ6I.js';
|
|
9
9
|
import './chunk-KP6R7CV3.js';
|
|
10
10
|
import './chunk-HDSDUTX4.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-UJIG5BU7.js';
|
|
4
|
+
import './chunk-YGXKXL4Q.js';
|
|
5
5
|
import './chunk-X7UUIHGH.js';
|
|
6
6
|
import './chunk-3JVYMD4G.js';
|
|
7
7
|
import './chunk-E7R2GIAW.js';
|
|
@@ -11,21 +11,21 @@ import './chunk-TZQIEUDE.js';
|
|
|
11
11
|
import './chunk-ZVB57WI6.js';
|
|
12
12
|
import './chunk-RJYKTWUP.js';
|
|
13
13
|
import './chunk-I3LTIAOR.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
14
|
+
import './chunk-3RS3RNGH.js';
|
|
15
|
+
import './chunk-XFS2TMOB.js';
|
|
16
|
+
import './chunk-INCKTGMM.js';
|
|
17
17
|
import './chunk-ESVW4MJY.js';
|
|
18
18
|
import './chunk-XTNMIV77.js';
|
|
19
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
19
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-RHBFNZ7J.js';
|
|
20
20
|
import './chunk-YYYRBYWG.js';
|
|
21
21
|
import './chunk-ZZSQYOY5.js';
|
|
22
22
|
import './chunk-TBT347UY.js';
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-
|
|
23
|
+
import './chunk-2FPEB36J.js';
|
|
24
|
+
import './chunk-GXKWPOK6.js';
|
|
25
|
+
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-MV52FCSG.js';
|
|
26
26
|
import './chunk-QQGZ5THT.js';
|
|
27
27
|
import './chunk-HIGJTX5U.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-QNVIGO5X.js';
|
|
29
29
|
import './chunk-IWYS4ERC.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
31
|
import './chunk-NJS7JJYN.js';
|
|
@@ -36,15 +36,15 @@ import './chunk-BSHUTMXV.js';
|
|
|
36
36
|
import './chunk-T5TBGOT6.js';
|
|
37
37
|
import './chunk-JBJTC3UU.js';
|
|
38
38
|
import './chunk-OGFGZQA3.js';
|
|
39
|
-
import './chunk-
|
|
39
|
+
import './chunk-5T2VOSIL.js';
|
|
40
40
|
import './chunk-YJLHUKYS.js';
|
|
41
41
|
import './chunk-3Z3MPR55.js';
|
|
42
42
|
import './chunk-LK2S5XZH.js';
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
43
|
+
import './chunk-X7ML37UF.js';
|
|
44
|
+
import './chunk-X2Y3B4JH.js';
|
|
45
|
+
import './chunk-LESWVXRE.js';
|
|
46
46
|
import './chunk-3H7NZPYG.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-XT5SOJRC.js';
|
|
48
48
|
import './chunk-ZAJKEHIE.js';
|
|
49
49
|
import './chunk-6C3ZVE62.js';
|
|
50
50
|
import './chunk-G2JWZDFA.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectMachine, supportsContainerBuilds, reachDockerStep, describeMachineDocker, supportsMicroVmBuilds } from './chunk-
|
|
4
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
3
|
+
import { detectMachine, supportsContainerBuilds, reachDockerStep, describeMachineDocker, supportsMicroVmBuilds } from './chunk-GXKWPOK6.js';
|
|
4
|
+
import { MIN_ENGINE_MAJOR } from './chunk-MV52FCSG.js';
|
|
5
5
|
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-NJS7JJYN.js';
|
|
6
6
|
import { runnerCredentialProblem } from './chunk-P7BEZAEU.js';
|
|
7
7
|
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-KP6R7CV3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { CaptureDaemon } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-XFS2TMOB.js';
|
|
4
|
+
import { CaptureDaemon } from './chunk-XT5SOJRC.js';
|
|
5
5
|
import { spoolDir } from './chunk-NHXJU7CM.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-X2Y3B4JH.js';
|
|
5
|
+
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-XT5SOJRC.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';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
4
4
|
import { RecipeError } from './chunk-3Z3MPR55.js';
|
|
5
5
|
import { BUILDKIT_IMAGE } from './chunk-LK2S5XZH.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-XT5SOJRC.js';
|
|
7
7
|
import { ensureHostKey } from './chunk-APSYTJ6I.js';
|
|
8
8
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-KP6R7CV3.js';
|
|
9
9
|
import { CLAUDE_PORT, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-HDSDUTX4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-MV52FCSG.js';
|
|
4
4
|
import { runnerImageVersion } from './chunk-IWYS4ERC.js';
|
|
5
5
|
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-LK2S5XZH.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
+
import { autoConnect, detectActiveSession } from './chunk-X2Y3B4JH.js';
|
|
5
5
|
import { acquireSpoolLockAt } from './chunk-3H7NZPYG.js';
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-
|
|
6
|
+
import { resolveRepoIdentity } from './chunk-XT5SOJRC.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
8
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-F3EF56LQ.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-KURUM765.js';
|
|
4
4
|
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-H6Y5D6J7.js';
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-X7ML37UF.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-LESWVXRE.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
8
|
-
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-XT5SOJRC.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-FE3RTGJN.js';
|
|
11
11
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-F3EF56LQ.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-FDXHHPDJ.js');
|
|
1215
1215
|
const gateway = (() => {
|
|
1216
1216
|
try {
|
|
1217
1217
|
const { url, apiKey, appId } = loadRunnerConfig(configPath);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
4
|
-
import { remoteLookupFailed } from './chunk-
|
|
4
|
+
import { remoteLookupFailed } from './chunk-XT5SOJRC.js';
|
|
5
5
|
import { isAgentsMdLayout } from './chunk-ZAJKEHIE.js';
|
|
6
6
|
import { DEFAULT_DASHBOARD } from './chunk-6C3ZVE62.js';
|
|
7
7
|
import { cliFetch, resolveGatewayCredentials } from './chunk-F3EF56LQ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-XFS2TMOB.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
5
|
-
import { detectActiveSession, autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession, autoConnect } from './chunk-X2Y3B4JH.js';
|
|
6
6
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-3H7NZPYG.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-XT5SOJRC.js';
|
|
8
8
|
import { C } from './chunk-ANPNT6PM.js';
|
|
9
9
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-F3EF56LQ.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { execCapture } from './chunk-QQGZ5THT.js';
|
|
4
4
|
import { GUEST_CID } from './chunk-HIGJTX5U.js';
|
|
5
|
-
import { keepStagedContext, describeCallFailure, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
5
|
+
import { keepStagedContext, describeCallFailure, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-QNVIGO5X.js';
|
|
6
6
|
import { runnerImageVersion } from './chunk-IWYS4ERC.js';
|
|
7
7
|
import { hostAllowed } from './chunk-UXYLWVTQ.js';
|
|
8
8
|
import { readDefaultBranchHead, cloneRepository, buildRepositoryImage } from './chunk-BSHUTMXV.js';
|
|
9
9
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
10
10
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
11
|
-
import { createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, containerExecArgs, childEnvironment, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, spawnRun } from './chunk-
|
|
11
|
+
import { createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, containerExecArgs, childEnvironment, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, spawnRun } from './chunk-5T2VOSIL.js';
|
|
12
12
|
import { readDu } from './chunk-YJLHUKYS.js';
|
|
13
13
|
import { RecipeError, DOCKER_FEATURE } from './chunk-3Z3MPR55.js';
|
|
14
14
|
import { FIRECRACKER_VERSION, hostHelperPinned, firecrackerArch, MICROVM_ARCHES, CLAUDE_CODE_VERSION, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, DEFAULT_BASE_IMAGE } from './chunk-LK2S5XZH.js';
|
|
15
|
-
import { WorkCommandError } from './chunk-
|
|
16
|
-
import { setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-
|
|
15
|
+
import { WorkCommandError } from './chunk-X7ML37UF.js';
|
|
16
|
+
import { setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-XT5SOJRC.js';
|
|
17
17
|
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, deliveryDir, ghConfigDir, runnerDirOfBuild, spoolDir, mirrorDir, buildDir, SHIM_DIR } from './chunk-KP6R7CV3.js';
|
|
18
18
|
import { repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, CHECKOUT_DIR, lifecycleWorkdir, claudeCredential, buildEnvironment, startBuildServices, checkEnvironment, AGENT_CREDENTIAL_MISSING, checkoutPath, JOB_MOUNT } from './chunk-HDSDUTX4.js';
|
|
19
19
|
import { sharedSkillNames, skillConflictMessage } from './chunk-FGF52V4V.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { autoConnect, detectActiveSession } from './chunk-X2Y3B4JH.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-XT5SOJRC.js';
|
|
5
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
6
6
|
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-F3EF56LQ.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-X7ML37UF.js';
|
|
4
4
|
import { defaultGitRunner, materializeContext, isStagingWriteFault, lookupGoverningSource } from './chunk-D73OLAYE.js';
|
|
5
5
|
import { signingFetchFor } from './chunk-F3EF56LQ.js';
|
|
6
6
|
import { signerFor } from './chunk-APSYTJ6I.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isPlaceholderCommand } from './chunk-
|
|
4
|
-
import { describeCallFailure } from './chunk-
|
|
3
|
+
import { isPlaceholderCommand } from './chunk-2FPEB36J.js';
|
|
4
|
+
import { describeCallFailure } from './chunk-QNVIGO5X.js';
|
|
5
5
|
import { checkFit } from './chunk-RQGHHEM7.js';
|
|
6
6
|
import { builtinKind } from './chunk-P7BEZAEU.js';
|
|
7
|
-
import { WorkCommandError, getJson } from './chunk-
|
|
7
|
+
import { WorkCommandError, getJson } from './chunk-X7ML37UF.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
9
9
|
import { signerFor } from './chunk-APSYTJ6I.js';
|
|
10
10
|
import { CLAUDE_CREDENTIAL_VARIABLES, claudeCredential, claudeCredentialVariablesSet } from './chunk-HDSDUTX4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-YGXKXL4Q.js';
|
|
4
4
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-X7UUIHGH.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
@@ -8,20 +8,20 @@ import { fitImageBuildMemory } from './chunk-WHSYPR3U.js';
|
|
|
8
8
|
import { RUNNER_PROTOCOL } from './chunk-YKYCE4HY.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-TZQIEUDE.js';
|
|
10
10
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
11
|
-
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-
|
|
11
|
+
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-RHBFNZ7J.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-MV52FCSG.js';
|
|
16
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-QNVIGO5X.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-5T2VOSIL.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-X7ML37UF.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-UTD4Y7W3.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-4BL6XRWJ.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
2951
2951
|
},
|
|
2952
2952
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
2953
2953
|
log
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-LESWVXRE.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-XT5SOJRC.js';
|
|
5
5
|
import { resolveGatewayCredentials } from './chunk-F3EF56LQ.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -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-
|
|
3
|
+
import { detectActiveSession, autoConnect } from './chunk-X2Y3B4JH.js';
|
|
4
|
+
import { workPageUrl } from './chunk-LESWVXRE.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-3H7NZPYG.js';
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-
|
|
6
|
+
import { resolveRepoIdentity } from './chunk-XT5SOJRC.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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-INCKTGMM.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
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-
|
|
7
|
+
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-XT5SOJRC.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';
|
|
@@ -68435,18 +68435,38 @@ function parseTranscript(content, opts = {}) {
|
|
|
68435
68435
|
const unknownModels = /* @__PURE__ */ new Set();
|
|
68436
68436
|
const blobs = /* @__PURE__ */ new Map();
|
|
68437
68437
|
let open22 = null;
|
|
68438
|
+
const usageTurnByMessageId = /* @__PURE__ */ new Map();
|
|
68439
|
+
const addToTotals = (usage, sign) => {
|
|
68440
|
+
totals.in += sign * usage.in;
|
|
68441
|
+
totals.out += sign * usage.out;
|
|
68442
|
+
totals.cacheRead += sign * usage.cacheRead;
|
|
68443
|
+
totals.cacheCreate += sign * usage.cacheCreate;
|
|
68444
|
+
};
|
|
68445
|
+
const addCost = (costUsd, sign) => {
|
|
68446
|
+
if (typeof costUsd !== "number") return;
|
|
68447
|
+
totalCost += sign * costUsd;
|
|
68448
|
+
anyCostKnown = true;
|
|
68449
|
+
};
|
|
68438
68450
|
const flushOpen = () => {
|
|
68439
68451
|
if (!open22) return;
|
|
68440
68452
|
const turn = finalizeAssistant(open22, turnIndex, toolCallsById, models, unknownModels);
|
|
68441
|
-
|
|
68442
|
-
|
|
68443
|
-
|
|
68444
|
-
|
|
68445
|
-
|
|
68446
|
-
|
|
68447
|
-
|
|
68448
|
-
|
|
68449
|
-
|
|
68453
|
+
const usageTurn = turn.messageId ? usageTurnByMessageId.get(turn.messageId) : void 0;
|
|
68454
|
+
if ((usageTurn == null ? void 0 : usageTurn.usage) && turn.usage) {
|
|
68455
|
+
const merged = maxUsage(usageTurn.usage, turn.usage);
|
|
68456
|
+
addToTotals(usageTurn.usage, -1);
|
|
68457
|
+
addToTotals(merged, 1);
|
|
68458
|
+
usageTurn.usage = merged;
|
|
68459
|
+
if (usageTurn.model) {
|
|
68460
|
+
addCost(usageTurn.costUsd, -1);
|
|
68461
|
+
usageTurn.costUsd = costOfUsage(usageTurn.model, merged);
|
|
68462
|
+
addCost(usageTurn.costUsd, 1);
|
|
68463
|
+
}
|
|
68464
|
+
turn.usage = { in: 0, out: 0, cacheRead: 0, cacheCreate: 0, ...merged.speed ? { speed: merged.speed } : {} };
|
|
68465
|
+
turn.costUsd = turn.model ? costOfUsage(turn.model, turn.usage) : null;
|
|
68466
|
+
} else if (turn.usage) {
|
|
68467
|
+
if (turn.messageId) usageTurnByMessageId.set(turn.messageId, turn);
|
|
68468
|
+
addToTotals(turn.usage, 1);
|
|
68469
|
+
addCost(turn.costUsd, 1);
|
|
68450
68470
|
}
|
|
68451
68471
|
turns.push(turn);
|
|
68452
68472
|
turnIndex += 1;
|
|
@@ -68766,27 +68786,30 @@ function extractInlineImages(value, blobs, images) {
|
|
|
68766
68786
|
}
|
|
68767
68787
|
return changed ? out : obj;
|
|
68768
68788
|
}
|
|
68789
|
+
function maxUsage(a, b) {
|
|
68790
|
+
var _a5, _b, _c, _d, _e;
|
|
68791
|
+
const merged = {
|
|
68792
|
+
in: Math.max(a.in, b.in),
|
|
68793
|
+
out: Math.max(a.out, b.out),
|
|
68794
|
+
cacheRead: Math.max(a.cacheRead, b.cacheRead),
|
|
68795
|
+
cacheCreate: Math.max(a.cacheCreate, b.cacheCreate),
|
|
68796
|
+
// Same max-merge as the total it is a share of. Left unset when neither
|
|
68797
|
+
// reading carried the split, so the request still prices as all-5-minute
|
|
68798
|
+
// rather than as a zero-length 1-hour write.
|
|
68799
|
+
...a.cacheCreate1h !== void 0 || b.cacheCreate1h !== void 0 ? { cacheCreate1h: Math.max((_a5 = a.cacheCreate1h) != null ? _a5 : 0, (_b = b.cacheCreate1h) != null ? _b : 0) } : {},
|
|
68800
|
+
...((_c = a.speed) != null ? _c : b.speed) !== void 0 ? { speed: (_d = a.speed) != null ? _d : b.speed } : {}
|
|
68801
|
+
};
|
|
68802
|
+
merged.cacheCreate5m = merged.cacheCreate - Math.min((_e = merged.cacheCreate1h) != null ? _e : 0, merged.cacheCreate);
|
|
68803
|
+
return merged;
|
|
68804
|
+
}
|
|
68769
68805
|
function mergeAssistantLine(open22, line, tsIso) {
|
|
68770
|
-
var _a5
|
|
68806
|
+
var _a5;
|
|
68771
68807
|
if (!open22.ts && tsIso) open22.ts = tsIso;
|
|
68772
68808
|
const message = line.message;
|
|
68773
68809
|
const isSyntheticStub = line.isApiErrorMessage === true || (message == null ? void 0 : message.model) === "<synthetic>";
|
|
68774
68810
|
if (!isSyntheticStub && typeof (message == null ? void 0 : message.model) === "string" && !open22.model) open22.model = message.model;
|
|
68775
68811
|
const usage = readUsage(message == null ? void 0 : message.usage);
|
|
68776
|
-
if (usage)
|
|
68777
|
-
open22.usage = open22.usage ? {
|
|
68778
|
-
in: Math.max(open22.usage.in, usage.in),
|
|
68779
|
-
out: Math.max(open22.usage.out, usage.out),
|
|
68780
|
-
cacheRead: Math.max(open22.usage.cacheRead, usage.cacheRead),
|
|
68781
|
-
cacheCreate: Math.max(open22.usage.cacheCreate, usage.cacheCreate),
|
|
68782
|
-
// Same max-merge as the total it is a share of. Left unset when
|
|
68783
|
-
// neither line carried the split, so the turn still prices as
|
|
68784
|
-
// all-5-minute rather than as a zero-length 1-hour write.
|
|
68785
|
-
...open22.usage.cacheCreate1h !== void 0 || usage.cacheCreate1h !== void 0 ? { cacheCreate1h: Math.max((_a5 = open22.usage.cacheCreate1h) != null ? _a5 : 0, (_b = usage.cacheCreate1h) != null ? _b : 0) } : {},
|
|
68786
|
-
...((_c = open22.usage.speed) != null ? _c : usage.speed) !== void 0 ? { speed: (_d = open22.usage.speed) != null ? _d : usage.speed } : {}
|
|
68787
|
-
} : usage;
|
|
68788
|
-
open22.usage.cacheCreate5m = open22.usage.cacheCreate - Math.min((_e = open22.usage.cacheCreate1h) != null ? _e : 0, open22.usage.cacheCreate);
|
|
68789
|
-
}
|
|
68812
|
+
if (usage) open22.usage = open22.usage ? maxUsage(open22.usage, usage) : usage;
|
|
68790
68813
|
const content = message == null ? void 0 : message.content;
|
|
68791
68814
|
if (typeof content === "string") {
|
|
68792
68815
|
if (content && !open22.texts.includes(content)) open22.texts.push(content);
|
|
@@ -68825,7 +68848,7 @@ function mergeAssistantLine(open22, line, tsIso) {
|
|
|
68825
68848
|
open22.toolOrder.push(b.id);
|
|
68826
68849
|
}
|
|
68827
68850
|
} else {
|
|
68828
|
-
((
|
|
68851
|
+
((_a5 = open22.anonCalls) != null ? _a5 : open22.anonCalls = []).push(call);
|
|
68829
68852
|
}
|
|
68830
68853
|
break;
|
|
68831
68854
|
}
|
|
@@ -3,22 +3,22 @@ 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-3RS3RNGH.js';
|
|
7
|
+
import { installScrubContext } from './chunk-XFS2TMOB.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-MV52FCSG.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-QNVIGO5X.js';
|
|
13
13
|
import { isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-P7BEZAEU.js';
|
|
14
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-5T2VOSIL.js';
|
|
17
17
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
18
18
|
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-LK2S5XZH.js';
|
|
19
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
19
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-X7ML37UF.js';
|
|
20
20
|
import { planArtifactUpload } from './chunk-3H7NZPYG.js';
|
|
21
|
-
import { scrubText } from './chunk-
|
|
21
|
+
import { scrubText } from './chunk-XT5SOJRC.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';
|