@tangle-network/agent-runtime 0.277.0 → 0.280.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/dist/{activation-CbxhVtVV.js → activation-C97Cq4Q_.js} +2 -2
- package/dist/{activation-CbxhVtVV.js.map → activation-C97Cq4Q_.js.map} +1 -1
- package/dist/{activation-puw9_ahP.d.ts → activation-y-60DXF4.d.ts} +140 -105
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-ZfUf-H4H.js → coordination-driver-CraAV-22.js} +2 -2
- package/dist/{coordination-driver-ZfUf-H4H.js.map → coordination-driver-CraAV-22.js.map} +1 -1
- package/dist/{delegate-DXOyzIq0.js → delegate-W1Ws_Wp0.js} +2 -2
- package/dist/{delegate-DXOyzIq0.js.map → delegate-W1Ws_Wp0.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-sGWwXC6E.js → graph-DlL_X4HX.js} +4 -4
- package/dist/{graph-sGWwXC6E.js.map → graph-DlL_X4HX.js.map} +1 -1
- package/dist/{improvement-cycle-DQyN0__A.js → improvement-cycle-DXMU-2Y4.js} +649 -213
- package/dist/improvement-cycle-DXMU-2Y4.js.map +1 -0
- package/dist/{index-CmAFFnsd.d.ts → index-Dm8SHDGW.d.ts} +9 -7
- package/dist/index.d.ts +9 -9
- package/dist/index.js +55 -14
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-BTnEDWj3.js → loop-runner-bin-CT_-jSSg.js} +3 -3
- package/dist/{loop-runner-bin-BTnEDWj3.js.map → loop-runner-bin-CT_-jSSg.js.map} +1 -1
- package/dist/{loop-runner-bin-DGUASE9O.d.ts → loop-runner-bin-D6khQtoC.d.ts} +3 -3
- 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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-Gc8p4PBq.d.ts → openai-tools-H8QPhTVE.d.ts} +2 -2
- package/dist/platform.d.ts +91 -1
- package/dist/platform.js +162 -6
- package/dist/platform.js.map +1 -1
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-BgjtrTlv.js → provision-supervisor-BEmE95Mt.js} +3 -3
- package/dist/{provision-supervisor-BgjtrTlv.js.map → provision-supervisor-BEmE95Mt.js.map} +1 -1
- package/dist/{runtime-DoFvrisL.js → runtime-Du7j-nDD.js} +8 -8
- package/dist/{runtime-DoFvrisL.js.map → runtime-Du7j-nDD.js.map} +1 -1
- package/dist/{server-D2d83_iS.js → server-DZvGznAn.js} +3 -3
- package/dist/{server-D2d83_iS.js.map → server-DZvGznAn.js.map} +1 -1
- package/dist/{stream-agent-turn-BqU5Sfbw.d.ts → stream-agent-turn-Bk79CnTw.d.ts} +2 -2
- package/dist/{structural-rollout-VR-j5t9d.js → structural-rollout-Cl4TvomY.js} +2 -2
- package/dist/{structural-rollout-VR-j5t9d.js.map → structural-rollout-Cl4TvomY.js.map} +1 -1
- package/dist/{substrate-CfE3oUB9.d.ts → substrate-CHQ5GYnU.d.ts} +2 -2
- package/dist/{supervise-BoCOUAmr.js → supervise-CWrLq2-F.js} +25 -11
- package/dist/supervise-CWrLq2-F.js.map +1 -0
- package/dist/{supervisor-CjNbOcLO.js → supervisor-BXXjVCbW.js} +378 -110
- package/dist/supervisor-BXXjVCbW.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CI7ve2sA.d.ts → types-D56jQad-.d.ts} +70 -59
- package/package.json +10 -7
- package/dist/improvement-cycle-DQyN0__A.js.map +0 -1
- package/dist/supervise-BoCOUAmr.js.map +0 -1
- package/dist/supervisor-CjNbOcLO.js.map +0 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { El as supervisorAgentWithTestBrain, Lc as SuperviseTestOptions, Tn as driverAgent, Zt as RunGraphTestOptions, _l as SupervisorAgentTestDeps, tn as runGraphWithTestBrain, wn as DriverAgentOptions, zc as superviseWithTestBrain } from "./index-
|
|
2
|
-
import { Hn as ToolLoopChat, Vn as ToolLoopCallContext } from "./stream-agent-turn-
|
|
1
|
+
import { El as supervisorAgentWithTestBrain, Lc as SuperviseTestOptions, Tn as driverAgent, Zt as RunGraphTestOptions, _l as SupervisorAgentTestDeps, tn as runGraphWithTestBrain, wn as DriverAgentOptions, zc as superviseWithTestBrain } from "./index-Dm8SHDGW.js";
|
|
2
|
+
import { Hn as ToolLoopChat, Vn as ToolLoopCallContext } from "./stream-agent-turn-Bk79CnTw.js";
|
|
3
3
|
import { AgentImprovementProposal, AgentProfile, AgentProfileImprovementMeasuredComparison, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
4
4
|
//#region src/testing/index.d.ts
|
|
5
5
|
/** A proposal produced by Runtime's opaque profile-improvement path. */
|
package/dist/testing.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { C as canonicalCandidateDigest$1, D as immutableCandidateValue } from "./workspace-archive-C9lgf77y.js";
|
|
2
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
2
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-DXMU-2Y4.js";
|
|
3
3
|
import { i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-D3eXNBQV.js";
|
|
4
|
-
import { r as driverAgent } from "./coordination-driver-
|
|
5
|
-
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-
|
|
6
|
-
import { i as runGraphWithTestBrain } from "./graph-
|
|
4
|
+
import { r as driverAgent } from "./coordination-driver-CraAV-22.js";
|
|
5
|
+
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-CWrLq2-F.js";
|
|
6
|
+
import { i as runGraphWithTestBrain } from "./graph-DlL_X4HX.js";
|
|
7
7
|
import { SANDBOX_SIZE_PRESET_NAMES, canonicalAgentProfileDigest } from "@tangle-network/agent-interface";
|
|
8
8
|
//#region src/testing/fixtures/agent-improvement-proposal.json
|
|
9
9
|
var agent_improvement_proposal_default = {
|
|
10
10
|
changedSurfaces: ["prompt"],
|
|
11
|
-
digest: "sha256:
|
|
11
|
+
digest: "sha256:8b87532931b9d1ccea02e0951bc6a90b5227b0a77636e8fffd86ab1f8a6ec115",
|
|
12
12
|
evaluation: {
|
|
13
13
|
"decision": {
|
|
14
14
|
"contributingChecks": [
|
|
@@ -4579,7 +4579,7 @@ var agent_improvement_proposal_default = {
|
|
|
4579
4579
|
],
|
|
4580
4580
|
"metadata": {
|
|
4581
4581
|
"fixture": "agent-improvement-proposal",
|
|
4582
|
-
"runtimeVersion": "0.
|
|
4582
|
+
"runtimeVersion": "0.280.0"
|
|
4583
4583
|
},
|
|
4584
4584
|
"objectives": [
|
|
4585
4585
|
{
|
|
@@ -4690,8 +4690,8 @@ var agent_improvement_proposal_default = {
|
|
|
4690
4690
|
"baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09",
|
|
4691
4691
|
"candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693",
|
|
4692
4692
|
"kind": "agent-eval-loop",
|
|
4693
|
-
"recordDigest": "sha256:
|
|
4694
|
-
"runId": "agent-runtime-0.
|
|
4693
|
+
"recordDigest": "sha256:6c734e7d54b3c28b1251ca6f4491abade4f8916c8b16930e7fe4215b47dd4831",
|
|
4694
|
+
"runId": "agent-runtime-0.280.0-proposal-fixture",
|
|
4695
4695
|
"schema": "agent-candidate-experiment"
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
@@ -4714,13 +4714,13 @@ var agent_improvement_proposal_default = {
|
|
|
4714
4714
|
}],
|
|
4715
4715
|
kind: "agent-improvement-proposal",
|
|
4716
4716
|
proposedAt: "2026-07-10T01:00:00.000Z",
|
|
4717
|
-
runId: "agent-runtime-0.
|
|
4717
|
+
runId: "agent-runtime-0.280.0-proposal-fixture"
|
|
4718
4718
|
};
|
|
4719
4719
|
//#endregion
|
|
4720
4720
|
//#region src/testing/fixtures/agent-profile-improvement-proposal.json
|
|
4721
4721
|
var agent_profile_improvement_proposal_default = {
|
|
4722
4722
|
changedSurfaces: ["prompt", "skills"],
|
|
4723
|
-
digest: "sha256:
|
|
4723
|
+
digest: "sha256:da288db5e8c00bc67c6029fdc0ca92271ad6bf35a52ce41336beedbe0bbf7b06",
|
|
4724
4724
|
evaluation: {
|
|
4725
4725
|
"decision": {
|
|
4726
4726
|
"contributingChecks": [
|
|
@@ -6354,7 +6354,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6354
6354
|
],
|
|
6355
6355
|
"metadata": {
|
|
6356
6356
|
"fixture": "agent-profile-improvement-proposal",
|
|
6357
|
-
"runtimeVersion": "0.
|
|
6357
|
+
"runtimeVersion": "0.280.0"
|
|
6358
6358
|
},
|
|
6359
6359
|
"objectives": [
|
|
6360
6360
|
{
|
|
@@ -6465,7 +6465,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6465
6465
|
"baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704",
|
|
6466
6466
|
"candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9",
|
|
6467
6467
|
"kind": "agent-eval-loop",
|
|
6468
|
-
"recordDigest": "sha256:
|
|
6468
|
+
"recordDigest": "sha256:dd34c4df3158c9ba69b9a99486fd13cc2a325eba25ec5c1c3c1eddec68e75133",
|
|
6469
6469
|
"runId": "profile-improvement-1",
|
|
6470
6470
|
"schema": "agent-profile-improvement-experiment"
|
|
6471
6471
|
}
|
package/dist/tui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as ProvisionSupervisorConnection, Dt as provisionSupervisor, Et as SupervisorCleanupReceipt, Tt as ProvisionedSupervisor, wt as ProvisionSupervisorRequest } from "../index-
|
|
1
|
+
import { Ct as ProvisionSupervisorConnection, Dt as provisionSupervisor, Et as SupervisorCleanupReceipt, Tt as ProvisionedSupervisor, wt as ProvisionSupervisorRequest } from "../index-Dm8SHDGW.js";
|
|
2
2
|
//#region src/tui/top-app.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The interactive side of the supervisor-run TUI: a keypress/mouse loop over the frames
|
package/dist/tui/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as provisionSupervisor } from "../provision-supervisor-
|
|
1
|
+
import { t as provisionSupervisor } from "../provision-supervisor-BEmE95Mt.js";
|
|
2
2
|
import { a as renderTopFrameWithLayout, i as renderTopFrame, n as runTopApp, r as loadTopSnapshot, t as renderTopOnce } from "../top-app-VAOrBskv.js";
|
|
3
3
|
export { loadTopSnapshot, provisionSupervisor, renderTopFrame, renderTopFrameWithLayout, renderTopOnce, runTopApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as RuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
|
|
2
|
-
import { AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent } from "@tangle-network/agent-interface";
|
|
2
|
+
import { AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent, WorkspaceCheckpointRef, WorkspaceCheckpointRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, DataAcquisitionPlan, DefaultVerdict, DefaultVerdict as DefaultVerdict$1, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, NotFoundError, RunRecord, ToolSpan, TraceAnalysisStore, TraceStore, UserQuestion, ValidationError } from "@tangle-network/agent-eval";
|
|
4
4
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
5
5
|
import { BackendType, CreateRequestOptions, CreateSandboxOptions, PromptOptions, SandboxEvent, SandboxInstance } from "@tangle-network/sandbox";
|
|
@@ -2520,6 +2520,9 @@ interface DriverLoopRecord {
|
|
|
2520
2520
|
interface DriverContinuationRecord extends DriverLoopRecord {
|
|
2521
2521
|
/** Re-entries that ran in a new environment because the provider no longer held the old one. */
|
|
2522
2522
|
readonly environmentReplacements: number;
|
|
2523
|
+
/** Of those, the ones whose new environment was created from the lost one's latest checkpoint.
|
|
2524
|
+
* The journal's `workspace-restored` receipts say whether each restore was verified. */
|
|
2525
|
+
readonly workspaceRestores: number;
|
|
2523
2526
|
/** How the run was closed, when something closed it: an accepted `submit_result`, the
|
|
2524
2527
|
* manager's own `stop` (served only to a manager with no check), a `report_blocked` whose
|
|
2525
2528
|
* probe failed, or the caller's progress `stopRule`. Absent when the loop ended on a bound or a
|
|
@@ -3405,62 +3408,6 @@ declare function padTraceId(id: string): string;
|
|
|
3405
3408
|
* BEFORE the span closes (a node opened at spawn and parented by its children) uses this one
|
|
3406
3409
|
* generator instead of a second copy of it. */
|
|
3407
3410
|
declare function generateSpanId(): string;
|
|
3408
|
-
/** Wire version the eval-runs ingest enforces (X-Tangle-Wire-Version + body). */
|
|
3409
|
-
declare const INTELLIGENCE_WIRE_VERSION = "2026-05-26.v1";
|
|
3410
|
-
interface EvalRunGeneration {
|
|
3411
|
-
/** 0-based ordinal of this generation within the run (required by ingest). */
|
|
3412
|
-
index: number;
|
|
3413
|
-
/** Identity of the proposed surface change (content-addressed hash). */
|
|
3414
|
-
surfaceHash: string;
|
|
3415
|
-
/** Arbitrary provenance for this generation (rationale, evidence, source). */
|
|
3416
|
-
surface?: unknown;
|
|
3417
|
-
/** Per-scenario results; empty until the generation is measured. */
|
|
3418
|
-
cells?: unknown[];
|
|
3419
|
-
/** Mean composite score (0 when unmeasured — pair with labels.measured). */
|
|
3420
|
-
compositeMean: number;
|
|
3421
|
-
costUsd: number;
|
|
3422
|
-
durationMs: number;
|
|
3423
|
-
}
|
|
3424
|
-
interface EvalRunEvent {
|
|
3425
|
-
runId: string;
|
|
3426
|
-
runDir: string;
|
|
3427
|
-
/** ISO timestamp. */
|
|
3428
|
-
timestamp: string;
|
|
3429
|
-
status: 'started' | 'baseline-complete' | 'generation-complete' | 'gate-decided' | 'finished' | 'errored';
|
|
3430
|
-
labels?: Record<string, string>;
|
|
3431
|
-
baseline?: EvalRunGeneration;
|
|
3432
|
-
generations?: EvalRunGeneration[];
|
|
3433
|
-
gateDecision?: 'ship' | 'hold' | 'need_more_work' | 'model_ceiling' | 'arch_ceiling';
|
|
3434
|
-
holdoutLift?: number;
|
|
3435
|
-
totalCostUsd: number;
|
|
3436
|
-
totalDurationMs: number;
|
|
3437
|
-
errorMessage?: string;
|
|
3438
|
-
}
|
|
3439
|
-
interface EvalRunsExportConfig {
|
|
3440
|
-
/** Bearer key — tenant is resolved server-side from it. Reads TANGLE_API_KEY. */
|
|
3441
|
-
apiKey?: string;
|
|
3442
|
-
/** Intelligence base. Reads TANGLE_INTELLIGENCE_URL env, else prod. */
|
|
3443
|
-
base?: string;
|
|
3444
|
-
/** Idempotency-Key header (e.g. the runId) — safe retries + upsert. */
|
|
3445
|
-
idempotencyKey?: string;
|
|
3446
|
-
}
|
|
3447
|
-
interface EvalRunsExportResult {
|
|
3448
|
-
ok: boolean;
|
|
3449
|
-
status: number;
|
|
3450
|
-
accepted: number;
|
|
3451
|
-
rejected: Array<{
|
|
3452
|
-
index: number;
|
|
3453
|
-
reason: string;
|
|
3454
|
-
}>;
|
|
3455
|
-
}
|
|
3456
|
-
/**
|
|
3457
|
-
* Ship self-improvement eval-run events to Tangle Intelligence. Unlike the
|
|
3458
|
-
* best-effort span exporter, this RESOLVES with the ingest verdict (accepted /
|
|
3459
|
-
* rejected per event) so a consumer's loop can assert its provenance landed.
|
|
3460
|
-
* Success requires a complete, valid acknowledgement accepting every event.
|
|
3461
|
-
* Throws on a missing key, network failure, or unreadable/inconsistent acknowledgement.
|
|
3462
|
-
*/
|
|
3463
|
-
declare function exportEvalRuns(events: EvalRunEvent[], config?: EvalRunsExportConfig): Promise<EvalRunsExportResult>;
|
|
3464
3411
|
//#endregion
|
|
3465
3412
|
//#region src/mcp/trace-propagation.d.ts
|
|
3466
3413
|
interface TraceContext {
|
|
@@ -4823,6 +4770,13 @@ interface TreeView {
|
|
|
4823
4770
|
}
|
|
4824
4771
|
/** Journaled spawn-tree events (B1/B2). `seq` is the cursor order; `at` is an ISO
|
|
4825
4772
|
* timestamp for human inspection only (NOT a replay input). */
|
|
4773
|
+
/** The file Runtime writes into a retained owner's workspace immediately before a checkpoint, and
|
|
4774
|
+
* reads back from a restored environment to report whether the marker matches. */
|
|
4775
|
+
interface WorkspaceCheckpointMarker {
|
|
4776
|
+
/** Workspace-relative path. */
|
|
4777
|
+
readonly path: string;
|
|
4778
|
+
readonly content: string;
|
|
4779
|
+
}
|
|
4826
4780
|
type SpawnEvent = {
|
|
4827
4781
|
kind: 'spawned';
|
|
4828
4782
|
id: NodeId;
|
|
@@ -5189,6 +5143,63 @@ type SpawnEvent = {
|
|
|
5189
5143
|
detail?: string;
|
|
5190
5144
|
seq: number;
|
|
5191
5145
|
at: string;
|
|
5146
|
+
} | {
|
|
5147
|
+
/** Durable intent written before the provider creates a checkpoint. A missing result
|
|
5148
|
+
* is reconciled through exact operation lookup before its source can be released.
|
|
5149
|
+
* Informational, like `workspace-checkpoint`. */
|
|
5150
|
+
kind: 'workspace-checkpoint-requested';
|
|
5151
|
+
id: NodeId;
|
|
5152
|
+
provider: string;
|
|
5153
|
+
environmentId: string;
|
|
5154
|
+
request: WorkspaceCheckpointRequest;
|
|
5155
|
+
marker?: WorkspaceCheckpointMarker;
|
|
5156
|
+
seq: number;
|
|
5157
|
+
at: string;
|
|
5158
|
+
} | {
|
|
5159
|
+
/** A durable checkpoint of a retained owner's workspace, taken while its manager coordinated.
|
|
5160
|
+
* When the provider later loses the owner's environment, the next invocation is created from
|
|
5161
|
+
* the latest of these, so a re-entered director keeps the files it wrote. `marker` is the
|
|
5162
|
+
* file Runtime wrote into the workspace immediately before the checkpoint; a restored
|
|
5163
|
+
* environment reports whether it holds that file with that content. Informational:
|
|
5164
|
+
* replay, `materializeTreeView`, and cost readers skip it, and its `seq` is per node,
|
|
5165
|
+
* outside the cursor-uniqueness namespace. */
|
|
5166
|
+
kind: 'workspace-checkpoint';
|
|
5167
|
+
id: NodeId;
|
|
5168
|
+
provider: string;
|
|
5169
|
+
/** The environment the checkpoint was taken from. */
|
|
5170
|
+
environmentId: string;
|
|
5171
|
+
checkpoint: WorkspaceCheckpointRef;
|
|
5172
|
+
marker?: WorkspaceCheckpointMarker;
|
|
5173
|
+
seq: number;
|
|
5174
|
+
at: string;
|
|
5175
|
+
} | {
|
|
5176
|
+
/** Exact checkpoint cleanup outcome; unconfirmed resources remain pending across resume.
|
|
5177
|
+
* Informational, like `workspace-checkpoint`. */
|
|
5178
|
+
kind: 'workspace-checkpoint-cleanup';
|
|
5179
|
+
id: NodeId;
|
|
5180
|
+
provider: string;
|
|
5181
|
+
environmentId: string;
|
|
5182
|
+
checkpointId: string;
|
|
5183
|
+
confirmed: boolean;
|
|
5184
|
+
seq: number;
|
|
5185
|
+
at: string;
|
|
5186
|
+
} | {
|
|
5187
|
+
/** A new environment of a retained owner was created from a `workspace-checkpoint`, and
|
|
5188
|
+
* Runtime read the checkpoint's marker back from it. `verified` is true only when the file
|
|
5189
|
+
* held the exact content written before the checkpoint. Informational, like
|
|
5190
|
+
* `workspace-checkpoint`. */
|
|
5191
|
+
kind: 'workspace-restored';
|
|
5192
|
+
id: NodeId;
|
|
5193
|
+
provider: string;
|
|
5194
|
+
/** The new environment. */
|
|
5195
|
+
environmentId: string;
|
|
5196
|
+
checkpointId: string;
|
|
5197
|
+
/** The environment the checkpoint was taken from. */
|
|
5198
|
+
sourceEnvironmentId: string;
|
|
5199
|
+
verified: boolean;
|
|
5200
|
+
detail?: string;
|
|
5201
|
+
seq: number;
|
|
5202
|
+
at: string;
|
|
5192
5203
|
} | {
|
|
5193
5204
|
/** One GRAPH-EDGE traversal (`runGraph`): what the runtime actually DELIVERED across a
|
|
5194
5205
|
* delegates/analyzes edge, with byte counts — the observability that makes an edge's
|
|
@@ -5806,5 +5817,5 @@ interface WidenGate<Out> {
|
|
|
5806
5817
|
readonly judgeExempt?: boolean;
|
|
5807
5818
|
}
|
|
5808
5819
|
//#endregion
|
|
5809
|
-
export { SpawnJournal as $,
|
|
5810
|
-
//# sourceMappingURL=types-
|
|
5820
|
+
export { SpawnJournal as $, RuntimeStreamEvent as $a, Iteration as $i, ReadableEnvironment as $n, RetainedInteractiveBindingError as $r, RuntimeStreamEventCollector as $t, NodeExecutionIdentity as A, RuntimeRunStatus as Aa, RetainedRunStartMaterial as Ai, RetainedPendingCause as An, ContinuationPanelInput as Ar, TraceContext as At, ResultBlobStore as B, AgentTaskRunResult as Ba, ReservationHolder as Bi, ReconnectRetainedInteractiveRunOptions as Bn, distillFindings as Br, OtelSpan as Bt, ExecutorToolCall as C, Validator as Ca, RetainedRunEffect as Ci, SessionTraceBox as Cn, CheckUnavailableError as Cr, WorkspaceCheckpointMarker as Ct, MaterializedExecutionIdentity as D, RuntimeRunOptions as Da, RetainedRunIntentAdmission as Di, decodeToolPart as Dn, ContinuationEntry as Dr, workerTraceEnv as Dt, HeldEnvironment as E, RuntimeRunHandle as Ea, RetainedRunHandle as Ei, createPushTraceSource as En, ContinuationContext as Er, readWorkerTraceContext as Et, ProviderModelAttemptEvidence as F, AgentExecutionBackend as Fa, BudgetPoolRestore as Fi, ScopeProgressInput as Fn, VerdictSummary as Fr, LoopSpanNode as Ft, RootMaterialization as G, OpenAIChatResponseFormat as Ga, ReservationWaitRefused as Gi, RetainedInteractiveStartMaterial as Gn, AgentEvalError$1 as Gr, createOpenInferenceFileExporter as Gt, ResumedWork as H, AgentTaskStatus as Ha, ReservationShortfall as Hi, RetainedInteractiveAdmissionHook as Hn, failedItems as Hr, buildLoopOtelSpans as Ht, ProviderModelExecutionEvidence as I, AgentKnowledgeProvider as Ia, BudgetReadout as Ii, TeamProgress as In, admitContinuationPolicy as Ir, OtelAttribute as It, RootStreamReceipt as J, RunAgentTaskOptions as Ja, spendFromUsageEvents as Ji, HarnessTranscriptCapture as Jn, ConfigError as Jr, loopEventToOtelSpan as Jt, RootProviderModelEvidence as K, OpenAIChatTool as Ka, ReserveOptions as Ki, StartRetainedInteractiveRunOptions as Kn, AgentEvalErrorCode as Kr, createOtelExporter as Kt, RecursiveReservationPolicy as L, AgentRuntimeEvent as La, BudgetReconcileFault as Li, WorkerProgress as Ln, admitFinding as Lr, OtelExportConfig as Lt, NodeSnapshot as M, AgentAdapter as Ma, StartRetainedRunInEnvironmentOptions as Mi, ActivityNote as Mn, ContinuationPolicy as Mr, mergeTraceEnv as Mt, NodeStatus as N, AgentBackendContext as Na, StartRetainedRunOptions as Ni, DEFAULT_STALL_AFTER_MS as Nn, ContinuationProfile as Nr, readTraceContextFromEnv as Nt, MaterializedModelIdentity as O, RuntimeRunPersistenceAdapter as Oa, RetainedRunReplayPoint as Oi, sandboxSessionTraceSource as On, ContinuationNoteInput as Or, workerTraceHeaders as Ot, ProfileMaterializationReceipt as P, AgentBackendInput as Pa, BudgetPool as Pi, ExecutorProgress as Pn, PanelFinding as Pr, traceContextToEnv as Pt, SpawnEvent as Q, RuntimeSessionStore as Qa, ExecCtx as Qi, HarnessTranscriptUnavailableReason as Qn, RetainedInteractiveAdmissionError as Qr, RuntimeEventCollector as Qt, ResourceLimit as R, AgentRuntimeEventSink as Ra, LeakedReservation as Ri, createActivityLog as Rn, checkVerdictOf as Rr, OtelExportStats as Rt, ExecutorTeardownWarning as S, ValidationCtx as Sa, RetainedRunDispatchedAdmission as Si, SessionMessageLike as Sn, CheckRead as Sr, WorkerTraceUnavailableReason as St, Handle as T, RuntimeRunCost as Ta, RetainedRunEventOptions as Ti, TraceSource as Tn, ContinuationAppend as Tr, WorkerTraceSeamCarrier as Tt, RetainedExecutionState as U, BackendErrorDetail as Ua, ReservationStage as Ui, RetainedInteractiveEnvironmentInput as Un, passedItems as Ur, buildLoopSpanNodes as Ut, ResumedKeyState as V, AgentTaskSpec as Va, ReservationRejection as Vi, RecoverRetainedInteractiveRunOptions as Vn, expandQuestions as Vr, RuntimeEventOtelOptions as Vt, RootHandle as W, KnowledgeReadinessDecision as Wa, ReservationTicket as Wi, RetainedInteractiveRunHandle as Wn, verdictFromJudgeScore as Wr, buildRuntimeEventOtelSpans as Wt, Scope as X, RuntimeCanonicalStreamEvent as Xa, DefaultVerdict$1 as Xi, HarnessTranscriptFile as Xn, NotFoundError as Xr, padTraceId as Xt, Runtime as Y, RunAgentTaskStreamOptions as Ya, AgentRunSpec as Yi, HarnessTranscriptEvidence as Yn, JudgeError as Yr, padSpanId as Yt, Settled as Z, RuntimeSession as Za, Driver as Zi, HarnessTranscriptUnavailable as Zn, PlannerError as Zr, toOtelAttributes as Zt, ExecutorMaterialization as _, MountRecorder as _a, RetainedInteractiveStartedAdmission as _i, isWaitOutcome as _n, upstreamUnavailableSignal as _r, WaitOpts as _t, BudgetOverspend as a, LoopLineageOptions as aa, WorkerSlots as ai, createRuntimeEventCollector as an, DriverAttemptsExhaustedError as ar, SpendGap as at, ExecutorRegistry as b, SandboxClient as ba, RetainedRunCancelOptions as bi, validateWaitSpec as bn, CONTINUATIONS_DIR as br, WorkerInteractiveUnavailableReason as bt, EnvironmentTeardownReceipt as c, LoopResult as ca, NativeContextContinuationHandle as ci, sanitizeKnowledgeReadinessReport as cn, DriverContractState as cr, SubtreeSummary as ct, ExecutorAccounting as d, LoopTeardownFailedPayload as da, RecoverRetainedRunIntentOptions as di, WaitOutcome as dn, DriverProgressMark as dr, SupervisorOpts as dt, LoopDecisionPayload as ea, RetainedRunAdmissionError as ei, RuntimeStreamEventSink as en, captureHarnessTranscript as er, SpawnOpts as et, ExecutorCancellation as f, LoopTokenUsage as fa, RecoverRetainedRunOptions as fi, WaitProbe as fn, DriverReentry as fr, TokenUsageProvenance as ft, ExecutorFactory as g, MountManifestEntry as ga, RetainedInteractiveIntentAdmission as gi, createWaitProbes as gn, summarizeDriverAttempts as gr, UsageEvent as gt, ExecutorExecutionBinding as h, LoopWinner as ha, RetainedInteractiveEnvironmentAdmission as hi, WaitSpec as hn, classifyDriverFailure as hr, UnknownMaterializationReason as ht, Budget as i, LoopIterationStartedPayload as ia, SlotPermit as ii, SanitizedKnowledgeRequirement as in, DriverAttemptStop as ir, SpendChannel as it, NodeId as j, startRuntimeRun as ja, RetainedRunTurnInput as ji, ActivityLog as jn, ContinuationPanelResult as jr, createPropagatingTraceEmitter as jt, NoWinnerError as k, RuntimeRunRow as ka, RetainedRunSnapshot as ki, RetainedChildRecovery as kn, ContinuationPanel as kr, workerTraceSeamKey as kt, ExecutionBindingReceipt as l, LoopSandboxPlacement as la, NativeContextContinuationInput as li, sanitizeRuntimeStreamEvent as ln, DriverFailureClass as lr, SupervisedResult as lt, ExecutorContext as m, LoopTraceEvent as ma, RetainedInteractiveAdmission as mi, WaitRejection as mn, DriverRetryPolicy as mr, UnconfirmedTeardown as mt, AgentExecutionRef as n, LoopIterationDispatchPayload as na, RuntimeRunStateError as ni, RuntimeTelemetryOptions as nn, persistHarnessTranscript as nr, SpawnRejection as nt, BudgetViolation as o, LoopPlanDescription as oa, createWorkerSlots as oi, createRuntimeStreamEventCollector as on, DriverBudgetReadout as or, SteerableRootHandle as ot, ExecutorCancellationRequest as p, LoopTraceEmitter as pa, RecoverRetainedRunResult as pi, WaitProbeRegistry as pn, DriverRepromptRefusal as pr, TreeView as pt, RootSignal as q, OpenAIChatToolChoice as qa, createBudgetPool as qi, HarnessTranscriptArtifact as qn, BackendTransportError as qr, generateSpanId as qt, AgentSpec as r, LoopIterationEndedPayload as ra, ValidationError as ri, SanitizedKnowledgeReadinessReport as rn, DriverAttemptRecord as rr, Spend as rt, DefaultVerdict as s, LoopPlanPayload as sa, NativeContextContinuationExecution as si, sanitizeAgentRuntimeEvent as sn, DriverContinuationRecord as sr, SubtreeResult as st, Agent as t, LoopEndedPayload as ta, RetainedRunDispatchBindingError as ti, RuntimeStreamEventSummary as tn, harnessTranscriptArtifact as tr, SpawnPrior as tt, Executor as u, LoopStartedPayload as ua, ReconnectRetainedRunOptions as ui, PendingWait as un, DriverLoopRecord as ur, Supervisor as ut, ExecutorNodeContext as v, OutputAdapter as va, RetainedRunAdmission as vi, pollFor as vn, UnavailablePausePolicy as vr, WidenGate as vt, FleetYield as w, RuntimeRunCompleteInput as wa, RetainedRunEnvironmentAdmission as wi, ToolStepInput as wn, CheckVerdict as wr, WorkerTraceResolver as wt, ExecutorResult as x, SelectionReceipt as xa, RetainedRunCancellation as xi, waitUntil as xn, CONTINUATION_FACTS as xr, WorkerTraceEvidence as xt, ExecutorProgressEvent as y, RunProvenance as ya, RetainedRunAdmissionHook as yi, timerAt as yn, AdmittedFinding as yr, WorkerInteractiveSession as yt, ResourceSpend as z, AgentTaskContext as za, ReservationFloor as zi, readWorkerProgress as zn, composeContinuationNote as zr, OtelExporter as zt };
|
|
5821
|
+
//# sourceMappingURL=types-D56jQad-.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.280.0",
|
|
4
4
|
"description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|
|
@@ -98,8 +98,9 @@
|
|
|
98
98
|
"@arethetypeswrong/cli": "0.18.5",
|
|
99
99
|
"@biomejs/biome": "^2.5.11",
|
|
100
100
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
101
|
-
"@tangle-network/agent-eval": "0.
|
|
102
|
-
"@tangle-network/agent-interface": "^2.
|
|
101
|
+
"@tangle-network/agent-eval": "0.198.0",
|
|
102
|
+
"@tangle-network/agent-interface": "^2.13.0",
|
|
103
|
+
"@tangle-network/agent-provider-tangle": "1.7.0",
|
|
103
104
|
"@tangle-network/sandbox": ">=0.36.4 <0.48.0",
|
|
104
105
|
"@types/node": "26.4.0",
|
|
105
106
|
"@types/tar-stream": "3.1.4",
|
|
@@ -121,13 +122,13 @@
|
|
|
121
122
|
},
|
|
122
123
|
"license": "MIT",
|
|
123
124
|
"peerDependencies": {
|
|
124
|
-
"@tangle-network/agent-eval": ">=0.
|
|
125
|
-
"@tangle-network/agent-interface": "^2.
|
|
126
|
-
"@tangle-network/sandbox": ">=0.36.4 <0.48.0 || ^0.49.0-0 || ^0.50.0 || ^0.51.0 || ^0.52.0 || ^0.53.0 || ^0.54.0"
|
|
125
|
+
"@tangle-network/agent-eval": ">=0.198.0 <0.199.0",
|
|
126
|
+
"@tangle-network/agent-interface": "^2.13.0",
|
|
127
|
+
"@tangle-network/sandbox": ">=0.36.4 <0.48.0 || ^0.49.0-0 || ^0.50.0 || ^0.51.0 || ^0.52.0 || ^0.53.0 || ^0.54.0 || ^0.55.0"
|
|
127
128
|
},
|
|
128
129
|
"dependencies": {
|
|
129
130
|
"@tangle-network/agent-core": ">=0.9.6 <0.10.0",
|
|
130
|
-
"@tangle-network/agent-knowledge": "^17.1.
|
|
131
|
+
"@tangle-network/agent-knowledge": "^17.1.9",
|
|
131
132
|
"@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0",
|
|
132
133
|
"@tangle-network/agent-trace-contract": "^1.2.0",
|
|
133
134
|
"tar-stream": "3.2.1"
|
|
@@ -149,7 +150,9 @@
|
|
|
149
150
|
"check:publish-workflow": "node scripts/check-publish-workflow.mjs",
|
|
150
151
|
"check:upstream-evidence-workflow": "node scripts/check-upstream-evidence-workflow.mjs",
|
|
151
152
|
"check:version-bump": "node scripts/check-version-bump.mjs",
|
|
153
|
+
"check:release-notes": "node scripts/release-notes.mjs",
|
|
152
154
|
"check:api-surface": "node scripts/check-api-surface.mjs",
|
|
155
|
+
"check:api-surface-record": "node scripts/check-api-surface.mjs --record",
|
|
153
156
|
"api:surface": "node scripts/check-api-surface.mjs --write",
|
|
154
157
|
"release:prepare": "node scripts/prepare-release.mjs",
|
|
155
158
|
"verify:static-imports": "node scripts/verify-static-imports.mjs",
|