@tangle-network/agent-runtime 0.338.0 → 0.340.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/dist/{activation-kbkAuSmY.js → activation-D2PVljaw.js} +5 -18
- package/dist/{activation-kbkAuSmY.js.map → activation-D2PVljaw.js.map} +1 -1
- package/dist/{activation-CsbNax2X.d.ts → activation-DGDl4wwI.d.ts} +4 -24
- package/dist/agent.d.ts +4 -18
- package/dist/agent.js +3 -21
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +2 -2
- package/dist/{bundle-DM60AI2B.js → bundle-DNUq-OPW.js} +2 -2
- package/dist/{bundle-DM60AI2B.js.map → bundle-DNUq-OPW.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +4 -101
- package/dist/candidate-execution/index.js +10 -395
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{delegate-Se1YZKMb.js → delegate-CtJIS-tp.js} +2 -2
- package/dist/{delegate-Se1YZKMb.js.map → delegate-CtJIS-tp.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-T2a1Ouay.js → driver-control-acknowledgers-MTrs8HAF.js} +15 -11
- package/dist/driver-control-acknowledgers-MTrs8HAF.js.map +1 -0
- package/dist/{durable-file-B_eJr6Mb.js → durable-file-gNI9ILAn.js} +1 -3
- package/dist/durable-file-gNI9ILAn.js.map +1 -0
- package/dist/durable.d.ts +3 -35
- package/dist/durable.js +10 -10
- package/dist/durable.js.map +1 -1
- package/dist/{graph-CY0wH838.js → graph-DfWqp_1e.js} +4 -4
- package/dist/graph-DfWqp_1e.js.map +1 -0
- package/dist/{graph-registry-By0tUj4S.js → graph-registry-BnO64cn8.js} +3 -3
- package/dist/{graph-registry-By0tUj4S.js.map → graph-registry-BnO64cn8.js.map} +1 -1
- package/dist/{improve-CWGBT13K.js → improve-CKRVQqzt.js} +8 -35
- package/dist/improve-CKRVQqzt.js.map +1 -0
- package/dist/{improvement-adapter-D5gwwoXQ.d.ts → improvement-adapter-sIthWkcN.d.ts} +3 -21
- package/dist/index.d.ts +10 -215
- package/dist/index.js +91 -302
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +11 -143
- package/dist/intelligence.js +7 -81
- package/dist/intelligence.js.map +1 -1
- package/dist/{jsonl-file-DBv31uPi.js → jsonl-file-C9Kde_0Z.js} +2 -2
- package/dist/{jsonl-file-DBv31uPi.js.map → jsonl-file-C9Kde_0Z.js.map} +1 -1
- package/dist/kernel.d.ts +4 -3
- package/dist/kernel.js +12 -14
- package/dist/loop-runner-C4EWEcXf.d.ts +32 -0
- package/dist/loop-runner-DNWbTcVm.js +59 -0
- package/dist/loop-runner-DNWbTcVm.js.map +1 -0
- package/dist/loop-runner-bin.d.ts +32 -2
- package/dist/loop-runner-bin.js +93 -1
- package/dist/loop-runner-bin.js.map +1 -0
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +99 -418
- package/dist/mcp/index.js +121 -203
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.js +231 -1
- package/dist/mcp/memory-bin.js.map +1 -1
- package/dist/model-policy-CyCUwHed.js.map +1 -1
- package/dist/placement.d.ts +2 -33
- package/dist/placement.js +1 -35
- package/dist/placement.js.map +1 -1
- package/dist/platform.d.ts +188 -1
- package/dist/platform.js +129 -1
- package/dist/platform.js.map +1 -1
- package/dist/{prepare-Bt0IouPq.js → prepare-FzJoS68l.js} +8 -160
- package/dist/prepare-FzJoS68l.js.map +1 -0
- package/dist/{profile-Do-5xO_D.js → profile-DToH0XEs.js} +2 -2
- package/dist/profile-DToH0XEs.js.map +1 -0
- package/dist/profile-materialization-bPm0gGLO.d.ts +49 -0
- package/dist/profiles.d.ts +2 -2
- package/dist/profiles.js +3 -40
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-DGxQ8_YM.d.ts → protected-model-port-DVVh-hEk.d.ts} +3 -33
- package/dist/protected-redaction-DFCeo4vg.js.map +1 -1
- package/dist/{provision-supervisor-0jMufp4h.js → provision-supervisor-DqvWXmAE.js} +6 -6
- package/dist/{provision-supervisor-0jMufp4h.js.map → provision-supervisor-DqvWXmAE.js.map} +1 -1
- package/dist/{run-cancellation-BoW5Sg9Y.js → run-cancellation-C9oL62sW.js} +3 -7
- package/dist/{run-cancellation-BoW5Sg9Y.js.map → run-cancellation-C9oL62sW.js.map} +1 -1
- package/dist/{runtime-D37zRSs7.js → runtime-C55Zgo1R.js} +2531 -2889
- package/dist/runtime-C55Zgo1R.js.map +1 -0
- package/dist/{runtime-hooks-Bj6wJHlH.d.ts → runtime-hooks-nsqxSUFL.d.ts} +2 -6
- package/dist/{sandbox-profile-compat-xSoVtdWw.js → sandbox-profile-compat-DRr3JwDx.js} +2 -4
- package/dist/sandbox-profile-compat-DRr3JwDx.js.map +1 -0
- package/dist/{search-executor-DmgUm5p7.js → search-executor-ChOlRBgg.js} +3 -3
- package/dist/search-executor-ChOlRBgg.js.map +1 -0
- package/dist/{server-DQHJszfk.js → server-DkVBSN_S.js} +362 -67
- package/dist/server-DkVBSN_S.js.map +1 -0
- package/dist/{structural-rollout-DAvIE8mw.js → structural-rollout-C1LEk_zq.js} +80 -80
- package/dist/structural-rollout-C1LEk_zq.js.map +1 -0
- package/dist/{substrate-B0TYNrXn.js → substrate-CGDFTSRh.js} +2 -9
- package/dist/substrate-CGDFTSRh.js.map +1 -0
- package/dist/{supervise-WuPAwfPh.js → supervise-CaUAxZZP.js} +92 -75
- package/dist/supervise-CaUAxZZP.js.map +1 -0
- package/dist/{supervisor-CPG1I9UN.js → supervisor-VXuN2OHT.js} +205 -319
- package/dist/supervisor-VXuN2OHT.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +13 -13
- package/dist/testing.js.map +1 -1
- package/dist/tool-loop.d.ts +1 -1
- package/dist/{tool-server-Dqer2M4_.js → tool-server-XV4aJwoQ.js} +2 -2
- package/dist/tool-server-XV4aJwoQ.js.map +1 -0
- package/dist/top-snapshot-CbZE1JsU.js +502 -0
- package/dist/top-snapshot-CbZE1JsU.js.map +1 -0
- package/dist/tui/bin.js +711 -1
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +2 -70
- package/dist/tui/index.js +3 -3
- package/dist/{types-zWfqDjeL.d.ts → types-Cwrea-bU.d.ts} +2 -17
- package/dist/{types-CrNWif8-.d.ts → types-DZ6L0Bv3.d.ts} +765 -2152
- package/dist/workspace-store/index.d.ts +1 -107
- package/dist/workspace-store/index.js +1 -415
- package/dist/workspace-store/index.js.map +1 -1
- package/dist/{workspace-streams-BZZds1Fw.d.ts → workspace-streams-BiS4ABah.d.ts} +3 -18
- package/package.json +1 -1
- package/skills/agent-graphs/references/authoring.md +3 -2
- package/dist/coder-yhVWbdWc.js +0 -40
- package/dist/coder-yhVWbdWc.js.map +0 -1
- package/dist/delegation-status-CF4D0NZ_.js +0 -358
- package/dist/delegation-status-CF4D0NZ_.js.map +0 -1
- package/dist/driver-control-acknowledgers-T2a1Ouay.js.map +0 -1
- package/dist/durable-file-B_eJr6Mb.js.map +0 -1
- package/dist/graph-CY0wH838.js.map +0 -1
- package/dist/improve-CWGBT13K.js.map +0 -1
- package/dist/integrations-6xttbPi9.d.ts +0 -190
- package/dist/integrations-dFi-ALk7.js +0 -132
- package/dist/integrations-dFi-ALk7.js.map +0 -1
- package/dist/kb-gate-C8z2juK8.d.ts +0 -80
- package/dist/kb-gate-DpaSwXVx.js +0 -80
- package/dist/kb-gate-DpaSwXVx.js.map +0 -1
- package/dist/loop-runner-bin-CFnrAHpl.d.ts +0 -164
- package/dist/loop-runner-bin-CdPlhy9g.js +0 -246
- package/dist/loop-runner-bin-CdPlhy9g.js.map +0 -1
- package/dist/memory-server-DXQ8IxGR.js +0 -234
- package/dist/memory-server-DXQ8IxGR.js.map +0 -1
- package/dist/openai-tools-DoQ32vpe.js +0 -44
- package/dist/openai-tools-DoQ32vpe.js.map +0 -1
- package/dist/openai-tools-zh2I_uD7.d.ts +0 -24
- package/dist/prepare-Bt0IouPq.js.map +0 -1
- package/dist/profile-Do-5xO_D.js.map +0 -1
- package/dist/profile-materialization-BnoEf1co.d.ts +0 -96
- package/dist/runtime-D37zRSs7.js.map +0 -1
- package/dist/sandbox-profile-compat-xSoVtdWw.js.map +0 -1
- package/dist/search-executor-DmgUm5p7.js.map +0 -1
- package/dist/server-DQHJszfk.js.map +0 -1
- package/dist/structural-rollout-DAvIE8mw.js.map +0 -1
- package/dist/substrate-B0TYNrXn.js.map +0 -1
- package/dist/supervise-WuPAwfPh.js.map +0 -1
- package/dist/supervisor-CPG1I9UN.js.map +0 -1
- package/dist/tool-server-Dqer2M4_.js.map +0 -1
- package/dist/top-app-C55Wa7uy.js +0 -1214
- package/dist/top-app-C55Wa7uy.js.map +0 -1
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,29 +1,82 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { $_ as CoordinationEvent, $m as DelegateRunCtx, Ah as DelegationError, Ay as runLocalHarness, Bh as ResearchOutputShape, Ch as DelegateCodeArgs, Cp as McpServer, Dh as DelegateUiAuditArgs, Dp as DelegateHandlerOptions, Eh as DelegateResearchConfig, Ep as DelegateError, Fh as DelegationResultPayload, Hh as UiAuditorDelegationOutput, Ih as DelegationStatus, Jm as FeedbackEvent, Lh as DelegationStatusResult, Mh as DelegationHistoryArgs, My as LocalHarness, Nh as DelegationHistoryEntry, Oh as DelegateUiAuditConfig, Op as DelegateResult, Ph as DelegationProgress, Q_ as AwaitWakeInput, Qm as CoderReviewer, Rh as FeedbackRating, Sh as SubmitOutput, Sp as resolveSpawnResourcePaths, St as SpawnRefusalCause, Sv as QuestionOption, Th as DelegateResearchArgs, Tp as createMcpServer, Tv as QuestionUrgency, Vh as UiAuditLensFilter, Xm as CoderDelegate, Ym as FeedbackStore, Z_ as GitRunner, Zm as CoderReview, _h as DelegationResumeTick, _p as ResolvedSpawnResourcePath, ag as DelegationPersistenceError, ah as FleetHandle, ay as McpToolAnnotations, bh as DelegationTaskQueueOptions, bp as SpawnResourceReader, cg as FileDelegationStoreOptions, ch as createFleetWorkspaceExecutor, dh as RunDetachedTurnOptions, dt as CoordinationStats, eg as TraceContext, eh as DetachedSessionDelegateOptions, fh as runDetachedTurn, ft as CoordinationTools, gh as DelegationResumeDriver, gp as ResolveSpawnResourcePathsResult, gt as MakeWorkerAgent, gv as Question, hh as DelegationResumeContext, ig as composeLoopTraceEmitters, ih as DelegationExecutor, iy as JsonRpcResponse, jh as DelegationFeedbackSnapshot, jy as LOCAL_HARNESSES, kh as DelegateUiAuditRoute, kp as createDelegateHandler, ky as RunLocalHarnessOptions, lg as CoderOutput, lh as createSiblingSandboxExecutor, mh as DelegationRecord, ng as readTraceContextFromEnv, nh as UiAuditorDelegate, np as CheckRead, og as DelegationStore, oh as FleetWorkspaceExecutorOptions, oy as McpToolDescriptor, ph as DelegationArgs, pt as CoordinationToolsOptions, rg as DelegationTraceSpan, rh as detachedSessionDelegate, rv as ManagerWake, ry as JsonRpcMessage, sg as FileDelegationStore, sh as SiblingSandboxExecutorOptions, sy as McpTransport, tg as createPropagatingTraceEmitter, th as DetachedWinnerSelection, ug as CoderTask, uh as DetachedTurn, vh as DelegationRunContext, vp as SpawnResourceBytes, wh as DelegateCodeConfig, wp as McpServerOptions, wt as WorkerSpawnContext, xh as SubmitInput, xp as environmentReader, xv as QuestionLevel, xy as AnalystRegistry, yh as DelegationTaskQueue, yp as SpawnResourceRead, zh as FeedbackRefersTo } from "../types-DZ6L0Bv3.js";
|
|
2
|
+
import { HarnessType } from "@tangle-network/agent-interface";
|
|
3
|
+
//#region src/mcp/kb-gate.d.ts
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* `createKbGate` — the valid-only knowledge-base growth gate, distilled from
|
|
7
|
+
* physim's KB-research subsystem. A research-in-a-loop delegate (or any KB
|
|
8
|
+
* writer) runs candidate facts through this before persisting, so the KB grows
|
|
9
|
+
* with ONLY grounded facts — hallucinated, unsourced, or laundered claims are
|
|
10
|
+
* vetoed at the gate.
|
|
11
|
+
*
|
|
12
|
+
* Fail-closed by construction: every judge must `accept`; the FIRST veto wins
|
|
13
|
+
* and the fact is rejected. The non-negotiable floor (always on, can't be
|
|
14
|
+
* disabled) is the **passage-present guard** — a fact's `verbatimPassage` MUST
|
|
15
|
+
* literally appear in its `sourceText`. That single check kills the dominant
|
|
16
|
+
* failure mode (a confident claim decoupled from any real source).
|
|
17
|
+
*
|
|
18
|
+
* Pure + dependency-free: it operates on fact candidates, not on a store, so it
|
|
19
|
+
* composes with `@tangle-network/agent-knowledge` or any persistence layer
|
|
20
|
+
* without importing it. The remediation policy (correct-on-veto vs
|
|
21
|
+
* escalate-as-unverified) is the caller's — this returns the verdict; it never
|
|
22
|
+
* drops a fact silently.
|
|
23
|
+
*
|
|
24
|
+
* @experimental
|
|
25
|
+
*/
|
|
26
|
+
/** @experimental A fact proposed for the KB, with its grounding. */
|
|
27
|
+
interface FactCandidate {
|
|
28
|
+
/** The atomic claim text. */
|
|
29
|
+
claim: string;
|
|
30
|
+
/** Optional extracted value (number or string) the claim asserts. */
|
|
31
|
+
value?: string | number;
|
|
32
|
+
/** Verbatim span lifted from the source that backs the claim. */
|
|
33
|
+
verbatimPassage: string;
|
|
34
|
+
/** The raw source text the passage must be grounded in. */
|
|
35
|
+
sourceText: string;
|
|
36
|
+
/** Where the fact claims to come from — checked for circular/self citations. */
|
|
37
|
+
citation?: string;
|
|
19
38
|
}
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
/** @experimental */
|
|
40
|
+
interface FactJudgeVerdict {
|
|
41
|
+
accept: boolean;
|
|
42
|
+
reason?: string;
|
|
43
|
+
}
|
|
44
|
+
/** @experimental A pluggable fact validator. Throw is NOT allowed — return a
|
|
45
|
+
* verdict; a thrown judge is a programmer error, not a veto. */
|
|
46
|
+
interface FactJudge {
|
|
47
|
+
name: string;
|
|
48
|
+
judge(candidate: FactCandidate): FactJudgeVerdict | Promise<FactJudgeVerdict>;
|
|
49
|
+
}
|
|
50
|
+
/** @experimental */
|
|
51
|
+
interface KbGateResult {
|
|
52
|
+
accepted: boolean;
|
|
53
|
+
/** Name of the judge that vetoed; undefined when accepted. */
|
|
54
|
+
vetoedBy?: string;
|
|
55
|
+
reason?: string;
|
|
56
|
+
}
|
|
57
|
+
/** @experimental */
|
|
58
|
+
interface CreateKbGateOptions {
|
|
59
|
+
/** Extra judges appended after the built-in floor (e.g. an LLM judge). */
|
|
60
|
+
judges?: FactJudge[];
|
|
61
|
+
/** Minimum verbatim-passage length. Default 12 — kills empty/stub passages. */
|
|
62
|
+
minPassageChars?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Citation tokens that denote a SELF-generated artifact (e.g. `'spec'`,
|
|
65
|
+
* `'cad_params'`, `'requirements'`). A citation naming one is circular
|
|
66
|
+
* (laundering) — the fact cites a derived artifact, not a real source.
|
|
67
|
+
* Default `[]` (no circular check unless the consumer declares its kinds).
|
|
68
|
+
*/
|
|
69
|
+
selfArtifactKinds?: string[];
|
|
26
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* Build a fail-closed KB gate. The returned function runs the built-in floor
|
|
74
|
+
* (passage-non-empty → passage-present → value-in-passage → no-circular-citation)
|
|
75
|
+
* then any consumer judges, returning on the first veto.
|
|
76
|
+
*
|
|
77
|
+
* @experimental
|
|
78
|
+
*/
|
|
79
|
+
declare function createKbGate(options?: CreateKbGateOptions): (candidate: FactCandidate) => Promise<KbGateResult>;
|
|
27
80
|
//#endregion
|
|
28
81
|
//#region src/mcp/harness-native-tools.d.ts
|
|
29
82
|
/**
|
|
@@ -37,8 +90,6 @@ declare const harnessNativeTools: {
|
|
|
37
90
|
};
|
|
38
91
|
/** A harness with a sourced native tool list. */
|
|
39
92
|
type SourcedHarness = keyof typeof harnessNativeTools;
|
|
40
|
-
/** The harnesses this registry has a sourced list for. */
|
|
41
|
-
declare const sourcedHarnesses: ReadonlyArray<SourcedHarness>;
|
|
42
93
|
/**
|
|
43
94
|
* The tool names `harness` publishes natively, or `undefined` when no list has been sourced for it.
|
|
44
95
|
* The two are different facts and a caller must not read one as the other.
|
|
@@ -52,76 +103,6 @@ declare function harnessNativeToolNames(harness: HarnessType): ReadonlyArray<str
|
|
|
52
103
|
*/
|
|
53
104
|
declare function collidesWithHarnessNativeTool(name: string): ReadonlyArray<SourcedHarness>;
|
|
54
105
|
//#endregion
|
|
55
|
-
//#region src/mcp/tool-server.d.ts
|
|
56
|
-
/**
|
|
57
|
-
* Protocol versions this server speaks, newest first. `initialize` answers with
|
|
58
|
-
* the client's requested version when it is listed here, and otherwise with
|
|
59
|
-
* `PROTOCOL_VERSION` (2024-11-05), which every client that speaks 2024-11-05 accepts.
|
|
60
|
-
*/
|
|
61
|
-
declare const SUPPORTED_PROTOCOL_VERSIONS: readonly string[];
|
|
62
|
-
/** @experimental */
|
|
63
|
-
interface StdioToolServerOptions {
|
|
64
|
-
/** Server display name surfaced via `initialize`. */
|
|
65
|
-
serverName: string;
|
|
66
|
-
/** Server version surfaced via `initialize`. */
|
|
67
|
-
serverVersion: string;
|
|
68
|
-
/** The tools to serve. Duplicate names throw — a silent shadow would hide a tool. */
|
|
69
|
-
tools: readonly McpToolDescriptor[];
|
|
70
|
-
}
|
|
71
|
-
/** @experimental */
|
|
72
|
-
interface StdioToolServer {
|
|
73
|
-
/** Tools currently registered, keyed by name. */
|
|
74
|
-
readonly tools: ReadonlyMap<string, McpToolDescriptor>;
|
|
75
|
-
/** Handle a single parsed JSON-RPC message. Returns the response object (or `null` for notifications). */
|
|
76
|
-
handle(message: JsonRpcMessage): Promise<JsonRpcResponse | null>;
|
|
77
|
-
/** Drive the server on a stdio-shaped transport until `stop()` is called. */
|
|
78
|
-
serve(transport?: McpTransport): Promise<void>;
|
|
79
|
-
/** Stop a `serve` call. Subsequent requests are rejected. */
|
|
80
|
-
stop(): void;
|
|
81
|
-
}
|
|
82
|
-
/** Build the generic stdio JSON-RPC tool server. */
|
|
83
|
-
declare function createStdioToolServer(options: StdioToolServerOptions): StdioToolServer;
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region src/mcp/hub-server.d.ts
|
|
86
|
-
/** The substrate data providers whose Hub adapters become agent tools. */
|
|
87
|
-
declare const HUB_DATA_PROVIDER_KINDS: readonly string[];
|
|
88
|
-
/** The subset of `PlatformHubClient` this module needs — mocks plug in here. */
|
|
89
|
-
interface HubIntegrationClient {
|
|
90
|
-
listConnections(): Promise<PlatformConnection[]>;
|
|
91
|
-
exec(input: {
|
|
92
|
-
path: string;
|
|
93
|
-
input?: unknown;
|
|
94
|
-
connectionId?: string;
|
|
95
|
-
}): Promise<unknown>;
|
|
96
|
-
}
|
|
97
|
-
interface HubIntegrationToolsOptions {
|
|
98
|
-
client: HubIntegrationClient;
|
|
99
|
-
/** Provider kinds to expose. Defaults to `HUB_DATA_PROVIDER_KINDS`. */
|
|
100
|
-
providers?: readonly string[];
|
|
101
|
-
/** Also serve connections whose last health probe failed. Default false. */
|
|
102
|
-
includeUnhealthy?: boolean;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* One router tool per active Hub connection to a data provider. The tool
|
|
106
|
-
* handler never holds provider credentials — it execs through the Hub, which
|
|
107
|
-
* enforces the per-user action policy and writes the audit record.
|
|
108
|
-
*/
|
|
109
|
-
declare function hubIntegrationTools(options: HubIntegrationToolsOptions): Promise<McpToolDescriptor[]>;
|
|
110
|
-
interface CreateHubIntegrationToolServerOptions extends HubIntegrationToolsOptions {
|
|
111
|
-
/** Server display name surfaced via `initialize`. Default 'agent-hub-integrations'. */
|
|
112
|
-
serverName?: string;
|
|
113
|
-
/** Server version surfaced via `initialize`. Default '0'. */
|
|
114
|
-
serverVersion?: string;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Build the hub integration MCP server on the shared stdio JSON-RPC core —
|
|
118
|
-
* the same wire protocol every in-repo MCP server speaks. Serves zero tools
|
|
119
|
-
* when the caller has no active data-provider connections (a session without
|
|
120
|
-
* connections simply gets no database tools, mirroring the memory server's
|
|
121
|
-
* "no artifact, no server" discipline).
|
|
122
|
-
*/
|
|
123
|
-
declare function createHubIntegrationToolServer(options: CreateHubIntegrationToolServerOptions): Promise<StdioToolServer>;
|
|
124
|
-
//#endregion
|
|
125
106
|
//#region src/mcp/in-process-executor.d.ts
|
|
126
107
|
/** @experimental */
|
|
127
108
|
interface InProcessExecutorOptions {
|
|
@@ -147,13 +128,6 @@ interface InProcessExecutorOptions {
|
|
|
147
128
|
stderr: string;
|
|
148
129
|
}>;
|
|
149
130
|
}
|
|
150
|
-
/** @experimental */
|
|
151
|
-
interface InProcessExecutorDescribePlacement extends LoopSandboxPlacement {
|
|
152
|
-
/** Worktree path in the parent sandbox's filesystem (set so traces correlate to on-disk artifacts). */
|
|
153
|
-
worktreePath?: string;
|
|
154
|
-
/** Which harness handled this delegation. */
|
|
155
|
-
harness?: LocalHarness;
|
|
156
|
-
}
|
|
157
131
|
/**
|
|
158
132
|
* Build an in-process executor. Returns a {@link DelegationExecutor} whose `client.create()`
|
|
159
133
|
* returns a minimal virtual `SandboxInstance`; the kernel calls `streamPrompt(msg)` on it, which
|
|
@@ -168,326 +142,33 @@ interface InProcessExecutorDescribePlacement extends LoopSandboxPlacement {
|
|
|
168
142
|
*/
|
|
169
143
|
declare function createInProcessExecutor(options: InProcessExecutorOptions): DelegationExecutor;
|
|
170
144
|
//#endregion
|
|
171
|
-
//#region src/mcp/
|
|
172
|
-
/**
|
|
173
|
-
interface
|
|
174
|
-
/**
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
/** Provenance: the finding / trace / curation pass this row came from. */
|
|
181
|
-
source?: string;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The `memory` artifact payload — HOW a profile's memory is stored and served:
|
|
185
|
-
*
|
|
186
|
-
* - `store: 'file'` — served by the in-repo memory bin
|
|
187
|
-
* (`agent-runtime-memory-mcp`, src/mcp/memory-bin.ts): rows load from
|
|
188
|
-
* `path` (a JSON array or JSONL file of `MemoryItem`) and/or the inline
|
|
189
|
-
* `items` seed (inline wins on id collision). At least one of
|
|
190
|
-
* `path`/`items` is required.
|
|
191
|
-
* - `store: 'mcp'` — an EXTERNAL, already-runnable MCP server that exposes
|
|
192
|
-
* the memory tools itself; `server` is required and mounts verbatim.
|
|
193
|
-
*
|
|
194
|
-
* `logPath` makes the served memory append one JSONL row per `memory_search`
|
|
195
|
-
* — the retrieval log a holdout estimator reads (see module doc).
|
|
196
|
-
*/
|
|
197
|
-
interface AgentMemorySpec {
|
|
198
|
-
store: 'file' | 'mcp';
|
|
199
|
-
/** `store:'file'` — host path to the durable row store (JSON array or JSONL). */
|
|
200
|
-
path?: string;
|
|
201
|
-
/** Inline seed rows, served alongside (and winning over) `path` rows. */
|
|
202
|
-
items?: MemoryItem[];
|
|
203
|
-
/** `store:'mcp'` — the external server that already serves memory tools. */
|
|
204
|
-
server?: AgentProfileMcpServer;
|
|
205
|
-
/** JSONL retrieval log: one row per `memory_search` (ts, query, k, returned). */
|
|
206
|
-
logPath?: string;
|
|
207
|
-
}
|
|
208
|
-
/** Env var naming the durable row store file the memory bin loads (the
|
|
209
|
-
* `memoryMcpServer` ↔ memory-bin contract). */
|
|
210
|
-
declare const MEMORY_FILE_ENV = "AGENT_MEMORY_FILE";
|
|
211
|
-
/** Env var carrying inline JSON `MemoryItem` rows (win over file rows on id). */
|
|
212
|
-
declare const MEMORY_ITEMS_ENV = "AGENT_MEMORY_ITEMS";
|
|
213
|
-
/** Env var naming the JSONL retrieval log (one row per `memory_search`). */
|
|
214
|
-
declare const MEMORY_LOG_ENV = "AGENT_MEMORY_LOG";
|
|
215
|
-
/** Env var overriding the served display name (default 'agent-memory'). */
|
|
216
|
-
declare const MEMORY_NAME_ENV = "AGENT_MEMORY_NAME";
|
|
217
|
-
interface CreateMemoryToolServerOptions {
|
|
218
|
-
/** The rows to serve. MUST be non-empty (an empty memory is never served). */
|
|
219
|
-
items: readonly MemoryItem[];
|
|
220
|
-
/** Server display name surfaced via `initialize`. Default 'agent-memory'. */
|
|
221
|
-
serverName?: string;
|
|
222
|
-
/** Server version surfaced via `initialize`. Default '0'. */
|
|
223
|
-
serverVersion?: string;
|
|
224
|
-
/** Default result count for `memory_search`. Default 5. */
|
|
225
|
-
defaultK?: number;
|
|
226
|
-
/** Append one JSONL row per `memory_search` (the retrieval-holdout seam). */
|
|
227
|
-
logPath?: string;
|
|
145
|
+
//#region src/mcp/tool-server.d.ts
|
|
146
|
+
/** @experimental */
|
|
147
|
+
interface StdioToolServerOptions {
|
|
148
|
+
/** Server display name surfaced via `initialize`. */
|
|
149
|
+
serverName: string;
|
|
150
|
+
/** Server version surfaced via `initialize`. */
|
|
151
|
+
serverVersion: string;
|
|
152
|
+
/** The tools to serve. Duplicate names throw — a silent shadow would hide a tool. */
|
|
153
|
+
tools: readonly McpToolDescriptor[];
|
|
228
154
|
}
|
|
229
|
-
/**
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
interface ResolvedMemoryEnv {
|
|
240
|
-
items: MemoryItem[];
|
|
241
|
-
serverName?: string;
|
|
242
|
-
logPath?: string;
|
|
155
|
+
/** @experimental */
|
|
156
|
+
interface StdioToolServer {
|
|
157
|
+
/** Tools currently registered, keyed by name. */
|
|
158
|
+
readonly tools: ReadonlyMap<string, McpToolDescriptor>;
|
|
159
|
+
/** Handle a single parsed JSON-RPC message. Returns the response object (or `null` for notifications). */
|
|
160
|
+
handle(message: JsonRpcMessage): Promise<JsonRpcResponse | null>;
|
|
161
|
+
/** Drive the server on a stdio-shaped transport until `stop()` is called. */
|
|
162
|
+
serve(transport?: McpTransport): Promise<void>;
|
|
163
|
+
/** Stop a `serve` call. Subsequent requests are rejected. */
|
|
164
|
+
stop(): void;
|
|
243
165
|
}
|
|
244
|
-
/**
|
|
245
|
-
|
|
246
|
-
* `AGENT_MEMORY_ITEMS` (inline JSON rows; wins on id collision). Zero rows is
|
|
247
|
-
* a boot FAILURE, matching the fail-closed materialization discipline.
|
|
248
|
-
*/
|
|
249
|
-
declare function resolveMemoryFromEnv(env: Record<string, string | undefined>): ResolvedMemoryEnv;
|
|
166
|
+
/** Build the generic stdio JSON-RPC tool server. */
|
|
167
|
+
declare function createStdioToolServer(options: StdioToolServerOptions): StdioToolServer;
|
|
250
168
|
//#endregion
|
|
251
169
|
//#region src/mcp/tools/coordination-manager.d.ts
|
|
252
170
|
/** Build the driver's MCP tools over a live scope. */
|
|
253
171
|
declare function createCoordinationTools(opts: CoordinationToolsOptions): CoordinationTools;
|
|
254
172
|
//#endregion
|
|
255
|
-
|
|
256
|
-
/** MCP tool name for the `delegate_feedback` feedback-recording tool. @stable */
|
|
257
|
-
declare const DELEGATE_FEEDBACK_TOOL_NAME = "delegate_feedback";
|
|
258
|
-
/** Human-readable description of the `delegate_feedback` MCP tool, injected into the tool manifest. @stable */
|
|
259
|
-
declare const DELEGATE_FEEDBACK_DESCRIPTION: string;
|
|
260
|
-
/** JSON Schema for `delegate_feedback` tool arguments (`refersTo`, `rating`, `by`, optional fields). @stable */
|
|
261
|
-
declare const DELEGATE_FEEDBACK_INPUT_SCHEMA: {
|
|
262
|
-
readonly type: "object";
|
|
263
|
-
readonly properties: {
|
|
264
|
-
readonly refersTo: {
|
|
265
|
-
readonly type: "object";
|
|
266
|
-
readonly properties: {
|
|
267
|
-
readonly kind: {
|
|
268
|
-
readonly type: "string";
|
|
269
|
-
readonly enum: readonly ["delegation", "artifact", "outcome"];
|
|
270
|
-
};
|
|
271
|
-
readonly ref: {
|
|
272
|
-
readonly type: "string";
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
readonly required: readonly ["kind", "ref"];
|
|
276
|
-
readonly additionalProperties: false;
|
|
277
|
-
};
|
|
278
|
-
readonly rating: {
|
|
279
|
-
readonly type: "object";
|
|
280
|
-
readonly properties: {
|
|
281
|
-
readonly score: {
|
|
282
|
-
readonly type: "number";
|
|
283
|
-
readonly minimum: 0;
|
|
284
|
-
readonly maximum: 1;
|
|
285
|
-
};
|
|
286
|
-
readonly label: {
|
|
287
|
-
readonly type: "string";
|
|
288
|
-
readonly enum: readonly ["good", "bad", "neutral", "mixed"];
|
|
289
|
-
};
|
|
290
|
-
readonly notes: {
|
|
291
|
-
readonly type: "string";
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
readonly required: readonly ["score", "notes"];
|
|
295
|
-
readonly additionalProperties: false;
|
|
296
|
-
};
|
|
297
|
-
readonly by: {
|
|
298
|
-
readonly type: "string";
|
|
299
|
-
readonly enum: readonly ["agent", "user", "downstream-judge"];
|
|
300
|
-
};
|
|
301
|
-
readonly capturedAt: {
|
|
302
|
-
readonly type: "string";
|
|
303
|
-
};
|
|
304
|
-
readonly namespace: {
|
|
305
|
-
readonly type: "string";
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
readonly required: readonly ["refersTo", "rating", "by"];
|
|
309
|
-
readonly additionalProperties: false;
|
|
310
|
-
};
|
|
311
|
-
/** Parse and validate raw MCP tool input into typed `DelegateFeedbackArgs`; throws `TypeError` on bad input. @stable */
|
|
312
|
-
declare function validateDelegateFeedbackArgs(raw: unknown): DelegateFeedbackArgs;
|
|
313
|
-
/** @stable */
|
|
314
|
-
interface DelegateFeedbackHandlerOptions {
|
|
315
|
-
queue: DelegationTaskQueue;
|
|
316
|
-
store: FeedbackStore;
|
|
317
|
-
generateId?: () => string;
|
|
318
|
-
now?: () => string;
|
|
319
|
-
}
|
|
320
|
-
/** Build the MCP tool handler that persists feedback events and attaches them to delegation records. @stable */
|
|
321
|
-
declare function createDelegateFeedbackHandler(options: DelegateFeedbackHandlerOptions): (raw: unknown) => Promise<DelegateFeedbackResult>;
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/mcp/tools/delegate-ui-audit.d.ts
|
|
324
|
-
/** MCP tool name for the `delegate_ui_audit` async kickoff tool. @experimental */
|
|
325
|
-
declare const DELEGATE_UI_AUDIT_TOOL_NAME = "delegate_ui_audit";
|
|
326
|
-
/** Human-readable description of the `delegate_ui_audit` MCP tool, injected into the tool manifest. @experimental */
|
|
327
|
-
declare const DELEGATE_UI_AUDIT_DESCRIPTION: string;
|
|
328
|
-
/** JSON Schema for `delegate_ui_audit` tool arguments (`workspaceDir`, `routes`, optional config). @experimental */
|
|
329
|
-
declare const DELEGATE_UI_AUDIT_INPUT_SCHEMA: {
|
|
330
|
-
readonly type: "object";
|
|
331
|
-
readonly properties: {
|
|
332
|
-
readonly workspaceDir: {
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly description: "Absolute path for the audit workspace.";
|
|
335
|
-
};
|
|
336
|
-
readonly routes: {
|
|
337
|
-
readonly type: "array";
|
|
338
|
-
readonly items: {
|
|
339
|
-
readonly type: "object";
|
|
340
|
-
readonly properties: {
|
|
341
|
-
readonly name: {
|
|
342
|
-
readonly type: "string";
|
|
343
|
-
readonly description: "Stable route name (used in screenshot filenames).";
|
|
344
|
-
};
|
|
345
|
-
readonly url: {
|
|
346
|
-
readonly type: "string";
|
|
347
|
-
readonly description: "Fully-qualified URL.";
|
|
348
|
-
};
|
|
349
|
-
readonly viewports: {
|
|
350
|
-
readonly type: "array";
|
|
351
|
-
readonly items: {
|
|
352
|
-
readonly type: "object";
|
|
353
|
-
readonly properties: {
|
|
354
|
-
readonly width: {
|
|
355
|
-
readonly type: "integer";
|
|
356
|
-
readonly minimum: 1;
|
|
357
|
-
};
|
|
358
|
-
readonly height: {
|
|
359
|
-
readonly type: "integer";
|
|
360
|
-
readonly minimum: 1;
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
readonly required: readonly ["width", "height"];
|
|
364
|
-
readonly additionalProperties: false;
|
|
365
|
-
};
|
|
366
|
-
readonly description: "Viewports to capture at. Default [{1280, 800}].";
|
|
367
|
-
};
|
|
368
|
-
readonly fullPage: {
|
|
369
|
-
readonly type: "boolean";
|
|
370
|
-
};
|
|
371
|
-
readonly waitFor: {
|
|
372
|
-
readonly type: "string";
|
|
373
|
-
readonly description: "CSS selector to wait for before capturing.";
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
readonly required: readonly ["name", "url"];
|
|
377
|
-
readonly additionalProperties: false;
|
|
378
|
-
};
|
|
379
|
-
readonly minItems: 1;
|
|
380
|
-
};
|
|
381
|
-
readonly namespace: {
|
|
382
|
-
readonly type: "string";
|
|
383
|
-
readonly description: "Multi-tenant scope.";
|
|
384
|
-
};
|
|
385
|
-
readonly config: {
|
|
386
|
-
readonly type: "object";
|
|
387
|
-
readonly properties: {
|
|
388
|
-
readonly lenses: {
|
|
389
|
-
readonly type: "array";
|
|
390
|
-
readonly items: {
|
|
391
|
-
readonly type: "string";
|
|
392
|
-
readonly enum: readonly UiLens[];
|
|
393
|
-
};
|
|
394
|
-
readonly description: "Lenses to iterate. Default: every lens except \"other\".";
|
|
395
|
-
};
|
|
396
|
-
readonly maxIterations: {
|
|
397
|
-
readonly type: "integer";
|
|
398
|
-
readonly minimum: 1;
|
|
399
|
-
};
|
|
400
|
-
readonly maxConcurrency: {
|
|
401
|
-
readonly type: "integer";
|
|
402
|
-
readonly minimum: 1;
|
|
403
|
-
};
|
|
404
|
-
readonly productContext: {
|
|
405
|
-
readonly type: "string";
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
readonly additionalProperties: false;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
readonly required: readonly ["workspaceDir", "routes"];
|
|
412
|
-
readonly additionalProperties: false;
|
|
413
|
-
};
|
|
414
|
-
/** Parse and validate raw MCP tool input into typed `DelegateUiAuditArgs`; throws `TypeError` on bad input. @experimental */
|
|
415
|
-
declare function validateDelegateUiAuditArgs(raw: unknown): DelegateUiAuditArgs;
|
|
416
|
-
/** @experimental */
|
|
417
|
-
interface DelegateUiAuditHandlerOptions {
|
|
418
|
-
queue: DelegationTaskQueue;
|
|
419
|
-
delegate: UiAuditorDelegate;
|
|
420
|
-
estimateDurationMs?: (args: DelegateUiAuditArgs) => number;
|
|
421
|
-
}
|
|
422
|
-
/** Build the MCP tool handler that validates input, deduplicates via idempotency key, and enqueues a UI audit. @experimental */
|
|
423
|
-
declare function createDelegateUiAuditHandler(options: DelegateUiAuditHandlerOptions): (raw: unknown) => Promise<DelegateUiAuditResult>;
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/mcp/tools/delegation-history.d.ts
|
|
426
|
-
/** MCP tool name for the `delegation_history` read-past-delegations tool. @stable */
|
|
427
|
-
declare const DELEGATION_HISTORY_TOOL_NAME = "delegation_history";
|
|
428
|
-
/** Human-readable description of the `delegation_history` MCP tool, injected into the tool manifest. @stable */
|
|
429
|
-
declare const DELEGATION_HISTORY_DESCRIPTION: string;
|
|
430
|
-
/** JSON Schema for `delegation_history` tool arguments (optional `namespace`, `profile`, `since`, `limit`). @stable */
|
|
431
|
-
declare const DELEGATION_HISTORY_INPUT_SCHEMA: {
|
|
432
|
-
readonly type: "object";
|
|
433
|
-
readonly properties: {
|
|
434
|
-
readonly namespace: {
|
|
435
|
-
readonly type: "string";
|
|
436
|
-
};
|
|
437
|
-
readonly profile: {
|
|
438
|
-
readonly type: "string";
|
|
439
|
-
readonly enum: readonly ["coder", "researcher", "ui-auditor"];
|
|
440
|
-
};
|
|
441
|
-
readonly since: {
|
|
442
|
-
readonly type: "string";
|
|
443
|
-
readonly description: "ISO datetime — earliest startedAt to include.";
|
|
444
|
-
};
|
|
445
|
-
readonly limit: {
|
|
446
|
-
readonly type: "integer";
|
|
447
|
-
readonly minimum: 1;
|
|
448
|
-
readonly maximum: 500;
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
readonly additionalProperties: false;
|
|
452
|
-
};
|
|
453
|
-
/** Parse and validate raw MCP tool input into typed `DelegationHistoryArgs`; throws `TypeError` on bad input. @stable */
|
|
454
|
-
declare function validateDelegationHistoryArgs(raw: unknown): DelegationHistoryArgs;
|
|
455
|
-
/** @stable */
|
|
456
|
-
interface DelegationHistoryHandlerOptions {
|
|
457
|
-
queue: DelegationTaskQueue;
|
|
458
|
-
}
|
|
459
|
-
/** Build the MCP tool handler that reads filtered past delegations from a `DelegationTaskQueue`. @stable */
|
|
460
|
-
declare function createDelegationHistoryHandler(options: DelegationHistoryHandlerOptions): (raw: unknown) => Promise<DelegationHistoryResult>;
|
|
461
|
-
//#endregion
|
|
462
|
-
//#region src/mcp/tools/delegation-status.d.ts
|
|
463
|
-
/** MCP tool name for the `delegation_status` synchronous-poll tool. @stable */
|
|
464
|
-
declare const DELEGATION_STATUS_TOOL_NAME = "delegation_status";
|
|
465
|
-
/** Human-readable description of the `delegation_status` MCP tool, injected into the tool manifest. @stable */
|
|
466
|
-
declare const DELEGATION_STATUS_DESCRIPTION: string;
|
|
467
|
-
/** JSON Schema for `delegation_status` tool arguments (`taskId` + optional `includeTrace`). @stable */
|
|
468
|
-
declare const DELEGATION_STATUS_INPUT_SCHEMA: {
|
|
469
|
-
readonly type: "object";
|
|
470
|
-
readonly properties: {
|
|
471
|
-
readonly taskId: {
|
|
472
|
-
readonly type: "string";
|
|
473
|
-
readonly description: "Returned by delegate_ui_audit.";
|
|
474
|
-
};
|
|
475
|
-
readonly includeTrace: {
|
|
476
|
-
readonly type: "boolean";
|
|
477
|
-
readonly description: "Also return the journaled loop-trace span tree for this delegation. Default false.";
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
readonly required: readonly ["taskId"];
|
|
481
|
-
readonly additionalProperties: false;
|
|
482
|
-
};
|
|
483
|
-
/** Parse and validate raw MCP tool input into typed `DelegationStatusArgs`; throws `TypeError` on bad input. @stable */
|
|
484
|
-
declare function validateDelegationStatusArgs(raw: unknown): DelegationStatusArgs;
|
|
485
|
-
/** @stable */
|
|
486
|
-
interface DelegationStatusHandlerOptions {
|
|
487
|
-
queue: DelegationTaskQueue;
|
|
488
|
-
}
|
|
489
|
-
/** Build the MCP tool handler that polls a `DelegationTaskQueue` for task status. @stable */
|
|
490
|
-
declare function createDelegationStatusHandler(options: DelegationStatusHandlerOptions): (raw: unknown) => Promise<DelegationStatusResult>;
|
|
491
|
-
//#endregion
|
|
492
|
-
export { ANALYST_DEFINITION_BOUNDS, type AgentMemorySpec, type AnalystAssignmentRecord, type AnalystDefinitionIssue, type AnalystFindingEvent, type AnalystKind, type AnalystRegistry, type AnalystRunContext, type AnalystToolGroupName, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, type AuthorizeDownMessage, type AuthorizedDownMessage, type AwaitWakeInput, type CappedDelegationTrace, type ChildQuestionInbox, type CoderDelegate, type CoderOutput, type CoderReview, type CoderReviewer, CodexExecutionDiagnosticError, type CodexExecutionEvidence, type CodexExecutionFailureDiagnostic, type CodexExecutionPolicy, type CodexTokenUsage, type ContinuationInstruction, type CoordinationEvent, type CoordinationTools, type CoordinationToolsOptions, type CreateHubIntegrationToolServerOptions, type CreateKbGateOptions, type CreateMemoryToolServerOptions, type CreateWorktreeOptions, DEFAULT_LOCAL_HARNESS, DELEGATE_DESCRIPTION, DELEGATE_FEEDBACK_DESCRIPTION, DELEGATE_FEEDBACK_INPUT_SCHEMA, DELEGATE_FEEDBACK_TOOL_NAME, DELEGATE_INPUT_SCHEMA, DELEGATE_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, DELEGATION_TRACE_MAX_BYTES, DELEGATION_TRACE_MAX_SPANS, type DefinedAnalystRecord, type DelegateArgs, type DelegateCodeArgs, type DelegateCodeConfig, type DelegateCodeResult, type DelegateError, type DelegateFeedbackArgs, type DelegateFeedbackHandlerOptions, type DelegateFeedbackResult, type DelegateHandlerOptions, type DelegateResearchArgs, type DelegateResearchConfig, type DelegateResearchResult, type DelegateResult, type DelegateRunCtx, type DelegateUiAuditArgs, type DelegateUiAuditConfig, type DelegateUiAuditHandlerOptions, type DelegateUiAuditResult, type DelegateUiAuditRoute, type DelegationArgs, type DelegationError, type DelegationExecutor, type DelegationFeedbackSnapshot, type DelegationHistoryArgs, type DelegationHistoryEntry, type DelegationHistoryHandlerOptions, type DelegationHistoryResult, DelegationPersistenceError, type DelegationProfile, type DelegationProgress, type DelegationRecord, type DelegationResultPayload, type DelegationResumeContext, type DelegationResumeDriver, type DelegationResumeTick, type DelegationRunContext, DelegationStateCorruptError, type DelegationStatus, type DelegationStatusArgs, type DelegationStatusHandlerOptions, type DelegationStatusResult, type DelegationStore, DelegationTaskQueue, type DelegationTaskQueueOptions, type DelegationTraceCaps, type DelegationTraceCollector, type DelegationTraceSpan, type DetachedSessionDelegateOptions, type DetachedSessionRefParts, type DetachedTurn, type DetachedTurnResumeDriverOptions, type DetachedWinnerSelection, type DiffOptions, type DiffResult, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveTurnCapableBox, type DriveTurnTick, type EscalateQuestion, type EventAcknowledgement, type FactCandidate, type FactJudge, type FactJudgeVerdict, type FeedbackEvent, type FeedbackRating, type FeedbackRefersTo, type FeedbackStore, FileDelegationStore, type FileDelegationStoreOptions, type FleetHandle, type FleetWorkspaceExecutorOptions, type GitRunner, type GraphSubtaskPreparation, type GraphSubtasks, HUB_DATA_PROVIDER_KINDS, type HubIntegrationClient, type HubIntegrationToolsOptions, InMemoryDelegationStore, InMemoryFeedbackStore, type InProcessExecutorDescribePlacement, type InProcessExecutorOptions, type JsonRpcMessage, type JsonRpcResponse, type KbGateResult, LOCAL_HARNESSES, type LeadMessage, type LocalHarness, type LocalHarnessResult, MEMORY_FILE_ENV, MEMORY_ITEMS_ENV, MEMORY_LOG_ENV, MEMORY_NAME_ENV, type MakeWorkerAgent, type ManagerReentryState, type ManagerWake, type McpServer, type McpServerOptions, type McpToolAnnotations, type McpToolDescriptor, type McpTransport, type MemoryItem, type PeerAuditAccess, type Question, type QuestionDecision, type QuestionEscalationOutcome, type QuestionEscalationRecord, type QuestionEscalationTarget, type QuestionLevel, type QuestionOption, type QuestionPolicy, type QuestionRecord, type QuestionUrgency, type RemoveWorktreeOptions, type ResearchOutputShape, type ResearchSource, type ResolveSpawnResourcePathsResult, type ResolvedMemoryEnv, type ResolvedSpawnResourcePath, type RunDetachedTurnOptions, type RunLocalHarnessOptions, SPAWN_RESOURCE_PATH_MAX_BYTES, SUPPORTED_PROTOCOL_VERSIONS, type SettleDetachedCoderTurnOptions, type SettledWorker, type SiblingSandboxExecutorOptions, type SourcedHarness, type SpawnResourceBytes, type SpawnResourceRead, type SpawnResourceReader, type StdioToolServer, type StdioToolServerOptions, type SubmitInput, type SubmitOutput, type ToolOutcomeEvent, type TraceContext, type UiAuditLensFilter, type UiAuditorDelegate, type UiAuditorDelegationOutput, type WorkerSpawnContext, type WorkerWatchOptions, type WorktreeHandle, analystToolGroupNames, buildDelegationTraceSpans, capDelegationTrace, captureWorktreeDiff, coderTaskFromArgs, collidesWithHarnessNativeTool, composeLoopTraceEmitters, createCoordinationTools, createDelegateFeedbackHandler, createDelegateHandler, createDelegateUiAuditHandler, createDelegationHistoryHandler, createDelegationStatusHandler, createDelegationTraceCollector, createDetachedTurnResumeDriver, createFleetWorkspaceExecutor, createHubIntegrationToolServer, createInProcessExecutor, createInProcessTransport, createKbGate, createMcpServer, createMemoryToolServer, createPropagatingTraceEmitter, createSiblingSandboxExecutor, createStdioToolServer, createWorktree, delegationProfiles, detachedSessionDelegate, detachedTurnEvents, downMessageRefusalReasons, environmentReader, eventToSnapshot, formatDetachedSessionRef, harnessNativeToolNames, harnessNativeTools, harnessSupportsReasoningEffort, hashIdempotencyInput, hostDirectoryReader, hubIntegrationTools, localHarnessExecutable, mcpToolsForRuntimeMcp, mcpToolsForRuntimeMcpSubset, mergeTraceEnv, parseAuthoredAnalystDefinition, parseCodexTokenUsage, parseDetachedSessionRef, parseMemoryItems, questionEscalationTargets, readMemoryItemsFile, readTraceContextFromEnv, removeWorktree, resolveMemoryFromEnv, resolveSpawnResourcePaths, runDetachedTurn, settleDetachedCoderTurn, sourcedHarnesses, traceContextToEnv, validateDelegateArgs, validateDelegateFeedbackArgs, validateDelegateUiAuditArgs, validateDelegationHistoryArgs, validateDelegationStatusArgs };
|
|
173
|
+
export { type AnalystRegistry, type AwaitWakeInput, type CheckRead, type CoderDelegate, type CoderOutput, type CoderReview, type CoderReviewer, type CoderTask, type CoordinationEvent, type CoordinationStats, type CoordinationTools, type CoordinationToolsOptions, type CreateKbGateOptions, type DelegateCodeArgs, type DelegateCodeConfig, type DelegateError, type DelegateHandlerOptions, type DelegateResearchArgs, type DelegateResearchConfig, type DelegateResult, type DelegateRunCtx, type DelegateUiAuditArgs, type DelegateUiAuditConfig, type DelegateUiAuditRoute, type DelegationArgs, type DelegationError, type DelegationExecutor, type DelegationFeedbackSnapshot, type DelegationHistoryArgs, type DelegationHistoryEntry, type DelegationPersistenceError, type DelegationProgress, type DelegationRecord, type DelegationResultPayload, type DelegationResumeContext, type DelegationResumeDriver, type DelegationResumeTick, type DelegationRunContext, type DelegationStatus, type DelegationStatusResult, type DelegationStore, DelegationTaskQueue, type DelegationTaskQueueOptions, type DelegationTraceSpan, type DetachedSessionDelegateOptions, type DetachedTurn, type DetachedWinnerSelection, type FactCandidate, type FactJudge, type FactJudgeVerdict, type FeedbackEvent, type FeedbackRating, type FeedbackRefersTo, type FeedbackStore, FileDelegationStore, type FileDelegationStoreOptions, type FleetHandle, type FleetWorkspaceExecutorOptions, type InProcessExecutorOptions, type JsonRpcMessage, type JsonRpcResponse, type KbGateResult, LOCAL_HARNESSES, type LocalHarness, type MakeWorkerAgent, type ManagerWake, type McpServer, type McpServerOptions, type McpToolAnnotations, type McpToolDescriptor, type McpTransport, type Question, type QuestionLevel, type QuestionOption, type QuestionUrgency, type ResearchOutputShape, type ResolveSpawnResourcePathsResult, type ResolvedSpawnResourcePath, type RunDetachedTurnOptions, type RunLocalHarnessOptions, type SiblingSandboxExecutorOptions, type SpawnRefusalCause, type SpawnResourceBytes, type SpawnResourceRead, type SpawnResourceReader, type StdioToolServer, type StdioToolServerOptions, type SubmitInput, type SubmitOutput, type TraceContext, type UiAuditLensFilter, type UiAuditorDelegate, type UiAuditorDelegationOutput, type WorkerSpawnContext, collidesWithHarnessNativeTool, composeLoopTraceEmitters, createCoordinationTools, createDelegateHandler, createFleetWorkspaceExecutor, createInProcessExecutor, createKbGate, createMcpServer, createPropagatingTraceEmitter, createSiblingSandboxExecutor, createStdioToolServer, detachedSessionDelegate, environmentReader, harnessNativeToolNames, readTraceContextFromEnv, resolveSpawnResourcePaths, runDetachedTurn };
|
|
493
174
|
//# sourceMappingURL=index.d.ts.map
|