mastracode 0.9.1-alpha.2 → 0.9.1-alpha.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.9.1-alpha.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`da93115`](https://github.com/mastra-ai/mastra/commit/da931155c1a9bc63d455d3d86b4ec984db5991fe), [`44df54a`](https://github.com/mastra-ai/mastra/commit/44df54a28e6315d9699cf437e4f3e8c7c7d10217), [`0efe12a`](https://github.com/mastra-ai/mastra/commit/0efe12a5f008a939a1aac71699486ba40138054e)]:
8
+ - @mastra/memory@1.9.0-alpha.2
9
+ - @mastra/core@1.15.0-alpha.4
10
+ - @mastra/mcp@1.3.1-alpha.1
11
+
12
+ ## 0.9.1-alpha.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`888c512`](https://github.com/mastra-ai/mastra/commit/888c5121e370289713d560a99bce58814e2fbb69), [`d7f14c3`](https://github.com/mastra-ai/mastra/commit/d7f14c3285cd253ecdd5f58139b7b6cbdf3678b5)]:
17
+ - @mastra/pg@1.8.2-alpha.0
18
+ - @mastra/core@1.15.0-alpha.3
19
+
3
20
  ## 0.9.1-alpha.2
4
21
 
5
22
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/agents/memory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAyCxC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,IACpD,oBAAoB;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE,YA4C/D"}
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/agents/memory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAyCxC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,IACpD,oBAAoB;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE,YA6C/D"}
@@ -476,7 +476,7 @@ function getDynamicWorkspace({ requestContext, mastra: mastra2 }) {
476
476
  return existing;
477
477
  }
478
478
  const userLsp = chunkC7K52PPG_cjs.loadSettings().lsp ?? {};
479
- const mcModulePath = path.join(path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-NBJT3ULI.cjs', document.baseURI).href)))), "..");
479
+ const mcModulePath = path.join(path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-3KIA4QZH.cjs', document.baseURI).href)))), "..");
480
480
  const lspConfig = {
481
481
  ...userLsp,
482
482
  packageRunner: userLsp.packageRunner || detectPackageRunner(projectPath),
@@ -1282,6 +1282,7 @@ function getDynamicMemory(storage) {
1282
1282
  options: {
1283
1283
  observationalMemory: {
1284
1284
  enabled: true,
1285
+ retrieval: omScope === "thread",
1285
1286
  scope: omScope,
1286
1287
  observation: {
1287
1288
  bufferTokens: isResourceScope ? false : 1 / 5,
@@ -2706,5 +2707,5 @@ async function createMastraCode(config) {
2706
2707
 
2707
2708
  exports.createAuthStorage = createAuthStorage;
2708
2709
  exports.createMastraCode = createMastraCode;
2709
- //# sourceMappingURL=chunk-NBJT3ULI.cjs.map
2710
- //# sourceMappingURL=chunk-NBJT3ULI.cjs.map
2710
+ //# sourceMappingURL=chunk-3KIA4QZH.cjs.map
2711
+ //# sourceMappingURL=chunk-3KIA4QZH.cjs.map