agents 0.16.1 → 0.17.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/README.md +11 -8
- package/dist/{agent-tool-types-NofdbL9X.d.ts → agent-tool-types-Cd1TZPfB.d.ts} +595 -137
- package/dist/agent-tool-types.d.ts +34 -18
- package/dist/agent-tool-types.js +20 -1
- package/dist/agent-tool-types.js.map +1 -0
- package/dist/agent-tools-BXlsuX0d.js +304 -0
- package/dist/agent-tools-BXlsuX0d.js.map +1 -0
- package/dist/agent-tools-_E8wxUIK.d.ts +119 -0
- package/dist/agent-tools.d.ts +24 -18
- package/dist/agent-tools.js.map +1 -1
- package/dist/ai-chat-agent.d.ts +1 -1
- package/dist/ai-chat-agent.js +1 -2
- package/dist/ai-chat-agent.js.map +1 -1
- package/dist/ai-chat-v5-migration.d.ts +1 -1
- package/dist/ai-chat-v5-migration.js +1 -2
- package/dist/ai-chat-v5-migration.js.map +1 -1
- package/dist/ai-react.d.ts +1 -1
- package/dist/ai-react.js +1 -2
- package/dist/ai-react.js.map +1 -1
- package/dist/ai-types.d.ts +1 -7
- package/dist/ai-types.js +2 -8
- package/dist/ai-types.js.map +1 -1
- package/dist/browser/ai.js +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/chat/index.d.ts +1923 -76
- package/dist/chat/index.js +1784 -278
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/react.d.ts +602 -0
- package/dist/chat/react.js +1506 -0
- package/dist/chat/react.js.map +1 -0
- package/dist/chat-sdk/index.d.ts +4 -4
- package/dist/{classPrivateFieldGet2-CZ7QjTXN.js → classPrivateFieldGet2-DZBYAB34.js} +5 -5
- package/dist/{classPrivateMethodInitSpec-D-0__zd9.js → classPrivateMethodInitSpec-qMjJ6sHQ.js} +2 -2
- package/dist/{client-FUizKzj2.js → client-BZ-B3NhC.js} +19 -3
- package/dist/client-BZ-B3NhC.js.map +1 -0
- package/dist/client-tools-aIBO0Fk7.d.ts +53 -0
- package/dist/client.d.ts +76 -57
- package/dist/client.js +33 -5
- package/dist/client.js.map +1 -1
- package/dist/{compaction-helpers-DVcu5lPN.d.ts → compaction-helpers-wUz6M3us.d.ts} +20 -1
- package/dist/{connector-CrKhowfD.js → connector-CdldGF3h.js} +5 -5
- package/dist/{connector-CrKhowfD.js.map → connector-CdldGF3h.js.map} +1 -1
- package/dist/email.js +1 -1
- package/dist/email.js.map +1 -1
- package/dist/experimental/memory/session/index.d.ts +1 -1
- package/dist/experimental/memory/session/index.js +20 -2
- package/dist/experimental/memory/session/index.js.map +1 -1
- package/dist/experimental/memory/utils/index.d.ts +1 -1
- package/dist/{index-B7IbEeze.d.ts → index-CcbnKkNh.d.ts} +188 -14
- package/dist/index.d.ts +91 -71
- package/dist/index.js +562 -24
- package/dist/index.js.map +1 -1
- package/dist/mcp/client.d.ts +18 -14
- package/dist/mcp/client.js +1 -1
- package/dist/mcp/index.d.ts +30 -30
- package/dist/mcp/index.js +7 -7
- package/dist/mcp/index.js.map +1 -1
- package/dist/{agent-tools-3zLG7MgA.js → message-builder-BymO4N_D.js} +45 -126
- package/dist/message-builder-BymO4N_D.js.map +1 -0
- package/dist/observability/index.d.ts +1 -1
- package/dist/observability/index.js +4 -2
- package/dist/observability/index.js.map +1 -1
- package/dist/react.d.ts +123 -110
- package/dist/react.js +44 -11
- package/dist/react.js.map +1 -1
- package/dist/serializable.d.ts +1 -1
- package/dist/skills/compile.js +1 -1
- package/dist/skills/compile.js.map +1 -1
- package/dist/skills/index.js +5 -5
- package/dist/skills/index.js.map +1 -1
- package/dist/sub-routing.d.ts +6 -6
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/vite.js +5 -5
- package/dist/vite.js.map +1 -1
- package/dist/wire-types-nflOzNuU.js +240 -0
- package/dist/wire-types-nflOzNuU.js.map +1 -0
- package/dist/{workflow-types-SrZK_o9p.d.ts → workflow-types-Baz_PO5v.d.ts} +42 -22
- package/dist/workflow-types.d.ts +25 -21
- package/dist/workflow-types.js.map +1 -1
- package/dist/workflows.d.ts +22 -21
- package/dist/workflows.js +31 -7
- package/dist/workflows.js.map +1 -1
- package/docs/adding-to-existing-project.md +450 -0
- package/docs/agent-class.md +503 -0
- package/docs/agent-tools.md +552 -0
- package/docs/browse-the-web.md +430 -0
- package/docs/callable-methods.md +627 -0
- package/docs/chat-agents.md +1687 -0
- package/docs/chat-sdk.md +181 -0
- package/docs/client-sdk.md +520 -0
- package/docs/client-tools-continuation.md +177 -0
- package/docs/codemode.md +440 -0
- package/docs/configuration.md +775 -0
- package/docs/cross-domain-authentication.md +171 -0
- package/docs/durable-execution.md +537 -0
- package/docs/email.md +663 -0
- package/docs/get-current-agent.md +204 -0
- package/docs/getting-started.md +305 -0
- package/docs/http-websockets.md +668 -0
- package/docs/human-in-the-loop.md +661 -0
- package/docs/index.md +151 -0
- package/docs/long-running-agents.md +730 -0
- package/docs/mcp-client.md +620 -0
- package/docs/mcp-servers.md +526 -0
- package/docs/mcp-transports.md +308 -0
- package/docs/migration-to-ai-sdk-v5.md +96 -0
- package/docs/migration-to-ai-sdk-v6.md +163 -0
- package/docs/observability.md +261 -0
- package/docs/push-notifications.md +367 -0
- package/docs/queue.md +329 -0
- package/docs/readonly-connections.md +278 -0
- package/docs/resumable-streaming.md +127 -0
- package/docs/retries.md +444 -0
- package/docs/routing.md +749 -0
- package/docs/scheduling.md +898 -0
- package/docs/securing-mcp-servers.md +359 -0
- package/docs/server-driven-messages.md +477 -0
- package/docs/sessions.md +1024 -0
- package/docs/state.md +512 -0
- package/docs/sub-agents.md +389 -0
- package/docs/webhooks.md +604 -0
- package/docs/workflows.md +877 -0
- package/package.json +47 -15
- package/dist/agent-tools-3zLG7MgA.js.map +0 -1
- package/dist/agent-tools-DLquv-dp.d.ts +0 -14
- package/dist/client-FUizKzj2.js.map +0 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
s as buildSummaryPrompt,
|
|
13
13
|
t as COMPACTION_PREFIX,
|
|
14
14
|
u as findTailCutByTokens
|
|
15
|
-
} from "../../../compaction-helpers-
|
|
15
|
+
} from "../../../compaction-helpers-wUz6M3us.js";
|
|
16
16
|
|
|
17
17
|
//#region src/experimental/memory/utils/tokens.d.ts
|
|
18
18
|
/** Approximate characters per token for English text */
|
|
@@ -225,6 +225,127 @@ type AgentObservabilityEvent =
|
|
|
225
225
|
error: string;
|
|
226
226
|
}
|
|
227
227
|
>
|
|
228
|
+
| BaseEvent<
|
|
229
|
+
"action:ledger:replayed",
|
|
230
|
+
{
|
|
231
|
+
action: string;
|
|
232
|
+
key: string;
|
|
233
|
+
inputHash: string;
|
|
234
|
+
}
|
|
235
|
+
>
|
|
236
|
+
| BaseEvent<
|
|
237
|
+
"action:ledger:pending",
|
|
238
|
+
{
|
|
239
|
+
action: string;
|
|
240
|
+
key: string;
|
|
241
|
+
inputHash: string;
|
|
242
|
+
}
|
|
243
|
+
>
|
|
244
|
+
| BaseEvent<
|
|
245
|
+
"action:ledger:conflict",
|
|
246
|
+
{
|
|
247
|
+
action: string;
|
|
248
|
+
key: string;
|
|
249
|
+
inputHash: string;
|
|
250
|
+
}
|
|
251
|
+
>
|
|
252
|
+
| BaseEvent<
|
|
253
|
+
"action:ledger:serialize_failed",
|
|
254
|
+
{
|
|
255
|
+
action: string;
|
|
256
|
+
key: string;
|
|
257
|
+
}
|
|
258
|
+
>
|
|
259
|
+
| BaseEvent<
|
|
260
|
+
"action:ledger:settled",
|
|
261
|
+
{
|
|
262
|
+
action: string;
|
|
263
|
+
key: string;
|
|
264
|
+
inputHash: string;
|
|
265
|
+
}
|
|
266
|
+
>
|
|
267
|
+
| BaseEvent<
|
|
268
|
+
"action:ledger:reclaimed",
|
|
269
|
+
{
|
|
270
|
+
action: string;
|
|
271
|
+
key: string;
|
|
272
|
+
inputHash: string;
|
|
273
|
+
ageMs: number;
|
|
274
|
+
}
|
|
275
|
+
>
|
|
276
|
+
| BaseEvent<
|
|
277
|
+
"action:ledger:swept",
|
|
278
|
+
{
|
|
279
|
+
settled: number;
|
|
280
|
+
pending: number;
|
|
281
|
+
}
|
|
282
|
+
>
|
|
283
|
+
| BaseEvent<
|
|
284
|
+
"action:pause:created",
|
|
285
|
+
{
|
|
286
|
+
action: string;
|
|
287
|
+
executionId: string;
|
|
288
|
+
toolCallId: string;
|
|
289
|
+
}
|
|
290
|
+
>
|
|
291
|
+
| BaseEvent<
|
|
292
|
+
"action:pause:approved",
|
|
293
|
+
{
|
|
294
|
+
action: string;
|
|
295
|
+
executionId: string;
|
|
296
|
+
}
|
|
297
|
+
>
|
|
298
|
+
| BaseEvent<
|
|
299
|
+
"action:pause:rejected",
|
|
300
|
+
{
|
|
301
|
+
action: string;
|
|
302
|
+
executionId: string;
|
|
303
|
+
}
|
|
304
|
+
>
|
|
305
|
+
| BaseEvent<
|
|
306
|
+
"action:pause:swept",
|
|
307
|
+
{
|
|
308
|
+
swept: number;
|
|
309
|
+
}
|
|
310
|
+
>
|
|
311
|
+
| BaseEvent<
|
|
312
|
+
"action:reply-attached",
|
|
313
|
+
{
|
|
314
|
+
action?: string;
|
|
315
|
+
attachmentType: string;
|
|
316
|
+
}
|
|
317
|
+
>
|
|
318
|
+
| BaseEvent<
|
|
319
|
+
"channel:resolved",
|
|
320
|
+
{
|
|
321
|
+
channel: string;
|
|
322
|
+
kind: string;
|
|
323
|
+
requestId?: string;
|
|
324
|
+
}
|
|
325
|
+
>
|
|
326
|
+
| BaseEvent<
|
|
327
|
+
"channel:delivered",
|
|
328
|
+
{
|
|
329
|
+
channel: string;
|
|
330
|
+
kind: string;
|
|
331
|
+
turnEnded: boolean;
|
|
332
|
+
}
|
|
333
|
+
>
|
|
334
|
+
| BaseEvent<
|
|
335
|
+
"notice:delivered",
|
|
336
|
+
{
|
|
337
|
+
channel: string;
|
|
338
|
+
kind: string;
|
|
339
|
+
informModel: boolean;
|
|
340
|
+
}
|
|
341
|
+
>
|
|
342
|
+
| BaseEvent<
|
|
343
|
+
"notice:failed",
|
|
344
|
+
{
|
|
345
|
+
channel: string;
|
|
346
|
+
error: string;
|
|
347
|
+
}
|
|
348
|
+
>
|
|
228
349
|
| BaseEvent<
|
|
229
350
|
"fiber:run:started",
|
|
230
351
|
{
|
|
@@ -326,6 +447,29 @@ type AgentObservabilityEvent =
|
|
|
326
447
|
error: string;
|
|
327
448
|
}
|
|
328
449
|
>
|
|
450
|
+
| BaseEvent<
|
|
451
|
+
"chat:turn:start",
|
|
452
|
+
{
|
|
453
|
+
requestId: string;
|
|
454
|
+
trigger: string;
|
|
455
|
+
admission: string;
|
|
456
|
+
continuation?: boolean;
|
|
457
|
+
generation?: number;
|
|
458
|
+
}
|
|
459
|
+
>
|
|
460
|
+
| BaseEvent<
|
|
461
|
+
"chat:turn:finish",
|
|
462
|
+
{
|
|
463
|
+
requestId: string;
|
|
464
|
+
trigger: string;
|
|
465
|
+
admission: string;
|
|
466
|
+
continuation?: boolean;
|
|
467
|
+
generation?: number;
|
|
468
|
+
status: string;
|
|
469
|
+
durationMs: number;
|
|
470
|
+
error?: string;
|
|
471
|
+
}
|
|
472
|
+
>
|
|
329
473
|
| BaseEvent<
|
|
330
474
|
"chat:recovery:detected",
|
|
331
475
|
{
|
|
@@ -508,6 +652,25 @@ type AgentObservabilityEvent =
|
|
|
508
652
|
error: string;
|
|
509
653
|
}
|
|
510
654
|
>
|
|
655
|
+
| BaseEvent<
|
|
656
|
+
"agent_tool:detached:delivery_failed",
|
|
657
|
+
{
|
|
658
|
+
runId: string /** Which ledger slot was being delivered. */;
|
|
659
|
+
kind:
|
|
660
|
+
| "finish"
|
|
661
|
+
| "give_up" /** Terminal status that was being delivered. */;
|
|
662
|
+
status: string /** The per-run `onFinish` callback name, if one was wired. */;
|
|
663
|
+
callback?: string;
|
|
664
|
+
error: string;
|
|
665
|
+
}
|
|
666
|
+
>
|
|
667
|
+
| BaseEvent<
|
|
668
|
+
"agent_tool:detached:live_count_warning",
|
|
669
|
+
{
|
|
670
|
+
/** Detached runs currently holding a concurrency slot (non-terminal). */ liveCount: number /** The threshold that was crossed. */;
|
|
671
|
+
threshold: number;
|
|
672
|
+
}
|
|
673
|
+
>
|
|
511
674
|
| BaseEvent<"destroy">
|
|
512
675
|
| BaseEvent<
|
|
513
676
|
"connect",
|
|
@@ -632,18 +795,19 @@ interface Observability {
|
|
|
632
795
|
* Tail Workers via `event.diagnosticsChannelEvents` — no subscription needed.
|
|
633
796
|
*/
|
|
634
797
|
declare const channels: {
|
|
635
|
-
readonly state: Channel<
|
|
636
|
-
readonly rpc: Channel<
|
|
637
|
-
readonly message: Channel<
|
|
638
|
-
readonly chat: Channel<
|
|
639
|
-
readonly transcript: Channel<
|
|
640
|
-
readonly fiber: Channel<
|
|
641
|
-
readonly agentTool: Channel<
|
|
642
|
-
readonly schedule: Channel<
|
|
643
|
-
readonly lifecycle: Channel<
|
|
644
|
-
readonly workflow: Channel<
|
|
645
|
-
readonly mcp: Channel<
|
|
646
|
-
readonly email: Channel<
|
|
798
|
+
readonly state: Channel<any, any>;
|
|
799
|
+
readonly rpc: Channel<any, any>;
|
|
800
|
+
readonly message: Channel<any, any>;
|
|
801
|
+
readonly chat: Channel<any, any>;
|
|
802
|
+
readonly transcript: Channel<any, any>;
|
|
803
|
+
readonly fiber: Channel<any, any>;
|
|
804
|
+
readonly agentTool: Channel<any, any>;
|
|
805
|
+
readonly schedule: Channel<any, any>;
|
|
806
|
+
readonly lifecycle: Channel<any, any>;
|
|
807
|
+
readonly workflow: Channel<any, any>;
|
|
808
|
+
readonly mcp: Channel<any, any>;
|
|
809
|
+
readonly email: Channel<any, any>;
|
|
810
|
+
readonly channel: Channel<any, any>;
|
|
647
811
|
};
|
|
648
812
|
/**
|
|
649
813
|
* The default observability implementation.
|
|
@@ -671,7 +835,11 @@ type ChannelEventMap = {
|
|
|
671
835
|
message: Extract<
|
|
672
836
|
ObservabilityEvent,
|
|
673
837
|
{
|
|
674
|
-
type:
|
|
838
|
+
type:
|
|
839
|
+
| `message:${string}`
|
|
840
|
+
| `tool:${string}`
|
|
841
|
+
| `submission:${string}`
|
|
842
|
+
| `action:${string}`;
|
|
675
843
|
}
|
|
676
844
|
>;
|
|
677
845
|
chat: Exclude<
|
|
@@ -733,6 +901,12 @@ type ChannelEventMap = {
|
|
|
733
901
|
type: `email:${string}`;
|
|
734
902
|
}
|
|
735
903
|
>;
|
|
904
|
+
channel: Extract<
|
|
905
|
+
ObservabilityEvent,
|
|
906
|
+
{
|
|
907
|
+
type: `channel:${string}` | `notice:${string}`;
|
|
908
|
+
}
|
|
909
|
+
>;
|
|
736
910
|
};
|
|
737
911
|
/**
|
|
738
912
|
* Subscribe to a typed observability channel.
|
|
@@ -761,4 +935,4 @@ export {
|
|
|
761
935
|
MCPObservabilityEvent as s,
|
|
762
936
|
ChannelEventMap as t
|
|
763
937
|
};
|
|
764
|
-
//# sourceMappingURL=index-
|
|
938
|
+
//# sourceMappingURL=index-CcbnKkNh.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,77 +1,87 @@
|
|
|
1
1
|
/// <reference path="../skills-module.d.ts" />
|
|
2
2
|
import { r as __DO_NOT_USE_WILL_BREAK__agentContext } from "./internal_context-Dg4Cgjcu.js";
|
|
3
3
|
import {
|
|
4
|
-
$ as
|
|
5
|
-
A as
|
|
6
|
-
B as
|
|
7
|
-
C as
|
|
8
|
-
D as
|
|
9
|
-
E as
|
|
10
|
-
F as
|
|
11
|
-
G as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
et as
|
|
44
|
-
f as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
4
|
+
$ as RoutingRetryOptions,
|
|
5
|
+
A as AgentGetOptions,
|
|
6
|
+
B as EmailSendBinding,
|
|
7
|
+
C as DetachedRunAgentToolResult,
|
|
8
|
+
D as AddRpcMcpServerOptions,
|
|
9
|
+
E as AddMcpServerOptions,
|
|
10
|
+
F as Connection,
|
|
11
|
+
G as FiberStatus,
|
|
12
|
+
H as FiberInspection,
|
|
13
|
+
I as ConnectionContext,
|
|
14
|
+
J as MCPServerMessage,
|
|
15
|
+
K as ListFibersOptions,
|
|
16
|
+
L as DEFAULT_AGENT_STATIC_OPTIONS,
|
|
17
|
+
M as AgentOptions,
|
|
18
|
+
N as AgentStaticOptions,
|
|
19
|
+
O as Agent,
|
|
20
|
+
Ot as MCP_SERVER_ID_MAX_LENGTH,
|
|
21
|
+
P as CallableMetadata,
|
|
22
|
+
Q as RPCResponse,
|
|
23
|
+
R as DeleteFibersOptions,
|
|
24
|
+
S as DetachedAgentToolConfig,
|
|
25
|
+
T as RunAgentToolResult,
|
|
26
|
+
U as FiberRecoveryContext,
|
|
27
|
+
V as FiberContext,
|
|
28
|
+
W as FiberRecoveryResult,
|
|
29
|
+
X as QueueItem,
|
|
30
|
+
Y as MCPServersState,
|
|
31
|
+
Z as RPCRequest,
|
|
32
|
+
_ as AgentToolRunState,
|
|
33
|
+
_t as MCPAITool,
|
|
34
|
+
a as AgentToolEvent,
|
|
35
|
+
an as routeSubAgentRequest,
|
|
36
|
+
at as StartFiberResult,
|
|
37
|
+
b as AgentToolTerminalStatus,
|
|
38
|
+
c as AgentToolFailure,
|
|
39
|
+
ct as SubAgentClass,
|
|
40
|
+
d as AgentToolMilestone,
|
|
41
|
+
dt as callable,
|
|
42
|
+
en as TransportType,
|
|
43
|
+
et as Schedule,
|
|
44
|
+
f as AgentToolProgress,
|
|
45
|
+
ft as getAgentByName,
|
|
46
|
+
g as AgentToolRunPart,
|
|
47
|
+
gt as unstable_callable,
|
|
48
|
+
h as AgentToolRunInspection,
|
|
49
|
+
ht as routeAgentRequest,
|
|
50
|
+
i as AgentToolDisplayMetadata,
|
|
51
|
+
in as parseSubAgentPath,
|
|
52
|
+
it as StartFiberOptions,
|
|
53
|
+
j as AgentNamespace,
|
|
54
|
+
jt as normalizeServerId,
|
|
55
|
+
k as AgentContext,
|
|
56
|
+
l as AgentToolInterruptedReason,
|
|
57
|
+
lt as SubAgentStub,
|
|
58
|
+
m as AgentToolRunInfo,
|
|
59
|
+
mt as routeAgentEmail,
|
|
60
|
+
n as AGENT_TOOL_PROGRESS_PART,
|
|
61
|
+
nn as SubAgentPathMatch,
|
|
62
|
+
nt as SendEmailOptions,
|
|
63
|
+
o as AgentToolEventMessage,
|
|
64
|
+
ot as StateUpdateMessage,
|
|
65
|
+
p as AgentToolProgressSnapshot,
|
|
66
|
+
pt as getCurrentAgent,
|
|
67
|
+
q as MCPServer,
|
|
68
|
+
r as AgentToolChildAdapter,
|
|
69
|
+
rn as getSubAgentByName,
|
|
70
|
+
rt as SqlError,
|
|
71
|
+
s as AgentToolEventState,
|
|
72
|
+
st as StreamingResponse,
|
|
73
|
+
t as AGENT_TOOL_MILESTONE_PART,
|
|
74
|
+
tn as SUB_PREFIX,
|
|
75
|
+
tt as ScheduleCriteria,
|
|
76
|
+
u as AgentToolLifecycleResult,
|
|
77
|
+
ut as WSMessage,
|
|
78
|
+
v as AgentToolRunStatus,
|
|
79
|
+
vt as MCPAIToolSet,
|
|
80
|
+
w as RunAgentToolOptions,
|
|
81
|
+
x as ChatCapableAgentClass,
|
|
82
|
+
y as AgentToolStoredChunk,
|
|
83
|
+
z as EmailRoutingOptions
|
|
84
|
+
} from "./agent-tool-types-Cd1TZPfB.js";
|
|
75
85
|
import { n as camelCaseToKebabCase } from "./utils-CGtGDSgA.js";
|
|
76
86
|
import {
|
|
77
87
|
i as isPlatformTransientError,
|
|
@@ -86,6 +96,8 @@ import {
|
|
|
86
96
|
import { t as MessageType } from "./types-6Zo2zfoO.js";
|
|
87
97
|
import { l as createHeaderBasedEmailResolver } from "./email-CL27preh.js";
|
|
88
98
|
export {
|
|
99
|
+
AGENT_TOOL_MILESTONE_PART,
|
|
100
|
+
AGENT_TOOL_PROGRESS_PART,
|
|
89
101
|
AddMcpServerOptions,
|
|
90
102
|
AddRpcMcpServerOptions,
|
|
91
103
|
Agent,
|
|
@@ -103,8 +115,12 @@ export {
|
|
|
103
115
|
type AgentToolFailure,
|
|
104
116
|
type AgentToolInterruptedReason,
|
|
105
117
|
type AgentToolLifecycleResult,
|
|
118
|
+
type AgentToolMilestone,
|
|
119
|
+
type AgentToolProgress,
|
|
120
|
+
type AgentToolProgressSnapshot,
|
|
106
121
|
type AgentToolRunInfo,
|
|
107
122
|
type AgentToolRunInspection,
|
|
123
|
+
type AgentToolRunPart,
|
|
108
124
|
type AgentToolRunState,
|
|
109
125
|
type AgentToolRunStatus,
|
|
110
126
|
type AgentToolStoredChunk,
|
|
@@ -116,6 +132,8 @@ export {
|
|
|
116
132
|
type ConnectionContext,
|
|
117
133
|
DEFAULT_AGENT_STATIC_OPTIONS,
|
|
118
134
|
DeleteFibersOptions,
|
|
135
|
+
type DetachedAgentToolConfig,
|
|
136
|
+
type DetachedRunAgentToolResult,
|
|
119
137
|
DurableObjectOAuthClientProvider,
|
|
120
138
|
EmailRoutingOptions,
|
|
121
139
|
EmailSendBinding,
|
|
@@ -125,6 +143,8 @@ export {
|
|
|
125
143
|
FiberRecoveryResult,
|
|
126
144
|
FiberStatus,
|
|
127
145
|
ListFibersOptions,
|
|
146
|
+
type MCPAITool,
|
|
147
|
+
type MCPAIToolSet,
|
|
128
148
|
MCPServer,
|
|
129
149
|
MCPServerMessage,
|
|
130
150
|
MCPServersState,
|