agents 0.0.0-d045755 → 0.0.0-d08612f

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.
Files changed (79) hide show
  1. package/README.md +257 -27
  2. package/dist/ai-chat-agent.d.ts +142 -12
  3. package/dist/ai-chat-agent.js +812 -159
  4. package/dist/ai-chat-agent.js.map +1 -1
  5. package/dist/ai-chat-v5-migration-DguhuLKF.js +155 -0
  6. package/dist/ai-chat-v5-migration-DguhuLKF.js.map +1 -0
  7. package/dist/ai-chat-v5-migration.d.ts +155 -0
  8. package/dist/ai-chat-v5-migration.js +3 -0
  9. package/dist/ai-react.d.ts +79 -72
  10. package/dist/ai-react.js +411 -185
  11. package/dist/ai-react.js.map +1 -1
  12. package/dist/ai-types-CwgHzwUb.js +24 -0
  13. package/dist/ai-types-CwgHzwUb.js.map +1 -0
  14. package/dist/ai-types-D_hTbf25.d.ts +103 -0
  15. package/dist/ai-types.d.ts +6 -69
  16. package/dist/ai-types.js +3 -1
  17. package/dist/cli/index.d.ts +1 -0
  18. package/dist/cli/index.js +28 -0
  19. package/dist/cli/index.js.map +1 -0
  20. package/dist/client-CcyhkGfN.js +117 -0
  21. package/dist/client-CcyhkGfN.js.map +1 -0
  22. package/dist/client-ClORm6f0.d.ts +104 -0
  23. package/dist/client-DfIOsabL.d.ts +834 -0
  24. package/dist/client-QZa2Rq0l.js +1105 -0
  25. package/dist/client-QZa2Rq0l.js.map +1 -0
  26. package/dist/client.d.ts +12 -79
  27. package/dist/client.js +3 -137
  28. package/dist/codemode/ai.d.ts +27 -0
  29. package/dist/codemode/ai.js +152 -0
  30. package/dist/codemode/ai.js.map +1 -0
  31. package/dist/context-BkKbAa1R.js +8 -0
  32. package/dist/context-BkKbAa1R.js.map +1 -0
  33. package/dist/context-_sPQqJWv.d.ts +24 -0
  34. package/dist/context.d.ts +6 -0
  35. package/dist/context.js +3 -0
  36. package/dist/do-oauth-client-provider-B-ryFIPr.d.ts +70 -0
  37. package/dist/do-oauth-client-provider-B1fVIshX.js +155 -0
  38. package/dist/do-oauth-client-provider-B1fVIshX.js.map +1 -0
  39. package/dist/index-CyDpAVHZ.d.ts +58 -0
  40. package/dist/index-DPJ32qQn.d.ts +577 -0
  41. package/dist/index.d.ts +63 -302
  42. package/dist/index.js +8 -22
  43. package/dist/mcp/client.d.ts +4 -0
  44. package/dist/mcp/client.js +4 -0
  45. package/dist/mcp/do-oauth-client-provider.d.ts +2 -0
  46. package/dist/mcp/do-oauth-client-provider.js +3 -0
  47. package/dist/mcp/index.d.ts +194 -0
  48. package/dist/mcp/index.js +1448 -0
  49. package/dist/mcp/index.js.map +1 -0
  50. package/dist/mcp/x402.d.ts +34 -0
  51. package/dist/mcp/x402.js +198 -0
  52. package/dist/mcp/x402.js.map +1 -0
  53. package/dist/mcp-CzbSsLfc.d.ts +61 -0
  54. package/dist/observability/index.d.ts +3 -0
  55. package/dist/observability/index.js +8 -0
  56. package/dist/react-DTzwSLAh.d.ts +137 -0
  57. package/dist/react.d.ts +15 -39
  58. package/dist/react.js +192 -93
  59. package/dist/react.js.map +1 -1
  60. package/dist/schedule.d.ts +89 -12
  61. package/dist/schedule.js +46 -23
  62. package/dist/schedule.js.map +1 -1
  63. package/dist/serializable-C4GLimgv.d.ts +39 -0
  64. package/dist/serializable.d.ts +7 -0
  65. package/dist/serializable.js +1 -0
  66. package/dist/src-BmbDclOA.js +1181 -0
  67. package/dist/src-BmbDclOA.js.map +1 -0
  68. package/package.json +133 -51
  69. package/dist/ai-types.js.map +0 -1
  70. package/dist/chunk-3PRPPPJY.js +0 -596
  71. package/dist/chunk-3PRPPPJY.js.map +0 -1
  72. package/dist/chunk-HMLY7DHA.js +0 -16
  73. package/dist/chunk-HMLY7DHA.js.map +0 -1
  74. package/dist/client.js.map +0 -1
  75. package/dist/index.js.map +0 -1
  76. package/dist/mcp.d.ts +0 -58
  77. package/dist/mcp.js +0 -945
  78. package/dist/mcp.js.map +0 -1
  79. package/src/index.ts +0 -922
