@dudousxd/nestjs-agent-core 0.44.0 → 0.45.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/ag-ui/index.cjs +6 -1
- package/dist/ag-ui/index.cjs.map +1 -1
- package/dist/ag-ui/index.d.cts +2 -2
- package/dist/ag-ui/index.d.ts +2 -2
- package/dist/ag-ui/index.js +6 -1
- package/dist/ag-ui/index.js.map +1 -1
- package/dist/{catalog-G8usJpx5.d.cts → catalog-BUmTnAqU.d.cts} +14 -1
- package/dist/{catalog-G8usJpx5.d.ts → catalog-BUmTnAqU.d.ts} +14 -1
- package/dist/genui/builtins.cjs +1 -0
- package/dist/genui/builtins.cjs.map +1 -1
- package/dist/genui/builtins.d.cts +1 -1
- package/dist/genui/builtins.d.ts +1 -1
- package/dist/genui/builtins.js +1 -0
- package/dist/genui/builtins.js.map +1 -1
- package/dist/genui/index.cjs +232 -14
- package/dist/genui/index.cjs.map +1 -1
- package/dist/genui/index.d.cts +99 -14
- package/dist/genui/index.d.ts +99 -14
- package/dist/genui/index.js +230 -14
- package/dist/genui/index.js.map +1 -1
- package/dist/guardrails/index.d.cts +3 -3
- package/dist/guardrails/index.d.ts +3 -3
- package/dist/index.cjs +534 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -6
- package/dist/index.d.ts +107 -6
- package/dist/index.js +528 -16
- package/dist/index.js.map +1 -1
- package/dist/{processors-BANqZT3O.d.cts → processors-BhOGaMPY.d.cts} +1 -1
- package/dist/{processors-C9mor-73.d.ts → processors-DDKKky_6.d.ts} +1 -1
- package/dist/{stream-events-BfxJAckJ.d.cts → stream-events-CqCqYjJw.d.ts} +63 -4
- package/dist/{stream-events-DFa2Do42.d.ts → stream-events-qB6NOOvn.d.cts} +63 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelMessage, a as Actor,
|
|
1
|
+
import { M as ModelMessage, a as Actor, u as ToolCallRequest } from './stream-events-qB6NOOvn.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelMessage, a as Actor,
|
|
1
|
+
import { M as ModelMessage, a as Actor, u as ToolCallRequest } from './stream-events-CqCqYjJw.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
2
|
-
import { a as Catalog, C as ComponentDefinition, J as JsonSchema,
|
|
2
|
+
import { a as Catalog, C as ComponentDefinition, J as JsonSchema, e as CatalogOptions } from './catalog-BUmTnAqU.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Typed answers for a question set: a question that asks for a number, a date, an email or a
|
|
@@ -1235,6 +1235,12 @@ interface AiToolCtx {
|
|
|
1235
1235
|
pageContext?: PageContext;
|
|
1236
1236
|
/** Optional host handle (e.g. an ORM EntityManager) the app threads through options. */
|
|
1237
1237
|
host?: unknown;
|
|
1238
|
+
/**
|
|
1239
|
+
* Aborted when the run this call belongs to is stopped. Pass it to whatever the tool waits on (a
|
|
1240
|
+
* `fetch`, a query, a child process) so a Stop does not wait for the tool to finish. Absent where
|
|
1241
|
+
* the runner cannot stop a call in flight (the durable runner) and outside a turn.
|
|
1242
|
+
*/
|
|
1243
|
+
abortSignal?: AbortSignal;
|
|
1238
1244
|
/**
|
|
1239
1245
|
* Push a component into the assistant message: streamed live as a `ui` frame and persisted on
|
|
1240
1246
|
* the message, so a reload shows it where the live stream did. Resolves to the component's id.
|
|
@@ -1311,11 +1317,57 @@ interface ToolHandler<I = unknown, O = unknown> {
|
|
|
1311
1317
|
* the registered spec's `description` / `inputSchema` in the definition the model sees. Omit, or
|
|
1312
1318
|
* return `undefined`, to use the registered spec as is.
|
|
1313
1319
|
*
|
|
1314
|
-
* It shapes what the model is SHOWN
|
|
1320
|
+
* It shapes what the model is SHOWN: the registry still validates a call against the
|
|
1315
1321
|
* registered `inputSchema`, so a tool whose accepted input varies per turn registers a permissive
|
|
1316
|
-
* schema and validates in `execute`.
|
|
1322
|
+
* schema and validates in `execute`. The one exception is `available: false`, which is also asked
|
|
1323
|
+
* again on invoke (with the call's actor, thread, agent and `uiCapabilities`): a call to a tool
|
|
1324
|
+
* that answers it is refused as an unknown tool, so the model cannot run what it was not offered.
|
|
1317
1325
|
*/
|
|
1318
1326
|
describe?(scope: ToolDescribeScope): ToolDescription | undefined | Promise<ToolDescription | undefined>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Show something while the model is still WRITING this tool's input: called when a streamed call
|
|
1329
|
+
* starts (`tool-input-start`), it answers how to preview the arguments so far — or `undefined` for
|
|
1330
|
+
* no preview. The loop parses the streamed argument text as it arrives and pushes what
|
|
1331
|
+
* {@link ToolInputPreview.render} answers as a `ui` frame with `partial: true`, throttled, under
|
|
1332
|
+
* the id the call's first `ctx.emitUi` push gets (`<toolCallId>:ui:0`) — so that push replaces it
|
|
1333
|
+
* in place. A preview the call never replaces (it failed, or degraded to text) is withdrawn.
|
|
1334
|
+
*
|
|
1335
|
+
* A preview is shown, never trusted: it is not validated, not persisted, not handed to text
|
|
1336
|
+
* channels, and nothing about it reaches the model.
|
|
1337
|
+
*/
|
|
1338
|
+
previewInput?(scope: ToolInputPreviewScope): ToolInputPreview | undefined | Promise<ToolInputPreview | undefined>;
|
|
1339
|
+
}
|
|
1340
|
+
/** Whose call {@link ToolHandler.previewInput} previews. */
|
|
1341
|
+
interface ToolInputPreviewScope extends ToolDescribeScope {
|
|
1342
|
+
toolCallId: string;
|
|
1343
|
+
}
|
|
1344
|
+
/** The arguments of a streamed call so far, read with `parsePartialJson`. */
|
|
1345
|
+
interface PartialToolInput {
|
|
1346
|
+
/** What has been parsed so far (open objects and arrays hold what they have). */
|
|
1347
|
+
value: unknown;
|
|
1348
|
+
/** The model finished the arguments: `value` is the whole input (still unvalidated). */
|
|
1349
|
+
done: boolean;
|
|
1350
|
+
/** Is this object or array (one of `value`'s) still being written? */
|
|
1351
|
+
isOpen(container: object): boolean;
|
|
1352
|
+
/** The member of `container` whose value is cut off mid-way (a string half written). */
|
|
1353
|
+
pendingMember(container: object): string | number | undefined;
|
|
1354
|
+
}
|
|
1355
|
+
/** A partial `ui` frame a preview pushes. */
|
|
1356
|
+
interface ToolInputPreviewFrame {
|
|
1357
|
+
component: string;
|
|
1358
|
+
props: Record<string, unknown>;
|
|
1359
|
+
version?: number;
|
|
1360
|
+
}
|
|
1361
|
+
/** How one streamed call is previewed ({@link ToolHandler.previewInput}). */
|
|
1362
|
+
interface ToolInputPreview {
|
|
1363
|
+
/**
|
|
1364
|
+
* The frame for the input so far. `undefined`: nothing new to show (what was shown stays).
|
|
1365
|
+
* `null`: stop previewing this call, and withdraw what was shown — the final push will not
|
|
1366
|
+
* replace it (the input can no longer turn out valid, or will degrade to text).
|
|
1367
|
+
*/
|
|
1368
|
+
render(input: PartialToolInput): ToolInputPreviewFrame | null | undefined;
|
|
1369
|
+
/** Least time between two preview frames of one call, in ms. Default 100. */
|
|
1370
|
+
throttleMs?: number;
|
|
1319
1371
|
}
|
|
1320
1372
|
/** Who a turn's tool list is being built for — what {@link ToolHandler.describe} can vary on. */
|
|
1321
1373
|
interface ToolDescribeScope {
|
|
@@ -2436,6 +2488,13 @@ interface AgentUiComponent {
|
|
|
2436
2488
|
* stream showed it. Absent for a component pushed outside a tool.
|
|
2437
2489
|
*/
|
|
2438
2490
|
toolCallId?: string;
|
|
2491
|
+
/**
|
|
2492
|
+
* A PREVIEW, drawn from a tool call's arguments while the model is still writing them (genui
|
|
2493
|
+
* `streaming: 'partial'`): unvalidated, never persisted, and replaced in place by the final push
|
|
2494
|
+
* under the same `id` — or withdrawn by a partial frame with empty `props`, which a client renders
|
|
2495
|
+
* as nothing. A text surface skips it. Absent on every final frame.
|
|
2496
|
+
*/
|
|
2497
|
+
partial?: true;
|
|
2439
2498
|
}
|
|
2440
2499
|
/**
|
|
2441
2500
|
* Who has to settle an action tool call, and until when. Metadata only: the call itself is still
|
|
@@ -2663,4 +2722,4 @@ type AgentStreamErrorCode = 'quota_exceeded' | 'output_rejected' | 'structured_o
|
|
|
2663
2722
|
/** A model call ended without producing anything. */
|
|
2664
2723
|
| 'model_no_output' | 'run_failed';
|
|
2665
2724
|
|
|
2666
|
-
export { type
|
|
2725
|
+
export { type PromptContributor as $, type AgentStreamEvent as A, type ToolDescribeScope as B, type ChartProps as C, type AiToolCtx as D, type AgentRunInput as E, type MessageAttachment as F, type ActionProposalMutationResult as G, type HumanReply as H, type ActionProposal as I, type ActionProposalExecution as J, type ActionProposalOutcomeDelivery as K, type AgentDefinition as L, type ModelMessage as M, type Persona as N, type PersonaCatalogEntry as O, type PartialToolInput as P, type QuotaState as Q, type HistoryPolicy as R, type PageContext as S, type ToolSpec as T, type UiCapabilities as U, type AgentStore as V, type AgentDelegation as W, type DetachedDelivery as X, type ToolPreflightResult as Y, type ApprovalPolicy as Z, type PromptBuilder as _, type Actor as a, DEFAULT_INTAKE_PREAMBLE as a$, type ToolTransientRetrySetting as a0, type AgentIntake as a1, type Decision as a2, type ElicitationRequest as a3, type LlmStepEnvelope as a4, type ToolStepEnvelope as a5, type ClaimActionProposal as a6, type ActionProposalStore as a7, type ActionProposalStoreOptions as a8, type CreateActionProposal as a9, type ToolCallOutcome as aA, type UpdateToolCallInput as aB, type RecordUsageInput as aC, type ToolConfirmation as aD, type ActionProposalDecision as aE, type ActionProposalSupersessionStore as aF, ALL_AGENTS as aG, ASK_TOOL_DESCRIPTION as aH, ASK_TOOL_NAME as aI, type ActionProposalDecisionAudit as aJ, type ActionProposalExecutionContext as aK, type ActionProposalLease as aL, type AgentApprovalRequest as aM, type AgentApprovalSettlement as aN, type AgentAttachmentConfig as aO, type AgentCatalogEntry as aP, type AgentClientConfig as aQ, type AgentHistoryWindow as aR, type AgentHostContext as aS, type AgentStreamErrorCode as aT, type ApprovalDecisionRef as aU, type ApprovalRequirement as aV, type ApprovalThreadRef as aW, type ApprovalToolRef as aX, type AskToolInput as aY, type ChatQueueState as aZ, type ClaimedActionApproval as a_, type CreateActionProposalResult as aa, type ActionProposalScope as ab, type ListActionProposals as ac, type ActionProposalDecisionCommand as ad, type ExtendActionProposalLease as ae, type SettleActionProposal as af, type ActionProposalOutcome as ag, type ActionProposalOutcomeLease as ah, type ToolCallStatus as ai, type ChatQueueStore as aj, type ActionProposalOutcomeStore as ak, type CreateThreadInput as al, type ThreadSummary as am, type ThreadDetail as an, type ToolCallApprovalState as ao, type UpdateThreadInput as ap, type RecordRunStartInput as aq, type EnqueueMessageInput as ar, type QueuedMessage as as, type QueuedMessagePatch as at, type QueuePause as au, type AppendMessageInput as av, type StoredMessage as aw, type ToolResult as ax, type MessageFeedback as ay, type RecordToolCallInput as az, type ToolHandler as b, readElicitationQuestions as b$, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as b0, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as b1, DefaultApprovalPolicy as b2, ELICITATION_INPUT_TYPES as b3, type ElicitationInput as b4, type ElicitationInputType as b5, type ElicitationOption as b6, type ElicitationOutcome as b7, type ElicitationQuestion as b8, type ElicitationReply as b9, type ToolInputPreviewFrame as bA, type ToolKind as bB, type ToolPreflightOptions as bC, type ToolPresentationTone as bD, type ToolResultField as bE, type ToolResultView as bF, type ToolStepCtx as bG, type ToolTransientRetryNumbers as bH, type ToolTransientRetryOptions as bI, type TurnPersona as bJ, UNFINISHED_TOOL_CALL as bK, type UsagePurpose as bL, askInputSchema as bM, askToolDefinition as bN, danglingToolCallIds as bO, decodeStreamEvent as bP, defaultCanDecide as bQ, encodeStreamEvent as bR, invokeWithTransientRetry as bS, isChatQueueStore as bT, isTransientToolError as bU, isTypedQuestion as bV, mayDecideApproval as bW, normalizeElicitationReply as bX, questionOptions as bY, queuedMessageView as bZ, readElicitationInput as b_, type ElicitationResult as ba, type EmitUiOptions as bb, type HistoryPolicyContext as bc, type HistorySelection as bd, type HistorySummary as be, type InvokeWithTransientRetryOptions as bf, MAX_ASK_QUESTIONS as bg, type MessageFeedbackValue as bh, type MessageRole as bi, type PersonaRef as bj, type PromptContext as bk, type QueuePauseReason as bl, type QueuedMessageView as bm, type QuotaView as bn, REQUESTER_APPROVER as bo, RUN_ENDED_BEFORE_TOOL_CALL as bp, type RecordRunEndInput as bq, type ResolveActionProposalApprovalInput as br, type ThreadTurnPage as bs, type ThreadTurnQuery as bt, type ThreadTurnReader as bu, type ToolCallApproval as bv, type ToolCallApprovalColumns as bw, type ToolCallApprovalStatus as bx, type ToolCatalogEntry as by, type ToolDescription as bz, type ToolPresentation as c, releaseThreadRun as c0, renderElicitationAnswers as c1, resolveActionProposalApproval as c2, resolveElicitation as c3, resolveToolTransientRetryNumbers as c4, settleDanglingToolCalls as c5, settleElicitation as c6, toolCallApprovalFromRow as c7, validateElicitationAnswer as c8, validateElicitationValue as c9, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type PreparedUiEmission as i, type TableCell as j, type TableProps as k, chart as l, createComponent as m, createComponentRegistry as n, negotiateCatalog as o, prepareUiEmission as p, validateUiCapabilities as q, type ToolDefinition as r, snapshotComponentPresentation as s, table as t, type ToolCallRequest as u, validatePresentationBatch as v, type MessageUsage as w, type AgentUiComponent as x, type ToolInputPreview as y, type ToolInputPreviewScope as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
2
|
-
import { a as Catalog, C as ComponentDefinition, J as JsonSchema,
|
|
2
|
+
import { a as Catalog, C as ComponentDefinition, J as JsonSchema, e as CatalogOptions } from './catalog-BUmTnAqU.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Typed answers for a question set: a question that asks for a number, a date, an email or a
|
|
@@ -1235,6 +1235,12 @@ interface AiToolCtx {
|
|
|
1235
1235
|
pageContext?: PageContext;
|
|
1236
1236
|
/** Optional host handle (e.g. an ORM EntityManager) the app threads through options. */
|
|
1237
1237
|
host?: unknown;
|
|
1238
|
+
/**
|
|
1239
|
+
* Aborted when the run this call belongs to is stopped. Pass it to whatever the tool waits on (a
|
|
1240
|
+
* `fetch`, a query, a child process) so a Stop does not wait for the tool to finish. Absent where
|
|
1241
|
+
* the runner cannot stop a call in flight (the durable runner) and outside a turn.
|
|
1242
|
+
*/
|
|
1243
|
+
abortSignal?: AbortSignal;
|
|
1238
1244
|
/**
|
|
1239
1245
|
* Push a component into the assistant message: streamed live as a `ui` frame and persisted on
|
|
1240
1246
|
* the message, so a reload shows it where the live stream did. Resolves to the component's id.
|
|
@@ -1311,11 +1317,57 @@ interface ToolHandler<I = unknown, O = unknown> {
|
|
|
1311
1317
|
* the registered spec's `description` / `inputSchema` in the definition the model sees. Omit, or
|
|
1312
1318
|
* return `undefined`, to use the registered spec as is.
|
|
1313
1319
|
*
|
|
1314
|
-
* It shapes what the model is SHOWN
|
|
1320
|
+
* It shapes what the model is SHOWN: the registry still validates a call against the
|
|
1315
1321
|
* registered `inputSchema`, so a tool whose accepted input varies per turn registers a permissive
|
|
1316
|
-
* schema and validates in `execute`.
|
|
1322
|
+
* schema and validates in `execute`. The one exception is `available: false`, which is also asked
|
|
1323
|
+
* again on invoke (with the call's actor, thread, agent and `uiCapabilities`): a call to a tool
|
|
1324
|
+
* that answers it is refused as an unknown tool, so the model cannot run what it was not offered.
|
|
1317
1325
|
*/
|
|
1318
1326
|
describe?(scope: ToolDescribeScope): ToolDescription | undefined | Promise<ToolDescription | undefined>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Show something while the model is still WRITING this tool's input: called when a streamed call
|
|
1329
|
+
* starts (`tool-input-start`), it answers how to preview the arguments so far — or `undefined` for
|
|
1330
|
+
* no preview. The loop parses the streamed argument text as it arrives and pushes what
|
|
1331
|
+
* {@link ToolInputPreview.render} answers as a `ui` frame with `partial: true`, throttled, under
|
|
1332
|
+
* the id the call's first `ctx.emitUi` push gets (`<toolCallId>:ui:0`) — so that push replaces it
|
|
1333
|
+
* in place. A preview the call never replaces (it failed, or degraded to text) is withdrawn.
|
|
1334
|
+
*
|
|
1335
|
+
* A preview is shown, never trusted: it is not validated, not persisted, not handed to text
|
|
1336
|
+
* channels, and nothing about it reaches the model.
|
|
1337
|
+
*/
|
|
1338
|
+
previewInput?(scope: ToolInputPreviewScope): ToolInputPreview | undefined | Promise<ToolInputPreview | undefined>;
|
|
1339
|
+
}
|
|
1340
|
+
/** Whose call {@link ToolHandler.previewInput} previews. */
|
|
1341
|
+
interface ToolInputPreviewScope extends ToolDescribeScope {
|
|
1342
|
+
toolCallId: string;
|
|
1343
|
+
}
|
|
1344
|
+
/** The arguments of a streamed call so far, read with `parsePartialJson`. */
|
|
1345
|
+
interface PartialToolInput {
|
|
1346
|
+
/** What has been parsed so far (open objects and arrays hold what they have). */
|
|
1347
|
+
value: unknown;
|
|
1348
|
+
/** The model finished the arguments: `value` is the whole input (still unvalidated). */
|
|
1349
|
+
done: boolean;
|
|
1350
|
+
/** Is this object or array (one of `value`'s) still being written? */
|
|
1351
|
+
isOpen(container: object): boolean;
|
|
1352
|
+
/** The member of `container` whose value is cut off mid-way (a string half written). */
|
|
1353
|
+
pendingMember(container: object): string | number | undefined;
|
|
1354
|
+
}
|
|
1355
|
+
/** A partial `ui` frame a preview pushes. */
|
|
1356
|
+
interface ToolInputPreviewFrame {
|
|
1357
|
+
component: string;
|
|
1358
|
+
props: Record<string, unknown>;
|
|
1359
|
+
version?: number;
|
|
1360
|
+
}
|
|
1361
|
+
/** How one streamed call is previewed ({@link ToolHandler.previewInput}). */
|
|
1362
|
+
interface ToolInputPreview {
|
|
1363
|
+
/**
|
|
1364
|
+
* The frame for the input so far. `undefined`: nothing new to show (what was shown stays).
|
|
1365
|
+
* `null`: stop previewing this call, and withdraw what was shown — the final push will not
|
|
1366
|
+
* replace it (the input can no longer turn out valid, or will degrade to text).
|
|
1367
|
+
*/
|
|
1368
|
+
render(input: PartialToolInput): ToolInputPreviewFrame | null | undefined;
|
|
1369
|
+
/** Least time between two preview frames of one call, in ms. Default 100. */
|
|
1370
|
+
throttleMs?: number;
|
|
1319
1371
|
}
|
|
1320
1372
|
/** Who a turn's tool list is being built for — what {@link ToolHandler.describe} can vary on. */
|
|
1321
1373
|
interface ToolDescribeScope {
|
|
@@ -2436,6 +2488,13 @@ interface AgentUiComponent {
|
|
|
2436
2488
|
* stream showed it. Absent for a component pushed outside a tool.
|
|
2437
2489
|
*/
|
|
2438
2490
|
toolCallId?: string;
|
|
2491
|
+
/**
|
|
2492
|
+
* A PREVIEW, drawn from a tool call's arguments while the model is still writing them (genui
|
|
2493
|
+
* `streaming: 'partial'`): unvalidated, never persisted, and replaced in place by the final push
|
|
2494
|
+
* under the same `id` — or withdrawn by a partial frame with empty `props`, which a client renders
|
|
2495
|
+
* as nothing. A text surface skips it. Absent on every final frame.
|
|
2496
|
+
*/
|
|
2497
|
+
partial?: true;
|
|
2439
2498
|
}
|
|
2440
2499
|
/**
|
|
2441
2500
|
* Who has to settle an action tool call, and until when. Metadata only: the call itself is still
|
|
@@ -2663,4 +2722,4 @@ type AgentStreamErrorCode = 'quota_exceeded' | 'output_rejected' | 'structured_o
|
|
|
2663
2722
|
/** A model call ended without producing anything. */
|
|
2664
2723
|
| 'model_no_output' | 'run_failed';
|
|
2665
2724
|
|
|
2666
|
-
export { type
|
|
2725
|
+
export { type PromptContributor as $, type AgentStreamEvent as A, type ToolDescribeScope as B, type ChartProps as C, type AiToolCtx as D, type AgentRunInput as E, type MessageAttachment as F, type ActionProposalMutationResult as G, type HumanReply as H, type ActionProposal as I, type ActionProposalExecution as J, type ActionProposalOutcomeDelivery as K, type AgentDefinition as L, type ModelMessage as M, type Persona as N, type PersonaCatalogEntry as O, type PartialToolInput as P, type QuotaState as Q, type HistoryPolicy as R, type PageContext as S, type ToolSpec as T, type UiCapabilities as U, type AgentStore as V, type AgentDelegation as W, type DetachedDelivery as X, type ToolPreflightResult as Y, type ApprovalPolicy as Z, type PromptBuilder as _, type Actor as a, DEFAULT_INTAKE_PREAMBLE as a$, type ToolTransientRetrySetting as a0, type AgentIntake as a1, type Decision as a2, type ElicitationRequest as a3, type LlmStepEnvelope as a4, type ToolStepEnvelope as a5, type ClaimActionProposal as a6, type ActionProposalStore as a7, type ActionProposalStoreOptions as a8, type CreateActionProposal as a9, type ToolCallOutcome as aA, type UpdateToolCallInput as aB, type RecordUsageInput as aC, type ToolConfirmation as aD, type ActionProposalDecision as aE, type ActionProposalSupersessionStore as aF, ALL_AGENTS as aG, ASK_TOOL_DESCRIPTION as aH, ASK_TOOL_NAME as aI, type ActionProposalDecisionAudit as aJ, type ActionProposalExecutionContext as aK, type ActionProposalLease as aL, type AgentApprovalRequest as aM, type AgentApprovalSettlement as aN, type AgentAttachmentConfig as aO, type AgentCatalogEntry as aP, type AgentClientConfig as aQ, type AgentHistoryWindow as aR, type AgentHostContext as aS, type AgentStreamErrorCode as aT, type ApprovalDecisionRef as aU, type ApprovalRequirement as aV, type ApprovalThreadRef as aW, type ApprovalToolRef as aX, type AskToolInput as aY, type ChatQueueState as aZ, type ClaimedActionApproval as a_, type CreateActionProposalResult as aa, type ActionProposalScope as ab, type ListActionProposals as ac, type ActionProposalDecisionCommand as ad, type ExtendActionProposalLease as ae, type SettleActionProposal as af, type ActionProposalOutcome as ag, type ActionProposalOutcomeLease as ah, type ToolCallStatus as ai, type ChatQueueStore as aj, type ActionProposalOutcomeStore as ak, type CreateThreadInput as al, type ThreadSummary as am, type ThreadDetail as an, type ToolCallApprovalState as ao, type UpdateThreadInput as ap, type RecordRunStartInput as aq, type EnqueueMessageInput as ar, type QueuedMessage as as, type QueuedMessagePatch as at, type QueuePause as au, type AppendMessageInput as av, type StoredMessage as aw, type ToolResult as ax, type MessageFeedback as ay, type RecordToolCallInput as az, type ToolHandler as b, readElicitationQuestions as b$, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as b0, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as b1, DefaultApprovalPolicy as b2, ELICITATION_INPUT_TYPES as b3, type ElicitationInput as b4, type ElicitationInputType as b5, type ElicitationOption as b6, type ElicitationOutcome as b7, type ElicitationQuestion as b8, type ElicitationReply as b9, type ToolInputPreviewFrame as bA, type ToolKind as bB, type ToolPreflightOptions as bC, type ToolPresentationTone as bD, type ToolResultField as bE, type ToolResultView as bF, type ToolStepCtx as bG, type ToolTransientRetryNumbers as bH, type ToolTransientRetryOptions as bI, type TurnPersona as bJ, UNFINISHED_TOOL_CALL as bK, type UsagePurpose as bL, askInputSchema as bM, askToolDefinition as bN, danglingToolCallIds as bO, decodeStreamEvent as bP, defaultCanDecide as bQ, encodeStreamEvent as bR, invokeWithTransientRetry as bS, isChatQueueStore as bT, isTransientToolError as bU, isTypedQuestion as bV, mayDecideApproval as bW, normalizeElicitationReply as bX, questionOptions as bY, queuedMessageView as bZ, readElicitationInput as b_, type ElicitationResult as ba, type EmitUiOptions as bb, type HistoryPolicyContext as bc, type HistorySelection as bd, type HistorySummary as be, type InvokeWithTransientRetryOptions as bf, MAX_ASK_QUESTIONS as bg, type MessageFeedbackValue as bh, type MessageRole as bi, type PersonaRef as bj, type PromptContext as bk, type QueuePauseReason as bl, type QueuedMessageView as bm, type QuotaView as bn, REQUESTER_APPROVER as bo, RUN_ENDED_BEFORE_TOOL_CALL as bp, type RecordRunEndInput as bq, type ResolveActionProposalApprovalInput as br, type ThreadTurnPage as bs, type ThreadTurnQuery as bt, type ThreadTurnReader as bu, type ToolCallApproval as bv, type ToolCallApprovalColumns as bw, type ToolCallApprovalStatus as bx, type ToolCatalogEntry as by, type ToolDescription as bz, type ToolPresentation as c, releaseThreadRun as c0, renderElicitationAnswers as c1, resolveActionProposalApproval as c2, resolveElicitation as c3, resolveToolTransientRetryNumbers as c4, settleDanglingToolCalls as c5, settleElicitation as c6, toolCallApprovalFromRow as c7, validateElicitationAnswer as c8, validateElicitationValue as c9, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type PreparedUiEmission as i, type TableCell as j, type TableProps as k, chart as l, createComponent as m, createComponentRegistry as n, negotiateCatalog as o, prepareUiEmission as p, validateUiCapabilities as q, type ToolDefinition as r, snapshotComponentPresentation as s, table as t, type ToolCallRequest as u, validatePresentationBatch as v, type MessageUsage as w, type AgentUiComponent as x, type ToolInputPreview as y, type ToolInputPreviewScope as z };
|