mastracode 0.35.1-alpha.2 → 0.36.0-alpha.11
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 +137 -0
- package/README.md +1 -0
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/tui/command-dispatch.d.ts.map +1 -1
- package/dist/tui/commands/context.d.ts +5 -0
- package/dist/tui/commands/context.d.ts.map +1 -0
- package/dist/tui/commands/github.d.ts.map +1 -1
- package/dist/tui/commands/index.d.ts +1 -0
- package/dist/tui/commands/index.d.ts.map +1 -1
- package/dist/tui/commands/settings.d.ts.map +1 -1
- package/dist/tui/commands/think.d.ts.map +1 -1
- package/dist/tui/commands/update.d.ts.map +1 -1
- package/dist/tui/components/help-overlay.d.ts.map +1 -1
- package/dist/tui/components/settings.d.ts +5 -1
- package/dist/tui/components/settings.d.ts.map +1 -1
- package/dist/tui/components/thinking-settings.d.ts +2 -1
- package/dist/tui/components/thinking-settings.d.ts.map +1 -1
- package/dist/tui/components/wrapping-autocomplete-list.d.ts +9 -8
- package/dist/tui/components/wrapping-autocomplete-list.d.ts.map +1 -1
- package/dist/tui/display.d.ts.map +1 -1
- package/dist/tui/event-dispatch.d.ts.map +1 -1
- package/dist/tui/footer-animation-renderer.d.ts +16 -0
- package/dist/tui/footer-animation-renderer.d.ts.map +1 -0
- package/dist/tui/handlers/agent-lifecycle.d.ts.map +1 -1
- package/dist/tui/handlers/om.d.ts.map +1 -1
- package/dist/tui/handlers/prompts.d.ts.map +1 -1
- package/dist/tui/handlers/tool.d.ts.map +1 -1
- package/dist/tui/mastra-tui.d.ts.map +1 -1
- package/dist/tui/render-messages.d.ts.map +1 -1
- package/dist/tui/render-scheduler.d.ts +17 -5
- package/dist/tui/render-scheduler.d.ts.map +1 -1
- package/dist/tui/setup.d.ts.map +1 -1
- package/dist/tui/state.d.ts +5 -1
- package/dist/tui/state.d.ts.map +1 -1
- package/dist/{tui-Cdxsbuqs.js → tui-BaobOqGM.js} +494 -138
- package/dist/tui-BaobOqGM.js.map +1 -0
- package/dist/{tui-DNlKm3Lv.cjs → tui-Dg7vMm5_.cjs} +495 -139
- package/dist/tui-Dg7vMm5_.cjs.map +1 -0
- package/dist/tui.cjs +1 -1
- package/dist/tui.js +1 -1
- package/package.json +12 -12
- package/dist/tui-Cdxsbuqs.js.map +0 -1
- package/dist/tui-DNlKm3Lv.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,142 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.36.0-alpha.11
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added review and working modes to MastraCode GitHub subscriptions. ([#21542](https://github.com/mastra-ai/mastra/pull/21542))
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
/github subscribe 42 --mode review
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`15f92d0`](https://github.com/mastra-ai/mastra/commit/15f92d02bcacac7506346709d88b8bf11ae11695), [`4ff3ee2`](https://github.com/mastra-ai/mastra/commit/4ff3ee2bff7ed07528b4817f8f49639031c72a4d), [`c24754c`](https://github.com/mastra-ai/mastra/commit/c24754c1fb6fe144e5051e536e98c8a18b0214ac), [`cd7683d`](https://github.com/mastra-ai/mastra/commit/cd7683d3040bc322ec6f6efb6f9c1e8e40f062a1), [`45dd6ee`](https://github.com/mastra-ai/mastra/commit/45dd6ee089bd7df0d0c98a10098e483fd388e04a), [`32d3583`](https://github.com/mastra-ai/mastra/commit/32d358332cb8ac2306b83b73cf3536e74dbd435e), [`aca2869`](https://github.com/mastra-ai/mastra/commit/aca2869b2031982f3c4a2f52525c9be7cf123ef8)]:
|
|
16
|
+
- @mastra/github-signals@0.3.0-alpha.0
|
|
17
|
+
- @mastra/core@1.62.0-alpha.11
|
|
18
|
+
- @mastra/memory@1.28.0-alpha.4
|
|
19
|
+
- @mastra/code-sdk@1.5.0-alpha.11
|
|
20
|
+
|
|
21
|
+
## 0.36.0-alpha.10
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Added a Web search provider setting to /settings for choosing the default web_search/web_extract provider (Tavily or Parallel). Every provider stays visible in the selector; ones missing their API key are marked unavailable with the env var to set, and Auto uses the first configured key. ([#22216](https://github.com/mastra-ai/mastra/pull/22216))
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
PARALLEL_API_KEY=your-api-key npx mastracode
|
|
29
|
+
# then: /settings → Web search provider → Parallel
|
|
30
|
+
# and in chat: "Use web_search to find the latest Mastra release"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`b05f486`](https://github.com/mastra-ai/mastra/commit/b05f48612984d5fe2447ea2d6cdd5c604d285b97), [`41c24e3`](https://github.com/mastra-ai/mastra/commit/41c24e376e1c61974af9aa0b48d4e0091e476dcc), [`4bc0650`](https://github.com/mastra-ai/mastra/commit/4bc0650a49114480bf9b5bd318d679941f726823), [`7960688`](https://github.com/mastra-ai/mastra/commit/7960688828e04eaf3106e34f7758fa580257eef6), [`b05f486`](https://github.com/mastra-ai/mastra/commit/b05f48612984d5fe2447ea2d6cdd5c604d285b97)]:
|
|
34
|
+
- @mastra/core@1.62.0-alpha.10
|
|
35
|
+
- @mastra/code-sdk@1.5.0-alpha.10
|
|
36
|
+
- @mastra/fastembed@1.3.0-alpha.0
|
|
37
|
+
- @mastra/observability@1.17.2-alpha.2
|
|
38
|
+
- @mastra/mcp@1.17.2-alpha.2
|
|
39
|
+
|
|
40
|
+
## 0.36.0-alpha.9
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [[`eb9ecaa`](https://github.com/mastra-ai/mastra/commit/eb9ecaa89c36e889749e3b825cfc507ce7f7980b), [`3e8727e`](https://github.com/mastra-ai/mastra/commit/3e8727e11ec1a5d733acedb5c872896394be18c1)]:
|
|
45
|
+
- @mastra/core@1.62.0-alpha.9
|
|
46
|
+
- @mastra/code-sdk@1.5.0-alpha.9
|
|
47
|
+
|
|
48
|
+
## 0.36.0-alpha.8
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [[`aa3a85d`](https://github.com/mastra-ai/mastra/commit/aa3a85daf094c683bb97efdf4b6a696d2e474af5), [`d29d06f`](https://github.com/mastra-ai/mastra/commit/d29d06fe00bbd35b4571150ea04c59d2ed783c71), [`e6516df`](https://github.com/mastra-ai/mastra/commit/e6516dfcdae4f4ac0e7971d84359a81385ee602f), [`0b2a3d1`](https://github.com/mastra-ai/mastra/commit/0b2a3d1783875c5b97b7b36ab3d03d7360e0dde7), [`6bb5d71`](https://github.com/mastra-ai/mastra/commit/6bb5d7193fe9166b219f0fccae17db7a5ae86e65), [`57de7d6`](https://github.com/mastra-ai/mastra/commit/57de7d644ba7146edb4e9e6111ec4fa98c3a59e9), [`e8e299c`](https://github.com/mastra-ai/mastra/commit/e8e299cc6abdfc39947e2fec25803493015d3882), [`edfc548`](https://github.com/mastra-ai/mastra/commit/edfc548886bc7bae17b681f8b6b41a47eb32bcd2), [`a8a4871`](https://github.com/mastra-ai/mastra/commit/a8a4871215f51da95c47129602157ce5372f634a), [`c7d2ac2`](https://github.com/mastra-ai/mastra/commit/c7d2ac245e6e549f3ee8b6c019fd43fd352fb528), [`e6c3c14`](https://github.com/mastra-ai/mastra/commit/e6c3c14c27fe0b46137c9593b1ad81df1cb46d72), [`5165cdc`](https://github.com/mastra-ai/mastra/commit/5165cdcdcf50e144bb8113278535196cc9b07065), [`6bb5d71`](https://github.com/mastra-ai/mastra/commit/6bb5d7193fe9166b219f0fccae17db7a5ae86e65), [`bbd4486`](https://github.com/mastra-ai/mastra/commit/bbd4486b7296d6fd0de7177344f87fbbc0bb4fff), [`9c984f9`](https://github.com/mastra-ai/mastra/commit/9c984f9152c0ded45453f21cb1f517fe12f8beae), [`6bb5d71`](https://github.com/mastra-ai/mastra/commit/6bb5d7193fe9166b219f0fccae17db7a5ae86e65), [`9ee8120`](https://github.com/mastra-ai/mastra/commit/9ee8120ce17f76b9f617489e05a283353742690a), [`d975e92`](https://github.com/mastra-ai/mastra/commit/d975e924d4936f46c386bd3dee39c671720289f6), [`1cfa878`](https://github.com/mastra-ai/mastra/commit/1cfa8784d8da0dfaa0317e5048bc48b6084a5ea5), [`c118318`](https://github.com/mastra-ai/mastra/commit/c1183181c9804303db4b511c2e2648f8b714712b), [`fc07c64`](https://github.com/mastra-ai/mastra/commit/fc07c6465043e08e99193a6751a01c56ffc2e7a1), [`542dee2`](https://github.com/mastra-ai/mastra/commit/542dee254167f974ff8cbbbfc0ce10f9a2616a7b), [`8dcd635`](https://github.com/mastra-ai/mastra/commit/8dcd6357f0d9557cebc727d7abc6901af6231e4f), [`a58483c`](https://github.com/mastra-ai/mastra/commit/a58483cff1a9d41fce7c931843f48cb0ac450f64), [`a58483c`](https://github.com/mastra-ai/mastra/commit/a58483cff1a9d41fce7c931843f48cb0ac450f64), [`895e9df`](https://github.com/mastra-ai/mastra/commit/895e9dfc17d6f34299eca64e317ded9e5f5e5ef8)]:
|
|
53
|
+
- @mastra/core@1.62.0-alpha.8
|
|
54
|
+
- @mastra/libsql@1.22.0-alpha.2
|
|
55
|
+
- @mastra/pg@1.22.0-alpha.4
|
|
56
|
+
- @mastra/memory@1.28.0-alpha.3
|
|
57
|
+
- @mastra/code-sdk@1.5.0-alpha.8
|
|
58
|
+
|
|
59
|
+
## 0.36.0-alpha.7
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Added browser-safe thinking command helpers so Mastra Code interfaces can share command parsing, model capabilities, and default resolution. ([#22198](https://github.com/mastra-ai/mastra/pull/22198))
|
|
64
|
+
|
|
65
|
+
```ts
|
|
66
|
+
import { parseThinkCommand, resolveDefaultThinkingLevel } from '@mastra/code-sdk/thinking';
|
|
67
|
+
|
|
68
|
+
const action = parseThinkCommand('high');
|
|
69
|
+
const fallback = resolveDefaultThinkingLevel({ globalDefault: 'medium', modeDefaults: { plan: 'high' } }, 'plan');
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
- Updated dependencies [[`db6940e`](https://github.com/mastra-ai/mastra/commit/db6940ea63b76df2bc0a7c105a493342b9eaf0ec), [`ae8790c`](https://github.com/mastra-ai/mastra/commit/ae8790c4bfaa088d2ab279d1dcc06f326b9fd109), [`04a815f`](https://github.com/mastra-ai/mastra/commit/04a815fc8971d29e97fcdcc5008a1eb472fc00ff), [`dfb7efa`](https://github.com/mastra-ai/mastra/commit/dfb7efa19e348b5a788be2d954362cbae12379d6), [`ee0c1a0`](https://github.com/mastra-ai/mastra/commit/ee0c1a097de3acebe7dfc8c136479d4cb5b5b451), [`befbfc2`](https://github.com/mastra-ai/mastra/commit/befbfc260d5ec5ece7cdb65a80e94292f428d4c9), [`04a815f`](https://github.com/mastra-ai/mastra/commit/04a815fc8971d29e97fcdcc5008a1eb472fc00ff), [`db6940e`](https://github.com/mastra-ai/mastra/commit/db6940ea63b76df2bc0a7c105a493342b9eaf0ec), [`cced745`](https://github.com/mastra-ai/mastra/commit/cced745a056ec2225c5bc702e32d848847aa8b65)]:
|
|
73
|
+
- @mastra/libsql@1.22.0-alpha.1
|
|
74
|
+
- @mastra/core@1.62.0-alpha.7
|
|
75
|
+
- @mastra/code-sdk@1.5.0-alpha.7
|
|
76
|
+
- @mastra/mcp@1.17.2-alpha.2
|
|
77
|
+
- @mastra/memory@1.28.0-alpha.2
|
|
78
|
+
|
|
79
|
+
## 0.36.0-alpha.6
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Improved the provider device-code sign-in dialog. The code is now the main element with an inline copy button, and copy failures show an error instead of failing silently. ([#22186](https://github.com/mastra-ai/mastra/pull/22186))
|
|
84
|
+
|
|
85
|
+
- Updated dependencies [[`c8e4cea`](https://github.com/mastra-ai/mastra/commit/c8e4ceac9a390d78c8327dff3cdb2861dd71957f), [`ed01e9a`](https://github.com/mastra-ai/mastra/commit/ed01e9a807514a904374bf687a7b8f18750f6f78), [`a981e66`](https://github.com/mastra-ai/mastra/commit/a981e662ed8fc476292375d135cb14a2681efedf), [`ae2dc20`](https://github.com/mastra-ai/mastra/commit/ae2dc201dbb48466c3cf77e3d4ef04826132b2db), [`4e9a228`](https://github.com/mastra-ai/mastra/commit/4e9a2283d5fd6ed1b70a2751eb3dc2cbf82ada20), [`997cf5b`](https://github.com/mastra-ai/mastra/commit/997cf5bb3fc600b30aa20e048b663e48e0e1305a), [`63041eb`](https://github.com/mastra-ai/mastra/commit/63041eb4c50b520a0a80e03d4cd6ea99f67715a0)]:
|
|
86
|
+
- @mastra/core@1.62.0-alpha.6
|
|
87
|
+
- @mastra/pg@1.22.0-alpha.3
|
|
88
|
+
- @mastra/mcp@1.17.2-alpha.1
|
|
89
|
+
- @mastra/code-sdk@1.5.0-alpha.6
|
|
90
|
+
|
|
91
|
+
## 0.36.0-alpha.5
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- Add a `/context` command (alias `/ctx`) to Mastra Code that reports what is occupying the context window. ([#22131](https://github.com/mastra-ai/mastra/pull/22131))
|
|
96
|
+
|
|
97
|
+
The report separates the startup context — system prompt, AGENTS.md/CLAUDE.md instructions with their source paths, the skills catalog, and MCP tool definitions rolled up per server — from context that accumulates during the session, namely the conversation itself and any observation memory injected into it. Each line carries an estimated token count and its share of the audited total, so it is possible to see which server, instruction file, or skill set is worth pruning.
|
|
98
|
+
|
|
99
|
+
The audit reports only sizes and labels, never the audited content, and is printed to the terminal without being added to the conversation, so running it does not enlarge the context it describes.
|
|
100
|
+
|
|
101
|
+
To support exact measurement, `@mastra/core` now exports `formatSkillsCatalog`, the pure formatter behind the skills processor's `<available_skills>` block, and `@mastra/code-sdk` exposes the assembled system prompt as labeled sections.
|
|
102
|
+
|
|
103
|
+
- Updated dependencies [[`65edab1`](https://github.com/mastra-ai/mastra/commit/65edab1c233d17b8f163bad12fca410d0e6f16b1), [`ab20a38`](https://github.com/mastra-ai/mastra/commit/ab20a38d0275f8d85e0f3833bd87ef487bcc609f), [`dbbfeb8`](https://github.com/mastra-ai/mastra/commit/dbbfeb85ec949dc9ebc0755e1ad262e4f5eba8db), [`3cc9d00`](https://github.com/mastra-ai/mastra/commit/3cc9d00b2b4333e0377a5e9df5eff92c17ce7630), [`733a537`](https://github.com/mastra-ai/mastra/commit/733a537489a858b5880b2e98809334fba895a221), [`d55807c`](https://github.com/mastra-ai/mastra/commit/d55807cb9f080f3f5d1db06aca02b8fe0992507e), [`9207dfa`](https://github.com/mastra-ai/mastra/commit/9207dfab8062e5fc68b751684797ff86fe0b4e70), [`12c61d2`](https://github.com/mastra-ai/mastra/commit/12c61d280c8cb208bc3c8dbcbe5dcc60cf9d1cd0), [`9a12ef3`](https://github.com/mastra-ai/mastra/commit/9a12ef3fccf3f4186db0f294f4ee1f02cf4d8db2)]:
|
|
104
|
+
- @mastra/core@1.62.0-alpha.5
|
|
105
|
+
- @mastra/memory@1.28.0-alpha.1
|
|
106
|
+
- @mastra/code-sdk@1.5.0-alpha.5
|
|
107
|
+
|
|
108
|
+
## 0.36.0-alpha.4
|
|
109
|
+
|
|
110
|
+
### Patch Changes
|
|
111
|
+
|
|
112
|
+
- Updated dependencies [[`79f04a7`](https://github.com/mastra-ai/mastra/commit/79f04a7f6c6829da541139f638f2f1d267916e08), [`fd4d5fe`](https://github.com/mastra-ai/mastra/commit/fd4d5fe4f943699b85db5e74404f190d5a6b8c2a), [`f9172b3`](https://github.com/mastra-ai/mastra/commit/f9172b35de085f9101348eeb60d7d4712505ed8f), [`f591643`](https://github.com/mastra-ai/mastra/commit/f591643becdf0be9bddce6ba1748e64bc30d77f1), [`b1ad324`](https://github.com/mastra-ai/mastra/commit/b1ad324d657f3544b0701332aef7eb10e9a36258), [`61c566d`](https://github.com/mastra-ai/mastra/commit/61c566dd2f2cde2b23ed8f139924e530d4202214)]:
|
|
113
|
+
- @mastra/core@1.62.0-alpha.4
|
|
114
|
+
- @mastra/pg@1.22.0-alpha.2
|
|
115
|
+
- @mastra/code-sdk@1.5.0-alpha.4
|
|
116
|
+
|
|
117
|
+
## 0.36.0-alpha.3
|
|
118
|
+
|
|
119
|
+
### Minor Changes
|
|
120
|
+
|
|
121
|
+
- Made language-server (LSP) support opt-in in Mastra Code. By default Mastra Code no longer checks for LSP dependencies, starts language servers, or offers the lsp_inspect tool to the agent. Turn it on by adding "lsp": true (or an LSP config object) to your settings.json; "lsp": false is now also accepted and preserved. ([#22126](https://github.com/mastra-ai/mastra/pull/22126))
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- Improved long-session terminal performance by coalescing background renders, drawing status animations without re-rendering the full component tree, preserving completed component caches, and retaining a smaller rendered scrollback. ([#22073](https://github.com/mastra-ai/mastra/pull/22073))
|
|
126
|
+
|
|
127
|
+
- Made the slash-command autocomplete dropdown in Mastra Code compact and scannable when many skills are installed. Only the highlighted item now shows its full wrapped description; other items stay on a single line with a truncated description. Fixes https://github.com/mastra-ai/mastra/issues/21967 ([#22101](https://github.com/mastra-ai/mastra/pull/22101))
|
|
128
|
+
|
|
129
|
+
- Fixed background system messages (such as MCP server connection and authentication logs) pushing an active prompt off-screen during startup. Update prompts and plan approvals now stay anchored at the bottom of the conversation while background output is inserted above them, so the prompt stays visible and usable. ([#22109](https://github.com/mastra-ai/mastra/pull/22109))
|
|
130
|
+
|
|
131
|
+
- Updated dependencies [[`c5eaec5`](https://github.com/mastra-ai/mastra/commit/c5eaec5a860d80d0e3805e67db0414b87ac8cbed), [`2c85f42`](https://github.com/mastra-ai/mastra/commit/2c85f428e04ccd63ea31a7ec80b5b327afdad555), [`11bbeb9`](https://github.com/mastra-ai/mastra/commit/11bbeb9b108ef2264e05acefc6dafb9cbb342921), [`1a485f3`](https://github.com/mastra-ai/mastra/commit/1a485f3538f5ec64d58bd8b5e1e99de0c695c87b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`8661d7d`](https://github.com/mastra-ai/mastra/commit/8661d7d7179f0a024456aabdd8679bcecd09ac28), [`575e343`](https://github.com/mastra-ai/mastra/commit/575e343900451021d96110916497d334af7bc252), [`8661d7d`](https://github.com/mastra-ai/mastra/commit/8661d7d7179f0a024456aabdd8679bcecd09ac28), [`cacb839`](https://github.com/mastra-ai/mastra/commit/cacb8392d9e74189b56d857290b0615f98a2683d), [`b47b26e`](https://github.com/mastra-ai/mastra/commit/b47b26e6fe95cb8a3482be2c5e52de157fe59d0b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`8661d7d`](https://github.com/mastra-ai/mastra/commit/8661d7d7179f0a024456aabdd8679bcecd09ac28), [`13c2f97`](https://github.com/mastra-ai/mastra/commit/13c2f979a63ee441834ad0d947b40a82010afb59), [`9a3d352`](https://github.com/mastra-ai/mastra/commit/9a3d352a5ba0c2a9e4f7a9cc4f028a393bc74306), [`c46eb09`](https://github.com/mastra-ai/mastra/commit/c46eb09ce4987509af57a0ac582c61241a6dd2f1), [`30ed33e`](https://github.com/mastra-ai/mastra/commit/30ed33ee14084a26019aba15fceadda6d6ddefaf), [`91ad69d`](https://github.com/mastra-ai/mastra/commit/91ad69d64994c89199b0c55399e64ed91c61df2f), [`c4e2364`](https://github.com/mastra-ai/mastra/commit/c4e2364742bc37beebfa995db2d42efce6cfc7b8), [`8dc408d`](https://github.com/mastra-ai/mastra/commit/8dc408d34438f9e13297f792c11a5cfd6cf952e1), [`c92def1`](https://github.com/mastra-ai/mastra/commit/c92def10a13c822972c96f0a4ca6ffc1f4258aed), [`c5eaec5`](https://github.com/mastra-ai/mastra/commit/c5eaec5a860d80d0e3805e67db0414b87ac8cbed), [`e66b2ba`](https://github.com/mastra-ai/mastra/commit/e66b2ba100db63eaeab6e21e1ea34b113f2ec781)]:
|
|
132
|
+
- @mastra/pg@1.22.0-alpha.1
|
|
133
|
+
- @mastra/libsql@1.22.0-alpha.0
|
|
134
|
+
- @mastra/core@1.62.0-alpha.3
|
|
135
|
+
- @mastra/code-sdk@1.5.0-alpha.3
|
|
136
|
+
- @mastra/observability@1.17.2-alpha.1
|
|
137
|
+
- @mastra/memory@1.27.1-alpha.0
|
|
138
|
+
- @mastra/mcp@1.17.2-alpha.0
|
|
139
|
+
|
|
3
140
|
## 0.35.1-alpha.2
|
|
4
141
|
|
|
5
142
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -97,6 +97,7 @@ Select a suggestion with arrow keys and press Tab to insert it.
|
|
|
97
97
|
| `/diff` | Show modified files or git diff |
|
|
98
98
|
| `/name` | Rename current thread |
|
|
99
99
|
| `/cost` | Show token usage and estimated costs |
|
|
100
|
+
| `/context` | Audit what is using the context window (`/ctx` alias) |
|
|
100
101
|
| `/profile` | Control process memory diagnostics |
|
|
101
102
|
| `/review` | Review a GitHub pull request |
|
|
102
103
|
| `/hooks` | Show/reload configured hooks |
|
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_tui = require("./tui-
|
|
2
|
+
const require_tui = require("./tui-Dg7vMm5_.cjs");
|
|
3
3
|
let _mastra_code_sdk = require("@mastra/code-sdk");
|
|
4
4
|
let fs = require("fs");
|
|
5
5
|
fs = require_tui.__toESM(fs, 1);
|
|
@@ -33,7 +33,7 @@ function createShutdownCoordinator(cleanup, exit, timeoutMs = 5e3) {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/version.ts
|
|
35
35
|
function getCurrentVersion() {
|
|
36
|
-
return "0.
|
|
36
|
+
return "0.36.0-alpha.11";
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/main.ts
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { d as detectTerminalTheme, f as applyThemeMode, t as MastraTUI, v as restoreTerminalForeground } from "./tui-
|
|
2
|
+
import { d as detectTerminalTheme, f as applyThemeMode, t as MastraTUI, v as restoreTerminalForeground } from "./tui-BaobOqGM.js";
|
|
3
3
|
import { createMastraCode } from "@mastra/code-sdk";
|
|
4
4
|
import fs from "fs";
|
|
5
5
|
import { createMastraCodeAnalytics } from "@mastra/code-sdk/analytics";
|
|
@@ -32,7 +32,7 @@ function createShutdownCoordinator(cleanup, exit, timeoutMs = 5e3) {
|
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/version.ts
|
|
34
34
|
function getCurrentVersion() {
|
|
35
|
-
return "0.
|
|
35
|
+
return "0.36.0-alpha.11";
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/main.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-dispatch.d.ts","sourceRoot":"","sources":["../../src/tui/command-dispatch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command-dispatch.d.ts","sourceRoot":"","sources":["../../src/tui/command-dispatch.ts"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAa3C;;;GAGG;AACH,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,MAAM,mBAAmB,GAClC,OAAO,CAAC,OAAO,CAAC,CAoOlB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ContextAudit } from '@mastra/code-sdk/agents/context-audit';
|
|
2
|
+
import type { SlashCommandContext } from './types.js';
|
|
3
|
+
export declare function formatContextAudit(audit: ContextAudit, notes: string[]): string;
|
|
4
|
+
export declare function handleContextCommand(ctx: SlashCommandContext): Promise<void>;
|
|
5
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAuC,MAAM,uCAAuC,CAAC;AAG/G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA8GtD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAoB/E;AAED,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsClF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/github.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/github.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAuMtD,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAmFtG"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type { SlashCommandContext } from './types.js';
|
|
2
2
|
export { handleHelpCommand } from './help.js';
|
|
3
3
|
export { handleCostCommand } from './cost.js';
|
|
4
|
+
export { handleContextCommand } from './context.js';
|
|
4
5
|
export { handleYoloCommand } from './yolo.js';
|
|
5
6
|
export { handleVoiceCommand } from './voice.js';
|
|
6
7
|
export { handleThinkCommand } from './think.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/index.ts"],"names":[],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AE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/settings.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAgLtD,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA6GnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"think.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/think.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"think.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/think.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAqDtD,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAyGrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/update.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/update.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiFjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-overlay.d.ts","sourceRoot":"","sources":["../../../src/tui/components/help-overlay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAGxF,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAC5C,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;
|
|
1
|
+
{"version":3,"file":"help-overlay.d.ts","sourceRoot":"","sources":["../../../src/tui/components/help-overlay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAGxF,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAC5C,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAiGD;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAyB9D"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Box } from '@earendil-works/pi-tui';
|
|
9
9
|
import type { Focusable } from '@earendil-works/pi-tui';
|
|
10
|
-
import type { StorageBackend } from '@mastra/code-sdk/onboarding/settings';
|
|
10
|
+
import type { StorageBackend, WebSearchProviderSetting } from '@mastra/code-sdk/onboarding/settings';
|
|
11
11
|
import type { NotificationMode } from '../notify.js';
|
|
12
12
|
export interface SettingsConfig {
|
|
13
13
|
notifications: NotificationMode;
|
|
@@ -21,6 +21,9 @@ export interface SettingsConfig {
|
|
|
21
21
|
pgConnectionString: string;
|
|
22
22
|
libsqlUrl: string;
|
|
23
23
|
experimentalGithubSignals: boolean;
|
|
24
|
+
webSearchProvider: WebSearchProviderSetting;
|
|
25
|
+
tavilyKeyAvailable: boolean;
|
|
26
|
+
parallelKeyAvailable: boolean;
|
|
24
27
|
}
|
|
25
28
|
export interface SettingsCallbacks {
|
|
26
29
|
onNotificationsChange: (mode: NotificationMode) => void;
|
|
@@ -31,6 +34,7 @@ export interface SettingsCallbacks {
|
|
|
31
34
|
onQuietModeMaxToolPreviewLinesChange: (lines: number) => void;
|
|
32
35
|
onStorageBackendChange: (backend: StorageBackend, connectionUrl?: string) => void;
|
|
33
36
|
onExperimentalGithubSignalsChange: (enabled: boolean) => boolean | void | Promise<boolean | void>;
|
|
37
|
+
onWebSearchProviderChange: (provider: WebSearchProviderSetting) => void;
|
|
34
38
|
onApiKeys?: () => void;
|
|
35
39
|
onClose: () => void;
|
|
36
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/tui/components/settings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,GAAG,EAAiE,MAAM,wBAAwB,CAAC;AAC5G,OAAO,KAAK,EAAE,SAAS,EAA2B,MAAM,wBAAwB,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/tui/components/settings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,GAAG,EAAiE,MAAM,wBAAwB,CAAC;AAC5G,OAAO,KAAK,EAAE,SAAS,EAA2B,MAAM,wBAAwB,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AACrG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAQrD,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,4BAA4B,EAAE,MAAM,CAAC;IACrC,cAAc,EAAE,cAAc,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAA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,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { Box } from '@earendil-works/pi-tui';
|
|
8
8
|
import type { Focusable } from '@earendil-works/pi-tui';
|
|
9
|
+
import type { ThinkingLevelSetting } from '@mastra/code-sdk/thinking';
|
|
9
10
|
export interface ThinkingSettingsCallbacks {
|
|
10
11
|
onLevelChange: (level: string) => void;
|
|
11
12
|
onClose: () => void;
|
|
12
13
|
}
|
|
13
|
-
export type ThinkingLevelId =
|
|
14
|
+
export type ThinkingLevelId = ThinkingLevelSetting;
|
|
14
15
|
export interface ThinkingLevelOption {
|
|
15
16
|
id: ThinkingLevelId;
|
|
16
17
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thinking-settings.d.ts","sourceRoot":"","sources":["../../../src/tui/components/thinking-settings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAA4B,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"thinking-settings.d.ts","sourceRoot":"","sources":["../../../src/tui/components/thinking-settings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAA4B,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAOtE,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAMD,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAEnD,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,eAAe,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IACpE,WAAW,EAAE,MAAM,CAAC;CACrB;AAeD,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAKhF;AAED,eAAO,MAAM,eAAe,uBAAgC,CAAC;AAE7D,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,mBAAmB,CAI9F;AAMD,qBAAa,yBAA0B,SAAQ,GAAI,YAAW,SAAS;IACrE,OAAO,CAAC,UAAU,CAAa;IAG/B,OAAO,CAAC,QAAQ,CAAS;IACzB,IAAI,OAAO,IAAI,OAAO,CAErB;IACD,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAEzB;gBAEW,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,yBAAyB;IAkCtE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAGhC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drop-in replacement for pi-tui's `SelectList` used by the editor's
|
|
3
3
|
* slash-command / autocomplete dropdown. Behaves like `SelectList` (same
|
|
4
|
-
* prefix, primary column, and description styling) but word-wraps
|
|
5
|
-
*
|
|
6
|
-
* single line. Continuation rows are indented under the
|
|
7
|
-
* the full
|
|
8
|
-
* terminal.
|
|
4
|
+
* prefix, primary column, and description styling) but word-wraps the
|
|
5
|
+
* highlighted item's long description across multiple terminal rows instead
|
|
6
|
+
* of truncating it on a single line. Continuation rows are indented under the
|
|
7
|
+
* description column so the full description stays readable without widening
|
|
8
|
+
* the terminal. Non-highlighted items keep to a single row (description
|
|
9
|
+
* truncated with an ellipsis) so the dropdown stays compact and scannable
|
|
10
|
+
* even when many items have long descriptions.
|
|
9
11
|
*
|
|
10
12
|
* Arrow keys move item-to-item (not row-to-row), so navigation stays
|
|
11
|
-
* predictable regardless of how many rows
|
|
13
|
+
* predictable regardless of how many rows the highlighted description wraps
|
|
14
|
+
* onto.
|
|
12
15
|
*/
|
|
13
16
|
import type { Component, SelectItem, SelectListTheme } from '@earendil-works/pi-tui';
|
|
14
17
|
export interface WrappingAutocompleteListLayout {
|
|
@@ -16,7 +19,6 @@ export interface WrappingAutocompleteListLayout {
|
|
|
16
19
|
maxPrimaryColumnWidth?: number;
|
|
17
20
|
}
|
|
18
21
|
export declare class WrappingAutocompleteList implements Component {
|
|
19
|
-
private items;
|
|
20
22
|
private filteredItems;
|
|
21
23
|
private selectedIndex;
|
|
22
24
|
private maxVisible;
|
|
@@ -26,7 +28,6 @@ export declare class WrappingAutocompleteList implements Component {
|
|
|
26
28
|
onCancel?: () => void;
|
|
27
29
|
onSelectionChange?: (item: SelectItem) => void;
|
|
28
30
|
constructor(items: SelectItem[], maxVisible: number, theme: SelectListTheme, layout?: WrappingAutocompleteListLayout);
|
|
29
|
-
setFilter(filter: string): void;
|
|
30
31
|
setSelectedIndex(index: number): void;
|
|
31
32
|
invalidate(): void;
|
|
32
33
|
getSelectedItem(): SelectItem | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapping-autocomplete-list.d.ts","sourceRoot":"","sources":["../../../src/tui/components/wrapping-autocomplete-list.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"wrapping-autocomplete-list.d.ts","sourceRoot":"","sources":["../../../src/tui/components/wrapping-autocomplete-list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAOrF,MAAM,WAAW,8BAA8B;IAC7C,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAKD,qBAAa,wBAAyB,YAAW,SAAS;IACxD,OAAO,CAAC,aAAa,CAAe;IACpC,OAAO,CAAC,aAAa,CAAK;IAC1B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,KAAK,CAAkB;IAC/B,OAAO,CAAC,MAAM,CAAiC;IAE/C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;gBAG7C,KAAK,EAAE,UAAU,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,eAAe,EACtB,MAAM,GAAE,8BAAmC;IAQ7C,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIrC,UAAU,IAAI,IAAI;IAElB,eAAe,IAAI,UAAU,GAAG,IAAI;IAIpC,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE;IAiC/B,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAiBlC,OAAO,CAAC,UAAU;IAkDlB,OAAO,CAAC,qBAAqB;IAS7B,OAAO,CAAC,sBAAsB;IAW9B,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,qBAAqB;CAI9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../src/tui/display.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../src/tui/display.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,KAAK,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,EAC3B,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,QAAQ,GACd,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"event-dispatch.d.ts","sourceRoot":"","sources":["../../src/tui/event-dispatch.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAyB,MAAM,+BAA+B,CAAC;AA0CjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAc3C,wBAAsB,aAAa,CACjC,KAAK,EAAE,oBAAoB,EAC3B,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,QAAQ,GACd,OAAO,CAAC,IAAI,CAAC,CAgbf"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Container, Terminal, TUI } from '@earendil-works/pi-tui';
|
|
2
|
+
import type { TUIState } from './state.js';
|
|
3
|
+
export declare class FooterAnimationRenderer {
|
|
4
|
+
private readonly ui;
|
|
5
|
+
private readonly terminal;
|
|
6
|
+
private readonly footer;
|
|
7
|
+
private readonly originalRender;
|
|
8
|
+
private previousFooterLines;
|
|
9
|
+
private disposed;
|
|
10
|
+
constructor(ui: TUI, terminal: Terminal, footer: Container);
|
|
11
|
+
renderFrame(): boolean;
|
|
12
|
+
dispose(): void;
|
|
13
|
+
private renderFooter;
|
|
14
|
+
}
|
|
15
|
+
export declare function renderStatusAnimationFrame(state: TUIState, updateStatusLine: () => void): void;
|
|
16
|
+
//# sourceMappingURL=footer-animation-renderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footer-animation-renderer.d.ts","sourceRoot":"","sources":["../../src/tui/footer-animation-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAGlF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAe3C,qBAAa,uBAAuB;IAMhC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM;IAPzB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,OAAO,CAAC,mBAAmB,CAAuB;IAClD,OAAO,CAAC,QAAQ,CAAS;gBAGN,EAAE,EAAE,GAAG,EACP,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,SAAS;IAUpC,WAAW,IAAI,OAAO;IA8DtB,OAAO,IAAI,IAAI;IAMf,OAAO,CAAC,YAAY;CAIrB;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,IAAI,GAAG,IAAI,CAO9F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-lifecycle.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/agent-lifecycle.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-lifecycle.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/agent-lifecycle.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAWjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CAiB/D;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CA8B7D;AAqED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CA8CjE;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CAyB/D;AAeD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,EAAE,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAsEnG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"om.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/om.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA0CtD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI,CAUjH;AAED,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,MAAM,EACrB,WAAW,CAAC,EAAE,MAAM,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,IAAI,
|
|
1
|
+
{"version":3,"file":"om.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/om.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA0CtD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI,CAUjH;AAED,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,MAAM,EACrB,WAAW,CAAC,EAAE,MAAM,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,IAAI,CAsBN;AAED,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE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AG,IAAI,CAS9G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/prompts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAQ/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAatD;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EACxD,aAAa,CAAC,EAAE,oBAAoB,GACnC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/prompts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAQ/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAatD;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EACxD,aAAa,CAAC,EAAE,oBAAoB,GACnC,OAAO,CAAC,IAAI,CAAC,CA4Kf;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC9C,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAuDf;AAqDD,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,IAAI,CAAC,CA6Jf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAYH,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAUjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAqBtD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE5D;AAuBD,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAkGD,wBAAgB,qBAAqB,IAAI,IAAI,CAI5C;AAwBD,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,GACZ,0BAA0B,GAAG,SAAS,CAqCxC;
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/tui/handlers/tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAYH,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAUjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAqBtD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE5D;AAuBD,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAkGD,wBAAgB,qBAAqB,IAAI,IAAI,CAI5C;AAwBD,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,GACZ,0BAA0B,GAAG,SAAS,CAqCxC;AAwED,wBAAgB,gBAA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;;;OAKG;YACW,cAAc;IA0C5B;;OAEG;YACW,gBAAgB;CA4D/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-messages.d.ts","sourceRoot":"","sources":["../../src/tui/render-messages.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA4C5E,OAAO,EAAE,gBAAgB,EAAsB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"render-messages.d.ts","sourceRoot":"","sources":["../../src/tui/render-messages.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA4C5E,OAAO,EAAE,gBAAgB,EAAsB,MAAM,oBAAoB,CAAC;AAE1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAwD5B;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,gBAAgB,EAAE,EAAE,WAAW,SAAK,GAAG,IAAI,CASlH;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,QAAQ,EACf,cAAc,EAAE,gBAAgB,EAAE,EAClC,WAAW,SAAK,GACf,IAAI,CAUN;AAMD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,QAAQ,EACf,aAAa,EAAE,gBAAgB,EAAE,EACjC,SAAS,EAAE,gBAAgB,EAAE,EAC7B,WAAW,SAAK,GACf,OAAO,CA0BT;AAwED,wBAAgB,gCAAgC,CAAC,KA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
|
|
1
|
-
export declare const DEFAULT_RENDER_COALESCE_MS =
|
|
1
|
+
export declare const DEFAULT_RENDER_COALESCE_MS = 150;
|
|
2
2
|
export declare class RenderScheduler {
|
|
3
3
|
private readonly render;
|
|
4
4
|
private readonly intervalMs;
|
|
5
5
|
private readonly now;
|
|
6
6
|
private readonly beforeRender?;
|
|
7
|
+
private readonly onDispose?;
|
|
7
8
|
private timer;
|
|
8
9
|
private lastRenderAt;
|
|
9
10
|
private pending;
|
|
11
|
+
private forcePending;
|
|
12
|
+
private rendering;
|
|
10
13
|
private disposed;
|
|
11
|
-
constructor(render: () => void, intervalMs?: number, now?: () => number, beforeRender?: (() => void) | undefined);
|
|
12
|
-
request(): void;
|
|
13
|
-
flush(): void;
|
|
14
|
+
constructor(render: (force?: boolean) => void, intervalMs?: number, now?: () => number, beforeRender?: (() => void) | undefined, onDispose?: (() => void) | undefined);
|
|
15
|
+
request(force?: boolean): void;
|
|
16
|
+
flush(force?: boolean): void;
|
|
14
17
|
dispose(): void;
|
|
15
18
|
private run;
|
|
16
19
|
}
|
|
20
|
+
interface SchedulableUI {
|
|
21
|
+
requestRender(force?: boolean): void;
|
|
22
|
+
addInputListener?(listener: (data: string) => {
|
|
23
|
+
consume?: boolean;
|
|
24
|
+
data?: string;
|
|
25
|
+
} | undefined): () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare function installRenderScheduler(ui: SchedulableUI, beforeRender?: () => void, intervalMs?: number, now?: () => number): RenderScheduler;
|
|
17
28
|
export interface RenderableState {
|
|
18
29
|
ui: {
|
|
19
|
-
requestRender?: () => void;
|
|
30
|
+
requestRender?: (force?: boolean) => void;
|
|
20
31
|
};
|
|
21
32
|
renderScheduler?: RenderScheduler;
|
|
22
33
|
assistantRenderRegistry?: {
|
|
@@ -25,4 +36,5 @@ export interface RenderableState {
|
|
|
25
36
|
}
|
|
26
37
|
export declare function requestRender(state: RenderableState): void;
|
|
27
38
|
export declare function flushRender(state: RenderableState): void;
|
|
39
|
+
export {};
|
|
28
40
|
//# sourceMappingURL=render-scheduler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-scheduler.d.ts","sourceRoot":"","sources":["../../src/tui/render-scheduler.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"render-scheduler.d.ts","sourceRoot":"","sources":["../../src/tui/render-scheduler.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,qBAAa,eAAe;IASxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC;IAZ7B,OAAO,CAAC,KAAK,CAA4C;IACzD,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAS;gBAGN,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,EACjC,UAAU,SAA6B,EACvC,GAAG,eAAmB,EACtB,YAAY,CAAC,GAAE,MAAM,IAAI,aAAA,EACzB,SAAS,CAAC,GAAE,MAAM,IAAI,aAAA;IAGzC,OAAO,CAAC,KAAK,UAAQ,GAAG,IAAI;IAiB5B,KAAK,CAAC,KAAK,UAAQ,GAAG,IAAI;IAgB1B,OAAO,IAAI,IAAI;IAYf,OAAO,CAAC,GAAG;CAkBZ;AAED,UAAU,aAAa;IACrB,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC,gBAAgB,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK;QAAE,OAAO,CAAC,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,GAAG,MAAM,IAAI,CAAC;CAC7G;AAED,wBAAgB,sBAAsB,CACpC,EAAE,EAAE,aAAa,EACjB,YAAY,CAAC,EAAE,MAAM,IAAI,EACzB,UAAU,CAAC,EAAE,MAAM,EACnB,GAAG,CAAC,EAAE,MAAM,MAAM,GACjB,eAAe,CAqCjB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE;QAAE,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,CAAC;IAClD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,uBAAuB,CAAC,EAAE;QAAE,YAAY,EAAE,MAAM,OAAO,CAAA;KAAE,CAAC;CAC3D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAO1D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAOxD"}
|
package/dist/tui/setup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/tui/setup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/tui/setup.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAS3C,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,QAAQ,EACf,SAAS,EAAE;IACT,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,GACA,IAAI,CAkLN;AA8BD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EA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AAC,CAWxE"}
|
package/dist/tui/state.d.ts
CHANGED
|
@@ -37,9 +37,10 @@ import type { TaskProgressComponent } from './components/task-progress.js';
|
|
|
37
37
|
import type { TemporalGapComponent } from './components/temporal-gap.js';
|
|
38
38
|
import type { IToolExecutionComponent } from './components/tool-execution-interface.js';
|
|
39
39
|
import type { UserMessageComponent } from './components/user-message.js';
|
|
40
|
+
import type { FooterAnimationRenderer } from './footer-animation-renderer.js';
|
|
40
41
|
import { GoalManager } from './goal-manager.js';
|
|
41
42
|
import type { OnboardingInlineComponent } from './onboarding-inline.js';
|
|
42
|
-
import { RenderScheduler } from './render-scheduler.js';
|
|
43
|
+
import type { RenderScheduler } from './render-scheduler.js';
|
|
43
44
|
import { VoiceController } from './voice/voice-controller.js';
|
|
44
45
|
export interface PendingSignalMessage {
|
|
45
46
|
component: Component;
|
|
@@ -115,6 +116,7 @@ export interface TUIState {
|
|
|
115
116
|
workspace?: Workspace;
|
|
116
117
|
ui: TUI;
|
|
117
118
|
renderScheduler?: RenderScheduler;
|
|
119
|
+
footerAnimationRenderer?: FooterAnimationRenderer;
|
|
118
120
|
chatContainer: Container;
|
|
119
121
|
editorContainer: Container;
|
|
120
122
|
idleCounter?: IdleCounterComponent;
|
|
@@ -249,6 +251,8 @@ export interface TUIState {
|
|
|
249
251
|
decodeStartedAt: number;
|
|
250
252
|
/** Current computed tokens/sec rate (0 when idle) */
|
|
251
253
|
tokensPerSec: number;
|
|
254
|
+
/** Prompt tokens reported for the most recently completed model step. */
|
|
255
|
+
latestRequestPromptTokens: number | undefined;
|
|
252
256
|
omProgressComponent?: OMProgressComponent;
|
|
253
257
|
activeOMMarker?: OMMarkerComponent;
|
|
254
258
|
activeBufferingMarker?: OMMarkerComponent;
|