agents 0.0.0-35ccf92 → 0.0.0-36f4ca4
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/README.md +255 -27
- package/dist/_esm-LV5FJ3HK.js +3922 -0
- package/dist/_esm-LV5FJ3HK.js.map +1 -0
- package/dist/ai-chat-agent.d.ts +11 -7
- package/dist/ai-chat-agent.js +169 -47
- package/dist/ai-chat-agent.js.map +1 -1
- package/dist/ai-chat-v5-migration.d.ts +152 -0
- package/dist/ai-chat-v5-migration.js +20 -0
- package/dist/ai-chat-v5-migration.js.map +1 -0
- package/dist/ai-react.d.ts +67 -70
- package/dist/ai-react.js +252 -99
- package/dist/ai-react.js.map +1 -1
- package/dist/ai-types.d.ts +37 -19
- package/dist/ai-types.js +7 -0
- package/dist/ccip-CMBYN64O.js +15 -0
- package/dist/ccip-CMBYN64O.js.map +1 -0
- package/dist/chunk-5Y6BEZDY.js +276 -0
- package/dist/chunk-5Y6BEZDY.js.map +1 -0
- package/dist/chunk-BER7KXUJ.js +18 -0
- package/dist/chunk-BER7KXUJ.js.map +1 -0
- package/dist/chunk-JJBFIGUC.js +5202 -0
- package/dist/chunk-JJBFIGUC.js.map +1 -0
- package/dist/chunk-PR4QN5HX.js +43 -0
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/{chunk-E3LCYPCB.js → chunk-QEPGNUG6.js} +213 -32
- package/dist/chunk-QEPGNUG6.js.map +1 -0
- package/dist/{chunk-NKZZ66QY.js → chunk-QEVM4BVL.js} +5 -5
- package/dist/chunk-QEVM4BVL.js.map +1 -0
- package/dist/chunk-RS5OCNEQ.js +1323 -0
- package/dist/chunk-RS5OCNEQ.js.map +1 -0
- package/dist/chunk-TYAY6AU6.js +159 -0
- package/dist/chunk-TYAY6AU6.js.map +1 -0
- package/dist/chunk-UJVEAURM.js +150 -0
- package/dist/chunk-UJVEAURM.js.map +1 -0
- package/dist/{chunk-767EASBA.js → chunk-XFS5ERG3.js} +24 -3
- package/dist/chunk-XFS5ERG3.js.map +1 -0
- package/dist/client-BohGLma8.d.ts +5041 -0
- package/dist/client.d.ts +2 -2
- package/dist/client.js +3 -1
- package/dist/index.d.ts +182 -23
- package/dist/index.js +14 -4
- package/dist/mcp/client.d.ts +9 -781
- package/dist/mcp/client.js +2 -1
- package/dist/mcp/do-oauth-client-provider.d.ts +9 -0
- package/dist/mcp/do-oauth-client-provider.js +2 -1
- package/dist/mcp/index.d.ts +57 -63
- package/dist/mcp/index.js +953 -637
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/x402.d.ts +37 -0
- package/dist/mcp/x402.js +3195 -0
- package/dist/mcp/x402.js.map +1 -0
- package/dist/observability/index.d.ts +46 -0
- package/dist/observability/index.js +12 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/react.d.ts +9 -5
- package/dist/react.js +8 -5
- package/dist/react.js.map +1 -1
- package/dist/schedule.d.ts +79 -5
- package/dist/schedule.js +17 -2
- package/dist/schedule.js.map +1 -1
- package/dist/secp256k1-M22GZP2U.js +2193 -0
- package/dist/secp256k1-M22GZP2U.js.map +1 -0
- package/package.json +51 -30
- package/src/index.ts +874 -144
- package/dist/chunk-767EASBA.js.map +0 -1
- package/dist/chunk-CGWTDCBQ.js +0 -791
- package/dist/chunk-CGWTDCBQ.js.map +0 -1
- package/dist/chunk-E3LCYPCB.js.map +0 -1
- package/dist/chunk-NKZZ66QY.js.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PartySocketOptions,
|
|
3
3
|
PartyFetchOptions,
|
|
4
|
-
PartySocket
|
|
4
|
+
PartySocket
|
|
5
5
|
} from "partysocket";
|
|
6
6
|
import { SerializableReturnValue, SerializableValue } from "./serializable.js";
|
|
7
7
|
|
|
@@ -94,5 +94,5 @@ export {
|
|
|
94
94
|
type AgentClientOptions,
|
|
95
95
|
type StreamOptions,
|
|
96
96
|
agentFetch,
|
|
97
|
-
camelCaseToKebabCase
|
|
97
|
+
camelCaseToKebabCase
|
|
98
98
|
};
|
package/dist/client.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
+
import { env } from "cloudflare:workers";
|
|
1
2
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
2
3
|
import {
|
|
3
4
|
ServerCapabilities,
|
|
4
5
|
Tool,
|
|
5
6
|
Prompt,
|
|
6
|
-
Resource
|
|
7
|
+
Resource
|
|
7
8
|
} from "@modelcontextprotocol/sdk/types.js";
|
|
8
9
|
import { Server, Connection, PartyServerOptions } from "partyserver";
|
|
9
10
|
export { Connection, ConnectionContext, WSMessage } from "partyserver";
|
|
10
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
c as MCPClientManager,
|
|
13
|
+
T as TransportType
|
|
14
|
+
} from "./client-BohGLma8.js";
|
|
15
|
+
import { Observability } from "./observability/index.js";
|
|
16
|
+
import { MessageType } from "./ai-types.js";
|
|
11
17
|
import "zod";
|
|
12
|
-
import "@modelcontextprotocol/sdk/client/sse.js";
|
|
13
18
|
import "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
14
19
|
import "ai";
|
|
20
|
+
import "@modelcontextprotocol/sdk/client/sse.js";
|
|
21
|
+
import "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
15
22
|
import "./mcp/do-oauth-client-provider.js";
|
|
16
23
|
import "@modelcontextprotocol/sdk/client/auth.js";
|
|
17
24
|
import "@modelcontextprotocol/sdk/shared/auth.js";
|
|
@@ -29,14 +36,14 @@ type RPCRequest = {
|
|
|
29
36
|
* State update message from client
|
|
30
37
|
*/
|
|
31
38
|
type StateUpdateMessage = {
|
|
32
|
-
type:
|
|
39
|
+
type: MessageType.CF_AGENT_STATE;
|
|
33
40
|
state: unknown;
|
|
34
41
|
};
|
|
35
42
|
/**
|
|
36
43
|
* RPC response message to client
|
|
37
44
|
*/
|
|
38
45
|
type RPCResponse = {
|
|
39
|
-
type:
|
|
46
|
+
type: MessageType.RPC;
|
|
40
47
|
id: string;
|
|
41
48
|
} & (
|
|
42
49
|
| {
|
|
@@ -67,12 +74,24 @@ type CallableMetadata = {
|
|
|
67
74
|
* Decorator that marks a method as callable by clients
|
|
68
75
|
* @param metadata Optional metadata about the callable method
|
|
69
76
|
*/
|
|
70
|
-
declare function
|
|
77
|
+
declare function callable(
|
|
71
78
|
metadata?: CallableMetadata
|
|
72
79
|
): <This, Args extends unknown[], Return>(
|
|
73
80
|
target: (this: This, ...args: Args) => Return,
|
|
74
81
|
context: ClassMethodDecoratorContext
|
|
75
82
|
) => (this: This, ...args: Args) => Return;
|
|
83
|
+
/**
|
|
84
|
+
* Decorator that marks a method as callable by clients
|
|
85
|
+
* @deprecated this has been renamed to callable, and unstable_callable will be removed in the next major version
|
|
86
|
+
* @param metadata Optional metadata about the callable method
|
|
87
|
+
*/
|
|
88
|
+
declare const unstable_callable: (metadata?: CallableMetadata) => void;
|
|
89
|
+
type QueueItem<T = string> = {
|
|
90
|
+
id: string;
|
|
91
|
+
payload: T;
|
|
92
|
+
callback: keyof Agent<unknown>;
|
|
93
|
+
created_at: number;
|
|
94
|
+
};
|
|
76
95
|
/**
|
|
77
96
|
* Represents a scheduled task within an Agent
|
|
78
97
|
* @template T Type of the payload data
|
|
@@ -108,11 +127,12 @@ type Schedule<T = string> = {
|
|
|
108
127
|
cron: string;
|
|
109
128
|
}
|
|
110
129
|
);
|
|
130
|
+
|
|
111
131
|
/**
|
|
112
132
|
* MCP Server state update message from server -> Client
|
|
113
133
|
*/
|
|
114
134
|
type MCPServerMessage = {
|
|
115
|
-
type:
|
|
135
|
+
type: MessageType.CF_AGENT_MCP_SERVERS;
|
|
116
136
|
mcp: MCPServersState;
|
|
117
137
|
};
|
|
118
138
|
type MCPServersState = {
|
|
@@ -132,21 +152,26 @@ type MCPServer = {
|
|
|
132
152
|
capabilities: ServerCapabilities | null;
|
|
133
153
|
};
|
|
134
154
|
declare function getCurrentAgent<
|
|
135
|
-
T extends Agent<unknown, unknown> = Agent<unknown, unknown
|
|
155
|
+
T extends Agent<unknown, unknown> = Agent<unknown, unknown>
|
|
136
156
|
>(): {
|
|
137
157
|
agent: T | undefined;
|
|
138
158
|
connection: Connection | undefined;
|
|
139
|
-
request: Request
|
|
159
|
+
request: Request | undefined;
|
|
160
|
+
email: AgentEmail | undefined;
|
|
140
161
|
};
|
|
141
162
|
/**
|
|
142
163
|
* Base class for creating Agent implementations
|
|
143
164
|
* @template Env Environment type containing bindings
|
|
144
165
|
* @template State State type to store within the Agent
|
|
145
166
|
*/
|
|
146
|
-
declare class Agent<
|
|
167
|
+
declare class Agent<
|
|
168
|
+
Env = typeof env,
|
|
169
|
+
State = unknown,
|
|
170
|
+
Props extends Record<string, unknown> = Record<string, unknown>
|
|
171
|
+
> extends Server<Env, Props> {
|
|
147
172
|
private _state;
|
|
148
173
|
private _ParentClass;
|
|
149
|
-
mcp: MCPClientManager;
|
|
174
|
+
readonly mcp: MCPClientManager;
|
|
150
175
|
/**
|
|
151
176
|
* Initial state for the Agent
|
|
152
177
|
* Override to provide default state values
|
|
@@ -163,6 +188,10 @@ declare class Agent<Env, State = unknown> extends Server<Env> {
|
|
|
163
188
|
/** Whether the Agent should hibernate when inactive */
|
|
164
189
|
hibernate: boolean;
|
|
165
190
|
};
|
|
191
|
+
/**
|
|
192
|
+
* The observability implementation to use for the Agent
|
|
193
|
+
*/
|
|
194
|
+
observability?: Observability;
|
|
166
195
|
/**
|
|
167
196
|
* Execute SQL queries against the Agent's database
|
|
168
197
|
* @template T Type of the returned rows
|
|
@@ -188,17 +217,75 @@ declare class Agent<Env, State = unknown> extends Server<Env> {
|
|
|
188
217
|
*/
|
|
189
218
|
onStateUpdate(state: State | undefined, source: Connection | "server"): void;
|
|
190
219
|
/**
|
|
191
|
-
* Called when the Agent receives an email
|
|
220
|
+
* Called when the Agent receives an email via routeAgentEmail()
|
|
221
|
+
* Override this method to handle incoming emails
|
|
192
222
|
* @param email Email message to process
|
|
193
223
|
*/
|
|
194
|
-
|
|
224
|
+
_onEmail(email: AgentEmail): Promise<void>;
|
|
225
|
+
/**
|
|
226
|
+
* Reply to an email
|
|
227
|
+
* @param email The email to reply to
|
|
228
|
+
* @param options Options for the reply
|
|
229
|
+
* @returns void
|
|
230
|
+
*/
|
|
231
|
+
replyToEmail(
|
|
232
|
+
email: AgentEmail,
|
|
233
|
+
options: {
|
|
234
|
+
fromName: string;
|
|
235
|
+
subject?: string | undefined;
|
|
236
|
+
body: string;
|
|
237
|
+
contentType?: string;
|
|
238
|
+
headers?: Record<string, string>;
|
|
239
|
+
}
|
|
240
|
+
): Promise<void>;
|
|
195
241
|
private _tryCatch;
|
|
242
|
+
/**
|
|
243
|
+
* Automatically wrap custom methods with agent context
|
|
244
|
+
* This ensures getCurrentAgent() works in all custom methods without decorators
|
|
245
|
+
*/
|
|
246
|
+
private _autoWrapCustomMethods;
|
|
196
247
|
onError(connection: Connection, error: unknown): void | Promise<void>;
|
|
197
248
|
onError(error: unknown): void | Promise<void>;
|
|
198
249
|
/**
|
|
199
250
|
* Render content (not implemented in base class)
|
|
200
251
|
*/
|
|
201
252
|
render(): void;
|
|
253
|
+
/**
|
|
254
|
+
* Queue a task to be executed in the future
|
|
255
|
+
* @param payload Payload to pass to the callback
|
|
256
|
+
* @param callback Name of the method to call
|
|
257
|
+
* @returns The ID of the queued task
|
|
258
|
+
*/
|
|
259
|
+
queue<T = unknown>(callback: keyof this, payload: T): Promise<string>;
|
|
260
|
+
private _flushingQueue;
|
|
261
|
+
private _flushQueue;
|
|
262
|
+
/**
|
|
263
|
+
* Dequeue a task by ID
|
|
264
|
+
* @param id ID of the task to dequeue
|
|
265
|
+
*/
|
|
266
|
+
dequeue(id: string): Promise<void>;
|
|
267
|
+
/**
|
|
268
|
+
* Dequeue all tasks
|
|
269
|
+
*/
|
|
270
|
+
dequeueAll(): Promise<void>;
|
|
271
|
+
/**
|
|
272
|
+
* Dequeue all tasks by callback
|
|
273
|
+
* @param callback Name of the callback to dequeue
|
|
274
|
+
*/
|
|
275
|
+
dequeueAllByCallback(callback: string): Promise<void>;
|
|
276
|
+
/**
|
|
277
|
+
* Get a queued task by ID
|
|
278
|
+
* @param id ID of the task to get
|
|
279
|
+
* @returns The task or undefined if not found
|
|
280
|
+
*/
|
|
281
|
+
getQueue(id: string): Promise<QueueItem<string> | undefined>;
|
|
282
|
+
/**
|
|
283
|
+
* Get all queues by key and value
|
|
284
|
+
* @param key Key to filter by
|
|
285
|
+
* @param value Value to filter by
|
|
286
|
+
* @returns Array of matching QueueItem objects
|
|
287
|
+
*/
|
|
288
|
+
getQueues(key: string, value: string): Promise<QueueItem<string>[]>;
|
|
202
289
|
/**
|
|
203
290
|
* Schedule a task to be executed in the future
|
|
204
291
|
* @template T Type of the payload data
|
|
@@ -261,8 +348,9 @@ declare class Agent<Env, State = unknown> extends Server<Env> {
|
|
|
261
348
|
/**
|
|
262
349
|
* Connect to a new MCP Server
|
|
263
350
|
*
|
|
351
|
+
* @param serverName Name of the MCP server
|
|
264
352
|
* @param url MCP Server SSE URL
|
|
265
|
-
* @param callbackHost Base host for the agent, used for the redirect URI.
|
|
353
|
+
* @param callbackHost Base host for the agent, used for the redirect URI. If not provided, will be derived from the current request.
|
|
266
354
|
* @param agentsPrefix agents routing prefix if not using `agents`
|
|
267
355
|
* @param options MCP client and transport (header) options
|
|
268
356
|
* @returns authUrl
|
|
@@ -270,7 +358,7 @@ declare class Agent<Env, State = unknown> extends Server<Env> {
|
|
|
270
358
|
addMcpServer(
|
|
271
359
|
serverName: string,
|
|
272
360
|
url: string,
|
|
273
|
-
callbackHost
|
|
361
|
+
callbackHost?: string,
|
|
274
362
|
agentsPrefix?: string,
|
|
275
363
|
options?: {
|
|
276
364
|
client?: ConstructorParameters<typeof Client>[1];
|
|
@@ -297,6 +385,7 @@ declare class Agent<Env, State = unknown> extends Server<Env> {
|
|
|
297
385
|
*/
|
|
298
386
|
transport?: {
|
|
299
387
|
headers?: HeadersInit;
|
|
388
|
+
type?: TransportType;
|
|
300
389
|
};
|
|
301
390
|
},
|
|
302
391
|
reconnect?: {
|
|
@@ -342,17 +431,72 @@ declare function routeAgentRequest<Env>(
|
|
|
342
431
|
env: Env,
|
|
343
432
|
options?: AgentOptions<Env>
|
|
344
433
|
): Promise<Response | null>;
|
|
434
|
+
type EmailResolver<Env> = (
|
|
435
|
+
email: ForwardableEmailMessage,
|
|
436
|
+
env: Env
|
|
437
|
+
) => Promise<{
|
|
438
|
+
agentName: string;
|
|
439
|
+
agentId: string;
|
|
440
|
+
} | null>;
|
|
441
|
+
/**
|
|
442
|
+
* Create a resolver that uses the message-id header to determine the agent to route the email to
|
|
443
|
+
* @returns A function that resolves the agent to route the email to
|
|
444
|
+
*/
|
|
445
|
+
declare function createHeaderBasedEmailResolver<Env>(): EmailResolver<Env>;
|
|
446
|
+
/**
|
|
447
|
+
* Create a resolver that uses the email address to determine the agent to route the email to
|
|
448
|
+
* @param defaultAgentName The default agent name to use if the email address does not contain a sub-address
|
|
449
|
+
* @returns A function that resolves the agent to route the email to
|
|
450
|
+
*/
|
|
451
|
+
declare function createAddressBasedEmailResolver<Env>(
|
|
452
|
+
defaultAgentName: string
|
|
453
|
+
): EmailResolver<Env>;
|
|
454
|
+
/**
|
|
455
|
+
* Create a resolver that uses the agentName and agentId to determine the agent to route the email to
|
|
456
|
+
* @param agentName The name of the agent to route the email to
|
|
457
|
+
* @param agentId The id of the agent to route the email to
|
|
458
|
+
* @returns A function that resolves the agent to route the email to
|
|
459
|
+
*/
|
|
460
|
+
declare function createCatchAllEmailResolver<Env>(
|
|
461
|
+
agentName: string,
|
|
462
|
+
agentId: string
|
|
463
|
+
): EmailResolver<Env>;
|
|
464
|
+
type EmailRoutingOptions<Env> = AgentOptions<Env> & {
|
|
465
|
+
resolver: EmailResolver<Env>;
|
|
466
|
+
};
|
|
345
467
|
/**
|
|
346
468
|
* Route an email to the appropriate Agent
|
|
347
|
-
* @param email
|
|
348
|
-
* @param env
|
|
349
|
-
* @param options
|
|
469
|
+
* @param email The email to route
|
|
470
|
+
* @param env The environment containing the Agent bindings
|
|
471
|
+
* @param options The options for routing the email
|
|
472
|
+
* @returns A promise that resolves when the email has been routed
|
|
350
473
|
*/
|
|
351
474
|
declare function routeAgentEmail<Env>(
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
475
|
+
email: ForwardableEmailMessage,
|
|
476
|
+
env: Env,
|
|
477
|
+
options: EmailRoutingOptions<Env>
|
|
355
478
|
): Promise<void>;
|
|
479
|
+
type AgentEmail = {
|
|
480
|
+
from: string;
|
|
481
|
+
to: string;
|
|
482
|
+
getRaw: () => Promise<Uint8Array>;
|
|
483
|
+
headers: Headers;
|
|
484
|
+
rawSize: number;
|
|
485
|
+
setReject: (reason: string) => void;
|
|
486
|
+
forward: (rcptTo: string, headers?: Headers) => Promise<void>;
|
|
487
|
+
reply: (options: { from: string; to: string; raw: string }) => Promise<void>;
|
|
488
|
+
};
|
|
489
|
+
type EmailSendOptions = {
|
|
490
|
+
to: string;
|
|
491
|
+
subject: string;
|
|
492
|
+
body: string;
|
|
493
|
+
contentType?: string;
|
|
494
|
+
headers?: Record<string, string>;
|
|
495
|
+
includeRoutingHeaders?: boolean;
|
|
496
|
+
agentName?: string;
|
|
497
|
+
agentId?: string;
|
|
498
|
+
domain?: string;
|
|
499
|
+
};
|
|
356
500
|
/**
|
|
357
501
|
* Get or create an Agent by name
|
|
358
502
|
* @template Env Environment type containing bindings
|
|
@@ -362,12 +506,17 @@ declare function routeAgentEmail<Env>(
|
|
|
362
506
|
* @param options Options for Agent creation
|
|
363
507
|
* @returns Promise resolving to an Agent instance stub
|
|
364
508
|
*/
|
|
365
|
-
declare function getAgentByName<
|
|
509
|
+
declare function getAgentByName<
|
|
510
|
+
Env,
|
|
511
|
+
T extends Agent<Env>,
|
|
512
|
+
Props extends Record<string, unknown> = Record<string, unknown>
|
|
513
|
+
>(
|
|
366
514
|
namespace: AgentNamespace<T>,
|
|
367
515
|
name: string,
|
|
368
516
|
options?: {
|
|
369
517
|
jurisdiction?: DurableObjectJurisdiction;
|
|
370
518
|
locationHint?: DurableObjectLocationHint;
|
|
519
|
+
props?: Props;
|
|
371
520
|
}
|
|
372
521
|
): Promise<DurableObjectStub<T>>;
|
|
373
522
|
/**
|
|
@@ -393,20 +542,30 @@ declare class StreamingResponse {
|
|
|
393
542
|
export {
|
|
394
543
|
Agent,
|
|
395
544
|
type AgentContext,
|
|
545
|
+
type AgentEmail,
|
|
396
546
|
type AgentNamespace,
|
|
397
547
|
type AgentOptions,
|
|
398
548
|
type CallableMetadata,
|
|
549
|
+
type EmailResolver,
|
|
550
|
+
type EmailRoutingOptions,
|
|
551
|
+
type EmailSendOptions,
|
|
399
552
|
type MCPServer,
|
|
400
553
|
type MCPServerMessage,
|
|
401
554
|
type MCPServersState,
|
|
555
|
+
type QueueItem,
|
|
402
556
|
type RPCRequest,
|
|
403
557
|
type RPCResponse,
|
|
404
558
|
type Schedule,
|
|
405
559
|
type StateUpdateMessage,
|
|
406
560
|
StreamingResponse,
|
|
561
|
+
TransportType,
|
|
562
|
+
callable,
|
|
563
|
+
createAddressBasedEmailResolver,
|
|
564
|
+
createCatchAllEmailResolver,
|
|
565
|
+
createHeaderBasedEmailResolver,
|
|
407
566
|
getAgentByName,
|
|
408
567
|
getCurrentAgent,
|
|
409
568
|
routeAgentEmail,
|
|
410
569
|
routeAgentRequest,
|
|
411
|
-
unstable_callable
|
|
570
|
+
unstable_callable
|
|
412
571
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Agent,
|
|
3
3
|
StreamingResponse,
|
|
4
|
+
callable,
|
|
5
|
+
createAddressBasedEmailResolver,
|
|
6
|
+
createCatchAllEmailResolver,
|
|
7
|
+
createHeaderBasedEmailResolver,
|
|
4
8
|
getAgentByName,
|
|
5
9
|
getCurrentAgent,
|
|
6
10
|
routeAgentEmail,
|
|
7
11
|
routeAgentRequest,
|
|
8
12
|
unstable_callable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-RS5OCNEQ.js";
|
|
14
|
+
import "./chunk-QEPGNUG6.js";
|
|
15
|
+
import "./chunk-XFS5ERG3.js";
|
|
16
|
+
import "./chunk-QEVM4BVL.js";
|
|
17
|
+
import "./chunk-BER7KXUJ.js";
|
|
18
|
+
import "./chunk-PR4QN5HX.js";
|
|
13
19
|
export {
|
|
14
20
|
Agent,
|
|
15
21
|
StreamingResponse,
|
|
22
|
+
callable,
|
|
23
|
+
createAddressBasedEmailResolver,
|
|
24
|
+
createCatchAllEmailResolver,
|
|
25
|
+
createHeaderBasedEmailResolver,
|
|
16
26
|
getAgentByName,
|
|
17
27
|
getCurrentAgent,
|
|
18
28
|
routeAgentEmail,
|