@reminix/sdk 0.10.0 → 0.12.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/CHANGELOG.md +43 -0
- package/README.md +47 -0
- package/client.d.mts +19 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -4
- package/client.d.ts.map +1 -1
- package/client.js +18 -0
- package/client.js.map +1 -1
- package/client.mjs +18 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +57 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +57 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +108 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +102 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/agents.d.mts +246 -90
- package/resources/agents.d.mts.map +1 -1
- package/resources/agents.d.ts +246 -90
- package/resources/agents.d.ts.map +1 -1
- package/resources/agents.js +28 -2
- package/resources/agents.js.map +1 -1
- package/resources/agents.mjs +28 -2
- package/resources/agents.mjs.map +1 -1
- package/resources/conversations.d.mts +107 -0
- package/resources/conversations.d.mts.map +1 -0
- package/resources/conversations.d.ts +107 -0
- package/resources/conversations.d.ts.map +1 -0
- package/resources/conversations.js +41 -0
- package/resources/conversations.js.map +1 -0
- package/resources/conversations.mjs +37 -0
- package/resources/conversations.mjs.map +1 -0
- package/resources/execution-logs.d.mts +93 -0
- package/resources/execution-logs.d.mts.map +1 -0
- package/resources/execution-logs.d.ts +93 -0
- package/resources/execution-logs.d.ts.map +1 -0
- package/resources/execution-logs.js +33 -0
- package/resources/execution-logs.js.map +1 -0
- package/resources/execution-logs.mjs +29 -0
- package/resources/execution-logs.mjs.map +1 -0
- package/resources/index.d.mts +5 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/projects.d.mts +1 -11
- package/resources/projects.d.mts.map +1 -1
- package/resources/projects.d.ts +1 -11
- package/resources/projects.d.ts.map +1 -1
- package/resources/tools.d.mts +152 -0
- package/resources/tools.d.mts.map +1 -0
- package/resources/tools.d.ts +152 -0
- package/resources/tools.d.ts.map +1 -0
- package/resources/tools.js +59 -0
- package/resources/tools.js.map +1 -0
- package/resources/tools.mjs +55 -0
- package/resources/tools.mjs.map +1 -0
- package/src/client.ts +86 -4
- package/src/core/pagination.ts +165 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/agents.ts +296 -89
- package/src/resources/conversations.ts +146 -0
- package/src/resources/execution-logs.ts +125 -0
- package/src/resources/index.ts +26 -2
- package/src/resources/projects.ts +1 -13
- package/src/resources/tools.ts +192 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/agents.d.ts
CHANGED
|
@@ -1,46 +1,50 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import * as AgentsAPI from "./agents.js";
|
|
3
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
|
|
4
5
|
import { Stream } from "../core/streaming.js";
|
|
5
6
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
7
|
export declare class Agents extends APIResource {
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
-
* conversation context through the messages array, allowing for multi-turn
|
|
10
|
-
* conversations.
|
|
9
|
+
* Get details of a specific agent by name.
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const agent = await client.agents.retrieve('x');
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
retrieve(name: string, options?: RequestOptions): APIPromise<Agent>;
|
|
17
|
+
/**
|
|
18
|
+
* List all agents in the project with optional filtering by type and status.
|
|
20
19
|
*
|
|
21
|
-
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const agent of client.agents.list()) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(query?: AgentListParams | null | undefined, options?: RequestOptions): PagePromise<AgentsCursor, Agent>;
|
|
29
|
+
/**
|
|
30
|
+
* Send a chat message to an agent and receive a response.
|
|
22
31
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* - Multi-step question answering
|
|
26
|
-
* - Conversational agents that need context
|
|
32
|
+
* **Supported Agents:** Managed agents only. Custom agents should use the /execute
|
|
33
|
+
* endpoint.
|
|
27
34
|
*
|
|
28
|
-
* **
|
|
35
|
+
* **Tool Calls:** Messages support the OpenAI tool calling format:
|
|
29
36
|
*
|
|
30
|
-
* -
|
|
31
|
-
* -
|
|
32
|
-
* -
|
|
37
|
+
* - Assistant messages can include `tool_calls` array with function calls
|
|
38
|
+
* - Tool result messages use `role: "tool"` with `tool_call_id` and `name`
|
|
39
|
+
* - Content can be `null` when `tool_calls` is present
|
|
33
40
|
*
|
|
34
|
-
* **Streaming:** Set `stream: true`
|
|
35
|
-
*
|
|
36
|
-
* chat interfaces.
|
|
41
|
+
* **Streaming:** Set `stream: true` to receive Server-Sent Events (SSE) for
|
|
42
|
+
* real-time responses.
|
|
37
43
|
*
|
|
38
44
|
* @example
|
|
39
45
|
* ```ts
|
|
40
46
|
* const response = await client.agents.chat('name', {
|
|
41
|
-
* messages: [
|
|
42
|
-
* { role: 'user', content: 'What is the weather today?' },
|
|
43
|
-
* ],
|
|
47
|
+
* messages: [{ content: 'string', role: 'system' }],
|
|
44
48
|
* });
|
|
45
49
|
* ```
|
|
46
50
|
*/
|
|
@@ -48,8 +52,12 @@ export declare class Agents extends APIResource {
|
|
|
48
52
|
chat(name: string, body: AgentChatParamsStreaming, options?: RequestOptions): APIPromise<Stream<StreamChunk>>;
|
|
49
53
|
chat(name: string, body: AgentChatParamsBase, options?: RequestOptions): APIPromise<Stream<StreamChunk> | AgentChatResponse>;
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
55
|
+
* Invoke a custom agent with the provided input.
|
|
56
|
+
*
|
|
57
|
+
* **Supported Agents:** Custom agents only. Managed agents should use the /chat
|
|
58
|
+
* endpoint.
|
|
59
|
+
*
|
|
60
|
+
* **Input:** Pass structured input data matching the agent's parameter schema.
|
|
53
61
|
*
|
|
54
62
|
* **Timeout:** Agent invocations have a 60-second timeout. If the agent takes
|
|
55
63
|
* longer to respond, you will receive a 504 Gateway Timeout error. For
|
|
@@ -60,38 +68,153 @@ export declare class Agents extends APIResource {
|
|
|
60
68
|
* with a unique value (e.g., UUID) to ensure duplicate requests return the same
|
|
61
69
|
* response. Keys are valid for 24 hours. Streaming responses are not cached.
|
|
62
70
|
*
|
|
63
|
-
* **Use cases:**
|
|
64
|
-
*
|
|
65
|
-
* - Data analysis and processing
|
|
66
|
-
* - Content generation (with streaming for long outputs)
|
|
67
|
-
* - One-time operations that don't require conversation history
|
|
68
|
-
* - API-like operations
|
|
69
|
-
*
|
|
70
71
|
* **Streaming:** Set `stream: true` in the request body to receive Server-Sent
|
|
71
72
|
* Events (SSE) stream with incremental chunks. Useful for long-running tasks or
|
|
72
|
-
* real-time
|
|
73
|
+
* real-time responses.
|
|
73
74
|
*
|
|
74
75
|
* @example
|
|
75
76
|
* ```ts
|
|
76
|
-
* const response = await client.agents.invoke('name'
|
|
77
|
-
* input: {
|
|
78
|
-
* task: 'analyze this data',
|
|
79
|
-
* data: { value: 123, items: ['a', 'b', 'c'] },
|
|
80
|
-
* },
|
|
81
|
-
* });
|
|
77
|
+
* const response = await client.agents.invoke('name');
|
|
82
78
|
* ```
|
|
83
79
|
*/
|
|
84
|
-
invoke(name: string, body
|
|
80
|
+
invoke(name: string, body?: AgentInvokeParamsNonStreaming, options?: RequestOptions): APIPromise<AgentInvokeResponse>;
|
|
85
81
|
invoke(name: string, body: AgentInvokeParamsStreaming, options?: RequestOptions): APIPromise<Stream<StreamChunk>>;
|
|
86
|
-
invoke(name: string, body
|
|
82
|
+
invoke(name: string, body?: AgentInvokeParamsBase | undefined, options?: RequestOptions): APIPromise<Stream<StreamChunk> | AgentInvokeResponse>;
|
|
83
|
+
}
|
|
84
|
+
export type AgentsCursor = Cursor<Agent>;
|
|
85
|
+
export interface Agent {
|
|
86
|
+
/**
|
|
87
|
+
* Unique agent ID
|
|
88
|
+
*/
|
|
89
|
+
id: string;
|
|
90
|
+
/**
|
|
91
|
+
* Whether agent supports chat interface
|
|
92
|
+
*/
|
|
93
|
+
canChat: boolean | null;
|
|
94
|
+
/**
|
|
95
|
+
* Whether agent supports streaming
|
|
96
|
+
*/
|
|
97
|
+
canStream: boolean | null;
|
|
98
|
+
/**
|
|
99
|
+
* Agent configuration (for managed agents)
|
|
100
|
+
*/
|
|
101
|
+
config: AgentConfig | null;
|
|
102
|
+
/**
|
|
103
|
+
* Creation timestamp
|
|
104
|
+
*/
|
|
105
|
+
createdAt: string;
|
|
106
|
+
/**
|
|
107
|
+
* User who created the agent
|
|
108
|
+
*/
|
|
109
|
+
createdBy: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Agent description
|
|
112
|
+
*/
|
|
113
|
+
description: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* When the agent was discovered (for custom agents)
|
|
116
|
+
*/
|
|
117
|
+
discoveredAt: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* Agent name
|
|
120
|
+
*/
|
|
121
|
+
name: string;
|
|
122
|
+
/**
|
|
123
|
+
* JSON Schema for agent input parameters
|
|
124
|
+
*/
|
|
125
|
+
output: Agent.Output | null;
|
|
126
|
+
/**
|
|
127
|
+
* JSON Schema for agent input parameters
|
|
128
|
+
*/
|
|
129
|
+
parameters: Agent.Parameters | null;
|
|
130
|
+
/**
|
|
131
|
+
* Project ID
|
|
132
|
+
*/
|
|
133
|
+
projectId: string;
|
|
134
|
+
/**
|
|
135
|
+
* Top-level keys expected in request body
|
|
136
|
+
*/
|
|
137
|
+
requestKeys: Array<string> | null;
|
|
138
|
+
/**
|
|
139
|
+
* Top-level keys returned in response body
|
|
140
|
+
*/
|
|
141
|
+
responseKeys: Array<string> | null;
|
|
142
|
+
/**
|
|
143
|
+
* Agent status
|
|
144
|
+
*/
|
|
145
|
+
status: 'active' | 'inactive';
|
|
146
|
+
/**
|
|
147
|
+
* Agent type: "managed" for UI-created, "{language}" for custom agents (e.g.,
|
|
148
|
+
* "python"), or "{language}-{adapter}" for adapter-based (e.g.,
|
|
149
|
+
* "python-langchain")
|
|
150
|
+
*/
|
|
151
|
+
type: string;
|
|
152
|
+
/**
|
|
153
|
+
* Last update timestamp
|
|
154
|
+
*/
|
|
155
|
+
updatedAt: string;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace Agent {
|
|
158
|
+
/**
|
|
159
|
+
* JSON Schema for agent input parameters
|
|
160
|
+
*/
|
|
161
|
+
interface Output {
|
|
162
|
+
type: string;
|
|
163
|
+
properties?: {
|
|
164
|
+
[key: string]: unknown;
|
|
165
|
+
};
|
|
166
|
+
required?: Array<string>;
|
|
167
|
+
[k: string]: unknown;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* JSON Schema for agent input parameters
|
|
171
|
+
*/
|
|
172
|
+
interface Parameters {
|
|
173
|
+
type: string;
|
|
174
|
+
properties?: {
|
|
175
|
+
[key: string]: unknown;
|
|
176
|
+
};
|
|
177
|
+
required?: Array<string>;
|
|
178
|
+
[k: string]: unknown;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Agent configuration (for managed agents)
|
|
183
|
+
*/
|
|
184
|
+
export interface AgentConfig {
|
|
185
|
+
/**
|
|
186
|
+
* Model identifier (e.g., "gpt-4o", "claude-sonnet-4-20250514")
|
|
187
|
+
*/
|
|
188
|
+
model: string;
|
|
189
|
+
/**
|
|
190
|
+
* LLM provider
|
|
191
|
+
*/
|
|
192
|
+
provider: 'openai' | 'anthropic';
|
|
193
|
+
/**
|
|
194
|
+
* System prompt for the agent
|
|
195
|
+
*/
|
|
196
|
+
systemPrompt: string;
|
|
197
|
+
/**
|
|
198
|
+
* List of tools available to the agent
|
|
199
|
+
*/
|
|
200
|
+
tools: Array<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Maximum tool call iterations
|
|
203
|
+
*/
|
|
204
|
+
maxIterations?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Whether to require approval for tool calls
|
|
207
|
+
*/
|
|
208
|
+
requireApproval?: boolean;
|
|
87
209
|
}
|
|
88
210
|
export interface ChatMessage {
|
|
89
211
|
/**
|
|
90
|
-
* Message content. Can be string, array (multimodal),
|
|
212
|
+
* Message content. Can be string, array (multimodal), object (tool), or null (when
|
|
213
|
+
* tool_calls present).
|
|
91
214
|
*/
|
|
92
215
|
content: string | Array<ChatMessage.MultimodalContent> | {
|
|
93
216
|
[key: string]: unknown;
|
|
94
|
-
};
|
|
217
|
+
} | null;
|
|
95
218
|
/**
|
|
96
219
|
* Message role
|
|
97
220
|
*/
|
|
@@ -101,9 +224,13 @@ export interface ChatMessage {
|
|
|
101
224
|
*/
|
|
102
225
|
name?: string;
|
|
103
226
|
/**
|
|
104
|
-
* Tool call ID (for tool role)
|
|
227
|
+
* Tool call ID (for tool role messages)
|
|
105
228
|
*/
|
|
106
229
|
tool_call_id?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Tool calls requested by assistant (for assistant role messages)
|
|
232
|
+
*/
|
|
233
|
+
tool_calls?: Array<ChatMessage.ToolCall>;
|
|
107
234
|
}
|
|
108
235
|
export declare namespace ChatMessage {
|
|
109
236
|
interface MultimodalContent {
|
|
@@ -116,113 +243,142 @@ export declare namespace ChatMessage {
|
|
|
116
243
|
url: string;
|
|
117
244
|
}
|
|
118
245
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
*/
|
|
131
|
-
custom?: {
|
|
132
|
-
[key: string]: unknown;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* ID of the user making the request
|
|
136
|
-
*/
|
|
137
|
-
user_id?: string;
|
|
246
|
+
interface ToolCall {
|
|
247
|
+
id: string;
|
|
248
|
+
function: ToolCall.Function;
|
|
249
|
+
type: 'function';
|
|
250
|
+
}
|
|
251
|
+
namespace ToolCall {
|
|
252
|
+
interface Function {
|
|
253
|
+
arguments: string;
|
|
254
|
+
name: string;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
138
257
|
}
|
|
139
258
|
export interface StreamChunk {
|
|
140
259
|
/**
|
|
141
260
|
* Text chunk from the stream
|
|
142
261
|
*/
|
|
143
262
|
chunk: string;
|
|
263
|
+
[k: string]: unknown;
|
|
144
264
|
}
|
|
145
265
|
export interface AgentChatResponse {
|
|
146
266
|
/**
|
|
147
|
-
*
|
|
267
|
+
* Array of assistant response messages
|
|
148
268
|
*/
|
|
149
269
|
messages: Array<ChatMessage>;
|
|
150
270
|
/**
|
|
151
|
-
*
|
|
271
|
+
* Conversation ID (present when conversation persistence is enabled)
|
|
152
272
|
*/
|
|
153
|
-
|
|
273
|
+
conversation_id?: string;
|
|
154
274
|
}
|
|
155
|
-
|
|
275
|
+
/**
|
|
276
|
+
* Response with dynamic keys based on agent configuration. Regular agents return {
|
|
277
|
+
* output: ... }, chat agents return { messages: [...] }.
|
|
278
|
+
*/
|
|
279
|
+
export type AgentInvokeResponse = {
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
};
|
|
282
|
+
export interface AgentListParams extends CursorParams {
|
|
156
283
|
/**
|
|
157
|
-
*
|
|
284
|
+
* Filter by agent status
|
|
158
285
|
*/
|
|
159
|
-
|
|
286
|
+
status?: 'active' | 'inactive';
|
|
287
|
+
/**
|
|
288
|
+
* Filter by agent type (managed, python, typescript, python-langchain, etc.)
|
|
289
|
+
*/
|
|
290
|
+
type?: string;
|
|
160
291
|
}
|
|
161
292
|
export type AgentChatParams = AgentChatParamsNonStreaming | AgentChatParamsStreaming;
|
|
162
293
|
export interface AgentChatParamsBase {
|
|
163
294
|
/**
|
|
164
|
-
*
|
|
295
|
+
* Array of chat messages
|
|
165
296
|
*/
|
|
166
297
|
messages: Array<ChatMessage>;
|
|
167
298
|
/**
|
|
168
|
-
* Optional
|
|
299
|
+
* Optional context for the agent execution
|
|
300
|
+
*/
|
|
301
|
+
context?: AgentChatParams.Context;
|
|
302
|
+
/**
|
|
303
|
+
* Conversation ID to continue an existing conversation
|
|
169
304
|
*/
|
|
170
|
-
|
|
305
|
+
conversation_id?: string;
|
|
171
306
|
/**
|
|
172
|
-
*
|
|
307
|
+
* Enable streaming response
|
|
173
308
|
*/
|
|
174
309
|
stream?: boolean;
|
|
175
310
|
}
|
|
176
311
|
export declare namespace AgentChatParams {
|
|
312
|
+
/**
|
|
313
|
+
* Optional context for the agent execution
|
|
314
|
+
*/
|
|
315
|
+
interface Context {
|
|
316
|
+
/**
|
|
317
|
+
* Identity fields for conversation scoping (e.g., user_id, tenant_id)
|
|
318
|
+
*/
|
|
319
|
+
identity?: {
|
|
320
|
+
[key: string]: unknown;
|
|
321
|
+
};
|
|
322
|
+
[k: string]: unknown;
|
|
323
|
+
}
|
|
177
324
|
type AgentChatParamsNonStreaming = AgentsAPI.AgentChatParamsNonStreaming;
|
|
178
325
|
type AgentChatParamsStreaming = AgentsAPI.AgentChatParamsStreaming;
|
|
179
326
|
}
|
|
180
327
|
export interface AgentChatParamsNonStreaming extends AgentChatParamsBase {
|
|
181
328
|
/**
|
|
182
|
-
*
|
|
329
|
+
* Enable streaming response
|
|
183
330
|
*/
|
|
184
331
|
stream?: false;
|
|
185
332
|
}
|
|
186
333
|
export interface AgentChatParamsStreaming extends AgentChatParamsBase {
|
|
187
334
|
/**
|
|
188
|
-
*
|
|
335
|
+
* Enable streaming response
|
|
189
336
|
*/
|
|
190
337
|
stream: true;
|
|
191
338
|
}
|
|
192
339
|
export type AgentInvokeParams = AgentInvokeParamsNonStreaming | AgentInvokeParamsStreaming;
|
|
193
340
|
export interface AgentInvokeParamsBase {
|
|
194
341
|
/**
|
|
195
|
-
*
|
|
342
|
+
* Optional context for the agent execution
|
|
196
343
|
*/
|
|
197
|
-
|
|
198
|
-
[key: string]: unknown;
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* Optional request context passed to the agent handler.
|
|
202
|
-
*/
|
|
203
|
-
context?: Context;
|
|
344
|
+
context?: AgentInvokeParams.Context;
|
|
204
345
|
/**
|
|
205
|
-
*
|
|
346
|
+
* Enable streaming response (SSE)
|
|
206
347
|
*/
|
|
207
348
|
stream?: boolean;
|
|
349
|
+
[k: string]: unknown;
|
|
208
350
|
}
|
|
209
351
|
export declare namespace AgentInvokeParams {
|
|
352
|
+
/**
|
|
353
|
+
* Optional context for the agent execution
|
|
354
|
+
*/
|
|
355
|
+
interface Context {
|
|
356
|
+
/**
|
|
357
|
+
* Identity fields for conversation scoping (e.g., user_id, tenant_id)
|
|
358
|
+
*/
|
|
359
|
+
identity?: {
|
|
360
|
+
[key: string]: unknown;
|
|
361
|
+
};
|
|
362
|
+
[k: string]: unknown;
|
|
363
|
+
}
|
|
210
364
|
type AgentInvokeParamsNonStreaming = AgentsAPI.AgentInvokeParamsNonStreaming;
|
|
211
365
|
type AgentInvokeParamsStreaming = AgentsAPI.AgentInvokeParamsStreaming;
|
|
212
366
|
}
|
|
213
367
|
export interface AgentInvokeParamsNonStreaming extends AgentInvokeParamsBase {
|
|
214
368
|
/**
|
|
215
|
-
*
|
|
369
|
+
* Enable streaming response (SSE)
|
|
216
370
|
*/
|
|
217
371
|
stream?: false;
|
|
372
|
+
[k: string]: unknown;
|
|
218
373
|
}
|
|
219
374
|
export interface AgentInvokeParamsStreaming extends AgentInvokeParamsBase {
|
|
220
375
|
/**
|
|
221
|
-
*
|
|
376
|
+
* Enable streaming response (SSE)
|
|
222
377
|
*/
|
|
223
378
|
stream: true;
|
|
379
|
+
[k: string]: unknown;
|
|
224
380
|
}
|
|
225
381
|
export declare namespace Agents {
|
|
226
|
-
export { type
|
|
382
|
+
export { type Agent as Agent, type AgentConfig as AgentConfig, type ChatMessage as ChatMessage, type StreamChunk as StreamChunk, type AgentChatResponse as AgentChatResponse, type AgentInvokeResponse as AgentInvokeResponse, type AgentsCursor as AgentsCursor, type AgentListParams as AgentListParams, type AgentChatParams as AgentChatParams, type AgentChatParamsNonStreaming as AgentChatParamsNonStreaming, type AgentChatParamsStreaming as AgentChatParamsStreaming, type AgentInvokeParams as AgentInvokeParams, type AgentInvokeParamsNonStreaming as AgentInvokeParamsNonStreaming, type AgentInvokeParamsStreaming as AgentInvokeParamsStreaming, };
|
|
227
383
|
}
|
|
228
384
|
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAA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AE,MAAM,GAAG,OAAO,CAAC;KACtB;IAED,KAAY,6BAA6B,GAAG,SAAS,CAAC,6BAA6B,CAAC;IACpF,KAAY,0BAA0B,GAAG,SAAS,CAAC,0BAA0B,CAAC;CAC/E;AAED,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;IAC1E;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IAEf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,0BAA2B,SAAQ,qBAAqB;IACvE;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC;IAEb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
package/resources/agents.js
CHANGED
|
@@ -3,8 +3,34 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Agents = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
6
7
|
const path_1 = require("../internal/utils/path.js");
|
|
7
8
|
class Agents extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get details of a specific agent by name.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const agent = await client.agents.retrieve('x');
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
retrieve(name, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/agents/${name}`, options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* List all agents in the project with optional filtering by type and status.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* // Automatically fetches more pages as needed.
|
|
26
|
+
* for await (const agent of client.agents.list()) {
|
|
27
|
+
* // ...
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
list(query = {}, options) {
|
|
32
|
+
return this._client.getAPIList('/agents', (pagination_1.Cursor), { query, ...options });
|
|
33
|
+
}
|
|
8
34
|
chat(name, body, options) {
|
|
9
35
|
return this._client.post((0, path_1.path) `/agents/${name}/chat`, {
|
|
10
36
|
body,
|
|
@@ -12,11 +38,11 @@ class Agents extends resource_1.APIResource {
|
|
|
12
38
|
stream: body.stream ?? false,
|
|
13
39
|
});
|
|
14
40
|
}
|
|
15
|
-
invoke(name, body, options) {
|
|
41
|
+
invoke(name, body = {}, options) {
|
|
16
42
|
return this._client.post((0, path_1.path) `/agents/${name}/invoke`, {
|
|
17
43
|
body,
|
|
18
44
|
...options,
|
|
19
|
-
stream: body
|
|
45
|
+
stream: body?.stream ?? false,
|
|
20
46
|
});
|
|
21
47
|
}
|
|
22
48
|
}
|
package/resources/agents.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAA4E;AAG5E,oDAA8C;AAE9C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,mBAAa,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAuCD,IAAI,CACF,IAAY,EACZ,IAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,OAAO,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK;SAC7B,CAAoE,CAAC;IACxE,CAAC;IA2CD,MAAM,CACJ,IAAY,EACZ,OAAsC,EAAE,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,SAAS,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK;SAC9B,CAAsE,CAAC;IAC1E,CAAC;CACF;AApID,wBAoIC"}
|
package/resources/agents.mjs
CHANGED
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { Cursor } from "../core/pagination.mjs";
|
|
3
4
|
import { path } from "../internal/utils/path.mjs";
|
|
4
5
|
export class Agents extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get details of a specific agent by name.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const agent = await client.agents.retrieve('x');
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
retrieve(name, options) {
|
|
15
|
+
return this._client.get(path `/agents/${name}`, options);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* List all agents in the project with optional filtering by type and status.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Automatically fetches more pages as needed.
|
|
23
|
+
* for await (const agent of client.agents.list()) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(query = {}, options) {
|
|
29
|
+
return this._client.getAPIList('/agents', (Cursor), { query, ...options });
|
|
30
|
+
}
|
|
5
31
|
chat(name, body, options) {
|
|
6
32
|
return this._client.post(path `/agents/${name}/chat`, {
|
|
7
33
|
body,
|
|
@@ -9,11 +35,11 @@ export class Agents extends APIResource {
|
|
|
9
35
|
stream: body.stream ?? false,
|
|
10
36
|
});
|
|
11
37
|
}
|
|
12
|
-
invoke(name, body, options) {
|
|
38
|
+
invoke(name, body = {}, options) {
|
|
13
39
|
return this._client.post(path `/agents/${name}/invoke`, {
|
|
14
40
|
body,
|
|
15
41
|
...options,
|
|
16
|
-
stream: body
|
|
42
|
+
stream: body?.stream ?? false,
|
|
17
43
|
});
|
|
18
44
|
}
|
|
19
45
|
}
|
package/resources/agents.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,MAAM,EAAkC;OAG1C,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,MAAa,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAuCD,IAAI,CACF,IAAY,EACZ,IAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,IAAI,OAAO,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK;SAC7B,CAAoE,CAAC;IACxE,CAAC;IA2CD,MAAM,CACJ,IAAY,EACZ,OAAsC,EAAE,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,IAAI,SAAS,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK;SAC9B,CAAsE,CAAC;IAC1E,CAAC;CACF"}
|