@mastra/rag 0.1.21-alpha.4 → 0.1.21-alpha.6

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,23 +1,23 @@
1
1
 
2
- > @mastra/rag@0.1.21-alpha.4 build /home/runner/work/mastra/mastra/packages/rag
2
+ > @mastra/rag@0.1.21-alpha.6 build /home/runner/work/mastra/mastra/packages/rag
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 13925ms
9
+ TSC ⚡️ Build success in 13083ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/packages/rag/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/packages/rag/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 12669ms
16
+ DTS ⚡️ Build success in 13250ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 237.80 KB
21
- CJS ⚡️ Build success in 4385ms
22
- ESM dist/index.js 236.10 KB
23
- ESM ⚡️ Build success in 4386ms
20
+ ESM dist/index.js 236.09 KB
21
+ ESM ⚡️ Build success in 4731ms
22
+ CJS dist/index.cjs 237.78 KB
23
+ CJS ⚡️ Build success in 4728ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @mastra/rag
2
2
 
3
+ ## 0.1.21-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6052aa6]
8
+ - Updated dependencies [7d8b7c7]
9
+ - Updated dependencies [3a5f1e1]
10
+ - Updated dependencies [8398d89]
11
+ - @mastra/core@0.9.2-alpha.6
12
+
13
+ ## 0.1.21-alpha.5
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [3d2fb5c]
18
+ - Updated dependencies [7eeb2bc]
19
+ - Updated dependencies [8607972]
20
+ - Updated dependencies [7eeb2bc]
21
+ - Updated dependencies [fba031f]
22
+ - @mastra/core@0.9.2-alpha.5
23
+
3
24
  ## 0.1.21-alpha.4
4
25
 
5
26
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2253,7 +2253,7 @@ var openaiChatChunkSchema = zod.z.union([
2253
2253
  zod.z.object({
2254
2254
  index: zod.z.number(),
2255
2255
  id: zod.z.string().nullish(),
2256
- type: zod.z.literal("function").optional(),
2256
+ type: zod.z.literal("function").nullish(),
2257
2257
  function: zod.z.object({
2258
2258
  name: zod.z.string().nullish(),
2259
2259
  arguments: zod.z.string().nullish()
@@ -2275,7 +2275,7 @@ var openaiChatChunkSchema = zod.z.union([
2275
2275
  })
2276
2276
  ).nullable()
2277
2277
  }).nullish(),
2278
- finish_reason: zod.z.string().nullable().optional(),
2278
+ finish_reason: zod.z.string().nullish(),
2279
2279
  index: zod.z.number()
2280
2280
  })
2281
2281
  ),
package/dist/index.js CHANGED
@@ -2251,7 +2251,7 @@ var openaiChatChunkSchema = z.union([
2251
2251
  z.object({
2252
2252
  index: z.number(),
2253
2253
  id: z.string().nullish(),
2254
- type: z.literal("function").optional(),
2254
+ type: z.literal("function").nullish(),
2255
2255
  function: z.object({
2256
2256
  name: z.string().nullish(),
2257
2257
  arguments: z.string().nullish()
@@ -2273,7 +2273,7 @@ var openaiChatChunkSchema = z.union([
2273
2273
  })
2274
2274
  ).nullable()
2275
2275
  }).nullish(),
2276
- finish_reason: z.string().nullable().optional(),
2276
+ finish_reason: z.string().nullish(),
2277
2277
  index: z.number()
2278
2278
  })
2279
2279
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/rag",
3
- "version": "0.1.21-alpha.4",
3
+ "version": "0.1.21-alpha.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "node-html-better-parser": "^1.4.7",
27
27
  "pathe": "^2.0.3",
28
28
  "zod": "^3.24.2",
29
- "@mastra/core": "^0.9.2-alpha.4"
29
+ "@mastra/core": "^0.9.2-alpha.6"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "ai": "^4.0.0"