mastracode 0.17.3-alpha.1 → 0.17.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 +9 -0
- package/README.md +22 -17
- package/dist/{chunk-IGBWGU6K.js → chunk-6FHOMZRJ.js} +3 -3
- package/dist/{chunk-IGBWGU6K.js.map → chunk-6FHOMZRJ.js.map} +1 -1
- package/dist/{chunk-MTXFYLDU.cjs → chunk-RYAKKVIH.cjs} +3 -3
- package/dist/{chunk-MTXFYLDU.cjs.map → chunk-RYAKKVIH.cjs.map} +1 -1
- package/dist/cli.cjs +4 -4
- package/dist/cli.js +1 -1
- package/dist/tui.cjs +11 -11
- package/dist/tui.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.17.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Improve README by adding links and screenshots ([#16250](https://github.com/mastra-ai/mastra/pull/16250))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`dccd8f1`](https://github.com/mastra-ai/mastra/commit/dccd8f1f8b8f1ad203b77556207e5529567c616d)]:
|
|
10
|
+
- @mastra/core@1.33.0-alpha.1
|
|
11
|
+
|
|
3
12
|
## 0.17.3-alpha.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
# Mastra Code
|
|
2
2
|
|
|
3
|
-
A
|
|
3
|
+
A coding agent that never compacts. Built with [Mastra](https://mastra.ai) and [pi-tui](https://github.com/badlogic/pi-mono).
|
|
4
|
+
|
|
5
|
+
Learn more in the [documentation](https://code.mastra.ai/) and [announcement post](https://mastra.ai/blog/announcing-mastra-code).
|
|
6
|
+
|
|
7
|
+

|
|
4
8
|
|
|
5
9
|
## Features
|
|
6
10
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
11
|
+
- **Observational Memory built-in**: Never deal with compaction again. [Observational Memory](https://mastra.ai/docs/memory/observational-memory) automatically extracts and stores observations from every conversation, then injects relevant context into future requests.
|
|
12
|
+
- **Multi-model support**: Use Claude, GPT, Gemini, and thousands of other models via Mastra's unified model router
|
|
13
|
+
- **OAuth login**: Authenticate with Anthropic (Claude Max) and OpenAI (ChatGPT Plus/Codex)
|
|
14
|
+
- **Persistent conversations**: Threads are saved per-project and resume automatically
|
|
15
|
+
- **Coding tools**: View files, edit code, run shell commands
|
|
16
|
+
- **Plan persistence**: Approved plans are saved as markdown files for future reference
|
|
17
|
+
- **Token tracking**: Monitor usage with persistent token counts per thread
|
|
18
|
+
- **Beautiful TUI**: Polished terminal interface with streaming responses
|
|
14
19
|
|
|
15
20
|
## Installation
|
|
16
21
|
|
|
@@ -28,10 +33,10 @@ npx mastracode
|
|
|
28
33
|
|
|
29
34
|
On first launch, an interactive onboarding wizard guides you through:
|
|
30
35
|
|
|
31
|
-
1. **Authentication
|
|
32
|
-
2. **Model packs
|
|
33
|
-
3. **Observational Memory
|
|
34
|
-
4. **YOLO mode
|
|
36
|
+
1. **Authentication**: Log in with your AI provider (Anthropic, OpenAI, etc.)
|
|
37
|
+
2. **Model packs**: Choose default models for each mode (build / plan / fast)
|
|
38
|
+
3. **Observational Memory**: Pick a model for OM (learns about you over time)
|
|
39
|
+
4. **YOLO mode**: Auto-approve tool calls, or require manual confirmation
|
|
35
40
|
|
|
36
41
|
You can re-run setup anytime with `/setup`.
|
|
37
42
|
|
|
@@ -140,8 +145,8 @@ The SQLite database is stored in your system's application data directory:
|
|
|
140
145
|
|
|
141
146
|
For **Anthropic** models, mastracode supports two authentication methods:
|
|
142
147
|
|
|
143
|
-
1. **Claude Max OAuth (primary)
|
|
144
|
-
2. **API key (fallback)
|
|
148
|
+
1. **Claude Max OAuth (primary)**: Use `/login` to authenticate with a Claude Pro/Max subscription.
|
|
149
|
+
2. **API key (fallback)**: Set the `ANTHROPIC_API_KEY` environment variable for direct API access. This is used when not logged in via OAuth.
|
|
145
150
|
|
|
146
151
|
When both are available, Claude Max OAuth takes priority.
|
|
147
152
|
|
|
@@ -237,9 +242,9 @@ pnpm build
|
|
|
237
242
|
|
|
238
243
|
## Credits
|
|
239
244
|
|
|
240
|
-
- [Mastra](https://mastra.ai)
|
|
241
|
-
- [pi-mono](https://github.com/badlogic/pi-mono)
|
|
242
|
-
- [OpenCode](https://github.com/sst/opencode)
|
|
245
|
+
- [Mastra](https://mastra.ai): AI agent framework
|
|
246
|
+
- [pi-mono](https://github.com/badlogic/pi-mono): TUI primitives and inspiration
|
|
247
|
+
- [OpenCode](https://github.com/sst/opencode): OAuth provider patterns
|
|
243
248
|
|
|
244
249
|
## License
|
|
245
250
|
|
|
@@ -989,7 +989,7 @@ function getInstallCommand(pm, version) {
|
|
|
989
989
|
}
|
|
990
990
|
function getCurrentVersion() {
|
|
991
991
|
{
|
|
992
|
-
return "0.17.3-alpha.
|
|
992
|
+
return "0.17.3-alpha.2";
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
async function fetchLatestVersion() {
|
|
@@ -14515,5 +14515,5 @@ var LoginSelectorComponent = class extends Box {
|
|
|
14515
14515
|
};
|
|
14516
14516
|
|
|
14517
14517
|
export { AssistantMessageComponent, LoginDialogComponent, LoginSelectorComponent, MastraTUI, ModelSelectorComponent, OMProgressComponent, ToolExecutionComponentEnhanced, UserMessageComponent, createTUIState, detectTerminalTheme, formatOMStatus, getCurrentVersion };
|
|
14518
|
-
//# sourceMappingURL=chunk-
|
|
14519
|
-
//# sourceMappingURL=chunk-
|
|
14518
|
+
//# sourceMappingURL=chunk-6FHOMZRJ.js.map
|
|
14519
|
+
//# sourceMappingURL=chunk-6FHOMZRJ.js.map
|