@tangle-network/agent-runtime 9.0.15 → 10.0.0
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 +76 -0
- package/dist/{activation-y6NAn3sW.d.ts → activation-CDlOqX5a.d.ts} +7 -8
- package/dist/{activation-DTVc4eVS.js → activation-CEGkyzEG.js} +2 -2
- package/dist/{activation-DTVc4eVS.js.map → activation-CEGkyzEG.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/candidate-execution/index.d.ts +3 -0
- package/dist/candidate-execution/index.js +10 -3
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{delegate-DigGceAE.js → delegate-V2Nz8GgO.js} +2 -2
- package/dist/{delegate-DigGceAE.js.map → delegate-V2Nz8GgO.js.map} +1 -1
- package/dist/{coordination-manager-mGr9UHYk.js → driver-control-acknowledgers-CJDYLJmW.js} +1042 -1042
- package/dist/driver-control-acknowledgers-CJDYLJmW.js.map +1 -0
- package/dist/durable.d.ts +5 -5
- package/dist/durable.js +13 -13
- package/dist/durable.js.map +1 -1
- package/dist/{failure-cause-WifbY42M.js → failure-cause-BI7cfDWx.js} +14 -2
- package/dist/failure-cause-BI7cfDWx.js.map +1 -0
- package/dist/{graph-registry-B_1C7qye.js → graph-registry-DxhlgHdA.js} +1 -1
- package/dist/{graph-registry-BbZN5deo.js → graph-registry-j9t9J0KT.js} +11 -12
- package/dist/{graph-registry-BbZN5deo.js.map → graph-registry-j9t9J0KT.js.map} +1 -1
- package/dist/{graph-D2DFmNIP.js → graph-wJOMQ1kC.js} +8 -8
- package/dist/{graph-D2DFmNIP.js.map → graph-wJOMQ1kC.js.map} +1 -1
- package/dist/{improve-DoANtwjC.js → improve-DOjywiPq.js} +42 -26
- package/dist/{improve-DoANtwjC.js.map → improve-DOjywiPq.js.map} +1 -1
- package/dist/index.d.ts +38 -6
- package/dist/index.js +59 -20
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +93 -63
- package/dist/intelligence.js +166 -73
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +16 -15
- package/dist/{loop-runner-CVI07sjG.js → loop-runner-CPTOzSol.js} +2 -2
- package/dist/{loop-runner-CVI07sjG.js.map → loop-runner-CPTOzSol.js.map} +1 -1
- package/dist/{loop-runner-CfMOsISJ.d.ts → loop-runner-DwxZbYW5.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +7 -7
- package/dist/mcp/memory-bin.js +1 -1
- package/dist/{model-policy-CZwhXp8O.js → model-policy-CqDuBTq-.js} +12 -2
- package/dist/model-policy-CqDuBTq-.js.map +1 -0
- package/dist/{prepare-Cw4ZaN01.js → prepare-DT-ibRsm.js} +2 -2
- package/dist/{prepare-Cw4ZaN01.js.map → prepare-DT-ibRsm.js.map} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/profiles.js +1 -1
- package/dist/{provision-supervisor-BH6Fxf7H.js → provision-supervisor-B1_Kow9m.js} +6 -6
- package/dist/{provision-supervisor-BH6Fxf7H.js.map → provision-supervisor-B1_Kow9m.js.map} +1 -1
- package/dist/{run-cancellation-DHuvsgzo.js → run-cancellation-D5m6JHPH.js} +2 -2
- package/dist/{run-cancellation-DHuvsgzo.js.map → run-cancellation-D5m6JHPH.js.map} +1 -1
- package/dist/{run-state-CE2rffEV.js → run-state-DKOXe08H.js} +5 -5
- package/dist/{run-state-CE2rffEV.js.map → run-state-DKOXe08H.js.map} +1 -1
- package/dist/{runtime-PNBuLZxE.js → runtime-C5cWSMqU.js} +191 -24
- package/dist/runtime-C5cWSMqU.js.map +1 -0
- package/dist/{search-executor-CNxDTuV3.js → search-executor-CA6fTYWz.js} +5 -5
- package/dist/{search-executor-CNxDTuV3.js.map → search-executor-CA6fTYWz.js.map} +1 -1
- package/dist/{server-CfJ_WYXR.js → server-C8Z3vYdI.js} +4 -4
- package/dist/{server-CfJ_WYXR.js.map → server-C8Z3vYdI.js.map} +1 -1
- package/dist/{settle-record-einetd2l.js → settle-record-BDxPAO4m.js} +2 -2
- package/dist/{settle-record-einetd2l.js.map → settle-record-BDxPAO4m.js.map} +1 -1
- package/dist/{structural-rollout-BH_MWOy0.js → structural-rollout-B0HPcP9G.js} +5 -5
- package/dist/{structural-rollout-BH_MWOy0.js.map → structural-rollout-B0HPcP9G.js.map} +1 -1
- package/dist/{supervise-CM5cXyuf.js → supervise-Dvj-8S6D.js} +2341 -2283
- package/dist/supervise-Dvj-8S6D.js.map +1 -0
- package/dist/{supervision-discovery-BZRsXavN.js → supervision-discovery-CbrwcgJy.js} +3 -3
- package/dist/{supervision-discovery-BZRsXavN.js.map → supervision-discovery-CbrwcgJy.js.map} +1 -1
- package/dist/{supervisor-C3Fv97vT.js → supervisor-DwdeUC2l.js} +218 -47
- package/dist/supervisor-DwdeUC2l.js.map +1 -0
- package/dist/{supervisor-accounting-6O0Hr0Fg.js → supervisor-accounting-C48Yo9QC.js} +526 -348
- package/dist/supervisor-accounting-C48Yo9QC.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/{tool-server-CirrqFlr.js → tool-server-DsCeBr-C.js} +2 -2
- package/dist/{tool-server-CirrqFlr.js.map → tool-server-DsCeBr-C.js.map} +1 -1
- package/dist/{top-web-CRe6c8wu.js → top-web-CTOq4psb.js} +6 -6
- package/dist/{top-web-CRe6c8wu.js.map → top-web-CTOq4psb.js.map} +1 -1
- package/dist/tui/bin.js +3 -3
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +2 -2
- package/dist/{types-_j53efrk.d.ts → types-lnF0wIJW.d.ts} +8245 -8153
- package/dist/{workspace-streams-BakRr-Pl.js → workspace-streams-C7PGLAUd.js} +3 -3
- package/dist/workspace-streams-C7PGLAUd.js.map +1 -0
- package/package.json +6 -5
- package/dist/coordination-manager-mGr9UHYk.js.map +0 -1
- package/dist/failure-cause-WifbY42M.js.map +0 -1
- package/dist/model-policy-CZwhXp8O.js.map +0 -1
- package/dist/runtime-PNBuLZxE.js.map +0 -1
- package/dist/supervise-CM5cXyuf.js.map +0 -1
- package/dist/supervisor-C3Fv97vT.js.map +0 -1
- package/dist/supervisor-accounting-6O0Hr0Fg.js.map +0 -1
- package/dist/workspace-streams-BakRr-Pl.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,79 @@
|
|
|
1
|
+
## 10.0.0
|
|
2
|
+
|
|
3
|
+
A cancelled or settled run releases every level of its tree at once, under one deadline, so its teardown ends within about one destroy wait (90 s) instead of one wait per level and retry pass. The default `teardownConfirmMs` is now 90000 and counts from the first release. An environment whose provider refuses deletion under a retention hold (409 `RETENTION_HOLD`, or an HTTP refusal naming the hold) is asked once, stays kept as evidence, is reported in `teardownUnconfirmed[].kept` rather than in `environments` for a sweeper, and is never reconnected to again by that process.
|
|
4
|
+
|
|
5
|
+
Record the served model a CLI Bridge provider reports. A provider-backed turn that carries no platform `effectiveBackend` now reads the stream's `provider_model` and `provider_models` with the bridge path's rule: a different model is an identity conflict, the request's own wire id and a model without a snapshot are not recorded, and a snapshot-bearing match becomes the attempt's provider evidence. Before this change such a turn settled with no observation (`provider-model-missing`), so reflection refused it. The chunk `model` field is not read, because CLI Bridge run-event replay and one-shot retained deltas set it to the literal `cli-bridge` (cli-bridge `src/routes/runs.ts`); revisit this rule once a CLI Bridge release sends the served model there.
|
|
6
|
+
|
|
7
|
+
Graph-consumer cohort: 16 public type changes since 9.0.16. Code that only calls these APIs mostly compiles unchanged; code that reads the widened results, switches on `kind`, wraps the overloaded function or constructs the changed objects must adapt as listed.
|
|
8
|
+
|
|
9
|
+
`@tangle-network/agent-runtime`:
|
|
10
|
+
- `ImproveSearchOptions` no longer omits `finalEvidence`: it now accepts `finalEvidence?: FinalEvidencePolicy` (Eval's shared final-evidence policy). Existing options compile; pass a policy to bind the final test split to the search identity.
|
|
11
|
+
- `ImproveSearchResult` adds `finalEvidence?: FinalEvidenceUse`, the final-data reservation and exposure, present when a policy was supplied. Nothing to change unless you pass a policy.
|
|
12
|
+
- `RunKnowledgeImprovementJobOptions.runSupervised` is now `SupervisedKnowledgeUpdateOptions['runSupervised']`: Runtime passes a fourth argument, `context?: { root, goal }`, the exact isolated update workspace. A custom runner should use that root instead of inferring it from the task text. `onMeasurement` measurements add `supervisedSpent.tokensKnown?: boolean`; absent means token completeness is unknown.
|
|
13
|
+
|
|
14
|
+
`@tangle-network/agent-runtime/durable`:
|
|
15
|
+
- `runEvidence(runDir)`: each `nodes[]` entry's `node`, `settled` and `tokens` were always present (possibly `undefined`); they are now optional and absent when unknown. Read them as optional; `'node' in entry` is false for an unlabelled node.
|
|
16
|
+
|
|
17
|
+
`@tangle-network/agent-runtime/intelligence`:
|
|
18
|
+
- `AgentProfileImprovementMethodOptions` was `ImproveMethodOptions` without `agent`, `executionRef`, `findings` and `surface`; it is now that or the same cut of `ImproveSearchOptions`, so `improvement` can name a native search method. Code that reads its fields must first check whether `method` is a native search (`kind: 'search'`, built with `searchMethod`).
|
|
19
|
+
- `ProposeAgentProfileImprovementResult.improvement` was `ImproveMethodResult`; it is now `ImproveMethodResult | ImproveSearchResult`. Narrow on `improvement.mode` (`'method'` or `'search'`) before reading method-only fields.
|
|
20
|
+
- `proposeAgentProfileImprovement` options add `modelBinding?` (a static binding or a function resolved once on the frozen baseline and candidate profiles) and `allowIncomplete?: false`. A second overload takes `RecordAgentProfileImprovementOptions` (`allowIncomplete: true`, whose `executor.measure` returns a recorded run receipt) and resolves to the result, `ProposeAgentProfileImprovementIncompleteResult` or `ProposeAgentProfileImprovementHeldResult`. Existing calls select the first overload; a wrapper or mock typed as `typeof proposeAgentProfileImprovement` must provide both.
|
|
21
|
+
|
|
22
|
+
`@tangle-network/agent-runtime/kernel`:
|
|
23
|
+
- `BoundHarnessSession` and `HarnessFileBinding` keep the same members but are now re-exported from `@tangle-network/harness-sessions` (a new `^1.0.13` dependency) instead of being declared by Runtime. Structural use is unchanged.
|
|
24
|
+
- `HarnessTranscriptBinding.kind` was `'bridge'`; it is now `'bridge' | 'provider'`, and the binding adds optional `controlRef` (required for provider captures) and `nativeSessionIds` (the ordered retry roots). An exhaustive switch on `kind` needs a `provider` arm.
|
|
25
|
+
- `ProviderWorkspaceCaptureProvenance`: `sessions[].nativeStore.entries[]` adds `contentOmitted?: 'harness-install' | 'harness-cache'`. Such an entry's bytes were deliberately not retained; do not count it as missing evidence.
|
|
26
|
+
- `readBoundHarnessSessions` input adds optional `nativeSessionIds`: several root sessions, at most 1,000, distinct, and including `nativeSessionId`. Its file and session types are the harness-sessions types above, and the family walk now runs in harness-sessions under Runtime's archive path policy.
|
|
27
|
+
- `captureBoundHarnessTranscript` takes the same new `nativeSessionIds` and the new binding, and throws `Native capture binding is incomplete` when `binding.nativeSessionIds` (default `[binding.nativeSessionId]`) differs from `nativeSessionIds` (default `[nativeSessionId]`). Pass the same root list in both.
|
|
28
|
+
|
|
29
|
+
`@tangle-network/agent-runtime/kernel` and `@tangle-network/agent-runtime/mcp`:
|
|
30
|
+
- `CoordinationEvent`: the `route` event's union is unchanged in source, but it is now the exported `RouteFlowEvent` (from `/kernel`), so the type is referenced by name. No code change; import `RouteFlowEvent` instead of re-deriving it.
|
|
31
|
+
|
|
32
|
+
`@tangle-network/agent-runtime/tui`:
|
|
33
|
+
- `SupervisorView.lastRoute` is still `Extract<RouteFlowEvent, { kind: 'stopped' | 'unrouted' }>` in source; it now references the exported `RouteFlowEvent`. No code change.
|
|
34
|
+
|
|
35
|
+
Mount an authenticated bridge driver's coordination MCP the way a provider driver does: the attachment carries a `secret-ref` Authorization header for `AGENT_RUNTIME_COORDINATION_TOKEN`, and the bearer travels in the request `env`, which CLI Bridge lifts into memory before it records the run. A jailed Bridge now routes the coordination call through its host relay instead of refusing the plain-string header with HTTP 501. A Bridge backend whose MCP config is not private refuses an authenticated coordination attachment instead of writing the bearer into it; an unauthenticated listener still mounts with no header.
|
|
36
|
+
|
|
37
|
+
Raise the `@tangle-network/agent-eval` peer floor to ^1.0.32: 1.0.31 is the first Eval release with the shared final-evidence policy (`captureFinalEvidencePolicy`, `prepareSearchFinalEvidence`) that native search now binds to its search identity, and 1.0.32 is the first whose run reader takes a native capture's attempt from its `execution-evidence` row, where Runtime now writes it. The development pin, the workspace catalog and the release cohort move to Eval 1.0.32.
|
|
38
|
+
|
|
39
|
+
Raise the `@tangle-network/agent-interface` peer floor to ^5.10.24 and declare `@tangle-network/harness-sessions` ^1.0.13 as a direct dependency: 5.10.24 is the first Interface release with the profile-improvement model binding and recorded-receipt contracts this release uses, and harness-sessions 1.0.13 is the first with the bounded native-family reader Runtime now delegates to. Development pins and the release cohort move to Interface 5.10.24.
|
|
40
|
+
|
|
41
|
+
Verify the requested graph digest and its actual canonical content on registry read. Missing files remain unavailable; corruption and read errors refuse instead of returning an unrelated compiled graph or silently starting fresh work. Reuse this same identity check when retaining an existing immutable revision, including observed graphs.
|
|
42
|
+
|
|
43
|
+
Read and materialize an exact node-owned inline graph profile through the kernel, preserving unrelated graph data and refusing shared or unresolved profile sources.
|
|
44
|
+
|
|
45
|
+
Expose existing measured Knowledge pair and finalized code-tree capture for candidate staging, and allow explicitly deferred code search to reach the independent canonical proposal experiment without claiming a search promotion.
|
|
46
|
+
|
|
47
|
+
Pass the exact isolated Knowledge update root and goal to custom supervised execution hosts without requiring them to parse task text; preserve existing callback compatibility and readiness checks. Preserve token completeness alongside the observed supervised usage subtotals.
|
|
48
|
+
|
|
49
|
+
Forward native Bridge transcripts through root and nested managers, await final capture before settlement, and retain every Bridge manager attempt with its exact input and explicit capture failures in the execution evidence journal. A cancelled run waits, within the transcript settle bound, for its driver's transcript record before it returns. Transcript records hold content only; the `execution-evidence` row carries the optional `attemptId` that names the exact attempt, so equal evidence keeps one content address. Add `readHarnessTranscriptSessions` to verify a complete native family against the exact Runtime node and attempt before downstream learning consumes it.
|
|
50
|
+
|
|
51
|
+
Refuse reserved `.agent-home` paths in candidate workspace snapshots and archive restoration, including tracked and force-added Git files that bypass ignore rules. Unselected ignored native homes remain excluded. This does not redact existing Git history or caller-configured homes with other names.
|
|
52
|
+
|
|
53
|
+
Accept the shared final-evidence policy on native profile search. Reserve final data before development, bind the policy to the durable search identity, record exact sealed-candidate exposure before test dispatch, and return its receipt. Only the identical recorded claim plan may resume already-exposed final evidence; a new adaptive search must use fresh data. Route native search through the canonical profile-improvement hold and proposal lifecycle, applying the same final-test partition and scenario freshness checks as external methods.
|
|
54
|
+
|
|
55
|
+
Export the existing observed-model normalization, snapshot and declared-model matching helpers from the kernel entrypoint so retained-run consumers can interpret authoritative served identity without copying model policy. No provider observation is inferred from an authored model. Existing snapshot and alias rules are unchanged.
|
|
56
|
+
|
|
57
|
+
Opt-in incomplete profile proposals retain a normal search/preparation hold with the exact owner search result and CostLedger summary when no final comparison can be measured. Complete legacy callers retain early refusal. The measured proposal entrypoint keeps analyst diagnostics out of machine-readable stdout.
|
|
58
|
+
|
|
59
|
+
Expose the existing flow spawn profile derivation for retained delivered route traversals, including edge directives and entry-session continuity. Execution and inspection share the same transform; arbitrary product authorization callbacks remain outside the derivation contract.
|
|
60
|
+
|
|
61
|
+
Extend the existing profile proposal lifecycle with exact per-arm model binding and opt-in incomplete measurement holds, preserving the complete result contract and refusing proposal or activation when accounting evidence is unavailable.
|
|
62
|
+
|
|
63
|
+
Add an exact provider-native transcript capture seam that runs after admitted execution termination and before source teardown. Retain each provider invocation's actual input, output, capture receipt and execution identity before continuing, preserve source custody after incomplete capture or persistence failure (a capture refused because the provider offers no retained run for the execution owes no custody: it records `capture-failed` and teardown proceeds), and keep failed latest manager captures explicit. Child settlements now retain the same attempt-bound evidence used by the native rollout reader. Retain every observed native retry family and original file attribution, and journal a successful capture repair at release without re-running the agent. Record provider-declared credential, harness-install, and harness-cache omissions without confusing them with missing transcript files. Providers without an exact native export remain explicitly incomplete.
|
|
64
|
+
|
|
65
|
+
Allow provider executors to retain attested native transcripts through the existing trusted host capture callback after exact terminal identity checks, including retained recovery; preserve the environment-reader default when absent.
|
|
66
|
+
|
|
67
|
+
Retain exact provider dispatch and supervisor node provenance on environment transcript captures, including failed turns and final release reads. Native session identity and full coverage remain unknown when the provider has not attested them.
|
|
68
|
+
|
|
69
|
+
Omit unavailable node labels, settled output, and token usage from runEvidence instead of returning undefined-valued properties. Failed and interrupted run summaries now remain canonical JSON inputs for immutable dataset admission without inventing output or zero usage.
|
|
70
|
+
|
|
71
|
+
Reuse the harness-sessions bounded native-family verifier through the existing Runtime entrypoint, preserving archive path policy, cancellation and validation error identity.
|
|
72
|
+
|
|
73
|
+
## 9.0.16
|
|
74
|
+
|
|
75
|
+
Continue a supervised retained owner whose last committed turn failed. After a restart its first drive still surfaces that failure once; the next drive, in the same process or after a later restart, dispatches a new turn instead of replaying the same committed result again. A committed successful turn is still restored, never run again, and its spend is counted once.
|
|
76
|
+
|
|
1
77
|
## 9.0.15
|
|
2
78
|
|
|
3
79
|
Continue retained provider leaves in their existing environment and native session after a producer-typed transport loss, preserving committed work, spend, cancellation and the original budget and deadline. Caller failures and untyped timeout diagnostics keep their existing stop policy.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $o as CollectedAgentTurn, Jh as SharedBoxPlacementOptions, Pp as BudgetPool, Qo as AgentTurnUsage, Vi as ReadonlyAgentProfile, of as WorkerSlots, qh as SharedBoxPlacement, vy as OtelExportConfig, wh as ExecutorConfig } from "./types-lnF0wIJW.js";
|
|
2
2
|
import { AgentCandidateBundle, AgentCandidateExperiment, AgentImprovementActivation, AgentImprovementActivationIntent, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementEvaluation, AgentImprovementProposal, AgentImprovementReview, AgentImprovementReviewDecision, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentTrainingReceipt, HarnessType, ReasoningEffort, Sha256Digest } from "@tangle-network/agent-interface";
|
|
3
3
|
import { CostLedgerHandle, CostReceiptInput, MaximumCharge, PairedPromotionDecision, PendingCostCallView, ProposalFinding, RunRecord } from "@tangle-network/agent-eval";
|
|
4
4
|
import { ProposalFinding as ProposalFinding$1 } from "@tangle-network/agent-eval/analyst";
|
|
5
|
-
import { CampaignCellResult, CampaignScenarioIdentity, CampaignStorage, CompareOptimizationMethodsOptions, OptimizationMethod, OptimizationMethodComparison, Scenario, SearchAllocator, SearchCellResult, SearchCellStage, SearchClaim, SearchClaimVerification, SearchHistoryReceipt, SearchLane, SearchModelIdentity, SearchPolicy, SearchSourceRef, SearchSplit, SearchStateView, SurfaceProposer, WorktreeAdapter } from "@tangle-network/agent-eval/campaign";
|
|
5
|
+
import { CampaignCellResult, CampaignScenarioIdentity, CampaignStorage, CompareOptimizationMethodsOptions, FinalEvidenceUse, OptimizationMethod, OptimizationMethodComparison, Scenario, SearchAllocator, SearchCellResult, SearchCellStage, SearchClaim, SearchClaimVerification, SearchHistoryReceipt, SearchLane, SearchModelIdentity, SearchPolicy, SearchSourceRef, SearchSplit, SearchStateView, SurfaceProposer, WorktreeAdapter } from "@tangle-network/agent-eval/campaign";
|
|
6
6
|
import { DispatchContext, MutableSurface as MutableSurface$1, Scenario as Scenario$1, SelfImproveBudget, SelfImproveOptions, SelfImproveProposerResult } from "@tangle-network/agent-eval/contract";
|
|
7
7
|
import { EvaluationClaim, SealedExperiment } from "@tangle-network/agent-eval/experiment";
|
|
8
8
|
/** The byte-producing path that differs between the cheap
|
|
@@ -201,9 +201,6 @@ declare function agenticGenerator(opts: AgenticGeneratorOptions): CandidateGener
|
|
|
201
201
|
* binary or spawn fault throws (a setup bug, not a failed candidate — no
|
|
202
202
|
* silent fallback). */
|
|
203
203
|
declare function commandVerifier(command: string, args?: string[], timeoutMs?: number): Verifier;
|
|
204
|
-
type DeepReadonly<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly (infer TItem)[] ? readonly DeepReadonly<TItem>[] : T extends object ? { readonly [TKey in keyof T]: DeepReadonly<T[TKey]>; } : T;
|
|
205
|
-
/** Complete immutable profile value used during measured execution. */
|
|
206
|
-
type ReadonlyAgentProfile = DeepReadonly<AgentProfile>;
|
|
207
204
|
/** What a lane's slots are. */
|
|
208
205
|
type SearchLaneKind = 'shared-box' | 'dedicated' | 'subscription' | 'router';
|
|
209
206
|
/** An execution lane: slots that share one cost rule, and the profiles they cannot run. */
|
|
@@ -420,7 +417,7 @@ interface ImproveSearchMethod {
|
|
|
420
417
|
* test split, and the claim decides. Runtime ships a statistical `ship` only
|
|
421
418
|
* with complete cost accounting and a test lower bound above `minimumLift`.
|
|
422
419
|
*/
|
|
423
|
-
type ImproveSearchOptions<TScenario extends Scenario$1, TArtifact> = Omit<ImproveMethodOptions<TScenario, TArtifact>, 'method' | 'claim' | 'confidence' | 'evidence' | '
|
|
420
|
+
type ImproveSearchOptions<TScenario extends Scenario$1, TArtifact> = Omit<ImproveMethodOptions<TScenario, TArtifact>, 'method' | 'claim' | 'confidence' | 'evidence' | 'resamples' | 'reps' | 'maxConcurrency' | 'optimizationRunOptions' | 'agent'> & {
|
|
424
421
|
method: ImproveSearchMethod;
|
|
425
422
|
/** The claim the sealed test split decides. `independentUnit` names each
|
|
426
423
|
* scenario's unit and `minimumEffect` is the improvement the power check
|
|
@@ -677,6 +674,8 @@ interface ImproveSearchResult extends ImproveResultBase<ImprovementProfileCandid
|
|
|
677
674
|
};
|
|
678
675
|
/** The search ledger, closed and verified from its bytes. */
|
|
679
676
|
searchHistory: SearchHistoryReceipt;
|
|
677
|
+
/** Shared final-data reservation and exposure, when a final-evidence policy was supplied. */
|
|
678
|
+
finalEvidence?: FinalEvidenceUse;
|
|
680
679
|
/** Present exactly when `decision` is `ship`. */
|
|
681
680
|
promotion?: SearchPromotion;
|
|
682
681
|
}
|
|
@@ -1058,5 +1057,5 @@ declare function verifyAgentImprovementActivation(input: {
|
|
|
1058
1057
|
review: unknown;
|
|
1059
1058
|
activation: unknown;
|
|
1060
1059
|
}): AgentImprovementActivation;
|
|
1061
|
-
export { ImproveCodeBaseOptions as $,
|
|
1062
|
-
//# sourceMappingURL=activation-
|
|
1060
|
+
export { ImproveCodeBaseOptions as $, AgentProfileMeasuredSurface as A, SearchPromotion as At, DecideSearchImprovementOptions as B, sharedBoxLane as Bt, verifyAgentImprovementProposal as C, ImproveSearchOptions as Ct, AgentImprovementActivationTargetIdentity as D, ImprovementCodeCandidate as Dt, AGENT_PROFILE_MEASURED_SURFACES as E, ImproveSurface as Et, isAgentImprovementProfileSurface as F, SearchLaneOptions as Ft, ImproveTrainingOptions as G, AgenticGeneratorShotExecution as Gt, decideSearchImprovement as H, AgenticGeneratorExecutorForWorktree as Ht, isAgentProfileMeasuredSurface as I, SearchTraceOptions as It, ProfileTrainerRequest as J, VerifyResult as Jt, ImproveTrainingResult as K, AgenticGeneratorShotReceipt as Kt, improve as L, SharedBoxSearchLane as Lt, agentImprovementProfileSurfaceDigest as M, SearchEnvironmentFault as Mt, agentImprovementProfileSurfaceInput as N, SearchLane$1 as Nt, AgentImprovementProfileSurface as O, ImprovementProfileCandidate as Ot, agentImprovementTargetProfileDiffs as P, SearchLaneKind as Pt, ImproveCandidateValidator as Q, SearchMethodOptions as R, dedicatedLane as Rt, verifyAgentImprovementActivationResult as S, ImproveSearchMethod as St, AGENT_IMPROVEMENT_PROFILE_SURFACES as T, ImproveSkillsOptions as Tt, CheckpointServingPort as U, AgenticGeneratorOptions as Ut, SearchImprovementDecision as V, subscriptionLane as Vt, ControlledTrainingCommand as W, AgenticGeneratorShotDisposition as Wt, createCommandProfileTrainer as X, commandVerifier as Xt, TrainingBoundaryResult as Y, agenticGenerator as Yt, ImproveCandidateValidationInput as Z, CandidateGenerator as Zt, createAgentImprovementActivationResult as _, ImproveResult as _t, AgentImprovementActivationTransitionInput as a, ImproveLineage as at, reviewAgentImprovementProposal as b, ImproveSearchAgent as bt, CreateAgentImprovementActivationOptions as c, ImproveMethodLineage as ct, ExecuteAgentImprovementActivationInput as d, ImproveMethodSource as dt, ImproveCodeOptions as et, ExecuteAgentImprovementActivationOptions as f, ImproveOptimizationRunOptions as ft, createAgentImprovementActivation as g, ImproveProfileSurface as gt, SealedCandidateActivationTransitionInput as h, ImproveProfileComponents as ht, AgentImprovementActivationTransition as i, ImproveCustomCodeGeneratorOptions as it, agentImprovementProfileDiffs as j, SearchCellContext as jt, AgentImprovementTargetProfileDiffOptions as k, SearchDispatchContext as kt, CreateAgentImprovementActivationResultOptions as l, ImproveMethodOptions as lt, ReviewAgentImprovementInput as m, ImproveProfileAgent as mt, AgentImprovementActivationResultStore as n, ImproveCodeRunOptions as nt, AgentProfileImprovementActivationOperation as o, ImproveMethodContext as ot, ProfileImprovementActivationTransitionInput as p, ImproveOptions as pt, ProfileTrainer as q, Verifier as qt, AgentImprovementActivationTargetPlan as r, ImproveCost as rt, AgentProfileImprovementActivationTargetPlan as s, ImproveMethodFactory as st, AgentImprovementActivationReconciliation as t, ImproveCodeResult as tt, CreateAgentImprovementProposalOptions as u, ImproveMethodResult as ut, createAgentImprovementProposal as v, ImproveRuntimeCodeGeneratorOptions as vt, verifyAgentImprovementReview as w, ImproveSearchResult as wt, verifyAgentImprovementActivation as x, ImproveSearchIdentity as xt, executeAgentImprovementActivation as y, ImproveScenarioPartitions as yt, searchMethod as z, routerLane as zt };
|
|
1061
|
+
//# sourceMappingURL=activation-CDlOqX5a.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as canonicalCandidateDocument, m as canonicalCandidateDigest$1, v as immutableCandidateValue, x as verifyCanonicalCandidateDocument, y as omitTopLevelDigest } from "./output-artifacts-AqkZ8lO2.js";
|
|
2
2
|
import { a as applyExactAgentProfileDiff, g as omitUndefinedObjectFields, i as agentCandidateProfileAsAgentProfile, v as parseExactAgentProfile } from "./profile-Cxl_Ajl2.js";
|
|
3
|
-
import { a as defaultStructuralRolloutPolicy } from "./structural-rollout-
|
|
3
|
+
import { a as defaultStructuralRolloutPolicy } from "./structural-rollout-B0HPcP9G.js";
|
|
4
4
|
import { agentImprovementActivationResultSchema, agentImprovementActivationSchema, agentImprovementProposalSchema, agentImprovementReviewSchema, agentProfileDiffSchema, agentProfileImprovementExecutionRefSchema, agentProfileImprovementExperimentSchema, agentProfileModelHintsSchema, agentProfileSchema, canonicalAgentProfileDigest, changedProfileImprovementSurfaces, defineAgentProfileDiff, diffAgentProfiles } from "@tangle-network/agent-interface";
|
|
5
5
|
import { assertProposalFindings } from "@tangle-network/agent-eval/analyst";
|
|
6
6
|
import { campaignSplitDigestFromIdentities } from "@tangle-network/agent-eval/campaign";
|
|
@@ -871,4 +871,4 @@ function sameOrderedValues(left, right) {
|
|
|
871
871
|
}
|
|
872
872
|
export { serializeRolloutPolicy as C, normalizeRolloutPolicy as S, agentImprovementTargetProfileDiffs as _, reviewAgentImprovementProposal as a, isAgentProfileMeasuredSurface as b, verifyAgentImprovementProposal as c, attachOptimizationActivationReceipt as d, createOptimizationActivationReceipt as f, agentImprovementProfileSurfaceInput as g, agentImprovementProfileSurfaceDigest as h, executeAgentImprovementActivation as i, verifyAgentImprovementReview as l, agentImprovementProfileDiffs as m, createAgentImprovementActivationResult as n, verifyAgentImprovementActivation as o, optimizationActivationReceiptFromMetadata as p, createAgentImprovementProposal as r, verifyAgentImprovementActivationResult as s, createAgentImprovementActivation as t, assertNoCallerOptimizationReceipt as u, assertProfileImprovementTargetsShareIdentity as v, structuralRolloutPolicyFromProfile as w, applyRolloutPolicyToProfile as x, isAgentImprovementProfileSurface as y };
|
|
873
873
|
|
|
874
|
-
//# sourceMappingURL=activation-
|
|
874
|
+
//# sourceMappingURL=activation-CEGkyzEG.js.map
|