@tangle-network/agent-runtime 5.0.0 → 6.0.1

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{activation-DGLWxFJu.js → activation-BRfZOfwb.js} +4 -4
  3. package/dist/{activation-DGLWxFJu.js.map → activation-BRfZOfwb.js.map} +1 -1
  4. package/dist/{activation-CtLdCiH3.d.ts → activation-DEKw9CDD.d.ts} +2 -2
  5. package/dist/agent.d.ts +1 -1
  6. package/dist/agent.js +3 -3
  7. package/dist/{bundle-CV4Ts0cS.js → bundle-vFFiCigS.js} +2 -2
  8. package/dist/{bundle-CV4Ts0cS.js.map → bundle-vFFiCigS.js.map} +1 -1
  9. package/dist/candidate-execution/index.d.ts +70 -3
  10. package/dist/candidate-execution/index.js +4 -4
  11. package/dist/{coordination-manager-D74AZg7m.js → coordination-manager-RSJg5GmY.js} +10 -9
  12. package/dist/coordination-manager-RSJg5GmY.js.map +1 -0
  13. package/dist/coordination-map-routing-DVjW5Gx0.js.map +1 -1
  14. package/dist/{delegate-BVyFJ9AX.js → delegate-C0cprMUN.js} +2 -2
  15. package/dist/{delegate-BVyFJ9AX.js.map → delegate-C0cprMUN.js.map} +1 -1
  16. package/dist/durable.d.ts +2 -2
  17. package/dist/durable.js +9 -9
  18. package/dist/{graph-r8zcRxbi.js → graph-cEg-gquv.js} +5 -5
  19. package/dist/{graph-r8zcRxbi.js.map → graph-cEg-gquv.js.map} +1 -1
  20. package/dist/{improve-D12GulmK.js → improve-DNl4_6lP.js} +7 -7
  21. package/dist/{improve-D12GulmK.js.map → improve-DNl4_6lP.js.map} +1 -1
  22. package/dist/index.d.ts +6 -6
  23. package/dist/index.js +10 -10
  24. package/dist/intelligence.d.ts +4 -4
  25. package/dist/intelligence.js +7 -7
  26. package/dist/kernel.d.ts +3 -3
  27. package/dist/kernel.js +12 -12
  28. package/dist/{loop-runner-BHBabRIw.d.ts → loop-runner-CDad0CCY.d.ts} +2 -2
  29. package/dist/{loop-runner-CYcN11I4.js → loop-runner-DQJjowz0.js} +2 -2
  30. package/dist/{loop-runner-CYcN11I4.js.map → loop-runner-DQJjowz0.js.map} +1 -1
  31. package/dist/loop-runner-bin.d.ts +1 -1
  32. package/dist/loop-runner-bin.js +1 -1
  33. package/dist/mcp/bin.js +3 -3
  34. package/dist/mcp/index.d.ts +1 -1
  35. package/dist/mcp/index.js +6 -6
  36. package/dist/{prepare-DutbxpWr.js → prepare-B6SQA12v.js} +3 -3
  37. package/dist/{prepare-DutbxpWr.js.map → prepare-B6SQA12v.js.map} +1 -1
  38. package/dist/{profile-ClvuI8aY.js → profile-DN8Dw2Kp.js} +2 -2
  39. package/dist/{profile-ClvuI8aY.js.map → profile-DN8Dw2Kp.js.map} +1 -1
  40. package/dist/profiles.d.ts +1 -1
  41. package/dist/{protected-model-port-DEsNIYi1.d.ts → protected-model-port-uN4M48vT.d.ts} +2 -2
  42. package/dist/{provision-supervisor-BiqHJ-d4.js → provision-supervisor-CtAaJCUa.js} +5 -5
  43. package/dist/{provision-supervisor-BiqHJ-d4.js.map → provision-supervisor-CtAaJCUa.js.map} +1 -1
  44. package/dist/{run-cancellation-D5R-7UQt.js → run-cancellation-BCuu6khW.js} +2 -2
  45. package/dist/{run-cancellation-D5R-7UQt.js.map → run-cancellation-BCuu6khW.js.map} +1 -1
  46. package/dist/{run-state-DRh8BOFi.js → run-state-ByHiAjUs.js} +6 -5
  47. package/dist/{run-state-DRh8BOFi.js.map → run-state-ByHiAjUs.js.map} +1 -1
  48. package/dist/{runtime-BX_9-DJB.js → runtime-9EYvBcHG.js} +13 -13
  49. package/dist/{runtime-BX_9-DJB.js.map → runtime-9EYvBcHG.js.map} +1 -1
  50. package/dist/runtime-hooks-CsW2pfFk.js.map +1 -1
  51. package/dist/{runtime-hooks-ZQqPw-0g.d.ts → runtime-hooks-DPghSHV7.d.ts} +11 -16
  52. package/dist/{scope-JcCkUy_z.js → scope-DzhBJrRN.js} +3510 -3451
  53. package/dist/scope-DzhBJrRN.js.map +1 -0
  54. package/dist/{search-executor-CdmaS5r4.js → search-executor-BJRNavck.js} +4 -4
  55. package/dist/{search-executor-CdmaS5r4.js.map → search-executor-BJRNavck.js.map} +1 -1
  56. package/dist/{server-BY6OluUf.js → server-DH0P6OY_.js} +4 -4
  57. package/dist/{server-BY6OluUf.js.map → server-DH0P6OY_.js.map} +1 -1
  58. package/dist/{structural-rollout-BjMUUXLn.js → structural-rollout-DgvJLTO0.js} +4 -4
  59. package/dist/{structural-rollout-BjMUUXLn.js.map → structural-rollout-DgvJLTO0.js.map} +1 -1
  60. package/dist/{supervise-rYEsVVcn.js → supervise-Cqhkb2Oj.js} +244 -80
  61. package/dist/supervise-Cqhkb2Oj.js.map +1 -0
  62. package/dist/{supervision-discovery-D95Ack4J.js → supervision-discovery-DI5GIFBJ.js} +3 -3
  63. package/dist/{supervision-discovery-D95Ack4J.js.map → supervision-discovery-DI5GIFBJ.js.map} +1 -1
  64. package/dist/{supervisor-B-bX69uL.js → supervisor-B6sl14OR.js} +243 -962
  65. package/dist/supervisor-B6sl14OR.js.map +1 -0
  66. package/dist/testing.d.ts +1 -1
  67. package/dist/testing.js +13 -13
  68. package/dist/tool-loop.d.ts +1 -1
  69. package/dist/{top-web-D-wH9ipn.js → top-web-DGoXGxH8.js} +4 -4
  70. package/dist/{top-web-D-wH9ipn.js.map → top-web-DGoXGxH8.js.map} +1 -1
  71. package/dist/tui/bin.js +3 -3
  72. package/dist/tui/index.d.ts +2 -2
  73. package/dist/tui/index.js +2 -2
  74. package/dist/{types-DblV14Oe.d.ts → types-niKnm6ux.d.ts} +86 -242
  75. package/dist/{workspace-streams-DbKiDOWA.d.ts → workspace-archive-DS9E9tUr.d.ts} +2 -69
  76. package/dist/{workspace-streams-8ALHaZzx.js → workspace-streams-BqNM06y4.js} +34 -9
  77. package/dist/workspace-streams-BqNM06y4.js.map +1 -0
  78. package/package.json +5 -5
  79. package/dist/coordination-manager-D74AZg7m.js.map +0 -1
  80. package/dist/scope-JcCkUy_z.js.map +0 -1
  81. package/dist/supervise-rYEsVVcn.js.map +0 -1
  82. package/dist/supervisor-B-bX69uL.js.map +0 -1
  83. package/dist/workspace-streams-8ALHaZzx.js.map +0 -1
@@ -545,72 +545,5 @@ interface CapturedAgentCandidateWorkspace {
545
545
  }
546
546
  /** Capture detached files returned by a remote executor into the standard archive. */
547
547
  declare function captureAgentCandidateWorkspaceFiles(input: readonly AgentCandidateExecutorWorkspaceFile[], options?: Omit<CaptureAgentCandidateWorkspaceOptions, 'includeRepository' | 'repositoryContents'>): Promise<CapturedAgentCandidateWorkspace>;
548
- interface CaptureAgentCandidateWorkspaceToArtifactsOptions {
549
- limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
550
- /**
551
- * Root-relative files or directories to leave out of the capture, each by its exact path. A
552
- * caller whose root holds data another capture already keeps, such as a provider's retained
553
- * native session trees, or an environment it can rebuild, such as a virtualenv, names them here
554
- * instead of storing them on every capture. The manifest then describes only what was kept.
555
- */
556
- excludedPaths?: readonly string[];
557
- artifactPersistence: NonNullable<CaptureAgentCandidateWorkspaceOptions['artifactPersistence']>;
558
- }
559
- /** Capture regular files to durable artifacts with memory bounded by the manifest and stream buffers. */
560
- declare function captureAgentCandidateWorkspaceToArtifacts(rootInput: string, options: CaptureAgentCandidateWorkspaceToArtifactsOptions): Promise<{
561
- readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
562
- }>;
563
- /**
564
- * A workspace stored as one content-addressed object per file plus the manifest that names them.
565
- *
566
- * Its digest is the manifest's, the same identity an archived capture of the same files has. Two
567
- * trees share every file they have in common, so storing one costs only the files no earlier
568
- * capture in the store holds: on Discovery Lab run terraform-dc-tokens-20261006d, the files a
569
- * director changed between two captures one to two minutes apart were 5.5 to 8.2 MB of a
570
- * 60 to 70 MB workspace.
571
- */
572
- interface AgentCandidateWorkspaceTree {
573
- readonly kind: 'agent-candidate-workspace-tree';
574
- /** The manifest's digest; the manifest is the object of this digest. */
575
- readonly digest: Sha256Digest;
576
- readonly manifest: AgentCandidateArtifactRef;
577
- readonly files: number;
578
- /** The bytes of every file in the workspace. */
579
- readonly bytes: number;
580
- /** The bytes this capture added to the store; every other file was already there. */
581
- readonly storedBytes: number;
582
- }
583
- /**
584
- * Store a workspace as a tree: each regular file the store does not already hold, then the
585
- * manifest. The store must find objects by content (`locate`) and stream them.
586
- */
587
- declare function captureAgentCandidateWorkspaceTreeToArtifacts(rootInput: string, options: CaptureAgentCandidateWorkspaceToArtifactsOptions): Promise<AgentCandidateWorkspaceTree>;
588
- /**
589
- * Read a tree back by its digest and confirm the store holds every file it names. Returns the
590
- * manifest; reading a file is `artifacts.read` of what `locate` returns for its digest.
591
- */
592
- declare function verifyAgentCandidateWorkspaceTree(tree: Pick<AgentCandidateWorkspaceTree, 'digest' | 'manifest'>, artifacts: AgentCandidateArtifactPort, options?: {
593
- limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
594
- signal?: AbortSignal;
595
- }): Promise<AgentCandidateWorkspaceManifestMaterial>;
596
- interface AgentCandidateWorkspaceArtifactsOptions {
597
- role: 'task' | 'candidate' | 'knowledge' | 'memory';
598
- snapshot: AgentCandidateWorkspaceSnapshotEvidence;
599
- artifacts: AgentCandidateArtifactPort;
600
- limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
601
- signal?: AbortSignal;
602
- }
603
- /** Verify durable regular-file workspace evidence without retaining archive or file contents. */
604
- declare function verifyAgentCandidateWorkspaceArtifacts(input: AgentCandidateWorkspaceArtifactsOptions): Promise<void>;
605
- /** Read selected files only after the existing verifier has accepted the entire archive. */
606
- declare function readAgentCandidateWorkspaceArtifactFiles(input: AgentCandidateWorkspaceArtifactsOptions & {
607
- readonly paths: readonly string[];
608
- readonly maxReadBytes: number;
609
- }): Promise<ReadonlyMap<string, Uint8Array>>;
610
- /** Restore regular files into an empty destination after complete verification; paths selects a subset. */
611
- declare function materializeAgentCandidateWorkspaceFromArtifacts(input: AgentCandidateWorkspaceArtifactsOptions & {
612
- destination: string;
613
- paths?: readonly string[];
614
- }): Promise<void>;
615
- export { ResolvedAgentCandidateContainer as $, AgentCandidateMemoryPort as A, AgentCandidateProtectedRunCapture as B, AgentCandidateExecutorPort as C, AgentCandidateExecutorTaskOutcomeCapture as D, AgentCandidateExecutorStopRequest as E, AgentCandidateOutputPurpose as F, AgentCandidateWorkspacePort as G, AgentCandidateRunFinalization as H, AgentCandidateProtectedModelActivation as I, PreparedAgentCandidateExecution as J, CanonicalCandidateDocument as K, AgentCandidateProtectedModelReservation as L, AgentCandidateModelLimits as M, AgentCandidateModelPort as N, AgentCandidateExecutorWorkspaceFile as O, AgentCandidateOutputArtifactPort as P, PreparedAgentCandidateTrace as Q, AgentCandidateProtectedModelSettlement as R, AgentCandidateExecutorMemoryCapture as S, AgentCandidateExecutorRequest as T, AgentCandidateTaskExecution as U, AgentCandidateRepositoryPort as V, AgentCandidateVerificationPorts as W, PreparedAgentCandidateKnowledge as X, PreparedAgentCandidateInstruction as Y, PreparedAgentCandidateLaunch as Z, AgentCandidateArtifactPort as _, captureAgentCandidateWorkspaceTreeToArtifacts as a, AgentCandidateExecutionPorts as b, verifyAgentCandidateWorkspaceArtifacts as c, CapturedAgentCandidateWorkspace as d, VerifiedAgentCandidate as et, captureAgentCandidateWorkspaceFiles as f, createAgentCandidateWorkspacePort as g, captureAgentCandidateWorkspace as h, captureAgentCandidateWorkspaceToArtifacts as i, AgentCandidateMemoryResetResult as j, AgentCandidateExecutorWorkspaceInput as k, verifyAgentCandidateWorkspaceTree as l, CreateAgentCandidateWorkspacePortOptions as m, AgentCandidateWorkspaceTree as n, AgentCandidateExecutionRoots as nt, materializeAgentCandidateWorkspaceFromArtifacts as o, CaptureAgentCandidateWorkspaceOptions as p, PersistedTaskOutcomeEvidence as q, CaptureAgentCandidateWorkspaceToArtifactsOptions as r, readAgentCandidateWorkspaceArtifactFiles as s, AgentCandidateWorkspaceArtifactsOptions as t, VerifiedAgentCandidateTaskOutcome as tt, AgentCandidateWorkspaceArchiveLimits as u, AgentCandidateBenchmarkGraderPort as v, AgentCandidateExecutorProfileFile as w, AgentCandidateExecutorFinalCapture as x, AgentCandidateContainerPort as y, AgentCandidateProtectedModelSettlementCall as z };
616
- //# sourceMappingURL=workspace-streams-DbKiDOWA.d.ts.map
548
+ export { AgentCandidateProtectedModelSettlementCall as A, PreparedAgentCandidateInstruction as B, AgentCandidateModelLimits as C, AgentCandidateProtectedModelActivation as D, AgentCandidateOutputPurpose as E, AgentCandidateVerificationPorts as F, VerifiedAgentCandidate as G, PreparedAgentCandidateLaunch as H, AgentCandidateWorkspacePort as I, VerifiedAgentCandidateTaskOutcome as K, CanonicalCandidateDocument as L, AgentCandidateRepositoryPort as M, AgentCandidateRunFinalization as N, AgentCandidateProtectedModelReservation as O, AgentCandidateTaskExecution as P, PersistedTaskOutcomeEvidence as R, AgentCandidateMemoryResetResult as S, AgentCandidateOutputArtifactPort as T, PreparedAgentCandidateTrace as U, PreparedAgentCandidateKnowledge as V, ResolvedAgentCandidateContainer as W, AgentCandidateExecutorStopRequest as _, CreateAgentCandidateWorkspacePortOptions as a, AgentCandidateExecutorWorkspaceInput as b, AgentCandidateArtifactPort as c, AgentCandidateExecutionPorts as d, AgentCandidateExecutorFinalCapture as f, AgentCandidateExecutorRequest as g, AgentCandidateExecutorProfileFile as h, CaptureAgentCandidateWorkspaceOptions as i, AgentCandidateProtectedRunCapture as j, AgentCandidateProtectedModelSettlement as k, AgentCandidateBenchmarkGraderPort as l, AgentCandidateExecutorPort as m, CapturedAgentCandidateWorkspace as n, captureAgentCandidateWorkspace as o, AgentCandidateExecutorMemoryCapture as p, AgentCandidateExecutionRoots as q, captureAgentCandidateWorkspaceFiles as r, createAgentCandidateWorkspacePort as s, AgentCandidateWorkspaceArchiveLimits as t, AgentCandidateContainerPort as u, AgentCandidateExecutorTaskOutcomeCapture as v, AgentCandidateModelPort as w, AgentCandidateMemoryPort as x, AgentCandidateExecutorWorkspaceFile as y, PreparedAgentCandidateExecution as z };
549
+ //# sourceMappingURL=workspace-archive-DS9E9tUr.d.ts.map
@@ -628,6 +628,38 @@ function fnv1a32Hex(text) {
628
628
  }
629
629
  return (h >>> 0).toString(16).padStart(8, "0");
630
630
  }
631
+ /** Parent journals may already contain an interrupted driver's inference prefix. */
632
+ function unreportedSpend(total, prior) {
633
+ const tokens = { ...total.tokens };
634
+ for (const key of [
635
+ "input",
636
+ "output",
637
+ "freshInput",
638
+ "cacheRead",
639
+ "cacheWrite"
640
+ ]) {
641
+ const value = total.tokens[key];
642
+ if (value !== void 0) tokens[key] = Math.max(0, value - (prior.tokens[key] ?? 0));
643
+ }
644
+ return {
645
+ ...total,
646
+ ...addResourceSpend(total.resources === void 0 ? void 0 : Object.fromEntries(Object.entries(total.resources).map(([name, value]) => {
647
+ const previous = prior.resources?.[name];
648
+ if (previous && previous.unit !== value.unit) throw new ValidationError(`resource ${name}: unit mismatch`);
649
+ return [name, {
650
+ ...value,
651
+ amount: Math.max(0, value.amount - (previous?.amount ?? 0)),
652
+ known: value.known && (previous?.known ?? true)
653
+ }];
654
+ }))),
655
+ iterations: Math.max(0, total.iterations - prior.iterations),
656
+ tokens,
657
+ usd: Math.max(0, total.usd - prior.usd),
658
+ ms: Math.max(0, total.ms - prior.ms),
659
+ ...total.usdEstimated === void 0 ? {} : { usdEstimated: Math.max(0, total.usdEstimated - (prior.usdEstimated ?? 0)) },
660
+ ...total.boxMinutes === void 0 ? {} : { boxMinutes: Math.max(0, total.boxMinutes - (prior.boxMinutes ?? 0)) }
661
+ };
662
+ }
631
663
  // src/path-control-characters.ts
