@agentproto/adapter-mastra-agent 0.4.0 → 0.4.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/README.md +7 -1
- package/package.json +8 -8
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`
|
|
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.
|
|
3
|
+
"version": "0.4.2",
|
|
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",
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@agentclientprotocol/sdk": "^0.21.0",
|
|
51
|
-
"@mastra/core": "^1.
|
|
52
|
-
"@mastra/libsql": "~1.
|
|
53
|
-
"@mastra/memory": "^1.
|
|
51
|
+
"@mastra/core": "^1.57.0",
|
|
52
|
+
"@mastra/libsql": "~1.19.0",
|
|
53
|
+
"@mastra/memory": "^1.26.0",
|
|
54
54
|
"zod": "^4.4.3",
|
|
55
55
|
"@agentproto/agent": "0.2.1",
|
|
56
|
-
"@agentproto/driver-agent-cli": "2.2.
|
|
57
|
-
"@agentproto/mastra": "0.2.
|
|
56
|
+
"@agentproto/driver-agent-cli": "2.2.1",
|
|
57
|
+
"@agentproto/mastra": "0.2.6"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^25.6.2",
|
|
61
61
|
"tsup": "^8.5.1",
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
63
|
"vitest": "^3.2.4",
|
|
64
|
-
"@agentproto/app-kit": "0.
|
|
65
|
-
"@agentproto/apps": "0.
|
|
64
|
+
"@agentproto/app-kit": "0.5.1",
|
|
65
|
+
"@agentproto/apps": "0.5.1",
|
|
66
66
|
"@agentproto/tooling": "0.1.0-alpha.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|