Repository navigation
Commit 9e82cfe
feat: live tool timeline, three new skills, LSP diagnostics, and an rtk that can't hang
The chat surface and the engine's tool layer, worked end to end.
Chat
- Thinking and the tool list take turns in one slot instead of stacking, both
collapsed by default, with a count and failure tally on the toggle.
- A reply is no longer a bubble: it uses the whole reading column, so tables
and code stop being squeezed into 72% of it.
- Attachments survive a reload. The transcript stored the sent text, markers
and all, so reopening a session printed a raw "[attachment: …] path" line and
no chip; the markers are now folded back into chips and thumbnails, which
also repairs history already on disk.
- Borderless tables, tinted inline code, unboxed code blocks, scroll-to-bottom,
and a composer that grows to half the window instead of a fixed 220px.
- Sidebar: chats and projects as one segmented switch, add-project and
new-session as labelled rows, theme picker in the profile menu, AI identity
moved to Settings where it has room. Settings lists built-in skills too — the
page used to claim a fresh install had none.
- Every colour pair the chrome depends on is now checked against all 14 themes
by a real test. It found six that failed, including dashes drawn in a colour
identical to the surface behind them.
Engine
- Tool events are a struct, not formatted text. The frontend decided success by
matching the Thai word "สำเร็จ" at the end of a string, so translating that
word would have marked every tool call failed.
- A tool call is announced while its arguments are still streaming, with a line
counter that ticks as content arrives. Writing an 800-line file used to be 42
seconds of complete silence, because the call is only dispatched once its
JSON is complete. OpenCode has this as an open request (anomalyco/opencode#9737).
- write and edit report line deltas; write steers new files into a per-session
output folder when no project is focused, instead of dropping them in the
user's home directory where the next chat overwrote them.
- The system prompt now says to edit rather than rewrite whole files, to batch
edits, and to grep or read narrowly rather than pull a large file into
context. Nothing said any of that before, and the tool descriptions alone
give a model no reason to prefer one over the other.
Skills: 22 -> 25
- glob: find files by path pattern. filepath.Match cannot cross a separator, so
"**/*.go" — the form every model reaches for first — matched nothing.
- apply_patch: several edits across several files, atomically. Nothing is
written unless every edit checks out; a half-applied patch leaves the model
reasoning about code that does not exist.
- diagnostics: a real LSP client (initialize, didOpen, publishDiagnostics)
asking gopls/tsserver whether the change compiles. Servers install on first
use, never at install time, following the judgment already made for rtk.
- grep gained glob and context-line support, and no longer searches
dependency or build directories — 10,826 of this repo's 12,073 files are
node_modules, so the 200-result cap filled with vendored code before ever
reaching src/. fs and the file tree share that one ignore list.
rtk
- Only rewrites commands it measurably shrinks: git log 185,616 -> 4,514 bytes,
git diff 155,258 -> 28,306. It was also being used on go build, where a clean
build went 0 -> 96 bytes and a failing one 218 -> 439.
- Its "run rtk init -g" banner no longer reaches the model: 74 bytes per call,
which is most of why small commands came out larger than they went in.
- Its 5-second timeout was decorative. Stdout is a buffer, so os/exec waits on
a pipe a grandchild still holds — and rtk is a process supervisor, so
grandchildren are the normal case. One call had not returned after five
minutes. WaitDelay makes the bound real, and the turn's context now reaches
it so Stop can interrupt it.
Also: the user's display name moved from localStorage to the preference file —
localStorage is keyed by origin, so a name typed under `wails dev` was a
different bucket from the built app's and had to be typed again on every
switch. And node_modules is ignored at the repo root, not only under desktop/.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 5a9bf39 commit 9e82cfe
67 files changed
Lines changed: 3499 additions & 400 deletions
File tree
- desktop
- frontend
- src
- lib
- locales
- stores
- test
- mocks
- wailsjs/go/main
- docs
- assets
- internal
- app
- cognitive
- config
- lsp
- model
- prompt
- rtk
- skill
- turn
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
| 91 | + | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | | - | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
208 | | - | |
| 211 | + | |
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
| |||
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
| |||
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
258 | | - | |
| 265 | + | |
259 | 266 | | |
260 | | - | |
| 267 | + | |
261 | 268 | | |
262 | 269 | | |
263 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | | - | |
| 94 | + | |
89 | 95 | | |
90 | | - | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
| 99 | + | |
94 | 100 | | |
95 | 101 | | |
96 | 102 | | |
| |||
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
| |||
595 | 600 | | |
596 | 601 | | |
597 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
598 | 622 | | |
599 | 623 | | |
600 | 624 | | |
| |||
1166 | 1190 | | |
1167 | 1191 | | |
1168 | 1192 | | |
1169 | | - | |
| 1193 | + | |
1170 | 1194 | | |
1171 | 1195 | | |
1172 | 1196 | | |
1173 | 1197 | | |
1174 | 1198 | | |
1175 | 1199 | | |
1176 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
1177 | 1208 | | |
1178 | 1209 | | |
1179 | 1210 | | |
| |||
1274 | 1305 | | |
1275 | 1306 | | |
1276 | 1307 | | |
1277 | | - | |
| 1308 | + | |
1278 | 1309 | | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
1279 | 1316 | | |
1280 | 1317 | | |
1281 | 1318 | | |
| |||
1312 | 1349 | | |
1313 | 1350 | | |
1314 | 1351 | | |
1315 | | - | |
| 1352 | + | |
| 1353 | + | |
1316 | 1354 | | |
1317 | 1355 | | |
1318 | 1356 | | |
| |||
1357 | 1395 | | |
1358 | 1396 | | |
1359 | 1397 | | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1360 | 1416 | | |
1361 | 1417 | | |
1362 | 1418 | | |
| |||
1430 | 1486 | | |
1431 | 1487 | | |
1432 | 1488 | | |
1433 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments