@tangle-network/agent-runtime 0.123.1 → 0.128.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.
Files changed (53) hide show
  1. package/README.md +2 -2
  2. package/dist/agent.d.ts +1 -1
  3. package/dist/agent.js +2 -2
  4. package/dist/{environment-provider-PM9PeW_J.d.ts → environment-provider-CUFsyymu.d.ts} +7 -1
  5. package/dist/environment-provider.d.ts +1 -1
  6. package/dist/{index-xP27vtnt.d.ts → index-BhZhQw77.d.ts} +247 -145
  7. package/dist/{index-4NcThsDc.d.ts → index-BhuzfG2r.d.ts} +3 -3
  8. package/dist/{index-CQBioeAj.d.ts → index-DLM0W1h1.d.ts} +5 -5
  9. package/dist/index.d.ts +5 -5
  10. package/dist/index.js +5 -5
  11. package/dist/index.js.map +1 -1
  12. package/dist/intelligence.d.ts +1 -1
  13. package/dist/kernel.d.ts +3 -3
  14. package/dist/kernel.js +3 -3
  15. package/dist/{knowledge-BOHj6nGh.js → knowledge-DF63xPr4.js} +2 -2
  16. package/dist/{knowledge-BOHj6nGh.js.map → knowledge-DF63xPr4.js.map} +1 -1
  17. package/dist/knowledge.d.ts +1 -1
  18. package/dist/knowledge.js +1 -1
  19. package/dist/{loop-runner-bin-DUM37LLw.js → loop-runner-bin-CWqOpCEw.js} +3 -3
  20. package/dist/{loop-runner-bin-DUM37LLw.js.map → loop-runner-bin-CWqOpCEw.js.map} +1 -1
  21. package/dist/{loop-runner-bin-DMnNxZHw.d.ts → loop-runner-bin-Ckp_9tmD.d.ts} +3 -3
  22. package/dist/loop-runner-bin.d.ts +1 -1
  23. package/dist/loop-runner-bin.js +1 -1
  24. package/dist/mcp/bin.js +1 -1
  25. package/dist/mcp/index.d.ts +3 -7
  26. package/dist/mcp/index.js +3 -3
  27. package/dist/{openai-tools-Bm1SDJIp.js → openai-tools-D3XfrrQ6.js} +2 -2
  28. package/dist/{openai-tools-Bm1SDJIp.js.map → openai-tools-D3XfrrQ6.js.map} +1 -1
  29. package/dist/primeintellect/index.d.ts +1 -1
  30. package/dist/{runtime-DZblIf3R.js → runtime-5uDVVfER.js} +444 -132
  31. package/dist/runtime-5uDVVfER.js.map +1 -0
  32. package/dist/{supervise-Cx24b3lw.js → supervise-CsTKbH9R.js} +209 -24
  33. package/dist/supervise-CsTKbH9R.js.map +1 -0
  34. package/dist/testing.js +8 -8
  35. package/package.json +4 -4
  36. package/skills/agent-graphs/IMPROVE.md +58 -0
  37. package/skills/agent-graphs/SKILL.md +140 -0
  38. package/skills/agent-graphs/cases/artifact-mission-release-notes.json +10 -0
  39. package/skills/agent-graphs/cases/audited-single-writer.json +9 -0
  40. package/skills/agent-graphs/cases/cap-as-stop-mistake.json +8 -0
  41. package/skills/agent-graphs/cases/floor-trap-pi.json +11 -0
  42. package/skills/agent-graphs/cases/mission-in-deliverable.json +8 -0
  43. package/skills/agent-graphs/cases/review-pipeline.json +14 -0
  44. package/skills/agent-graphs/cases/runtime-discovered-fanout.json +8 -0
  45. package/skills/agent-graphs/cases/single-agent-suffices.json +7 -0
  46. package/skills/agent-graphs/cases/steer-heavy-drafting.json +9 -0
  47. package/skills/agent-graphs/cases/unmeasured-harness.json +9 -0
  48. package/skills/agent-graphs/generations/gen1-baseline.json +248 -0
  49. package/skills/agent-graphs/generations/gen2.json +375 -0
  50. package/skills/agent-graphs/generations/gen3.json +702 -0
  51. package/skills/build-with-agent-runtime/SKILL.md +1 -0
  52. package/dist/runtime-DZblIf3R.js.map +0 -1
  53. package/dist/supervise-Cx24b3lw.js.map +0 -1
