@mastra/server 0.12.0-alpha.0 → 0.12.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.
|
@@ -51,7 +51,7 @@ import type { TaskSendParams } from '@mastra/core/a2a';
|
|
|
51
51
|
import type { TaskStatus } from '@mastra/core/a2a';
|
|
52
52
|
import type { ToolAction } from '@mastra/core/tools';
|
|
53
53
|
import { Trace } from '@mastra/core';
|
|
54
|
-
import {
|
|
54
|
+
import { UIMessageWithMetadata } from '@mastra/core/agent';
|
|
55
55
|
import type { VercelTool } from '@mastra/core/tools';
|
|
56
56
|
import type { WatchEvent } from '@mastra/core/workflows';
|
|
57
57
|
import type { Workflow } from '@mastra/core/workflows';
|
|
@@ -357,7 +357,7 @@ export declare function getMessagesHandler({ mastra, agentId, threadId, limit, n
|
|
|
357
357
|
limit?: number;
|
|
358
358
|
}): Promise<{
|
|
359
359
|
messages: CoreMessage[];
|
|
360
|
-
uiMessages:
|
|
360
|
+
uiMessages: UIMessageWithMetadata[];
|
|
361
361
|
}>;
|
|
362
362
|
|
|
363
363
|
export declare function getMessagesPaginatedHandler({ mastra, threadId, resourceId, selectBy, format, }: StorageGetMessagesArg & Pick<MemoryContext, 'mastra'>): Promise<PaginationInfo & {
|
|
@@ -51,7 +51,7 @@ import type { TaskSendParams } from '@mastra/core/a2a';
|
|
|
51
51
|
import type { TaskStatus } from '@mastra/core/a2a';
|
|
52
52
|
import type { ToolAction } from '@mastra/core/tools';
|
|
53
53
|
import { Trace } from '@mastra/core';
|
|
54
|
-
import {
|
|
54
|
+
import { UIMessageWithMetadata } from '@mastra/core/agent';
|
|
55
55
|
import type { VercelTool } from '@mastra/core/tools';
|
|
56
56
|
import type { WatchEvent } from '@mastra/core/workflows';
|
|
57
57
|
import type { Workflow } from '@mastra/core/workflows';
|
|
@@ -357,7 +357,7 @@ export declare function getMessagesHandler({ mastra, agentId, threadId, limit, n
|
|
|
357
357
|
limit?: number;
|
|
358
358
|
}): Promise<{
|
|
359
359
|
messages: CoreMessage[];
|
|
360
|
-
uiMessages:
|
|
360
|
+
uiMessages: UIMessageWithMetadata[];
|
|
361
361
|
}>;
|
|
362
362
|
|
|
363
363
|
export declare function getMessagesPaginatedHandler({ mastra, threadId, resourceId, selectBy, format, }: StorageGetMessagesArg & Pick<MemoryContext, 'mastra'>): Promise<PaginationInfo & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.12.0-alpha.
|
|
3
|
+
"version": "0.12.0-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"zod": "^3.25.67",
|
|
61
61
|
"zod-to-json-schema": "^3.24.5",
|
|
62
62
|
"@internal/lint": "0.0.23",
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
63
|
+
"@mastra/core": "0.12.0-alpha.1",
|
|
64
|
+
"@internal/storage-test-utils": "0.0.19"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",
|