@tangle-network/agent-runtime 0.94.2 → 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/analyst-loop.d.ts +1 -1
- package/dist/{chunk-JFAGXZKR.js → chunk-2GHZEULG.js} +160 -15
- package/dist/chunk-2GHZEULG.js.map +1 -0
- package/dist/{chunk-DNK3L7QB.js → chunk-6SIVHKNH.js} +2 -2
- package/dist/{chunk-L4CACVIJ.js → chunk-7PSFJTJZ.js} +2 -2
- package/dist/{chunk-7ESP4C3O.js → chunk-EJSELWQY.js} +2 -2
- package/dist/{chunk-TTWMSNFZ.js → chunk-FDJFHWLD.js} +2 -2
- package/dist/{chunk-ZLPKMFOE.js → chunk-J3XISCCP.js} +2 -2
- package/dist/{chunk-PV6Q3OKU.js → chunk-OXQHAHOM.js} +3 -3
- package/dist/{chunk-OAVVQAOQ.js → chunk-YHK6MLB7.js} +2 -2
- package/dist/{completion-gate-Bz7VYs7a.d.ts → completion-gate-CDnL2Wws.d.ts} +1 -1
- package/dist/{coordination-CdU8LyvB.d.ts → coordination-DzXsfxre.d.ts} +4 -4
- package/dist/environment-provider.d.ts +2 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/knowledge.d.ts +6 -6
- package/dist/knowledge.js +3 -3
- package/dist/lifecycle.js +2 -2
- package/dist/{loop-runner-bin-BSvtOPMv.d.ts → loop-runner-bin-z1nz1Wks.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +5 -5
- package/dist/loop-runner-bin.js +4 -4
- package/dist/loops.d.ts +14 -14
- package/dist/loops.js +3 -3
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +29 -9
- package/dist/mcp/index.js +6 -4
- package/dist/mcp/index.js.map +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-U6DTnQu6.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-DqzIBWMW.d.ts → worktree-fanout-BaD6BDr2.d.ts} +3 -3
- package/package.json +1 -1
- package/dist/chunk-JFAGXZKR.js.map +0 -1
- /package/dist/{chunk-DNK3L7QB.js.map → chunk-6SIVHKNH.js.map} +0 -0
- /package/dist/{chunk-L4CACVIJ.js.map → chunk-7PSFJTJZ.js.map} +0 -0
- /package/dist/{chunk-7ESP4C3O.js.map → chunk-EJSELWQY.js.map} +0 -0
- /package/dist/{chunk-TTWMSNFZ.js.map → chunk-FDJFHWLD.js.map} +0 -0
- /package/dist/{chunk-ZLPKMFOE.js.map → chunk-J3XISCCP.js.map} +0 -0
- /package/dist/{chunk-PV6Q3OKU.js.map → chunk-OXQHAHOM.js.map} +0 -0
- /package/dist/{chunk-OAVVQAOQ.js.map → chunk-YHK6MLB7.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as ExecutorFactory, e as ExecutorRegistry, i as Spend, A as Agent, S as Scope, a as ResultBlobStore, B as Budget } from './types-
|
|
1
|
+
import { E as ExecutorFactory, e as ExecutorRegistry, i as Spend, A as Agent, S as Scope, a as ResultBlobStore, B as Budget } from './types-DHLXdLVN.js';
|
|
2
2
|
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
3
3
|
import { U as UiLens, a as UiFinding, C as CoderTask } from './substrate-DO2GHNg2.js';
|
|
4
|
-
import { S as SandboxClient, E as ExecCtx, g as LoopTraceEmitter,
|
|
4
|
+
import { S as SandboxClient, E as ExecCtx, g as LoopTraceEmitter, e as LoopTraceEvent, a as RuntimeStreamEvent, d as AgentRunSpec } from './types-Kjr5W6OF.js';
|
|
5
5
|
import { BackendType, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
6
6
|
import { AgentEvalError } from '@tangle-network/agent-eval';
|
|
7
|
-
import { b as ToolSpec, c as RuntimeTelemetryOptions, R as RouterConfig } from './sanitize-
|
|
8
|
-
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-
|
|
7
|
+
import { b as ToolSpec, c as RuntimeTelemetryOptions, R as RouterConfig } from './sanitize-Dr3SliRC.js';
|
|
8
|
+
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-CDnL2Wws.js';
|
|
9
9
|
import { L as LocalHarness } from './local-harness-C2HDGiOY.js';
|
|
10
10
|
import { ProviderExecutorOptions, AgentEnvironmentProviderRegistry } from './environment-provider.js';
|
|
11
11
|
import { AgentEnvironmentProvider } from '@tangle-network/agent-interface/environment-provider';
|
|
@@ -2,8 +2,8 @@ import { AgentProfile, AgentProfileValidationResult } from '@tangle-network/agen
|
|
|
2
2
|
import { CreateAgentEnvironmentInput, AgentTurnInput, AgentEnvironmentProvider, AgentEnvironmentCapabilities, AgentProfileRef } from '@tangle-network/agent-interface/environment-provider';
|
|
3
3
|
export { AgentEnvironment, AgentEnvironmentCapabilities, AgentEnvironmentEvent, AgentEnvironmentProvider, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentSession, AgentSessionRef, AgentSessionStatus, AgentTurnInput, AgentTurnResult, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from '@tangle-network/agent-interface/environment-provider';
|
|
4
4
|
import { CreateSandboxOptions, BackendType } from '@tangle-network/sandbox';
|
|
5
|
-
import { R as Runtime, E as ExecutorFactory } from './types-
|
|
6
|
-
import { S as SandboxClient } from './types-
|
|
5
|
+
import { R as Runtime, E as ExecutorFactory } from './types-DHLXdLVN.js';
|
|
6
|
+
import { S as SandboxClient } from './types-Kjr5W6OF.js';
|
|
7
7
|
import '@tangle-network/agent-eval';
|
|
8
8
|
|
|
9
9
|
/** Provider object or registry name accepted by runtime provider adapters.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentProfile, AgentEvalError, AnalystFinding, KnowledgeReadinessReport, RunRecord, ControlEvalResult } 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 { h as AgentBackendInput, O as OpenAIChatTool, i as OpenAIChatToolChoice, j as OpenAIChatResponseFormat, k as AgentExecutionBackend, l as AgentBackendContext, a as RuntimeStreamEvent, K as KnowledgeReadinessDecision, m as RunAgentTaskOptions, n as AgentTaskRunResult, o as RunAgentTaskStreamOptions, p as RuntimeSessionStore, q as RuntimeSession, R as RuntimeHooks } from './types-
|
|
4
|
-
export { r as AgentAdapter, s as AgentKnowledgeProvider, A as AgentRuntimeEvent, t as AgentRuntimeEventSink, u as AgentTaskContext, v as AgentTaskSpec, b as AgentTaskStatus, B as BackendErrorDetail, w as RuntimeDecisionEvidenceRef, x as RuntimeDecisionKind, y as RuntimeDecisionPoint, z as RuntimeHookContext, C as RuntimeHookErrorContext, F as RuntimeHookEvent, G as RuntimeHookPhase, H as RuntimeHookTarget, J as RuntimeRunHandle, M as RuntimeRunPersistenceAdapter, N as RuntimeRunRow, P as composeRuntimeHooks, Q as defineRuntimeHooks, T as notifyRuntimeDecisionPoint, U as notifyRuntimeHookEvent, W as startRuntimeRun } from './types-
|
|
3
|
+
import { h as AgentBackendInput, O as OpenAIChatTool, i as OpenAIChatToolChoice, j as OpenAIChatResponseFormat, k as AgentExecutionBackend, l as AgentBackendContext, a as RuntimeStreamEvent, K as KnowledgeReadinessDecision, m as RunAgentTaskOptions, n as AgentTaskRunResult, o as RunAgentTaskStreamOptions, p as RuntimeSessionStore, q as RuntimeSession, R as RuntimeHooks } from './types-Kjr5W6OF.js';
|
|
4
|
+
export { r as AgentAdapter, s as AgentKnowledgeProvider, A as AgentRuntimeEvent, t as AgentRuntimeEventSink, u as AgentTaskContext, v as AgentTaskSpec, b as AgentTaskStatus, B as BackendErrorDetail, w as RuntimeDecisionEvidenceRef, x as RuntimeDecisionKind, y as RuntimeDecisionPoint, z as RuntimeHookContext, C as RuntimeHookErrorContext, F as RuntimeHookEvent, G as RuntimeHookPhase, H as RuntimeHookTarget, J as RuntimeRunHandle, M as RuntimeRunPersistenceAdapter, N as RuntimeRunRow, P as composeRuntimeHooks, Q as defineRuntimeHooks, T as notifyRuntimeDecisionPoint, U as notifyRuntimeHookEvent, W as startRuntimeRun } from './types-Kjr5W6OF.js';
|
|
5
5
|
export { AgentCandidateCodeSource, AgentCandidateCodeSurfaceSource, AgentCandidateModelGrantActivateInput, AgentCandidateModelGrantClient, AgentCandidateModelGrantReservation, AgentCandidateModelGrantReserveInput, AgentCandidateModelGrantSettleInput, AgentCandidateProfileSource, BuildAgentCandidateBundleInput, CreateProtectedAgentCandidateModelPortOptions, DisposePreparedAgentCandidateOptions, FileAgentCandidateExecutionClaimStore, FileAgentCandidateExecutionClaimStoreOptions, RecoverExpiredAgentCandidateOptions, applyExactAgentProfileDiff, buildAgentCandidateBundle, candidateExecutionClaim, createProtectedAgentCandidateModelPort, disposePreparedAgentCandidateExecution, parseExactAgentProfile, parseExactAgentProfileDiff, persistCandidateOutputArtifact, recoverExpiredAgentCandidateExecution, verifyAgentCandidateBundle } from './candidate-execution/index.js';
|
|
6
6
|
export { d as AgentCandidateArtifactPort, e as AgentCandidateBenchmarkGraderIdentity, f as AgentCandidateBenchmarkGraderPort, A as AgentCandidateBundleInput, g as AgentCandidateContainerPort, h as AgentCandidateExecutionAttemptRecord, i as AgentCandidateExecutionAttemptRef, j as AgentCandidateExecutionClaim, k as AgentCandidateExecutionClaimResult, l as AgentCandidateExecutionClaimStore, m as AgentCandidateExecutionCleanupHandles, n as AgentCandidateExecutionFailureClass, o as AgentCandidateExecutionFinishResult, p as AgentCandidateExecutionLease, q as AgentCandidateExecutionPhase, r as AgentCandidateExecutionPhaseResult, b as AgentCandidateExecutionPorts, s as AgentCandidateExecutionRecoveryEvidence, t as AgentCandidateExecutionStageResult, u as AgentCandidateExecutionTerminalRecord, v as AgentCandidateExecutionTerminalResult, w as AgentCandidateExecutionUsage, x as AgentCandidateExecutorFinalCapture, y as AgentCandidateExecutorMemoryCapture, z as AgentCandidateExecutorPort, B as AgentCandidateExecutorProfileFile, C as AgentCandidateExecutorRequest, D as AgentCandidateExecutorStopRequest, F as AgentCandidateExecutorTaskOutcomeCapture, G as AgentCandidateExecutorWorkspaceFile, H as AgentCandidateExecutorWorkspaceInput, I as AgentCandidateMemoryPort, J as AgentCandidateMemoryResetResult, K as AgentCandidateModelLimits, L as AgentCandidateModelPort, M as AgentCandidateOutputArtifactPort, N as AgentCandidateOutputPurpose, O as AgentCandidateProtectedModelActivation, Q as AgentCandidateProtectedModelCall, R as AgentCandidateProtectedModelReservation, S as AgentCandidateProtectedModelSettlement, T as AgentCandidateProtectedRunCapture, U as AgentCandidateRepositoryPort, V as AgentCandidateRetryRejection, c as AgentCandidateRunFinalization, a as AgentCandidateTaskExecution, W as AgentCandidateVerificationPorts, X as AgentCandidateWorkspacePort, Y as CANDIDATE_TRACE_ENV, Z as CANDIDATE_TRACE_TAGS, _ as CanonicalCandidateDocument, E as ExecutePreparedAgentCandidateOptions, $ as InMemoryAgentCandidateExecutionClaimStore, P as PrepareAgentCandidateExecutionOptions, a0 as PreparedAgentCandidateExecution, a1 as PreparedAgentCandidateInstruction, a2 as PreparedAgentCandidateLaunch, a3 as PreparedAgentCandidateTrace, a4 as ResolvedAgentCandidateContainer, a5 as VerifiedAgentCandidate, a6 as VerifiedAgentCandidateTaskOutcome, a7 as executePreparedAgentCandidate, a8 as prepareAgentCandidateExecution, a9 as sealAgentCandidateBundle } from './prepare-BKxAiUcH.js';
|
|
7
7
|
import { Scenario, ProfileDispatchFn, ProposeContext, SurfaceProposer } from '@tangle-network/agent-eval/campaign';
|
|
@@ -14,20 +14,20 @@ import { Scenario as Scenario$1, SelfImproveOptions } from '@tangle-network/agen
|
|
|
14
14
|
import { S as SurfaceImprovementEdit } from './improvement-adapter-BieWeK5J.js';
|
|
15
15
|
import { I as ImprovementAdapter } from './types-BC3bZpH0.js';
|
|
16
16
|
export { AgentKnowledgeReadinessCheckOptions, KnowledgeImprovementJobMeasurement, KnowledgeImprovementJobResult, KnowledgeReadinessCheck, KnowledgeReadinessCheckInput, KnowledgeReadinessCheckResult, RESEARCH_SUPERVISOR_SYSTEM_PROMPT, RunKnowledgeImprovementJobOptions, SupervisedKnowledgeUpdateInput, SupervisedKnowledgeUpdateOptions, SupervisedKnowledgeUpdateResult, SupervisedKnowledgeUpdater, createAgentKnowledgeReadinessCheck, createSupervisedKnowledgeUpdater, formatSupervisedKnowledgeTask, knowledgeReadinessDeliverable, runKnowledgeImprovementJob, runSupervisedKnowledgeUpdate } from './knowledge.js';
|
|
17
|
-
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-
|
|
18
|
-
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-
|
|
19
|
-
export { b0 as EvalRunEvent, b1 as EvalRunGeneration, b2 as EvalRunsExportConfig, b3 as EvalRunsExportResult, b4 as INTELLIGENCE_WIRE_VERSION, b5 as LoopSpanNode, b6 as OtelAttribute, b7 as OtelExportConfig, b8 as OtelExporter, b9 as OtelSpan, ba as RuntimeEventOtelOptions, bb as buildLoopOtelSpans, bc as buildLoopSpanNodes, bd as buildRuntimeEventOtelSpans, be as createOtelExporter, bf as exportEvalRuns, bg as loopEventToOtelSpan } from './coordination-
|
|
20
|
-
import { c as RuntimeTelemetryOptions } from './sanitize-
|
|
21
|
-
export { d as RuntimeEventCollector, e as RuntimeStreamEventCollector, S as SanitizedKnowledgeReadinessReport, f as createRuntimeEventCollector, g as createRuntimeStreamEventCollector, s as sanitizeAgentRuntimeEvent, h as sanitizeKnowledgeReadinessReport, i as sanitizeRuntimeStreamEvent } from './sanitize-
|
|
17
|
+
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-z1nz1Wks.js';
|
|
18
|
+
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-BMOu1t3A.js';
|
|
19
|
+
export { b0 as EvalRunEvent, b1 as EvalRunGeneration, b2 as EvalRunsExportConfig, b3 as EvalRunsExportResult, b4 as INTELLIGENCE_WIRE_VERSION, b5 as LoopSpanNode, b6 as OtelAttribute, b7 as OtelExportConfig, b8 as OtelExporter, b9 as OtelSpan, ba as RuntimeEventOtelOptions, bb as buildLoopOtelSpans, bc as buildLoopSpanNodes, bd as buildRuntimeEventOtelSpans, be as createOtelExporter, bf as exportEvalRuns, bg as loopEventToOtelSpan } from './coordination-DzXsfxre.js';
|
|
20
|
+
import { c as RuntimeTelemetryOptions } from './sanitize-Dr3SliRC.js';
|
|
21
|
+
export { d as RuntimeEventCollector, e as RuntimeStreamEventCollector, S as SanitizedKnowledgeReadinessReport, f as createRuntimeEventCollector, g as createRuntimeStreamEventCollector, s as sanitizeAgentRuntimeEvent, h as sanitizeKnowledgeReadinessReport, i as sanitizeRuntimeStreamEvent } from './sanitize-Dr3SliRC.js';
|
|
22
22
|
import '@tangle-network/sandbox';
|
|
23
23
|
import './local-harness-C2HDGiOY.js';
|
|
24
24
|
import 'node:child_process';
|
|
25
25
|
import '@tangle-network/agent-knowledge';
|
|
26
|
-
import './supervise-
|
|
27
|
-
import './types-
|
|
28
|
-
import './completion-gate-
|
|
26
|
+
import './supervise-BWFqM8bL.js';
|
|
27
|
+
import './types-DHLXdLVN.js';
|
|
28
|
+
import './completion-gate-CDnL2Wws.js';
|
|
29
29
|
import './kb-gate-CwHO0vz6.js';
|
|
30
|
-
import './worktree-fanout-
|
|
30
|
+
import './worktree-fanout-BaD6BDr2.js';
|
|
31
31
|
import './substrate-DO2GHNg2.js';
|
|
32
32
|
import './environment-provider.js';
|
|
33
33
|
import '@tangle-network/agent-interface/environment-provider';
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
mcpToolsForRuntimeMcp,
|
|
10
10
|
mcpToolsForRuntimeMcpSubset
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6SIVHKNH.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_ROUTER_BASE_URL,
|
|
14
14
|
cleanModelId,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
runLoopRunnerCli,
|
|
28
28
|
selfImproveLoopRunner,
|
|
29
29
|
worktreeLoopRunner
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OXQHAHOM.js";
|
|
31
31
|
import "./chunk-SGKPNBXE.js";
|
|
32
32
|
import {
|
|
33
33
|
applyImprovementWinnerToProfile,
|
|
34
34
|
improve,
|
|
35
35
|
improvementDriver,
|
|
36
36
|
rawTraceDistiller
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-J3XISCCP.js";
|
|
38
38
|
import {
|
|
39
39
|
CANDIDATE_TRACE_ENV,
|
|
40
40
|
CANDIDATE_TRACE_TAGS,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
normalizeBackendStreamEvent,
|
|
60
60
|
nowIso,
|
|
61
61
|
touchSession
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-7PSFJTJZ.js";
|
|
63
63
|
import "./chunk-ZQZX77MM.js";
|
|
64
64
|
import {
|
|
65
65
|
mcpBuildPrompt,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
agenticGenerator,
|
|
71
71
|
commandVerifier
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-YHK6MLB7.js";
|
|
73
73
|
import {
|
|
74
74
|
RESEARCH_SUPERVISOR_SYSTEM_PROMPT,
|
|
75
75
|
createAgentKnowledgeReadinessCheck,
|
|
@@ -78,14 +78,14 @@ import {
|
|
|
78
78
|
knowledgeReadinessDeliverable,
|
|
79
79
|
runKnowledgeImprovementJob,
|
|
80
80
|
runSupervisedKnowledgeUpdate
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-EJSELWQY.js";
|
|
82
82
|
import "./chunk-5QOB7H74.js";
|
|
83
83
|
import {
|
|
84
84
|
composeRuntimeHooks,
|
|
85
85
|
defineRuntimeHooks,
|
|
86
86
|
notifyRuntimeDecisionPoint,
|
|
87
87
|
notifyRuntimeHookEvent
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-FDJFHWLD.js";
|
|
89
89
|
import "./chunk-DPEUKJRO.js";
|
|
90
90
|
import {
|
|
91
91
|
INTELLIGENCE_WIRE_VERSION,
|
|
@@ -105,7 +105,7 @@ import "./chunk-WIPGQ4GT.js";
|
|
|
105
105
|
import "./chunk-VSWBYWFK.js";
|
|
106
106
|
import "./chunk-3MDZX7YU.js";
|
|
107
107
|
import "./chunk-FVJ7M3DA.js";
|
|
108
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-2GHZEULG.js";
|
|
109
109
|
import {
|
|
110
110
|
AgentEvalError,
|
|
111
111
|
BackendTransportError,
|
package/dist/intelligence.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentProfile, AgentCandidateBundle, Sha256Digest, AgentProfileDiff, AgentProfileMcpServer } from '@tangle-network/agent-interface';
|
|
2
|
-
import {
|
|
3
|
-
import { b as ToolSpec, c as RuntimeTelemetryOptions } from './sanitize-
|
|
2
|
+
import { e as LoopTraceEvent, a as RuntimeStreamEvent } from './types-Kjr5W6OF.js';
|
|
3
|
+
import { b as ToolSpec, c as RuntimeTelemetryOptions } from './sanitize-Dr3SliRC.js';
|
|
4
4
|
import { AnalystFinding } from '@tangle-network/agent-eval/analyst';
|
|
5
5
|
import { Scenario, SelfImproveResult } from '@tangle-network/agent-eval/contract';
|
|
6
6
|
import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-BC3bZpH0.js';
|
package/dist/intelligence.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyImprovementWinnerToProfile,
|
|
3
3
|
improve
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J3XISCCP.js";
|
|
5
5
|
import {
|
|
6
6
|
assertCandidateProfileBinding,
|
|
7
7
|
canonicalCandidateDigest,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
runAnalystLoop
|
|
19
19
|
} from "./chunk-ZQZX77MM.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YHK6MLB7.js";
|
|
21
21
|
import {
|
|
22
22
|
buildLoopOtelSpans,
|
|
23
23
|
buildRuntimeEventOtelSpans,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import "./chunk-WIPGQ4GT.js";
|
|
28
28
|
import "./chunk-3MDZX7YU.js";
|
|
29
29
|
import "./chunk-FVJ7M3DA.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-2GHZEULG.js";
|
|
31
31
|
import "./chunk-YEJR7IXO.js";
|
|
32
32
|
import "./chunk-DGUM43GV.js";
|
|
33
33
|
|
package/dist/knowledge.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { KnowledgeReadinessSpec, BuildEvalKnowledgeBundleOptions, KnowledgeBaseQualityOptions, KnowledgeImprovementResult, KnowledgeImprovementOptions } from '@tangle-network/agent-knowledge';
|
|
2
|
-
import { E as ExecutorConfig } from './coordination-
|
|
3
|
-
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-
|
|
4
|
-
import { B as Budget, b as SupervisedResult } from './types-
|
|
5
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
2
|
+
import { E as ExecutorConfig } from './coordination-DzXsfxre.js';
|
|
3
|
+
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-BWFqM8bL.js';
|
|
4
|
+
import { B as Budget, b as SupervisedResult } from './types-DHLXdLVN.js';
|
|
5
|
+
import { D as DeliverableSpec } from './completion-gate-CDnL2Wws.js';
|
|
6
6
|
import '@tangle-network/agent-interface';
|
|
7
7
|
import './substrate-DO2GHNg2.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-Kjr5W6OF.js';
|
|
9
9
|
import '@tangle-network/agent-eval';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
|
-
import './sanitize-
|
|
11
|
+
import './sanitize-Dr3SliRC.js';
|
|
12
12
|
import './local-harness-C2HDGiOY.js';
|
|
13
13
|
import 'node:child_process';
|
|
14
14
|
import './environment-provider.js';
|
package/dist/knowledge.js
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
knowledgeReadinessDeliverable,
|
|
7
7
|
runKnowledgeImprovementJob,
|
|
8
8
|
runSupervisedKnowledgeUpdate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EJSELWQY.js";
|
|
10
10
|
import "./chunk-5QOB7H74.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FDJFHWLD.js";
|
|
12
12
|
import "./chunk-DPEUKJRO.js";
|
|
13
13
|
import "./chunk-ISTDY47H.js";
|
|
14
14
|
import "./chunk-WIPGQ4GT.js";
|
|
15
15
|
import "./chunk-VSWBYWFK.js";
|
|
16
16
|
import "./chunk-3MDZX7YU.js";
|
|
17
17
|
import "./chunk-FVJ7M3DA.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2GHZEULG.js";
|
|
19
19
|
import "./chunk-YEJR7IXO.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
package/dist/lifecycle.js
CHANGED
|
@@ -2,8 +2,8 @@ import { Scenario } from '@tangle-network/agent-eval/campaign';
|
|
|
2
2
|
import { SelfImproveOptions, SelfImproveResult } from '@tangle-network/agent-eval/contract';
|
|
3
3
|
import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-BC3bZpH0.js';
|
|
4
4
|
import { F as FactCandidate, C as CreateKbGateOptions } from './kb-gate-CwHO0vz6.js';
|
|
5
|
-
import { B as Budget } from './types-
|
|
6
|
-
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-
|
|
5
|
+
import { B as Budget } from './types-DHLXdLVN.js';
|
|
6
|
+
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-BaD6BDr2.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-
|
|
2
|
+
export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-z1nz1Wks.js';
|
|
3
3
|
import '@tangle-network/agent-eval/campaign';
|
|
4
4
|
import '@tangle-network/agent-eval/contract';
|
|
5
5
|
import './types-BC3bZpH0.js';
|
|
6
6
|
import '@tangle-network/agent-eval';
|
|
7
7
|
import './kb-gate-CwHO0vz6.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-DHLXdLVN.js';
|
|
9
9
|
import '@tangle-network/agent-interface';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
|
-
import './types-
|
|
12
|
-
import './worktree-fanout-
|
|
13
|
-
import './completion-gate-
|
|
11
|
+
import './types-Kjr5W6OF.js';
|
|
12
|
+
import './worktree-fanout-BaD6BDr2.js';
|
|
13
|
+
import './completion-gate-CDnL2Wws.js';
|
|
14
14
|
import './local-harness-C2HDGiOY.js';
|
|
15
15
|
import 'node:child_process';
|
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OXQHAHOM.js";
|
|
6
6
|
import "./chunk-SGKPNBXE.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-7PSFJTJZ.js";
|
|
8
8
|
import "./chunk-ZQZX77MM.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-FDJFHWLD.js";
|
|
10
10
|
import "./chunk-DPEUKJRO.js";
|
|
11
11
|
import "./chunk-ISTDY47H.js";
|
|
12
12
|
import "./chunk-WIPGQ4GT.js";
|
|
13
13
|
import "./chunk-VSWBYWFK.js";
|
|
14
14
|
import "./chunk-3MDZX7YU.js";
|
|
15
15
|
import "./chunk-FVJ7M3DA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2GHZEULG.js";
|
|
17
17
|
import "./chunk-YEJR7IXO.js";
|
|
18
18
|
import "./chunk-DGUM43GV.js";
|
|
19
19
|
export {
|
package/dist/loops.d.ts
CHANGED
|
@@ -2,24 +2,24 @@ import { ChatClient, RunRecord, HarnessType, AgentProfile, AnalystFinding, Analy
|
|
|
2
2
|
export { AnalystFinding, DefaultVerdict, computeFindingId, makeFinding } from '@tangle-network/agent-eval';
|
|
3
3
|
import { SandboxEvent, SandboxInstance, CreateSandboxOptions, PromptOptions, TaskOptions } from '@tangle-network/sandbox';
|
|
4
4
|
export { AgentProfile, CreateSandboxOptions, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
5
|
-
import { a as ResultBlobStore, f as SpawnJournal, N as NodeId, j as SpawnEvent, E as ExecutorFactory, A as Agent, B as Budget, S as Scope, h as Settled, b as SupervisedResult, i as Spend, U as UsageEvent, e as ExecutorRegistry, k as Supervisor } from './types-
|
|
6
|
-
export { d as AgentSpec, c as Executor, l as ExecutorContext, m as ExecutorResult, R as Runtime, n as SupervisorOpts, T as TreeView, W as WidenGate } from './types-
|
|
7
|
-
import { M as MakeWorkerAgent, A as AnalystRegistry, o as CoordinationTools, n as CoordinationEvent, as as QuestionPolicy, E as ExecutorConfig } from './coordination-
|
|
8
|
-
export { bh as BusEvent, bi as BusRecord, bj as BusStats, bk as EventBus, bl as ProviderSeam, bm as PublishOptions, bn as cliWorktreeExecutor, bo as createEventBus, bp as createExecutor, bq as createExecutorRegistry } from './coordination-
|
|
9
|
-
import { R as RuntimeHooks, I as Iteration, S as SandboxClient, D as Driver, d as AgentRunSpec, c as OutputAdapter, V as Validator, E as ExecCtx, X as LoopWinner, Y as LoopLineageOptions, Z as LoopResult, L as LoopTokenUsage, a as RuntimeStreamEvent, _ as MountRecorder, k as AgentExecutionBackend, b as AgentTaskStatus, B as BackendErrorDetail, $ as SelectionReceipt } from './types-
|
|
10
|
-
export { a0 as LoopDecisionPayload, a1 as LoopEndedPayload, a2 as LoopIterationDispatchPayload, a3 as LoopIterationEndedPayload, a4 as LoopIterationStartedPayload, a5 as LoopPlanDescription, a6 as LoopPlanPayload,
|
|
5
|
+
import { a as ResultBlobStore, f as SpawnJournal, N as NodeId, j as SpawnEvent, E as ExecutorFactory, A as Agent, B as Budget, S as Scope, h as Settled, b as SupervisedResult, i as Spend, U as UsageEvent, e as ExecutorRegistry, k as Supervisor } from './types-DHLXdLVN.js';
|
|
6
|
+
export { d as AgentSpec, c as Executor, l as ExecutorContext, m as ExecutorResult, R as Runtime, n as SupervisorOpts, T as TreeView, W as WidenGate } from './types-DHLXdLVN.js';
|
|
7
|
+
import { M as MakeWorkerAgent, A as AnalystRegistry, o as CoordinationTools, n as CoordinationEvent, as as QuestionPolicy, E as ExecutorConfig } from './coordination-DzXsfxre.js';
|
|
8
|
+
export { bh as BusEvent, bi as BusRecord, bj as BusStats, bk as EventBus, bl as ProviderSeam, bm as PublishOptions, bn as cliWorktreeExecutor, bo as createEventBus, bp as createExecutor, bq as createExecutorRegistry } from './coordination-DzXsfxre.js';
|
|
9
|
+
import { R as RuntimeHooks, I as Iteration, S as SandboxClient, D as Driver, d as AgentRunSpec, c as OutputAdapter, V as Validator, E as ExecCtx, X as LoopWinner, Y as LoopLineageOptions, Z as LoopResult, L as LoopTokenUsage, a as RuntimeStreamEvent, _ as MountRecorder, k as AgentExecutionBackend, b as AgentTaskStatus, B as BackendErrorDetail, $ as SelectionReceipt } from './types-Kjr5W6OF.js';
|
|
10
|
+
export { a0 as LoopDecisionPayload, a1 as LoopEndedPayload, a2 as LoopIterationDispatchPayload, a3 as LoopIterationEndedPayload, a4 as LoopIterationStartedPayload, a5 as LoopPlanDescription, a6 as LoopPlanPayload, f as LoopSandboxPlacement, a7 as LoopStartedPayload, a8 as LoopTeardownFailedPayload, g as LoopTraceEmitter, e as LoopTraceEvent, a9 as MountManifestEntry, aa as RunProvenance, ab as ValidationCtx } from './types-Kjr5W6OF.js';
|
|
11
11
|
import { RunProfileMatrixResult, Scenario, ProfileDispatchFn, JudgeConfig, RunProfileMatrixOptions, DispatchFn } from '@tangle-network/agent-eval/campaign';
|
|
12
12
|
export { AgentEnvironmentProviderRef, AgentEnvironmentProviderRegistry, ProviderAsSandboxClientOptions, ProviderExecutorOptions, SandboxClientProviderOptions, createAgentEnvironmentProviderRegistry, providerAsExecutor, providerAsSandboxClient, resolveAgentEnvironmentProvider, sandboxClientAsProvider } from './environment-provider.js';
|
|
13
|
-
import { C as CorpusRecord, c as Corpus, O as Outcome, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-
|
|
14
|
-
export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-
|
|
13
|
+
import { C as CorpusRecord, c as Corpus, O as Outcome, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-BaD6BDr2.js';
|
|
14
|
+
export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-BaD6BDr2.js';
|
|
15
15
|
import { b as AnalystRegistryLike } from './types-BC3bZpH0.js';
|
|
16
16
|
import { AgentProfile as AgentProfile$1 } from '@tangle-network/agent-interface';
|
|
17
|
-
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-
|
|
18
|
-
export { j as RouterChatResult, k as RouterChatToolsResult, l as RouterToolCall, m as RouterToolLoopResult, n as ToolLoopCompaction, b as ToolSpec, r as routerBrain, o as routerChatWithTools, p as routerChatWithUsage, q as routerToolLoop } from './sanitize-
|
|
19
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
20
|
-
export { g as WorktreeCommandResult, h as gateOnDeliverable } from './completion-gate-
|
|
21
|
-
import { S as SupervisorProfile } from './supervise-
|
|
22
|
-
export { D as DriveHarness, a as SuperviseOptions, b as SupervisorAgentDeps, s as supervise, c as supervisorAgent, w as workerFromBackend } from './supervise-
|
|
17
|
+
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-Dr3SliRC.js';
|
|
18
|
+
export { j as RouterChatResult, k as RouterChatToolsResult, l as RouterToolCall, m as RouterToolLoopResult, n as ToolLoopCompaction, b as ToolSpec, r as routerBrain, o as routerChatWithTools, p as routerChatWithUsage, q as routerToolLoop } from './sanitize-Dr3SliRC.js';
|
|
19
|
+
import { D as DeliverableSpec } from './completion-gate-CDnL2Wws.js';
|
|
20
|
+
export { g as WorktreeCommandResult, h as gateOnDeliverable } from './completion-gate-CDnL2Wws.js';
|
|
21
|
+
import { S as SupervisorProfile } from './supervise-BWFqM8bL.js';
|
|
22
|
+
export { D as DriveHarness, a as SuperviseOptions, b as SupervisorAgentDeps, s as supervise, c as supervisorAgent, w as workerFromBackend } from './supervise-BWFqM8bL.js';
|
|
23
23
|
import { stuckLoopView, toolWasteView } from '@tangle-network/agent-eval/pipelines';
|
|
24
24
|
export { AgentEnvironment, AgentEnvironmentCapabilities, AgentEnvironmentEvent, AgentEnvironmentProvider, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentSession, AgentSessionRef, AgentSessionStatus, AgentTurnInput, AgentTurnResult, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from '@tangle-network/agent-interface/environment-provider';
|
|
25
25
|
import './substrate-DO2GHNg2.js';
|
package/dist/loops.js
CHANGED
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
watchTrace,
|
|
103
103
|
widen,
|
|
104
104
|
worktreeFanout
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-7PSFJTJZ.js";
|
|
106
106
|
import {
|
|
107
107
|
acquireSandbox,
|
|
108
108
|
asAuthoredProfile,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
supervisorAgent,
|
|
141
141
|
supervisorInstructions,
|
|
142
142
|
workerFromBackend
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-FDJFHWLD.js";
|
|
144
144
|
import "./chunk-DPEUKJRO.js";
|
|
145
145
|
import {
|
|
146
146
|
assertModelAllowed
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
mapSandboxToolEvent,
|
|
166
166
|
sumSandboxUsage
|
|
167
167
|
} from "./chunk-FVJ7M3DA.js";
|
|
168
|
-
import "./chunk-
|
|
168
|
+
import "./chunk-2GHZEULG.js";
|
|
169
169
|
import "./chunk-YEJR7IXO.js";
|
|
170
170
|
import "./chunk-DGUM43GV.js";
|
|
171
171
|
export {
|
package/dist/mcp/bin.js
CHANGED
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
DelegationTaskQueue,
|
|
10
10
|
FileDelegationStore,
|
|
11
11
|
createMcpServer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-FDJFHWLD.js";
|
|
13
13
|
import "../chunk-DPEUKJRO.js";
|
|
14
14
|
import "../chunk-ISTDY47H.js";
|
|
15
15
|
import "../chunk-WIPGQ4GT.js";
|
|
16
16
|
import "../chunk-VSWBYWFK.js";
|
|
17
17
|
import "../chunk-3MDZX7YU.js";
|
|
18
18
|
import "../chunk-FVJ7M3DA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-2GHZEULG.js";
|
|
20
20
|
import "../chunk-YEJR7IXO.js";
|
|
21
21
|
import "../chunk-DGUM43GV.js";
|
|
22
22
|
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
import { S as SandboxClient,
|
|
2
|
-
import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-
|
|
3
|
-
export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, W as DelegationResumeContext, X as DelegationResumeDriver, Y as DelegationResumeTick, Z as DelegationRunContext, _ as DelegationStateCorruptError, $ as DelegationStatus, a0 as DelegationStore, a1 as DelegationTaskQueueOptions, a2 as DelegationTraceCaps, a3 as DelegationTraceCollector, a4 as DelegationTraceSpan, a5 as DetachedSessionDelegateOptions, a6 as DetachedSessionRefParts, a7 as DetachedTurn, a8 as DetachedTurnResumeDriverOptions, a9 as DetachedWinnerSelection, aa as DriveTurnCapableBox, ab as DriveTurnTick, ac as FeedbackEvent, ad as FeedbackRating, ae as FeedbackRefersTo, af as FileDelegationStore, ag as FileDelegationStoreOptions, ah as FleetWorkspaceExecutorOptions, ai as InMemoryDelegationStore, aj as InMemoryFeedbackStore, ak as JsonRpcMessage, al as JsonRpcResponse, M as MakeWorkerAgent, am as McpServer, an as McpServerOptions, ao as McpToolDescriptor, ap as McpTransport, aq as Question, ar as QuestionDecision, as as QuestionPolicy, at as QuestionRecord, au as ResearchOutputShape, av as ResearchSource, aw as RunDetachedTurnOptions, ax as SettleDetachedCoderTurnOptions, ay as SettledWorker, az as SiblingSandboxExecutorOptions, aA as SubmitInput, aB as SubmitOutput, aC as TraceContext, aD as UiAuditorDelegationOutput, aE as buildDelegationTraceSpans, aF as capDelegationTrace, aG as coderTaskFromArgs, aH as composeLoopTraceEmitters, aI as createCoordinationTools, aJ as createDelegateHandler, aK as createDelegationTraceCollector, aL as createDetachedTurnResumeDriver, aM as createFleetWorkspaceExecutor, aN as createInProcessTransport, aO as createMcpServer, aP as createPropagatingTraceEmitter, aQ as createSiblingSandboxExecutor, aR as detachedSessionDelegate, aS as detachedTurnEvents, aT as eventToSnapshot, aU as formatDetachedSessionRef, aV as hashIdempotencyInput, aW as parseDetachedSessionRef, aX as readTraceContextFromEnv, aY as runDetachedTurn, aZ as settleDetachedCoderTurn, a_ as traceContextToEnv, a$ as validateDelegateArgs } from '../coordination-
|
|
1
|
+
import { S as SandboxClient, f as LoopSandboxPlacement } from '../types-Kjr5W6OF.js';
|
|
2
|
+
import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-DzXsfxre.js';
|
|
3
|
+
export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, W as DelegationResumeContext, X as DelegationResumeDriver, Y as DelegationResumeTick, Z as DelegationRunContext, _ as DelegationStateCorruptError, $ as DelegationStatus, a0 as DelegationStore, a1 as DelegationTaskQueueOptions, a2 as DelegationTraceCaps, a3 as DelegationTraceCollector, a4 as DelegationTraceSpan, a5 as DetachedSessionDelegateOptions, a6 as DetachedSessionRefParts, a7 as DetachedTurn, a8 as DetachedTurnResumeDriverOptions, a9 as DetachedWinnerSelection, aa as DriveTurnCapableBox, ab as DriveTurnTick, ac as FeedbackEvent, ad as FeedbackRating, ae as FeedbackRefersTo, af as FileDelegationStore, ag as FileDelegationStoreOptions, ah as FleetWorkspaceExecutorOptions, ai as InMemoryDelegationStore, aj as InMemoryFeedbackStore, ak as JsonRpcMessage, al as JsonRpcResponse, M as MakeWorkerAgent, am as McpServer, an as McpServerOptions, ao as McpToolDescriptor, ap as McpTransport, aq as Question, ar as QuestionDecision, as as QuestionPolicy, at as QuestionRecord, au as ResearchOutputShape, av as ResearchSource, aw as RunDetachedTurnOptions, ax as SettleDetachedCoderTurnOptions, ay as SettledWorker, az as SiblingSandboxExecutorOptions, aA as SubmitInput, aB as SubmitOutput, aC as TraceContext, aD as UiAuditorDelegationOutput, aE as buildDelegationTraceSpans, aF as capDelegationTrace, aG as coderTaskFromArgs, aH as composeLoopTraceEmitters, aI as createCoordinationTools, aJ as createDelegateHandler, aK as createDelegationTraceCollector, aL as createDetachedTurnResumeDriver, aM as createFleetWorkspaceExecutor, aN as createInProcessTransport, aO as createMcpServer, aP as createPropagatingTraceEmitter, aQ as createSiblingSandboxExecutor, aR as detachedSessionDelegate, aS as detachedTurnEvents, aT as eventToSnapshot, aU as formatDetachedSessionRef, aV as hashIdempotencyInput, aW as parseDetachedSessionRef, aX as readTraceContextFromEnv, aY as runDetachedTurn, aZ as settleDetachedCoderTurn, a_ as traceContextToEnv, a$ as validateDelegateArgs } from '../coordination-DzXsfxre.js';
|
|
4
4
|
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-C2HDGiOY.js';
|
|
5
5
|
export { b as CodexExecutionEvidence, a as CodexExecutionPolicy, C as CodexTokenUsage, c as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-C2HDGiOY.js';
|
|
6
|
-
import { G as GitRunner } from '../completion-gate-
|
|
7
|
-
export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-
|
|
6
|
+
import { G as GitRunner } from '../completion-gate-CDnL2Wws.js';
|
|
7
|
+
export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-CDnL2Wws.js';
|
|
8
8
|
export { C as CreateKbGateOptions, F as FactCandidate, a as FactJudge, b as FactJudgeVerdict, K as KbGateResult, c as createKbGate } from '../kb-gate-CwHO0vz6.js';
|
|
9
|
-
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-
|
|
9
|
+
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-BMOu1t3A.js';
|
|
10
10
|
import { AnalystFinding } from '@tangle-network/agent-eval';
|
|
11
11
|
import { U as UiLens } from '../substrate-DO2GHNg2.js';
|
|
12
12
|
import '@tangle-network/sandbox';
|
|
13
|
-
import '../types-
|
|
13
|
+
import '../types-DHLXdLVN.js';
|
|
14
14
|
import '@tangle-network/agent-interface';
|
|
15
|
-
import '../sanitize-
|
|
15
|
+
import '../sanitize-Dr3SliRC.js';
|
|
16
16
|
import '../environment-provider.js';
|
|
17
17
|
import '@tangle-network/agent-interface/environment-provider';
|
|
18
18
|
import 'node:child_process';
|
|
19
19
|
|
|
20
|
+
/** Bounded, credential-redacted process context attached when reproducible Codex output fails
|
|
21
|
+
* validation. The process still fails closed; this only preserves enough evidence to diagnose it. */
|
|
22
|
+
interface CodexExecutionFailureDiagnostic {
|
|
23
|
+
exitCode: number | null;
|
|
24
|
+
killedBySignal: NodeJS.Signals | null;
|
|
25
|
+
timedOut: boolean;
|
|
26
|
+
durationMs: number;
|
|
27
|
+
stdout: string;
|
|
28
|
+
stderr: string;
|
|
29
|
+
stdoutTruncated: boolean;
|
|
30
|
+
stderrTruncated: boolean;
|
|
31
|
+
}
|
|
32
|
+
/** Thrown when reproducible Codex exits without one valid terminal usage event. */
|
|
33
|
+
declare class CodexExecutionDiagnosticError extends Error {
|
|
34
|
+
readonly reason: string;
|
|
35
|
+
readonly diagnostic: CodexExecutionFailureDiagnostic;
|
|
36
|
+
readonly code = "CODEX_EXECUTION_DIAGNOSTIC";
|
|
37
|
+
constructor(reason: string, diagnostic: CodexExecutionFailureDiagnostic, cause?: unknown);
|
|
38
|
+
}
|
|
39
|
+
|
|
20
40
|
/**
|
|
21
41
|
*
|
|
22
42
|
* Helpers extracted from `bin.ts` so the env-detection + executor-selection
|
|
@@ -435,4 +455,4 @@ interface DelegationStatusHandlerOptions {
|
|
|
435
455
|
/** Build the MCP tool handler that polls a `DelegationTaskQueue` for task status. @experimental */
|
|
436
456
|
declare function createDelegationStatusHandler(options: DelegationStatusHandlerOptions): (raw: unknown) => Promise<DelegationStatusResult>;
|
|
437
457
|
|
|
438
|
-
export { type Check, type CheckRunnerOptions, DELEGATE_FEEDBACK_DESCRIPTION, DELEGATE_FEEDBACK_INPUT_SCHEMA, DELEGATE_FEEDBACK_TOOL_NAME, DELEGATE_UI_AUDIT_DESCRIPTION, DELEGATE_UI_AUDIT_INPUT_SCHEMA, DELEGATE_UI_AUDIT_TOOL_NAME, DELEGATION_HISTORY_DESCRIPTION, DELEGATION_HISTORY_INPUT_SCHEMA, DELEGATION_HISTORY_TOOL_NAME, DELEGATION_STATUS_DESCRIPTION, DELEGATION_STATUS_INPUT_SCHEMA, DELEGATION_STATUS_TOOL_NAME, DelegateFeedbackArgs, DelegateFeedbackResult, DelegateUiAuditArgs, DelegateUiAuditResult, DelegationExecutor, DelegationHistoryArgs, DelegationHistoryResult, DelegationStatusArgs, DelegationStatusResult, DelegationTaskQueue, type DetectExecutorArgs, FeedbackStore, FleetHandle, GitRunner, type InProcessExecutorDescribePlacement, type InProcessExecutorOptions, LocalHarness, UiAuditorDelegate, createDelegateFeedbackHandler, createDelegateUiAuditHandler, createDelegationHistoryHandler, createDelegationStatusHandler, createInProcessExecutor, defaultChecks, detectExecutor, liftFindings, makeCheckRunner, renderTrace, runCheck, runLocalHarness, validateDelegateFeedbackArgs, validateDelegateUiAuditArgs, validateDelegationHistoryArgs, validateDelegationStatusArgs };
|
|
458
|
+
export { type Check, type CheckRunnerOptions, CodexExecutionDiagnosticError, type CodexExecutionFailureDiagnostic, DELEGATE_FEEDBACK_DESCRIPTION, DELEGATE_FEEDBACK_INPUT_SCHEMA, DELEGATE_FEEDBACK_TOOL_NAME, DELEGATE_UI_AUDIT_DESCRIPTION, DELEGATE_UI_AUDIT_INPUT_SCHEMA, DELEGATE_UI_AUDIT_TOOL_NAME, DELEGATION_HISTORY_DESCRIPTION, DELEGATION_HISTORY_INPUT_SCHEMA, DELEGATION_HISTORY_TOOL_NAME, DELEGATION_STATUS_DESCRIPTION, DELEGATION_STATUS_INPUT_SCHEMA, DELEGATION_STATUS_TOOL_NAME, DelegateFeedbackArgs, DelegateFeedbackResult, DelegateUiAuditArgs, DelegateUiAuditResult, DelegationExecutor, DelegationHistoryArgs, DelegationHistoryResult, DelegationStatusArgs, DelegationStatusResult, DelegationTaskQueue, type DetectExecutorArgs, FeedbackStore, FleetHandle, GitRunner, type InProcessExecutorDescribePlacement, type InProcessExecutorOptions, LocalHarness, UiAuditorDelegate, createDelegateFeedbackHandler, createDelegateUiAuditHandler, createDelegationHistoryHandler, createDelegationStatusHandler, createInProcessExecutor, defaultChecks, detectExecutor, liftFindings, makeCheckRunner, renderTrace, runCheck, runLocalHarness, validateDelegateFeedbackArgs, validateDelegateUiAuditArgs, validateDelegationHistoryArgs, validateDelegationStatusArgs };
|
package/dist/mcp/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
mcpToolsForRuntimeMcp,
|
|
11
11
|
mcpToolsForRuntimeMcpSubset
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-6SIVHKNH.js";
|
|
13
13
|
import {
|
|
14
14
|
createKbGate
|
|
15
15
|
} from "../chunk-SGKPNBXE.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
assertTraceDerivedFindings,
|
|
18
18
|
runCoderChecks,
|
|
19
19
|
selectValidWinner
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-7PSFJTJZ.js";
|
|
21
21
|
import {
|
|
22
22
|
DELEGATE_DESCRIPTION,
|
|
23
23
|
DELEGATE_FEEDBACK_DESCRIPTION,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
validateDelegateUiAuditArgs,
|
|
68
68
|
validateDelegationHistoryArgs,
|
|
69
69
|
validateDelegationStatusArgs
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-FDJFHWLD.js";
|
|
71
71
|
import "../chunk-DPEUKJRO.js";
|
|
72
72
|
import "../chunk-ISTDY47H.js";
|
|
73
73
|
import "../chunk-WIPGQ4GT.js";
|
|
@@ -80,9 +80,10 @@ import {
|
|
|
80
80
|
} from "../chunk-3MDZX7YU.js";
|
|
81
81
|
import "../chunk-FVJ7M3DA.js";
|
|
82
82
|
import {
|
|
83
|
+
CodexExecutionDiagnosticError,
|
|
83
84
|
parseCodexTokenUsage,
|
|
84
85
|
runLocalHarness
|
|
85
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-2GHZEULG.js";
|
|
86
87
|
import {
|
|
87
88
|
ValidationError
|
|
88
89
|
} from "../chunk-YEJR7IXO.js";
|
|
@@ -1183,6 +1184,7 @@ function makeCheckRunner(kinds, opts) {
|
|
|
1183
1184
|
};
|
|
1184
1185
|
}
|
|
1185
1186
|
export {
|
|
1187
|
+
CodexExecutionDiagnosticError,
|
|
1186
1188
|
DELEGATE_DESCRIPTION,
|
|
1187
1189
|
DELEGATE_FEEDBACK_DESCRIPTION,
|
|
1188
1190
|
DELEGATE_FEEDBACK_INPUT_SCHEMA,
|