@tangle-network/agent-runtime 0.71.1 → 0.73.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/README.md +8 -8
- package/dist/agent.d.ts +27 -17
- package/dist/agent.js +21 -9
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/analyst-loop.js +3 -2
- package/dist/{chunk-4KGQHS7U.js → chunk-7ODB76J5.js} +2 -18
- package/dist/chunk-7ODB76J5.js.map +1 -0
- package/dist/chunk-HPYWEFVY.js +4039 -0
- package/dist/chunk-HPYWEFVY.js.map +1 -0
- package/dist/{chunk-P5OKDSLB.js → chunk-IODKUOBA.js} +5 -3
- package/dist/{chunk-P5OKDSLB.js.map → chunk-IODKUOBA.js.map} +1 -1
- package/dist/chunk-NBV35BR6.js +68 -0
- package/dist/chunk-NBV35BR6.js.map +1 -0
- package/dist/{chunk-5ISW5JUF.js → chunk-NCH4XUZ7.js} +2004 -6551
- package/dist/chunk-NCH4XUZ7.js.map +1 -0
- package/dist/chunk-PBE35ULD.js +52 -0
- package/dist/chunk-PBE35ULD.js.map +1 -0
- package/dist/{chunk-VLF5RHEQ.js → chunk-T2HVQVB4.js} +1 -66
- package/dist/chunk-T2HVQVB4.js.map +1 -0
- package/dist/{chunk-K3RM4MPM.js → chunk-U56XGKVY.js} +9 -24
- package/dist/chunk-U56XGKVY.js.map +1 -0
- package/dist/chunk-UZ5SODU7.js +29 -0
- package/dist/chunk-UZ5SODU7.js.map +1 -0
- package/dist/{delegates-CsXJPZDH.d.ts → coordination-DU0saWeg.d.ts} +875 -1099
- package/dist/index.d.ts +7 -8
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +1 -1
- package/dist/lifecycle.d.ts +281 -0
- package/dist/lifecycle.js +174 -0
- package/dist/lifecycle.js.map +1 -0
- package/dist/{loop-runner-bin-DLM_bVQO.d.ts → loop-runner-bin-eD3m0rHW.d.ts} +10 -27
- package/dist/loop-runner-bin.d.ts +5 -6
- package/dist/loop-runner-bin.js +6 -6
- package/dist/loops.d.ts +47 -10
- package/dist/loops.js +47 -42
- package/dist/mcp/bin.js +17 -329
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +10 -190
- package/dist/mcp/index.js +949 -47
- package/dist/mcp/index.js.map +1 -1
- package/dist/{openai-tools-kdCS-T12.d.ts → openai-tools-CBurv8Cu.d.ts} +11 -13
- package/dist/otel-export-BKmNwiCb.d.ts +180 -0
- package/dist/profiles.d.ts +3 -3
- package/dist/profiles.js +1 -5
- package/dist/profiles.js.map +1 -1
- package/dist/{substrate-BoRXgvka.d.ts → substrate-rNj6TDc3.d.ts} +7 -23
- package/dist/{types-CdnEAE3U.d.ts → types-JufmXF2a.d.ts} +80 -1
- package/dist/worktree-DaxOvw-C.d.ts +702 -0
- package/dist/{worktree-fanout-CK2ypmEm.d.ts → worktree-fanout-DIffZohV.d.ts} +15 -5
- package/package.json +6 -1
- package/dist/chunk-4KGQHS7U.js.map +0 -1
- package/dist/chunk-5ISW5JUF.js.map +0 -1
- package/dist/chunk-74UAWZXE.js +0 -278
- package/dist/chunk-74UAWZXE.js.map +0 -1
- package/dist/chunk-DVQGYDN5.js +0 -59
- package/dist/chunk-DVQGYDN5.js.map +0 -1
- package/dist/chunk-INXDNX2W.js +0 -475
- package/dist/chunk-INXDNX2W.js.map +0 -1
- package/dist/chunk-K3RM4MPM.js.map +0 -1
- package/dist/chunk-VLF5RHEQ.js.map +0 -1
- package/dist/chunk-XRYEZPR6.js +0 -88
- package/dist/chunk-XRYEZPR6.js.map +0 -1
- package/dist/coordination-BPQmuwv8.d.ts +0 -666
- package/dist/delegation-profile-Bvfro2m1.d.ts +0 -99
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { AgentProfile, AgentEvalError, AnalystFinding, KnowledgeReadinessReport, RunRecord, ControlEvalResult, KnowledgeRequirement } from '@tangle-network/agent-eval';
|
|
2
2
|
export { AgentEvalError, AgentEvalErrorCode, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, DataAcquisitionPlan, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, NotFoundError, RunRecord, ValidationError } from '@tangle-network/agent-eval';
|
|
3
|
-
import { f as AgentBackendInput, g as AgentExecutionBackend, O as OpenAIChatTool, h as OpenAIChatToolChoice, i as AgentBackendContext, R as RuntimeStreamEvent, K as KnowledgeReadinessDecision, j as RunAgentTaskOptions, k as AgentTaskRunResult, l as RunAgentTaskStreamOptions, m as AgentRuntimeEvent, n as AgentTaskStatus, o as RuntimeSessionStore, p as RuntimeSession, b as RuntimeHooks } from './types-
|
|
4
|
-
export { q as AgentAdapter, r as AgentKnowledgeProvider, s as AgentRuntimeEventSink, t as AgentTaskContext, u as AgentTaskSpec, B as BackendErrorDetail, v as RuntimeDecisionEvidenceRef, w as RuntimeDecisionKind, x as RuntimeDecisionPoint, y as RuntimeHookContext, z as RuntimeHookErrorContext, C as RuntimeHookEvent, D as RuntimeHookPhase, F as RuntimeHookTarget, G as RuntimeRunHandle, H as RuntimeRunPersistenceAdapter, J as RuntimeRunRow, M as composeRuntimeHooks, N as defineRuntimeHooks, P as notifyRuntimeDecisionPoint, Q as notifyRuntimeHookEvent, T as startRuntimeRun } from './types-
|
|
3
|
+
import { f as AgentBackendInput, g as AgentExecutionBackend, O as OpenAIChatTool, h as OpenAIChatToolChoice, i as AgentBackendContext, R as RuntimeStreamEvent, K as KnowledgeReadinessDecision, j as RunAgentTaskOptions, k as AgentTaskRunResult, l as RunAgentTaskStreamOptions, m as AgentRuntimeEvent, n as AgentTaskStatus, o as RuntimeSessionStore, p as RuntimeSession, b as RuntimeHooks } from './types-JufmXF2a.js';
|
|
4
|
+
export { q as AgentAdapter, r as AgentKnowledgeProvider, s as AgentRuntimeEventSink, t as AgentTaskContext, u as AgentTaskSpec, B as BackendErrorDetail, v as RuntimeDecisionEvidenceRef, w as RuntimeDecisionKind, x as RuntimeDecisionPoint, y as RuntimeHookContext, z as RuntimeHookErrorContext, C as RuntimeHookEvent, D as RuntimeHookPhase, F as RuntimeHookTarget, G as RuntimeRunHandle, H as RuntimeRunPersistenceAdapter, J as RuntimeRunRow, M as composeRuntimeHooks, N as defineRuntimeHooks, P as notifyRuntimeDecisionPoint, Q as notifyRuntimeHookEvent, T as startRuntimeRun } from './types-JufmXF2a.js';
|
|
5
5
|
import { AgentProfile as AgentProfile$1 } from '@tangle-network/agent-interface';
|
|
6
6
|
import { Scenario, ProfileDispatchFn, LabeledScenarioStore, WorktreeAdapter, SurfaceProposer } from '@tangle-network/agent-eval/campaign';
|
|
7
|
-
import { L as LocalHarness, r as runLocalHarness } from './
|
|
8
|
-
export { a_ as EvalRunEvent, a$ as EvalRunGeneration, b0 as EvalRunsExportConfig, b1 as EvalRunsExportResult, b2 as INTELLIGENCE_WIRE_VERSION, b3 as LoopSpanNode, b4 as OtelAttribute, b5 as OtelExportConfig, b6 as OtelExporter, b7 as OtelSpan, b8 as buildLoopOtelSpans, b9 as buildLoopSpanNodes, ba as createOtelExporter, bb as exportEvalRuns, bc as loopEventToOtelSpan } from './delegates-CsXJPZDH.js';
|
|
7
|
+
import { L as LocalHarness, r as runLocalHarness } from './worktree-DaxOvw-C.js';
|
|
9
8
|
import { Scenario as Scenario$1, SurfaceProposer as SurfaceProposer$1, JudgeConfig, MutableSurface, DispatchContext, SelfImproveBudget, SelfImproveLlm, SelfImproveResult } from '@tangle-network/agent-eval/contract';
|
|
10
9
|
import { S as SurfaceImprovementEdit } from './improvement-adapter-CioiEE2z.js';
|
|
11
10
|
import { I as ImprovementAdapter } from './types-BC3bZpH0.js';
|
|
12
|
-
export {
|
|
13
|
-
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-
|
|
11
|
+
export { D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, j as runDelegatedLoop, k as runLoopRunnerCli, s as selfImproveLoopRunner, w as worktreeLoopRunner } from './loop-runner-bin-eD3m0rHW.js';
|
|
12
|
+
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-CBurv8Cu.js';
|
|
13
|
+
export { E as EvalRunEvent, a as EvalRunGeneration, b as EvalRunsExportConfig, c as EvalRunsExportResult, I as INTELLIGENCE_WIRE_VERSION, L as LoopSpanNode, d as OtelAttribute, e as OtelExportConfig, O as OtelExporter, f as OtelSpan, g as buildLoopOtelSpans, h as buildLoopSpanNodes, i as createOtelExporter, j as exportEvalRuns, l as loopEventToOtelSpan } from './otel-export-BKmNwiCb.js';
|
|
14
14
|
import '@tangle-network/sandbox';
|
|
15
15
|
import 'node:child_process';
|
|
16
|
-
import './substrate-BoRXgvka.js';
|
|
17
16
|
import './kb-gate-CuzMYGYM.js';
|
|
18
|
-
import './worktree-fanout-
|
|
17
|
+
import './worktree-fanout-DIffZohV.js';
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
* @stable
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
mcpToolsForRuntimeMcp,
|
|
3
|
+
mcpToolsForRuntimeMcpSubset
|
|
4
|
+
} from "./chunk-7ODB76J5.js";
|
|
1
5
|
import {
|
|
2
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
3
7
|
cleanModelId,
|
|
@@ -9,7 +13,6 @@ import {
|
|
|
9
13
|
import {
|
|
10
14
|
DELEGATED_LOOP_MODES,
|
|
11
15
|
auditLoopRunner,
|
|
12
|
-
coderLoopRunner,
|
|
13
16
|
isDelegatedLoopMode,
|
|
14
17
|
parseLoopRunnerArgv,
|
|
15
18
|
researchLoopRunner,
|
|
@@ -17,14 +20,9 @@ import {
|
|
|
17
20
|
runLoopRunnerCli,
|
|
18
21
|
selfImproveLoopRunner,
|
|
19
22
|
worktreeLoopRunner
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-P5OKDSLB.js";
|
|
22
|
-
import {
|
|
23
|
-
mcpToolsForRuntimeMcp,
|
|
24
|
-
mcpToolsForRuntimeMcpSubset
|
|
25
|
-
} from "./chunk-4KGQHS7U.js";
|
|
23
|
+
} from "./chunk-U56XGKVY.js";
|
|
26
24
|
import "./chunk-FNMGYYSS.js";
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-HPYWEFVY.js";
|
|
28
26
|
import {
|
|
29
27
|
assertModelAllowed,
|
|
30
28
|
composeRuntimeHooks,
|
|
@@ -32,7 +30,7 @@ import {
|
|
|
32
30
|
notifyRuntimeDecisionPoint,
|
|
33
31
|
notifyRuntimeHookEvent,
|
|
34
32
|
runLocalHarness
|
|
35
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NCH4XUZ7.js";
|
|
36
34
|
import {
|
|
37
35
|
INTELLIGENCE_WIRE_VERSION,
|
|
38
36
|
buildLoopOtelSpans,
|
|
@@ -41,6 +39,8 @@ import {
|
|
|
41
39
|
exportEvalRuns,
|
|
42
40
|
loopEventToOtelSpan
|
|
43
41
|
} from "./chunk-VMNEQHJR.js";
|
|
42
|
+
import "./chunk-IODKUOBA.js";
|
|
43
|
+
import "./chunk-T2HVQVB4.js";
|
|
44
44
|
import {
|
|
45
45
|
AgentEvalError,
|
|
46
46
|
BackendTransportError,
|
|
@@ -51,8 +51,7 @@ import {
|
|
|
51
51
|
RuntimeRunStateError,
|
|
52
52
|
SessionMismatchError,
|
|
53
53
|
ValidationError
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-DVQGYDN5.js";
|
|
54
|
+
} from "./chunk-NBV35BR6.js";
|
|
56
55
|
import "./chunk-WIR4HOOJ.js";
|
|
57
56
|
import "./chunk-DGUM43GV.js";
|
|
58
57
|
|
|
@@ -3751,7 +3750,6 @@ export {
|
|
|
3751
3750
|
buildLoopOtelSpans,
|
|
3752
3751
|
buildLoopSpanNodes,
|
|
3753
3752
|
cleanModelId,
|
|
3754
|
-
coderLoopRunner,
|
|
3755
3753
|
commandVerifier,
|
|
3756
3754
|
composeRuntimeHooks,
|
|
3757
3755
|
computeBackoff,
|