mastracode 0.6.0-alpha.0 → 0.7.0-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/CHANGELOG.md +58 -0
- package/dist/agents/subagents/audit-tests.d.ts +9 -2
- package/dist/agents/subagents/audit-tests.d.ts.map +1 -1
- package/dist/agents/subagents/execute.d.ts +9 -2
- package/dist/agents/subagents/execute.d.ts.map +1 -1
- package/dist/agents/subagents/explore.d.ts +9 -2
- package/dist/agents/subagents/explore.d.ts.map +1 -1
- package/dist/agents/subagents/plan.d.ts +9 -2
- package/dist/agents/subagents/plan.d.ts.map +1 -1
- package/dist/{chunk-5Z4INOMR.cjs → chunk-2GHCWJF2.cjs} +955 -635
- package/dist/chunk-2GHCWJF2.cjs.map +1 -0
- package/dist/chunk-3ZIPVVJW.cjs +786 -0
- package/dist/chunk-3ZIPVVJW.cjs.map +1 -0
- package/dist/{chunk-EFX4VG2Z.js → chunk-5DRUQY7X.js} +412 -93
- package/dist/chunk-5DRUQY7X.js.map +1 -0
- package/dist/chunk-BHG6IWIR.js +738 -0
- package/dist/chunk-BHG6IWIR.js.map +1 -0
- package/dist/{chunk-LJBYRJYF.js → chunk-SWOL2PME.js} +860 -99
- package/dist/chunk-SWOL2PME.js.map +1 -0
- package/dist/{chunk-DHWZYRP4.cjs → chunk-TIL63MTO.cjs} +895 -130
- package/dist/chunk-TIL63MTO.cjs.map +1 -0
- package/dist/cli.cjs +251 -13
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +242 -4
- package/dist/cli.js.map +1 -1
- package/dist/headless.d.ts +29 -0
- package/dist/headless.d.ts.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +58 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tools/index.d.ts +0 -9
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/request-sandbox-access.d.ts +1 -4
- package/dist/tools/request-sandbox-access.d.ts.map +1 -1
- package/dist/tools/utils.d.ts +0 -13
- package/dist/tools/utils.d.ts.map +1 -1
- package/dist/tools/web-search.d.ts +7 -7
- package/dist/tools/web-search.d.ts.map +1 -1
- package/dist/tui/components/custom-editor.d.ts +10 -8
- package/dist/tui/components/custom-editor.d.ts.map +1 -1
- package/dist/tui/components/shell-output.d.ts +12 -3
- package/dist/tui/components/shell-output.d.ts.map +1 -1
- package/dist/tui/components/tool-execution-enhanced.d.ts +7 -0
- package/dist/tui/components/tool-execution-enhanced.d.ts.map +1 -1
- package/dist/tui/mastra-tui.d.ts +5 -1
- package/dist/tui/mastra-tui.d.ts.map +1 -1
- package/dist/tui/shell.d.ts.map +1 -1
- package/dist/tui.cjs +19 -19
- package/dist/tui.js +2 -2
- package/package.json +11 -11
- package/dist/agents/subagents/index.d.ts +0 -29
- package/dist/agents/subagents/index.d.ts.map +0 -1
- package/dist/agents/subagents/types.d.ts +0 -22
- package/dist/agents/subagents/types.d.ts.map +0 -1
- package/dist/chunk-5Z4INOMR.cjs.map +0 -1
- package/dist/chunk-DHWZYRP4.cjs.map +0 -1
- package/dist/chunk-EFX4VG2Z.js.map +0 -1
- package/dist/chunk-ERU7MGWJ.js +0 -3988
- package/dist/chunk-ERU7MGWJ.js.map +0 -1
- package/dist/chunk-LJBYRJYF.js.map +0 -1
- package/dist/chunk-UQPA3ZIP.cjs +0 -4059
- package/dist/chunk-UQPA3ZIP.cjs.map +0 -1
- package/dist/tools/ast-smart-edit.d.ts +0 -115
- package/dist/tools/ast-smart-edit.d.ts.map +0 -1
- package/dist/tools/file-editor.d.ts +0 -31
- package/dist/tools/file-editor.d.ts.map +0 -1
- package/dist/tools/file-view.d.ts +0 -11
- package/dist/tools/file-view.d.ts.map +0 -1
- package/dist/tools/glob.d.ts +0 -11
- package/dist/tools/glob.d.ts.map +0 -1
- package/dist/tools/grep.d.ts +0 -15
- package/dist/tools/grep.d.ts.map +0 -1
- package/dist/tools/shell.d.ts +0 -69
- package/dist/tools/shell.d.ts.map +0 -1
- package/dist/tools/string-replace-lsp.d.ts +0 -31
- package/dist/tools/string-replace-lsp.d.ts.map +0 -1
- package/dist/tools/subagent.d.ts +0 -44
- package/dist/tools/subagent.d.ts.map +0 -1
- package/dist/tools/types.d.ts +0 -4
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/wrap-with-confirmation.d.ts +0 -3
- package/dist/tools/wrap-with-confirmation.d.ts.map +0 -1
- package/dist/tools/write.d.ts +0 -11
- package/dist/tools/write.d.ts.map +0 -1
- package/dist/wrap-with-confirmation-J4FUCPZJ.js +0 -12
- package/dist/wrap-with-confirmation-J4FUCPZJ.js.map +0 -1
- package/dist/wrap-with-confirmation-UACYYX4U.cjs +0 -15
- package/dist/wrap-with-confirmation-UACYYX4U.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.7.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added headless non-interactive mode via `--prompt` / `-p` flag. Mastra Code can now run from scripts, CI/CD pipelines, and task orchestration systems without human interaction. All blocking interactions (tool approvals, questions, plan approvals, sandbox access) are auto-resolved. Supports `--timeout`, `--continue`, and `--format json` flags. Exit codes: 0 (success), 1 (error/aborted), 2 (timeout). ([#13648](https://github.com/mastra-ai/mastra/pull/13648))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Improve MastraCode image pasting for clipboard images, local image paths, and remote image URLs. ([#13953](https://github.com/mastra-ai/mastra/pull/13953))
|
|
12
|
+
|
|
13
|
+
- Improved web_search tool rendering in the TUI. Search results now display a clean list of titles and URLs with the search query in the header, instead of dumping raw JSON. ([#13870](https://github.com/mastra-ai/mastra/pull/13870))
|
|
14
|
+
|
|
15
|
+
- Improved the shell passthrough command (`! <command>`, e.g. `! ls -la`) to show output as it happens. Previously, running a command like `! ping example.com` would show nothing until the command finished. Now, stdout and stderr stream live into a bordered output box with a spinner that resolves to a success or failure indicator on completion. ([#13999](https://github.com/mastra-ai/mastra/pull/13999))
|
|
16
|
+
|
|
17
|
+
- Subagents now use the same file and command tools as the parent agent, ensuring consistent behavior across sandbox environments and workspaces. ([#13940](https://github.com/mastra-ai/mastra/pull/13940))
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`4f71b43`](https://github.com/mastra-ai/mastra/commit/4f71b436a4a6b8839842d8da47b57b84509af56c), [`a070277`](https://github.com/mastra-ai/mastra/commit/a07027766ce195ba74d0783116d894cbab25d44c), [`b628b91`](https://github.com/mastra-ai/mastra/commit/b628b9128b372c0f54214d902b07279f03443900), [`332c014`](https://github.com/mastra-ai/mastra/commit/332c014e076b81edf7fe45b58205882726415e90), [`6b63153`](https://github.com/mastra-ai/mastra/commit/6b63153878ea841c0f4ce632ba66bb33e57e9c1b), [`c2d7a7c`](https://github.com/mastra-ai/mastra/commit/c2d7a7c48d89245188c81a9a436ad8b1d9f3872d), [`4246e34`](https://github.com/mastra-ai/mastra/commit/4246e34cec9c26636d0965942268e6d07c346671), [`b8837ee`](https://github.com/mastra-ai/mastra/commit/b8837ee77e2e84197609762bfabd8b3da326d30c), [`5d950f7`](https://github.com/mastra-ai/mastra/commit/5d950f7bf426a215a1808f0abef7de5c8336ba1c), [`d3ad589`](https://github.com/mastra-ai/mastra/commit/d3ad589a39e66bb783513c4bbf912246bdf18c22), [`28c85b1`](https://github.com/mastra-ai/mastra/commit/28c85b184fc32b40f7f160483c982da6d388ecbd), [`e9a08fb`](https://github.com/mastra-ai/mastra/commit/e9a08fbef1ada7e50e961e2f54f55e8c10b4a45c), [`57c7391`](https://github.com/mastra-ai/mastra/commit/57c739108b9a6c9160352f0468dfe0428c03a234), [`18d91c3`](https://github.com/mastra-ai/mastra/commit/18d91c3b6e905cfd3ba50e7c7dc81164b6aa69ad), [`631ffd8`](https://github.com/mastra-ai/mastra/commit/631ffd82fed108648b448b28e6a90e38c5f53bf5), [`aae2295`](https://github.com/mastra-ai/mastra/commit/aae2295838a2d329ad6640829e87934790ffe5b8), [`aa61f29`](https://github.com/mastra-ai/mastra/commit/aa61f29ff8095ce46a4ae16e46c4d8c79b2b685b), [`7ff3714`](https://github.com/mastra-ai/mastra/commit/7ff37148515439bb3be009a60e02c3e363299760), [`41d79a1`](https://github.com/mastra-ai/mastra/commit/41d79a14bd8cb6de1e2565fd0a04786bae2f211b), [`e673376`](https://github.com/mastra-ai/mastra/commit/e6733763ad1321aa7e5ae15096b9c2104f93b1f3), [`b2204c9`](https://github.com/mastra-ai/mastra/commit/b2204c98a42848bbfb6f0440f005dc2b6354f1cd), [`a1bf1e3`](https://github.com/mastra-ai/mastra/commit/a1bf1e385ed4c0ef6f11b56c5887442970d127f2), [`b6f647a`](https://github.com/mastra-ai/mastra/commit/b6f647ae2388e091f366581595feb957e37d5b40), [`0c57b8b`](https://github.com/mastra-ai/mastra/commit/0c57b8b0a69a97b5a4ae3f79be6c610f29f3cf7b), [`b081f27`](https://github.com/mastra-ai/mastra/commit/b081f272cf411716e1d6bd72ceac4bcee2657b19), [`682b7f7`](https://github.com/mastra-ai/mastra/commit/682b7f773b7940687ef22569e720fd4bc4fdb8fe), [`0c09eac`](https://github.com/mastra-ai/mastra/commit/0c09eacb1926f64cfdc9ae5c6d63385cf8c9f72c), [`6b9b93d`](https://github.com/mastra-ai/mastra/commit/6b9b93d6f459d1ba6e36f163abf62a085ddb3d64), [`d3ad589`](https://github.com/mastra-ai/mastra/commit/d3ad589a39e66bb783513c4bbf912246bdf18c22), [`b6f647a`](https://github.com/mastra-ai/mastra/commit/b6f647ae2388e091f366581595feb957e37d5b40), [`31b6067`](https://github.com/mastra-ai/mastra/commit/31b6067d0cc3ab10e1b29c36147f3b5266bc714a), [`797ac42`](https://github.com/mastra-ai/mastra/commit/797ac4276de231ad2d694d9aeca75980f6cd0419), [`0423bf4`](https://github.com/mastra-ai/mastra/commit/0423bf4292bd494565ef631bc4f2cc7b86b27390), [`0bc289e`](https://github.com/mastra-ai/mastra/commit/0bc289e2d476bf46c5b91c21969e8d0c6864691c), [`9b75a06`](https://github.com/mastra-ai/mastra/commit/9b75a06e53ebb0b950ba7c1e83a0142047185f46), [`4c3a1b1`](https://github.com/mastra-ai/mastra/commit/4c3a1b122ea083e003d71092f30f3b31680b01c0), [`b8837ee`](https://github.com/mastra-ai/mastra/commit/b8837ee77e2e84197609762bfabd8b3da326d30c), [`0c57b8b`](https://github.com/mastra-ai/mastra/commit/0c57b8b0a69a97b5a4ae3f79be6c610f29f3cf7b), [`85cc3b3`](https://github.com/mastra-ai/mastra/commit/85cc3b3b6f32ae4b083c26498f50d5b250ba944b), [`3ebdadf`](https://github.com/mastra-ai/mastra/commit/3ebdadfe517d16f29464f35baba8356771160369), [`d567299`](https://github.com/mastra-ai/mastra/commit/d567299cf81e02bd9d5221d4bc05967d6c224161), [`97ea28c`](https://github.com/mastra-ai/mastra/commit/97ea28c746e9e4147d56047bbb1c4a92417a3fec), [`d567299`](https://github.com/mastra-ai/mastra/commit/d567299cf81e02bd9d5221d4bc05967d6c224161), [`716ffe6`](https://github.com/mastra-ai/mastra/commit/716ffe68bed81f7c2690bc8581b9e140f7bf1c3d), [`8296332`](https://github.com/mastra-ai/mastra/commit/8296332de21c16e3dfc3d0b2d615720a6dc88f2f), [`4df2116`](https://github.com/mastra-ai/mastra/commit/4df211619dd922c047d396ca41cd7027c8c4c8e7), [`2219c1a`](https://github.com/mastra-ai/mastra/commit/2219c1acbd21da116da877f0036ffb985a9dd5a3), [`17c4145`](https://github.com/mastra-ai/mastra/commit/17c4145166099354545582335b5252bdfdfd908b)]:
|
|
20
|
+
- @mastra/core@1.11.0-alpha.0
|
|
21
|
+
- @mastra/libsql@1.7.0-alpha.0
|
|
22
|
+
- @mastra/pg@1.8.0-alpha.0
|
|
23
|
+
- @mastra/memory@1.6.2-alpha.0
|
|
24
|
+
- @mastra/mcp@1.1.0
|
|
25
|
+
|
|
26
|
+
## 0.6.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- Added pre/post hook wrapping for tool execution via `HookManager`, exported `createAuthStorage` for standalone auth provider initialization, and fixed Anthropic/OpenAI auth routing to use stored credential type as the source of truth. ([#13611](https://github.com/mastra-ai/mastra/pull/13611))
|
|
31
|
+
|
|
32
|
+
**New API: `createAuthStorage`**
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
import { createAuthStorage } from 'mastracode';
|
|
36
|
+
|
|
37
|
+
const authStorage = createAuthStorage();
|
|
38
|
+
// authStorage is now wired into Claude Max and OpenAI Codex providers
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
- `disabledTools` config now also filters tools exposed to subagents, preventing bypass through delegation
|
|
42
|
+
- Auth routing uses `AuthStorage` credential type (`api_key` vs `oauth`) to correctly route API-key auth vs OAuth bearer auth
|
|
43
|
+
|
|
44
|
+
- Added /update slash command to check for and install updates directly from the TUI. Fixed update notifications logging repeatedly in the terminal — now only shown once per session. Update messages now reference /update instead of shell commands. ([#13787](https://github.com/mastra-ai/mastra/pull/13787))
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Fixed thinking level persistence as a global preference. `/think`, Settings, and OpenAI model pack updates now save the selected level to `settings.json`, so it is kept across restarts and new threads. ([#13748](https://github.com/mastra-ai/mastra/pull/13748))
|
|
49
|
+
|
|
50
|
+
- Renamed `request_sandbox_access` tool to `request_access`. Fixed tilde paths (`~/.config/...`) not being expanded, which caused the tool to incorrectly report access as already granted. Fixed newly approved paths not being accessible until the next turn by calling `setAllowedPaths` immediately after approval. ([#13753](https://github.com/mastra-ai/mastra/pull/13753))
|
|
51
|
+
|
|
52
|
+
- Fix fatal "MASTRACODE_VERSION is not defined" error when running from source with tsx. The version constant is now gracefully resolved from package.json at runtime when the build-time define is unavailable. ([#13767](https://github.com/mastra-ai/mastra/pull/13767))
|
|
53
|
+
|
|
54
|
+
- Updated dependencies [[`41e48c1`](https://github.com/mastra-ai/mastra/commit/41e48c198eee846478e60c02ec432c19d322a517), [`82469d3`](https://github.com/mastra-ai/mastra/commit/82469d3135d5a49dd8dc8feec0ff398b4e0225a0), [`33e2fd5`](https://github.com/mastra-ai/mastra/commit/33e2fd5088f83666df17401e2da68c943dbc0448), [`7ef6e2c`](https://github.com/mastra-ai/mastra/commit/7ef6e2c61be5a42e26f55d15b5902866fc76634f), [`08072ec`](https://github.com/mastra-ai/mastra/commit/08072ec54b5dfe810ed66c0d583ae9d1a9103c11), [`ef9d0f0`](https://github.com/mastra-ai/mastra/commit/ef9d0f0fa98ff225b17afe071f5b84a9258dc142), [`b12d2a5`](https://github.com/mastra-ai/mastra/commit/b12d2a59a48be0477cabae66eb6cf0fc94a7d40d), [`9e21667`](https://github.com/mastra-ai/mastra/commit/9e2166746df81da8f1f933a918741fc52f922c70), [`fa37d39`](https://github.com/mastra-ai/mastra/commit/fa37d39910421feaf8847716292e3d65dd4f30c2), [`b12d2a5`](https://github.com/mastra-ai/mastra/commit/b12d2a59a48be0477cabae66eb6cf0fc94a7d40d), [`1391f22`](https://github.com/mastra-ai/mastra/commit/1391f227ff197080de185ac1073c1d1568c0631f), [`71c38bf`](https://github.com/mastra-ai/mastra/commit/71c38bf905905148ecd0e75c07c1f9825d299b76), [`f993c38`](https://github.com/mastra-ai/mastra/commit/f993c3848c97479b813231be872443bedeced6ab), [`f51849a`](https://github.com/mastra-ai/mastra/commit/f51849a568935122b5100b7ee69704e6d680cf7b), [`3ceb231`](https://github.com/mastra-ai/mastra/commit/3ceb2317aad7da36df5053e7c84f9381eeb68d11), [`9bf3a0d`](https://github.com/mastra-ai/mastra/commit/9bf3a0dac602787925f1762f1f0387d7b4a59620), [`cafa045`](https://github.com/mastra-ai/mastra/commit/cafa0453c9de141ad50c09a13894622dffdd9978), [`1fd9ddb`](https://github.com/mastra-ai/mastra/commit/1fd9ddbb3fe83b281b12bd2e27e426ae86288266), [`1391f22`](https://github.com/mastra-ai/mastra/commit/1391f227ff197080de185ac1073c1d1568c0631f), [`ef888d2`](https://github.com/mastra-ai/mastra/commit/ef888d23c77f85f4c202228b63f8fd9b6d9361af), [`e7a567c`](https://github.com/mastra-ai/mastra/commit/e7a567cfb3e65c955a07d0167cb1b4141f5bda01), [`3626623`](https://github.com/mastra-ai/mastra/commit/36266238eb7db78fce2ac34187194613f6f53733), [`6135ef4`](https://github.com/mastra-ai/mastra/commit/6135ef4f5288652bf45f616ec590607e4c95f443), [`d9d228c`](https://github.com/mastra-ai/mastra/commit/d9d228c0c6ae82ae6ce3b540a3a56b2b1c2b8d98), [`5576507`](https://github.com/mastra-ai/mastra/commit/55765071e360fb97e443aa0a91ccf7e1cd8d92aa), [`79d69c9`](https://github.com/mastra-ai/mastra/commit/79d69c9d5f842ff1c31352fb6026f04c1f6190f3), [`94f44b8`](https://github.com/mastra-ai/mastra/commit/94f44b827ce57b179e50f4916a84c0fa6e7f3b8c), [`13187db`](https://github.com/mastra-ai/mastra/commit/13187dbac880174232dedc5a501ff6c5d0fe59bc), [`2ae5311`](https://github.com/mastra-ai/mastra/commit/2ae531185fff66a80fa165c0999e3d801900e89d), [`6135ef4`](https://github.com/mastra-ai/mastra/commit/6135ef4f5288652bf45f616ec590607e4c95f443)]:
|
|
55
|
+
- @mastra/core@1.10.0
|
|
56
|
+
- @mastra/memory@1.6.1
|
|
57
|
+
- @mastra/mcp@1.1.0
|
|
58
|
+
- @mastra/libsql@1.6.4
|
|
59
|
+
- @mastra/pg@1.7.2
|
|
60
|
+
|
|
3
61
|
## 0.6.0-alpha.0
|
|
4
62
|
|
|
5
63
|
### Minor Changes
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Audit-tests subagent — read-only test quality auditor.
|
|
3
|
+
*
|
|
4
|
+
* This subagent reviews test files provided by the parent agent,
|
|
5
|
+
* explores the repo's existing testing conventions, and produces
|
|
6
|
+
* a detailed audit report with actionable improvement recommendations.
|
|
7
|
+
*/
|
|
8
|
+
import type { HarnessSubagent } from '@mastra/core/harness';
|
|
9
|
+
export declare const auditTestsSubagent: HarnessSubagent;
|
|
3
10
|
//# sourceMappingURL=audit-tests.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-tests.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/audit-tests.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit-tests.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/audit-tests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI5D,eAAO,MAAM,kBAAkB,EAAE,eAgHhC,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Execute subagent — focused task execution with write capabilities.
|
|
3
|
+
*
|
|
4
|
+
* This subagent is given a specific implementation task and uses both
|
|
5
|
+
* read and write tools to complete it. It can modify files, run commands,
|
|
6
|
+
* and perform actual development work within a constrained scope.
|
|
7
|
+
*/
|
|
8
|
+
import type { HarnessSubagent } from '@mastra/core/harness';
|
|
9
|
+
export declare const executeSubagent: HarnessSubagent;
|
|
3
10
|
//# sourceMappingURL=execute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/execute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/execute.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI5D,eAAO,MAAM,eAAe,EAAE,eA0C7B,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Explore subagent — read-only codebase exploration.
|
|
3
|
+
*
|
|
4
|
+
* This subagent is given a focused task (e.g., "find all usages of X",
|
|
5
|
+
* "understand how module Y works") and uses read-only tools to explore
|
|
6
|
+
* the codebase, then returns a concise summary of its findings.
|
|
7
|
+
*/
|
|
8
|
+
import type { HarnessSubagent } from '@mastra/core/harness';
|
|
9
|
+
export declare const exploreSubagent: HarnessSubagent;
|
|
3
10
|
//# sourceMappingURL=explore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explore.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/explore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"explore.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/explore.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI5D,eAAO,MAAM,eAAe,EAAE,eAgC7B,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Plan subagent — read-only analysis and planning.
|
|
3
|
+
*
|
|
4
|
+
* This subagent is given a task to analyze and produces a structured
|
|
5
|
+
* implementation plan. It can read the codebase to understand existing
|
|
6
|
+
* patterns and architecture, but cannot modify anything.
|
|
7
|
+
*/
|
|
8
|
+
import type { HarnessSubagent } from '@mastra/core/harness';
|
|
9
|
+
export declare const planSubagent: HarnessSubagent;
|
|
3
10
|
//# sourceMappingURL=plan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/plan.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../../src/agents/subagents/plan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI5D,eAAO,MAAM,YAAY,EAAE,eAkC1B,CAAC"}
|