@mastra/mssql 0.0.0-fix-11329-windows-path-20251222155941 → 0.0.0-fix-local-pkg-cwd-20251224015404

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.
@@ -1,12 +1,5 @@
1
- import type { MastraMessageContentV2, MastraDBMessage } from '@mastra/core/agent';
2
- import type { SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
3
- import type { StorageThreadType } from '@mastra/core/memory';
4
1
  import { MastraStorage } from '@mastra/core/storage';
5
- export type MastraDBMessageWithTypedContent = Omit<MastraDBMessage, 'content'> & {
6
- content: MastraMessageContentV2;
7
- };
8
- import type { PaginationInfo, StorageResourceType, WorkflowRun, WorkflowRuns, StoragePagination, StorageDomains, SpanRecord, TraceRecord, TracesPaginatedArg, UpdateSpanRecord, CreateIndexOptions, IndexInfo, StorageIndexStats, StorageListWorkflowRunsInput, UpdateWorkflowStateOptions } from '@mastra/core/storage';
9
- import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
2
+ import type { StorageDomains, CreateIndexOptions, StorageSupports } from '@mastra/core/storage';
10
3
  import sql from 'mssql';
11
4
  /**
12
5
  * MSSQL configuration type.
@@ -39,6 +32,34 @@ export type MSSQLConfigType = {
39
32
  * // No auto-init, tables must already exist
40
33
  */
41
34
  disableInit?: boolean;
35
+ /**
36
+ * When true, default indexes will not be created during initialization.
37
+ * This is useful when:
38
+ * 1. You want to manage indexes separately or use custom indexes only
39
+ * 2. Default indexes don't match your query patterns
40
+ * 3. You want to reduce initialization time in development
41
+ *
42
+ * @default false
43
+ */
44
+ skipDefaultIndexes?: boolean;
45
+ /**
46
+ * Custom indexes to create during initialization.
47
+ * These indexes are created in addition to default indexes (unless skipDefaultIndexes is true).
48
+ *
49
+ * Each index must specify which table it belongs to. The store will route each index
50
+ * to the appropriate domain based on the table name.
51
+ *
52
+ * @example
53
+ * ```typescript
54
+ * const store = new MSSQLStore({
55
+ * connectionString: '...',
56
+ * indexes: [
57
+ * { name: 'my_threads_type_idx', table: 'mastra_threads', columns: ['JSON_VALUE(metadata, \'$.type\')'] },
58
+ * ],
59
+ * });
60
+ * ```
61
+ */
62
+ indexes?: CreateIndexOptions[];
42
63
  } & ({
43
64
  /**
44
65
  * Pre-configured mssql ConnectionPool.
@@ -76,8 +97,29 @@ export type MSSQLConfigType = {
76
97
  connectionString: string;
77
98
  });
78
99
  export type MSSQLConfig = MSSQLConfigType;
100
+ /**
101
+ * MSSQL storage adapter for Mastra.
102
+ *
103
+ * Access domain-specific storage via `getStore()`:
104
+ *
105
+ * @example
106
+ * ```typescript
107
+ * const storage = new MSSQLStore({ id: 'my-store', connectionString: '...' });
108
+ *
109
+ * // Access memory domain
110
+ * const memory = await storage.getStore('memory');
111
+ * await memory?.saveThread({ thread });
112
+ *
113
+ * // Access workflows domain
114
+ * const workflows = await storage.getStore('workflows');
115
+ * await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
116
+ *
117
+ * // Access observability domain
118
+ * const observability = await storage.getStore('observability');
119
+ * await observability?.createSpan(span);
120
+ * ```
121
+ */
79
122
  export declare class MSSQLStore extends MastraStorage {
80
- #private;
81
123
  pool: sql.ConnectionPool;
82
124
  private schema?;
83
125
  private isConnected;
@@ -85,175 +127,12 @@ export declare class MSSQLStore extends MastraStorage {
85
127
  constructor(config: MSSQLConfigType);
86
128
  init(): Promise<void>;
87
129
  private _performInitializationAndStore;
88
- get supports(): {
89
- selectByIncludeResourceScope: boolean;
90
- resourceWorkingMemory: boolean;
91
- hasColumn: boolean;
92
- createTable: boolean;
93
- deleteMessages: boolean;
94
- listScoresBySpan: boolean;
95
- observabilityInstance: boolean;
96
- indexManagement: boolean;
97
- };
130
+ get supports(): StorageSupports;
98
131
  /**
99
- * Memory
100
- */
101
- getThreadById({ threadId }: {
102
- threadId: string;
103
- }): Promise<StorageThreadType | null>;
104
- saveThread({ thread }: {
105
- thread: StorageThreadType;
106
- }): Promise<StorageThreadType>;
107
- updateThread({ id, title, metadata, }: {
108
- id: string;
109
- title: string;
110
- metadata: Record<string, unknown>;
111
- }): Promise<StorageThreadType>;
112
- deleteThread({ threadId }: {
113
- threadId: string;
114
- }): Promise<void>;
115
- listMessagesById({ messageIds }: {
116
- messageIds: string[];
117
- }): Promise<{
118
- messages: MastraDBMessage[];
119
- }>;
120
- saveMessages(args: {
121
- messages: MastraDBMessage[];
122
- }): Promise<{
123
- messages: MastraDBMessage[];
124
- }>;
125
- updateMessages({ messages, }: {
126
- messages: (Partial<Omit<MastraDBMessage, 'createdAt'>> & {
127
- id: string;
128
- content?: {
129
- metadata?: MastraMessageContentV2['metadata'];
130
- content?: MastraMessageContentV2['content'];
131
- };
132
- })[];
133
- }): Promise<MastraDBMessage[]>;
134
- deleteMessages(messageIds: string[]): Promise<void>;
135
- getResourceById({ resourceId }: {
136
- resourceId: string;
137
- }): Promise<StorageResourceType | null>;
138
- saveResource({ resource }: {
139
- resource: StorageResourceType;
140
- }): Promise<StorageResourceType>;
141
- updateResource({ resourceId, workingMemory, metadata, }: {
142
- resourceId: string;
143
- workingMemory?: string;
144
- metadata?: Record<string, unknown>;
145
- }): Promise<StorageResourceType>;
146
- /**
147
- * Workflows
132
+ * Closes the MSSQL connection pool.
133
+ *
134
+ * This will close the connection pool, including pre-configured pools.
148
135
  */
149
- updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
150
- workflowName: string;
151
- runId: string;
152
- stepId: string;
153
- result: StepResult<any, any, any, any>;
154
- requestContext: Record<string, any>;
155
- }): Promise<Record<string, StepResult<any, any, any, any>>>;
156
- updateWorkflowState({ workflowName, runId, opts, }: {
157
- workflowName: string;
158
- runId: string;
159
- opts: UpdateWorkflowStateOptions;
160
- }): Promise<WorkflowRunState | undefined>;
161
- persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, }: {
162
- workflowName: string;
163
- runId: string;
164
- resourceId?: string;
165
- snapshot: WorkflowRunState;
166
- }): Promise<void>;
167
- loadWorkflowSnapshot({ workflowName, runId, }: {
168
- workflowName: string;
169
- runId: string;
170
- }): Promise<WorkflowRunState | null>;
171
- listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise<WorkflowRuns>;
172
- getWorkflowRunById({ runId, workflowName, }: {
173
- runId: string;
174
- workflowName?: string;
175
- }): Promise<WorkflowRun | null>;
176
- deleteWorkflowRunById({ runId, workflowName }: {
177
- runId: string;
178
- workflowName: string;
179
- }): Promise<void>;
180
136
  close(): Promise<void>;
