@dudousxd/nestjs-agent 1.17.1 → 1.18.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/{chat-queue.service-Bqq00NN1.d.cts → chat-queue.service-5LIogd9K.d.cts} +27 -1
- package/dist/{chat-queue.service-Bqq00NN1.d.ts → chat-queue.service-5LIogd9K.d.ts} +27 -1
- package/dist/durable/index.cjs +61 -11
- package/dist/durable/index.cjs.map +1 -1
- package/dist/durable/index.d.cts +1 -1
- package/dist/durable/index.d.ts +1 -1
- package/dist/durable/index.js +61 -11
- package/dist/durable/index.js.map +1 -1
- package/dist/index.cjs +390 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +78 -5
- package/dist/index.d.ts +78 -5
- package/dist/index.js +383 -11
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DynamicModule, Type, OnApplicationBootstrap, OnModuleInit, ConflictException } from '@nestjs/common';
|
|
2
|
-
import { b as AgentModuleOptions, c as AgentModuleAsyncOptions, A as AgentDepsFactory, C as ChatQueueService, d as AgentSkillsOptions } from './chat-queue.service-
|
|
3
|
-
export {
|
|
4
|
-
import { AgentRunner, AgentStore, AttachmentStagingStore, ModelCatalog, QuotaProvider, Actor, QuotaReport, ModelCatalogView, AttachmentRef, PageContext, ChatQueueState, HumanReply, ThreadSummary, ThreadDetail, UpdateThreadInput, MessageFeedbackValue, MessageFeedback, StagedAttachment,
|
|
2
|
+
import { b as AgentModuleOptions, c as AgentModuleAsyncOptions, A as AgentDepsFactory, C as ChatQueueService, d as AgentProtocolAdapter, e as AgentSkillsOptions } from './chat-queue.service-5LIogd9K.cjs';
|
|
3
|
+
export { f as AGENT_TOOL_BRAND, g as AgentAttachmentsOptions, h as AgentDeps, i as AgentMemoryOptions, a as AgentSurface, F as FunctionalTool, L as LedgerQuotaProvider, Q as QueuePlan, j as QueueSettleOutcome, k as QueuedTurn, l as QueuedTurnStarter, m as QuotaLimits, n as QuotaWindowLimits, o as delegateToolName, p as provideAgentTool, q as provideAgentTools, u as utcDay } from './chat-queue.service-5LIogd9K.cjs';
|
|
4
|
+
import { AgentRunner, AgentStore, AttachmentStagingStore, ModelCatalog, QuotaProvider, Actor, QuotaReport, ModelCatalogView, AttachmentRef, PageContext, ChatQueueState, HumanReply, ThreadSummary, ThreadDetail, UpdateThreadInput, MessageFeedbackValue, MessageFeedback, StagedAttachment, ActorResolver, AgentApprovalPort, MessageAttachment, AgentAttachmentConfig, AgentClientConfig, ToolPresentation, AgentHistoryWindow, AgentIntake, SkillContext, ToolRegistry, AgentRegistry, PromptContributor, SkillsConfig, SkillCatalogEntry, ToolCatalogEntry, MemoryConfig, MemoryDigestEntry, SkillProvider, AgentRunInput, AgentRunStartOptions, TokenStreamSink, SinkWriter } from '@dudousxd/nestjs-agent-core';
|
|
5
5
|
export * from '@dudousxd/nestjs-agent-core';
|
|
6
|
-
import { Request } from 'express';
|
|
6
|
+
import { Request, Response } from 'express';
|
|
7
7
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import { DiscoveryService, MetadataScanner } from '@nestjs/core';
|
|
9
9
|
|
|
@@ -66,6 +66,12 @@ interface ChatParams {
|
|
|
66
66
|
transient?: boolean;
|
|
67
67
|
/** What to do when the thread already has a turn running — see {@link ChatSendMode}. */
|
|
68
68
|
mode?: ChatSendMode;
|
|
69
|
+
/**
|
|
70
|
+
* When creating a thread (no `threadId`), ask the store to create it under this id — the id an
|
|
71
|
+
* AG-UI consumer named the conversation with. A store may ignore it (`CreateThreadInput.id`); the
|
|
72
|
+
* thread's real id is always the one on the result.
|
|
73
|
+
*/
|
|
74
|
+
newThreadId?: string;
|
|
69
75
|
}
|
|
70
76
|
/**
|
|
71
77
|
* A store that can answer a thread's default agent on its own, without materializing the thread.
|
|
@@ -257,6 +263,22 @@ declare class AgentService {
|
|
|
257
263
|
* its word that it is, and so is one that fails to answer.
|
|
258
264
|
*/
|
|
259
265
|
private assertRunWaiting;
|
|
266
|
+
/** Who owns the thread, or `null` when there is no such (live) thread. */
|
|
267
|
+
threadOwner(threadId: string): Promise<string | null>;
|
|
268
|
+
/**
|
|
269
|
+
* May `actor` continue the run whose stream is `runId` — the AG-UI resume? Only the actor whose
|
|
270
|
+
* thread is streaming it (`403` otherwise), and only while it still is: a run that is over is
|
|
271
|
+
* waiting on no one (`409 run_not_active`), whatever an old interrupt id says.
|
|
272
|
+
*/
|
|
273
|
+
assertResumable(actor: Actor, runId: string): Promise<void>;
|
|
274
|
+
/**
|
|
275
|
+
* Everything {@link approve} / {@link reject} check before they signal — who may decide, and
|
|
276
|
+
* that the request has not lapsed — without signalling. For a caller that settles several
|
|
277
|
+
* decisions at once and must refuse all of them if one is refused (an AG-UI resume).
|
|
278
|
+
*/
|
|
279
|
+
checkDecision(actor: Actor, toolCallId: string): Promise<void>;
|
|
280
|
+
/** Everything {@link answer} checks before it signals, without signalling — see {@link checkDecision}. */
|
|
281
|
+
checkAnswer(actor: Actor, toolCallId: string, answers: Record<string, string[]>): Promise<void>;
|
|
260
282
|
cancel(actor: Actor, runId: string): Promise<void>;
|
|
261
283
|
listThreads(actorRef: string): Promise<ThreadSummary[]>;
|
|
262
284
|
getThread(actor: Actor, threadId: string): Promise<ThreadDetail | null>;
|
|
@@ -391,6 +413,57 @@ declare class AgentService {
|
|
|
391
413
|
private assertOwnsActiveStream;
|
|
392
414
|
}
|
|
393
415
|
|
|
416
|
+
interface AgUiAdapterOptions {
|
|
417
|
+
/** Where the route mounts, under the agent's path. Default `'ag-ui'` → `POST <path>/ag-ui`. */
|
|
418
|
+
path?: string;
|
|
419
|
+
/**
|
|
420
|
+
* How long a run that is waiting on a person AND still has other work announced may stay silent
|
|
421
|
+
* before it is reported interrupted. Default 750 ms.
|
|
422
|
+
*/
|
|
423
|
+
quietMs?: number;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Serves the agent over AG-UI 1.0. Not mounted directly — {@link agUiAdapter} mounts a subclass at
|
|
427
|
+
* the configured path — but exported so a host can extend it under a route of its own.
|
|
428
|
+
*/
|
|
429
|
+
declare class AgUiRunHandler {
|
|
430
|
+
protected readonly agent: AgentService;
|
|
431
|
+
protected readonly actorResolver: ActorResolver;
|
|
432
|
+
protected readonly options: AgentModuleOptions;
|
|
433
|
+
protected readonly staging: AttachmentStagingStore | undefined;
|
|
434
|
+
protected readonly quietMs: number | undefined;
|
|
435
|
+
constructor(agent: AgentService, actorResolver: ActorResolver, options: AgentModuleOptions, staging: AttachmentStagingStore | undefined, quietMs: number | undefined);
|
|
436
|
+
handle(req: Request, res: Response, body: unknown): Promise<void>;
|
|
437
|
+
/** Stage the turn's inline media through the bound store, within its limits; say what was not used. */
|
|
438
|
+
private stage;
|
|
439
|
+
/**
|
|
440
|
+
* Deliver what a resume list decided, through the same calls the native decision routes make.
|
|
441
|
+
* Everything that can refuse — who may decide, an answer a question's rules reject, a payload that
|
|
442
|
+
* says nothing — is checked for EVERY entry before the first one is delivered, so a list with one
|
|
443
|
+
* bad entry settles nothing.
|
|
444
|
+
*/
|
|
445
|
+
private settle;
|
|
446
|
+
/**
|
|
447
|
+
* Pipe a run to the client as AG-UI 1.0 over SSE: one event per `data:` line, from `RUN_STARTED`
|
|
448
|
+
* to the run's terminal event. It ends when the run stops to ask — the library run stays parked,
|
|
449
|
+
* and the request that answers re-attaches to it.
|
|
450
|
+
*/
|
|
451
|
+
private pipe;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Serve the agent over AG-UI 1.0 (https://docs.ag-ui.com/spec/1.0): the body of
|
|
455
|
+
* `POST <path>/ag-ui` is a `RunAgentInput`, the answer the run as AG-UI events. A run that stops to
|
|
456
|
+
* ask ends with the interrupt outcome and is continued by a later request carrying `resume`.
|
|
457
|
+
*
|
|
458
|
+
* ```ts
|
|
459
|
+
* AgentModule.forRoot({ model, adapters: [agUiAdapter()] })
|
|
460
|
+
* ```
|
|
461
|
+
*
|
|
462
|
+
* Authenticated by the module's `actorResolver`, guarded by its `guards` and owner-scoped exactly
|
|
463
|
+
* as `chat`, `chat/:runId/stream` and the `tool-call` routes are.
|
|
464
|
+
*/
|
|
465
|
+
declare function agUiAdapter(options?: AgUiAdapterOptions): AgentProtocolAdapter;
|
|
466
|
+
|
|
394
467
|
/**
|
|
395
468
|
* Binds `AGENT_APPROVAL_PORT` for the console's cross-thread approvals inbox to the SAME decision
|
|
396
469
|
* path chat approvals use — `AgentService.signalToolCall` (resolve the run awaiting `toolCallId`,
|
|
@@ -1215,4 +1288,4 @@ declare class RunNotActiveException extends ConflictException {
|
|
|
1215
1288
|
constructor(runId: string);
|
|
1216
1289
|
}
|
|
1217
1290
|
|
|
1218
|
-
export { AGENT_CHAT_QUEUE, AGENT_METADATA, AI_TOOL_METADATA, ATTACHMENT_PAGE_SIZE, Agent, AgentApprovalPortAdapter, AgentDepsFactory, AgentDiscoveryService, AgentModule, AgentModuleAsyncOptions, AgentModuleOptions, type AgentOptions, AgentService, AgentSkillsOptions, AiTool, AiToolDiscoveryService, type AiToolOptions, type AnonymousActorOptions, AnonymousActorResolver, type AttachmentLimits, AttachmentsController, type ChatParams, ChatQueueService, type ChatSendMode, type ChatSendResult, ConfigController, DEFAULT_ALLOWED_ATTACHMENT_CONTENT_TYPES, DEFAULT_MAX_ATTACHMENT_BYTES, type DeclaredSkill, HeaderActorResolver, InProcessTokenStreamSink, InlineAgentRunner, MAX_ATTACHMENTS_PER_MESSAGE, MemoriesController, MessagesController, ModelsController, QueueController, type QueuedSend, type RequestUserMapper, type ResolvedAiToolOptions, RunNotActiveException, SKILL_METADATA, SYSTEM_PROMPT_CONTRIBUTOR_METADATA, SYSTEM_PROMPT_METADATA, Skill, type SkillBody, SkillDiscoveryService, type SkillOptions, SkillsController, SystemPrompt, SystemPromptContributor, type ThreadDefaultAgentReader, type ThreadModelReader, ToolsController, attachmentLimits, declaredSkillProvider, defaultRequestUserMapper, readAgentMetadata, readAiToolMetadata, readSkillMetadata, requestUserActorResolver, resolveSkillsConfig, skillScope, toolNameFromClass };
|
|
1291
|
+
export { AGENT_CHAT_QUEUE, AGENT_METADATA, AI_TOOL_METADATA, ATTACHMENT_PAGE_SIZE, type AgUiAdapterOptions, AgUiRunHandler, Agent, AgentApprovalPortAdapter, AgentDepsFactory, AgentDiscoveryService, AgentModule, AgentModuleAsyncOptions, AgentModuleOptions, type AgentOptions, AgentProtocolAdapter, AgentService, AgentSkillsOptions, AiTool, AiToolDiscoveryService, type AiToolOptions, type AnonymousActorOptions, AnonymousActorResolver, type AttachmentLimits, AttachmentsController, type ChatParams, ChatQueueService, type ChatSendMode, type ChatSendResult, ConfigController, DEFAULT_ALLOWED_ATTACHMENT_CONTENT_TYPES, DEFAULT_MAX_ATTACHMENT_BYTES, type DeclaredSkill, HeaderActorResolver, InProcessTokenStreamSink, InlineAgentRunner, MAX_ATTACHMENTS_PER_MESSAGE, MemoriesController, MessagesController, ModelsController, QueueController, type QueuedSend, type RequestUserMapper, type ResolvedAiToolOptions, RunNotActiveException, SKILL_METADATA, SYSTEM_PROMPT_CONTRIBUTOR_METADATA, SYSTEM_PROMPT_METADATA, Skill, type SkillBody, SkillDiscoveryService, type SkillOptions, SkillsController, SystemPrompt, SystemPromptContributor, type ThreadDefaultAgentReader, type ThreadModelReader, ToolsController, agUiAdapter, attachmentLimits, declaredSkillProvider, defaultRequestUserMapper, readAgentMetadata, readAiToolMetadata, readSkillMetadata, requestUserActorResolver, resolveSkillsConfig, skillScope, toolNameFromClass };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DynamicModule, Type, OnApplicationBootstrap, OnModuleInit, ConflictException } from '@nestjs/common';
|
|
2
|
-
import { b as AgentModuleOptions, c as AgentModuleAsyncOptions, A as AgentDepsFactory, C as ChatQueueService, d as AgentSkillsOptions } from './chat-queue.service-
|
|
3
|
-
export {
|
|
4
|
-
import { AgentRunner, AgentStore, AttachmentStagingStore, ModelCatalog, QuotaProvider, Actor, QuotaReport, ModelCatalogView, AttachmentRef, PageContext, ChatQueueState, HumanReply, ThreadSummary, ThreadDetail, UpdateThreadInput, MessageFeedbackValue, MessageFeedback, StagedAttachment,
|
|
2
|
+
import { b as AgentModuleOptions, c as AgentModuleAsyncOptions, A as AgentDepsFactory, C as ChatQueueService, d as AgentProtocolAdapter, e as AgentSkillsOptions } from './chat-queue.service-5LIogd9K.js';
|
|
3
|
+
export { f as AGENT_TOOL_BRAND, g as AgentAttachmentsOptions, h as AgentDeps, i as AgentMemoryOptions, a as AgentSurface, F as FunctionalTool, L as LedgerQuotaProvider, Q as QueuePlan, j as QueueSettleOutcome, k as QueuedTurn, l as QueuedTurnStarter, m as QuotaLimits, n as QuotaWindowLimits, o as delegateToolName, p as provideAgentTool, q as provideAgentTools, u as utcDay } from './chat-queue.service-5LIogd9K.js';
|
|
4
|
+
import { AgentRunner, AgentStore, AttachmentStagingStore, ModelCatalog, QuotaProvider, Actor, QuotaReport, ModelCatalogView, AttachmentRef, PageContext, ChatQueueState, HumanReply, ThreadSummary, ThreadDetail, UpdateThreadInput, MessageFeedbackValue, MessageFeedback, StagedAttachment, ActorResolver, AgentApprovalPort, MessageAttachment, AgentAttachmentConfig, AgentClientConfig, ToolPresentation, AgentHistoryWindow, AgentIntake, SkillContext, ToolRegistry, AgentRegistry, PromptContributor, SkillsConfig, SkillCatalogEntry, ToolCatalogEntry, MemoryConfig, MemoryDigestEntry, SkillProvider, AgentRunInput, AgentRunStartOptions, TokenStreamSink, SinkWriter } from '@dudousxd/nestjs-agent-core';
|
|
5
5
|
export * from '@dudousxd/nestjs-agent-core';
|
|
6
|
-
import { Request } from 'express';
|
|
6
|
+
import { Request, Response } from 'express';
|
|
7
7
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import { DiscoveryService, MetadataScanner } from '@nestjs/core';
|
|
9
9
|
|
|
@@ -66,6 +66,12 @@ interface ChatParams {
|
|
|
66
66
|
transient?: boolean;
|
|
67
67
|
/** What to do when the thread already has a turn running — see {@link ChatSendMode}. */
|
|
68
68
|
mode?: ChatSendMode;
|
|
69
|
+
/**
|
|
70
|
+
* When creating a thread (no `threadId`), ask the store to create it under this id — the id an
|
|
71
|
+
* AG-UI consumer named the conversation with. A store may ignore it (`CreateThreadInput.id`); the
|
|
72
|
+
* thread's real id is always the one on the result.
|
|
73
|
+
*/
|
|
74
|
+
newThreadId?: string;
|
|
69
75
|
}
|
|
70
76
|
/**
|
|
71
77
|
* A store that can answer a thread's default agent on its own, without materializing the thread.
|
|
@@ -257,6 +263,22 @@ declare class AgentService {
|
|
|
257
263
|
* its word that it is, and so is one that fails to answer.
|
|
258
264
|
*/
|
|
259
265
|
private assertRunWaiting;
|
|
266
|
+
/** Who owns the thread, or `null` when there is no such (live) thread. */
|
|
267
|
+
threadOwner(threadId: string): Promise<string | null>;
|
|
268
|
+
/**
|
|
269
|
+
* May `actor` continue the run whose stream is `runId` — the AG-UI resume? Only the actor whose
|
|
270
|
+
* thread is streaming it (`403` otherwise), and only while it still is: a run that is over is
|
|
271
|
+
* waiting on no one (`409 run_not_active`), whatever an old interrupt id says.
|
|
272
|
+
*/
|
|
273
|
+
assertResumable(actor: Actor, runId: string): Promise<void>;
|
|
274
|
+
/**
|
|
275
|
+
* Everything {@link approve} / {@link reject} check before they signal — who may decide, and
|
|
276
|
+
* that the request has not lapsed — without signalling. For a caller that settles several
|
|
277
|
+
* decisions at once and must refuse all of them if one is refused (an AG-UI resume).
|
|
278
|
+
*/
|
|
279
|
+
checkDecision(actor: Actor, toolCallId: string): Promise<void>;
|
|
280
|
+
/** Everything {@link answer} checks before it signals, without signalling — see {@link checkDecision}. */
|
|
281
|
+
checkAnswer(actor: Actor, toolCallId: string, answers: Record<string, string[]>): Promise<void>;
|
|
260
282
|
cancel(actor: Actor, runId: string): Promise<void>;
|
|
261
283
|
listThreads(actorRef: string): Promise<ThreadSummary[]>;
|
|
262
284
|
getThread(actor: Actor, threadId: string): Promise<ThreadDetail | null>;
|
|
@@ -391,6 +413,57 @@ declare class AgentService {
|
|
|
391
413
|
private assertOwnsActiveStream;
|
|
392
414
|
}
|
|
393
415
|
|
|
416
|
+
interface AgUiAdapterOptions {
|
|
417
|
+
/** Where the route mounts, under the agent's path. Default `'ag-ui'` → `POST <path>/ag-ui`. */
|
|
418
|
+
path?: string;
|
|
419
|
+
/**
|
|
420
|
+
* How long a run that is waiting on a person AND still has other work announced may stay silent
|
|
421
|
+
* before it is reported interrupted. Default 750 ms.
|
|
422
|
+
*/
|
|
423
|
+
quietMs?: number;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Serves the agent over AG-UI 1.0. Not mounted directly — {@link agUiAdapter} mounts a subclass at
|
|
427
|
+
* the configured path — but exported so a host can extend it under a route of its own.
|
|
428
|
+
*/
|
|
429
|
+
declare class AgUiRunHandler {
|
|
430
|
+
protected readonly agent: AgentService;
|
|
431
|
+
protected readonly actorResolver: ActorResolver;
|
|
432
|
+
protected readonly options: AgentModuleOptions;
|
|
433
|
+
protected readonly staging: AttachmentStagingStore | undefined;
|
|
434
|
+
protected readonly quietMs: number | undefined;
|
|
435
|
+
constructor(agent: AgentService, actorResolver: ActorResolver, options: AgentModuleOptions, staging: AttachmentStagingStore | undefined, quietMs: number | undefined);
|
|
436
|
+
handle(req: Request, res: Response, body: unknown): Promise<void>;
|
|
437
|
+
/** Stage the turn's inline media through the bound store, within its limits; say what was not used. */
|
|
438
|
+
private stage;
|
|
439
|
+
/**
|
|
440
|
+
* Deliver what a resume list decided, through the same calls the native decision routes make.
|
|
441
|
+
* Everything that can refuse — who may decide, an answer a question's rules reject, a payload that
|
|
442
|
+
* says nothing — is checked for EVERY entry before the first one is delivered, so a list with one
|
|
443
|
+
* bad entry settles nothing.
|
|
444
|
+
*/
|
|
445
|
+
private settle;
|
|
446
|
+
/**
|
|
447
|
+
* Pipe a run to the client as AG-UI 1.0 over SSE: one event per `data:` line, from `RUN_STARTED`
|
|
448
|
+
* to the run's terminal event. It ends when the run stops to ask — the library run stays parked,
|
|
449
|
+
* and the request that answers re-attaches to it.
|
|
450
|
+
*/
|
|
451
|
+
private pipe;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Serve the agent over AG-UI 1.0 (https://docs.ag-ui.com/spec/1.0): the body of
|
|
455
|
+
* `POST <path>/ag-ui` is a `RunAgentInput`, the answer the run as AG-UI events. A run that stops to
|
|
456
|
+
* ask ends with the interrupt outcome and is continued by a later request carrying `resume`.
|
|
457
|
+
*
|
|
458
|
+
* ```ts
|
|
459
|
+
* AgentModule.forRoot({ model, adapters: [agUiAdapter()] })
|
|
460
|
+
* ```
|
|
461
|
+
*
|
|
462
|
+
* Authenticated by the module's `actorResolver`, guarded by its `guards` and owner-scoped exactly
|
|
463
|
+
* as `chat`, `chat/:runId/stream` and the `tool-call` routes are.
|
|
464
|
+
*/
|
|
465
|
+
declare function agUiAdapter(options?: AgUiAdapterOptions): AgentProtocolAdapter;
|
|
466
|
+
|
|
394
467
|
/**
|
|
395
468
|
* Binds `AGENT_APPROVAL_PORT` for the console's cross-thread approvals inbox to the SAME decision
|
|
396
469
|
* path chat approvals use — `AgentService.signalToolCall` (resolve the run awaiting `toolCallId`,
|
|
@@ -1215,4 +1288,4 @@ declare class RunNotActiveException extends ConflictException {
|
|
|
1215
1288
|
constructor(runId: string);
|
|
1216
1289
|
}
|
|
1217
1290
|
|
|
1218
|
-
export { AGENT_CHAT_QUEUE, AGENT_METADATA, AI_TOOL_METADATA, ATTACHMENT_PAGE_SIZE, Agent, AgentApprovalPortAdapter, AgentDepsFactory, AgentDiscoveryService, AgentModule, AgentModuleAsyncOptions, AgentModuleOptions, type AgentOptions, AgentService, AgentSkillsOptions, AiTool, AiToolDiscoveryService, type AiToolOptions, type AnonymousActorOptions, AnonymousActorResolver, type AttachmentLimits, AttachmentsController, type ChatParams, ChatQueueService, type ChatSendMode, type ChatSendResult, ConfigController, DEFAULT_ALLOWED_ATTACHMENT_CONTENT_TYPES, DEFAULT_MAX_ATTACHMENT_BYTES, type DeclaredSkill, HeaderActorResolver, InProcessTokenStreamSink, InlineAgentRunner, MAX_ATTACHMENTS_PER_MESSAGE, MemoriesController, MessagesController, ModelsController, QueueController, type QueuedSend, type RequestUserMapper, type ResolvedAiToolOptions, RunNotActiveException, SKILL_METADATA, SYSTEM_PROMPT_CONTRIBUTOR_METADATA, SYSTEM_PROMPT_METADATA, Skill, type SkillBody, SkillDiscoveryService, type SkillOptions, SkillsController, SystemPrompt, SystemPromptContributor, type ThreadDefaultAgentReader, type ThreadModelReader, ToolsController, attachmentLimits, declaredSkillProvider, defaultRequestUserMapper, readAgentMetadata, readAiToolMetadata, readSkillMetadata, requestUserActorResolver, resolveSkillsConfig, skillScope, toolNameFromClass };
|
|
1291
|
+
export { AGENT_CHAT_QUEUE, AGENT_METADATA, AI_TOOL_METADATA, ATTACHMENT_PAGE_SIZE, type AgUiAdapterOptions, AgUiRunHandler, Agent, AgentApprovalPortAdapter, AgentDepsFactory, AgentDiscoveryService, AgentModule, AgentModuleAsyncOptions, AgentModuleOptions, type AgentOptions, AgentProtocolAdapter, AgentService, AgentSkillsOptions, AiTool, AiToolDiscoveryService, type AiToolOptions, type AnonymousActorOptions, AnonymousActorResolver, type AttachmentLimits, AttachmentsController, type ChatParams, ChatQueueService, type ChatSendMode, type ChatSendResult, ConfigController, DEFAULT_ALLOWED_ATTACHMENT_CONTENT_TYPES, DEFAULT_MAX_ATTACHMENT_BYTES, type DeclaredSkill, HeaderActorResolver, InProcessTokenStreamSink, InlineAgentRunner, MAX_ATTACHMENTS_PER_MESSAGE, MemoriesController, MessagesController, ModelsController, QueueController, type QueuedSend, type RequestUserMapper, type ResolvedAiToolOptions, RunNotActiveException, SKILL_METADATA, SYSTEM_PROMPT_CONTRIBUTOR_METADATA, SYSTEM_PROMPT_METADATA, Skill, type SkillBody, SkillDiscoveryService, type SkillOptions, SkillsController, SystemPrompt, SystemPromptContributor, type ThreadDefaultAgentReader, type ThreadModelReader, ToolsController, agUiAdapter, attachmentLimits, declaredSkillProvider, defaultRequestUserMapper, readAgentMetadata, readAiToolMetadata, readSkillMetadata, requestUserActorResolver, resolveSkillsConfig, skillScope, toolNameFromClass };
|