@mastra/cloudflare-d1 0.0.0-toolOptionTypes-20250917085558 → 0.0.0-trace-timeline-update-20251121092347

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/README.md CHANGED
@@ -75,24 +75,29 @@ const store = new D1Store({
75
75
 
76
76
  - `saveThread(thread)`: Create or update a thread
77
77
  - `getThreadById({ threadId })`: Get a thread by ID
78
- - `getThreadsByResourceId({ resourceId })`: Fetch all threads associated with a resource.
78
+ - `listThreadsByResourceId({ resourceId, offset, limit, orderBy? })`: List paginated threads for a resource
79
79
  - `updateThread({ id, title, metadata })`: Update the title and/or metadata of a thread.
80
80
  - `deleteThread({ threadId })`: Delete a thread and all its messages.
81
81
 
82
82
  ### Message Operations
83
83
 
84
84
  - `saveMessages({ messages })`: Save multiple messages in a batch operation (uses prepared statements).
85
- - `getMessages({ threadId, selectBy? })`: Retrieve messages for a thread, with optional filtering (e.g., last N, include surrounding messages).
85
+ - `listMessages({ threadId, perPage?, page? })`: Retrieve messages for a thread with pagination.
86
+ - `listMessagesById({ messageIds })`: Get specific messages by their IDs
87
+ - `updateMessages({ messages })`: Update existing messages
86
88
 
87
89
  ### Workflow Operations
88
90
 
89
91
  - `persistWorkflowSnapshot({ workflowName, runId, snapshot })`: Save workflow state for a given workflow/run.
90
92
  - `loadWorkflowSnapshot({ workflowName, runId })`: Load persisted workflow state.
93
+ - `listWorkflowRuns({ workflowName, pagination })`: List workflow runs with pagination
94
+ - `getWorkflowRunById({ workflowName, runId })`: Get a specific workflow run
91
95
 
92
- ### Trace/Evaluation Operations
96
+ ### Operations Not Currently Supported
93
97
 
94
- - `getTraces({ name?, scope?, page, perPage, attributes? })`: Query trace records with optional filters and pagination.
95
- - `getEvalsByAgentName({ agentName, type? })`: Query evaluation results by agent name.
98
+ - `deleteMessages(messageIds)`: Message deletion is not currently supported
99
+ - AI Observability (traces/spans): Not currently supported
100
+ - Evaluation/Scoring: Not currently supported
96
101
 
97
102
  ### Utility
98
103