181
- /**
182
- * Index Management
183
- */
184
- createIndex(options: CreateIndexOptions): Promise<void>;
185
- listIndexes(tableName?: string): Promise<IndexInfo[]>;
186
- describeIndex(indexName: string): Promise<StorageIndexStats>;
187
- dropIndex(indexName: string): Promise<void>;
188
- /**
189
- * Tracing / Observability
190
- */
191
- private getObservabilityStore;
192
- createSpan(span: SpanRecord): Promise<void>;
193
- updateSpan({ spanId, traceId, updates, }: {
194
- spanId: string;
195
- traceId: string;
196
- updates: Partial<UpdateSpanRecord>;
197
- }): Promise<void>;
198
- getTrace(traceId: string): Promise<TraceRecord | null>;
199
- getTracesPaginated(args: TracesPaginatedArg): Promise<{
200
- pagination: PaginationInfo;
201
- spans: SpanRecord[];
202
- }>;
203
- batchCreateSpans(args: {
204
- records: SpanRecord[];
205
- }): Promise<void>;
206
- batchUpdateSpans(args: {
207
- records: {
208
- traceId: string;
209
- spanId: string;
210
- updates: Partial<UpdateSpanRecord>;
211
- }[];
212
- }): Promise<void>;
213
- batchDeleteTraces(args: {
214
- traceIds: string[];
215
- }): Promise<void>;
216
- /**
217
- * Scorers
218
- */
219
- getScoreById({ id: _id }: {
220
- id: string;
221
- }): Promise<ScoreRowData | null>;
222
- listScoresByScorerId({ scorerId: _scorerId, pagination: _pagination, entityId: _entityId, entityType: _entityType, source: _source, }: {
223
- scorerId: string;
224
- pagination: StoragePagination;
225
- entityId?: string;
226
- entityType?: string;
227
- source?: ScoringSource;
228
- }): Promise<{
229
- pagination: PaginationInfo;
230
- scores: ScoreRowData[];
231
- }>;
232
- saveScore(score: SaveScorePayload): Promise<{
233
- score: ScoreRowData;
234
- }>;
235
- listScoresByRunId({ runId: _runId, pagination: _pagination, }: {
236
- runId: string;
237
- pagination: StoragePagination;
238
- }): Promise<{
239
- pagination: PaginationInfo;
240
- scores: ScoreRowData[];
241
- }>;
242
- listScoresByEntityId({ entityId: _entityId, entityType: _entityType, pagination: _pagination, }: {
243
- pagination: StoragePagination;
244
- entityId: string;
245
- entityType: string;
246
- }): Promise<{
247
- pagination: PaginationInfo;
248
- scores: ScoreRowData[];
249
- }>;
250
- listScoresBySpan({ traceId, spanId, pagination: _pagination, }: {
251
- traceId: string;
252
- spanId: string;
253
- pagination: StoragePagination;
254
- }): Promise<{
255
- pagination: PaginationInfo;
256
- scores: ScoreRowData[];
257
- }>;
258
137
  }