632
664
  /** Whether a serialized field contains an ASCII control or delete character. */
633
665
  function hasControlCharacter(value) {
@@ -1103,13 +1135,6 @@ async function captureWorkspaceArtifact(kind, bytes, persistence) {
1103
1135
  ...persistence.signal ? { signal: persistence.signal } : {}
1104
1136
  });
1105
1137
  }
1106
- /** Verify a portable archive before its source environment may be discarded. */
1107
- async function verifyAgentCandidateWorkspaceArchive(input) {
1108
- await decodeVerifiedWorkspaceArchive({
1109
- ...input,
1110
- limits: workspaceLimits(input.limits)
1111
- });
1112
- }
1113
1138
  async function decodeVerifiedWorkspaceArchive(input) {
1114
1139
  verifyBytes(input.archive, input.snapshot.archive.sha256, input.snapshot.archive.byteLength, "candidate workspace archive");
1115
1140
  const decoded = await parseWorkspaceArchive(input.archive, input.limits);
@@ -2481,6 +2506,6 @@ async function* oneChunk(bytes) {
2481
2506
  function asError(error) {
2482
2507
  return error instanceof Error ? error : new Error(String(error));
2483
2508
  }
2484
- export { isAsyncIterable as $, markPutStreamVerified as A, verifyCanonicalCandidateDocument as B, captureMaterializedWorkspace as C, boundedChildDeadlineAt as Ct, verifyMaterializedProfileWorkspace as D, teardownExecutor as Dt, verifyBytes as E, singleFlightTeardown as Et, deepFreezeCandidate as F, chargedTokens as G, abortError as H, embeddedCandidateArtifact as I, deleteBoxSafe as J, cloneSpend as K, immutableCandidateValue as L, canonicalCandidateBytes$1 as M, canonicalCandidateDigest$1 as N, verifyMaterializedWorkspace as O, teardownSurfaces as Ot, canonicalCandidateDocument as P, isAbortError as Q, omitTopLevelDigest as R, candidateWorkspaceManifest as S, armDeadlineTimer as St, readVerifiedArtifact as T, isDeadlineAbortReason as Tt, addSpend as U, hasControlCharacter as V, addTokenUsage as W, fnv1a32Hex as X, errorMessage as Y, hasCompleteCacheBreakdown as Z, persistCandidateOutputArtifact as _, ACCEPTED_RESULT_GRACE_MS as _t, verifyAgentCandidateWorkspaceArtifacts as a, sleep as at, WorkspaceScanLimitError as b, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as bt, createAgentCandidateWorkspacePort as c, throwIfAborted as ct, verifyTaskCheckout as d, zeroSpend as dt, mapWithConcurrency as et, verifyTaskOutcomePatch as f, zeroTokenUsage as ft, workspaceLimits as g, withBudgetResources as gt, verifyAgentCandidateWorkspaceArchive as h, resourceTelemetry as ht, readAgentCandidateWorkspaceArtifactFiles as i, roundBoxMinutes as it, verifiedArtifactChunks as j, verifyWorkspaceSnapshotArtifacts as k, readCandidateGitHubResource as l, unmeteredSpend as lt, safeArchivePath as m, assertResources as mt, captureAgentCandidateWorkspaceTreeToArtifacts as n, randomSuffix as nt, verifyAgentCandidateWorkspaceTree as o, stringifySafe as ot, captureAgentCandidateWorkspaceFiles as p, addResourceSpend as pt, cloneTokenUsage as q, materializeAgentCandidateWorkspaceFromArtifacts as r, randomUuid as rt, captureAgentCandidateWorkspace as s, throwAbort as st, captureAgentCandidateWorkspaceToArtifacts as t, promptCacheTokenClasses as tt, verifyCandidateCode as u, withTimeout as ut, assertExactObjectKeys as v, CHILD_DEADLINE_REASON as vt, readMaterializedWorkspaceFiles as w, checkInIdleMs as wt, artifactCacheKey as x, ROOT_DEADLINE_REASON as xt, isWellFormedUnicode as y, DEADLINE_CHECK_IN_MESSAGE as yt, sha256Bytes$1 as z };
2509
+ export { mapWithConcurrency as $, verifiedArtifactChunks as A, hasControlCharacter as B, readMaterializedWorkspaceFiles as C, boundedChildDeadlineAt as Ct, verifyMaterializedWorkspace as D, teardownExecutor as Dt, verifyMaterializedProfileWorkspace as E, singleFlightTeardown as Et, embeddedCandidateArtifact as F, cloneSpend as G, addSpend as H, immutableCandidateValue as I, errorMessage as J, cloneTokenUsage as K, omitTopLevelDigest as L, canonicalCandidateDigest$1 as M, canonicalCandidateDocument as N, verifyWorkspaceSnapshotArtifacts as O, teardownSurfaces as Ot, deepFreezeCandidate as P, isAsyncIterable as Q, sha256Bytes$1 as R, captureMaterializedWorkspace as S, armDeadlineTimer as St, verifyBytes as T, isDeadlineAbortReason as Tt, addTokenUsage as U, abortError as V, chargedTokens as W, hasCompleteCacheBreakdown as X, fnv1a32Hex as Y, isAbortError as Z, assertExactObjectKeys as _, ACCEPTED_RESULT_GRACE_MS as _t, verifyAgentCandidateWorkspaceArtifacts as a, stringifySafe as at, artifactCacheKey as b, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as bt, createAgentCandidateWorkspacePort as c, unmeteredSpend as ct, verifyTaskCheckout as d, zeroSpend as dt, promptCacheTokenClasses as et, verifyTaskOutcomePatch as f, zeroTokenUsage as ft, persistCandidateOutputArtifact as g, withBudgetResources as gt, workspaceLimits as h, resourceTelemetry as ht, readAgentCandidateWorkspaceArtifactFiles as i, sleep as it, canonicalCandidateBytes$1 as j, markPutStreamVerified as k, readCandidateGitHubResource as l, unreportedSpend as lt, safeArchivePath as m, assertResources as mt, captureAgentCandidateWorkspaceTreeToArtifacts as n, randomUuid as nt, verifyAgentCandidateWorkspaceTree as o, throwAbort as ot, captureAgentCandidateWorkspaceFiles as p, addResourceSpend as pt, deleteBoxSafe as q, materializeAgentCandidateWorkspaceFromArtifacts as r, roundBoxMinutes as rt, captureAgentCandidateWorkspace as s, throwIfAborted as st, captureAgentCandidateWorkspaceToArtifacts as t, randomSuffix as tt, verifyCandidateCode as u, withTimeout as ut, isWellFormedUnicode as v, CHILD_DEADLINE_REASON as vt, readVerifiedArtifact as w, checkInIdleMs as wt, candidateWorkspaceManifest as x, ROOT_DEADLINE_REASON as xt, WorkspaceScanLimitError as y, DEADLINE_CHECK_IN_MESSAGE as yt, verifyCanonicalCandidateDocument as z };
2485
2510
 
2486
- //# sourceMappingURL=workspace-streams-8ALHaZzx.js.map
2511
+ //# sourceMappingURL=workspace-streams-BqNM06y4.js.map