mastracode 0.9.3-alpha.1 → 0.9.3-alpha.3
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 +29 -0
- package/dist/agents/prompts/agent-instructions.d.ts +2 -2
- package/dist/agents/prompts/agent-instructions.d.ts.map +1 -1
- package/dist/agents/prompts/tool-guidance.d.ts.map +1 -1
- package/dist/{chunk-E4FTNRUU.js → chunk-32YFLEKO.js} +406 -71
- package/dist/chunk-32YFLEKO.js.map +1 -0
- package/dist/{chunk-7I6PTSCL.js → chunk-IXFFPLAG.js} +3 -3
- package/dist/{chunk-7I6PTSCL.js.map → chunk-IXFFPLAG.js.map} +1 -1
- package/dist/{chunk-MS5RYNRK.js → chunk-JP7WKMD4.js} +8 -4
- package/dist/chunk-JP7WKMD4.js.map +1 -0
- package/dist/{chunk-XBA6CB7T.cjs → chunk-MFRKXIJB.cjs} +2 -3
- package/dist/{chunk-XBA6CB7T.cjs.map → chunk-MFRKXIJB.cjs.map} +1 -1
- package/dist/{chunk-R6JK3DE3.cjs → chunk-OBFBUWOR.cjs} +8 -4
- package/dist/chunk-OBFBUWOR.cjs.map +1 -0
- package/dist/{chunk-WISS4SS3.js → chunk-PNTTJLEX.js} +38 -14
- package/dist/chunk-PNTTJLEX.js.map +1 -0
- package/dist/{chunk-RGS2DVIJ.cjs → chunk-VJAVSE45.cjs} +84 -60
- package/dist/chunk-VJAVSE45.cjs.map +1 -0
- package/dist/{chunk-5QCT2FGU.cjs → chunk-VSOXZF7L.cjs} +1110 -774
- package/dist/chunk-VSOXZF7L.cjs.map +1 -0
- package/dist/cli.cjs +15 -15
- package/dist/cli.js +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +32 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/permissions-RFLEFJHS.js +3 -0
- package/dist/{permissions-RC7CYR5H.js.map → permissions-RFLEFJHS.js.map} +1 -1
- package/dist/permissions-YLP5R74I.cjs +40 -0
- package/dist/{permissions-NRD36MYI.cjs.map → permissions-YLP5R74I.cjs.map} +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/tool-names.d.ts +4 -0
- package/dist/tool-names.d.ts.map +1 -1
- package/dist/tui/commands/clone.d.ts.map +1 -1
- package/dist/tui/commands/new.d.ts.map +1 -1
- package/dist/tui/commands/resource.d.ts.map +1 -1
- package/dist/tui/commands/threads.d.ts.map +1 -1
- package/dist/tui/components/system-reminder.d.ts +12 -2
- package/dist/tui/components/system-reminder.d.ts.map +1 -1
- package/dist/tui/components/tool-execution-enhanced.d.ts +5 -0
- package/dist/tui/components/tool-execution-enhanced.d.ts.map +1 -1
- package/dist/tui/handlers/message.d.ts.map +1 -1
- package/dist/tui/render-messages.d.ts.map +1 -1
- package/dist/tui/setup.d.ts.map +1 -1
- package/dist/tui/state.d.ts +5 -0
- package/dist/tui/state.d.ts.map +1 -1
- package/dist/tui.cjs +19 -19
- package/dist/tui.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-5QCT2FGU.cjs.map +0 -1
- package/dist/chunk-E4FTNRUU.js.map +0 -1
- package/dist/chunk-MS5RYNRK.js.map +0 -1
- package/dist/chunk-R6JK3DE3.cjs.map +0 -1
- package/dist/chunk-RGS2DVIJ.cjs.map +0 -1
- package/dist/chunk-WISS4SS3.js.map +0 -1
- package/dist/permissions-NRD36MYI.cjs +0 -40
- package/dist/permissions-RC7CYR5H.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.9.3-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Improved Mastra Code prompt guidance so responses stay concise and terminal-friendly. ([#14688](https://github.com/mastra-ai/mastra/pull/14688))
|
|
8
|
+
|
|
9
|
+
- Improved the Loaded AGENTS.md reminder in the TUI so it uses the new bordered notice style and collapses long reminder content by default. ([#14637](https://github.com/mastra-ai/mastra/pull/14637))
|
|
10
|
+
|
|
11
|
+
- Fixed the thread selector so it shows all threads consistently and opens faster. ([#14690](https://github.com/mastra-ai/mastra/pull/14690))
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067), [`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`7302e5c`](https://github.com/mastra-ai/mastra/commit/7302e5ce0f52d769d3d63fb0faa8a7d4089cda6d), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778), [`d657856`](https://github.com/mastra-ai/mastra/commit/d6578561c104fecfeb3caa17dc07d1acbeeffff7)]:
|
|
14
|
+
- @mastra/core@1.18.0-alpha.0
|
|
15
|
+
- @mastra/memory@1.10.1-alpha.2
|
|
16
|
+
- @mastra/pg@1.8.4-alpha.1
|
|
17
|
+
- @mastra/libsql@1.7.3-alpha.1
|
|
18
|
+
|
|
19
|
+
## 0.9.3-alpha.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Improved Mastra Code prompt guidance so responses stay concise and terminal-friendly. ([#14688](https://github.com/mastra-ai/mastra/pull/14688))
|
|
24
|
+
|
|
25
|
+
- Improved the Loaded AGENTS.md reminder in the TUI so it uses the new bordered notice style and collapses long reminder content by default. ([#14637](https://github.com/mastra-ai/mastra/pull/14637))
|
|
26
|
+
|
|
27
|
+
- Fixed the thread selector so it shows all threads consistently and opens faster. ([#14690](https://github.com/mastra-ai/mastra/pull/14690))
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`86e3263`](https://github.com/mastra-ai/mastra/commit/86e326363edd12be5a5b25ccce4a39f66f7c9f50), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778)]:
|
|
30
|
+
- @mastra/core@1.17.0-alpha.2
|
|
31
|
+
|
|
3
32
|
## 0.9.3-alpha.1
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Load project and global agent instruction files (AGENTS.md, CLAUDE.md).
|
|
3
3
|
* Prefers AGENTS.md over CLAUDE.md when multiple exist at the same location.
|
|
4
4
|
*/
|
|
5
|
-
interface InstructionSource {
|
|
5
|
+
export interface InstructionSource {
|
|
6
6
|
path: string;
|
|
7
7
|
content: string;
|
|
8
8
|
scope: 'global' | 'project';
|
|
@@ -12,9 +12,9 @@ interface InstructionSource {
|
|
|
12
12
|
* Returns an array of instruction sources, with global ones first.
|
|
13
13
|
*/
|
|
14
14
|
export declare function loadAgentInstructions(projectPath: string): InstructionSource[];
|
|
15
|
+
export declare function getStaticallyLoadedInstructionPaths(projectPath: string): string[];
|
|
15
16
|
/**
|
|
16
17
|
* Format loaded instructions into a string for the system prompt.
|
|
17
18
|
*/
|
|
18
19
|
export declare function formatAgentInstructions(sources: InstructionSource[]): string;
|
|
19
|
-
export {};
|
|
20
20
|
//# sourceMappingURL=agent-instructions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-instructions.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/agent-instructions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH,
|
|
1
|
+
{"version":3,"file":"agent-instructions.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/agent-instructions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC7B;AAgBD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAuC9E;AAED,wBAAgB,mCAAmC,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAEjF;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAS5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-guidance.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/tool-guidance.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uEAAuE;IACvE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,mBAAwB,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"tool-guidance.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/tool-guidance.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uEAAuE;IACvE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,mBAAwB,GAAG,MAAM,CA0K3F"}
|