@mastra/server 0.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/LICENSE +44 -0
  2. package/README.md +159 -0
  3. package/dist/_tsup-dts-rollup.d.cts +592 -0
  4. package/dist/_tsup-dts-rollup.d.ts +592 -0
  5. package/dist/chunk-2FJURXCL.cjs +213 -0
  6. package/dist/chunk-2JQC6JWP.js +46 -0
  7. package/dist/chunk-2YONKUWB.js +117 -0
  8. package/dist/chunk-3AHQ5RGN.js +11 -0
  9. package/dist/chunk-3RVHWGWO.js +95 -0
  10. package/dist/chunk-4C3EPMMF.cjs +122 -0
  11. package/dist/chunk-4JINXASC.js +120 -0
  12. package/dist/chunk-5JOF627H.cjs +123 -0
  13. package/dist/chunk-5MCUD7TP.js +142 -0
  14. package/dist/chunk-5WF7YIIE.cjs +150 -0
  15. package/dist/chunk-A4DCRMIV.js +125 -0
  16. package/dist/chunk-A7DF4ETD.cjs +100 -0
  17. package/dist/chunk-FV45V6WC.cjs +43 -0
  18. package/dist/chunk-L7XE5QTW.js +16 -0
  19. package/dist/chunk-M56ECCHK.cjs +128 -0
  20. package/dist/chunk-QH6XWSXP.cjs +5579 -0
  21. package/dist/chunk-QN4KF3BH.cjs +18 -0
  22. package/dist/chunk-RBQASTUP.js +203 -0
  23. package/dist/chunk-S6GTZWMY.js +275 -0
  24. package/dist/chunk-SKKC3EDG.cjs +286 -0
  25. package/dist/chunk-TRDNDNGQ.js +40 -0
  26. package/dist/chunk-VB7KH62D.cjs +51 -0
  27. package/dist/chunk-VK6FX47H.js +5576 -0
  28. package/dist/chunk-YCJ2OJTL.cjs +129 -0
  29. package/dist/chunk-YNSGUC2O.js +116 -0
  30. package/dist/chunk-ZLBRQFDD.cjs +13 -0
  31. package/dist/index.cjs +2 -0
  32. package/dist/index.d.cts +1 -0
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.js +1 -0
  35. package/dist/server/handlers/agents.cjs +30 -0
  36. package/dist/server/handlers/agents.d.cts +6 -0
  37. package/dist/server/handlers/agents.d.ts +6 -0
  38. package/dist/server/handlers/agents.js +1 -0
  39. package/dist/server/handlers/error.cjs +10 -0
  40. package/dist/server/handlers/error.d.cts +1 -0
  41. package/dist/server/handlers/error.d.ts +1 -0
  42. package/dist/server/handlers/error.js +1 -0
  43. package/dist/server/handlers/logs.cjs +18 -0
  44. package/dist/server/handlers/logs.d.cts +3 -0
  45. package/dist/server/handlers/logs.d.ts +3 -0
  46. package/dist/server/handlers/logs.js +1 -0
  47. package/dist/server/handlers/memory.cjs +38 -0
  48. package/dist/server/handlers/memory.d.cts +8 -0
  49. package/dist/server/handlers/memory.d.ts +8 -0
  50. package/dist/server/handlers/memory.js +1 -0
  51. package/dist/server/handlers/network.cjs +22 -0
  52. package/dist/server/handlers/network.d.cts +4 -0
  53. package/dist/server/handlers/network.d.ts +4 -0
  54. package/dist/server/handlers/network.js +1 -0
  55. package/dist/server/handlers/telemetry.cjs +14 -0
  56. package/dist/server/handlers/telemetry.d.cts +2 -0
  57. package/dist/server/handlers/telemetry.d.ts +2 -0
  58. package/dist/server/handlers/telemetry.js +1 -0
  59. package/dist/server/handlers/tools.cjs +22 -0
  60. package/dist/server/handlers/tools.d.cts +4 -0
  61. package/dist/server/handlers/tools.d.ts +4 -0
  62. package/dist/server/handlers/tools.js +1 -0
  63. package/dist/server/handlers/utils.cjs +10 -0
  64. package/dist/server/handlers/utils.d.cts +1 -0
  65. package/dist/server/handlers/utils.d.ts +1 -0
  66. package/dist/server/handlers/utils.js +1 -0
  67. package/dist/server/handlers/vector.cjs +30 -0
  68. package/dist/server/handlers/vector.d.cts +6 -0
  69. package/dist/server/handlers/vector.d.ts +6 -0
  70. package/dist/server/handlers/vector.js +1 -0
  71. package/dist/server/handlers/voice.cjs +18 -0
  72. package/dist/server/handlers/voice.d.cts +3 -0
  73. package/dist/server/handlers/voice.d.ts +3 -0
  74. package/dist/server/handlers/voice.js +1 -0
  75. package/dist/server/handlers/workflows.cjs +42 -0
  76. package/dist/server/handlers/workflows.d.cts +9 -0
  77. package/dist/server/handlers/workflows.d.ts +9 -0
  78. package/dist/server/handlers/workflows.js +1 -0
  79. package/dist/server/handlers.cjs +50 -0
  80. package/dist/server/handlers.d.cts +9 -0
  81. package/dist/server/handlers.d.ts +9 -0
  82. package/dist/server/handlers.js +9 -0
  83. package/package.json +71 -0