package/README.md CHANGED
@@ -207,7 +207,7 @@ There is no local fallback.
207
207
  Install its optional Python process before using it:
208
208
 
209
209
  ```bash
210
- python -m pip install "agent-eval-rpc==0.133.0"
210
+ python -m pip install "agent-eval-rpc==0.143.0"
211
211
  python -m pip install "gepa[full]==0.1.4"
212
212
  ```
213
213
 
@@ -221,7 +221,7 @@ python -m pip install "gepa[full] @ git+https://github.com/gepa-ai/gepa.git@f919
221
221
  Use `officialSkillOpt(...)` for Microsoft's SkillOpt:
222
222
 
223
223
  ```bash
224
- python -m pip install "agent-eval-rpc==0.133.0"
224
+ python -m pip install "agent-eval-rpc==0.143.0"
225
225
  python -m pip install "skillopt @ git+https://github.com/microsoft/SkillOpt.git@61735e3922efc2b90c6d6cab561e62e98452ca90"
226
226
  ```
227
227
 
package/dist/agent.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { x as RuntimeStreamEvent } from "./types-C9j4qg6l.js";
2
2
  import { a as createSurfaceImprovementProposer, c as SurfaceValidationIssue, d as validateSurfaces, i as SurfaceImprovementEdit, l as renderSurfaceIssues, n as DraftPatchInput, o as AgentSurfaces, r as DraftPatchOutput, s as ResolvedSurface, t as CreateSurfaceImprovementProposerOptions, u as resolveSubjectPath } from "./improvement-adapter-D5gwwoXQ.js";
3
- import { $f as defineProfileMaterializationContract, Gf as CanonicalAgentProfileMaterializationAxis, Hf as AGENT_PROFILE_MATERIALIZATION_AXES, Jf as ProfileMaterializationContract, Kf as DefineProfileMaterializationContractOptions, Qf as controlProfileMaterialization, Uf as AgentProfileMaterializationAxis, Wf as AssertProfileMaterializationOptions, Xf as ValidateProfileMaterializationOptions, Yf as ProfileMaterializationIssue, Zf as assertProfileMaterialization, ap as promptResourceProfileMaterialization, cp as validateProfileMaterialization, ep as fullProfileMaterialization, ip as promptOnlyProfileMaterialization, lp as worktreeCliProfileMaterialization, np as promptControlProfileMaterialization, op as renderProfileMaterializationIssues, qf as KnownAgentProfileMaterializationAxis, rp as promptModelProfileMaterialization, sp as sandboxActProfileMaterialization, tp as profileMaterializationAxes } from "./index-xP27vtnt.js";
3
+ import { $f as assertProfileMaterialization, Gf as AgentProfileMaterializationAxis, Jf as DefineProfileMaterializationContractOptions, Kf as AssertProfileMaterializationOptions, Qf as ValidateProfileMaterializationOptions, Wf as AGENT_PROFILE_MATERIALIZATION_AXES, Xf as ProfileMaterializationContract, Yf as KnownAgentProfileMaterializationAxis, Zf as ProfileMaterializationIssue, ap as promptModelProfileMaterialization, cp as renderProfileMaterializationIssues, dp as worktreeCliProfileMaterialization, ep as controlProfileMaterialization, ip as promptControlProfileMaterialization, lp as sandboxActProfileMaterialization, np as fullProfileMaterialization, op as promptOnlyProfileMaterialization, qf as CanonicalAgentProfileMaterializationAxis, rp as profileMaterializationAxes, sp as promptResourceProfileMaterialization, tp as defineProfileMaterializationContract, up as validateProfileMaterialization } from "./index-BhZhQw77.js";
4
4
  import { E as SandboxClient, t as AgentRunSpec, w as OutputAdapter } from "./types-DnNGJ5Gz.js";
