agents 0.0.0-8ebc079 → 0.0.0-8f24e76

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 (40) hide show
  1. package/dist/ai-chat-agent.d.ts +27 -1
  2. package/dist/ai-chat-agent.js +99 -103
  3. package/dist/ai-chat-agent.js.map +1 -1
  4. package/dist/ai-react.d.ts +13 -0
  5. package/dist/ai-react.js +0 -2
  6. package/dist/ai-react.js.map +1 -1
  7. package/dist/chunk-BZXOAZUX.js +106 -0
  8. package/dist/chunk-BZXOAZUX.js.map +1 -0
  9. package/dist/{chunk-JR3NW4A7.js → chunk-CFTLYEEK.js} +261 -99
  10. package/dist/chunk-CFTLYEEK.js.map +1 -0
  11. package/dist/{chunk-7VFQNJFK.js → chunk-IFXSRTKF.js} +26 -23
  12. package/dist/chunk-IFXSRTKF.js.map +1 -0
  13. package/dist/chunk-VCSB47AK.js +116 -0
  14. package/dist/chunk-VCSB47AK.js.map +1 -0
  15. package/dist/client.d.ts +15 -1
  16. package/dist/client.js +6 -126
  17. package/dist/client.js.map +1 -1
  18. package/dist/index.d.ts +97 -4
  19. package/dist/index.js +4 -3
  20. package/dist/mcp/client.d.ts +21 -15
  21. package/dist/mcp/client.js +1 -2
  22. package/dist/mcp/do-oauth-client-provider.d.ts +3 -3
  23. package/dist/mcp/do-oauth-client-provider.js +3 -103
  24. package/dist/mcp/do-oauth-client-provider.js.map +1 -1
  25. package/dist/mcp/index.d.ts +11 -1
  26. package/dist/mcp/index.js +109 -137
  27. package/dist/mcp/index.js.map +1 -1
  28. package/dist/react.d.ts +85 -5
  29. package/dist/react.js +14 -2
  30. package/dist/react.js.map +1 -1
  31. package/dist/schedule.js +0 -2
  32. package/dist/schedule.js.map +1 -1
  33. package/dist/serializable.d.ts +32 -0
  34. package/dist/serializable.js +1 -0
  35. package/package.json +9 -7
  36. package/src/index.ts +336 -42
  37. package/dist/chunk-7VFQNJFK.js.map +0 -1
  38. package/dist/chunk-HMLY7DHA.js +0 -16
  39. package/dist/chunk-JR3NW4A7.js.map +0 -1
  40. /package/dist/{chunk-HMLY7DHA.js.map → serializable.js.map} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  MCPClientManager
3
- } from "./chunk-7VFQNJFK.js";
3
+ } from "./chunk-IFXSRTKF.js";
4
4
  import {
5
- __privateAdd,
6
- __privateGet,
7
- __privateMethod,
8
- __privateSet
9
- } from "./chunk-HMLY7DHA.js";
5
+ DurableObjectOAuthClientProvider
6
+ } from "./chunk-BZXOAZUX.js";
7
+ import {
8
+ camelCaseToKebabCase
9
+ } from "./chunk-VCSB47AK.js";
10
10
 
11
11
  // src/index.ts
12
12
  import {
@@ -16,7 +16,7 @@ import {
16
16
  } from "partyserver";
17
17
  import { parseCronExpression } from "cron-schedule";
18
18
  import { nanoid } from "nanoid";
19
- import { AsyncLocalStorage } from "node:async_hooks";
19
+ import { AsyncLocalStorage } from "async_hooks";
20
20
  function isRPCRequest(msg) {
21
21
  return typeof msg === "object" && msg !== null && "type" in msg && msg.type === "rpc" && "id" in msg && typeof msg.id === "string" && "method" in msg && typeof msg.method === "string" && "args" in msg && Array.isArray(msg.args);
22
22
  }
@@ -51,14 +51,12 @@ function getCurrentAgent() {
51
51
  }
52
52
  return store;
53
53
  }
