@dudousxd/nestjs-agent-core 0.41.0 → 0.42.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.
@@ -1,4 +1,4 @@
1
- import { M as ModelMessage, a as Actor, r as ToolCallRequest } from './stream-events-BGKLD6RX.js';
1
+ import { M as ModelMessage, a as Actor, r as ToolCallRequest } from './stream-events-D92SgfRk.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,4 +1,4 @@
1
- import { M as ModelMessage, a as Actor, r as ToolCallRequest } from './stream-events-CF-6-Y6L.cjs';
1
+ import { M as ModelMessage, a as Actor, r as ToolCallRequest } from './stream-events-C-pj3bVY.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
@@ -531,6 +531,11 @@ interface CreateThreadInput {
531
531
  id?: string;
532
532
  /** The persona the thread's turns run under when a send names none. See {@link ThreadSummary.persona}. */
533
533
  persona?: string;
534
+ /**
535
+ * The agent the send that creates the thread names (already resolved: an explicit pick, else the
536
+ * default). A store that keeps an agent per thread starts it there; others ignore it.
537
+ */
538
+ agentName?: string;
534
539
  }
535
540
  interface AppendMessageInput {
536
541
  actionProposalOutcome?: ActionProposalOutcome;
@@ -919,6 +924,8 @@ interface QueuedMessage {
919
924
  model?: string;
920
925
  pageContext?: PageContext;
921
926
  uiCapabilities?: UiCapabilities;
927
+ /** The send's {@link AgentRunInput.hostContext}, carried to the turn it starts. Never on the wire view. */
928
+ hostContext?: AgentHostContext;
922
929
  /**
923
930
  * Queued by an interrupt (`POST chat { mode: 'interrupt' }`): the running turn was cancelled to
924
931
  * make room for it, so the cancel starts it instead of pausing the queue.
@@ -958,6 +965,7 @@ interface EnqueueMessageInput {
958
965
  model?: string;
959
966
  pageContext?: PageContext;
960
967
  uiCapabilities?: UiCapabilities;
968
+ hostContext?: AgentHostContext;
961
969
  interrupt?: boolean;
962
970
  /** `'tail'` (default) runs it after everything already waiting; `'head'` runs it next. */
963
971
  at?: 'tail' | 'head';
@@ -1782,6 +1790,10 @@ type PromptBuilder = (ctx: PromptContext) => string | Promise<string>;
1782
1790
  */
1783
1791
  type PromptContributor = (ctx: PromptContext) => string | null | Promise<string | null>;
1784
1792
  /** Everything needed to run one agent turn. */
1793
+ /** See {@link AgentRunInput.hostContext}. JSON only. */
1794
+ type AgentHostContext = {
1795
+ readonly [key: string]: unknown;
1796
+ };
1785
1797
  interface AgentRunInput {
1786
1798
  threadId: string;
1787
1799
  actor: Actor;
@@ -1848,6 +1860,13 @@ interface AgentRunInput {
1848
1860
  * label when the provider reports none. Omitted → the provider's default.
1849
1861
  */
1850
1862
  model?: string;
1863
+ /**
1864
+ * What the HOST knows about this turn that the library does not model — where it came from, where
1865
+ * its answer goes, on whose behalf (e.g. `{ source: 'slack', delivery: { channel, ts } }`). Plain
1866
+ * JSON: it travels through the queue and the durable journal untouched, and reaches the runner's
1867
+ * hooks (an engine's host callbacks) as it was sent. Never shown to the model or to clients.
1868
+ */
1869
+ hostContext?: AgentHostContext;
1851
1870
  }
1852
1871
  /**
1853
1872
  * A named agent: its prompt, the tools it may use, and who it can hand off to. This is the
@@ -2644,4 +2663,4 @@ type AgentStreamErrorCode = 'quota_exceeded' | 'output_rejected' | 'structured_o
2644
2663
  /** A model call ended without producing anything. */
2645
2664
  | 'model_no_output' | 'run_failed';
2646
2665
 
2647
- export { type Decision as $, type AgentStreamEvent as A, type ActionProposalMutationResult as B, type ChartProps as C, type ActionProposal as D, type ActionProposalExecution as E, type ActionProposalOutcomeDelivery as F, type AgentDefinition as G, type HumanReply as H, type Persona as I, type PersonaCatalogEntry as J, type HistoryPolicy as K, type PageContext as L, type ModelMessage as M, type AgentStore as N, type AgentDelegation as O, type PreparedUiEmission as P, type QuotaState as Q, type DetachedDelivery as R, type ToolDescribeScope as S, type ToolSpec as T, type UiCapabilities as U, type ToolPreflightResult as V, type ApprovalPolicy as W, type PromptBuilder as X, type PromptContributor as Y, type ToolTransientRetrySetting as Z, type AgentIntake as _, type Actor as a, ELICITATION_INPUT_TYPES as a$, type ElicitationRequest as a0, type LlmStepEnvelope as a1, type ToolStepEnvelope as a2, type ClaimActionProposal as a3, type ActionProposalStore as a4, type ActionProposalStoreOptions as a5, type CreateActionProposal as a6, type CreateActionProposalResult as a7, type ActionProposalScope as a8, type ListActionProposals as a9, type ToolConfirmation as aA, type ActionProposalDecision as aB, type ActionProposalSupersessionStore as aC, ALL_AGENTS as aD, ASK_TOOL_DESCRIPTION as aE, ASK_TOOL_NAME as aF, type ActionProposalDecisionAudit as aG, type ActionProposalExecutionContext as aH, type ActionProposalLease as aI, type AgentApprovalRequest as aJ, type AgentApprovalSettlement as aK, type AgentAttachmentConfig as aL, type AgentCatalogEntry as aM, type AgentClientConfig as aN, type AgentHistoryWindow as aO, type AgentStreamErrorCode as aP, type ApprovalDecisionRef as aQ, type ApprovalRequirement as aR, type ApprovalThreadRef as aS, type ApprovalToolRef as aT, type AskToolInput as aU, type ChatQueueState as aV, type ClaimedActionApproval as aW, DEFAULT_INTAKE_PREAMBLE as aX, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as aY, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as aZ, DefaultApprovalPolicy as a_, type ActionProposalDecisionCommand as aa, type ExtendActionProposalLease as ab, type SettleActionProposal as ac, type ActionProposalOutcome as ad, type ActionProposalOutcomeLease as ae, type ToolCallStatus as af, type ChatQueueStore as ag, type ActionProposalOutcomeStore as ah, type CreateThreadInput as ai, type ThreadSummary as aj, type ThreadDetail as ak, type ToolCallApprovalState as al, type UpdateThreadInput as am, type RecordRunStartInput as an, type EnqueueMessageInput as ao, type QueuedMessage as ap, type QueuedMessagePatch as aq, type QueuePause as ar, type AppendMessageInput as as, type StoredMessage as at, type ToolResult as au, type MessageFeedback as av, type RecordToolCallInput as aw, type ToolCallOutcome as ax, type UpdateToolCallInput as ay, type RecordUsageInput as az, type ToolHandler as b, resolveToolTransientRetryNumbers as b$, type ElicitationInput as b0, type ElicitationInputType as b1, type ElicitationOption as b2, type ElicitationOutcome as b3, type ElicitationQuestion as b4, type ElicitationReply as b5, type ElicitationResult as b6, type EmitUiOptions as b7, type HistoryPolicyContext as b8, type HistorySelection as b9, type ToolResultView as bA, type ToolStepCtx as bB, type ToolTransientRetryNumbers as bC, type ToolTransientRetryOptions as bD, type TurnPersona as bE, UNFINISHED_TOOL_CALL as bF, type UsagePurpose as bG, askInputSchema as bH, askToolDefinition as bI, danglingToolCallIds as bJ, decodeStreamEvent as bK, defaultCanDecide as bL, encodeStreamEvent as bM, invokeWithTransientRetry as bN, isChatQueueStore as bO, isTransientToolError as bP, isTypedQuestion as bQ, mayDecideApproval as bR, normalizeElicitationReply as bS, questionOptions as bT, queuedMessageView as bU, readElicitationInput as bV, readElicitationQuestions as bW, releaseThreadRun as bX, renderElicitationAnswers as bY, resolveActionProposalApproval as bZ, resolveElicitation as b_, type HistorySummary as ba, type InvokeWithTransientRetryOptions as bb, MAX_ASK_QUESTIONS as bc, type MessageFeedbackValue as bd, type MessageRole as be, type PersonaRef as bf, type PromptContext as bg, type QueuePauseReason as bh, type QueuedMessageView as bi, type QuotaView as bj, REQUESTER_APPROVER as bk, RUN_ENDED_BEFORE_TOOL_CALL as bl, type RecordRunEndInput as bm, type ResolveActionProposalApprovalInput as bn, type ThreadTurnPage as bo, type ThreadTurnQuery as bp, type ThreadTurnReader as bq, type ToolCallApproval as br, type ToolCallApprovalColumns as bs, type ToolCallApprovalStatus as bt, type ToolCatalogEntry as bu, type ToolDescription as bv, type ToolKind as bw, type ToolPreflightOptions as bx, type ToolPresentationTone as by, type ToolResultField as bz, type ToolPresentation as c, settleDanglingToolCalls as c0, settleElicitation as c1, toolCallApprovalFromRow as c2, validateElicitationAnswer as c3, validateElicitationValue as c4, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type TableCell as i, type TableProps as j, chart as k, createComponent as l, createComponentRegistry as m, negotiateCatalog as n, validateUiCapabilities as o, prepareUiEmission as p, type ToolDefinition as q, type ToolCallRequest as r, snapshotComponentPresentation as s, table as t, type MessageUsage as u, validatePresentationBatch as v, type AgentUiComponent as w, type AiToolCtx as x, type AgentRunInput as y, type MessageAttachment as z };
2666
+ export { type Decision as $, type AgentStreamEvent as A, type ActionProposalMutationResult as B, type ChartProps as C, type ActionProposal as D, type ActionProposalExecution as E, type ActionProposalOutcomeDelivery as F, type AgentDefinition as G, type HumanReply as H, type Persona as I, type PersonaCatalogEntry as J, type HistoryPolicy as K, type PageContext as L, type ModelMessage as M, type AgentStore as N, type AgentDelegation as O, type PreparedUiEmission as P, type QuotaState as Q, type DetachedDelivery as R, type ToolDescribeScope as S, type ToolSpec as T, type UiCapabilities as U, type ToolPreflightResult as V, type ApprovalPolicy as W, type PromptBuilder as X, type PromptContributor as Y, type ToolTransientRetrySetting as Z, type AgentIntake as _, type Actor as a, DefaultApprovalPolicy as a$, type ElicitationRequest as a0, type LlmStepEnvelope as a1, type ToolStepEnvelope as a2, type ClaimActionProposal as a3, type ActionProposalStore as a4, type ActionProposalStoreOptions as a5, type CreateActionProposal as a6, type CreateActionProposalResult as a7, type ActionProposalScope as a8, type ListActionProposals as a9, type ToolConfirmation as aA, type ActionProposalDecision as aB, type ActionProposalSupersessionStore as aC, ALL_AGENTS as aD, ASK_TOOL_DESCRIPTION as aE, ASK_TOOL_NAME as aF, type ActionProposalDecisionAudit as aG, type ActionProposalExecutionContext as aH, type ActionProposalLease as aI, type AgentApprovalRequest as aJ, type AgentApprovalSettlement as aK, type AgentAttachmentConfig as aL, type AgentCatalogEntry as aM, type AgentClientConfig as aN, type AgentHistoryWindow as aO, type AgentHostContext as aP, type AgentStreamErrorCode as aQ, type ApprovalDecisionRef as aR, type ApprovalRequirement as aS, type ApprovalThreadRef as aT, type ApprovalToolRef as aU, type AskToolInput as aV, type ChatQueueState as aW, type ClaimedActionApproval as aX, DEFAULT_INTAKE_PREAMBLE as aY, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as aZ, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as a_, type ActionProposalDecisionCommand as aa, type ExtendActionProposalLease as ab, type SettleActionProposal as ac, type ActionProposalOutcome as ad, type ActionProposalOutcomeLease as ae, type ToolCallStatus as af, type ChatQueueStore as ag, type ActionProposalOutcomeStore as ah, type CreateThreadInput as ai, type ThreadSummary as aj, type ThreadDetail as ak, type ToolCallApprovalState as al, type UpdateThreadInput as am, type RecordRunStartInput as an, type EnqueueMessageInput as ao, type QueuedMessage as ap, type QueuedMessagePatch as aq, type QueuePause as ar, type AppendMessageInput as as, type StoredMessage as at, type ToolResult as au, type MessageFeedback as av, type RecordToolCallInput as aw, type ToolCallOutcome as ax, type UpdateToolCallInput as ay, type RecordUsageInput as az, type ToolHandler as b, resolveElicitation as b$, ELICITATION_INPUT_TYPES as b0, type ElicitationInput as b1, type ElicitationInputType as b2, type ElicitationOption as b3, type ElicitationOutcome as b4, type ElicitationQuestion as b5, type ElicitationReply as b6, type ElicitationResult as b7, type EmitUiOptions as b8, type HistoryPolicyContext as b9, type ToolResultField as bA, type ToolResultView as bB, type ToolStepCtx as bC, type ToolTransientRetryNumbers as bD, type ToolTransientRetryOptions as bE, type TurnPersona as bF, UNFINISHED_TOOL_CALL as bG, type UsagePurpose as bH, askInputSchema as bI, askToolDefinition as bJ, danglingToolCallIds as bK, decodeStreamEvent as bL, defaultCanDecide as bM, encodeStreamEvent as bN, invokeWithTransientRetry as bO, isChatQueueStore as bP, isTransientToolError as bQ, isTypedQuestion as bR, mayDecideApproval as bS, normalizeElicitationReply as bT, questionOptions as bU, queuedMessageView as bV, readElicitationInput as bW, readElicitationQuestions as bX, releaseThreadRun as bY, renderElicitationAnswers as bZ, resolveActionProposalApproval as b_, type HistorySelection as ba, type HistorySummary as bb, type InvokeWithTransientRetryOptions as bc, MAX_ASK_QUESTIONS as bd, type MessageFeedbackValue as be, type MessageRole as bf, type PersonaRef as bg, type PromptContext as bh, type QueuePauseReason as bi, type QueuedMessageView as bj, type QuotaView as bk, REQUESTER_APPROVER as bl, RUN_ENDED_BEFORE_TOOL_CALL as bm, type RecordRunEndInput as bn, type ResolveActionProposalApprovalInput as bo, type ThreadTurnPage as bp, type ThreadTurnQuery as bq, type ThreadTurnReader as br, type ToolCallApproval as bs, type ToolCallApprovalColumns as bt, type ToolCallApprovalStatus as bu, type ToolCatalogEntry as bv, type ToolDescription as bw, type ToolKind as bx, type ToolPreflightOptions as by, type ToolPresentationTone as bz, type ToolPresentation as c, resolveToolTransientRetryNumbers as c0, settleDanglingToolCalls as c1, settleElicitation as c2, toolCallApprovalFromRow as c3, validateElicitationAnswer as c4, validateElicitationValue as c5, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type TableCell as i, type TableProps as j, chart as k, createComponent as l, createComponentRegistry as m, negotiateCatalog as n, validateUiCapabilities as o, prepareUiEmission as p, type ToolDefinition as q, type ToolCallRequest as r, snapshotComponentPresentation as s, table as t, type MessageUsage as u, validatePresentationBatch as v, type AgentUiComponent as w, type AiToolCtx as x, type AgentRunInput as y, type MessageAttachment as z };
@@ -531,6 +531,11 @@ interface CreateThreadInput {
531
531
  id?: string;
532
532
  /** The persona the thread's turns run under when a send names none. See {@link ThreadSummary.persona}. */
533
533
  persona?: string;
534
+ /**
535
+ * The agent the send that creates the thread names (already resolved: an explicit pick, else the
536
+ * default). A store that keeps an agent per thread starts it there; others ignore it.
537
+ */
538
+ agentName?: string;
534
539
  }
535
540
  interface AppendMessageInput {
536
541
  actionProposalOutcome?: ActionProposalOutcome;
@@ -919,6 +924,8 @@ interface QueuedMessage {
919
924
  model?: string;
920
925
  pageContext?: PageContext;
921
926
  uiCapabilities?: UiCapabilities;
927
+ /** The send's {@link AgentRunInput.hostContext}, carried to the turn it starts. Never on the wire view. */
928
+ hostContext?: AgentHostContext;
922
929
  /**
923
930
  * Queued by an interrupt (`POST chat { mode: 'interrupt' }`): the running turn was cancelled to
924
931
  * make room for it, so the cancel starts it instead of pausing the queue.
@@ -958,6 +965,7 @@ interface EnqueueMessageInput {
958
965
  model?: string;
959
966
  pageContext?: PageContext;
960
967
  uiCapabilities?: UiCapabilities;
968
+ hostContext?: AgentHostContext;
961
969
  interrupt?: boolean;
962
970
  /** `'tail'` (default) runs it after everything already waiting; `'head'` runs it next. */
963
971
  at?: 'tail' | 'head';
@@ -1782,6 +1790,10 @@ type PromptBuilder = (ctx: PromptContext) => string | Promise<string>;
1782
1790
  */
1783
1791
  type PromptContributor = (ctx: PromptContext) => string | null | Promise<string | null>;
1784
1792
  /** Everything needed to run one agent turn. */
1793
+ /** See {@link AgentRunInput.hostContext}. JSON only. */
1794
+ type AgentHostContext = {
1795
+ readonly [key: string]: unknown;
1796
+ };
1785
1797
  interface AgentRunInput {
1786
1798
  threadId: string;
1787
1799
  actor: Actor;
@@ -1848,6 +1860,13 @@ interface AgentRunInput {
1848
1860
  * label when the provider reports none. Omitted → the provider's default.
1849
1861
  */
1850
1862
  model?: string;
1863
+ /**
1864
+ * What the HOST knows about this turn that the library does not model — where it came from, where
1865
+ * its answer goes, on whose behalf (e.g. `{ source: 'slack', delivery: { channel, ts } }`). Plain
1866
+ * JSON: it travels through the queue and the durable journal untouched, and reaches the runner's
1867
+ * hooks (an engine's host callbacks) as it was sent. Never shown to the model or to clients.
1868
+ */
1869
+ hostContext?: AgentHostContext;
1851
1870
  }
1852
1871
  /**
1853
1872
  * A named agent: its prompt, the tools it may use, and who it can hand off to. This is the
@@ -2644,4 +2663,4 @@ type AgentStreamErrorCode = 'quota_exceeded' | 'output_rejected' | 'structured_o
2644
2663
  /** A model call ended without producing anything. */
2645
2664
  | 'model_no_output' | 'run_failed';
2646
2665
 
2647
- export { type Decision as $, type AgentStreamEvent as A, type ActionProposalMutationResult as B, type ChartProps as C, type ActionProposal as D, type ActionProposalExecution as E, type ActionProposalOutcomeDelivery as F, type AgentDefinition as G, type HumanReply as H, type Persona as I, type PersonaCatalogEntry as J, type HistoryPolicy as K, type PageContext as L, type ModelMessage as M, type AgentStore as N, type AgentDelegation as O, type PreparedUiEmission as P, type QuotaState as Q, type DetachedDelivery as R, type ToolDescribeScope as S, type ToolSpec as T, type UiCapabilities as U, type ToolPreflightResult as V, type ApprovalPolicy as W, type PromptBuilder as X, type PromptContributor as Y, type ToolTransientRetrySetting as Z, type AgentIntake as _, type Actor as a, ELICITATION_INPUT_TYPES as a$, type ElicitationRequest as a0, type LlmStepEnvelope as a1, type ToolStepEnvelope as a2, type ClaimActionProposal as a3, type ActionProposalStore as a4, type ActionProposalStoreOptions as a5, type CreateActionProposal as a6, type CreateActionProposalResult as a7, type ActionProposalScope as a8, type ListActionProposals as a9, type ToolConfirmation as aA, type ActionProposalDecision as aB, type ActionProposalSupersessionStore as aC, ALL_AGENTS as aD, ASK_TOOL_DESCRIPTION as aE, ASK_TOOL_NAME as aF, type ActionProposalDecisionAudit as aG, type ActionProposalExecutionContext as aH, type ActionProposalLease as aI, type AgentApprovalRequest as aJ, type AgentApprovalSettlement as aK, type AgentAttachmentConfig as aL, type AgentCatalogEntry as aM, type AgentClientConfig as aN, type AgentHistoryWindow as aO, type AgentStreamErrorCode as aP, type ApprovalDecisionRef as aQ, type ApprovalRequirement as aR, type ApprovalThreadRef as aS, type ApprovalToolRef as aT, type AskToolInput as aU, type ChatQueueState as aV, type ClaimedActionApproval as aW, DEFAULT_INTAKE_PREAMBLE as aX, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as aY, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as aZ, DefaultApprovalPolicy as a_, type ActionProposalDecisionCommand as aa, type ExtendActionProposalLease as ab, type SettleActionProposal as ac, type ActionProposalOutcome as ad, type ActionProposalOutcomeLease as ae, type ToolCallStatus as af, type ChatQueueStore as ag, type ActionProposalOutcomeStore as ah, type CreateThreadInput as ai, type ThreadSummary as aj, type ThreadDetail as ak, type ToolCallApprovalState as al, type UpdateThreadInput as am, type RecordRunStartInput as an, type EnqueueMessageInput as ao, type QueuedMessage as ap, type QueuedMessagePatch as aq, type QueuePause as ar, type AppendMessageInput as as, type StoredMessage as at, type ToolResult as au, type MessageFeedback as av, type RecordToolCallInput as aw, type ToolCallOutcome as ax, type UpdateToolCallInput as ay, type RecordUsageInput as az, type ToolHandler as b, resolveToolTransientRetryNumbers as b$, type ElicitationInput as b0, type ElicitationInputType as b1, type ElicitationOption as b2, type ElicitationOutcome as b3, type ElicitationQuestion as b4, type ElicitationReply as b5, type ElicitationResult as b6, type EmitUiOptions as b7, type HistoryPolicyContext as b8, type HistorySelection as b9, type ToolResultView as bA, type ToolStepCtx as bB, type ToolTransientRetryNumbers as bC, type ToolTransientRetryOptions as bD, type TurnPersona as bE, UNFINISHED_TOOL_CALL as bF, type UsagePurpose as bG, askInputSchema as bH, askToolDefinition as bI, danglingToolCallIds as bJ, decodeStreamEvent as bK, defaultCanDecide as bL, encodeStreamEvent as bM, invokeWithTransientRetry as bN, isChatQueueStore as bO, isTransientToolError as bP, isTypedQuestion as bQ, mayDecideApproval as bR, normalizeElicitationReply as bS, questionOptions as bT, queuedMessageView as bU, readElicitationInput as bV, readElicitationQuestions as bW, releaseThreadRun as bX, renderElicitationAnswers as bY, resolveActionProposalApproval as bZ, resolveElicitation as b_, type HistorySummary as ba, type InvokeWithTransientRetryOptions as bb, MAX_ASK_QUESTIONS as bc, type MessageFeedbackValue as bd, type MessageRole as be, type PersonaRef as bf, type PromptContext as bg, type QueuePauseReason as bh, type QueuedMessageView as bi, type QuotaView as bj, REQUESTER_APPROVER as bk, RUN_ENDED_BEFORE_TOOL_CALL as bl, type RecordRunEndInput as bm, type ResolveActionProposalApprovalInput as bn, type ThreadTurnPage as bo, type ThreadTurnQuery as bp, type ThreadTurnReader as bq, type ToolCallApproval as br, type ToolCallApprovalColumns as bs, type ToolCallApprovalStatus as bt, type ToolCatalogEntry as bu, type ToolDescription as bv, type ToolKind as bw, type ToolPreflightOptions as bx, type ToolPresentationTone as by, type ToolResultField as bz, type ToolPresentation as c, settleDanglingToolCalls as c0, settleElicitation as c1, toolCallApprovalFromRow as c2, validateElicitationAnswer as c3, validateElicitationValue as c4, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type TableCell as i, type TableProps as j, chart as k, createComponent as l, createComponentRegistry as m, negotiateCatalog as n, validateUiCapabilities as o, prepareUiEmission as p, type ToolDefinition as q, type ToolCallRequest as r, snapshotComponentPresentation as s, table as t, type MessageUsage as u, validatePresentationBatch as v, type AgentUiComponent as w, type AiToolCtx as x, type AgentRunInput as y, type MessageAttachment as z };
2666
+ export { type Decision as $, type AgentStreamEvent as A, type ActionProposalMutationResult as B, type ChartProps as C, type ActionProposal as D, type ActionProposalExecution as E, type ActionProposalOutcomeDelivery as F, type AgentDefinition as G, type HumanReply as H, type Persona as I, type PersonaCatalogEntry as J, type HistoryPolicy as K, type PageContext as L, type ModelMessage as M, type AgentStore as N, type AgentDelegation as O, type PreparedUiEmission as P, type QuotaState as Q, type DetachedDelivery as R, type ToolDescribeScope as S, type ToolSpec as T, type UiCapabilities as U, type ToolPreflightResult as V, type ApprovalPolicy as W, type PromptBuilder as X, type PromptContributor as Y, type ToolTransientRetrySetting as Z, type AgentIntake as _, type Actor as a, DefaultApprovalPolicy as a$, type ElicitationRequest as a0, type LlmStepEnvelope as a1, type ToolStepEnvelope as a2, type ClaimActionProposal as a3, type ActionProposalStore as a4, type ActionProposalStoreOptions as a5, type CreateActionProposal as a6, type CreateActionProposalResult as a7, type ActionProposalScope as a8, type ListActionProposals as a9, type ToolConfirmation as aA, type ActionProposalDecision as aB, type ActionProposalSupersessionStore as aC, ALL_AGENTS as aD, ASK_TOOL_DESCRIPTION as aE, ASK_TOOL_NAME as aF, type ActionProposalDecisionAudit as aG, type ActionProposalExecutionContext as aH, type ActionProposalLease as aI, type AgentApprovalRequest as aJ, type AgentApprovalSettlement as aK, type AgentAttachmentConfig as aL, type AgentCatalogEntry as aM, type AgentClientConfig as aN, type AgentHistoryWindow as aO, type AgentHostContext as aP, type AgentStreamErrorCode as aQ, type ApprovalDecisionRef as aR, type ApprovalRequirement as aS, type ApprovalThreadRef as aT, type ApprovalToolRef as aU, type AskToolInput as aV, type ChatQueueState as aW, type ClaimedActionApproval as aX, DEFAULT_INTAKE_PREAMBLE as aY, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as aZ, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as a_, type ActionProposalDecisionCommand as aa, type ExtendActionProposalLease as ab, type SettleActionProposal as ac, type ActionProposalOutcome as ad, type ActionProposalOutcomeLease as ae, type ToolCallStatus as af, type ChatQueueStore as ag, type ActionProposalOutcomeStore as ah, type CreateThreadInput as ai, type ThreadSummary as aj, type ThreadDetail as ak, type ToolCallApprovalState as al, type UpdateThreadInput as am, type RecordRunStartInput as an, type EnqueueMessageInput as ao, type QueuedMessage as ap, type QueuedMessagePatch as aq, type QueuePause as ar, type AppendMessageInput as as, type StoredMessage as at, type ToolResult as au, type MessageFeedback as av, type RecordToolCallInput as aw, type ToolCallOutcome as ax, type UpdateToolCallInput as ay, type RecordUsageInput as az, type ToolHandler as b, resolveElicitation as b$, ELICITATION_INPUT_TYPES as b0, type ElicitationInput as b1, type ElicitationInputType as b2, type ElicitationOption as b3, type ElicitationOutcome as b4, type ElicitationQuestion as b5, type ElicitationReply as b6, type ElicitationResult as b7, type EmitUiOptions as b8, type HistoryPolicyContext as b9, type ToolResultField as bA, type ToolResultView as bB, type ToolStepCtx as bC, type ToolTransientRetryNumbers as bD, type ToolTransientRetryOptions as bE, type TurnPersona as bF, UNFINISHED_TOOL_CALL as bG, type UsagePurpose as bH, askInputSchema as bI, askToolDefinition as bJ, danglingToolCallIds as bK, decodeStreamEvent as bL, defaultCanDecide as bM, encodeStreamEvent as bN, invokeWithTransientRetry as bO, isChatQueueStore as bP, isTransientToolError as bQ, isTypedQuestion as bR, mayDecideApproval as bS, normalizeElicitationReply as bT, questionOptions as bU, queuedMessageView as bV, readElicitationInput as bW, readElicitationQuestions as bX, releaseThreadRun as bY, renderElicitationAnswers as bZ, resolveActionProposalApproval as b_, type HistorySelection as ba, type HistorySummary as bb, type InvokeWithTransientRetryOptions as bc, MAX_ASK_QUESTIONS as bd, type MessageFeedbackValue as be, type MessageRole as bf, type PersonaRef as bg, type PromptContext as bh, type QueuePauseReason as bi, type QueuedMessageView as bj, type QuotaView as bk, REQUESTER_APPROVER as bl, RUN_ENDED_BEFORE_TOOL_CALL as bm, type RecordRunEndInput as bn, type ResolveActionProposalApprovalInput as bo, type ThreadTurnPage as bp, type ThreadTurnQuery as bq, type ThreadTurnReader as br, type ToolCallApproval as bs, type ToolCallApprovalColumns as bt, type ToolCallApprovalStatus as bu, type ToolCatalogEntry as bv, type ToolDescription as bw, type ToolKind as bx, type ToolPreflightOptions as by, type ToolPresentationTone as bz, type ToolPresentation as c, resolveToolTransientRetryNumbers as c0, settleDanglingToolCalls as c1, settleElicitation as c2, toolCallApprovalFromRow as c3, validateElicitationAnswer as c4, validateElicitationValue as c5, type ComponentFactory as d, type ComponentManifest as e, type ComponentPresentation as f, type ComponentRegistry as g, type ComponentRenderer as h, type TableCell as i, type TableProps as j, chart as k, createComponent as l, createComponentRegistry as m, negotiateCatalog as n, validateUiCapabilities as o, prepareUiEmission as p, type ToolDefinition as q, type ToolCallRequest as r, snapshotComponentPresentation as s, table as t, type MessageUsage as u, validatePresentationBatch as v, type AgentUiComponent as w, type AiToolCtx as x, type AgentRunInput as y, type MessageAttachment as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudousxd/nestjs-agent-core",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/DavideCarvalho/nestjs-agent.git",