5
5
  import { TraceAnalystDefinition } from "@tangle-network/agent-eval";
6
6
  import { AgentProfile as AgentProfile$1, AgentProfileFileMount, AgentProfileMcpServer } from "@tangle-network/agent-interface";
package/dist/agent.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { At as controlProfileMaterialization, Bt as validateProfileMaterialization, Ft as promptModelProfileMaterialization, It as promptOnlyProfileMaterialization, Lt as promptResourceProfileMaterialization, Mt as fullProfileMaterialization, Nt as profileMaterializationAxes, Ot as AGENT_PROFILE_MATERIALIZATION_AXES, Pt as promptControlProfileMaterialization, Rt as renderProfileMaterializationIssues, Vt as worktreeCliProfileMaterialization, jt as defineProfileMaterializationContract, kt as assertProfileMaterialization, zt as sandboxActProfileMaterialization } from "./supervisor-DpjO0Gmy.js";
2
- import "./runtime-DZblIf3R.js";
2
+ import "./runtime-5uDVVfER.js";
3
3
  import { r as mapSandboxEvent } from "./sandbox-events-Yhd1GYWl.js";
4
- import { At as createSandboxForSpec } from "./supervise-Cx24b3lw.js";
4
+ import { Mt as createSandboxForSpec } from "./supervise-CsTKbH9R.js";
5
5
  import { createHash } from "node:crypto";
6
6
  import { existsSync, readFileSync, statSync } from "node:fs";
7
7
  import { isAbsolute, join, relative, resolve, sep } from "node:path";