259
138
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAElF,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAwB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE3E,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,EAAE,sBAAsB,CAAA;CAAE,CAAC;AACrH,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC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,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;;OAQG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC,GAAG,CACA;IACE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,EAAE,GAAG,CAAC,cAAc,CAAC;CAC1B,GACD;IACE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC,QAAQ,CAAC;CACxB,GACD;IACE,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CACJ,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAS1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,UAAW,SAAQ,aAAa;IACpC,IAAI,EAAE,GAAG,CAAC,cAAc,CAAC;IAChC,OAAO,CAAC,MAAM,CAAC,CAAS;IACxB,OAAO,CAAC,WAAW,CAAiC;IACpD,MAAM,EAAE,cAAc,CAAC;gBAEX,MAAM,EAAE,eAAe;IAmE7B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAqBb,8BAA8B;IAS5C,IAAW,QAAQ,IAAI,eAAe,CAYrC;IAED;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mssql",
3
- "version": "0.0.0-fix-11329-windows-path-20251222155941",
3
+ "version": "0.0.0-fix-local-pkg-cwd-20251224015404",
4
4
  "description": "MSSQL provider for Mastra - db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,13 +31,13 @@
31
31
  "tsup": "^8.5.0",
32
32
  "typescript": "^5.8.3",
33
33
  "vitest": "4.0.12",
34
- "@internal/lint": "0.0.0-fix-11329-windows-path-20251222155941",
34
+ "@internal/lint": "0.0.0-fix-local-pkg-cwd-20251224015404",
35
35
  "@internal/storage-test-utils": "0.0.49",
36
- "@internal/types-builder": "0.0.0-fix-11329-windows-path-20251222155941",
37
- "@mastra/core": "0.0.0-fix-11329-windows-path-20251222155941"
36
+ "@mastra/core": "0.0.0-fix-local-pkg-cwd-20251224015404",
37
+ "@internal/types-builder": "0.0.0-fix-local-pkg-cwd-20251224015404"
38
38
  },
39
39
  "peerDependencies": {
40
- "@mastra/core": "0.0.0-fix-11329-windows-path-20251222155941"
40
+ "@mastra/core": "0.0.0-fix-local-pkg-cwd-20251224015404"
41
41
  },
42
42
  "files": [
43
43
  "dist",