@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
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-
|
|
4
|
-
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-
|
|
5
|
-
export { b as CodexExecutionEvidence, a as CodexExecutionPolicy, C as CodexTokenUsage, c as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-
|
|
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-
|
|
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
|
+
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-C2HDGiOY.js';
|
|
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-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,
|