@@ -1548,6 +1548,12 @@ type SpawnEvent = {
1548
1548
  /** 1-based traversal ordinal for THIS edge within the run. */
1549
1549
  traversal: number;
1550
1550
  outcome: 'delivered' | 'stripped' | 'empty' | 'unpropagated';
1551
+ /** How the hop CONTINUED the node's work: spawn traversals stamp their effective mode
1552
+ * (`'fresh'` = new session, `'resume'` = re-attached to the node's prior settled session),
1553
+ * and every mid-run delivery into an already-live recipient — a driver steer leg and every
1554
+ * analyzes delivery — stamps `'steer'`. Optional only so journals written before
1555
+ * continuity stamping remain replayable; every new event carries it. */
1556
+ continuity?: 'fresh' | 'resume' | 'steer';
1551
1557
  /** Bytes of directive + payload that actually crossed the edge (0 for `empty`). */
1552
1558
  bytes: number;
1553
1559
  /** Why a non-`delivered` outcome happened, when the runtime knows. */
@@ -1857,4 +1863,4 @@ interface ProviderExecutorOptions {
1857
1863
  declare function providerAsExecutor(provider: AgentEnvironmentProvider, options?: ProviderExecutorOptions): ExecutorFactory<unknown>;
1858
1864
  //#endregion
1859
1865
  export { MaterializedModelIdentity as $, RuntimeEventOtelOptions as $t, providerAsSandboxClient as A, isWaitOutcome as An, WidenGate as At, DefaultVerdict as B, decodeToolPart as Bn, mergeTraceEnv as Bt, ProviderAsSandboxClientOptions as C, PendingWait as Cn, SupervisedResult as Ct, WorkspaceRequest as D, WaitRejection as Dn, UnknownMaterializationReason as Dt, SandboxClientProviderOptions as E, WaitProbeRegistry as En, TreeView as Et, createTangleSandboxExactProcessProvider as F, SessionMessageLike as Fn, readWorkerTraceContext as Ft, ExecutorExecutionBinding as G, ExecutorProgress as Gn, EvalRunsExportConfig as Gt, Executor as H, ActivityLog as Hn, traceContextToEnv as Ht, Agent as I, SessionTraceBox as In, workerTraceEnv as It, ExecutorNodeContext as J, createActivityLog as Jn, LoopSpanNode as Jt, ExecutorFactory as K, ScopeProgressInput as Kn, EvalRunsExportResult as Kt, AgentExecutionRef as L, ToolStepInput as Ln, workerTraceSeamKey as Lt, sandboxClientAsProvider as M, timerAt as Mn, WorkerTraceUnavailableReason as Mt, CreateTangleSandboxExactProcessProviderOptions as N, validateWaitSpec as Nn, WorkerTraceResolver as Nt, createAgentEnvironmentProviderRegistry as O, WaitSpec as On, UsageEvent as Ot, SandboxControlClient as P, waitUntil as Pn, WorkerTraceSeamCarrier as Pt, MaterializedExecutionIdentity as Q, OtelSpan as Qt, AgentSpec as R, TraceSource as Rn, TraceContext as Rt, PlacementInfo as S, sanitizeRuntimeStreamEvent as Sn, SteerableRootHandle as St, ResourceRequest as T, WaitProbe as Tn, SupervisorOpts as Tt, ExecutorAccounting as U, ActivityNote as Un, EvalRunEvent as Ut, ExecutionBindingReceipt as V, sandboxSessionTraceSource as Vn, readTraceContextFromEnv as Vt, ExecutorContext as W, DEFAULT_STALL_AFTER_MS as Wn, EvalRunGeneration as Wt, ExecutorResult as X, OtelExportConfig as Xt, ExecutorRegistry as Y, readWorkerProgress as Yn, OtelAttribute as Yt, Handle as Z, OtelExporter as Zt, CheckpointRequest as _, SanitizedKnowledgeRequirement as _n, SpawnJournal as _t, AgentEnvironmentProviderRef as a, exportEvalRuns as an, ProfileMaterializationReceipt as at, ExecResult as b, sanitizeAgentRuntimeEvent as bn, SpawnRejection as bt, AgentEnvironmentStatus as c, padSpanId as cn, ResumedKeyState as ct, AgentSession as d, RuntimeEventCollector as dn, RootMaterialization as dt, buildLoopOtelSpans as en, NoWinnerError as et, AgentSessionRef as f, RuntimeStreamEventCollector as fn, RootSignal as ft, CheckpointRef as g, SanitizedKnowledgeReadinessReport as gn, SpawnEvent as gt, AgentTurnResult as h, RuntimeTelemetryOptions as hn, Settled as ht, AgentEnvironmentProvider$1 as i, createOtelExporter as in, NodeStatus as it, resolveAgentEnvironmentProvider as j, pollFor as jn, WorkerTraceEvidence as jt, providerAsExecutor as k, createWaitProbes as kn, WaitOpts as kt, AgentEnvironmentSummary as l, padTraceId as ln, ResumedWork as lt, AgentTurnInput$1 as m, RuntimeStreamEventSummary as mn, Scope as mt, AgentEnvironmentCapabilities$1 as n, buildRuntimeEventOtelSpans as nn, NodeId as nt, AgentEnvironmentProviderRegistry as o, generateSpanId as on, Restart as ot, AgentSessionStatus as p, RuntimeStreamEventSink as pn, Runtime as pt, ExecutorMaterialization as q, WorkerProgress as qn, INTELLIGENCE_WIRE_VERSION as qt, AgentEnvironmentEvent as r, createOpenInferenceFileExporter as rn, NodeSnapshot as rt, AgentEnvironmentQuery as s, loopEventToOtelSpan as sn, ResultBlobStore as st, AgentEnvironment as t, buildLoopSpanNodes as tn, NodeExecutionIdentity as tt, AgentProfileRef$1 as u, toOtelAttributes as un, RootHandle as ut, CreateAgentEnvironmentInput$1 as v, createRuntimeEventCollector as vn, SpawnOpts as vt, ProviderExecutorOptions as w, WaitOutcome as wn, Supervisor as wt, ForkRequest as x, sanitizeKnowledgeReadinessReport as xn, Spend as xt, ExecRequest as y, createRuntimeStreamEventCollector as yn, SpawnPrior as yt, Budget as z, createPushTraceSource as zn, createPropagatingTraceEmitter as zt };
1860
- //# sourceMappingURL=environment-provider-PM9PeW_J.d.ts.map
1866
+ //# sourceMappingURL=environment-provider-CUFsyymu.d.ts.map
@@ -1,2 +1,2 @@
1
- import { A as providerAsSandboxClient, C as ProviderAsSandboxClientOptions, D as WorkspaceRequest, E as SandboxClientProviderOptions, F as createTangleSandboxExactProcessProvider, M as sandboxClientAsProvider, N as CreateTangleSandboxExactProcessProviderOptions, O as createAgentEnvironmentProviderRegistry, S as PlacementInfo, T as ResourceRequest, _ as CheckpointRequest, a as AgentEnvironmentProviderRef, b as ExecResult, c as AgentEnvironmentStatus, d as AgentSession, f as AgentSessionRef, g as CheckpointRef, h as AgentTurnResult, i as AgentEnvironmentProvider, j as resolveAgentEnvironmentProvider, k as providerAsExecutor, l as AgentEnvironmentSummary, m as AgentTurnInput, n as AgentEnvironmentCapabilities, o as AgentEnvironmentProviderRegistry, p as AgentSessionStatus, r as AgentEnvironmentEvent, s as AgentEnvironmentQuery, t as AgentEnvironment, u as AgentProfileRef, v as CreateAgentEnvironmentInput, w as ProviderExecutorOptions, x as ForkRequest, y as ExecRequest } from "./environment-provider-PM9PeW_J.js";
1
+ import { A as providerAsSandboxClient, C as ProviderAsSandboxClientOptions, D as WorkspaceRequest, E as SandboxClientProviderOptions, F as createTangleSandboxExactProcessProvider, M as sandboxClientAsProvider, N as CreateTangleSandboxExactProcessProviderOptions, O as createAgentEnvironmentProviderRegistry, S as PlacementInfo, T as ResourceRequest, _ as CheckpointRequest, a as AgentEnvironmentProviderRef, b as ExecResult, c as AgentEnvironmentStatus, d as AgentSession, f as AgentSessionRef, g as CheckpointRef, h as AgentTurnResult, i as AgentEnvironmentProvider, j as resolveAgentEnvironmentProvider, k as providerAsExecutor, l as AgentEnvironmentSummary, m as AgentTurnInput, n as AgentEnvironmentCapabilities, o as AgentEnvironmentProviderRegistry, p as AgentSessionStatus, r as AgentEnvironmentEvent, s as AgentEnvironmentQuery, t as AgentEnvironment, u as AgentProfileRef, v as CreateAgentEnvironmentInput, w as ProviderExecutorOptions, x as ForkRequest, y as ExecRequest } from "./environment-provider-CUFsyymu.js";
2
2
  export { type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, AgentEnvironmentProviderRef, AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentProfileRef, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentTurnInput, type AgentTurnResult, type CheckpointRef, type CheckpointRequest, type CreateAgentEnvironmentInput, type CreateTangleSandboxExactProcessProviderOptions, type ExecRequest, type ExecResult, type ForkRequest, type PlacementInfo, ProviderAsSandboxClientOptions, ProviderExecutorOptions, type ResourceRequest, SandboxClientProviderOptions, type WorkspaceRequest, createAgentEnvironmentProviderRegistry, createTangleSandboxExactProcessProvider, providerAsExecutor, providerAsSandboxClient, resolveAgentEnvironmentProvider, sandboxClientAsProvider };