@mastra/rag 2.6.6-alpha.0 → 2.6.7-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.
package/dist/docs/SKILL.md
CHANGED
|
@@ -210,8 +210,6 @@ Observations are added in stable chunks, which helps providers reuse the existin
|
|
|
210
210
|
|
|
211
211
|
## Signals
|
|
212
212
|
|
|
213
|
-
> **Beta:** Signals may change without a major version bump until the API is stable.
|
|
214
|
-
|
|
215
213
|
[Signals](https://mastra.ai/docs/harness/signals) add messages or system-generated context to a memory-backed thread. Delivery depends on the thread's state: a signal can wake an idle agent or enter an active loop. It can also wait for the next turn or persist without waking the agent.
|
|
216
214
|
|
|
217
215
|
State signals require memory and an existing thread. Notification inbox signals require a storage adapter with notification support.
|
package/dist/index.cjs
CHANGED
|
@@ -634,7 +634,7 @@ var UnsupportedFunctionalityError = class extends AISDKError {
|
|
|
634
634
|
};
|
|
635
635
|
_a14 = symbol14;
|
|
636
636
|
//#endregion
|
|
637
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/nanoid/
|
|
637
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/nanoid/5.1.16/f16424b532a5e69aacddcb2977ac17378b6f79695bbd27ead3d90c703848f22f/node_modules/nanoid/non-secure/index.js
|
|
638
638
|
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
639
639
|
return (size = defaultSize) => {
|
|
640
640
|
let id = "";
|
|
@@ -644,7 +644,7 @@ let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
|
644
644
|
};
|
|
645
645
|
};
|
|
646
646
|
//#endregion
|
|
647
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/2.2.8/
|
|
647
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/2.2.8/fd79a5c5f5d36120acbfd746754884c17798c35178b46bd11cca9dff89c013d2/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
648
648
|
var import_secure_json_parse = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
649
649
|
const hasBuffer = typeof Buffer !== "undefined";
|
|
650
650
|
const suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
|
|
@@ -1187,7 +1187,7 @@ function withoutTrailingSlash(url) {
|
|
|
1187
1187
|
return url == null ? void 0 : url.replace(/\/$/, "");
|
|
1188
1188
|
}
|
|
1189
1189
|
//#endregion
|
|
1190
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/1.3.24/
|
|
1190
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/1.3.24/016fac41d998ff168d98fde7926aa7713f8ffc38160a6b4427bfdc41fae1bc99/node_modules/@ai-sdk/openai/dist/index.mjs
|
|
1191
1191
|
function convertToOpenAIChatMessages({ prompt, useLegacyFunctionCalling = false, systemMessageMode = "system" }) {
|
|
1192
1192
|
const messages = [];
|
|
1193
1193
|
const warnings = [];
|
|
@@ -6088,8 +6088,8 @@ var MDocument = class MDocument {
|
|
|
6088
6088
|
attributes: {
|
|
6089
6089
|
action: "chunk",
|
|
6090
6090
|
strategy,
|
|
6091
|
-
chunkSize: chunkOptions
|
|
6092
|
-
chunkOverlap: chunkOptions
|
|
6091
|
+
chunkSize: "maxSize" in chunkOptions ? chunkOptions.maxSize : void 0,
|
|
6092
|
+
chunkOverlap: "overlap" in chunkOptions ? chunkOptions.overlap : void 0
|
|
6093
6093
|
}
|
|
6094
6094
|
});
|
|
6095
6095
|
try {
|