@mastra/server 1.1.0-alpha.0 → 1.1.0-alpha.1
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 +25 -0
- package/dist/{chunk-S4SLHUJ7.cjs → chunk-4UNYZYBB.cjs} +4 -4
- package/dist/{chunk-S4SLHUJ7.cjs.map → chunk-4UNYZYBB.cjs.map} +1 -1
- package/dist/{chunk-RW66MHXI.js → chunk-5P2VGES5.js} +49 -23
- package/dist/chunk-5P2VGES5.js.map +1 -0
- package/dist/{chunk-EKFYZUPC.cjs → chunk-6DHJKQLP.cjs} +4 -4
- package/dist/{chunk-EKFYZUPC.cjs.map → chunk-6DHJKQLP.cjs.map} +1 -1
- package/dist/{chunk-3QUACCLU.js → chunk-7YCFHDWX.js} +3 -3
- package/dist/{chunk-3QUACCLU.js.map → chunk-7YCFHDWX.js.map} +1 -1
- package/dist/{chunk-JLFFAYTC.cjs → chunk-AO7LIZRK.cjs} +60 -34
- package/dist/chunk-AO7LIZRK.cjs.map +1 -0
- package/dist/{chunk-3OIJLD3O.js → chunk-BWINB344.js} +3 -3
- package/dist/{chunk-3OIJLD3O.js.map → chunk-BWINB344.js.map} +1 -1
- package/dist/{chunk-QXDNFBJQ.js → chunk-GDWZ2R7I.js} +4 -4
- package/dist/{chunk-QXDNFBJQ.js.map → chunk-GDWZ2R7I.js.map} +1 -1
- package/dist/{chunk-2HAVULC2.cjs → chunk-H4VFL22H.cjs} +6 -6
- package/dist/{chunk-2HAVULC2.cjs.map → chunk-H4VFL22H.cjs.map} +1 -1
- package/dist/{chunk-WHC6S3VY.cjs → chunk-I3CJUT6J.cjs} +4 -4
- package/dist/{chunk-WHC6S3VY.cjs.map → chunk-I3CJUT6J.cjs.map} +1 -1
- package/dist/{chunk-GUG6KRAJ.js → chunk-JUGGEWCR.js} +3 -3
- package/dist/{chunk-GUG6KRAJ.js.map → chunk-JUGGEWCR.js.map} +1 -1
- package/dist/{chunk-DD7LYNHB.js → chunk-KPHPNRVH.js} +117 -62
- package/dist/chunk-KPHPNRVH.js.map +1 -0
- package/dist/{chunk-TGDBGIDA.cjs → chunk-L6AKFVEX.cjs} +117 -62
- package/dist/chunk-L6AKFVEX.cjs.map +1 -0
- package/dist/{chunk-6KC345IN.cjs → chunk-QRPQWZZU.cjs} +41 -41
- package/dist/{chunk-6KC345IN.cjs.map → chunk-QRPQWZZU.cjs.map} +1 -1
- package/dist/{chunk-3AZY5AWI.js → chunk-QWOQET2T.js} +3 -3
- package/dist/{chunk-3AZY5AWI.js.map → chunk-QWOQET2T.js.map} +1 -1
- package/dist/{chunk-VNHOYZ56.cjs → chunk-VXPVROQJ.cjs} +5 -5
- package/dist/{chunk-VNHOYZ56.cjs.map → chunk-VXPVROQJ.cjs.map} +1 -1
- package/dist/{chunk-QOVLJFLX.cjs → chunk-WWVDNKEF.cjs} +6 -6
- package/dist/{chunk-QOVLJFLX.cjs.map → chunk-WWVDNKEF.cjs.map} +1 -1
- package/dist/{chunk-FQX5SQO7.js → chunk-XXBURIYX.js} +3 -3
- package/dist/{chunk-FQX5SQO7.js.map → chunk-XXBURIYX.js.map} +1 -1
- package/dist/{chunk-FCPLBTHB.js → chunk-ZFHZRI6C.js} +3 -3
- package/dist/{chunk-FCPLBTHB.js.map → chunk-ZFHZRI6C.js.map} +1 -1
- package/dist/docs/README.md +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +14 -14
- package/dist/server/handlers/agent-versions.d.ts +153 -175
- package/dist/server/handlers/agent-versions.d.ts.map +1 -1
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +31 -31
- package/dist/server/handlers/agents.d.ts +2 -2
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +6 -6
- package/dist/server/handlers/stored-agents.d.ts +32 -23
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workspace.cjs +19 -19
- package/dist/server/handlers/workspace.d.ts +8 -8
- package/dist/server/handlers/workspace.js +1 -1
- package/dist/server/handlers.cjs +10 -10
- package/dist/server/handlers.js +5 -5
- package/dist/server/schemas/agent-versions.d.ts +564 -1137
- package/dist/server/schemas/agent-versions.d.ts.map +1 -1
- package/dist/server/schemas/stored-agents.d.ts +234 -82
- package/dist/server/schemas/stored-agents.d.ts.map +1 -1
- package/dist/server/schemas/workspace.d.ts +34 -34
- package/dist/server/server-adapter/index.cjs +67 -67
- package/dist/server/server-adapter/index.js +8 -8
- package/package.json +4 -4
- package/dist/chunk-DD7LYNHB.js.map +0 -1
- package/dist/chunk-JLFFAYTC.cjs.map +0 -1
- package/dist/chunk-RW66MHXI.js.map +0 -1
- package/dist/chunk-TGDBGIDA.cjs.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StorageScorerConfig } from '@mastra/core/storage';
|
|
1
2
|
export declare const DEFAULT_MAX_VERSIONS_PER_AGENT = 50;
|
|
2
3
|
/**
|
|
3
4
|
* Generates a unique ID for a version using crypto.randomUUID()
|
|
@@ -40,19 +41,46 @@ export declare function enforceRetentionLimit(agentsStore: {
|
|
|
40
41
|
/**
|
|
41
42
|
* Type for the agents store with version-related methods.
|
|
42
43
|
* Uses generic types to work with any StorageAgentType-compatible structure.
|
|
44
|
+
*
|
|
45
|
+
* AgentVersion config fields are top-level (no nested snapshot object).
|
|
46
|
+
* getLatestVersion returns the version with config fields top-level.
|
|
43
47
|
*/
|
|
44
48
|
export interface AgentsStoreWithVersions<TAgent = any> {
|
|
45
49
|
getLatestVersion: (agentId: string) => Promise<{
|
|
46
50
|
id: string;
|
|
47
51
|
versionNumber: number;
|
|
48
|
-
|
|
52
|
+
name: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
instructions: string;
|
|
55
|
+
model: Record<string, unknown>;
|
|
56
|
+
tools?: string[];
|
|
57
|
+
defaultOptions?: Record<string, unknown>;
|
|
58
|
+
workflows?: string[];
|
|
59
|
+
agents?: string[];
|
|
60
|
+
integrationTools?: string[];
|
|
61
|
+
inputProcessors?: Record<string, unknown>[];
|
|
62
|
+
outputProcessors?: Record<string, unknown>[];
|
|
63
|
+
memory?: Record<string, unknown>;
|
|
64
|
+
scorers?: Record<string, StorageScorerConfig>;
|
|
65
|
+
[key: string]: any;
|
|
49
66
|
} | null>;
|
|
50
67
|
createVersion: (params: {
|
|
51
68
|
id: string;
|
|
52
69
|
agentId: string;
|
|
53
70
|
versionNumber: number;
|
|
54
|
-
name
|
|
55
|
-
|
|
71
|
+
name: string;
|
|
72
|
+
description?: string;
|
|
73
|
+
instructions: string;
|
|
74
|
+
model: Record<string, unknown>;
|
|
75
|
+
tools?: string[];
|
|
76
|
+
defaultOptions?: Record<string, unknown>;
|
|
77
|
+
workflows?: string[];
|
|
78
|
+
agents?: string[];
|
|
79
|
+
integrationTools?: string[];
|
|
80
|
+
inputProcessors?: Record<string, unknown>[];
|
|
81
|
+
outputProcessors?: Record<string, unknown>[];
|
|
82
|
+
memory?: Record<string, unknown>;
|
|
83
|
+
scorers?: Record<string, StorageScorerConfig>;
|
|
56
84
|
changedFields?: string[];
|
|
57
85
|
changeMessage?: string;
|
|
58
86
|
}) => Promise<{
|
|
@@ -85,18 +113,18 @@ export interface AgentsStoreWithVersions<TAgent = any> {
|
|
|
85
113
|
* Creates a new version with retry logic for race condition handling.
|
|
86
114
|
* If a unique constraint violation occurs on versionNumber, retries with a fresh versionNumber.
|
|
87
115
|
*
|
|
116
|
+
* Config fields are passed top-level (not nested in a snapshot object).
|
|
117
|
+
*
|
|
88
118
|
* @param agentsStore - The agents storage domain
|
|
89
119
|
* @param agentId - The agent ID to create a version for
|
|
90
|
-
* @param
|
|
120
|
+
* @param snapshotConfig - The agent configuration fields (StorageAgentSnapshotType)
|
|
91
121
|
* @param changedFields - Array of field names that changed
|
|
92
122
|
* @param options - Optional settings for the version
|
|
93
|
-
* @param options.name - Optional vanity name for the version
|
|
94
123
|
* @param options.changeMessage - Optional description of the changes
|
|
95
124
|
* @param options.maxRetries - Maximum number of retry attempts (default: 3)
|
|
96
125
|
* @returns The created version ID and version number
|
|
97
126
|
*/
|
|
98
|
-
export declare function createVersionWithRetry<TAgent>(agentsStore: AgentsStoreWithVersions<TAgent>, agentId: string,
|
|
99
|
-
name?: string;
|
|
127
|
+
export declare function createVersionWithRetry<TAgent>(agentsStore: AgentsStoreWithVersions<TAgent>, agentId: string, snapshotConfig: Record<string, unknown>, changedFields: string[], options?: {
|
|
100
128
|
changeMessage?: string;
|
|
101
129
|
maxRetries?: number;
|
|
102
130
|
}): Promise<{
|
|
@@ -111,11 +139,12 @@ export declare function createVersionWithRetry<TAgent>(agentsStore: AgentsStoreW
|
|
|
111
139
|
*
|
|
112
140
|
* @param agentsStore - The agents storage domain
|
|
113
141
|
* @param agentId - The agent ID
|
|
114
|
-
* @param existingAgent - The agent state before the update
|
|
115
|
-
* @param updatedAgent - The agent state after the update
|
|
142
|
+
* @param existingAgent - The agent state before the update (thin record)
|
|
143
|
+
* @param updatedAgent - The agent state after the update (thin record)
|
|
144
|
+
* @param configFields - The config fields that were provided in the update (StorageAgentSnapshotType fields)
|
|
116
145
|
* @returns The updated agent with the new activeVersionId, or the original if no changes
|
|
117
146
|
*/
|
|
118
|
-
export declare function handleAutoVersioning<TAgent>(agentsStore: AgentsStoreWithVersions<TAgent>, agentId: string, existingAgent: TAgent, updatedAgent: TAgent): Promise<{
|
|
147
|
+
export declare function handleAutoVersioning<TAgent>(agentsStore: AgentsStoreWithVersions<TAgent>, agentId: string, existingAgent: TAgent, updatedAgent: TAgent, configFields?: Record<string, unknown>): Promise<{
|
|
119
148
|
agent: TAgent;
|
|
120
149
|
versionCreated: boolean;
|
|
121
150
|
}>;
|
|
@@ -190,37 +219,29 @@ export declare const LIST_AGENT_VERSIONS_ROUTE: import("../server-adapter").Serv
|
|
|
190
219
|
perPage: number | false;
|
|
191
220
|
hasMore: boolean;
|
|
192
221
|
versions: {
|
|
222
|
+
name: string;
|
|
193
223
|
id: string;
|
|
194
|
-
snapshot: {
|
|
195
|
-
name: string;
|
|
196
|
-
id: string;
|
|
197
|
-
createdAt: Date;
|
|
198
|
-
updatedAt: Date;
|
|
199
|
-
model: Record<string, unknown>;
|
|
200
|
-
instructions: string;
|
|
201
|
-
metadata?: Record<string, unknown> | undefined;
|
|
202
|
-
description?: string | undefined;
|
|
203
|
-
tools?: string[] | undefined;
|
|
204
|
-
agents?: string[] | undefined;
|
|
205
|
-
workflows?: string[] | undefined;
|
|
206
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
207
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
208
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
209
|
-
memory?: string | undefined;
|
|
210
|
-
scorers?: Record<string, {
|
|
211
|
-
sampling?: {
|
|
212
|
-
type: "count" | "ratio";
|
|
213
|
-
count?: number | undefined;
|
|
214
|
-
rate?: number | undefined;
|
|
215
|
-
} | undefined;
|
|
216
|
-
}> | undefined;
|
|
217
|
-
ownerId?: string | undefined;
|
|
218
|
-
integrationTools?: string[] | undefined;
|
|
219
|
-
};
|
|
220
224
|
createdAt: Date;
|
|
221
225
|
agentId: string;
|
|
226
|
+
model: Record<string, unknown>;
|
|
227
|
+
instructions: string;
|
|
222
228
|
versionNumber: number;
|
|
223
|
-
|
|
229
|
+
description?: string | undefined;
|
|
230
|
+
tools?: string[] | undefined;
|
|
231
|
+
agents?: string[] | undefined;
|
|
232
|
+
workflows?: string[] | undefined;
|
|
233
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
234
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
235
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
236
|
+
memory?: Record<string, unknown> | undefined;
|
|
237
|
+
scorers?: Record<string, {
|
|
238
|
+
sampling?: {
|
|
239
|
+
type: "count" | "ratio";
|
|
240
|
+
count?: number | undefined;
|
|
241
|
+
rate?: number | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
}> | undefined;
|
|
244
|
+
integrationTools?: string[] | undefined;
|
|
224
245
|
changeMessage?: string | undefined;
|
|
225
246
|
changedFields?: string[] | undefined;
|
|
226
247
|
}[];
|
|
@@ -235,46 +256,35 @@ export declare const CREATE_AGENT_VERSION_ROUTE: import("../server-adapter").Ser
|
|
|
235
256
|
}, {
|
|
236
257
|
agentId: string;
|
|
237
258
|
}>, undefined, import("zod").ZodObject<{
|
|
238
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
239
259
|
changeMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
240
260
|
}, "strip", import("zod").ZodTypeAny, {
|
|
241
|
-
name?: string | undefined;
|
|
242
261
|
changeMessage?: string | undefined;
|
|
243
262
|
}, {
|
|
244
|
-
name?: string | undefined;
|
|
245
263
|
changeMessage?: string | undefined;
|
|
246
264
|
}>>, {
|
|
265
|
+
name: string;
|
|
247
266
|
id: string;
|
|
248
|
-
snapshot: {
|
|
249
|
-
name: string;
|
|
250
|
-
id: string;
|
|
251
|
-
createdAt: Date;
|
|
252
|
-
updatedAt: Date;
|
|
253
|
-
model: Record<string, unknown>;
|
|
254
|
-
instructions: string;
|
|
255
|
-
metadata?: Record<string, unknown> | undefined;
|
|
256
|
-
description?: string | undefined;
|
|
257
|
-
tools?: string[] | undefined;
|
|
258
|
-
agents?: string[] | undefined;
|
|
259
|
-
workflows?: string[] | undefined;
|
|
260
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
261
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
262
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
263
|
-
memory?: string | undefined;
|
|
264
|
-
scorers?: Record<string, {
|
|
265
|
-
sampling?: {
|
|
266
|
-
type: "count" | "ratio";
|
|
267
|
-
count?: number | undefined;
|
|
268
|
-
rate?: number | undefined;
|
|
269
|
-
} | undefined;
|
|
270
|
-
}> | undefined;
|
|
271
|
-
ownerId?: string | undefined;
|
|
272
|
-
integrationTools?: string[] | undefined;
|
|
273
|
-
};
|
|
274
267
|
createdAt: Date;
|
|
275
268
|
agentId: string;
|
|
269
|
+
model: Record<string, unknown>;
|
|
270
|
+
instructions: string;
|
|
276
271
|
versionNumber: number;
|
|
277
|
-
|
|
272
|
+
description?: string | undefined;
|
|
273
|
+
tools?: string[] | undefined;
|
|
274
|
+
agents?: string[] | undefined;
|
|
275
|
+
workflows?: string[] | undefined;
|
|
276
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
277
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
278
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
279
|
+
memory?: Record<string, unknown> | undefined;
|
|
280
|
+
scorers?: Record<string, {
|
|
281
|
+
sampling?: {
|
|
282
|
+
type: "count" | "ratio";
|
|
283
|
+
count?: number | undefined;
|
|
284
|
+
rate?: number | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
}> | undefined;
|
|
287
|
+
integrationTools?: string[] | undefined;
|
|
278
288
|
changeMessage?: string | undefined;
|
|
279
289
|
changedFields?: string[] | undefined;
|
|
280
290
|
}, "json">;
|
|
@@ -285,37 +295,29 @@ export declare const GET_AGENT_VERSION_ROUTE: import("../server-adapter").Server
|
|
|
285
295
|
agentId: string;
|
|
286
296
|
versionId: string;
|
|
287
297
|
}, {
|
|
298
|
+
name: string;
|
|
288
299
|
id: string;
|
|
289
|
-
snapshot: {
|
|
290
|
-
name: string;
|
|
291
|
-
id: string;
|
|
292
|
-
createdAt: Date;
|
|
293
|
-
updatedAt: Date;
|
|
294
|
-
model: Record<string, unknown>;
|
|
295
|
-
instructions: string;
|
|
296
|
-
metadata?: Record<string, unknown> | undefined;
|
|
297
|
-
description?: string | undefined;
|
|
298
|
-
tools?: string[] | undefined;
|
|
299
|
-
agents?: string[] | undefined;
|
|
300
|
-
workflows?: string[] | undefined;
|
|
301
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
302
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
303
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
304
|
-
memory?: string | undefined;
|
|
305
|
-
scorers?: Record<string, {
|
|
306
|
-
sampling?: {
|
|
307
|
-
type: "count" | "ratio";
|
|
308
|
-
count?: number | undefined;
|
|
309
|
-
rate?: number | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
}> | undefined;
|
|
312
|
-
ownerId?: string | undefined;
|
|
313
|
-
integrationTools?: string[] | undefined;
|
|
314
|
-
};
|
|
315
300
|
createdAt: Date;
|
|
316
301
|
agentId: string;
|
|
302
|
+
model: Record<string, unknown>;
|
|
303
|
+
instructions: string;
|
|
317
304
|
versionNumber: number;
|
|
318
|
-
|
|
305
|
+
description?: string | undefined;
|
|
306
|
+
tools?: string[] | undefined;
|
|
307
|
+
agents?: string[] | undefined;
|
|
308
|
+
workflows?: string[] | undefined;
|
|
309
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
310
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
311
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
312
|
+
memory?: Record<string, unknown> | undefined;
|
|
313
|
+
scorers?: Record<string, {
|
|
314
|
+
sampling?: {
|
|
315
|
+
type: "count" | "ratio";
|
|
316
|
+
count?: number | undefined;
|
|
317
|
+
rate?: number | undefined;
|
|
318
|
+
} | undefined;
|
|
319
|
+
}> | undefined;
|
|
320
|
+
integrationTools?: string[] | undefined;
|
|
319
321
|
changeMessage?: string | undefined;
|
|
320
322
|
changedFields?: string[] | undefined;
|
|
321
323
|
}, "json">;
|
|
@@ -337,37 +339,29 @@ export declare const RESTORE_AGENT_VERSION_ROUTE: import("../server-adapter").Se
|
|
|
337
339
|
agentId: string;
|
|
338
340
|
versionId: string;
|
|
339
341
|
}, {
|
|
342
|
+
name: string;
|
|
340
343
|
id: string;
|
|
341
|
-
snapshot: {
|
|
342
|
-
name: string;
|
|
343
|
-
id: string;
|
|
344
|
-
createdAt: Date;
|
|
345
|
-
updatedAt: Date;
|
|
346
|
-
model: Record<string, unknown>;
|
|
347
|
-
instructions: string;
|
|
348
|
-
metadata?: Record<string, unknown> | undefined;
|
|
349
|
-
description?: string | undefined;
|
|
350
|
-
tools?: string[] | undefined;
|
|
351
|
-
agents?: string[] | undefined;
|
|
352
|
-
workflows?: string[] | undefined;
|
|
353
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
354
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
355
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
356
|
-
memory?: string | undefined;
|
|
357
|
-
scorers?: Record<string, {
|
|
358
|
-
sampling?: {
|
|
359
|
-
type: "count" | "ratio";
|
|
360
|
-
count?: number | undefined;
|
|
361
|
-
rate?: number | undefined;
|
|
362
|
-
} | undefined;
|
|
363
|
-
}> | undefined;
|
|
364
|
-
ownerId?: string | undefined;
|
|
365
|
-
integrationTools?: string[] | undefined;
|
|
366
|
-
};
|
|
367
344
|
createdAt: Date;
|
|
368
345
|
agentId: string;
|
|
346
|
+
model: Record<string, unknown>;
|
|
347
|
+
instructions: string;
|
|
369
348
|
versionNumber: number;
|
|
370
|
-
|
|
349
|
+
description?: string | undefined;
|
|
350
|
+
tools?: string[] | undefined;
|
|
351
|
+
agents?: string[] | undefined;
|
|
352
|
+
workflows?: string[] | undefined;
|
|
353
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
354
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
355
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
356
|
+
memory?: Record<string, unknown> | undefined;
|
|
357
|
+
scorers?: Record<string, {
|
|
358
|
+
sampling?: {
|
|
359
|
+
type: "count" | "ratio";
|
|
360
|
+
count?: number | undefined;
|
|
361
|
+
rate?: number | undefined;
|
|
362
|
+
} | undefined;
|
|
363
|
+
}> | undefined;
|
|
364
|
+
integrationTools?: string[] | undefined;
|
|
371
365
|
changeMessage?: string | undefined;
|
|
372
366
|
changedFields?: string[] | undefined;
|
|
373
367
|
}, "json">;
|
|
@@ -406,72 +400,56 @@ export declare const COMPARE_AGENT_VERSIONS_ROUTE: import("../server-adapter").S
|
|
|
406
400
|
currentValue?: unknown;
|
|
407
401
|
}[];
|
|
408
402
|
fromVersion: {
|
|
403
|
+
name: string;
|
|
409
404
|
id: string;
|
|
410
|
-
snapshot: {
|
|
411
|
-
name: string;
|
|
412
|
-
id: string;
|
|
413
|
-
createdAt: Date;
|
|
414
|
-
updatedAt: Date;
|
|
415
|
-
model: Record<string, unknown>;
|
|
416
|
-
instructions: string;
|
|
417
|
-
metadata?: Record<string, unknown> | undefined;
|
|
418
|
-
description?: string | undefined;
|
|
419
|
-
tools?: string[] | undefined;
|
|
420
|
-
agents?: string[] | undefined;
|
|
421
|
-
workflows?: string[] | undefined;
|
|
422
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
423
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
424
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
425
|
-
memory?: string | undefined;
|
|
426
|
-
scorers?: Record<string, {
|
|
427
|
-
sampling?: {
|
|
428
|
-
type: "count" | "ratio";
|
|
429
|
-
count?: number | undefined;
|
|
430
|
-
rate?: number | undefined;
|
|
431
|
-
} | undefined;
|
|
432
|
-
}> | undefined;
|
|
433
|
-
ownerId?: string | undefined;
|
|
434
|
-
integrationTools?: string[] | undefined;
|
|
435
|
-
};
|
|
436
405
|
createdAt: Date;
|
|
437
406
|
agentId: string;
|
|
407
|
+
model: Record<string, unknown>;
|
|
408
|
+
instructions: string;
|
|
438
409
|
versionNumber: number;
|
|
439
|
-
|
|
410
|
+
description?: string | undefined;
|
|
411
|
+
tools?: string[] | undefined;
|
|
412
|
+
agents?: string[] | undefined;
|
|
413
|
+
workflows?: string[] | undefined;
|
|
414
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
415
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
416
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
417
|
+
memory?: Record<string, unknown> | undefined;
|
|
418
|
+
scorers?: Record<string, {
|
|
419
|
+
sampling?: {
|
|
420
|
+
type: "count" | "ratio";
|
|
421
|
+
count?: number | undefined;
|
|
422
|
+
rate?: number | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
}> | undefined;
|
|
425
|
+
integrationTools?: string[] | undefined;
|
|
440
426
|
changeMessage?: string | undefined;
|
|
441
427
|
changedFields?: string[] | undefined;
|
|
442
428
|
};
|
|
443
429
|
toVersion: {
|
|
430
|
+
name: string;
|
|
444
431
|
id: string;
|
|
445
|
-
snapshot: {
|
|
446
|
-
name: string;
|
|
447
|
-
id: string;
|
|
448
|
-
createdAt: Date;
|
|
449
|
-
updatedAt: Date;
|
|
450
|
-
model: Record<string, unknown>;
|
|
451
|
-
instructions: string;
|
|
452
|
-
metadata?: Record<string, unknown> | undefined;
|
|
453
|
-
description?: string | undefined;
|
|
454
|
-
tools?: string[] | undefined;
|
|
455
|
-
agents?: string[] | undefined;
|
|
456
|
-
workflows?: string[] | undefined;
|
|
457
|
-
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
458
|
-
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
459
|
-
defaultOptions?: Record<string, unknown> | undefined;
|
|
460
|
-
memory?: string | undefined;
|
|
461
|
-
scorers?: Record<string, {
|
|
462
|
-
sampling?: {
|
|
463
|
-
type: "count" | "ratio";
|
|
464
|
-
count?: number | undefined;
|
|
465
|
-
rate?: number | undefined;
|
|
466
|
-
} | undefined;
|
|
467
|
-
}> | undefined;
|
|
468
|
-
ownerId?: string | undefined;
|
|
469
|
-
integrationTools?: string[] | undefined;
|
|
470
|
-
};
|
|
471
432
|
createdAt: Date;
|
|
472
433
|
agentId: string;
|
|
434
|
+
model: Record<string, unknown>;
|
|
435
|
+
instructions: string;
|
|
473
436
|
versionNumber: number;
|
|
474
|
-
|
|
437
|
+
description?: string | undefined;
|
|
438
|
+
tools?: string[] | undefined;
|
|
439
|
+
agents?: string[] | undefined;
|
|
440
|
+
workflows?: string[] | undefined;
|
|
441
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
442
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
443
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
444
|
+
memory?: Record<string, unknown> | undefined;
|
|
445
|
+
scorers?: Record<string, {
|
|
446
|
+
sampling?: {
|
|
447
|
+
type: "count" | "ratio";
|
|
448
|
+
count?: number | undefined;
|
|
449
|
+
rate?: number | undefined;
|
|
450
|
+
} | undefined;
|
|
451
|
+
}> | undefined;
|
|
452
|
+
integrationTools?: string[] | undefined;
|
|
475
453
|
changeMessage?: string | undefined;
|
|
476
454
|
changedFields?: string[] | undefined;
|
|
477
455
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-versions.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agent-versions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-versions.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agent-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAqBhE,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAoEjD;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAgBD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAwDvC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ACTIVATE_AGENT_VERSION_ROUTE, COMPARE_AGENT_VERSIONS_ROUTE, CREATE_AGENT_VERSION_ROUTE, DEFAULT_MAX_VERSIONS_PER_AGENT, DELETE_AGENT_VERSION_ROUTE, GET_AGENT_VERSION_ROUTE, LIST_AGENT_VERSIONS_ROUTE, RESTORE_AGENT_VERSION_ROUTE, calculateChangedFields, createVersionWithRetry, enforceRetentionLimit, generateVersionId, handleAutoVersioning } from '../../chunk-
|
|
1
|
+
export { ACTIVATE_AGENT_VERSION_ROUTE, COMPARE_AGENT_VERSIONS_ROUTE, CREATE_AGENT_VERSION_ROUTE, DEFAULT_MAX_VERSIONS_PER_AGENT, DELETE_AGENT_VERSION_ROUTE, GET_AGENT_VERSION_ROUTE, LIST_AGENT_VERSIONS_ROUTE, RESTORE_AGENT_VERSION_ROUTE, calculateChangedFields, createVersionWithRetry, enforceRetentionLimit, generateVersionId, handleAutoVersioning } from '../../chunk-KPHPNRVH.js';
|
|
2
2
|
//# sourceMappingURL=agent-versions.js.map
|
|
3
3
|
//# sourceMappingURL=agent-versions.js.map
|
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6DHJKQLP_cjs = require('../../chunk-6DHJKQLP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "APPROVE_NETWORK_TOOL_CALL_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6DHJKQLP_cjs.APPROVE_NETWORK_TOOL_CALL_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "APPROVE_TOOL_CALL_GENERATE_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6DHJKQLP_cjs.APPROVE_TOOL_CALL_GENERATE_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "APPROVE_TOOL_CALL_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6DHJKQLP_cjs.APPROVE_TOOL_CALL_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DECLINE_NETWORK_TOOL_CALL_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6DHJKQLP_cjs.DECLINE_NETWORK_TOOL_CALL_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DECLINE_TOOL_CALL_GENERATE_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6DHJKQLP_cjs.DECLINE_TOOL_CALL_GENERATE_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DECLINE_TOOL_CALL_ROUTE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk6DHJKQLP_cjs.DECLINE_TOOL_CALL_ROUTE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ENHANCE_INSTRUCTIONS_ROUTE", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk6DHJKQLP_cjs.ENHANCE_INSTRUCTIONS_ROUTE; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GENERATE_AGENT_ROUTE", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk6DHJKQLP_cjs.GENERATE_AGENT_ROUTE; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "GENERATE_AGENT_VNEXT_ROUTE", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk6DHJKQLP_cjs.GENERATE_AGENT_VNEXT_ROUTE; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "GENERATE_LEGACY_ROUTE", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk6DHJKQLP_cjs.GENERATE_LEGACY_ROUTE; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "GET_AGENT_BY_ID_ROUTE", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk6DHJKQLP_cjs.GET_AGENT_BY_ID_ROUTE; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "GET_AGENT_SKILL_ROUTE", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk6DHJKQLP_cjs.GET_AGENT_SKILL_ROUTE; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "GET_PROVIDERS_ROUTE", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk6DHJKQLP_cjs.GET_PROVIDERS_ROUTE; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LIST_AGENTS_ROUTE", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk6DHJKQLP_cjs.LIST_AGENTS_ROUTE; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "REORDER_AGENT_MODEL_LIST_ROUTE", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk6DHJKQLP_cjs.REORDER_AGENT_MODEL_LIST_ROUTE; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "RESET_AGENT_MODEL_ROUTE", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk6DHJKQLP_cjs.RESET_AGENT_MODEL_ROUTE; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "STREAM_GENERATE_LEGACY_ROUTE", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_GENERATE_LEGACY_ROUTE; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "STREAM_GENERATE_ROUTE", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_GENERATE_ROUTE; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "STREAM_NETWORK_ROUTE", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_NETWORK_ROUTE; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "STREAM_UI_MESSAGE_DEPRECATED_ROUTE", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_UI_MESSAGE_DEPRECATED_ROUTE; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "STREAM_VNEXT_DEPRECATED_ROUTE", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk6DHJKQLP_cjs.STREAM_VNEXT_DEPRECATED_ROUTE; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk6DHJKQLP_cjs.UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "UPDATE_AGENT_MODEL_ROUTE", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk6DHJKQLP_cjs.UPDATE_AGENT_MODEL_ROUTE; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "getAgentFromSystem", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk6DHJKQLP_cjs.getAgentFromSystem; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "getSerializedAgentTools", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk6DHJKQLP_cjs.getSerializedAgentTools; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "getSerializedProcessors", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk6DHJKQLP_cjs.getSerializedProcessors; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "getSerializedSkillsFromAgent", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk6DHJKQLP_cjs.getSerializedSkillsFromAgent; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "getWorkspaceToolsFromAgent", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk6DHJKQLP_cjs.getWorkspaceToolsFromAgent; }
|
|
126
126
|
});
|
|
127
127
|
//# sourceMappingURL=agents.cjs.map
|
|
128
128
|
//# sourceMappingURL=agents.cjs.map
|
|
@@ -3418,7 +3418,7 @@ export declare const GET_AGENT_SKILL_ROUTE: ServerRoute<{
|
|
|
3418
3418
|
name: string;
|
|
3419
3419
|
description: string;
|
|
3420
3420
|
path?: string | undefined;
|
|
3421
|
-
metadata?: Record<string,
|
|
3421
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3422
3422
|
instructions?: string | undefined;
|
|
3423
3423
|
source?: {
|
|
3424
3424
|
type: "external";
|
|
@@ -3431,7 +3431,7 @@ export declare const GET_AGENT_SKILL_ROUTE: ServerRoute<{
|
|
|
3431
3431
|
mastraPath: string;
|
|
3432
3432
|
} | undefined;
|
|
3433
3433
|
license?: string | undefined;
|
|
3434
|
-
compatibility?:
|
|
3434
|
+
compatibility?: unknown;
|
|
3435
3435
|
references?: string[] | undefined;
|
|
3436
3436
|
scripts?: string[] | undefined;
|
|
3437
3437
|
assets?: string[] | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { APPROVE_NETWORK_TOOL_CALL_ROUTE, APPROVE_TOOL_CALL_GENERATE_ROUTE, APPROVE_TOOL_CALL_ROUTE, DECLINE_NETWORK_TOOL_CALL_ROUTE, DECLINE_TOOL_CALL_GENERATE_ROUTE, DECLINE_TOOL_CALL_ROUTE, ENHANCE_INSTRUCTIONS_ROUTE, GENERATE_AGENT_ROUTE, GENERATE_AGENT_VNEXT_ROUTE, GENERATE_LEGACY_ROUTE, GET_AGENT_BY_ID_ROUTE, GET_AGENT_SKILL_ROUTE, GET_PROVIDERS_ROUTE, LIST_AGENTS_ROUTE, REORDER_AGENT_MODEL_LIST_ROUTE, RESET_AGENT_MODEL_ROUTE, STREAM_GENERATE_LEGACY_ROUTE, STREAM_GENERATE_ROUTE, STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE, STREAM_NETWORK_ROUTE, STREAM_UI_MESSAGE_DEPRECATED_ROUTE, STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE, STREAM_VNEXT_DEPRECATED_ROUTE, UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE, UPDATE_AGENT_MODEL_ROUTE, getAgentFromSystem, getSerializedAgentTools, getSerializedProcessors, getSerializedSkillsFromAgent, getWorkspaceToolsFromAgent } from '../../chunk-
|
|
1
|
+
export { APPROVE_NETWORK_TOOL_CALL_ROUTE, APPROVE_TOOL_CALL_GENERATE_ROUTE, APPROVE_TOOL_CALL_ROUTE, DECLINE_NETWORK_TOOL_CALL_ROUTE, DECLINE_TOOL_CALL_GENERATE_ROUTE, DECLINE_TOOL_CALL_ROUTE, ENHANCE_INSTRUCTIONS_ROUTE, GENERATE_AGENT_ROUTE, GENERATE_AGENT_VNEXT_ROUTE, GENERATE_LEGACY_ROUTE, GET_AGENT_BY_ID_ROUTE, GET_AGENT_SKILL_ROUTE, GET_PROVIDERS_ROUTE, LIST_AGENTS_ROUTE, REORDER_AGENT_MODEL_LIST_ROUTE, RESET_AGENT_MODEL_ROUTE, STREAM_GENERATE_LEGACY_ROUTE, STREAM_GENERATE_ROUTE, STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE, STREAM_NETWORK_ROUTE, STREAM_UI_MESSAGE_DEPRECATED_ROUTE, STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE, STREAM_VNEXT_DEPRECATED_ROUTE, UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE, UPDATE_AGENT_MODEL_ROUTE, getAgentFromSystem, getSerializedAgentTools, getSerializedProcessors, getSerializedSkillsFromAgent, getWorkspaceToolsFromAgent } from '../../chunk-7YCFHDWX.js';
|
|
2
2
|
//# sourceMappingURL=agents.js.map
|
|
3
3
|
//# sourceMappingURL=agents.js.map
|