@@ -0,0 +1,577 @@
1
+ import { n as AgentEmail } from "./context-_sPQqJWv.js";
2
+ import {
3
+ h as TransportType,
4
+ t as MCPClientManager,
5
+ u as MCPConnectionState
6
+ } from "./client-DfIOsabL.js";
7
+ import { t as Observability } from "./index-CyDpAVHZ.js";
8
+ import { n as MessageType } from "./ai-types-D_hTbf25.js";
9
+ import {
10
+ Connection,
11
+ Connection as Connection$1,
12
+ ConnectionContext,
13
+ PartyServerOptions,
14
+ Server,
15
+ WSMessage
16
+ } from "partyserver";
17
+ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
18
+ import {
19
+ Prompt,
20
+ Resource,
21
+ ServerCapabilities,
22
+ Tool
23
+ } from "@modelcontextprotocol/sdk/types.js";
24
+ import { env } from "cloudflare:workers";
25
+
26
+ //#region src/index.d.ts
27
+
28
+ /**
29
+ * RPC request message from client
30
+ */
31
+ type RPCRequest = {
32
+ type: "rpc";
33
+ id: string;
34
+ method: string;
35
+ args: unknown[];
36
+ };
37
+ /**
38
+ * State update message from client
39
+ */
40
+ type StateUpdateMessage = {
41
+ type: MessageType.CF_AGENT_STATE;
42
+ state: unknown;
43
+ };
44
+ /**
45
+ * RPC response message to client
46
+ */
47
+ type RPCResponse = {
48
+ type: MessageType.RPC;
49
+ id: string;
50
+ } & (
51
+ | {
52
+ success: true;
53
+ result: unknown;
54
+ done?: false;
55
+ }
56
+ | {
57
+ success: true;
58
+ result: unknown;
59
+ done: true;
60
+ }
61
+ | {
62
+ success: false;
63
+ error: string;
64
+ }
65
+ );
66
+ /**
67
+ * Metadata for a callable method
68
+ */
69
+ type CallableMetadata = {
70
+ /** Optional description of what the method does */
71
+ description?: string;
72
+ /** Whether the method supports streaming responses */
73
+ streaming?: boolean;
74
+ };
75
+ /**
76
+ * Decorator that marks a method as callable by clients
77
+ * @param metadata Optional metadata about the callable method
78
+ */
79
+ declare function callable(
80
+ metadata?: CallableMetadata
81
+ ): <This, Args extends unknown[], Return>(
82
+ target: (this: This, ...args: Args) => Return,
83
+ context: ClassMethodDecoratorContext
84
+ ) => (this: This, ...args: Args) => Return;
85
+ /**
86
+ * Decorator that marks a method as callable by clients
87
+ * @deprecated this has been renamed to callable, and unstable_callable will be removed in the next major version
88
+ * @param metadata Optional metadata about the callable method
89
+ */
90
+ declare const unstable_callable: (metadata?: CallableMetadata) => void;
91
+ type QueueItem<T = string> = {
92
+ id: string;
93
+ payload: T;
94
+ callback: keyof Agent<unknown>;
95
+ created_at: number;
96
+ };
97
+ /**
98
+ * Represents a scheduled task within an Agent
99
+ * @template T Type of the payload data
100
+ */
101
+ type Schedule<T = string> = {
102
+ /** Unique identifier for the schedule */
103
+ id: string;
104
+ /** Name of the method to be called */
105
+ callback: string;
106
+ /** Data to be passed to the callback */
107
+ payload: T;
108
+ } & (
109
+ | {
110
+ /** Type of schedule for one-time execution at a specific time */
111
+ type: "scheduled";
112
+ /** Timestamp when the task should execute */
113
+ time: number;
114
+ }
115
+ | {
116
+ /** Type of schedule for delayed execution */
117
+ type: "delayed";
118
+ /** Timestamp when the task should execute */
119
+ time: number;
120
+ /** Number of seconds to delay execution */
121
+ delayInSeconds: number;
122
+ }
123
+ | {
124
+ /** Type of schedule for recurring execution based on cron expression */
125
+ type: "cron";
126
+ /** Timestamp for the next execution */
127
+ time: number;
128
+ /** Cron expression defining the schedule */
129
+ cron: string;
130
+ }
131
+ );
132
+ /**
133
+ * MCP Server state update message from server -> Client
134
+ */
135
+ type MCPServerMessage = {
136
+ type: MessageType.CF_AGENT_MCP_SERVERS;
137
+ mcp: MCPServersState;
138
+ };
139
+ type MCPServersState = {
140
+ servers: {
141
+ [id: string]: MCPServer;
142
+ };
143
+ tools: (Tool & {
144
+ serverId: string;
145
+ })[];
146
+ prompts: (Prompt & {
147
+ serverId: string;
148
+ })[];
149
+ resources: (Resource & {
150
+ serverId: string;
151
+ })[];
152
+ };
153
+ type MCPServer = {
154
+ name: string;
155
+ server_url: string;
156
+ auth_url: string | null;
157
+ state: MCPConnectionState;
158
+ instructions: string | null;
159
+ capabilities: ServerCapabilities | null;
160
+ };
161
+ declare function getCurrentAgent<
162
+ T extends Agent<unknown, unknown> = Agent<unknown, unknown>
163
+ >(): {
164
+ agent: T | undefined;
165
+ connection: Connection | undefined;
166
+ request: Request | undefined;
167
+ email: AgentEmail | undefined;
168
+ };
169
+ /**
170
+ * Base class for creating Agent implementations
171
+ * @template Env Environment type containing bindings
172
+ * @template State State type to store within the Agent
173
+ */
174
+ declare class Agent<
175
+ Env = typeof env,
176
+ State = unknown,
177
+ Props extends Record<string, unknown> = Record<string, unknown>
178
+ > extends Server<Env, Props> {
179
+ private _state;
180
+ private _disposables;
181
+ private _destroyed;
182
+ private _ParentClass;
183
+ readonly mcp: MCPClientManager;
184
+ /**
185
+ * Initial state for the Agent
186
+ * Override to provide default state values
187
+ */
188
+ initialState: State;
189
+ /**
190
+ * Current state of the Agent
191
+ */
192
+ get state(): State;
193
+ /**
194
+ * Agent configuration options
195
+ */
196
+ static options: {
197
+ /** Whether the Agent should hibernate when inactive */
198
+ hibernate: boolean;
199
+ };
200
+ /**
201
+ * The observability implementation to use for the Agent
202
+ */
203
+ observability?: Observability;
204
+ /**
205
+ * Execute SQL queries against the Agent's database
206
+ * @template T Type of the returned rows
207
+ * @param strings SQL query template strings
208
+ * @param values Values to be inserted into the query
209
+ * @returns Array of query results
210
+ */
211
+ sql<T = Record<string, string | number | boolean | null>>(
212
+ strings: TemplateStringsArray,
213
+ ...values: (string | number | boolean | null)[]
214
+ ): T[];
215
+ constructor(ctx: AgentContext, env: Env);
216
+ private _setStateInternal;
217
+ /**
218
+ * Update the Agent's state
219
+ * @param state New state to set
220
+ */
221
+ setState(state: State): void;
222
+ /**
223
+ * Called when the Agent's state is updated
224
+ * @param state Updated state
225
+ * @param source Source of the state update ("server" or a client connection)
226
+ */
227
+ onStateUpdate(state: State | undefined, source: Connection | "server"): void;
228
+ /**
229
+ * Called when the Agent receives an email via routeAgentEmail()
230
+ * Override this method to handle incoming emails
231
+ * @param email Email message to process
232
+ */
233
+ _onEmail(email: AgentEmail): Promise<void>;
234
+ /**
235
+ * Reply to an email
236
+ * @param email The email to reply to
237
+ * @param options Options for the reply
238
+ * @returns void
239
+ */
240
+ replyToEmail(
241
+ email: AgentEmail,
242
+ options: {
243
+ fromName: string;
244
+ subject?: string | undefined;
245
+ body: string;
246
+ contentType?: string;
247
+ headers?: Record<string, string>;
248
+ }
249
+ ): Promise<void>;
250
+ private _tryCatch;
251
+ /**
252
+ * Automatically wrap custom methods with agent context
253
+ * This ensures getCurrentAgent() works in all custom methods without decorators
254
+ */
255
+ private _autoWrapCustomMethods;
256
+ onError(connection: Connection, error: unknown): void | Promise<void>;
257
+ onError(error: unknown): void | Promise<void>;
258
+ /**
259
+ * Render content (not implemented in base class)
260
+ */
261
+ render(): void;
262
+ /**
263
+ * Queue a task to be executed in the future
264
+ * @param payload Payload to pass to the callback
265
+ * @param callback Name of the method to call
266
+ * @returns The ID of the queued task
267
+ */
268
+ queue<T = unknown>(callback: keyof this, payload: T): Promise<string>;
269
+ private _flushingQueue;
270
+ private _flushQueue;
271
+ /**
272
+ * Dequeue a task by ID
273
+ * @param id ID of the task to dequeue
274
+ */
275
+ dequeue(id: string): Promise<void>;
276
+ /**
277
+ * Dequeue all tasks
278
+ */
279
+ dequeueAll(): Promise<void>;
280
+ /**
281
+ * Dequeue all tasks by callback
282
+ * @param callback Name of the callback to dequeue
283
+ */
284
+ dequeueAllByCallback(callback: string): Promise<void>;
285
+ /**
286
+ * Get a queued task by ID
287
+ * @param id ID of the task to get
288
+ * @returns The task or undefined if not found
289
+ */
290
+ getQueue(id: string): Promise<QueueItem<string> | undefined>;
291
+ /**
292
+ * Get all queues by key and value
293
+ * @param key Key to filter by
294
+ * @param value Value to filter by
295
+ * @returns Array of matching QueueItem objects
296
+ */
297
+ getQueues(key: string, value: string): Promise<QueueItem<string>[]>;
298
+ /**
299
+ * Schedule a task to be executed in the future
300
+ * @template T Type of the payload data
301
+ * @param when When to execute the task (Date, seconds delay, or cron expression)
302
+ * @param callback Name of the method to call
303
+ * @param payload Data to pass to the callback
304
+ * @returns Schedule object representing the scheduled task
305
+ */
306
+ schedule<T = string>(
307
+ when: Date | string | number,
308
+ callback: keyof this,
309
+ payload?: T
310
+ ): Promise<Schedule<T>>;
311
+ /**
312
+ * Get a scheduled task by ID
313
+ * @template T Type of the payload data
314
+ * @param id ID of the scheduled task
315
+ * @returns The Schedule object or undefined if not found
316
+ */
317
+ getSchedule<T = string>(id: string): Promise<Schedule<T> | undefined>;
318
+ /**
319
+ * Get scheduled tasks matching the given criteria
320
+ * @template T Type of the payload data
321
+ * @param criteria Criteria to filter schedules
322
+ * @returns Array of matching Schedule objects
323
+ */
324
+ getSchedules<T = string>(criteria?: {
325
+ id?: string;
326
+ type?: "scheduled" | "delayed" | "cron";
327
+ timeRange?: {
328
+ start?: Date;
329
+ end?: Date;
330
+ };
331
+ }): Schedule<T>[];
332
+ /**
333
+ * Cancel a scheduled task
334
+ * @param id ID of the task to cancel
335
+ * @returns true if the task was cancelled, false if the task was not found
336
+ */
337
+ cancelSchedule(id: string): Promise<boolean>;
338
+ private _scheduleNextAlarm;
339
+ /**
340
+ * Method called when an alarm fires.
341
+ * Executes any scheduled tasks that are due.
342
+ *
343
+ * @remarks
344
+ * To schedule a task, please use the `this.schedule` method instead.
345
+ * See {@link https://developers.cloudflare.com/agents/api-reference/schedule-tasks/}
346
+ */
347
+ readonly alarm: () => Promise<void>;
348
+ /**
349
+ * Destroy the Agent, removing all state and scheduled tasks
350
+ */
351
+ destroy(): Promise<void>;
352
+ /**
353
+ * Get all methods marked as callable on this Agent
354
+ * @returns A map of method names to their metadata
355
+ */
356
+ private _isCallable;
357
+ /**
358
+ * Connect to a new MCP Server
359
+ *
360
+ * @param serverName Name of the MCP server
361
+ * @param url MCP Server SSE URL
362
+ * @param callbackHost Base host for the agent, used for the redirect URI. If not provided, will be derived from the current request.
363
+ * @param agentsPrefix agents routing prefix if not using `agents`
364
+ * @param options MCP client and transport options
365
+ * @returns Server id and state - either "authenticating" with authUrl, or "ready"
366
+ * @throws If connection or discovery fails
367
+ */
368
+ addMcpServer(
369
+ serverName: string,
370
+ url: string,
371
+ callbackHost?: string,
372
+ agentsPrefix?: string,
373
+ options?: {
374
+ client?: ConstructorParameters<typeof Client>[1];
375
+ transport?: {
376
+ headers?: HeadersInit;
377
+ type?: TransportType;
378
+ };
379
+ }
380
+ ): Promise<
381
+ | {
382
+ id: string;
383
+ state: typeof MCPConnectionState.AUTHENTICATING;
384
+ authUrl: string;
385
+ }
386
+ | {
387
+ id: string;
388
+ state: typeof MCPConnectionState.READY;
389
+ authUrl?: undefined;
390
+ }
391
+ >;
392
+ removeMcpServer(id: string): Promise<void>;
393
+ getMcpServers(): MCPServersState;
394
+ private broadcastMcpServers;
395
+ /**
396
+ * Handle MCP OAuth callback request if it's an OAuth callback.
397
+ *
398
+ * This method encapsulates the entire OAuth callback flow:
399
+ * 1. Checks if the request is an MCP OAuth callback
400
+ * 2. Processes the OAuth code exchange
401
+ * 3. Establishes the connection if successful
402
+ * 4. Broadcasts MCP server state updates
403
+ * 5. Returns the appropriate HTTP response
404
+ *
405
+ * @param request The incoming HTTP request
406
+ * @returns Response if this was an OAuth callback, null otherwise
407
+ */
408
+ private handleMcpOAuthCallback;
409
+ /**
410
+ * Handle OAuth callback response using MCPClientManager configuration
411
+ * @param result OAuth callback result
412
+ * @param request The original request (needed for base URL)
413
+ * @returns Response for the OAuth callback
414
+ */
415
+ private handleOAuthCallbackResponse;
416
+ }
417
+ /**
418
+ * Namespace for creating Agent instances
419
+ * @template Agentic Type of the Agent class
420
+ */
421
+ type AgentNamespace<Agentic extends Agent<unknown>> =
422
+ DurableObjectNamespace<Agentic>;
423
+ /**
424
+ * Agent's durable context
425
+ */
426
+ type AgentContext = DurableObjectState;
427
+ /**
428
+ * Configuration options for Agent routing
429
+ */
430
+ type AgentOptions<Env> = PartyServerOptions<Env> & {
431
+ /**
432
+ * Whether to enable CORS for the Agent
433
+ */
434
+ cors?: boolean | HeadersInit | undefined;
435
+ };
436
+ /**
437
+ * Route a request to the appropriate Agent
438
+ * @param request Request to route
439
+ * @param env Environment containing Agent bindings
440
+ * @param options Routing options
441
+ * @returns Response from the Agent or undefined if no route matched
442
+ */
443
+ declare function routeAgentRequest<Env>(
444
+ request: Request,
445
+ env: Env,
446
+ options?: AgentOptions<Env>
447
+ ): Promise<Response | null>;
448
+ type EmailResolver<Env> = (
449
+ email: ForwardableEmailMessage,
450
+ env: Env
451
+ ) => Promise<{
452
+ agentName: string;
453
+ agentId: string;
454
+ } | null>;
455
+ /**
456
+ * Create a resolver that uses the message-id header to determine the agent to route the email to
457
+ * @returns A function that resolves the agent to route the email to
458
+ */
459
+ declare function createHeaderBasedEmailResolver<Env>(): EmailResolver<Env>;
460
+ /**
461
+ * Create a resolver that uses the email address to determine the agent to route the email to
462
+ * @param defaultAgentName The default agent name to use if the email address does not contain a sub-address
463
+ * @returns A function that resolves the agent to route the email to
464
+ */
465
+ declare function createAddressBasedEmailResolver<Env>(
466
+ defaultAgentName: string
467
+ ): EmailResolver<Env>;
468
+ /**
469
+ * Create a resolver that uses the agentName and agentId to determine the agent to route the email to
470
+ * @param agentName The name of the agent to route the email to
471
+ * @param agentId The id of the agent to route the email to
472
+ * @returns A function that resolves the agent to route the email to
473
+ */
474
+ declare function createCatchAllEmailResolver<Env>(
475
+ agentName: string,
476
+ agentId: string
477
+ ): EmailResolver<Env>;
478
+ type EmailRoutingOptions<Env> = AgentOptions<Env> & {
479
+ resolver: EmailResolver<Env>;
480
+ };
481
+ /**
482
+ * Route an email to the appropriate Agent
483
+ * @param email The email to route
484
+ * @param env The environment containing the Agent bindings
485
+ * @param options The options for routing the email
486
+ * @returns A promise that resolves when the email has been routed
487
+ */
488
+ declare function routeAgentEmail<Env>(
489
+ email: ForwardableEmailMessage,
490
+ env: Env,
491
+ options: EmailRoutingOptions<Env>
492
+ ): Promise<void>;
493
+ type EmailSendOptions = {
494
+ to: string;
495
+ subject: string;
496
+ body: string;
497
+ contentType?: string;
498
+ headers?: Record<string, string>;
499
+ includeRoutingHeaders?: boolean;
500
+ agentName?: string;
501
+ agentId?: string;
502
+ domain?: string;
503
+ };
504
+ /**
505
+ * Get or create an Agent by name
506
+ * @template Env Environment type containing bindings
507
+ * @template T Type of the Agent class
508
+ * @param namespace Agent namespace
509
+ * @param name Name of the Agent instance
510
+ * @param options Options for Agent creation
511
+ * @returns Promise resolving to an Agent instance stub
512
+ */
513
+ declare function getAgentByName<
514
+ Env,
515
+ T extends Agent<Env>,
516
+ Props extends Record<string, unknown> = Record<string, unknown>
517
+ >(
518
+ namespace: AgentNamespace<T>,
519
+ name: string,
520
+ options?: {
521
+ jurisdiction?: DurableObjectJurisdiction;
522
+ locationHint?: DurableObjectLocationHint;
523
+ props?: Props;
524
+ }
525
+ ): Promise<DurableObjectStub<T>>;
526
+ /**
527
+ * A wrapper for streaming responses in callable methods
528
+ */
529
+ declare class StreamingResponse {
530
+ private _connection;
531
+ private _id;
532
+ private _closed;
533
+ constructor(connection: Connection, id: string);
534
+ /**
535
+ * Send a chunk of data to the client
536
+ * @param chunk The data to send
537
+ */
538
+ send(chunk: unknown): void;
539
+ /**
540
+ * End the stream and send the final chunk (if any)
541
+ * @param finalChunk Optional final chunk of data to send
542
+ */
543
+ end(finalChunk?: unknown): void;
544
+ }
545
+ //#endregion
546
+ export {
547
+ createCatchAllEmailResolver as C,
548
+ routeAgentEmail as D,
549
+ getCurrentAgent as E,
550
+ routeAgentRequest as O,
551
+ createAddressBasedEmailResolver as S,
552
+ getAgentByName as T,
553
+ Schedule as _,
554
+ CallableMetadata as a,
555
+ WSMessage as b,
556
+ EmailResolver as c,
557
+ MCPServer as d,
558
+ MCPServerMessage as f,
559
+ RPCResponse as g,
560
+ RPCRequest as h,
561
+ AgentOptions as i,
562
+ unstable_callable as k,
563
+ EmailRoutingOptions as l,
564
+ QueueItem as m,
565
+ AgentContext as n,
566
+ Connection$1 as o,
567
+ MCPServersState as p,
568
+ AgentNamespace as r,
569
+ ConnectionContext as s,
570
+ Agent as t,
571
+ EmailSendOptions as u,
572
+ StateUpdateMessage as v,
573
+ createHeaderBasedEmailResolver as w,
574
+ callable as x,
575
+ StreamingResponse as y
576
+ };
577
+ //# sourceMappingURL=index-DPJ32qQn.d.ts.map