@agentrun/sdk 0.0.3 → 0.0.4
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 +20 -15
- package/dist/agent-runtime/api/index.cjs +907 -0
- package/dist/agent-runtime/api/index.cjs.map +1 -0
- package/dist/agent-runtime/api/index.d.cts +193 -0
- package/dist/agent-runtime/api/index.d.ts +193 -0
- package/dist/agent-runtime/api/index.js +882 -0
- package/dist/agent-runtime/api/index.js.map +1 -0
- package/dist/agent-runtime/index.cjs +2528 -0
- package/dist/agent-runtime/index.cjs.map +1 -0
- package/dist/agent-runtime/index.d.cts +778 -0
- package/dist/agent-runtime/index.d.ts +778 -0
- package/dist/agent-runtime/index.js +2496 -0
- package/dist/agent-runtime/index.js.map +1 -0
- package/dist/base-K1GMfJbH.d.ts +59 -0
- package/dist/base-xcWt5bua.d.cts +59 -0
- package/dist/client-DHXxjuo3.d.ts +58 -0
- package/dist/client-DPUTs69s.d.cts +58 -0
- package/dist/config-07gMelJP.d.cts +125 -0
- package/dist/config-07gMelJP.d.ts +125 -0
- package/dist/control-api-BWD4eua5.d.cts +27 -0
- package/dist/control-api-d-82Sgpr.d.ts +27 -0
- package/dist/credential/api/index.cjs +655 -0
- package/dist/credential/api/index.cjs.map +1 -0
- package/dist/credential/api/index.d.cts +93 -0
- package/dist/credential/api/index.d.ts +93 -0
- package/dist/credential/api/index.js +630 -0
- package/dist/credential/api/index.js.map +1 -0
- package/dist/credential/index.cjs +1286 -0
- package/dist/credential/index.cjs.map +1 -0
- package/dist/credential/index.d.cts +246 -0
- package/dist/credential/index.d.ts +246 -0
- package/dist/credential/index.js +1263 -0
- package/dist/credential/index.js.map +1 -0
- package/dist/data-api-B-4h9_Vf.d.ts +166 -0
- package/dist/data-api-DsG-8JRQ.d.cts +166 -0
- package/dist/exception-DM9H2Rpo.d.cts +68 -0
- package/dist/exception-DM9H2Rpo.d.ts +68 -0
- package/dist/index.cjs +29281 -1427
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -4485
- package/dist/index.d.ts +38 -4485
- package/dist/index.js +29259 -1426
- package/dist/index.js.map +1 -1
- package/dist/integration/builtin/index.cjs +9399 -0
- package/dist/integration/builtin/index.cjs.map +1 -0
- package/dist/integration/builtin/index.d.cts +692 -0
- package/dist/integration/builtin/index.d.ts +692 -0
- package/dist/integration/builtin/index.js +9363 -0
- package/dist/integration/builtin/index.js.map +1 -0
- package/dist/integration/index.cjs +9524 -0
- package/dist/integration/index.cjs.map +1 -0
- package/dist/integration/index.d.cts +98 -0
- package/dist/integration/index.d.ts +98 -0
- package/dist/integration/index.js +9481 -0
- package/dist/integration/index.js.map +1 -0
- package/dist/integration/mastra/index.cjs +9383 -0
- package/dist/integration/mastra/index.cjs.map +1 -0
- package/dist/integration/mastra/index.d.cts +186 -0
- package/dist/integration/mastra/index.d.ts +186 -0
- package/dist/integration/mastra/index.js +9348 -0
- package/dist/integration/mastra/index.js.map +1 -0
- package/dist/model/index.cjs +2392 -0
- package/dist/model/index.cjs.map +1 -0
- package/dist/model/index.d.cts +97 -0
- package/dist/model/index.d.ts +97 -0
- package/dist/model/index.js +2368 -0
- package/dist/model/index.js.map +1 -0
- package/dist/model--I90nCqy.d.cts +66 -0
- package/dist/model--I90nCqy.d.ts +66 -0
- package/dist/model-BV7A6Trb.d.cts +512 -0
- package/dist/model-DGBy-o_L.d.cts +176 -0
- package/dist/model-DGBy-o_L.d.ts +176 -0
- package/dist/model-RiiiZnou.d.ts +512 -0
- package/dist/model-service-D-P2FZNi.d.ts +540 -0
- package/dist/model-service-VpzBb7rV.d.cts +540 -0
- package/dist/resource-CQovFUeh.d.cts +44 -0
- package/dist/resource-DnE_DEka.d.ts +44 -0
- package/dist/sandbox/index.cjs +3557 -0
- package/dist/sandbox/index.cjs.map +1 -0
- package/dist/sandbox/index.d.cts +1598 -0
- package/dist/sandbox/index.d.ts +1598 -0
- package/dist/sandbox/index.js +3532 -0
- package/dist/sandbox/index.js.map +1 -0
- package/dist/server/adapter/index.cjs +24886 -0
- package/dist/server/adapter/index.cjs.map +1 -0
- package/dist/server/adapter/index.d.cts +68 -0
- package/dist/server/adapter/index.d.ts +68 -0
- package/dist/server/adapter/index.js +24883 -0
- package/dist/server/adapter/index.js.map +1 -0
- package/dist/server/core/index.cjs +313 -0
- package/dist/server/core/index.cjs.map +1 -0
- package/dist/server/core/index.d.cts +58 -0
- package/dist/server/core/index.d.ts +58 -0
- package/dist/server/core/index.js +309 -0
- package/dist/server/core/index.js.map +1 -0
- package/dist/server/index.cjs +25098 -0
- package/dist/server/index.cjs.map +1 -0
- package/dist/server/index.d.cts +73 -0
- package/dist/server/index.d.ts +73 -0
- package/dist/server/index.js +25067 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/protocol/index.cjs +1057 -0
- package/dist/server/protocol/index.cjs.map +1 -0
- package/dist/server/protocol/index.d.cts +135 -0
- package/dist/server/protocol/index.d.ts +135 -0
- package/dist/server/protocol/index.js +1053 -0
- package/dist/server/protocol/index.js.map +1 -0
- package/dist/tool-CG0LY-ov.d.cts +155 -0
- package/dist/tool-JJHam0ms.d.ts +155 -0
- package/dist/toolset/api/index.cjs +754 -0
- package/dist/toolset/api/index.cjs.map +1 -0
- package/dist/toolset/api/index.d.cts +207 -0
- package/dist/toolset/api/index.d.ts +207 -0
- package/dist/toolset/api/index.js +727 -0
- package/dist/toolset/api/index.js.map +1 -0
- package/dist/toolset/index.cjs +1945 -0
- package/dist/toolset/index.cjs.map +1 -0
- package/dist/toolset/index.d.cts +182 -0
- package/dist/toolset/index.d.ts +182 -0
- package/dist/toolset/index.js +1920 -0
- package/dist/toolset/index.js.map +1 -0
- package/dist/toolset-BYDvhwRp.d.cts +394 -0
- package/dist/toolset-CSRsJxCb.d.ts +394 -0
- package/dist/utils/index.cjs +994 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +30 -0
- package/dist/utils/index.d.ts +30 -0
- package/dist/utils/index.js +951 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +65 -13
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server Core Data Models
|
|
3
|
+
*
|
|
4
|
+
* 此模块定义 Server 相关的所有数据模型。
|
|
5
|
+
* This module defines all data models related to Server.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Message role enum
|
|
9
|
+
*/
|
|
10
|
+
declare enum MessageRole {
|
|
11
|
+
SYSTEM = "system",
|
|
12
|
+
USER = "user",
|
|
13
|
+
ASSISTANT = "assistant",
|
|
14
|
+
TOOL = "tool"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Event type enum for AgentEvent (Protocol agnostic)
|
|
18
|
+
*
|
|
19
|
+
* 定义核心事件类型,框架会自动转换为对应协议格式(OpenAI、AG-UI 等)。
|
|
20
|
+
*/
|
|
21
|
+
declare enum EventType {
|
|
22
|
+
TEXT = "TEXT",// 文本内容块
|
|
23
|
+
TOOL_CALL = "TOOL_CALL",// 完整工具调用(含 id, name, args)
|
|
24
|
+
TOOL_CALL_CHUNK = "TOOL_CALL_CHUNK",// 工具调用参数片段(流式场景)
|
|
25
|
+
TOOL_RESULT = "TOOL_RESULT",// 工具执行结果
|
|
26
|
+
TOOL_RESULT_CHUNK = "TOOL_RESULT_CHUNK",// 工具执行结果片段(流式输出场景)
|
|
27
|
+
ERROR = "ERROR",// 错误事件
|
|
28
|
+
STATE = "STATE",// 状态更新(快照或增量)
|
|
29
|
+
HITL = "HITL",// Human-in-the-Loop,请求人类介入
|
|
30
|
+
CUSTOM = "CUSTOM",// 自定义事件
|
|
31
|
+
RAW = "RAW"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Tool call definition
|
|
35
|
+
*/
|
|
36
|
+
interface ToolCall {
|
|
37
|
+
id: string;
|
|
38
|
+
type?: string;
|
|
39
|
+
function: {
|
|
40
|
+
name: string;
|
|
41
|
+
arguments: string;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Tool definition
|
|
46
|
+
*/
|
|
47
|
+
interface Tool {
|
|
48
|
+
type: string;
|
|
49
|
+
function: {
|
|
50
|
+
name: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
parameters?: Record<string, unknown>;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Message in a conversation
|
|
57
|
+
*/
|
|
58
|
+
interface Message {
|
|
59
|
+
id?: string;
|
|
60
|
+
role: MessageRole;
|
|
61
|
+
content?: string | Array<Record<string, unknown>>;
|
|
62
|
+
name?: string;
|
|
63
|
+
toolCalls?: ToolCall[];
|
|
64
|
+
toolCallId?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Agent request
|
|
68
|
+
*/
|
|
69
|
+
interface AgentRequest {
|
|
70
|
+
/** Protocol name */
|
|
71
|
+
protocol?: string;
|
|
72
|
+
/** Messages in the conversation */
|
|
73
|
+
messages: Message[];
|
|
74
|
+
/** Whether to stream the response */
|
|
75
|
+
stream?: boolean;
|
|
76
|
+
/** Model to use */
|
|
77
|
+
model?: string;
|
|
78
|
+
/** Available tools */
|
|
79
|
+
tools?: Tool[];
|
|
80
|
+
/** Additional metadata */
|
|
81
|
+
metadata?: Record<string, unknown>;
|
|
82
|
+
/** Raw HTTP request (for accessing headers, etc.) */
|
|
83
|
+
rawRequest?: unknown;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Merge options for addition field
|
|
87
|
+
*/
|
|
88
|
+
interface MergeOptions {
|
|
89
|
+
noNewField?: boolean;
|
|
90
|
+
concatList?: boolean;
|
|
91
|
+
ignoreEmptyList?: boolean;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Agent event (for streaming)
|
|
95
|
+
*
|
|
96
|
+
* 标准化的事件结构,协议无关设计。
|
|
97
|
+
* 框架层会自动将 AgentEvent 转换为对应协议的格式(OpenAI、AG-UI 等)。
|
|
98
|
+
*/
|
|
99
|
+
interface AgentEvent {
|
|
100
|
+
/** Event type */
|
|
101
|
+
event: EventType;
|
|
102
|
+
/** Event data */
|
|
103
|
+
data?: Record<string, unknown>;
|
|
104
|
+
/** Additional fields for protocol extension */
|
|
105
|
+
addition?: Record<string, unknown>;
|
|
106
|
+
/** Merge options for addition */
|
|
107
|
+
additionMergeOptions?: MergeOptions;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Agent result (alias for AgentEvent)
|
|
111
|
+
*/
|
|
112
|
+
type AgentResult = AgentEvent;
|
|
113
|
+
/**
|
|
114
|
+
* Agent event item (can be string or AgentEvent)
|
|
115
|
+
*/
|
|
116
|
+
type AgentEventItem = string | AgentEvent;
|
|
117
|
+
/**
|
|
118
|
+
* Protocol configuration base
|
|
119
|
+
*/
|
|
120
|
+
interface ProtocolConfig {
|
|
121
|
+
prefix?: string;
|
|
122
|
+
enable?: boolean;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* OpenAI protocol configuration
|
|
126
|
+
*/
|
|
127
|
+
interface OpenAIProtocolConfig extends ProtocolConfig {
|
|
128
|
+
modelName?: string;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* AG-UI protocol configuration
|
|
132
|
+
*/
|
|
133
|
+
interface AGUIProtocolConfig extends ProtocolConfig {
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Server configuration
|
|
137
|
+
*/
|
|
138
|
+
interface ServerConfig {
|
|
139
|
+
/** OpenAI protocol config */
|
|
140
|
+
openai?: OpenAIProtocolConfig;
|
|
141
|
+
/** AG-UI protocol config */
|
|
142
|
+
agui?: AGUIProtocolConfig;
|
|
143
|
+
/** CORS origins */
|
|
144
|
+
corsOrigins?: string[];
|
|
145
|
+
/** Port to listen on */
|
|
146
|
+
port?: number;
|
|
147
|
+
/** Host to listen on */
|
|
148
|
+
host?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Protocol request interface (framework agnostic)
|
|
152
|
+
*/
|
|
153
|
+
interface ProtocolRequest {
|
|
154
|
+
body: Record<string, unknown>;
|
|
155
|
+
headers: Record<string, string>;
|
|
156
|
+
method: string;
|
|
157
|
+
url: string;
|
|
158
|
+
query?: Record<string, string>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Protocol response interface
|
|
162
|
+
*/
|
|
163
|
+
interface ProtocolResponse {
|
|
164
|
+
status: number;
|
|
165
|
+
headers: Record<string, string>;
|
|
166
|
+
body: string | AsyncIterable<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Invoke options for AgentInvoker
|
|
170
|
+
*/
|
|
171
|
+
interface InvokeOptions {
|
|
172
|
+
signal?: AbortSignal;
|
|
173
|
+
timeout?: number;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export { type AGUIProtocolConfig as A, EventType as E, type InvokeOptions as I, type Message as M, type OpenAIProtocolConfig as O, type ProtocolConfig as P, type ServerConfig as S, type Tool as T, type AgentEvent as a, type AgentRequest as b, type AgentResult as c, MessageRole as d, type ProtocolRequest as e, type ProtocolResponse as f, type ToolCall as g, type AgentEventItem as h, type MergeOptions as i };
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server Core Data Models
|
|
3
|
+
*
|
|
4
|
+
* 此模块定义 Server 相关的所有数据模型。
|
|
5
|
+
* This module defines all data models related to Server.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Message role enum
|
|
9
|
+
*/
|
|
10
|
+
declare enum MessageRole {
|
|
11
|
+
SYSTEM = "system",
|
|
12
|
+
USER = "user",
|
|
13
|
+
ASSISTANT = "assistant",
|
|
14
|
+
TOOL = "tool"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Event type enum for AgentEvent (Protocol agnostic)
|
|
18
|
+
*
|
|
19
|
+
* 定义核心事件类型,框架会自动转换为对应协议格式(OpenAI、AG-UI 等)。
|
|
20
|
+
*/
|
|
21
|
+
declare enum EventType {
|
|
22
|
+
TEXT = "TEXT",// 文本内容块
|
|
23
|
+
TOOL_CALL = "TOOL_CALL",// 完整工具调用(含 id, name, args)
|
|
24
|
+
TOOL_CALL_CHUNK = "TOOL_CALL_CHUNK",// 工具调用参数片段(流式场景)
|
|
25
|
+
TOOL_RESULT = "TOOL_RESULT",// 工具执行结果
|
|
26
|
+
TOOL_RESULT_CHUNK = "TOOL_RESULT_CHUNK",// 工具执行结果片段(流式输出场景)
|
|
27
|
+
ERROR = "ERROR",// 错误事件
|
|
28
|
+
STATE = "STATE",// 状态更新(快照或增量)
|
|
29
|
+
HITL = "HITL",// Human-in-the-Loop,请求人类介入
|
|
30
|
+
CUSTOM = "CUSTOM",// 自定义事件
|
|
31
|
+
RAW = "RAW"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Tool call definition
|
|
35
|
+
*/
|
|
36
|
+
interface ToolCall {
|
|
37
|
+
id: string;
|
|
38
|
+
type?: string;
|
|
39
|
+
function: {
|
|
40
|
+
name: string;
|
|
41
|
+
arguments: string;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Tool definition
|
|
46
|
+
*/
|
|
47
|
+
interface Tool {
|
|
48
|
+
type: string;
|
|
49
|
+
function: {
|
|
50
|
+
name: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
parameters?: Record<string, unknown>;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Message in a conversation
|
|
57
|
+
*/
|
|
58
|
+
interface Message {
|
|
59
|
+
id?: string;
|
|
60
|
+
role: MessageRole;
|
|
61
|
+
content?: string | Array<Record<string, unknown>>;
|
|
62
|
+
name?: string;
|
|
63
|
+
toolCalls?: ToolCall[];
|
|
64
|
+
toolCallId?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Agent request
|
|
68
|
+
*/
|
|
69
|
+
interface AgentRequest {
|
|
70
|
+
/** Protocol name */
|
|
71
|
+
protocol?: string;
|
|
72
|
+
/** Messages in the conversation */
|
|
73
|
+
messages: Message[];
|
|
74
|
+
/** Whether to stream the response */
|
|
75
|
+
stream?: boolean;
|
|
76
|
+
/** Model to use */
|
|
77
|
+
model?: string;
|
|
78
|
+
/** Available tools */
|
|
79
|
+
tools?: Tool[];
|
|
80
|
+
/** Additional metadata */
|
|
81
|
+
metadata?: Record<string, unknown>;
|
|
82
|
+
/** Raw HTTP request (for accessing headers, etc.) */
|
|
83
|
+
rawRequest?: unknown;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Merge options for addition field
|
|
87
|
+
*/
|
|
88
|
+
interface MergeOptions {
|
|
89
|
+
noNewField?: boolean;
|
|
90
|
+
concatList?: boolean;
|
|
91
|
+
ignoreEmptyList?: boolean;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Agent event (for streaming)
|
|
95
|
+
*
|
|
96
|
+
* 标准化的事件结构,协议无关设计。
|
|
97
|
+
* 框架层会自动将 AgentEvent 转换为对应协议的格式(OpenAI、AG-UI 等)。
|
|
98
|
+
*/
|
|
99
|
+
interface AgentEvent {
|
|
100
|
+
/** Event type */
|
|
101
|
+
event: EventType;
|
|
102
|
+
/** Event data */
|
|
103
|
+
data?: Record<string, unknown>;
|
|
104
|
+
/** Additional fields for protocol extension */
|
|
105
|
+
addition?: Record<string, unknown>;
|
|
106
|
+
/** Merge options for addition */
|
|
107
|
+
additionMergeOptions?: MergeOptions;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Agent result (alias for AgentEvent)
|
|
111
|
+
*/
|
|
112
|
+
type AgentResult = AgentEvent;
|
|
113
|
+
/**
|
|
114
|
+
* Agent event item (can be string or AgentEvent)
|
|
115
|
+
*/
|
|
116
|
+
type AgentEventItem = string | AgentEvent;
|
|
117
|
+
/**
|
|
118
|
+
* Protocol configuration base
|
|
119
|
+
*/
|
|
120
|
+
interface ProtocolConfig {
|
|
121
|
+
prefix?: string;
|
|
122
|
+
enable?: boolean;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* OpenAI protocol configuration
|
|
126
|
+
*/
|
|
127
|
+
interface OpenAIProtocolConfig extends ProtocolConfig {
|
|
128
|
+
modelName?: string;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* AG-UI protocol configuration
|
|
132
|
+
*/
|
|
133
|
+
interface AGUIProtocolConfig extends ProtocolConfig {
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Server configuration
|
|
137
|
+
*/
|
|
138
|
+
interface ServerConfig {
|
|
139
|
+
/** OpenAI protocol config */
|
|
140
|
+
openai?: OpenAIProtocolConfig;
|
|
141
|
+
/** AG-UI protocol config */
|
|
142
|
+
agui?: AGUIProtocolConfig;
|
|
143
|
+
/** CORS origins */
|
|
144
|
+
corsOrigins?: string[];
|
|
145
|
+
/** Port to listen on */
|
|
146
|
+
port?: number;
|
|
147
|
+
/** Host to listen on */
|
|
148
|
+
host?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Protocol request interface (framework agnostic)
|
|
152
|
+
*/
|
|
153
|
+
interface ProtocolRequest {
|
|
154
|
+
body: Record<string, unknown>;
|
|
155
|
+
headers: Record<string, string>;
|
|
156
|
+
method: string;
|
|
157
|
+
url: string;
|
|
158
|
+
query?: Record<string, string>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Protocol response interface
|
|
162
|
+
*/
|
|
163
|
+
interface ProtocolResponse {
|
|
164
|
+
status: number;
|
|
165
|
+
headers: Record<string, string>;
|
|
166
|
+
body: string | AsyncIterable<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Invoke options for AgentInvoker
|
|
170
|
+
*/
|
|
171
|
+
interface InvokeOptions {
|
|
172
|
+
signal?: AbortSignal;
|
|
173
|
+
timeout?: number;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export { type AGUIProtocolConfig as A, EventType as E, type InvokeOptions as I, type Message as M, type OpenAIProtocolConfig as O, type ProtocolConfig as P, type ServerConfig as S, type Tool as T, type AgentEvent as a, type AgentRequest as b, type AgentResult as c, MessageRole as d, type ProtocolRequest as e, type ProtocolResponse as f, type ToolCall as g, type AgentEventItem as h, type MergeOptions as i };
|