@dudousxd/nestjs-agent-core 0.30.0 → 0.31.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/genui/index.d.cts +1 -1
- package/dist/genui/index.d.ts +1 -1
- package/dist/guardrails/index.d.cts +2 -2
- package/dist/guardrails/index.d.ts +2 -2
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/{processors-8c9g9J6R.d.ts → processors-C3Qx3ZdF.d.ts} +1 -1
- package/dist/{processors-DdwZ0NFG.d.cts → processors-DdnRmmlq.d.cts} +1 -1
- package/dist/{tool-CfnSyIQf.d.cts → tool-B0J4Fjyd.d.cts} +6 -1
- package/dist/{tool-CfnSyIQf.d.ts → tool-B0J4Fjyd.d.ts} +6 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-
|
|
1
|
+
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-B0J4Fjyd.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, d as ToolCallRequest } from './tool-
|
|
1
|
+
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-B0J4Fjyd.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
|
|
@@ -667,6 +667,11 @@ type ToolResultView =
|
|
|
667
667
|
| {
|
|
668
668
|
kind: 'elsewhere';
|
|
669
669
|
};
|
|
670
|
+
/**
|
|
671
|
+
* `GET <base>/tools?agent=*` (and `useToolCatalog({ agent: ALL_AGENTS })`): every tool the actor
|
|
672
|
+
* reaches through ANY agent, each once — for a surface that shows several agents' conversations.
|
|
673
|
+
*/
|
|
674
|
+
declare const ALL_AGENTS = "*";
|
|
670
675
|
/**
|
|
671
676
|
* One tool as `GET <base>/tools` reports it: the tools THIS actor may be offered by the chosen agent,
|
|
672
677
|
* with how each is spoken about. `presentation` is absent for a tool that declared none — a client
|
|
@@ -1480,4 +1485,4 @@ interface ToolDescription {
|
|
|
1480
1485
|
inputSchema?: StandardSchemaV1;
|
|
1481
1486
|
}
|
|
1482
1487
|
|
|
1483
|
-
export { type
|
|
1488
|
+
export { type ElicitationInputType as $, type Actor as A, type ToolStepEnvelope as B, ALL_AGENTS as C, type DetachedDelivery as D, type ElicitationRequest as E, ASK_TOOL_DESCRIPTION as F, ASK_TOOL_NAME as G, type HumanReply as H, type AgentApprovalRequest as I, type AgentApprovalSettlement as J, type AgentAttachmentConfig as K, type LlmStepEnvelope as L, type ModelMessage as M, type AgentCatalogEntry as N, type AgentClientConfig as O, type PageContext as P, type QuotaState as Q, type AgentHistoryWindow as R, type StoredMessage as S, type ToolSpec as T, type UsagePurpose as U, type AskToolInput as V, DEFAULT_INTAKE_PREAMBLE as W, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as X, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as Y, ELICITATION_INPUT_TYPES as Z, type ElicitationInput as _, type ToolHandler as a, type ElicitationOption as a0, type ElicitationOutcome as a1, type ElicitationQuestion as a2, type ElicitationReply as a3, type ElicitationResult as a4, type HistoryPolicyContext as a5, type HistorySelection as a6, type HistorySummary as a7, type InvokeWithTransientRetryOptions as a8, MAX_ASK_QUESTIONS as a9, resolveElicitation as aA, resolveToolTransientRetryNumbers as aB, settleElicitation as aC, validateElicitationAnswer as aD, validateElicitationValue as aE, type MessageFeedbackValue as aa, type MessageRole as ab, type PromptContext as ac, type QuotaView as ad, type ToolCallApprovalStatus as ae, type ToolCatalogEntry as af, type ToolConfirmation as ag, type ToolDescription as ah, type ToolPresentationTone as ai, type ToolResultField as aj, type ToolResultView as ak, type ToolStepCtx as al, type ToolTransientRetryNumbers as am, type ToolTransientRetryOptions as an, askInputSchema as ao, askToolDefinition as ap, decodeStreamEvent as aq, encodeStreamEvent as ar, invokeWithTransientRetry as as, isTransientToolError as at, isTypedQuestion as au, normalizeElicitationReply as av, questionOptions as aw, readElicitationInput as ax, readElicitationQuestions as ay, renderElicitationAnswers as az, type ToolPresentation as b, type ToolDefinition as c, type ToolCallRequest as d, type MessageUsage as e, type AgentUiComponent as f, type AiToolCtx as g, type AgentStreamEvent as h, type ThreadSummary as i, type ThreadDetail as j, type ToolResult as k, type MessageAttachment as l, type MessageFeedback as m, type ToolCallStatus as n, type AgentRunInput as o, type ToolKind as p, type ToolCallApproval as q, type HistoryPolicy as r, type AgentDefinition as s, type AgentDelegation as t, type ToolDescribeScope as u, type PromptBuilder as v, type PromptContributor as w, type ToolTransientRetrySetting as x, type AgentIntake as y, type Decision as z };
|
|
@@ -667,6 +667,11 @@ type ToolResultView =
|
|
|
667
667
|
| {
|
|
668
668
|
kind: 'elsewhere';
|
|
669
669
|
};
|
|
670
|
+
/**
|
|
671
|
+
* `GET <base>/tools?agent=*` (and `useToolCatalog({ agent: ALL_AGENTS })`): every tool the actor
|
|
672
|
+
* reaches through ANY agent, each once — for a surface that shows several agents' conversations.
|
|
673
|
+
*/
|
|
674
|
+
declare const ALL_AGENTS = "*";
|
|
670
675
|
/**
|
|
671
676
|
* One tool as `GET <base>/tools` reports it: the tools THIS actor may be offered by the chosen agent,
|
|
672
677
|
* with how each is spoken about. `presentation` is absent for a tool that declared none — a client
|
|
@@ -1480,4 +1485,4 @@ interface ToolDescription {
|
|
|
1480
1485
|
inputSchema?: StandardSchemaV1;
|
|
1481
1486
|
}
|
|
1482
1487
|
|
|
1483
|
-
export { type
|
|
1488
|
+
export { type ElicitationInputType as $, type Actor as A, type ToolStepEnvelope as B, ALL_AGENTS as C, type DetachedDelivery as D, type ElicitationRequest as E, ASK_TOOL_DESCRIPTION as F, ASK_TOOL_NAME as G, type HumanReply as H, type AgentApprovalRequest as I, type AgentApprovalSettlement as J, type AgentAttachmentConfig as K, type LlmStepEnvelope as L, type ModelMessage as M, type AgentCatalogEntry as N, type AgentClientConfig as O, type PageContext as P, type QuotaState as Q, type AgentHistoryWindow as R, type StoredMessage as S, type ToolSpec as T, type UsagePurpose as U, type AskToolInput as V, DEFAULT_INTAKE_PREAMBLE as W, DEFAULT_TOOL_TRANSIENT_RETRY_ATTEMPTS as X, DEFAULT_TOOL_TRANSIENT_RETRY_BACKOFF_MS as Y, ELICITATION_INPUT_TYPES as Z, type ElicitationInput as _, type ToolHandler as a, type ElicitationOption as a0, type ElicitationOutcome as a1, type ElicitationQuestion as a2, type ElicitationReply as a3, type ElicitationResult as a4, type HistoryPolicyContext as a5, type HistorySelection as a6, type HistorySummary as a7, type InvokeWithTransientRetryOptions as a8, MAX_ASK_QUESTIONS as a9, resolveElicitation as aA, resolveToolTransientRetryNumbers as aB, settleElicitation as aC, validateElicitationAnswer as aD, validateElicitationValue as aE, type MessageFeedbackValue as aa, type MessageRole as ab, type PromptContext as ac, type QuotaView as ad, type ToolCallApprovalStatus as ae, type ToolCatalogEntry as af, type ToolConfirmation as ag, type ToolDescription as ah, type ToolPresentationTone as ai, type ToolResultField as aj, type ToolResultView as ak, type ToolStepCtx as al, type ToolTransientRetryNumbers as am, type ToolTransientRetryOptions as an, askInputSchema as ao, askToolDefinition as ap, decodeStreamEvent as aq, encodeStreamEvent as ar, invokeWithTransientRetry as as, isTransientToolError as at, isTypedQuestion as au, normalizeElicitationReply as av, questionOptions as aw, readElicitationInput as ax, readElicitationQuestions as ay, renderElicitationAnswers as az, type ToolPresentation as b, type ToolDefinition as c, type ToolCallRequest as d, type MessageUsage as e, type AgentUiComponent as f, type AiToolCtx as g, type AgentStreamEvent as h, type ThreadSummary as i, type ThreadDetail as j, type ToolResult as k, type MessageAttachment as l, type MessageFeedback as m, type ToolCallStatus as n, type AgentRunInput as o, type ToolKind as p, type ToolCallApproval as q, type HistoryPolicy as r, type AgentDefinition as s, type AgentDelegation as t, type ToolDescribeScope as u, type PromptBuilder as v, type PromptContributor as w, type ToolTransientRetrySetting as x, type AgentIntake as y, type Decision as z };
|