@agentstep/agent-sdk 0.5.34 → 0.5.35
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/dist/{chunk-OANORRFX.js → chunk-IYE5USSW.js} +144 -8
- package/dist/chunk-QZE37OGX.js +164 -0
- package/dist/chunk-X7UWCDYG.js +99 -0
- package/dist/handlers/google-compat/agents.js +106 -0
- package/dist/handlers/google-compat/files.js +101 -0
- package/dist/handlers/google-compat/index.js +25 -4
- package/dist/handlers/google-compat/interactions.js +9 -3
- package/dist/handlers/index.js +23 -3
- package/package.json +1 -1
- /package/dist/{chunk-B5RR422E.js → chunk-DI6IMZ3P.js} +0 -0
|
@@ -70,11 +70,15 @@ function handleCreateInteraction(request) {
|
|
|
70
70
|
agentId = "";
|
|
71
71
|
environmentId = prev.environment_id ?? void 0;
|
|
72
72
|
const sessionId2 = prev.session_id;
|
|
73
|
+
const { listEvents: listEventsForSeq } = await import("./db/events.js");
|
|
74
|
+
const lastEvents = listEventsForSeq(sessionId2, { limit: 1, order: "desc" });
|
|
75
|
+
const afterSeq = lastEvents.length > 0 ? lastEvents[0].seq : 0;
|
|
76
|
+
const functionResultEvents = buildFunctionResultEvents(data.input);
|
|
73
77
|
const eventsReq2 = new Request(request.url.replace(/\/google\/v1beta\/interactions.*/, `/v1/sessions/${sessionId2}/events`), {
|
|
74
78
|
method: "POST",
|
|
75
79
|
headers: request.headers,
|
|
76
80
|
body: JSON.stringify({
|
|
77
|
-
events: [{ type: "user.message", content: [{ type: "text", text: inputText }] }]
|
|
81
|
+
events: functionResultEvents.length > 0 ? functionResultEvents : [{ type: "user.message", content: [{ type: "text", text: inputText }] }]
|
|
78
82
|
})
|
|
79
83
|
});
|
|
80
84
|
const eventsRes2 = await handlePostEvents(eventsReq2, sessionId2);
|
|
@@ -82,7 +86,7 @@ function handleCreateInteraction(request) {
|
|
|
82
86
|
const err = await eventsRes2.json().catch(() => ({}));
|
|
83
87
|
throw badRequest(err.error?.message || `failed to send message: ${eventsRes2.status}`);
|
|
84
88
|
}
|
|
85
|
-
const result2 = await waitForCompletion(sessionId2);
|
|
89
|
+
const result2 = await waitForCompletion(sessionId2, afterSeq);
|
|
86
90
|
const interactionId2 = `int_${newId("sesn").slice(5)}`;
|
|
87
91
|
const prevSeq = db2.prepare(
|
|
88
92
|
`SELECT MAX(seq) as maxSeq FROM google_interactions WHERE session_id = ?`
|
|
@@ -176,9 +180,135 @@ function handleCreateInteraction(request) {
|
|
|
176
180
|
return jsonOk(buildResponse(interactionId, result, environmentId));
|
|
177
181
|
});
|
|
178
182
|
}
|
|
179
|
-
|
|
183
|
+
function handleGetInteraction(request, id) {
|
|
184
|
+
return routeWrap(request, async () => {
|
|
185
|
+
ensureTable();
|
|
186
|
+
const db = getDb();
|
|
187
|
+
const row = db.prepare(
|
|
188
|
+
`SELECT id, session_id, seq, status, environment_id, created_at FROM google_interactions WHERE id = ?`
|
|
189
|
+
).get(id);
|
|
190
|
+
if (!row) throw notFound(`interaction not found: ${id}`);
|
|
191
|
+
const { listEvents } = await import("./db/events.js");
|
|
192
|
+
const { rowToManagedEvent } = await import("./db/events.js");
|
|
193
|
+
const eventRows = listEvents(row.session_id, { limit: 500, order: "asc" });
|
|
194
|
+
const steps = [];
|
|
195
|
+
let inputTokens = 0;
|
|
196
|
+
let outputTokens = 0;
|
|
197
|
+
for (const eventRow of eventRows) {
|
|
198
|
+
const event = rowToManagedEvent(eventRow);
|
|
199
|
+
if (event.type === "agent.message") {
|
|
200
|
+
const content = event.content;
|
|
201
|
+
const text = content?.filter((c) => c.type === "text").map((c) => c.text).join("") ?? "";
|
|
202
|
+
if (text) {
|
|
203
|
+
steps.push({ type: "model_output", content: [{ type: "text", text }] });
|
|
204
|
+
}
|
|
205
|
+
} else if (event.type === "agent.tool_use") {
|
|
206
|
+
steps.push({
|
|
207
|
+
type: "function_call",
|
|
208
|
+
id: event.tool_use_id ?? "",
|
|
209
|
+
name: event.name ?? "",
|
|
210
|
+
arguments: event.input ?? {}
|
|
211
|
+
});
|
|
212
|
+
} else if (event.type === "agent.tool_result") {
|
|
213
|
+
steps.push({
|
|
214
|
+
type: "code_execution_result",
|
|
215
|
+
call_id: event.tool_use_id ?? "",
|
|
216
|
+
result: JSON.stringify(event.content ?? "")
|
|
217
|
+
});
|
|
218
|
+
} else if (event.type === "agent.custom_tool_use") {
|
|
219
|
+
steps.push({
|
|
220
|
+
type: "function_call",
|
|
221
|
+
id: event.tool_use_id ?? "",
|
|
222
|
+
name: event.name ?? "",
|
|
223
|
+
arguments: event.input ?? {}
|
|
224
|
+
});
|
|
225
|
+
} else if (event.type === "span.model_request_end") {
|
|
226
|
+
const mu = event.model_usage;
|
|
227
|
+
inputTokens += mu?.input_tokens ?? 0;
|
|
228
|
+
outputTokens += mu?.output_tokens ?? 0;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const response = {
|
|
232
|
+
id: row.id,
|
|
233
|
+
created: row.created_at,
|
|
234
|
+
updated: row.created_at,
|
|
235
|
+
status: row.status,
|
|
236
|
+
steps,
|
|
237
|
+
usage: { total_input_tokens: inputTokens, total_output_tokens: outputTokens, total_tokens: inputTokens + outputTokens },
|
|
238
|
+
environment_id: row.environment_id ?? void 0
|
|
239
|
+
};
|
|
240
|
+
return jsonOk(response);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function handleDeleteInteraction(request, id) {
|
|
244
|
+
return routeWrap(request, async () => {
|
|
245
|
+
ensureTable();
|
|
246
|
+
const db = getDb();
|
|
247
|
+
const row = db.prepare(
|
|
248
|
+
`SELECT id, session_id FROM google_interactions WHERE id = ?`
|
|
249
|
+
).get(id);
|
|
250
|
+
if (!row) throw notFound(`interaction not found: ${id}`);
|
|
251
|
+
db.prepare(`DELETE FROM google_interactions WHERE id = ?`).run(id);
|
|
252
|
+
const { handleDeleteSession } = await import("./handlers/sessions.js");
|
|
253
|
+
const sessReq = new Request(request.url.replace(/\/google\/v1beta\/interactions.*/, `/v1/sessions/${row.session_id}`), {
|
|
254
|
+
method: "DELETE",
|
|
255
|
+
headers: request.headers
|
|
256
|
+
});
|
|
257
|
+
await handleDeleteSession(sessReq, row.session_id).catch(() => {
|
|
258
|
+
});
|
|
259
|
+
return jsonOk({ id, deleted: true });
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
function handleCancelInteraction(request, id) {
|
|
263
|
+
return routeWrap(request, async () => {
|
|
264
|
+
ensureTable();
|
|
265
|
+
const db = getDb();
|
|
266
|
+
const row = db.prepare(
|
|
267
|
+
`SELECT id, session_id, seq, status, environment_id, created_at FROM google_interactions WHERE id = ?`
|
|
268
|
+
).get(id);
|
|
269
|
+
if (!row) throw notFound(`interaction not found: ${id}`);
|
|
270
|
+
const { handlePostEvents } = await import("./handlers/events.js");
|
|
271
|
+
const eventsReq = new Request(request.url.replace(/\/google\/v1beta\/interactions.*/, `/v1/sessions/${row.session_id}/events`), {
|
|
272
|
+
method: "POST",
|
|
273
|
+
headers: request.headers,
|
|
274
|
+
body: JSON.stringify({
|
|
275
|
+
events: [{ type: "user.interrupt" }]
|
|
276
|
+
})
|
|
277
|
+
});
|
|
278
|
+
await handlePostEvents(eventsReq, row.session_id).catch(() => {
|
|
279
|
+
});
|
|
280
|
+
db.prepare(`UPDATE google_interactions SET status = 'cancelled' WHERE id = ?`).run(id);
|
|
281
|
+
const response = {
|
|
282
|
+
id: row.id,
|
|
283
|
+
created: row.created_at,
|
|
284
|
+
updated: (/* @__PURE__ */ new Date()).toISOString(),
|
|
285
|
+
status: "cancelled",
|
|
286
|
+
steps: [],
|
|
287
|
+
usage: { total_input_tokens: 0, total_output_tokens: 0, total_tokens: 0 },
|
|
288
|
+
environment_id: row.environment_id ?? void 0
|
|
289
|
+
};
|
|
290
|
+
return jsonOk(response);
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
function buildFunctionResultEvents(input) {
|
|
294
|
+
if (typeof input === "string") return [];
|
|
295
|
+
if (!Array.isArray(input)) return [];
|
|
296
|
+
const results = [];
|
|
297
|
+
for (const item of input) {
|
|
298
|
+
if (item && typeof item === "object" && item.type === "function_result") {
|
|
299
|
+
const callId = item.call_id ?? item.id ?? "";
|
|
300
|
+
const resultText = item.result ?? item.output ?? "";
|
|
301
|
+
results.push({
|
|
302
|
+
type: "user.custom_tool_result",
|
|
303
|
+
custom_tool_use_id: callId,
|
|
304
|
+
content: [{ type: "text", text: typeof resultText === "string" ? resultText : JSON.stringify(resultText) }]
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return results;
|
|
309
|
+
}
|
|
310
|
+
async function waitForCompletion(sessionId, afterSeq = 0) {
|
|
180
311
|
const { subscribe } = await import("./sessions/bus.js");
|
|
181
|
-
const { listEvents } = await import("./db/events.js");
|
|
182
312
|
return new Promise((resolve) => {
|
|
183
313
|
const steps = [];
|
|
184
314
|
let outputText = "";
|
|
@@ -186,10 +316,11 @@ async function waitForCompletion(sessionId) {
|
|
|
186
316
|
let outputTokens = 0;
|
|
187
317
|
let status = "completed";
|
|
188
318
|
let resolved = false;
|
|
319
|
+
let subscription = null;
|
|
189
320
|
const timeout = setTimeout(() => {
|
|
190
321
|
if (resolved) return;
|
|
191
322
|
resolved = true;
|
|
192
|
-
|
|
323
|
+
subscription?.unsubscribe();
|
|
193
324
|
resolve({
|
|
194
325
|
status: "failed",
|
|
195
326
|
steps,
|
|
@@ -201,7 +332,7 @@ async function waitForCompletion(sessionId) {
|
|
|
201
332
|
if (resolved) return;
|
|
202
333
|
resolved = true;
|
|
203
334
|
clearTimeout(timeout);
|
|
204
|
-
|
|
335
|
+
subscription?.unsubscribe();
|
|
205
336
|
resolve({
|
|
206
337
|
status,
|
|
207
338
|
steps,
|
|
@@ -252,9 +383,11 @@ async function waitForCompletion(sessionId) {
|
|
|
252
383
|
status = "failed";
|
|
253
384
|
}
|
|
254
385
|
}
|
|
255
|
-
const sub = subscribe(sessionId,
|
|
386
|
+
const sub = subscribe(sessionId, afterSeq, handleEvent);
|
|
387
|
+
subscription = sub;
|
|
256
388
|
if (resolved) {
|
|
257
389
|
clearTimeout(timeout);
|
|
390
|
+
sub.unsubscribe();
|
|
258
391
|
}
|
|
259
392
|
});
|
|
260
393
|
}
|
|
@@ -272,5 +405,8 @@ function buildResponse(id, result, environmentId) {
|
|
|
272
405
|
}
|
|
273
406
|
|
|
274
407
|
export {
|
|
275
|
-
handleCreateInteraction
|
|
408
|
+
handleCreateInteraction,
|
|
409
|
+
handleGetInteraction,
|
|
410
|
+
handleDeleteInteraction,
|
|
411
|
+
handleCancelInteraction
|
|
276
412
|
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import {
|
|
2
|
+
jsonOk,
|
|
3
|
+
routeWrap
|
|
4
|
+
} from "./chunk-4EKHW6VS.js";
|
|
5
|
+
import {
|
|
6
|
+
badRequest,
|
|
7
|
+
notFound
|
|
8
|
+
} from "./chunk-EZYKRG4W.js";
|
|
9
|
+
|
|
10
|
+
// src/handlers/google-compat/agents.ts
|
|
11
|
+
import { z } from "zod";
|
|
12
|
+
var SourceSchema = z.object({
|
|
13
|
+
type: z.string().optional(),
|
|
14
|
+
target: z.string().optional(),
|
|
15
|
+
content: z.string().optional(),
|
|
16
|
+
url: z.string().optional()
|
|
17
|
+
}).passthrough();
|
|
18
|
+
var BaseEnvironmentSchema = z.object({
|
|
19
|
+
type: z.string().optional(),
|
|
20
|
+
sources: z.array(SourceSchema).optional()
|
|
21
|
+
}).passthrough();
|
|
22
|
+
var CreateGoogleAgentSchema = z.object({
|
|
23
|
+
id: z.string().optional(),
|
|
24
|
+
description: z.string().optional(),
|
|
25
|
+
base_agent: z.string().optional(),
|
|
26
|
+
system_instruction: z.string().optional(),
|
|
27
|
+
tools: z.array(z.unknown()).optional(),
|
|
28
|
+
base_environment: BaseEnvironmentSchema.optional()
|
|
29
|
+
});
|
|
30
|
+
function resolveBaseAgent(baseAgent) {
|
|
31
|
+
if (!baseAgent) return { engine: "gemini", model: "gemini-2.5-flash" };
|
|
32
|
+
if (baseAgent === "antigravity-preview-05-2026") {
|
|
33
|
+
return { engine: "gemini", model: "gemini-2.5-flash" };
|
|
34
|
+
}
|
|
35
|
+
return { engine: "gemini", model: baseAgent };
|
|
36
|
+
}
|
|
37
|
+
function toGoogleFormat(agent) {
|
|
38
|
+
return {
|
|
39
|
+
id: agent.name,
|
|
40
|
+
base_agent: agent.engine === "gemini" ? "antigravity-preview-05-2026" : void 0,
|
|
41
|
+
system_instruction: agent.system ?? void 0,
|
|
42
|
+
description: agent.description ?? void 0,
|
|
43
|
+
created: agent.created_at ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
44
|
+
updated: agent.updated_at ?? agent.created_at ?? (/* @__PURE__ */ new Date()).toISOString()
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function handleCreateGoogleAgent(request) {
|
|
48
|
+
return routeWrap(request, async () => {
|
|
49
|
+
const body = await request.json().catch(() => null);
|
|
50
|
+
const parsed = CreateGoogleAgentSchema.safeParse(body);
|
|
51
|
+
if (!parsed.success) {
|
|
52
|
+
throw badRequest(`invalid body: ${parsed.error.issues.map((i) => i.message).join("; ")}`);
|
|
53
|
+
}
|
|
54
|
+
const data = parsed.data;
|
|
55
|
+
const { engine, model } = resolveBaseAgent(data.base_agent);
|
|
56
|
+
let systemInstruction = data.system_instruction ?? "";
|
|
57
|
+
const skills = [];
|
|
58
|
+
if (data.base_environment?.sources) {
|
|
59
|
+
for (const source of data.base_environment.sources) {
|
|
60
|
+
const target = source.target ?? "";
|
|
61
|
+
const skillMatch = target.match(/\.agents\/skills\/([^/]+)\/SKILL\.md$/);
|
|
62
|
+
if (skillMatch && source.content) {
|
|
63
|
+
skills.push({
|
|
64
|
+
name: skillMatch[1],
|
|
65
|
+
source: "inline",
|
|
66
|
+
content: source.content
|
|
67
|
+
});
|
|
68
|
+
} else if (target.endsWith(".agents/AGENTS.md") && source.content) {
|
|
69
|
+
if (systemInstruction) systemInstruction += "\n\n";
|
|
70
|
+
systemInstruction += source.content;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const agentName = data.id || `google-agent-${Date.now()}`;
|
|
75
|
+
const { handleCreateAgent } = await import("./handlers/agents.js");
|
|
76
|
+
const createBody = {
|
|
77
|
+
name: agentName,
|
|
78
|
+
model: { id: model },
|
|
79
|
+
engine
|
|
80
|
+
};
|
|
81
|
+
if (systemInstruction) createBody.system = systemInstruction;
|
|
82
|
+
if (data.description) createBody.description = data.description;
|
|
83
|
+
if (skills.length > 0) createBody.skills = skills;
|
|
84
|
+
const createReq = new Request(request.url.replace(/\/google\/v1beta\/agents.*/, `/v1/agents`), {
|
|
85
|
+
method: "POST",
|
|
86
|
+
headers: request.headers,
|
|
87
|
+
body: JSON.stringify(createBody)
|
|
88
|
+
});
|
|
89
|
+
const createRes = await handleCreateAgent(createReq);
|
|
90
|
+
if (!createRes.ok) {
|
|
91
|
+
const err = await createRes.json().catch(() => ({}));
|
|
92
|
+
throw badRequest(err.error?.message || `failed to create agent: ${createRes.status}`);
|
|
93
|
+
}
|
|
94
|
+
const created = await createRes.json();
|
|
95
|
+
const response = {
|
|
96
|
+
id: created.name ?? agentName,
|
|
97
|
+
base_agent: data.base_agent,
|
|
98
|
+
system_instruction: systemInstruction || void 0,
|
|
99
|
+
description: data.description,
|
|
100
|
+
created: created.created_at ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
101
|
+
updated: created.updated_at ?? created.created_at ?? (/* @__PURE__ */ new Date()).toISOString()
|
|
102
|
+
};
|
|
103
|
+
return jsonOk(response, 201);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
function handleListGoogleAgents(request) {
|
|
107
|
+
return routeWrap(request, async () => {
|
|
108
|
+
const { handleListAgents } = await import("./handlers/agents.js");
|
|
109
|
+
const listReq = new Request(request.url.replace(/\/google\/v1beta\/agents.*/, `/v1/agents?limit=1000`), {
|
|
110
|
+
headers: request.headers
|
|
111
|
+
});
|
|
112
|
+
const listRes = await handleListAgents(listReq);
|
|
113
|
+
if (!listRes.ok) {
|
|
114
|
+
return listRes;
|
|
115
|
+
}
|
|
116
|
+
const listBody = await listRes.json();
|
|
117
|
+
const agents = (listBody.data ?? []).map(toGoogleFormat);
|
|
118
|
+
return jsonOk({ agents });
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function handleGetGoogleAgent(request, id) {
|
|
122
|
+
return routeWrap(request, async () => {
|
|
123
|
+
const { handleListAgents } = await import("./handlers/agents.js");
|
|
124
|
+
const listReq = new Request(request.url.replace(/\/google\/v1beta\/agents.*/, `/v1/agents?limit=1000`), {
|
|
125
|
+
headers: request.headers
|
|
126
|
+
});
|
|
127
|
+
const listRes = await handleListAgents(listReq);
|
|
128
|
+
if (!listRes.ok) {
|
|
129
|
+
return listRes;
|
|
130
|
+
}
|
|
131
|
+
const listBody = await listRes.json();
|
|
132
|
+
const agent = listBody.data?.find((a) => a.name === id);
|
|
133
|
+
if (!agent) throw notFound(`agent not found: ${id}`);
|
|
134
|
+
return jsonOk(toGoogleFormat(agent));
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
function handleDeleteGoogleAgent(request, id) {
|
|
138
|
+
return routeWrap(request, async () => {
|
|
139
|
+
const { handleListAgents, handleDeleteAgent } = await import("./handlers/agents.js");
|
|
140
|
+
const listReq = new Request(request.url.replace(/\/google\/v1beta\/agents.*/, `/v1/agents?limit=1000`), {
|
|
141
|
+
headers: request.headers
|
|
142
|
+
});
|
|
143
|
+
const listRes = await handleListAgents(listReq);
|
|
144
|
+
if (!listRes.ok) {
|
|
145
|
+
return listRes;
|
|
146
|
+
}
|
|
147
|
+
const listBody = await listRes.json();
|
|
148
|
+
const agent = listBody.data?.find((a) => a.name === id);
|
|
149
|
+
if (!agent) throw notFound(`agent not found: ${id}`);
|
|
150
|
+
const delReq = new Request(request.url.replace(/\/google\/v1beta\/agents.*/, `/v1/agents/${agent.id}`), {
|
|
151
|
+
method: "DELETE",
|
|
152
|
+
headers: request.headers
|
|
153
|
+
});
|
|
154
|
+
await handleDeleteAgent(delReq, agent.id);
|
|
155
|
+
return jsonOk({});
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export {
|
|
160
|
+
handleCreateGoogleAgent,
|
|
161
|
+
handleListGoogleAgents,
|
|
162
|
+
handleGetGoogleAgent,
|
|
163
|
+
handleDeleteGoogleAgent
|
|
164
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readFile
|
|
3
|
+
} from "./chunk-STPT3SWU.js";
|
|
4
|
+
import {
|
|
5
|
+
routeWrap
|
|
6
|
+
} from "./chunk-4EKHW6VS.js";
|
|
7
|
+
import {
|
|
8
|
+
getDb,
|
|
9
|
+
init_client
|
|
10
|
+
} from "./chunk-AGIXZFHQ.js";
|
|
11
|
+
import {
|
|
12
|
+
badRequest,
|
|
13
|
+
notFound
|
|
14
|
+
} from "./chunk-EZYKRG4W.js";
|
|
15
|
+
|
|
16
|
+
// src/handlers/google-compat/files.ts
|
|
17
|
+
init_client();
|
|
18
|
+
function buildTarArchive(files) {
|
|
19
|
+
const blocks = [];
|
|
20
|
+
for (const file of files) {
|
|
21
|
+
const header = Buffer.alloc(512, 0);
|
|
22
|
+
const name = file.name.slice(0, 100);
|
|
23
|
+
header.write(name, 0, Math.min(name.length, 100), "utf8");
|
|
24
|
+
header.write("0000644\0", 100, 8, "utf8");
|
|
25
|
+
header.write("0000000\0", 108, 8, "utf8");
|
|
26
|
+
header.write("0000000\0", 116, 8, "utf8");
|
|
27
|
+
header.write(file.data.length.toString(8).padStart(11, "0") + "\0", 124, 12, "utf8");
|
|
28
|
+
const mtime = Math.floor(Date.now() / 1e3);
|
|
29
|
+
header.write(mtime.toString(8).padStart(11, "0") + "\0", 136, 12, "utf8");
|
|
30
|
+
header.write(" ", 148, 8, "utf8");
|
|
31
|
+
header.write("0", 156, 1, "utf8");
|
|
32
|
+
header.write("ustar\0", 257, 6, "utf8");
|
|
33
|
+
header.write("00", 263, 2, "utf8");
|
|
34
|
+
let checksum = 0;
|
|
35
|
+
for (let i = 0; i < 512; i++) {
|
|
36
|
+
checksum += header[i];
|
|
37
|
+
}
|
|
38
|
+
header.write(checksum.toString(8).padStart(6, "0") + "\0 ", 148, 8, "utf8");
|
|
39
|
+
blocks.push(header);
|
|
40
|
+
blocks.push(file.data);
|
|
41
|
+
const remainder = file.data.length % 512;
|
|
42
|
+
if (remainder > 0) {
|
|
43
|
+
blocks.push(Buffer.alloc(512 - remainder, 0));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
blocks.push(Buffer.alloc(1024, 0));
|
|
47
|
+
return Buffer.concat(blocks);
|
|
48
|
+
}
|
|
49
|
+
function handleGetEnvironmentFiles(request, fileRef) {
|
|
50
|
+
return routeWrap(request, async () => {
|
|
51
|
+
const match = fileRef.match(/^environment-(.+):download$/);
|
|
52
|
+
if (!match) {
|
|
53
|
+
throw badRequest("Invalid file reference format. Expected: environment-<envId>:download");
|
|
54
|
+
}
|
|
55
|
+
const envId = match[1];
|
|
56
|
+
const db = getDb();
|
|
57
|
+
const env = db.prepare(`SELECT id FROM environments WHERE id = ?`).get(envId);
|
|
58
|
+
if (!env) {
|
|
59
|
+
throw notFound(`environment not found: ${envId}`);
|
|
60
|
+
}
|
|
61
|
+
const sessions = db.prepare(
|
|
62
|
+
`SELECT id FROM sessions WHERE environment_id = ?`
|
|
63
|
+
).all(envId);
|
|
64
|
+
if (sessions.length === 0) {
|
|
65
|
+
const emptyTar = Buffer.alloc(1024, 0);
|
|
66
|
+
return new Response(emptyTar, {
|
|
67
|
+
headers: {
|
|
68
|
+
"Content-Type": "application/x-tar",
|
|
69
|
+
"Content-Length": String(emptyTar.length)
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
const sessionIds = sessions.map((s) => s.id);
|
|
74
|
+
const placeholders = sessionIds.map(() => "?").join(",");
|
|
75
|
+
const fileRows = db.prepare(
|
|
76
|
+
`SELECT * FROM files WHERE scope_type = 'session' AND scope_id IN (${placeholders})`
|
|
77
|
+
).all(...sessionIds);
|
|
78
|
+
const tarFiles = [];
|
|
79
|
+
for (const row of fileRows) {
|
|
80
|
+
if (row.storage_path.startsWith("remote:")) continue;
|
|
81
|
+
try {
|
|
82
|
+
const data = readFile(row.storage_path);
|
|
83
|
+
tarFiles.push({ name: row.filename, data });
|
|
84
|
+
} catch {
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const tar = buildTarArchive(tarFiles);
|
|
88
|
+
return new Response(tar, {
|
|
89
|
+
headers: {
|
|
90
|
+
"Content-Type": "application/x-tar",
|
|
91
|
+
"Content-Length": String(tar.length)
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
handleGetEnvironmentFiles
|
|
99
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handleCreateGoogleAgent,
|
|
3
|
+
handleDeleteGoogleAgent,
|
|
4
|
+
handleGetGoogleAgent,
|
|
5
|
+
handleListGoogleAgents
|
|
6
|
+
} from "../../chunk-QZE37OGX.js";
|
|
7
|
+
import "../../chunk-4EKHW6VS.js";
|
|
8
|
+
import "../../chunk-D2XITRN6.js";
|
|
9
|
+
import "../../chunk-CWB2DQN5.js";
|
|
10
|
+
import "../../chunk-JFHYXFAL.js";
|
|
11
|
+
import "../../chunk-W6WKXFHN.js";
|
|
12
|
+
import "../../chunk-HVUWXUUI.js";
|
|
13
|
+
import "../../chunk-P7V3S2T3.js";
|
|
14
|
+
import "../../chunk-KYKVHH7I.js";
|
|
15
|
+
import "../../chunk-PJZ5TQYW.js";
|
|
16
|
+
import "../../chunk-AU4NAQGA.js";
|
|
17
|
+
import "../../chunk-H6TQGV4L.js";
|
|
18
|
+
import "../../chunk-DBFPJSOY.js";
|
|
19
|
+
import "../../chunk-72BKGVBE.js";
|
|
20
|
+
import "../../chunk-VB6GGRIA.js";
|
|
21
|
+
import "../../chunk-B3W3E5CS.js";
|
|
22
|
+
import "../../chunk-J6ESQUW6.js";
|
|
23
|
+
import "../../chunk-2KF2TIEY.js";
|
|
24
|
+
import "../../chunk-YOZ6WDP3.js";
|
|
25
|
+
import "../../chunk-DZKBUOYU.js";
|
|
26
|
+
import "../../chunk-WK33IBKY.js";
|
|
27
|
+
import "../../chunk-3NUTTKE5.js";
|
|
28
|
+
import "../../chunk-3MQ2FWXS.js";
|
|
29
|
+
import "../../chunk-ZACPJA3G.js";
|
|
30
|
+
import "../../chunk-K3LM6O44.js";
|
|
31
|
+
import "../../chunk-LAWTTG2E.js";
|
|
32
|
+
import "../../chunk-ZCCHLDLC.js";
|
|
33
|
+
import "../../chunk-4XXQAVKE.js";
|
|
34
|
+
import "../../chunk-JNSJKHYX.js";
|
|
35
|
+
import "../../chunk-5ZFOKZGR.js";
|
|
36
|
+
import "../../chunk-RES4BCTF.js";
|
|
37
|
+
import "../../chunk-MUARVVXF.js";
|
|
38
|
+
import "../../chunk-ZC7OR65K.js";
|
|
39
|
+
import "../../chunk-GCT7A5KR.js";
|
|
40
|
+
import "../../chunk-AIBH32FN.js";
|
|
41
|
+
import "../../chunk-YPXI7Q2M.js";
|
|
42
|
+
import "../../chunk-OEFJPZYH.js";
|
|
43
|
+
import "../../chunk-XYNEAJDF.js";
|
|
44
|
+
import "../../chunk-EFOIR7R3.js";
|
|
45
|
+
import "../../chunk-XLMNSDUJ.js";
|
|
46
|
+
import "../../chunk-NSUVDKNC.js";
|
|
47
|
+
import "../../chunk-G7KUVNDY.js";
|
|
48
|
+
import "../../chunk-6U6HEVSN.js";
|
|
49
|
+
import "../../chunk-YTBVILAH.js";
|
|
50
|
+
import "../../chunk-V5RHOS43.js";
|
|
51
|
+
import "../../chunk-J7F2OFWQ.js";
|
|
52
|
+
import "../../chunk-B6E6BVNK.js";
|
|
53
|
+
import "../../chunk-6SD6MC2B.js";
|
|
54
|
+
import "../../chunk-T2PXAQND.js";
|
|
55
|
+
import "../../chunk-CMOU2OFW.js";
|
|
56
|
+
import "../../chunk-OGA7KDQZ.js";
|
|
57
|
+
import "../../chunk-A3FQHVUG.js";
|
|
58
|
+
import "../../chunk-KGOOCFQY.js";
|
|
59
|
+
import "../../chunk-PAQ2JFVD.js";
|
|
60
|
+
import "../../chunk-S3JRZFF5.js";
|
|
61
|
+
import "../../chunk-PZ5EGY64.js";
|
|
62
|
+
import "../../chunk-REHIJQUD.js";
|
|
63
|
+
import "../../chunk-V5DH3OAC.js";
|
|
64
|
+
import "../../chunk-URNG7ZX2.js";
|
|
65
|
+
import "../../chunk-ETWGCBIQ.js";
|
|
66
|
+
import "../../chunk-UY3VT3HQ.js";
|
|
67
|
+
import "../../chunk-PDWLVL34.js";
|
|
68
|
+
import "../../chunk-QCGIYXN4.js";
|
|
69
|
+
import "../../chunk-65XY7HRS.js";
|
|
70
|
+
import "../../chunk-TPMZO6S2.js";
|
|
71
|
+
import "../../chunk-M72ERPMT.js";
|
|
72
|
+
import "../../chunk-AQHYCRTO.js";
|
|
73
|
+
import "../../chunk-7TSTCMII.js";
|
|
74
|
+
import "../../chunk-KJ2GJLPQ.js";
|
|
75
|
+
import "../../chunk-IBYOMAZ3.js";
|
|
76
|
+
import "../../chunk-WEUPM3IN.js";
|
|
77
|
+
import "../../chunk-PJYCPDV5.js";
|
|
78
|
+
import "../../chunk-SIO4LO2M.js";
|
|
79
|
+
import "../../chunk-NMZMRH3E.js";
|
|
80
|
+
import "../../chunk-XJYR5HE3.js";
|
|
81
|
+
import "../../chunk-CULYZ3VA.js";
|
|
82
|
+
import "../../chunk-JN3DHH7Z.js";
|
|
83
|
+
import "../../chunk-VRRGSQI7.js";
|
|
84
|
+
import "../../chunk-D6RQPBRG.js";
|
|
85
|
+
import "../../chunk-YJCH35J4.js";
|
|
86
|
+
import "../../chunk-YE2RMJY7.js";
|
|
87
|
+
import "../../chunk-CY6AWCC6.js";
|
|
88
|
+
import "../../chunk-FX2AEKOV.js";
|
|
89
|
+
import "../../chunk-J6T3W6RY.js";
|
|
90
|
+
import "../../chunk-F4WUVOLE.js";
|
|
91
|
+
import "../../chunk-6EIONZ7F.js";
|
|
92
|
+
import "../../chunk-HFDLUBWN.js";
|
|
93
|
+
import "../../chunk-ZDDMPGN4.js";
|
|
94
|
+
import "../../chunk-CXYMVLYK.js";
|
|
95
|
+
import "../../chunk-AGIXZFHQ.js";
|
|
96
|
+
import "../../chunk-S5CMAWEC.js";
|
|
97
|
+
import "../../chunk-EZYKRG4W.js";
|
|
98
|
+
import "../../chunk-UYTSKFGK.js";
|
|
99
|
+
import "../../chunk-7XQLG5P2.js";
|
|
100
|
+
import "../../chunk-2ESYSVXG.js";
|
|
101
|
+
export {
|
|
102
|
+
handleCreateGoogleAgent,
|
|
103
|
+
handleDeleteGoogleAgent,
|
|
104
|
+
handleGetGoogleAgent,
|
|
105
|
+
handleListGoogleAgents
|
|
106
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handleGetEnvironmentFiles
|
|
3
|
+
} from "../../chunk-X7UWCDYG.js";
|
|
4
|
+
import "../../chunk-STPT3SWU.js";
|
|
5
|
+
import "../../chunk-4EKHW6VS.js";
|
|
6
|
+
import "../../chunk-D2XITRN6.js";
|
|
7
|
+
import "../../chunk-CWB2DQN5.js";
|
|
8
|
+
import "../../chunk-JFHYXFAL.js";
|
|
9
|
+
import "../../chunk-W6WKXFHN.js";
|
|
10
|
+
import "../../chunk-HVUWXUUI.js";
|
|
11
|
+
import "../../chunk-P7V3S2T3.js";
|
|
12
|
+
import "../../chunk-KYKVHH7I.js";
|
|
13
|
+
import "../../chunk-PJZ5TQYW.js";
|
|
14
|
+
import "../../chunk-AU4NAQGA.js";
|
|
15
|
+
import "../../chunk-H6TQGV4L.js";
|
|
16
|
+
import "../../chunk-DBFPJSOY.js";
|
|
17
|
+
import "../../chunk-72BKGVBE.js";
|
|
18
|
+
import "../../chunk-VB6GGRIA.js";
|
|
19
|
+
import "../../chunk-B3W3E5CS.js";
|
|
20
|
+
import "../../chunk-J6ESQUW6.js";
|
|
21
|
+
import "../../chunk-2KF2TIEY.js";
|
|
22
|
+
import "../../chunk-YOZ6WDP3.js";
|
|
23
|
+
import "../../chunk-DZKBUOYU.js";
|
|
24
|
+
import "../../chunk-WK33IBKY.js";
|
|
25
|
+
import "../../chunk-3NUTTKE5.js";
|
|
26
|
+
import "../../chunk-3MQ2FWXS.js";
|
|
27
|
+
import "../../chunk-ZACPJA3G.js";
|
|
28
|
+
import "../../chunk-K3LM6O44.js";
|
|
29
|
+
import "../../chunk-LAWTTG2E.js";
|
|
30
|
+
import "../../chunk-ZCCHLDLC.js";
|
|
31
|
+
import "../../chunk-4XXQAVKE.js";
|
|
32
|
+
import "../../chunk-JNSJKHYX.js";
|
|
33
|
+
import "../../chunk-5ZFOKZGR.js";
|
|
34
|
+
import "../../chunk-RES4BCTF.js";
|
|
35
|
+
import "../../chunk-MUARVVXF.js";
|
|
36
|
+
import "../../chunk-ZC7OR65K.js";
|
|
37
|
+
import "../../chunk-GCT7A5KR.js";
|
|
38
|
+
import "../../chunk-AIBH32FN.js";
|
|
39
|
+
import "../../chunk-YPXI7Q2M.js";
|
|
40
|
+
import "../../chunk-OEFJPZYH.js";
|
|
41
|
+
import "../../chunk-XYNEAJDF.js";
|
|
42
|
+
import "../../chunk-EFOIR7R3.js";
|
|
43
|
+
import "../../chunk-XLMNSDUJ.js";
|
|
44
|
+
import "../../chunk-NSUVDKNC.js";
|
|
45
|
+
import "../../chunk-G7KUVNDY.js";
|
|
46
|
+
import "../../chunk-6U6HEVSN.js";
|
|
47
|
+
import "../../chunk-YTBVILAH.js";
|
|
48
|
+
import "../../chunk-V5RHOS43.js";
|
|
49
|
+
import "../../chunk-J7F2OFWQ.js";
|
|
50
|
+
import "../../chunk-B6E6BVNK.js";
|
|
51
|
+
import "../../chunk-6SD6MC2B.js";
|
|
52
|
+
import "../../chunk-T2PXAQND.js";
|
|
53
|
+
import "../../chunk-CMOU2OFW.js";
|
|
54
|
+
import "../../chunk-OGA7KDQZ.js";
|
|
55
|
+
import "../../chunk-A3FQHVUG.js";
|
|
56
|
+
import "../../chunk-KGOOCFQY.js";
|
|
57
|
+
import "../../chunk-PAQ2JFVD.js";
|
|
58
|
+
import "../../chunk-S3JRZFF5.js";
|
|
59
|
+
import "../../chunk-PZ5EGY64.js";
|
|
60
|
+
import "../../chunk-REHIJQUD.js";
|
|
61
|
+
import "../../chunk-V5DH3OAC.js";
|
|
62
|
+
import "../../chunk-URNG7ZX2.js";
|
|
63
|
+
import "../../chunk-ETWGCBIQ.js";
|
|
64
|
+
import "../../chunk-UY3VT3HQ.js";
|
|
65
|
+
import "../../chunk-PDWLVL34.js";
|
|
66
|
+
import "../../chunk-QCGIYXN4.js";
|
|
67
|
+
import "../../chunk-65XY7HRS.js";
|
|
68
|
+
import "../../chunk-TPMZO6S2.js";
|
|
69
|
+
import "../../chunk-M72ERPMT.js";
|
|
70
|
+
import "../../chunk-AQHYCRTO.js";
|
|
71
|
+
import "../../chunk-7TSTCMII.js";
|
|
72
|
+
import "../../chunk-KJ2GJLPQ.js";
|
|
73
|
+
import "../../chunk-IBYOMAZ3.js";
|
|
74
|
+
import "../../chunk-WEUPM3IN.js";
|
|
75
|
+
import "../../chunk-PJYCPDV5.js";
|
|
76
|
+
import "../../chunk-SIO4LO2M.js";
|
|
77
|
+
import "../../chunk-NMZMRH3E.js";
|
|
78
|
+
import "../../chunk-XJYR5HE3.js";
|
|
79
|
+
import "../../chunk-CULYZ3VA.js";
|
|
80
|
+
import "../../chunk-JN3DHH7Z.js";
|
|
81
|
+
import "../../chunk-VRRGSQI7.js";
|
|
82
|
+
import "../../chunk-D6RQPBRG.js";
|
|
83
|
+
import "../../chunk-YJCH35J4.js";
|
|
84
|
+
import "../../chunk-YE2RMJY7.js";
|
|
85
|
+
import "../../chunk-CY6AWCC6.js";
|
|
86
|
+
import "../../chunk-FX2AEKOV.js";
|
|
87
|
+
import "../../chunk-J6T3W6RY.js";
|
|
88
|
+
import "../../chunk-F4WUVOLE.js";
|
|
89
|
+
import "../../chunk-6EIONZ7F.js";
|
|
90
|
+
import "../../chunk-HFDLUBWN.js";
|
|
91
|
+
import "../../chunk-ZDDMPGN4.js";
|
|
92
|
+
import "../../chunk-CXYMVLYK.js";
|
|
93
|
+
import "../../chunk-AGIXZFHQ.js";
|
|
94
|
+
import "../../chunk-S5CMAWEC.js";
|
|
95
|
+
import "../../chunk-EZYKRG4W.js";
|
|
96
|
+
import "../../chunk-UYTSKFGK.js";
|
|
97
|
+
import "../../chunk-7XQLG5P2.js";
|
|
98
|
+
import "../../chunk-2ESYSVXG.js";
|
|
99
|
+
export {
|
|
100
|
+
handleGetEnvironmentFiles
|
|
101
|
+
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-DI6IMZ3P.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
handleCancelInteraction,
|
|
4
|
+
handleCreateInteraction,
|
|
5
|
+
handleDeleteInteraction,
|
|
6
|
+
handleGetInteraction
|
|
7
|
+
} from "../../chunk-IYE5USSW.js";
|
|
8
|
+
import {
|
|
9
|
+
handleCreateGoogleAgent,
|
|
10
|
+
handleDeleteGoogleAgent,
|
|
11
|
+
handleGetGoogleAgent,
|
|
12
|
+
handleListGoogleAgents
|
|
13
|
+
} from "../../chunk-QZE37OGX.js";
|
|
14
|
+
import {
|
|
15
|
+
handleGetEnvironmentFiles
|
|
16
|
+
} from "../../chunk-X7UWCDYG.js";
|
|
17
|
+
import "../../chunk-STPT3SWU.js";
|
|
5
18
|
import "../../chunk-4EKHW6VS.js";
|
|
6
19
|
import "../../chunk-D2XITRN6.js";
|
|
7
20
|
import "../../chunk-CWB2DQN5.js";
|
|
@@ -97,5 +110,13 @@ import "../../chunk-UYTSKFGK.js";
|
|
|
97
110
|
import "../../chunk-7XQLG5P2.js";
|
|
98
111
|
import "../../chunk-2ESYSVXG.js";
|
|
99
112
|
export {
|
|
100
|
-
|
|
113
|
+
handleCancelInteraction,
|
|
114
|
+
handleCreateGoogleAgent,
|
|
115
|
+
handleCreateInteraction,
|
|
116
|
+
handleDeleteGoogleAgent,
|
|
117
|
+
handleDeleteInteraction,
|
|
118
|
+
handleGetEnvironmentFiles,
|
|
119
|
+
handleGetGoogleAgent,
|
|
120
|
+
handleGetInteraction,
|
|
121
|
+
handleListGoogleAgents
|
|
101
122
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
handleCancelInteraction,
|
|
3
|
+
handleCreateInteraction,
|
|
4
|
+
handleDeleteInteraction,
|
|
5
|
+
handleGetInteraction
|
|
6
|
+
} from "../../chunk-IYE5USSW.js";
|
|
4
7
|
import "../../chunk-4EKHW6VS.js";
|
|
5
8
|
import "../../chunk-D2XITRN6.js";
|
|
6
9
|
import "../../chunk-CWB2DQN5.js";
|
|
@@ -96,5 +99,8 @@ import "../../chunk-UYTSKFGK.js";
|
|
|
96
99
|
import "../../chunk-7XQLG5P2.js";
|
|
97
100
|
import "../../chunk-2ESYSVXG.js";
|
|
98
101
|
export {
|
|
99
|
-
|
|
102
|
+
handleCancelInteraction,
|
|
103
|
+
handleCreateInteraction,
|
|
104
|
+
handleDeleteInteraction,
|
|
105
|
+
handleGetInteraction
|
|
100
106
|
};
|
package/dist/handlers/index.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-DI6IMZ3P.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
handleCancelInteraction,
|
|
4
|
+
handleCreateInteraction,
|
|
5
|
+
handleDeleteInteraction,
|
|
6
|
+
handleGetInteraction
|
|
7
|
+
} from "../chunk-IYE5USSW.js";
|
|
8
|
+
import {
|
|
9
|
+
handleCreateGoogleAgent,
|
|
10
|
+
handleDeleteGoogleAgent,
|
|
11
|
+
handleGetGoogleAgent,
|
|
12
|
+
handleListGoogleAgents
|
|
13
|
+
} from "../chunk-QZE37OGX.js";
|
|
14
|
+
import {
|
|
15
|
+
handleGetEnvironmentFiles
|
|
16
|
+
} from "../chunk-X7UWCDYG.js";
|
|
5
17
|
import {
|
|
6
18
|
handleWhoami
|
|
7
19
|
} from "../chunk-SUEPFZN2.js";
|
|
@@ -326,10 +338,12 @@ export {
|
|
|
326
338
|
handleArchiveThread,
|
|
327
339
|
handleArchiveVault,
|
|
328
340
|
handleBatch,
|
|
341
|
+
handleCancelInteraction,
|
|
329
342
|
handleCreateAgent,
|
|
330
343
|
handleCreateApiKey,
|
|
331
344
|
handleCreateCredential,
|
|
332
345
|
handleCreateEnvironment,
|
|
346
|
+
handleCreateGoogleAgent,
|
|
333
347
|
handleCreateInteraction,
|
|
334
348
|
handleCreateMemory,
|
|
335
349
|
handleCreateMemoryStore,
|
|
@@ -344,6 +358,8 @@ export {
|
|
|
344
358
|
handleDeleteEntry,
|
|
345
359
|
handleDeleteEnvironment,
|
|
346
360
|
handleDeleteFile,
|
|
361
|
+
handleDeleteGoogleAgent,
|
|
362
|
+
handleDeleteInteraction,
|
|
347
363
|
handleDeleteMemory,
|
|
348
364
|
handleDeleteMemoryStore,
|
|
349
365
|
handleDeleteResource,
|
|
@@ -363,8 +379,11 @@ export {
|
|
|
363
379
|
handleGetDocs,
|
|
364
380
|
handleGetEntry,
|
|
365
381
|
handleGetEnvironment,
|
|
382
|
+
handleGetEnvironmentFiles,
|
|
366
383
|
handleGetFile,
|
|
367
384
|
handleGetFileContent,
|
|
385
|
+
handleGetGoogleAgent,
|
|
386
|
+
handleGetInteraction,
|
|
368
387
|
handleGetLicense,
|
|
369
388
|
handleGetMemory,
|
|
370
389
|
handleGetMemoryStore,
|
|
@@ -401,6 +420,7 @@ export {
|
|
|
401
420
|
handleListEnvironments,
|
|
402
421
|
handleListEvents,
|
|
403
422
|
handleListFiles,
|
|
423
|
+
handleListGoogleAgents,
|
|
404
424
|
handleListMemories,
|
|
405
425
|
handleListMemoryStores,
|
|
406
426
|
handleListMemoryVersions,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "Apache-2.0",
|
|
3
3
|
"name": "@agentstep/agent-sdk",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.35",
|
|
5
5
|
"description": "Core engine for AgentStep Gateway \u2014 backends, sandbox providers, session orchestration, and vault encryption.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"anthropic",
|
|
File without changes
|