mastracode 0.10.3-alpha.0 → 0.10.3-alpha.2

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,24 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.10.3-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Disabled MCP tool result timeout in MastraCode to allow for long running tools ([#14960](https://github.com/mastra-ai/mastra/pull/14960))
8
+
9
+ - Fixed agent sandbox instructions to use the `request_access` tool instead of telling users to manually run `/sandbox`. The agent now requests directory access interactively, reducing friction when working with files outside the project root. ([#14961](https://github.com/mastra-ai/mastra/pull/14961))
10
+
11
+ - Updated dependencies [[`ec5c319`](https://github.com/mastra-ai/mastra/commit/ec5c3197a50d034cb8e9cc494eebfddc684b5d81), [`6517789`](https://github.com/mastra-ai/mastra/commit/65177895b74b5471fe2245c7292f0176d9b3385d), [`9ad6aa6`](https://github.com/mastra-ai/mastra/commit/9ad6aa6dfe858afc6955d1df5f3f78c40bb96b9c), [`2862127`](https://github.com/mastra-ai/mastra/commit/2862127d0a7cbd28523120ad64fea067a95838e6), [`3d16814`](https://github.com/mastra-ai/mastra/commit/3d16814c395931373543728994ff45ac98093074), [`7f498d0`](https://github.com/mastra-ai/mastra/commit/7f498d099eacef64fd43ee412e3bd6f87965a8a6), [`8cf8a67`](https://github.com/mastra-ai/mastra/commit/8cf8a67b061b737cb06d501fb8c1967a98bbf3cb), [`d7827e3`](https://github.com/mastra-ai/mastra/commit/d7827e393937c6cb0c7a744dde4d31538cb542b7)]:
12
+ - @mastra/core@1.21.0-alpha.2
13
+
14
+ ## 0.10.3-alpha.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`13f4327`](https://github.com/mastra-ai/mastra/commit/13f4327f052faebe199cefbe906d33bf90238767), [`5467a87`](https://github.com/mastra-ai/mastra/commit/5467a87090d6359980344c443737c059afe5cc11)]:
19
+ - @mastra/core@1.21.0-alpha.1
20
+ - @mastra/memory@1.13.0-alpha.0
21
+
3
22
  ## 0.10.3-alpha.0
4
23
 
5
24
  ### Patch Changes
@@ -98,7 +98,7 @@ Use \`gh pr create\`. Include a summary of what changed and a test plan.
98
98
 
99
99
  # File Access & Sandbox
100
100
 
101
- By default, you can only access files within the current project directory. If you get a "Permission denied" or "Access denied" error when trying to read, write, or access files outside the project root, do NOT keep retrying. Instead, tell the user to run the \`/sandbox\` command to add the external directory to the allowed paths for this thread. Once they do, you will be able to access it.
101
+ By default, you can only access files within the current project directory. If you get a "Permission denied" or "Access denied" error when trying to read, write, or access files outside the project root, do NOT keep retrying. Instead, use the \`request_access\` tool to request access to the external directory. Only tell the user to run \`/sandbox\` themselves if the tool is unavailable or the request cannot be made from the current context.
102
102
 
103
103
  You are an autonomous AI assistant with strong common sense reasoning capabilities. Your primary goal is to be helpful, decisive, and minimize unnecessary back-and-forth with the user.
104
104
 
@@ -1998,6 +1998,7 @@ function mergeConfigs2(...configs) {
1998
1998
  }
1999
1999
 
2000
2000
  // src/mcp/manager.ts
2001
+ var MASTRACODE_MCP_TIMEOUT_MS = 7 * 24 * 60 * 60 * 1e3;
2001
2002
  function getTransport(cfg) {
2002
2003
  return "url" in cfg ? "http" : "stdio";
2003
2004
  }
@@ -2075,7 +2076,8 @@ function createMcpManager(projectDir, extraServers) {
2075
2076
  }
2076
2077
  client = new MCPClient({
2077
2078
  id: "mastra-code-mcp",
2078
- servers: buildServerDefs(servers)
2079
+ servers: buildServerDefs(servers),
2080
+ timeout: MASTRACODE_MCP_TIMEOUT_MS
2079
2081
  });
2080
2082
  try {
2081
2083
  const { toolsets, errors } = await client.listToolsetsWithErrors();
@@ -2801,5 +2803,5 @@ async function createMastraCode(config) {
2801
2803
  }
2802
2804
 
2803
2805
  export { createAuthStorage, createMastraCode };
2804
- //# sourceMappingURL=chunk-ETNJSMMQ.js.map
2805
- //# sourceMappingURL=chunk-ETNJSMMQ.js.map
2806
+ //# sourceMappingURL=chunk-BTG3AOXO.js.map
2807
+ //# sourceMappingURL=chunk-BTG3AOXO.js.map