@mastra/server 0.0.0-mcp-changeset-20250707162621 → 0.0.0-memory-system-message-error-20250813233316
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/LICENSE.md +11 -42
- package/dist/{chunk-2SLFAFTR.cjs → chunk-4CEZIJWJ.cjs} +16 -14
- package/dist/chunk-4CEZIJWJ.cjs.map +1 -0
- package/dist/{chunk-4D66QEKC.js → chunk-4MQU6AJN.js} +5 -3
- package/dist/chunk-4MQU6AJN.js.map +1 -0
- package/dist/{chunk-CCGRCYWJ.cjs → chunk-4QSNRCOT.cjs} +4 -2
- package/dist/chunk-4QSNRCOT.cjs.map +1 -0
- package/dist/{chunk-RHSWAXKB.cjs → chunk-4US5W7PH.cjs} +26 -24
- package/dist/chunk-4US5W7PH.cjs.map +1 -0
- package/dist/{chunk-BK4XT6EG.js → chunk-5AKR33BI.js} +88 -25
- package/dist/chunk-5AKR33BI.js.map +1 -0
- package/dist/{chunk-MEGCYGBU.js → chunk-7FHF55WA.js} +39 -37
- package/dist/chunk-7FHF55WA.js.map +1 -0
- package/dist/{chunk-2KZFMI6P.cjs → chunk-7NADHFD2.cjs} +2 -0
- package/dist/chunk-7NADHFD2.cjs.map +1 -0
- package/dist/{chunk-QGX47B5D.cjs → chunk-BED2O446.cjs} +11 -9
- package/dist/chunk-BED2O446.cjs.map +1 -0
- package/dist/{chunk-H7DMHBKY.js → chunk-BUOJL3MN.js} +36 -5
- package/dist/chunk-BUOJL3MN.js.map +1 -0
- package/dist/{chunk-LF7P5PLR.js → chunk-CY4TP3FK.js} +3 -1
- package/dist/chunk-CY4TP3FK.js.map +1 -0
- package/dist/{chunk-LZ3VJXSO.cjs → chunk-EBNIUZRY.cjs} +102 -36
- package/dist/chunk-EBNIUZRY.cjs.map +1 -0
- package/dist/{chunk-WNVFNNWN.js → chunk-G7NVCO5M.js} +5 -3
- package/dist/chunk-G7NVCO5M.js.map +1 -0
- package/dist/chunk-GX25CWC7.cjs +588 -0
- package/dist/chunk-GX25CWC7.cjs.map +1 -0
- package/dist/{chunk-KHZKYUNR.js → chunk-HWHKM67I.js} +6 -4
- package/dist/chunk-HWHKM67I.js.map +1 -0
- package/dist/{chunk-G7KH752Y.cjs → chunk-ILCWPBYQ.cjs} +9 -7
- package/dist/chunk-ILCWPBYQ.cjs.map +1 -0
- package/dist/{chunk-JMLYCXMK.cjs → chunk-JGVY3KWV.cjs} +47 -45
- package/dist/chunk-JGVY3KWV.cjs.map +1 -0
- package/dist/{chunk-GHC4YV6R.js → chunk-JNWFG7JP.js} +107 -135
- package/dist/chunk-JNWFG7JP.js.map +1 -0
- package/dist/{chunk-SDPGVWQJ.cjs → chunk-KXNFZXLG.cjs} +108 -136
- package/dist/chunk-KXNFZXLG.cjs.map +1 -0
- package/dist/chunk-L7YG7WQH.js +151 -0
- package/dist/chunk-L7YG7WQH.js.map +1 -0
- package/dist/{chunk-LI436ITD.cjs → chunk-LRUH33B4.cjs} +39 -37
- package/dist/chunk-LRUH33B4.cjs.map +1 -0
- package/dist/{chunk-LCM566I4.js → chunk-MMROOK5J.js} +2 -0
- package/dist/chunk-MMROOK5J.js.map +1 -0
- package/dist/{chunk-7TP2LX5L.cjs → chunk-NCS2OXX6.cjs} +20 -18
- package/dist/chunk-NCS2OXX6.cjs.map +1 -0
- package/dist/{chunk-FRVBFMO2.cjs → chunk-O4I563YW.cjs} +24 -22
- package/dist/chunk-O4I563YW.cjs.map +1 -0
- package/dist/{chunk-RSEO4XPX.js → chunk-OW4FX5TS.js} +3 -1
- package/dist/chunk-OW4FX5TS.js.map +1 -0
- package/dist/{chunk-MLKGABMK.js → chunk-PZ5AY32C.js} +2 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/{chunk-75ZPJI57.cjs → chunk-Q7SFCCGT.cjs} +2 -0
- package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
- package/dist/{chunk-PZQDCRPV.cjs → chunk-RE4RPXT2.cjs} +4 -2
- package/dist/chunk-RE4RPXT2.cjs.map +1 -0
- package/dist/chunk-RQQNZZAI.cjs +159 -0
- package/dist/chunk-RQQNZZAI.cjs.map +1 -0
- package/dist/{chunk-B2PAS2IB.cjs → chunk-S37KCGOR.cjs} +114 -82
- package/dist/chunk-S37KCGOR.cjs.map +1 -0
- package/dist/{chunk-RG473F6Y.js → chunk-SQ7KKIH3.js} +5 -3
- package/dist/chunk-SQ7KKIH3.js.map +1 -0
- package/dist/{chunk-5PQQ42EZ.js → chunk-UVOSITKU.js} +6 -4
- package/dist/chunk-UVOSITKU.js.map +1 -0
- package/dist/{chunk-CRCR3ZUK.js → chunk-Y3J45CVZ.js} +6 -4
- package/dist/chunk-Y3J45CVZ.js.map +1 -0
- package/dist/{chunk-LRCAAFUA.js → chunk-YS66MFDY.js} +7 -5
- package/dist/chunk-YS66MFDY.js.map +1 -0
- package/dist/chunk-ZKJZQN24.js +571 -0
- package/dist/chunk-ZKJZQN24.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/server/a2a/protocol.d.ts +8 -0
- package/dist/server/a2a/protocol.d.ts.map +1 -0
- package/dist/server/a2a/store.cjs +25 -0
- package/dist/server/a2a/store.cjs.map +1 -0
- package/dist/server/a2a/store.d.ts +14 -0
- package/dist/server/a2a/store.d.ts.map +1 -0
- package/dist/server/a2a/store.js +23 -0
- package/dist/server/a2a/store.js.map +1 -0
- package/dist/server/a2a/tasks.d.ts +20 -0
- package/dist/server/a2a/tasks.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +13 -11
- package/dist/server/handlers/a2a.cjs.map +1 -0
- package/dist/server/handlers/a2a.d.ts +68 -6
- package/dist/server/handlers/a2a.d.ts.map +1 -0
- package/dist/server/handlers/a2a.js +3 -1
- package/dist/server/handlers/a2a.js.map +1 -0
- package/dist/server/handlers/agents.cjs +21 -7
- package/dist/server/handlers/agents.cjs.map +1 -0
- package/dist/server/handlers/agents.d.ts +90 -6
- package/dist/server/handlers/agents.d.ts.map +1 -0
- package/dist/server/handlers/agents.js +3 -1
- package/dist/server/handlers/agents.js.map +1 -0
- package/dist/server/handlers/error.cjs +4 -2
- package/dist/server/handlers/error.cjs.map +1 -0
- package/dist/server/handlers/error.d.ts +2 -1
- package/dist/server/handlers/error.d.ts.map +1 -0
- package/dist/server/handlers/error.js +3 -1
- package/dist/server/handlers/error.js.map +1 -0
- package/dist/server/handlers/legacyWorkflows.cjs +13 -11
- package/dist/server/handlers/legacyWorkflows.cjs.map +1 -0
- package/dist/server/handlers/legacyWorkflows.d.ts +59 -10
- package/dist/server/handlers/legacyWorkflows.d.ts.map +1 -0
- package/dist/server/handlers/legacyWorkflows.js +3 -1
- package/dist/server/handlers/legacyWorkflows.js.map +1 -0
- package/dist/server/handlers/logs.cjs +6 -4
- package/dist/server/handlers/logs.cjs.map +1 -0
- package/dist/server/handlers/logs.d.ts +34 -3
- package/dist/server/handlers/logs.d.ts.map +1 -0
- package/dist/server/handlers/logs.js +3 -1
- package/dist/server/handlers/logs.js.map +1 -0
- package/dist/server/handlers/memory.cjs +39 -9
- package/dist/server/handlers/memory.cjs.map +1 -0
- package/dist/server/handlers/memory.d.ts +119 -8
- package/dist/server/handlers/memory.d.ts.map +1 -0
- package/dist/server/handlers/memory.js +3 -1
- package/dist/server/handlers/memory.js.map +1 -0
- package/dist/server/handlers/network.cjs +7 -5
- package/dist/server/handlers/network.cjs.map +1 -0
- package/dist/server/handlers/network.d.ts +50 -4
- package/dist/server/handlers/network.d.ts.map +1 -0
- package/dist/server/handlers/network.js +3 -1
- package/dist/server/handlers/network.js.map +1 -0
- package/dist/server/handlers/scores.cjs +32 -0
- package/dist/server/handlers/scores.cjs.map +1 -0
- package/dist/server/handlers/scores.d.ts +49 -0
- package/dist/server/handlers/scores.d.ts.map +1 -0
- package/dist/server/handlers/scores.js +3 -0
- package/dist/server/handlers/scores.js.map +1 -0
- package/dist/server/handlers/telemetry.cjs +5 -3
- package/dist/server/handlers/telemetry.cjs.map +1 -0
- package/dist/server/handlers/telemetry.d.ts +32 -2
- package/dist/server/handlers/telemetry.d.ts.map +1 -0
- package/dist/server/handlers/telemetry.js +3 -1
- package/dist/server/handlers/telemetry.js.map +1 -0
- package/dist/server/handlers/tools.cjs +7 -5
- package/dist/server/handlers/tools.cjs.map +1 -0
- package/dist/server/handlers/tools.d.ts +21 -4
- package/dist/server/handlers/tools.d.ts.map +1 -0
- package/dist/server/handlers/tools.js +3 -1
- package/dist/server/handlers/tools.js.map +1 -0
- package/dist/server/handlers/utils.cjs +4 -2
- package/dist/server/handlers/utils.cjs.map +1 -0
- package/dist/server/handlers/utils.d.ts +2 -1
- package/dist/server/handlers/utils.d.ts.map +1 -0
- package/dist/server/handlers/utils.js +3 -1
- package/dist/server/handlers/utils.js.map +1 -0
- package/dist/server/handlers/vNextNetwork.cjs +25 -23
- package/dist/server/handlers/vNextNetwork.cjs.map +1 -0
- package/dist/server/handlers/vNextNetwork.d.ts +179 -6
- package/dist/server/handlers/vNextNetwork.d.ts.map +1 -0
- package/dist/server/handlers/vNextNetwork.js +6 -4
- package/dist/server/handlers/vNextNetwork.js.map +1 -0
- package/dist/server/handlers/vector.cjs +9 -7
- package/dist/server/handlers/vector.cjs.map +1 -0
- package/dist/server/handlers/vector.d.ts +51 -6
- package/dist/server/handlers/vector.d.ts.map +1 -0
- package/dist/server/handlers/vector.js +3 -1
- package/dist/server/handlers/vector.js.map +1 -0
- package/dist/server/handlers/voice.cjs +7 -5
- package/dist/server/handlers/voice.cjs.map +1 -0
- package/dist/server/handlers/voice.d.ts +39 -4
- package/dist/server/handlers/voice.d.ts.map +1 -0
- package/dist/server/handlers/voice.js +3 -1
- package/dist/server/handlers/voice.js.map +1 -0
- package/dist/server/handlers/workflows.cjs +21 -15
- package/dist/server/handlers/workflows.cjs.map +1 -0
- package/dist/server/handlers/workflows.d.ts +88 -14
- package/dist/server/handlers/workflows.d.ts.map +1 -0
- package/dist/server/handlers/workflows.js +3 -1
- package/dist/server/handlers/workflows.js.map +1 -0
- package/dist/server/handlers.cjs +38 -31
- package/dist/server/handlers.cjs.map +1 -0
- package/dist/server/handlers.d.ts +13 -11
- package/dist/server/handlers.d.ts.map +1 -0
- package/dist/server/handlers.js +14 -11
- package/dist/server/handlers.js.map +1 -0
- package/dist/server/http-exception.d.ts +87 -0
- package/dist/server/http-exception.d.ts.map +1 -0
- package/dist/server/types.d.ts +10 -0
- package/dist/server/types.d.ts.map +1 -0
- package/package.json +22 -10
- package/dist/_tsup-dts-rollup.d.cts +0 -1078
- package/dist/_tsup-dts-rollup.d.ts +0 -1078
- package/dist/chunk-DN7K6FJK.cjs +0 -251
- package/dist/chunk-MKLYEKEF.js +0 -241
- package/dist/index.d.cts +0 -1
- package/dist/server/handlers/a2a.d.cts +0 -6
- package/dist/server/handlers/agents.d.cts +0 -6
- package/dist/server/handlers/error.d.cts +0 -1
- package/dist/server/handlers/legacyWorkflows.d.cts +0 -10
- package/dist/server/handlers/logs.d.cts +0 -3
- package/dist/server/handlers/memory.d.cts +0 -8
- package/dist/server/handlers/network.d.cts +0 -4
- package/dist/server/handlers/telemetry.d.cts +0 -2
- package/dist/server/handlers/tools.d.cts +0 -4
- package/dist/server/handlers/utils.d.cts +0 -1
- package/dist/server/handlers/vNextNetwork.d.cts +0 -6
- package/dist/server/handlers/vector.d.cts +0 -6
- package/dist/server/handlers/voice.d.cts +0 -4
- package/dist/server/handlers/workflows.d.cts +0 -14
- package/dist/server/handlers.d.cts +0 -11
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { JSONRPCError, JSONRPCResponse, Message } from '@mastra/core/a2a';
|
|
2
|
+
import type { CoreMessage } from '@mastra/core/llm';
|
|
3
|
+
import type { IMastraLogger } from '@mastra/core/logger';
|
|
4
|
+
export declare function normalizeError(error: any, reqId: number | string | null, taskId?: string, logger?: IMastraLogger): JSONRPCResponse<null, unknown>;
|
|
5
|
+
export declare function createErrorResponse(id: number | string | null, error: JSONRPCError<unknown>): JSONRPCResponse<null, unknown>;
|
|
6
|
+
export declare function createSuccessResponse<T>(id: number | string | null, result: T): JSONRPCResponse<T>;
|
|
7
|
+
export declare function convertToCoreMessage(message: Message): CoreMessage;
|
|
8
|
+
//# sourceMappingURL=protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../src/server/a2a/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAQ,MAAM,kBAAkB,CAAC;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,wBAAgB,cAAc,CAC5B,KAAK,EAAE,GAAG,EACV,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAC7B,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,aAAa,GACrB,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAoBhC;AAED,wBAAgB,mBAAmB,CACjC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAC1B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,GAC3B,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAOhC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAWlG;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CAKlE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/server/a2a/store.ts
|
|
4
|
+
var InMemoryTaskStore = class {
|
|
5
|
+
store = /* @__PURE__ */ new Map();
|
|
6
|
+
activeCancellations = /* @__PURE__ */ new Set();
|
|
7
|
+
async load({ agentId, taskId }) {
|
|
8
|
+
const entry = this.store.get(`${agentId}-${taskId}`);
|
|
9
|
+
if (!entry) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
return { ...entry };
|
|
13
|
+
}
|
|
14
|
+
async save({ agentId, data }) {
|
|
15
|
+
const key = `${agentId}-${data.id}`;
|
|
16
|
+
if (!data.id) {
|
|
17
|
+
throw new Error("Task ID is required");
|
|
18
|
+
}
|
|
19
|
+
this.store.set(key, { ...data });
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.InMemoryTaskStore = InMemoryTaskStore;
|
|
24
|
+
//# sourceMappingURL=store.cjs.map
|
|
25
|
+
//# sourceMappingURL=store.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/a2a/store.ts"],"names":[],"mappings":";;;AAEO,IAAM,oBAAN,MAAwB;AAAA,EACrB,KAAA,uBAA+B,GAAA,EAAI;AAAA,EACpC,mBAAA,uBAA0B,GAAA,EAAY;AAAA,EAE7C,MAAM,IAAA,CAAK,EAAE,OAAA,EAAS,QAAO,EAA8D;AACzF,IAAA,MAAM,KAAA,GAAQ,KAAK,KAAA,CAAM,GAAA,CAAI,GAAG,OAAO,CAAA,CAAA,EAAI,MAAM,CAAA,CAAE,CAAA;AAEnD,IAAA,IAAI,CAAC,KAAA,EAAO;AACV,MAAA,OAAO,IAAA;AAAA,IACT;AAGA,IAAA,OAAO,EAAE,GAAG,KAAA,EAAM;AAAA,EACpB;AAAA,EAEA,MAAM,IAAA,CAAK,EAAE,OAAA,EAAS,MAAK,EAAmD;AAE5E,IAAA,MAAM,GAAA,GAAM,CAAA,EAAG,OAAO,CAAA,CAAA,EAAI,KAAK,EAAE,CAAA,CAAA;AACjC,IAAA,IAAI,CAAC,KAAK,EAAA,EAAI;AACZ,MAAA,MAAM,IAAI,MAAM,qBAAqB,CAAA;AAAA,IACvC;AACA,IAAA,IAAA,CAAK,MAAM,GAAA,CAAI,GAAA,EAAK,EAAE,GAAG,MAAM,CAAA;AAAA,EACjC;AACF","file":"store.cjs","sourcesContent":["import type { Task } from '@mastra/core/a2a';\n\nexport class InMemoryTaskStore {\n private store: Map<string, Task> = new Map();\n public activeCancellations = new Set<string>();\n\n async load({ agentId, taskId }: { agentId: string; taskId: string }): Promise<Task | null> {\n const entry = this.store.get(`${agentId}-${taskId}`);\n\n if (!entry) {\n return null;\n }\n\n // Return copies to prevent external mutation\n return { ...entry };\n }\n\n async save({ agentId, data }: { agentId: string; data: Task }): Promise<void> {\n // Store copies to prevent internal mutation if caller reuses objects\n const key = `${agentId}-${data.id}`;\n if (!data.id) {\n throw new Error('Task ID is required');\n }\n this.store.set(key, { ...data });\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Task } from '@mastra/core/a2a';
|
|
2
|
+
export declare class InMemoryTaskStore {
|
|
3
|
+
private store;
|
|
4
|
+
activeCancellations: Set<string>;
|
|
5
|
+
load({ agentId, taskId }: {
|
|
6
|
+
agentId: string;
|
|
7
|
+
taskId: string;
|
|
8
|
+
}): Promise<Task | null>;
|
|
9
|
+
save({ agentId, data }: {
|
|
10
|
+
agentId: string;
|
|
11
|
+
data: Task;
|
|
12
|
+
}): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/server/a2a/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,KAAK,CAAgC;IACtC,mBAAmB,cAAqB;IAEzC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;IAWpF,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,IAAI,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ9E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/server/a2a/store.ts
|
|
2
|
+
var InMemoryTaskStore = class {
|
|
3
|
+
store = /* @__PURE__ */ new Map();
|
|
4
|
+
activeCancellations = /* @__PURE__ */ new Set();
|
|
5
|
+
async load({ agentId, taskId }) {
|
|
6
|
+
const entry = this.store.get(`${agentId}-${taskId}`);
|
|
7
|
+
if (!entry) {
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
return { ...entry };
|
|
11
|
+
}
|
|
12
|
+
async save({ agentId, data }) {
|
|
13
|
+
const key = `${agentId}-${data.id}`;
|
|
14
|
+
if (!data.id) {
|
|
15
|
+
throw new Error("Task ID is required");
|
|
16
|
+
}
|
|
17
|
+
this.store.set(key, { ...data });
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { InMemoryTaskStore };
|
|
22
|
+
//# sourceMappingURL=store.js.map
|
|
23
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/a2a/store.ts"],"names":[],"mappings":";AAEO,IAAM,oBAAN,MAAwB;AAAA,EACrB,KAAA,uBAA+B,GAAA,EAAI;AAAA,EACpC,mBAAA,uBAA0B,GAAA,EAAY;AAAA,EAE7C,MAAM,IAAA,CAAK,EAAE,OAAA,EAAS,QAAO,EAA8D;AACzF,IAAA,MAAM,KAAA,GAAQ,KAAK,KAAA,CAAM,GAAA,CAAI,GAAG,OAAO,CAAA,CAAA,EAAI,MAAM,CAAA,CAAE,CAAA;AAEnD,IAAA,IAAI,CAAC,KAAA,EAAO;AACV,MAAA,OAAO,IAAA;AAAA,IACT;AAGA,IAAA,OAAO,EAAE,GAAG,KAAA,EAAM;AAAA,EACpB;AAAA,EAEA,MAAM,IAAA,CAAK,EAAE,OAAA,EAAS,MAAK,EAAmD;AAE5E,IAAA,MAAM,GAAA,GAAM,CAAA,EAAG,OAAO,CAAA,CAAA,EAAI,KAAK,EAAE,CAAA,CAAA;AACjC,IAAA,IAAI,CAAC,KAAK,EAAA,EAAI;AACZ,MAAA,MAAM,IAAI,MAAM,qBAAqB,CAAA;AAAA,IACvC;AACA,IAAA,IAAA,CAAK,MAAM,GAAA,CAAI,GAAA,EAAK,EAAE,GAAG,MAAM,CAAA;AAAA,EACjC;AACF","file":"store.js","sourcesContent":["import type { Task } from '@mastra/core/a2a';\n\nexport class InMemoryTaskStore {\n private store: Map<string, Task> = new Map();\n public activeCancellations = new Set<string>();\n\n async load({ agentId, taskId }: { agentId: string; taskId: string }): Promise<Task | null> {\n const entry = this.store.get(`${agentId}-${taskId}`);\n\n if (!entry) {\n return null;\n }\n\n // Return copies to prevent external mutation\n return { ...entry };\n }\n\n async save({ agentId, data }: { agentId: string; data: Task }): Promise<void> {\n // Store copies to prevent internal mutation if caller reuses objects\n const key = `${agentId}-${data.id}`;\n if (!data.id) {\n throw new Error('Task ID is required');\n }\n this.store.set(key, { ...data });\n }\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Message, Task, TaskStatus, TaskContext, TaskArtifactUpdateEvent } from '@mastra/core/a2a';
|
|
2
|
+
import type { IMastraLogger } from '@mastra/core/logger';
|
|
3
|
+
import type { InMemoryTaskStore } from './store.js';
|
|
4
|
+
export declare function applyUpdateToTask(current: Task, update: Omit<TaskStatus, 'timestamp'> | TaskArtifactUpdateEvent): Task;
|
|
5
|
+
export declare function loadOrCreateTask({ agentId, taskId, taskStore, message, contextId, metadata, logger, }: {
|
|
6
|
+
agentId: string;
|
|
7
|
+
taskId: string;
|
|
8
|
+
taskStore: InMemoryTaskStore;
|
|
9
|
+
message: Message;
|
|
10
|
+
contextId?: string;
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
logger?: IMastraLogger;
|
|
13
|
+
}): Promise<Task>;
|
|
14
|
+
export declare function createTaskContext({ task, userMessage, history, activeCancellations, }: {
|
|
15
|
+
task: Task;
|
|
16
|
+
userMessage: Message;
|
|
17
|
+
history: Message[];
|
|
18
|
+
activeCancellations: Set<string>;
|
|
19
|
+
}): TaskContext;
|
|
20
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/server/a2a/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EAEJ,UAAU,EACV,WAAW,EACX,uBAAuB,EAExB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAUjD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,IAAI,EACb,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,uBAAuB,GAC9D,IAAI,CA8CN;AAED,wBAAsB,gBAAgB,CAAC,EACrC,OAAO,EACP,MAAM,EACN,SAAS,EACT,OAAO,EACP,SAAS,EACT,QAAQ,EACR,MAAM,GACP,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoDhB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,WAAW,EACX,OAAO,EACP,mBAAmB,GACpB,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAClC,GAAG,WAAW,CAOd"}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKXNFZXLG_cjs = require('../../chunk-KXNFZXLG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getAgentCardByIdHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKXNFZXLG_cjs.getAgentCardByIdHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentExecutionHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkKXNFZXLG_cjs.getAgentExecutionHandler; }
|
|
14
14
|
});
|
|
15
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "handleMessageSend", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkKXNFZXLG_cjs.handleMessageSend; }
|
|
18
18
|
});
|
|
19
|
-
Object.defineProperty(exports, "
|
|
19
|
+
Object.defineProperty(exports, "handleMessageStream", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkKXNFZXLG_cjs.handleMessageStream; }
|
|
22
22
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
23
|
+
Object.defineProperty(exports, "handleTaskCancel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkKXNFZXLG_cjs.handleTaskCancel; }
|
|
26
26
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
27
|
+
Object.defineProperty(exports, "handleTaskGet", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkKXNFZXLG_cjs.handleTaskGet; }
|
|
30
30
|
});
|
|
31
|
+
//# sourceMappingURL=a2a.cjs.map
|
|
32
|
+
//# sourceMappingURL=a2a.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"a2a.cjs"}
|
|
@@ -1,6 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { MessageSendParams, TaskQueryParams, TaskIdParams, AgentCard } from '@mastra/core/a2a';
|
|
2
|
+
import type { Agent } from '@mastra/core/agent';
|
|
3
|
+
import type { IMastraLogger } from '@mastra/core/logger';
|
|
4
|
+
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
5
|
+
import type { InMemoryTaskStore } from '../a2a/store.js';
|
|
6
|
+
import type { Context } from '../types.js';
|
|
7
|
+
export declare function getAgentCardByIdHandler({ mastra, agentId, executionUrl, provider, version, runtimeContext, }: Context & {
|
|
8
|
+
runtimeContext: RuntimeContext;
|
|
9
|
+
agentId: keyof ReturnType<typeof mastra.getAgents>;
|
|
10
|
+
executionUrl?: string;
|
|
11
|
+
version?: string;
|
|
12
|
+
provider?: {
|
|
13
|
+
organization: string;
|
|
14
|
+
url: string;
|
|
15
|
+
};
|
|
16
|
+
}): Promise<AgentCard>;
|
|
17
|
+
export declare function handleMessageSend({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
18
|
+
requestId: string;
|
|
19
|
+
params: MessageSendParams;
|
|
20
|
+
taskStore: InMemoryTaskStore;
|
|
21
|
+
agent: Agent;
|
|
22
|
+
agentId: string;
|
|
23
|
+
logger?: IMastraLogger;
|
|
24
|
+
runtimeContext: RuntimeContext;
|
|
25
|
+
}): Promise<import("@mastra/core/a2a").JSONRPCResponse<null, unknown> | import("@mastra/core/a2a").JSONRPCResponse<import("@a2a-js/sdk").Task, unknown>>;
|
|
26
|
+
export declare function handleTaskGet({ requestId, taskStore, agentId, taskId, }: {
|
|
27
|
+
requestId: string;
|
|
28
|
+
taskStore: InMemoryTaskStore;
|
|
29
|
+
agentId: string;
|
|
30
|
+
taskId: string;
|
|
31
|
+
}): Promise<import("@mastra/core/a2a").JSONRPCResponse<import("@a2a-js/sdk").Task, unknown>>;
|
|
32
|
+
export declare function handleMessageStream({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
33
|
+
requestId: string;
|
|
34
|
+
params: MessageSendParams;
|
|
35
|
+
taskStore: InMemoryTaskStore;
|
|
36
|
+
agent: Agent;
|
|
37
|
+
agentId: string;
|
|
38
|
+
logger?: IMastraLogger;
|
|
39
|
+
runtimeContext: RuntimeContext;
|
|
40
|
+
}): AsyncGenerator<import("@mastra/core/a2a").JSONRPCResponse<null, unknown> | import("@mastra/core/a2a").JSONRPCResponse<import("@a2a-js/sdk").Task, unknown> | import("@mastra/core/a2a").JSONRPCResponse<{
|
|
41
|
+
state: string;
|
|
42
|
+
message: {
|
|
43
|
+
messageId: `${string}-${string}-${string}-${string}-${string}`;
|
|
44
|
+
kind: string;
|
|
45
|
+
role: string;
|
|
46
|
+
parts: {
|
|
47
|
+
kind: string;
|
|
48
|
+
text: string;
|
|
49
|
+
}[];
|
|
50
|
+
};
|
|
51
|
+
}, unknown>, void, unknown>;
|
|
52
|
+
export declare function handleTaskCancel({ requestId, taskStore, agentId, taskId, logger, }: {
|
|
53
|
+
requestId: string;
|
|
54
|
+
taskStore: InMemoryTaskStore;
|
|
55
|
+
agentId: string;
|
|
56
|
+
taskId: string;
|
|
57
|
+
logger?: IMastraLogger;
|
|
58
|
+
}): Promise<import("@mastra/core/a2a").JSONRPCResponse<import("@a2a-js/sdk").Task, unknown>>;
|
|
59
|
+
export declare function getAgentExecutionHandler({ requestId, mastra, agentId, runtimeContext, method, params, taskStore, logger, }: Context & {
|
|
60
|
+
requestId: string;
|
|
61
|
+
runtimeContext: RuntimeContext;
|
|
62
|
+
agentId: string;
|
|
63
|
+
method: 'message/send' | 'message/stream' | 'tasks/get' | 'tasks/cancel';
|
|
64
|
+
params: MessageSendParams | TaskQueryParams | TaskIdParams;
|
|
65
|
+
taskStore: InMemoryTaskStore;
|
|
66
|
+
logger?: IMastraLogger;
|
|
67
|
+
}): Promise<any>;
|
|
68
|
+
//# sourceMappingURL=a2a.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a2a.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/a2a.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,SAAS,EAGV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAGnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAqBxC,wBAAsB,uBAAuB,CAAC,EAC5C,MAAM,EACN,OAAO,EACP,YAAgC,EAChC,QAGC,EACD,OAAe,EACf,cAAc,GACf,EAAE,OAAO,GAAG;IACX,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,UAAU,CAAC,OAAO,MAAM,CAAC,SAAS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,MAAM,GACP,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,4FA2CA;AAED,wBAAsB,wBAAwB,CAAC,EAC7C,SAAS,EACT,MAAM,EACN,OAAO,EACP,cAAc,EACd,MAAM,EACN,MAAM,EACN,SAAS,EACT,MAAM,GACP,EAAE,OAAO,GAAG;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,cAAc,GAAG,gBAAgB,GAAG,WAAW,GAAG,cAAc,CAAC;IACzE,MAAM,EAAE,iBAAiB,GAAG,eAAe,GAAG,YAAY,CAAC;IAC3D,SAAS,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,GAAG,OAAO,CAAC,GAAG,CAAC,CAgEf"}
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export { getAgentCardByIdHandler, getAgentExecutionHandler,
|
|
1
|
+
export { getAgentCardByIdHandler, getAgentExecutionHandler, handleMessageSend, handleMessageStream, handleTaskCancel, handleTaskGet } from '../../chunk-JNWFG7JP.js';
|
|
2
|
+
//# sourceMappingURL=a2a.js.map
|
|
3
|
+
//# sourceMappingURL=a2a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"a2a.js"}
|
|
@@ -1,30 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEBNIUZRY_cjs = require('../../chunk-EBNIUZRY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "generateHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEBNIUZRY_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEBNIUZRY_cjs.getAgentByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEBNIUZRY_cjs.getAgentsHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEBNIUZRY_cjs.getEvalsByAgentIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEBNIUZRY_cjs.getLiveEvalsByAgentIdHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "getSerializedAgentTools", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkEBNIUZRY_cjs.getSerializedAgentTools; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEBNIUZRY_cjs.streamGenerateHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "streamVNextGenerateHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkEBNIUZRY_cjs.streamVNextGenerateHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "updateAgentModelHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkEBNIUZRY_cjs.updateAgentModelHandler; }
|
|
30
42
|
});
|
|
43
|
+
//# sourceMappingURL=agents.cjs.map
|
|
44
|
+
//# sourceMappingURL=agents.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agents.cjs"}
|
|
@@ -1,6 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { Agent, MastraLanguageModel } from '@mastra/core/agent';
|
|
2
|
+
import { RuntimeContext } from '@mastra/core/runtime-context';
|
|
3
|
+
import type { Context } from '../types.js';
|
|
4
|
+
type GetBody<T extends keyof Agent & {
|
|
5
|
+
[K in keyof Agent]: Agent[K] extends (...args: any) => any ? K : never;
|
|
6
|
+
}[keyof Agent]> = {
|
|
7
|
+
messages: Parameters<Agent[T]>[0];
|
|
8
|
+
} & Parameters<Agent[T]>[1];
|
|
9
|
+
export declare function getSerializedAgentTools(tools: Record<string, any>): Promise<any>;
|
|
10
|
+
export declare function getAgentsHandler({ mastra, runtimeContext }: Context & {
|
|
11
|
+
runtimeContext: RuntimeContext;
|
|
12
|
+
}): Promise<Record<string, Omit<{
|
|
13
|
+
id: string;
|
|
14
|
+
name: any;
|
|
15
|
+
instructions: string;
|
|
16
|
+
tools: any;
|
|
17
|
+
workflows: {};
|
|
18
|
+
provider: string;
|
|
19
|
+
modelId: string;
|
|
20
|
+
defaultGenerateOptions: any;
|
|
21
|
+
defaultStreamOptions: any;
|
|
22
|
+
}, "id">>>;
|
|
23
|
+
export declare function getAgentByIdHandler({ mastra, runtimeContext, agentId, isPlayground, }: Context & {
|
|
24
|
+
isPlayground?: boolean;
|
|
25
|
+
runtimeContext: RuntimeContext;
|
|
26
|
+
agentId: string;
|
|
27
|
+
}): Promise<{
|
|
28
|
+
name: any;
|
|
29
|
+
instructions: string;
|
|
30
|
+
tools: any;
|
|
31
|
+
workflows: {};
|
|
32
|
+
provider: string;
|
|
33
|
+
modelId: string;
|
|
34
|
+
defaultGenerateOptions: any;
|
|
35
|
+
defaultStreamOptions: any;
|
|
36
|
+
}>;
|
|
37
|
+
export declare function getEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
38
|
+
runtimeContext: RuntimeContext;
|
|
39
|
+
agentId: string;
|
|
40
|
+
}): Promise<{
|
|
41
|
+
id: string;
|
|
42
|
+
name: any;
|
|
43
|
+
instructions: string;
|
|
44
|
+
evals: import("@mastra/core").EvalRow[];
|
|
45
|
+
}>;
|
|
46
|
+
export declare function getLiveEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
47
|
+
runtimeContext: RuntimeContext;
|
|
48
|
+
agentId: string;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
id: string;
|
|
51
|
+
name: any;
|
|
52
|
+
instructions: string;
|
|
53
|
+
evals: import("@mastra/core").EvalRow[];
|
|
54
|
+
}>;
|
|
55
|
+
export declare function generateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
56
|
+
runtimeContext: RuntimeContext;
|
|
57
|
+
agentId: string;
|
|
58
|
+
body: GetBody<'generate'> & {
|
|
59
|
+
resourceid?: string;
|
|
60
|
+
runtimeContext?: Record<string, unknown>;
|
|
61
|
+
};
|
|
62
|
+
abortSignal?: AbortSignal;
|
|
63
|
+
}): Promise<import("@mastra/core").GenerateTextResult<any, undefined>>;
|
|
64
|
+
export declare function streamGenerateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
65
|
+
runtimeContext: RuntimeContext;
|
|
66
|
+
agentId: string;
|
|
67
|
+
body: GetBody<'stream'> & {
|
|
68
|
+
resourceid?: string;
|
|
69
|
+
runtimeContext?: string;
|
|
70
|
+
};
|
|
71
|
+
abortSignal?: AbortSignal;
|
|
72
|
+
}): Promise<Response | undefined>;
|
|
73
|
+
export declare function streamVNextGenerateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
74
|
+
runtimeContext: RuntimeContext;
|
|
75
|
+
agentId: string;
|
|
76
|
+
body: GetBody<'streamVNext'> & {
|
|
77
|
+
runtimeContext?: string;
|
|
78
|
+
};
|
|
79
|
+
abortSignal?: AbortSignal;
|
|
80
|
+
}): ReturnType<Agent['streamVNext']>;
|
|
81
|
+
export declare function updateAgentModelHandler({ mastra, agentId, body, }: Context & {
|
|
82
|
+
agentId: string;
|
|
83
|
+
body: {
|
|
84
|
+
model: MastraLanguageModel;
|
|
85
|
+
};
|
|
86
|
+
}): {
|
|
87
|
+
message: string;
|
|
88
|
+
};
|
|
89
|
+
export {};
|
|
90
|
+
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKxC,KAAK,OAAO,CACV,CAAC,SAAS,MAAM,KAAK,GAAG;KAAG,CAAC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,GAAG,CAAC,GAAG,KAAK;CAAE,CAAC,MAAM,KAAK,CAAC,IAC7G;IACF,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5B,wBAAsB,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAkCvE;AAGD,wBAAsB,gBAAgB,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,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AE,OAAO,CAAC,QAAQ,CAAC,GAAG;QAExB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAgDhC;AAED,wBAAgB,0BAA0B,CAAC,EACzC,MAAM,EACN,cAAc,EACd,OAAO,EACP,IAAI,EACJ,WAAW,GACZ,EAAE,OAAO,GAAG;IACX,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG;QAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,UAAU,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CA0BnC;AAED,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,OAAO,EACP,IAAI,GACL,EAAE,OAAO,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,KAAK,EAAE,mBAAmB,CAAC;KAC5B,CAAC;CACH,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAgBtB"}
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, getSerializedAgentTools, streamGenerateHandler, streamVNextGenerateHandler, updateAgentModelHandler } from '../../chunk-5AKR33BI.js';
|
|
2
|
+
//# sourceMappingURL=agents.js.map
|
|
3
|
+
//# sourceMappingURL=agents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agents.js"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRE4RPXT2_cjs = require('../../chunk-RE4RPXT2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "handleError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRE4RPXT2_cjs.handleError; }
|
|
10
10
|
});
|
|
11
|
+
//# sourceMappingURL=error.cjs.map
|
|
12
|
+
//# sourceMappingURL=error.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"error.cjs"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function handleError(error: unknown, defaultMessage: string): never;
|
|
2
|
+
//# sourceMappingURL=error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/error.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,KAAK,CAUzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"error.js"}
|
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJGVY3KWV_cjs = require('../../chunk-JGVY3KWV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createLegacyWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJGVY3KWV_cjs.createLegacyWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getLegacyWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJGVY3KWV_cjs.getLegacyWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getLegacyWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJGVY3KWV_cjs.getLegacyWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getLegacyWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJGVY3KWV_cjs.getLegacyWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLegacyWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkJGVY3KWV_cjs.getLegacyWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncLegacyWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkJGVY3KWV_cjs.resumeAsyncLegacyWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeLegacyWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkJGVY3KWV_cjs.resumeLegacyWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncLegacyWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkJGVY3KWV_cjs.startAsyncLegacyWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startLegacyWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkJGVY3KWV_cjs.startLegacyWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchLegacyWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkJGVY3KWV_cjs.watchLegacyWorkflowHandler; }
|
|
46
46
|
});
|
|
47
|
+
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
48
|
+
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"legacyWorkflows.cjs"}
|
|
@@ -1,10 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export {
|
|
1
|
+
import { ReadableStream } from 'node:stream/web';
|
|
2
|
+
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
3
|
+
import type { LegacyWorkflowRuns } from '@mastra/core/storage';
|
|
4
|
+
import type { LegacyWorkflow } from '@mastra/core/workflows/legacy';
|
|
5
|
+
import type { Context } from '../types.js';
|
|
6
|
+
interface WorkflowContext extends Context {
|
|
7
|
+
workflowId?: string;
|
|
8
|
+
runId?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function getLegacyWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
11
|
+
export declare function getLegacyWorkflowByIdHandler({ mastra, workflowId }: WorkflowContext): Promise<{
|
|
12
|
+
stepGraph: import("@mastra/core/workflows/legacy").StepGraph;
|
|
13
|
+
stepSubscriberGraph: Record<string, import("@mastra/core/workflows/legacy").StepGraph>;
|
|
14
|
+
serializedStepGraph: import("@mastra/core/workflows/legacy").StepGraph;
|
|
15
|
+
serializedStepSubscriberGraph: Record<string, import("@mastra/core/workflows/legacy").StepGraph>;
|
|
16
|
+
name: string;
|
|
17
|
+
triggerSchema: string | undefined;
|
|
18
|
+
steps: any;
|
|
19
|
+
}>;
|
|
20
|
+
export declare function startAsyncLegacyWorkflowHandler({ mastra, runtimeContext, workflowId, runId, triggerData, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
21
|
+
triggerData?: unknown;
|
|
22
|
+
runtimeContext: RuntimeContext;
|
|
23
|
+
}): Promise<import("@mastra/core/workflows/legacy").LegacyWorkflowRunResult<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, import("@mastra/core/workflows/legacy").StepExecutionContext<any, import("@mastra/core/workflows/legacy").WorkflowContext<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, any>[], Record<string, any>>>>[], any>>;
|
|
24
|
+
export declare function getLegacyWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<LegacyWorkflow['getRun']>>;
|
|
25
|
+
export declare function createLegacyWorkflowRunHandler({ mastra, workflowId, runId: prevRunId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<{
|
|
26
|
+
runId: string;
|
|
27
|
+
}>;
|
|
28
|
+
export declare function startLegacyWorkflowRunHandler({ mastra, runtimeContext, workflowId, runId, triggerData, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
29
|
+
triggerData?: unknown;
|
|
30
|
+
runtimeContext: RuntimeContext;
|
|
31
|
+
}): Promise<{
|
|
32
|
+
message: string;
|
|
33
|
+
}>;
|
|
34
|
+
export declare function watchLegacyWorkflowHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReadableStream<string>>;
|
|
35
|
+
export declare function resumeAsyncLegacyWorkflowHandler({ mastra, workflowId, runId, body, runtimeContext, }: WorkflowContext & {
|
|
36
|
+
body: {
|
|
37
|
+
stepId: string;
|
|
38
|
+
context: any;
|
|
39
|
+
};
|
|
40
|
+
runtimeContext: RuntimeContext;
|
|
41
|
+
}): Promise<Omit<import("@mastra/core/workflows/legacy").LegacyWorkflowRunResult<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, import("@mastra/core/workflows/legacy").StepExecutionContext<any, import("@mastra/core/workflows/legacy").WorkflowContext<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, any>[], Record<string, any>>>>[], any>, "runId"> | undefined>;
|
|
42
|
+
export declare function resumeLegacyWorkflowHandler({ mastra, workflowId, runId, body, runtimeContext, }: WorkflowContext & {
|
|
43
|
+
body: {
|
|
44
|
+
stepId: string;
|
|
45
|
+
context: any;
|
|
46
|
+
};
|
|
47
|
+
runtimeContext: RuntimeContext;
|
|
48
|
+
}): Promise<{
|
|
49
|
+
message: string;
|
|
50
|
+
}>;
|
|
51
|
+
export declare function getLegacyWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
|
|
52
|
+
fromDate?: Date;
|
|
53
|
+
toDate?: Date;
|
|
54
|
+
limit?: number;
|
|
55
|
+
offset?: number;
|
|
56
|
+
resourceId?: string;
|
|
57
|
+
}): Promise<LegacyWorkflowRuns>;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=legacyWorkflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacyWorkflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/legacyWorkflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAIpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,UAAU,eAAgB,SAAQ,OAAO;IACvC,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