@@ -0,0 +1,129 @@
1
+ 'use strict';
2
+
3
+ var chunkZLBRQFDD_cjs = require('./chunk-ZLBRQFDD.cjs');
4
+ var chunkFV45V6WC_cjs = require('./chunk-FV45V6WC.cjs');
5
+ var storage = require('@mastra/core/storage');
6
+
7
+ // src/server/handlers/telemetry.ts
8
+ var telemetry_exports = {};
9
+ chunkFV45V6WC_cjs.__export(telemetry_exports, {
10
+ getTelemetryHandler: () => getTelemetryHandler,
11
+ storeTelemetryHandler: () => storeTelemetryHandler
12
+ });
13
+ async function getTelemetryHandler({ mastra, body }) {
14
+ try {
15
+ const telemetry = mastra.getTelemetry();
16
+ const storage = mastra.getStorage();
17
+ if (!telemetry) {
18
+ throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Telemetry is not initialized" });
19
+ }
20
+ if (!storage) {
21
+ throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Storage is not initialized" });
22
+ }
23
+ if (!body) {
24
+ throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Body is required" });
25
+ }
26
+ const { name, scope, page, perPage, attribute } = body;
27
+ const attributes = attribute ? Object.fromEntries(
28
+ (Array.isArray(attribute) ? attribute : [attribute]).map((attr) => {
29
+ const [key, value] = attr.split(":");
30
+ return [key, value];
31
+ })
32
+ ) : void 0;
33
+ const traces = await storage.getTraces({
34
+ name,
35
+ scope,
36
+ page: Number(page ?? 0),
37
+ perPage: Number(perPage ?? 100),
38
+ attributes
39
+ });
40
+ return { traces };
41
+ } catch (error2) {
42
+ return chunkZLBRQFDD_cjs.handleError(error2, "Error getting telemetry");
43
+ }
44
+ }
45
+ async function storeTelemetryHandler({ mastra, body }) {
46
+ try {
47
+ const storage$1 = mastra.getStorage();
48
+ if (!storage$1) {
49
+ throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Storage is not initialized" });
50
+ }
51
+ const now = /* @__PURE__ */ new Date();
52
+ const items = body?.resourceSpans?.[0]?.scopeSpans;
53
+ const allSpans = items.reduce((acc, scopedSpans) => {
54
+ const { scope, spans } = scopedSpans;
55
+ for (const span of spans) {
56
+ const {
57
+ spanId,
58
+ parentSpanId,
59
+ traceId,
60
+ name,
61
+ kind,
62
+ attributes,
63
+ status,
64
+ events,
65
+ links,
66
+ startTimeUnixNano,
67
+ endTimeUnixNano,
68
+ ...rest
69
+ } = span;
70
+ const startTime = Number(BigInt(startTimeUnixNano) / 1000n);
71
+ const endTime = Number(BigInt(endTimeUnixNano) / 1000n);
72
+ acc.push({
73
+ id: spanId,
74
+ parentSpanId,
75
+ traceId,
76
+ name,
77
+ scope: scope.name,
78
+ kind,
79
+ status: JSON.stringify(status),
80
+ events: JSON.stringify(events),
81
+ links: JSON.stringify(links),
82
+ attributes: JSON.stringify(
83
+ attributes.reduce((acc2, attr) => {
84
+ const valueKey = Object.keys(attr.value)[0];
85
+ if (valueKey) {
86
+ acc2[attr.key] = attr.value[valueKey];
87
+ }
88
+ return acc2;
89
+ }, {})
90
+ ),
91
+ startTime,
92
+ endTime,
93
+ other: JSON.stringify(rest),
94
+ createdAt: now
95
+ });
96
+ }
97
+ return acc;
98
+ }, []);
99
+ return storage$1.__batchInsert({
100
+ tableName: storage.TABLE_TRACES,
101
+ records: allSpans
102
+ }).then(() => {
103
+ return {
104
+ status: "success",
105
+ message: "Traces received and processed successfully",
106
+ traceCount: body.resourceSpans?.length || 0
107
+ };
108
+ }).catch(() => {
109
+ return {
110
+ status: "error",
111
+ message: "Failed to process traces",
112
+ // @ts-ignore
113
+ error: error.message
114
+ };
115
+ });
116
+ } catch (error2) {
117
+ console.error("Error processing traces:", error2);
118
+ return {
119
+ status: "error",
120
+ message: "Failed to process traces",
121
+ // @ts-ignore
122
+ error: error2.message
123
+ };
124
+ }
125
+ }
126
+
127
+ exports.getTelemetryHandler = getTelemetryHandler;
128
+ exports.storeTelemetryHandler = storeTelemetryHandler;
129
+ exports.telemetry_exports = telemetry_exports;
@@ -0,0 +1,116 @@
1
+ import { stringify, esm_default } from './chunk-VK6FX47H.js';
2
+ import { validateBody } from './chunk-L7XE5QTW.js';
3
+ import { handleError } from './chunk-3AHQ5RGN.js';
4
+ import { __export, HTTPException } from './chunk-TRDNDNGQ.js';
5
+ import { isVercelTool } from '@mastra/core/tools';
6
+
7
+ // src/server/handlers/tools.ts
8
+ var tools_exports = {};
9
+ __export(tools_exports, {
10
+ executeAgentToolHandler: () => executeAgentToolHandler,
11
+ executeToolHandler: () => executeToolHandler,
12
+ getToolByIdHandler: () => getToolByIdHandler,
13
+ getToolsHandler: () => getToolsHandler
14
+ });
15
+ async function getToolsHandler({ tools }) {
16
+ try {
17
+ if (!tools) {
18
+ return {};
19
+ }
20
+ const serializedTools = Object.entries(tools).reduce(
21
+ (acc, [id, _tool]) => {
22
+ const tool = _tool;
23
+ acc[id] = {
24
+ ...tool,
25
+ inputSchema: tool.inputSchema ? stringify(esm_default(tool.inputSchema)) : void 0,
26
+ outputSchema: tool.outputSchema ? stringify(esm_default(tool.outputSchema)) : void 0
27
+ };
28
+ return acc;
29
+ },
30
+ {}
31
+ );
32
+ return serializedTools;
33
+ } catch (error) {
34
+ return handleError(error, "Error getting tools");
35
+ }
36
+ }
37
+ async function getToolByIdHandler({ tools, toolId }) {
38
+ try {
39
+ const tool = Object.values(tools || {}).find((tool2) => tool2.id === toolId);
40
+ if (!tool) {
41
+ throw new HTTPException(404, { message: "Tool not found" });
42
+ }
43
+ const serializedTool = {
44
+ ...tool,
45
+ inputSchema: tool.inputSchema ? stringify(esm_default(tool.inputSchema)) : void 0,
46
+ outputSchema: tool.outputSchema ? stringify(esm_default(tool.outputSchema)) : void 0
47
+ };
48
+ return serializedTool;
49
+ } catch (error) {
50
+ return handleError(error, "Error getting tool");
51
+ }
52
+ }
53
+ function executeToolHandler(tools) {
54
+ return async ({
55
+ mastra,
56
+ runId,
57
+ toolId,
58
+ data
59
+ }) => {
60
+ try {
61
+ if (!toolId) {
62
+ throw new HTTPException(400, { message: "Tool ID is required" });
63
+ }
64
+ const tool = Object.values(tools || {}).find((tool2) => tool2.id === toolId);
65
+ if (!tool) {
66
+ throw new HTTPException(404, { message: "Tool not found" });
67
+ }
68
+ if (!tool?.execute) {
69
+ throw new HTTPException(400, { message: "Tool is not executable" });
70
+ }
71
+ validateBody({ data });
72
+ if (isVercelTool(tool)) {
73
+ const result2 = await tool.execute(data);
74
+ return result2;
75
+ }
76
+ const result = await tool.execute({
77
+ context: data,
78
+ mastra,
79
+ runId
80
+ });
81
+ return result;
82
+ } catch (error) {
83
+ return handleError(error, "Error executing tool");
84
+ }
85
+ };
86
+ }
87
+ async function executeAgentToolHandler({
88
+ mastra,
89
+ agentId,
90
+ toolId,
91
+ data
92
+ }) {
93
+ try {
94
+ const agent = agentId ? mastra.getAgent(agentId) : null;
95
+ if (!agent) {
96
+ throw new HTTPException(404, { message: "Tool not found" });
97
+ }
98
+ const tool = Object.values(agent?.tools || {}).find((tool2) => tool2.id === toolId);
99
+ if (!tool) {
100
+ throw new HTTPException(404, { message: "Tool not found" });
101
+ }
102
+ if (!tool?.execute) {
103
+ throw new HTTPException(400, { message: "Tool is not executable" });
104
+ }
105
+ const result = await tool.execute({
106
+ context: data,
107
+ mastra,
108
+ runId: agentId
109
+ });
110
+ return result;
111
+ } catch (error) {
112
+ return handleError(error, "Error executing tool");
113
+ }
114
+ }
115
+
116
+ export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler, tools_exports };
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkFV45V6WC_cjs = require('./chunk-FV45V6WC.cjs');
4
+
5
+ // src/server/handlers/error.ts
6
+ function handleError(error, defaultMessage) {
7
+ const apiError = error;
8
+ throw new chunkFV45V6WC_cjs.HTTPException(apiError.status || 500, {
9
+ message: apiError.message || defaultMessage
10
+ });
11
+ }
12
+
13
+ exports.handleError = handleError;
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunk5WF7YIIE_cjs = require('../../chunk-5WF7YIIE.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "generateHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunk5WF7YIIE_cjs.generateHandler; }
10
+ });
11
+ Object.defineProperty(exports, "getAgentByIdHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunk5WF7YIIE_cjs.getAgentByIdHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getAgentsHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunk5WF7YIIE_cjs.getAgentsHandler; }
18
+ });
19
+ Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
20
+ enumerable: true,
21
+ get: function () { return chunk5WF7YIIE_cjs.getEvalsByAgentIdHandler; }
22
+ });
23
+ Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
24
+ enumerable: true,
25
+ get: function () { return chunk5WF7YIIE_cjs.getLiveEvalsByAgentIdHandler; }
26
+ });
27
+ Object.defineProperty(exports, "streamGenerateHandler", {
28
+ enumerable: true,
29
+ get: function () { return chunk5WF7YIIE_cjs.streamGenerateHandler; }
30
+ });
@@ -0,0 +1,6 @@
1
+ export { getAgentsHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getAgentByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getEvalsByAgentIdHandler } from '../../_tsup-dts-rollup.cjs';
4
+ export { getLiveEvalsByAgentIdHandler } from '../../_tsup-dts-rollup.cjs';
5
+ export { generateHandler } from '../../_tsup-dts-rollup.cjs';
6
+ export { streamGenerateHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,6 @@
1
+ export { getAgentsHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getAgentByIdHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getEvalsByAgentIdHandler } from '../../_tsup-dts-rollup.js';
4
+ export { getLiveEvalsByAgentIdHandler } from '../../_tsup-dts-rollup.js';
5
+ export { generateHandler } from '../../_tsup-dts-rollup.js';
6
+ export { streamGenerateHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-5MCUD7TP.js';
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkZLBRQFDD_cjs = require('../../chunk-ZLBRQFDD.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "handleError", {
8
+ enumerable: true,
9
+ get: function () { return chunkZLBRQFDD_cjs.handleError; }
10
+ });
@@ -0,0 +1 @@
1
+ export { handleError } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1 @@
1
+ export { handleError } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { handleError } from '../../chunk-3AHQ5RGN.js';
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunkVB7KH62D_cjs = require('../../chunk-VB7KH62D.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "getLogTransports", {
8
+ enumerable: true,
9
+ get: function () { return chunkVB7KH62D_cjs.getLogTransports; }
10
+ });
11
+ Object.defineProperty(exports, "getLogsByRunIdHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunkVB7KH62D_cjs.getLogsByRunIdHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getLogsHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunkVB7KH62D_cjs.getLogsHandler; }
18
+ });
@@ -0,0 +1,3 @@
1
+ export { getLogsHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getLogsByRunIdHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getLogTransports } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,3 @@
1
+ export { getLogsHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getLogsByRunIdHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getLogTransports } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { getLogTransports, getLogsByRunIdHandler, getLogsHandler } from '../../chunk-2JQC6JWP.js';
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ var chunk2FJURXCL_cjs = require('../../chunk-2FJURXCL.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "createThreadHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunk2FJURXCL_cjs.createThreadHandler; }
10
+ });
11
+ Object.defineProperty(exports, "deleteThreadHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunk2FJURXCL_cjs.deleteThreadHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getMemoryStatusHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunk2FJURXCL_cjs.getMemoryStatusHandler; }
18
+ });
19
+ Object.defineProperty(exports, "getMessagesHandler", {
20
+ enumerable: true,
21
+ get: function () { return chunk2FJURXCL_cjs.getMessagesHandler; }
22
+ });
23
+ Object.defineProperty(exports, "getThreadByIdHandler", {
24
+ enumerable: true,
25
+ get: function () { return chunk2FJURXCL_cjs.getThreadByIdHandler; }
26
+ });
27
+ Object.defineProperty(exports, "getThreadsHandler", {
28
+ enumerable: true,
29
+ get: function () { return chunk2FJURXCL_cjs.getThreadsHandler; }
30
+ });
31
+ Object.defineProperty(exports, "saveMessagesHandler", {
32
+ enumerable: true,
33
+ get: function () { return chunk2FJURXCL_cjs.saveMessagesHandler; }
34
+ });
35
+ Object.defineProperty(exports, "updateThreadHandler", {
36
+ enumerable: true,
37
+ get: function () { return chunk2FJURXCL_cjs.updateThreadHandler; }
38
+ });
@@ -0,0 +1,8 @@
1
+ export { getMemoryStatusHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getThreadsHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getThreadByIdHandler } from '../../_tsup-dts-rollup.cjs';
4
+ export { saveMessagesHandler } from '../../_tsup-dts-rollup.cjs';
5
+ export { createThreadHandler } from '../../_tsup-dts-rollup.cjs';
6
+ export { updateThreadHandler } from '../../_tsup-dts-rollup.cjs';
7
+ export { deleteThreadHandler } from '../../_tsup-dts-rollup.cjs';
8
+ export { getMessagesHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,8 @@
1
+ export { getMemoryStatusHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getThreadsHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getThreadByIdHandler } from '../../_tsup-dts-rollup.js';
4
+ export { saveMessagesHandler } from '../../_tsup-dts-rollup.js';
5
+ export { createThreadHandler } from '../../_tsup-dts-rollup.js';
6
+ export { updateThreadHandler } from '../../_tsup-dts-rollup.js';
7
+ export { deleteThreadHandler } from '../../_tsup-dts-rollup.js';
8
+ export { getMessagesHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { createThreadHandler, deleteThreadHandler, getMemoryStatusHandler, getMessagesHandler, getThreadByIdHandler, getThreadsHandler, saveMessagesHandler, updateThreadHandler } from '../../chunk-RBQASTUP.js';
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunk5JOF627H_cjs = require('../../chunk-5JOF627H.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "generateHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunk5JOF627H_cjs.generateHandler; }
10
+ });
11
+ Object.defineProperty(exports, "getNetworkByIdHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunk5JOF627H_cjs.getNetworkByIdHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getNetworksHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunk5JOF627H_cjs.getNetworksHandler; }
18
+ });
19
+ Object.defineProperty(exports, "streamGenerateHandler", {
20
+ enumerable: true,
21
+ get: function () { return chunk5JOF627H_cjs.streamGenerateHandler; }
22
+ });
@@ -0,0 +1,4 @@
1
+ export { getNetworksHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getNetworkByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { generateHandler_alias_1 as generateHandler } from '../../_tsup-dts-rollup.cjs';
4
+ export { streamGenerateHandler_alias_1 as streamGenerateHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,4 @@
1
+ export { getNetworksHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getNetworkByIdHandler } from '../../_tsup-dts-rollup.js';
3
+ export { generateHandler_alias_1 as generateHandler } from '../../_tsup-dts-rollup.js';
4
+ export { streamGenerateHandler_alias_1 as streamGenerateHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-2YONKUWB.js';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkYCJ2OJTL_cjs = require('../../chunk-YCJ2OJTL.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "getTelemetryHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunkYCJ2OJTL_cjs.getTelemetryHandler; }
10
+ });
11
+ Object.defineProperty(exports, "storeTelemetryHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunkYCJ2OJTL_cjs.storeTelemetryHandler; }
14
+ });
@@ -0,0 +1,2 @@
1
+ export { getTelemetryHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { storeTelemetryHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,2 @@
1
+ export { getTelemetryHandler } from '../../_tsup-dts-rollup.js';
2
+ export { storeTelemetryHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-A4DCRMIV.js';
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunk4C3EPMMF_cjs = require('../../chunk-4C3EPMMF.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "executeAgentToolHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunk4C3EPMMF_cjs.executeAgentToolHandler; }
10
+ });
11
+ Object.defineProperty(exports, "executeToolHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunk4C3EPMMF_cjs.executeToolHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getToolByIdHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunk4C3EPMMF_cjs.getToolByIdHandler; }
18
+ });
19
+ Object.defineProperty(exports, "getToolsHandler", {
20
+ enumerable: true,
21
+ get: function () { return chunk4C3EPMMF_cjs.getToolsHandler; }
22
+ });
@@ -0,0 +1,4 @@
1
+ export { getToolsHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getToolByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { executeToolHandler } from '../../_tsup-dts-rollup.cjs';
4
+ export { executeAgentToolHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,4 @@
1
+ export { getToolsHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getToolByIdHandler } from '../../_tsup-dts-rollup.js';
3
+ export { executeToolHandler } from '../../_tsup-dts-rollup.js';
4
+ export { executeAgentToolHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-YNSGUC2O.js';
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkQN4KF3BH_cjs = require('../../chunk-QN4KF3BH.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "validateBody", {
8
+ enumerable: true,
9
+ get: function () { return chunkQN4KF3BH_cjs.validateBody; }
10
+ });
@@ -0,0 +1 @@
1
+ export { validateBody } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1 @@
1
+ export { validateBody } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { validateBody } from '../../chunk-L7XE5QTW.js';
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunkM56ECCHK_cjs = require('../../chunk-M56ECCHK.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "createIndex", {
8
+ enumerable: true,
9
+ get: function () { return chunkM56ECCHK_cjs.createIndex; }
10
+ });
11
+ Object.defineProperty(exports, "deleteIndex", {
12
+ enumerable: true,
13
+ get: function () { return chunkM56ECCHK_cjs.deleteIndex; }
14
+ });
15
+ Object.defineProperty(exports, "describeIndex", {
16
+ enumerable: true,
17
+ get: function () { return chunkM56ECCHK_cjs.describeIndex; }
18
+ });
19
+ Object.defineProperty(exports, "listIndexes", {
20
+ enumerable: true,
21
+ get: function () { return chunkM56ECCHK_cjs.listIndexes; }
22
+ });
23
+ Object.defineProperty(exports, "queryVectors", {
24
+ enumerable: true,
25
+ get: function () { return chunkM56ECCHK_cjs.queryVectors; }
26
+ });
27
+ Object.defineProperty(exports, "upsertVectors", {
28
+ enumerable: true,
29
+ get: function () { return chunkM56ECCHK_cjs.upsertVectors; }
30
+ });
@@ -0,0 +1,6 @@
1
+ export { upsertVectors } from '../../_tsup-dts-rollup.cjs';
2
+ export { createIndex } from '../../_tsup-dts-rollup.cjs';
3
+ export { queryVectors } from '../../_tsup-dts-rollup.cjs';
4
+ export { listIndexes } from '../../_tsup-dts-rollup.cjs';
5
+ export { describeIndex } from '../../_tsup-dts-rollup.cjs';
6
+ export { deleteIndex } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,6 @@
1
+ export { upsertVectors } from '../../_tsup-dts-rollup.js';
2
+ export { createIndex } from '../../_tsup-dts-rollup.js';
3
+ export { queryVectors } from '../../_tsup-dts-rollup.js';
4
+ export { listIndexes } from '../../_tsup-dts-rollup.js';
5
+ export { describeIndex } from '../../_tsup-dts-rollup.js';
6
+ export { deleteIndex } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-4JINXASC.js';
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunkA7DF4ETD_cjs = require('../../chunk-A7DF4ETD.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "generateSpeechHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunkA7DF4ETD_cjs.generateSpeechHandler; }
10
+ });
11
+ Object.defineProperty(exports, "getSpeakersHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunkA7DF4ETD_cjs.getSpeakersHandler; }
14
+ });
15
+ Object.defineProperty(exports, "transcribeSpeechHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunkA7DF4ETD_cjs.transcribeSpeechHandler; }
18
+ });
@@ -0,0 +1,3 @@
1
+ export { getSpeakersHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { generateSpeechHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { transcribeSpeechHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,3 @@
1
+ export { getSpeakersHandler } from '../../_tsup-dts-rollup.js';
2
+ export { generateSpeechHandler } from '../../_tsup-dts-rollup.js';
3
+ export { transcribeSpeechHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-3RVHWGWO.js';