@tangle-network/agent-runtime 0.283.0 → 0.284.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-DL1VoNrT.d.ts → activation-CxiJixSO.d.ts} +2 -2
- package/dist/{activation-B_vuAOSo.js → activation-DXFzDCmr.js} +2 -2
- package/dist/{activation-B_vuAOSo.js.map → activation-DXFzDCmr.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/candidate-execution/index.d.ts +2 -38
- package/dist/{coordination-driver-BmkANXc5.js → coordination-driver-BJzVI1oV.js} +2 -2
- package/dist/{coordination-driver-BmkANXc5.js.map → coordination-driver-BJzVI1oV.js.map} +1 -1
- package/dist/{delegate-BfHKdHzV.js → delegate-CfoEXPam.js} +2 -2
- package/dist/{delegate-BfHKdHzV.js.map → delegate-CfoEXPam.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-XmlRTlaI.js → graph-RCV6ri8A.js} +4 -4
- package/dist/{graph-XmlRTlaI.js.map → graph-RCV6ri8A.js.map} +1 -1
- package/dist/{improvement-cycle-BFerq3l4.js → improvement-cycle-DxBnEP8q.js} +3 -3
- package/dist/{improvement-cycle-BFerq3l4.js.map → improvement-cycle-DxBnEP8q.js.map} +1 -1
- package/dist/{index-CkLB8mJF.d.ts → index-BmGVkjsc.d.ts} +66 -5
- package/dist/index.d.ts +13 -6
- package/dist/index.js +51 -9
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-D8P3T5rT.js → loop-runner-bin-BPy7y5rd.js} +3 -3
- package/dist/{loop-runner-bin-D8P3T5rT.js.map → loop-runner-bin-BPy7y5rd.js.map} +1 -1
- package/dist/{loop-runner-bin-CINywrHK.d.ts → loop-runner-bin-CqwbQ0et.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 +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{protected-model-port-BlLP8ja6.d.ts → protected-model-port-DDnU39ul.d.ts} +2 -2
- package/dist/{provision-supervisor-BNUmrHwC.js → provision-supervisor-CqRp0Rzo.js} +3 -3
- package/dist/{provision-supervisor-BNUmrHwC.js.map → provision-supervisor-CqRp0Rzo.js.map} +1 -1
- package/dist/{runtime-CM3KCe9V.js → runtime-lin_kRwN.js} +102 -10
- package/dist/runtime-lin_kRwN.js.map +1 -0
- package/dist/{search-method-Dlor0kKQ.js → search-method-Hjmqa4B8.js} +2 -2
- package/dist/{search-method-Dlor0kKQ.js.map → search-method-Hjmqa4B8.js.map} +1 -1
- package/dist/{server-BnMcTE7J.js → server-a2wdjRG1.js} +3 -3
- package/dist/{server-BnMcTE7J.js.map → server-a2wdjRG1.js.map} +1 -1
- package/dist/{stream-agent-turn-Bk79CnTw.d.ts → stream-agent-turn-IIqBKeLB.d.ts} +149 -5
- package/dist/{supervise-DL_Hj1uk.js → supervise-C71s4_OJ.js} +3 -3
- package/dist/{supervise-DL_Hj1uk.js.map → supervise-C71s4_OJ.js.map} +1 -1
- package/dist/{supervisor-YAc4U8HQ.js → supervisor-D4NnNHZd.js} +470 -70
- package/dist/supervisor-D4NnNHZd.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-CuXu5zuS.d.ts → workspace-archive-DpyZV2Cj.d.ts} +38 -2
- package/package.json +5 -4
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/runtime-CM3KCe9V.js.map +0 -1
- package/dist/supervisor-YAc4U8HQ.js.map +0 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Ac as SuperviseTestOptions, Mc as superviseWithTestBrain, Tn as driverAgent, Zt as RunGraphTestOptions, tn as runGraphWithTestBrain, ul as SupervisorAgentTestDeps, wn as DriverAgentOptions, yl as supervisorAgentWithTestBrain } from "./index-BmGVkjsc.js";
|
|
2
|
+
import { Gn as ToolLoopCallContext, Kn as ToolLoopChat } from "./stream-agent-turn-IIqBKeLB.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 { O as immutableCandidateValue, w as canonicalCandidateDigest$1 } from "./workspace-archive-MhowMCmp.js";
|
|
2
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
2
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-DxBnEP8q.js";
|
|
3
3
|
import { i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-C4NDjZyB.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-BJzVI1oV.js";
|
|
5
|
+
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-C71s4_OJ.js";
|
|
6
|
+
import { i as runGraphWithTestBrain } from "./graph-RCV6ri8A.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:6e092cdcf84dce191849f88cd673bc7581b7ba1bb58816c29f285ab199733da9",
|
|
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.284.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:baded4ce75df774b96fefd0a4991bc62047a4511d2ee8fd5dd1827995b8a3b60",
|
|
4694
|
+
"runId": "agent-runtime-0.284.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.284.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:d0280d07dd9605035b5c4169ab8c8040bbb17c5da827990cd72f66ec935ad489",
|
|
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.284.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:a0dd7dca1d25d6024526387dd5cde07677d69c4ca1b2bd1796089cf8620add2f",
|
|
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-BmGVkjsc.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-CqRp0Rzo.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 };
|
|
@@ -503,5 +503,41 @@ declare const CANDIDATE_TRACE_ENV: {
|
|
|
503
503
|
readonly traceRunId: "TANGLE_TRACE_RUN_ID";
|
|
504
504
|
};
|
|
505
505
|
//#endregion
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
//#region src/candidate-execution/workspace-archive.d.ts
|
|
507
|
+
interface AgentCandidateWorkspaceArchiveLimits {
|
|
508
|
+
maxArchiveBytes: number;
|
|
509
|
+
maxEmbeddedArtifactBytes: number;
|
|
510
|
+
maxFiles: number;
|
|
511
|
+
maxFileBytes: number;
|
|
512
|
+
maxTotalFileBytes: number;
|
|
513
|
+
maxPathBytes: number;
|
|
514
|
+
maxRepositoryBundleBytes: number;
|
|
515
|
+
}
|
|
516
|
+
interface CaptureAgentCandidateWorkspaceOptions {
|
|
517
|
+
/** Include Git HEAD so task preparation can prove its exact commit and tree. */
|
|
518
|
+
includeRepository?: boolean;
|
|
519
|
+
limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
|
|
520
|
+
/** Use the evaluator-owned artifact store when manifest or archive bytes should not be embedded. */
|
|
521
|
+
artifactPersistence?: {
|
|
522
|
+
executionId: string;
|
|
523
|
+
outputArtifacts: AgentCandidateOutputArtifactPort;
|
|
524
|
+
signal?: AbortSignal;
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
interface CreateAgentCandidateWorkspacePortOptions {
|
|
528
|
+
limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
|
|
529
|
+
}
|
|
530
|
+
interface CapturedAgentCandidateWorkspace {
|
|
531
|
+
readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
|
|
532
|
+
/** Caller-owned bytes accepted by createAgentCandidateWorkspacePort. */
|
|
533
|
+
readonly archive: Uint8Array;
|
|
534
|
+
}
|
|
535
|
+
/** Capture one exact regular-file workspace for immutable candidate execution. */
|
|
536
|
+
declare function captureAgentCandidateWorkspace(rootInput: string, options?: CaptureAgentCandidateWorkspaceOptions): Promise<CapturedAgentCandidateWorkspace>;
|
|
537
|
+
/** Capture detached files returned by a remote executor into the standard archive. */
|
|
538
|
+
declare function captureAgentCandidateWorkspaceFiles(input: readonly AgentCandidateExecutorWorkspaceFile[], options?: Omit<CaptureAgentCandidateWorkspaceOptions, 'includeRepository'>): Promise<CapturedAgentCandidateWorkspace>;
|
|
539
|
+
/** Create the standard bounded materializer for candidate execution ports. */
|
|
540
|
+
declare function createAgentCandidateWorkspacePort(options?: CreateAgentCandidateWorkspacePortOptions): AgentCandidateWorkspacePort;
|
|
541
|
+
//#endregion
|
|
542
|
+
export { AgentCandidateProtectedModelSettlement as A, CanonicalCandidateDocument as B, AgentCandidateMemoryResetResult as C, AgentCandidateOutputPurpose as D, AgentCandidateOutputArtifactPort as E, AgentCandidateTaskExecution as F, PreparedAgentCandidateLaunch as G, PreparedAgentCandidateExecution as H, AgentCandidateVerificationPorts as I, VerifiedAgentCandidate as J, PreparedAgentCandidateTrace as K, AgentCandidateWorkspacePort as L, AgentCandidateProtectedRunCapture as M, AgentCandidateRepositoryPort as N, AgentCandidateProtectedModelActivation as O, AgentCandidateRunFinalization as P, CANDIDATE_TRACE_ENV as R, AgentCandidateMemoryPort as S, AgentCandidateModelPort as T, PreparedAgentCandidateInstruction as U, PersistedTaskOutcomeEvidence as V, PreparedAgentCandidateKnowledge as W, AgentCandidateExecutionRoots as X, VerifiedAgentCandidateTaskOutcome as Y, AgentCandidateExecutorRequest as _, captureAgentCandidateWorkspace as a, AgentCandidateExecutorWorkspaceFile as b, AgentCandidateArtifactPort as c, AgentCandidateContainerPort as d, AgentCandidateExecutionPorts as f, AgentCandidateExecutorProfileFile as g, AgentCandidateExecutorPort as h, CreateAgentCandidateWorkspacePortOptions as i, AgentCandidateProtectedModelSettlementCall as j, AgentCandidateProtectedModelReservation as k, AgentCandidateBenchmarkGraderIdentity as l, AgentCandidateExecutorMemoryCapture as m, CaptureAgentCandidateWorkspaceOptions as n, captureAgentCandidateWorkspaceFiles as o, AgentCandidateExecutorFinalCapture as p, ResolvedAgentCandidateContainer as q, CapturedAgentCandidateWorkspace as r, createAgentCandidateWorkspacePort as s, AgentCandidateWorkspaceArchiveLimits as t, AgentCandidateBenchmarkGraderPort as u, AgentCandidateExecutorStopRequest as v, AgentCandidateModelLimits as w, AgentCandidateExecutorWorkspaceInput as x, AgentCandidateExecutorTaskOutcomeCapture as y, CANDIDATE_TRACE_TAGS as z };
|
|
543
|
+
//# sourceMappingURL=workspace-archive-DpyZV2Cj.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.284.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": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@biomejs/biome": "^2.5.11",
|
|
100
100
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
101
101
|
"@tangle-network/agent-eval": "0.199.0",
|
|
102
|
-
"@tangle-network/agent-interface": "^2.
|
|
102
|
+
"@tangle-network/agent-interface": "^2.14.0",
|
|
103
103
|
"@tangle-network/agent-provider-tangle": "1.7.0",
|
|
104
104
|
"@tangle-network/sandbox": ">=0.36.4 <0.48.0",
|
|
105
105
|
"@types/node": "26.4.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"license": "MIT",
|
|
124
124
|
"peerDependencies": {
|
|
125
125
|
"@tangle-network/agent-eval": ">=0.199.0 <0.200.0",
|
|
126
|
-
"@tangle-network/agent-interface": "^2.
|
|
126
|
+
"@tangle-network/agent-interface": "^2.14.0",
|
|
127
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 || ^0.56.0"
|
|
128
128
|
},
|
|
129
129
|
"dependencies": {
|
|
@@ -131,7 +131,8 @@
|
|
|
131
131
|
"@tangle-network/agent-knowledge": "^17.1.10",
|
|
132
132
|
"@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0",
|
|
133
133
|
"@tangle-network/agent-trace-contract": "^1.2.0",
|
|
134
|
-
"tar-stream": "3.2.1"
|
|
134
|
+
"tar-stream": "3.2.1",
|
|
135
|
+
"zod": "4.5.4"
|
|
135
136
|
},
|
|
136
137
|
"scripts": {
|
|
137
138
|
"build": "tsdown",
|
|
@@ -80,7 +80,7 @@ The pass rule is fixed: each rerun row equals the recorded row, field for field,
|
|
|
80
80
|
Credit only the cells that the check reran and matched; a sample can refuse a certificate, never extend credit.
|
|
81
81
|
A null that is no search, such as a spec conflict or a gap list, names each item with evidence; it counts when the held-back check reproduces each.
|
|
82
82
|
A null without a certificate, or without a registered reproducer, is recorded as "stopped, unverified", never as success.
|
|
83
|
-
A null inside
|
|
83
|
+
A null inside a range the source checked or an earlier reproduced null covered adds nothing.
|
|
84
84
|
Tell agents the checker may be wrong; credit a checker-defect report the same way, once someone outside the run reproduces the defect.
|
|
85
85
|
Measured elsewhere: a credited exit cut one model's test cheating from 54% to 9%, while prohibitions barely moved another's.
|
|
86
86
|
Measured: an in-run check that accepted a documented null made it the cheapest hack in 11 of 16 blind judgments.
|