@tangle-network/agent-runtime 0.94.1 → 0.94.3
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/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/{agentic-generator-D9ZmAuiL.d.ts → agentic-generator-B7Cyl6cn.d.ts} +1 -1
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/chunk-2GHZEULG.js +1095 -0
- package/dist/chunk-2GHZEULG.js.map +1 -0
- package/dist/{chunk-K7OPNHU4.js → chunk-6SIVHKNH.js} +2 -2
- package/dist/{chunk-D336OZHK.js → chunk-7PSFJTJZ.js} +2 -2
- package/dist/{chunk-HPCJBBLS.js → chunk-EJSELWQY.js} +2 -2
- package/dist/{chunk-URMJTSXB.js → chunk-FDJFHWLD.js} +14 -2
- package/dist/chunk-FDJFHWLD.js.map +1 -0
- package/dist/{chunk-SJHFJOCY.js → chunk-J3XISCCP.js} +2 -2
- package/dist/{chunk-RTSZNYXM.js → chunk-OXQHAHOM.js} +3 -3
- package/dist/{chunk-JEP2WM24.js → chunk-YHK6MLB7.js} +2 -2
- package/dist/{completion-gate-BAj3dXeW.d.ts → completion-gate-CDnL2Wws.d.ts} +10 -2
- package/dist/{coordination-B3ZuApR_.d.ts → coordination-DzXsfxre.d.ts} +7 -5
- package/dist/environment-provider.d.ts +2 -2
- package/dist/{improve-r8SvIxYv.d.ts → improve-mrYmy_1e.d.ts} +2 -2
- package/dist/index.d.ts +16 -16
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +5 -5
- package/dist/intelligence.js +3 -3
- package/dist/knowledge.d.ts +7 -7
- package/dist/knowledge.js +3 -3
- package/dist/lifecycle.d.ts +3 -3
- package/dist/lifecycle.js +2 -2
- package/dist/{local-harness-B7bNuNJw.d.ts → local-harness-C2HDGiOY.d.ts} +16 -0
- package/dist/{loop-runner-bin-D4bMIxmB.d.ts → loop-runner-bin-z1nz1Wks.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +6 -6
- package/dist/loop-runner-bin.js +4 -4
- package/dist/loops.d.ts +15 -15
- package/dist/loops.js +3 -3
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +31 -11
- package/dist/mcp/index.js +6 -4
- package/dist/mcp/index.js.map +1 -1
- package/dist/{mcp-serve-verifier-BuXjaZDE.d.ts → mcp-serve-verifier-C65X30mY.d.ts} +1 -1
- package/dist/{openai-tools-D0ZSRCC6.d.ts → openai-tools-BMOu1t3A.d.ts} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{sanitize-C2jicjNf.d.ts → sanitize-Dr3SliRC.d.ts} +1 -1
- package/dist/{supervise-DTNcLDl2.d.ts → supervise-BWFqM8bL.d.ts} +4 -4
- package/dist/{types-Bb-CqxJH.d.ts → types-DHLXdLVN.d.ts} +1 -1
- package/dist/{types-DWA64rbJ.d.ts → types-Kjr5W6OF.d.ts} +1 -1
- package/dist/{worktree-fanout-IMKqdV_E.d.ts → worktree-fanout-BaD6BDr2.d.ts} +7 -4
- package/package.json +1 -1
- package/dist/chunk-PJNGPWTA.js +0 -634
- package/dist/chunk-PJNGPWTA.js.map +0 -1
- package/dist/chunk-URMJTSXB.js.map +0 -1
- /package/dist/{chunk-K7OPNHU4.js.map → chunk-6SIVHKNH.js.map} +0 -0
- /package/dist/{chunk-D336OZHK.js.map → chunk-7PSFJTJZ.js.map} +0 -0
- /package/dist/{chunk-HPCJBBLS.js.map → chunk-EJSELWQY.js.map} +0 -0
- /package/dist/{chunk-SJHFJOCY.js.map → chunk-J3XISCCP.js.map} +0 -0
- /package/dist/{chunk-RTSZNYXM.js.map → chunk-OXQHAHOM.js.map} +0 -0
- /package/dist/{chunk-JEP2WM24.js.map → chunk-YHK6MLB7.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ControlEvalResult, KnowledgeReadinessReport, KnowledgeRequirement } from '@tangle-network/agent-eval';
|
|
2
|
-
import { A as AgentRuntimeEvent, a as RuntimeStreamEvent, b as AgentTaskStatus } from './types-
|
|
2
|
+
import { A as AgentRuntimeEvent, a as RuntimeStreamEvent, b as AgentTaskStatus } from './types-Kjr5W6OF.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* THE canonical agentic tool-loop. One inference turn → run any requested tools → fold the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as Scope, a as ResultBlobStore, B as Budget, A as Agent, b as SupervisedResult } from './types-
|
|
2
|
-
import { M as MakeWorkerAgent, A as AnalystRegistry, E as ExecutorConfig } from './coordination-
|
|
3
|
-
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-
|
|
4
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
1
|
+
import { S as Scope, a as ResultBlobStore, B as Budget, A as Agent, b as SupervisedResult } from './types-DHLXdLVN.js';
|
|
2
|
+
import { M as MakeWorkerAgent, A as AnalystRegistry, E as ExecutorConfig } from './coordination-DzXsfxre.js';
|
|
3
|
+
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-Dr3SliRC.js';
|
|
4
|
+
import { D as DeliverableSpec } from './completion-gate-CDnL2Wws.js';
|
|
5
5
|
|
|
6
6
|
/** The supervisor's profile — the subset of an `AgentProfile` that selects + shapes its brain.
|
|
7
7
|
* `harness` is the backend-as-data discriminant; `systemPrompt` is the standing instruction. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefaultVerdict } from '@tangle-network/agent-eval';
|
|
2
2
|
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
3
3
|
import { BackendType } from '@tangle-network/sandbox';
|
|
4
|
-
import { L as LoopTokenUsage, R as RuntimeHooks } from './types-
|
|
4
|
+
import { L as LoopTokenUsage, R as RuntimeHooks } from './types-Kjr5W6OF.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
@@ -1308,4 +1308,4 @@ interface ExecCtx {
|
|
|
1308
1308
|
parentSpanId?: string;
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
|
-
export { type SelectionReceipt as $, type AgentRuntimeEvent as A, type BackendErrorDetail as B, type RuntimeHookErrorContext as C, type Driver as D, type ExecCtx as E, type RuntimeHookEvent as F, type RuntimeHookPhase as G, type RuntimeHookTarget as H, type Iteration as I, type RuntimeRunHandle as J, type KnowledgeReadinessDecision as K, type LoopTokenUsage as L, type RuntimeRunPersistenceAdapter as M, type RuntimeRunRow as N, type OpenAIChatTool as O, composeRuntimeHooks as P, defineRuntimeHooks as Q, type RuntimeHooks as R, type SandboxClient as S, notifyRuntimeDecisionPoint as T, notifyRuntimeHookEvent as U, type Validator as V, startRuntimeRun as W, type LoopWinner as X, type LoopLineageOptions as Y, type LoopResult as Z, type MountRecorder as _, type RuntimeStreamEvent as a, type LoopDecisionPayload as a0, type LoopEndedPayload as a1, type LoopIterationDispatchPayload as a2, type LoopIterationEndedPayload as a3, type LoopIterationStartedPayload as a4, type LoopPlanDescription as a5, type LoopPlanPayload as a6, type LoopStartedPayload as a7, type LoopTeardownFailedPayload as a8, type MountManifestEntry as a9, type RunProvenance as aa, type ValidationCtx as ab, type AgentTaskStatus as b, type OutputAdapter as c, type AgentRunSpec as d, type
|
|
1311
|
+
export { type SelectionReceipt as $, type AgentRuntimeEvent as A, type BackendErrorDetail as B, type RuntimeHookErrorContext as C, type Driver as D, type ExecCtx as E, type RuntimeHookEvent as F, type RuntimeHookPhase as G, type RuntimeHookTarget as H, type Iteration as I, type RuntimeRunHandle as J, type KnowledgeReadinessDecision as K, type LoopTokenUsage as L, type RuntimeRunPersistenceAdapter as M, type RuntimeRunRow as N, type OpenAIChatTool as O, composeRuntimeHooks as P, defineRuntimeHooks as Q, type RuntimeHooks as R, type SandboxClient as S, notifyRuntimeDecisionPoint as T, notifyRuntimeHookEvent as U, type Validator as V, startRuntimeRun as W, type LoopWinner as X, type LoopLineageOptions as Y, type LoopResult as Z, type MountRecorder as _, type RuntimeStreamEvent as a, type LoopDecisionPayload as a0, type LoopEndedPayload as a1, type LoopIterationDispatchPayload as a2, type LoopIterationEndedPayload as a3, type LoopIterationStartedPayload as a4, type LoopPlanDescription as a5, type LoopPlanPayload as a6, type LoopStartedPayload as a7, type LoopTeardownFailedPayload as a8, type MountManifestEntry as a9, type RunProvenance as aa, type ValidationCtx as ab, type AgentTaskStatus as b, type OutputAdapter as c, type AgentRunSpec as d, type LoopTraceEvent as e, type LoopSandboxPlacement as f, type LoopTraceEmitter as g, type AgentBackendInput as h, type OpenAIChatToolChoice as i, type OpenAIChatResponseFormat as j, type AgentExecutionBackend as k, type AgentBackendContext as l, type RunAgentTaskOptions as m, type AgentTaskRunResult as n, type RunAgentTaskStreamOptions as o, type RuntimeSessionStore as p, type RuntimeSession as q, type AgentAdapter as r, type AgentKnowledgeProvider as s, type AgentRuntimeEventSink as t, type AgentTaskContext as u, type AgentTaskSpec as v, type RuntimeDecisionEvidenceRef as w, type RuntimeDecisionKind as x, type RuntimeDecisionPoint as y, type RuntimeHookContext as z };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
2
2
|
import { AnalystFinding, DefaultVerdict } from '@tangle-network/agent-eval';
|
|
3
|
-
import { d as AgentSpec, e as ExecutorRegistry, B as Budget, A as Agent, f as SpawnJournal, a as ResultBlobStore, g as RootHandle, b as SupervisedResult, N as NodeId, h as Settled, i as Spend, S as Scope, c as Executor } from './types-
|
|
4
|
-
import { R as RuntimeHooks, I as Iteration } from './types-
|
|
3
|
+
import { d as AgentSpec, e as ExecutorRegistry, B as Budget, A as Agent, f as SpawnJournal, a as ResultBlobStore, g as RootHandle, b as SupervisedResult, N as NodeId, h as Settled, i as Spend, S as Scope, c as Executor } from './types-DHLXdLVN.js';
|
|
4
|
+
import { R as RuntimeHooks, I as Iteration } from './types-Kjr5W6OF.js';
|
|
5
5
|
import { BackendType } from '@tangle-network/sandbox';
|
|
6
|
-
import { W as WorktreeHarnessResult, G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-
|
|
7
|
-
import { L as LocalHarness, r as runLocalHarness } from './local-harness-
|
|
6
|
+
import { W as WorktreeHarnessResult, G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-CDnL2Wws.js';
|
|
7
|
+
import { L as LocalHarness, r as runLocalHarness } from './local-harness-C2HDGiOY.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
@@ -832,6 +832,9 @@ interface WorktreeCliExecutorOptions {
|
|
|
832
832
|
/** Run Codex with an ephemeral session, isolated config/instructions, network disabled, and
|
|
833
833
|
* JSONL usage capture. Requires `harness: 'codex'`; metered by default. */
|
|
834
834
|
codexReproducible?: boolean;
|
|
835
|
+
/** Absolute host paths denied to reproducible Codex (for benchmark answer copies, credentials,
|
|
836
|
+
* or other task-specific ambient state). */
|
|
837
|
+
codexReadDeniedPaths?: ReadonlyArray<string>;
|
|
835
838
|
/**
|
|
836
839
|
* Shell command run in the live worktree to derive the tests-PASS signal (e.g. `pnpm test`).
|
|
837
840
|
* Its exit code becomes `artifact.checks.tests.passed`. Omit to skip (no signal derived).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.94.
|
|
3
|
+
"version": "0.94.3",
|
|
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": {
|