@agentproto/adapter-mastra-agent 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -46,13 +46,19 @@ cwd** (path-traversal guarded):
46
46
  | `write_file` | Create/overwrite a file (mkdir -p). |
47
47
  | `edit_file` | Replace a unique substring. |
48
48
  | `run_command` | Run a shell command (cwd-scoped, timeout). |
49
+ | `read_diff` | Show `git diff` against HEAD (or a base ref), optionally scoped to paths. |
50
+ | `apply_patch` | Apply a unified diff to workspace files (`git apply`). |
51
+ | `run_tests` | Run the workspace test command (default `npm test`, overrideable). |
49
52
 
50
53
  > **Note:** `read_file` and `write_file` here are Mastra-native workspace tools
51
54
  > scoped to this adapter's session cwd. They are distinct from the runtime MCP
52
55
  > filesystem tools (`file_read`, `file_write`) registered on the daemon's `/mcp`
53
56
  > endpoint.
54
57
 
55
- `run_command` is on by default; set `AGENTPROTO_MASTRA_NO_EXEC=1` to withhold it.
58
+ `run_command`, `read_diff`, `apply_patch`, and `run_tests` are gated by `allowExec`
59
+ (default `true`); set `AGENTPROTO_MASTRA_NO_EXEC=1` to withhold them. Embedding hosts
60
+ can also pass `extraTools` to merge additional tools over the built-in set (extra wins
61
+ on id collision).
56
62
 
57
63
  ## Memory
58
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentproto/adapter-mastra-agent",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "@agentproto/adapter-mastra-agent — first-party agentproto agent. An AIP-42 AGENT.md run as a live Mastra agent behind an AIP-44 ACP server, spawnable by the daemon like any other AGENT-CLI arm AND launchable standalone via `agentproto-mastra acp`. Our own loop, our own models — no external CLI.",
5
5
  "keywords": [
6
6
  "agentproto",
@@ -53,7 +53,7 @@
53
53
  "@mastra/memory": "^1.24.0",
54
54
  "zod": "^4.4.3",
55
55
  "@agentproto/agent": "0.2.1",
56
- "@agentproto/driver-agent-cli": "2.2.0",
56
+ "@agentproto/driver-agent-cli": "2.2.1",
57
57
  "@agentproto/mastra": "0.2.5"
58
58
  },
59
59
  "devDependencies": {
@@ -62,7 +62,7 @@
62
62
  "typescript": "^5.9.3",
63
63
  "vitest": "^3.2.4",
64
64
  "@agentproto/app-kit": "0.4.0",
65
- "@agentproto/apps": "0.3.0",
65
+ "@agentproto/apps": "0.4.0",
66
66
  "@agentproto/tooling": "0.1.0-alpha.0"
67
67
  },
68
68
  "scripts": {