54
- var _state, _ParentClass, _Agent_instances, setStateInternal_fn, tryCatch_fn, scheduleNextAlarm_fn, isCallable_fn;
55
54
  var Agent = class extends Server {
56
55
  constructor(ctx, env) {
57
56
  super(ctx, env);
58
- __privateAdd(this, _Agent_instances);
59
- __privateAdd(this, _state, DEFAULT_STATE);
60
- __privateAdd(this, _ParentClass, Object.getPrototypeOf(this).constructor);
61
- this.mcp = new MCPClientManager(__privateGet(this, _ParentClass).name, "0.0.1");
57
+ this._state = DEFAULT_STATE;
58
+ this._ParentClass = Object.getPrototypeOf(this).constructor;
59
+ this.mcp = new MCPClientManager(this._ParentClass.name, "0.0.1");
62
60
  /**
63
61
  * Initial state for the Agent
64
62
  * Override to provide default state values
@@ -105,7 +103,7 @@ var Agent = class extends Server {
105
103
  `;
106
104
  }
107
105
  }
108
- await __privateMethod(this, _Agent_instances, scheduleNextAlarm_fn).call(this);
106
+ await this._scheduleNextAlarm();
109
107
  };
110
108
  this.sql`
111
109
  CREATE TABLE IF NOT EXISTS cf_agents_state (
@@ -114,7 +112,7 @@ var Agent = class extends Server {
114
112
  )
115
113
  `;
116
114
  void this.ctx.blockConcurrencyWhile(async () => {
117
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, async () => {
115
+ return this._tryCatch(async () => {
118
116
  this.sql`
119
117
  CREATE TABLE IF NOT EXISTS cf_agents_schedules (
120
118
  id TEXT PRIMARY KEY NOT NULL DEFAULT (randomblob(9)),
@@ -130,12 +128,36 @@ var Agent = class extends Server {
130
128
  await this.alarm();
131
129
  });
132
130
  });
131
+ this.sql`
132
+ CREATE TABLE IF NOT EXISTS cf_agents_mcp_servers (
133
+ id TEXT PRIMARY KEY NOT NULL,
134
+ name TEXT NOT NULL,
135
+ server_url TEXT NOT NULL,
136
+ callback_url TEXT NOT NULL,
137
+ client_id TEXT,
138
+ auth_url TEXT,
139
+ server_options TEXT
140
+ )
141
+ `;
133
142
  const _onRequest = this.onRequest.bind(this);
134
143
  this.onRequest = (request) => {
135
144
  return agentContext.run(
136
145
  { agent: this, connection: void 0, request },
137
146
  async () => {
138
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => _onRequest(request));
147
+ if (this.mcp.isCallbackRequest(request)) {
148
+ await this.mcp.handleCallbackRequest(request);
149
+ this.broadcast(
150
+ JSON.stringify({
151
+ type: "cf_agent_mcp_servers",
152
+ mcp: this.getMcpServers()
153
+ })
154
+ );
155
+ return new Response("<script>window.close();</script>", {
156
+ status: 200,
157
+ headers: { "content-type": "text/html" }
158
+ });
159
+ }
160
+ return this._tryCatch(() => _onRequest(request));
139
161
  }
140
162
  );
141
163
  };
@@ -145,16 +167,16 @@ var Agent = class extends Server {
145
167
  { agent: this, connection, request: void 0 },
146
168
  async () => {
147
169
  if (typeof message !== "string") {
148
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => _onMessage(connection, message));
170
+ return this._tryCatch(() => _onMessage(connection, message));
149
171
  }
150
172
  let parsed;
151
173
  try {
152
174
  parsed = JSON.parse(message);
153
175
  } catch (e) {
154
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => _onMessage(connection, message));
176
+ return this._tryCatch(() => _onMessage(connection, message));
155
177
  }
156
178
  if (isStateUpdateMessage(parsed)) {
157
- __privateMethod(this, _Agent_instances, setStateInternal_fn).call(this, parsed.state, connection);
179
+ this._setStateInternal(parsed.state, connection);
158
180
  return;
159
181
  }
160
182
  if (isRPCRequest(parsed)) {
@@ -164,7 +186,7 @@ var Agent = class extends Server {
164
186
  if (typeof methodFn !== "function") {
165
187
  throw new Error(`Method ${method} does not exist`);
166
188
  }
167
- if (!__privateMethod(this, _Agent_instances, isCallable_fn).call(this, method)) {
189
+ if (!this._isCallable(method)) {
168
190
  throw new Error(`Method ${method} is not callable`);
169
191
  }
170
192
  const metadata = callableMetadata.get(methodFn);
@@ -194,7 +216,7 @@ var Agent = class extends Server {
194
216
  }
195
217
  return;
196
218
  }
197
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => _onMessage(connection, message));
219
+ return this._tryCatch(() => _onMessage(connection, message));
198
220
  }
199
221
  );
200
222
  };
@@ -212,18 +234,56 @@ var Agent = class extends Server {
212
234
  })
213
235
  );
214
236
  }
215
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => _onConnect(connection, ctx2));
237
+ connection.send(
238
+ JSON.stringify({
239
+ type: "cf_agent_mcp_servers",
240
+ mcp: this.getMcpServers()
241
+ })
242
+ );
243
+ return this._tryCatch(() => _onConnect(connection, ctx2));
216
244
  }, 20);
217
245
  }
218
246
  );
219
247
  };
248
+ const _onStart = this.onStart.bind(this);
249
+ this.onStart = async () => {
250
+ return agentContext.run(
251
+ { agent: this, connection: void 0, request: void 0 },
252
+ async () => {
253
+ const servers = this.sql`
254
+ SELECT id, name, server_url, client_id, auth_url, callback_url, server_options FROM cf_agents_mcp_servers;
255
+ `;
256
+ await Promise.allSettled(
257
+ servers.map((server) => {
258
+ return this._connectToMcpServerInternal(
259
+ server.name,
260
+ server.server_url,
261
+ server.callback_url,
262
+ server.server_options ? JSON.parse(server.server_options) : void 0,
263
+ {
264
+ id: server.id,
265
+ oauthClientId: server.client_id ?? void 0
266
+ }
267
+ );
268
+ })
269
+ );
270
+ this.broadcast(
271
+ JSON.stringify({
272
+ type: "cf_agent_mcp_servers",
273
+ mcp: this.getMcpServers()
274
+ })
275
+ );
276
+ await this._tryCatch(() => _onStart());
277
+ }
278
+ );
279
+ };
220
280
  }
221
281
  /**
222
282
  * Current state of the Agent
223
283
  */
224
284
  get state() {
225
- if (__privateGet(this, _state) !== DEFAULT_STATE) {
226
- return __privateGet(this, _state);
285
+ if (this._state !== DEFAULT_STATE) {
286
+ return this._state;
227
287
  }
228
288
  const wasChanged = this.sql`
229
289
  SELECT state FROM cf_agents_state WHERE id = ${STATE_WAS_CHANGED}
@@ -234,8 +294,8 @@ var Agent = class extends Server {
234
294
  if (wasChanged[0]?.state === "true" || // we do this check for people who updated their code before we shipped wasChanged
235
295
  result[0]?.state) {
236
296
  const state = result[0]?.state;
237
- __privateSet(this, _state, JSON.parse(state));
238
- return __privateGet(this, _state);
297
+ this._state = JSON.parse(state);
298
+ return this._state;
239
299
  }
240
300
  if (this.initialState === DEFAULT_STATE) {
241
301
  return void 0;
@@ -263,12 +323,39 @@ var Agent = class extends Server {
263
323
  throw this.onError(e);
264
324
  }
265
325
  }
326
+ _setStateInternal(state, source = "server") {
327
+ this._state = state;
328
+ this.sql`
329
+ INSERT OR REPLACE INTO cf_agents_state (id, state)
330
+ VALUES (${STATE_ROW_ID}, ${JSON.stringify(state)})
331
+ `;
332
+ this.sql`
333
+ INSERT OR REPLACE INTO cf_agents_state (id, state)
334
+ VALUES (${STATE_WAS_CHANGED}, ${JSON.stringify(true)})
335
+ `;
336
+ this.broadcast(
337
+ JSON.stringify({
338
+ type: "cf_agent_state",
339
+ state
340
+ }),
341
+ source !== "server" ? [source.id] : []
342
+ );
343
+ return this._tryCatch(() => {
344
+ const { connection, request } = agentContext.getStore() || {};
345
+ return agentContext.run(
346
+ { agent: this, connection, request },
347
+ async () => {
348
+ return this.onStateUpdate(state, source);
349
+ }
350
+ );
351
+ });
352
+ }
266
353
  /**
267
354
  * Update the Agent's state
268
355
  * @param state New state to set
269
356
  */
270
357
  setState(state) {
271
- __privateMethod(this, _Agent_instances, setStateInternal_fn).call(this, state, "server");
358
+ this._setStateInternal(state, "server");
272
359
  }
273
360
  /**
274
361
  * Called when the Agent's state is updated
@@ -289,6 +376,13 @@ var Agent = class extends Server {
289
376
  }
290
377
  );
291
378
  }
379
+ async _tryCatch(fn) {
380
+ try {
381
+ return await fn();
382
+ } catch (e) {
383
+ throw this.onError(e);
384
+ }
385
+ }
292
386
  onError(connectionOrError, error) {
293
387
  let theError;
294
388
  if (connectionOrError && error) {
@@ -338,7 +432,7 @@ var Agent = class extends Server {
338
432
  payload
339
433
  )}, 'scheduled', ${timestamp})
340
434
  `;
341
- await __privateMethod(this, _Agent_instances, scheduleNextAlarm_fn).call(this);
435
+ await this._scheduleNextAlarm();
342
436
  return {
343
437
  id,
344
438
  callback,
@@ -356,7 +450,7 @@ var Agent = class extends Server {
356
450
  payload
357
451
  )}, 'delayed', ${when}, ${timestamp})
358
452
  `;
359
- await __privateMethod(this, _Agent_instances, scheduleNextAlarm_fn).call(this);
453
+ await this._scheduleNextAlarm();
360
454
  return {
361
455
  id,
362
456
  callback,
@@ -375,7 +469,7 @@ var Agent = class extends Server {
375
469
  payload
376
470
  )}, 'cron', ${when}, ${timestamp})
377
471
  `;
378
- await __privateMethod(this, _Agent_instances, scheduleNextAlarm_fn).call(this);
472
+ await this._scheduleNextAlarm();
379
473
  return {
380
474
  id,
381
475
  callback,
@@ -442,76 +536,150 @@ var Agent = class extends Server {
442
536
  */
443
537
  async cancelSchedule(id) {
444
538
  this.sql`DELETE FROM cf_agents_schedules WHERE id = ${id}`;
445
- await __privateMethod(this, _Agent_instances, scheduleNextAlarm_fn).call(this);
539
+ await this._scheduleNextAlarm();
446
540
  return true;
447
541
  }
542
+ async _scheduleNextAlarm() {
543
+ const result = this.sql`
544
+ SELECT time FROM cf_agents_schedules
545
+ WHERE time > ${Math.floor(Date.now() / 1e3)}
546
+ ORDER BY time ASC
547
+ LIMIT 1
548
+ `;
549
+ if (!result) return;
550
+ if (result.length > 0 && "time" in result[0]) {
551
+ const nextTime = result[0].time * 1e3;
552
+ await this.ctx.storage.setAlarm(nextTime);
553
+ }
554
+ }
448
555
  /**
449
556
  * Destroy the Agent, removing all state and scheduled tasks
450
557
  */
451
558
  async destroy() {
452
559
  this.sql`DROP TABLE IF EXISTS cf_agents_state`;
453
560
  this.sql`DROP TABLE IF EXISTS cf_agents_schedules`;
561
+ this.sql`DROP TABLE IF EXISTS cf_agents_mcp_servers`;
454
562
  await this.ctx.storage.deleteAlarm();
455
563
  await this.ctx.storage.deleteAll();
456
564
  }
457
- };
458
- _state = new WeakMap();
459
- _ParentClass = new WeakMap();
460
- _Agent_instances = new WeakSet();
461
- setStateInternal_fn = function(state, source = "server") {
462
- __privateSet(this, _state, state);
463
- this.sql`
464
- INSERT OR REPLACE INTO cf_agents_state (id, state)
465
- VALUES (${STATE_ROW_ID}, ${JSON.stringify(state)})
466
- `;
467
- this.sql`
468
- INSERT OR REPLACE INTO cf_agents_state (id, state)
469
- VALUES (${STATE_WAS_CHANGED}, ${JSON.stringify(true)})
470
- `;
471
- this.broadcast(
472
- JSON.stringify({
473
- type: "cf_agent_state",
474
- state
475
- }),
476
- source !== "server" ? [source.id] : []
477
- );
478
- return __privateMethod(this, _Agent_instances, tryCatch_fn).call(this, () => {
479
- const { connection, request } = agentContext.getStore() || {};
480
- return agentContext.run(
481
- { agent: this, connection, request },
482
- async () => {
483
- return this.onStateUpdate(state, source);
565
+ /**
566
+ * Get all methods marked as callable on this Agent
567
+ * @returns A map of method names to their metadata
568
+ */
569
+ _isCallable(method) {
570
+ return callableMetadata.has(this[method]);
571
+ }
572
+ /**
573
+ * Connect to a new MCP Server
574
+ *
575
+ * @param url MCP Server SSE URL
576
+ * @param callbackHost Base host for the agent, used for the redirect URI.
577
+ * @param agentsPrefix agents routing prefix if not using `agents`
578
+ * @param options MCP client and transport (header) options
579
+ * @returns authUrl
580
+ */
581
+ async addMcpServer(serverName, url, callbackHost, agentsPrefix = "agents", options) {
582
+ const callbackUrl = `${callbackHost}/${agentsPrefix}/${camelCaseToKebabCase(this._ParentClass.name)}/${this.name}/callback`;
583
+ const result = await this._connectToMcpServerInternal(
584
+ serverName,
585
+ url,
586
+ callbackUrl,
587
+ options
588
+ );
589
+ this.broadcast(
590
+ JSON.stringify({
591
+ type: "cf_agent_mcp_servers",
592
+ mcp: this.getMcpServers()
593
+ })
594
+ );
595
+ return result;
596
+ }
597
+ async _connectToMcpServerInternal(serverName, url, callbackUrl, options, reconnect) {
598
+ const authProvider = new DurableObjectOAuthClientProvider(
599
+ this.ctx.storage,
600
+ this.name,
601
+ callbackUrl
602
+ );
603
+ if (reconnect) {
604
+ authProvider.serverId = reconnect.id;
605
+ if (reconnect.oauthClientId) {
606
+ authProvider.clientId = reconnect.oauthClientId;
484
607
  }
608
+ }
609
+ let headerTransportOpts = {};
610
+ if (options?.transport?.headers) {
611
+ headerTransportOpts = {
612
+ eventSourceInit: {
613
+ fetch: (url2, init) => fetch(url2, {
614
+ ...init,
615
+ headers: options?.transport?.headers
616
+ })
617
+ },
618
+ requestInit: {
619
+ headers: options?.transport?.headers
620
+ }
621
+ };
622
+ }
623
+ const { id, authUrl, clientId } = await this.mcp.connect(url, {
624
+ reconnect,
625
+ transport: {
626
+ ...headerTransportOpts,
627
+ authProvider
628
+ },
629
+ client: options?.client
630
+ });
631
+ this.sql`
632
+ INSERT OR REPLACE INTO cf_agents_mcp_servers (id, name, server_url, client_id, auth_url, callback_url, server_options)
633
+ VALUES (
634
+ ${id},
635
+ ${serverName},
636
+ ${url},
637
+ ${clientId ?? null},
638
+ ${authUrl ?? null},
639
+ ${callbackUrl},
640
+ ${options ? JSON.stringify(options) : null}
641
+ );
642
+ `;
643
+ return {
644
+ id,
645
+ authUrl
646
+ };
647
+ }
648
+ async removeMcpServer(id) {
649
+ this.mcp.closeConnection(id);
650
+ this.sql`
651
+ DELETE FROM cf_agents_mcp_servers WHERE id = ${id};
652
+ `;
653
+ this.broadcast(
654
+ JSON.stringify({
655
+ type: "cf_agent_mcp_servers",
656
+ mcp: this.getMcpServers()
657
+ })
485
658
  );
486
- });
487
- };
488
- tryCatch_fn = async function(fn) {
489
- try {
490
- return await fn();
491
- } catch (e) {
492
- throw this.onError(e);
493
659
  }
494
- };
495
- scheduleNextAlarm_fn = async function() {
496
- const result = this.sql`
497
- SELECT time FROM cf_agents_schedules
498
- WHERE time > ${Math.floor(Date.now() / 1e3)}
499
- ORDER BY time ASC
500
- LIMIT 1
660
+ getMcpServers() {
661
+ const mcpState = {
662
+ servers: {},
663
+ tools: this.mcp.listTools(),
664
+ prompts: this.mcp.listPrompts(),
665
+ resources: this.mcp.listResources()
666
+ };
667
+ const servers = this.sql`
668
+ SELECT id, name, server_url, client_id, auth_url, callback_url, server_options FROM cf_agents_mcp_servers;
501
669
  `;
502
- if (!result) return;
503
- if (result.length > 0 && "time" in result[0]) {
504
- const nextTime = result[0].time * 1e3;
505
- await this.ctx.storage.setAlarm(nextTime);
670
+ for (const server of servers) {
671
+ mcpState.servers[server.id] = {
672
+ name: server.name,
673
+ server_url: server.server_url,
674
+ auth_url: server.auth_url,
675
+ state: this.mcp.mcpConnections[server.id].connectionState,
676
+ instructions: this.mcp.mcpConnections[server.id].instructions ?? null,
677
+ capabilities: this.mcp.mcpConnections[server.id].serverCapabilities ?? null
678
+ };
679
+ }
680
+ return mcpState;
506
681
  }
507
682
  };
508
- /**
509
- * Get all methods marked as callable on this Agent
510
- * @returns A map of method names to their metadata
511
- */
512
- isCallable_fn = function(method) {
513
- return callableMetadata.has(this[method]);
514
- };
515
683
  /**
516
684
  * Agent configuration options
517
685
  */
@@ -560,54 +728,48 @@ async function routeAgentEmail(email, env, options) {
560
728
  async function getAgentByName(namespace, name, options) {
561
729
  return getServerByName(namespace, name, options);
562
730
  }
563
- var _connection, _id, _closed;
564
731
  var StreamingResponse = class {
565
732
  constructor(connection, id) {
566
- __privateAdd(this, _connection);
567
- __privateAdd(this, _id);
568
- __privateAdd(this, _closed, false);
569
- __privateSet(this, _connection, connection);
570
- __privateSet(this, _id, id);
733
+ this._closed = false;
734
+ this._connection = connection;
735
+ this._id = id;
571
736
  }
572
737
  /**
573
738
  * Send a chunk of data to the client
574
739
  * @param chunk The data to send
575
740
  */
576
741
  send(chunk) {
577
- if (__privateGet(this, _closed)) {
742
+ if (this._closed) {
578
743
  throw new Error("StreamingResponse is already closed");
579
744
  }
580
745
  const response = {
581
746
  type: "rpc",
582
- id: __privateGet(this, _id),
747
+ id: this._id,
583
748
  success: true,
584
749
  result: chunk,
585
750
  done: false
586
751
  };
587
- __privateGet(this, _connection).send(JSON.stringify(response));
752
+ this._connection.send(JSON.stringify(response));
588
753
  }
589
754
  /**
590
755
  * End the stream and send the final chunk (if any)
591
756
  * @param finalChunk Optional final chunk of data to send
592
757
  */
593
758
  end(finalChunk) {
594
- if (__privateGet(this, _closed)) {
759
+ if (this._closed) {
595
760
  throw new Error("StreamingResponse is already closed");
596
761
  }
597
- __privateSet(this, _closed, true);
762
+ this._closed = true;
598
763
  const response = {
599
764
  type: "rpc",
600
- id: __privateGet(this, _id),
765
+ id: this._id,
601
766
  success: true,
602
767
  result: finalChunk,
603
768
  done: true
604
769
  };
605
- __privateGet(this, _connection).send(JSON.stringify(response));
770
+ this._connection.send(JSON.stringify(response));
606
771
  }
607
772
  };
608
- _connection = new WeakMap();
609
- _id = new WeakMap();
610
- _closed = new WeakMap();
611
773
 
612
774
  export {
613
775
  unstable_callable,
@@ -618,4 +780,4 @@ export {
618
780
  getAgentByName,
619
781
  StreamingResponse
620
782
  };
621
- //# sourceMappingURL=chunk-JR3NW4A7.js.map
783
+ //# sourceMappingURL=chunk-CFTLYEEK.js.map