heartcode 0.1.45 → 0.1.56

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 CHANGED
@@ -2,6 +2,292 @@
2
2
 
3
3
  What changed in each version of HeartCode, newest first.
4
4
 
5
+ ## 0.1.56 (2026-11-05)
6
+
7
+ - **Questions as tabs**: several questions come in one dialog, a tab each; go back and forth with
8
+ ←/→ or Tab, and send all answers from the Send tab, which lists each question and its answer.
9
+ "Something else" is typed right in the row (kept when you switch tabs); a timer line shows when
10
+ the recommended answer will be taken; afterwards each question is shown with its answer.
11
+ - **The plan stays in sight**: while working, the todo list is pinned under the spinner; updates
12
+ print only what changed. Each running helper gets its own line, named by its job.
13
+ - **Clearer while it works**: one clock ("waiting for m1", then "Ns in all"); a running command's
14
+ latest line shows in the spinner, then `exit N · M lines`, and a failed one shows its error line;
15
+ refusals and retries say why; "↻ … rate-limited (429) → …" says why the model changed; the
16
+ review comes before the final answer, so the answer is last.
17
+ - **Dialogs**: Shift+Tab never changes the mode inside one; typing doesn't vanish into hidden
18
+ filters; "what to do instead" is typed in the permission dialog; on small terminals dialogs are
19
+ 90% wide and keep their timer and keys, with "↑/↓ n more".
20
+ - **Text**: words wrap whole with indented continuation lines, hint lines wrap instead of being
21
+ cut, Markdown tables line up, code blocks get a `│` gutter and quotes a `▎`; the light theme is
22
+ readable on a dark terminal.
23
+ - **Input and the rest**: Esc puts queued messages back into the input; a draft cleared with
24
+ Esc Esc is in ↑ history; empty Enter adds nothing; the header keeps the project folder's name;
25
+ the context size is right after resuming; tokens/s resets on clear; the setup help shows on first
26
+ run; a task over 10 seconds rings the bell, notifies the desktop and sets the terminal title;
27
+ `/help`, Alt+B, `/select_model`, `/context` and Alt+O ("Thinking") tidied.
28
+
29
+ ## 0.1.55 (2026-11-05)
30
+
31
+ - **Helpers never ask you anything**: a helper's question no longer pops up as your dialog (in
32
+ tool and guided mode); it decides and says what it assumed, and the main model asks if needed.
33
+ Helpers can't start helpers, get the "not done yet" checks, write only their own files (patches
34
+ through commands too), and their changes go to the review.
35
+ - **Plan mode only reads**: commands like `ls & node x`, a line break, `git diff --output`,
36
+ `find -fprint` or `rg --pre` aren't taken as reading; MCP tools that may change something are
37
+ refused; an unknown language server isn't started; "don't ask again" keeps plan mode on;
38
+ Shift+Tab out of plan goes back to the mode before it.
39
+ - **Headless and editors**: no crash when the theme or mouse setting changes; another session's
40
+ permission change doesn't change theirs; told to decide instead of asking; `/skill:name` works;
41
+ editors use the project's prompt overrides; a helper's thinking isn't shown as the agent's.
42
+ - **Models**: a stated rate or size limit moves on to the next model (it crashed); guided and
43
+ tool-calling turns see each other's conversation; a move to a model without tool calls mid-message
44
+ goes on in guided mode; a Gemini chat resumed or forked onto another provider isn't refused;
45
+ auto-compact off stays off after a move; a resumed chat doesn't keep the last one's token count.
46
+ - **Guided mode**: your hooks and allowed tools apply, steps show in stream-json and editors,
47
+ memory notes after a task, no endless "Apply this change?" after a no.
48
+ - **Full screen**: the 30-second pick waits while its tab is in the background, and a question waits
49
+ for dictation to end; piped input doesn't answer questions; ticked options are kept; no full
50
+ screen on `TERM=dumb`.
51
+ - **After a review says no**, the answer is written to you (what was made, how to use it), not as a
52
+ reply to the reviewer.
53
+ - `--resume <id>` from another folder runs in that session's project, so /rewind can't touch the
54
+ wrong folder.
55
+
56
+ ## 0.1.54 (2026-11-04)
57
+
58
+ - **Questions always come with a recommended answer**: ask_user needs options, the first one marked
59
+ "recommended"; nobody answers within 30 seconds (each key starts the wait again) and it's taken,
60
+ shown as such, and the model is told it was. A model that types its questions as text instead is
61
+ sent back once to ask them in the dialog.
62
+ - **Fewer, shorter prompts** (128 → 101), written for small models: variants of one message merged
63
+ (hooks, "not done yet", output shortened, repeats, bad replies…), every rule kept, about a quarter
64
+ less sent with each request. A plan made without looking anything up is asked once whether it uses
65
+ something to read the current docs for. "Plan first" says plainly that nothing was written. The
66
+ reviewer is told when a long change is shortened, so it no longer calls a whole file truncated.
67
+ - **Guided mode no longer loops**: a tiny model that kept picking "read" after the work was done
68
+ now finishes (the menu doesn't offer a step that just repeated with nothing new).
69
+ - **Alt, never Ctrl**: Alt+O shows all of the thinking (was Ctrl+O), Alt+A / Alt+N tick all / none in
70
+ a multi-select; the Ctrl+PgUp/PgDn/Home/End alternatives are gone. Only Ctrl+C and Ctrl+D remain.
71
+ - **MCP servers**: added from the command alone (the name comes from it), and each flag is a pill
72
+ to tick on and off in the list.
73
+ - **System prompt page redesigned** like the Skills page: kinds to switch between (System, Tools,
74
+ Notes & replies, Guided mode, Summaries, Tests), search, "Changed by you", readable names, and
75
+ labelled parts (what it is, placeholders to click in, the prompt). On phones, the lists of the
76
+ prompts, skills and files pages no longer push the editor off the screen.
77
+ - **README**: easier to read, what happens when you ask it to make something, and a recommended
78
+ step: the design skill, Chrome DevTools MCP and computer use MCP, with why and how.
79
+
80
+ ## 0.1.53 (2026-11-04)
81
+
82
+ - **Your models, in your order, and nothing picks for you**: #1 answers, the next one in your list
83
+ when it fails; #1 can hand a part to your other models, the first in your order that can do it (one
84
+ that sees, for an image). Gone: the orchestrator (the Your order / Orchestrator switch,
85
+ `--model-choice`, its handoff checks and the "never tested" dialog), the skills tests and the
86
+ orchestrator scenes, each model's job record, and models left out as "not used". Helpers, image
87
+ describers, reviewers and guided mode all go by your order.
88
+ - **Test stays**: Test all, Test on a row and on the ones selected, the Works? column (sort by it:
89
+ fastest first), the result filter, the Request viewer, Tests wait. While it runs, the top of the page
90
+ stays three lines: the list's settings, the filters with Test all and Save order, then "Testing 56
91
+ models ✓ 9 work · ✗ 0 don't … 9 of 56 · Stop".
92
+ - **LMArena's ranks, to sort by**: Update model info gets models.dev and LMArena's public rankings
93
+ together; Coding, Web apps and Vision show each model's score and place. They never choose a model.
94
+ - **Your models page tidier**: the list's settings in one row (If one fails, Give up after, Stalled
95
+ after, Tests wait, New message to), the filters as one row with them; Tools, Thinking, Images and
96
+ Free as pill toggles; the table sized to its columns.
97
+ - **No built-in skills or MCP servers**: HeartCode comes with none; add or install the ones you want.
98
+ The design guides moved to their own repo (`/install_skill p32929/p32929_design_skill`). If you used
99
+ the built-in `computer-use` or `chrome-devtools` server, add it in /settings → MCP servers.
100
+ - **Skills in the Agent Skills format**: a skill's `metadata:` block is read (HeartCode's own fields
101
+ there: `heartcode-use`, `heartcode-load`); `load` brings a folder skill's files with it; the skill
102
+ tool reads a skill's own files (`file`); an always-on skill brings its files too, and its guides can
103
+ be read.
104
+ - **Skills page rewritten**: your skills listed on the left, the one chosen on the right (who uses it,
105
+ where it lives, its files, the prompt); install in one line. Saving a one-file skill no longer makes a
106
+ second copy in a folder, and renaming a folder skill moves it with its files instead of losing them.
107
+ - **Page checks look at more**: `heartcode page` fails text too faint to read (WCAG contrast), content
108
+ hidden when the page loads (shown only on scroll), icons that don't draw, and sideways scrolling on a
109
+ phone, saying which.
110
+ - A helper that keeps making the same call over and over ends, and the job goes to your next model,
111
+ instead of going round until Esc.
112
+
113
+ ## 0.1.52 (2026-11-04)
114
+
115
+ - **Sessions live with the project**: a new conversation is saved in the folder you opened, in
116
+ `.heartcode/sessions/` (which ignores itself in git: conversations can hold secrets), not in
117
+ `~/.heart/sessions`. A worktree's go to its main project, so removing the worktree keeps them.
118
+ Older sessions in `~/.heart/sessions` still show in /resume and move into their project when next
119
+ saved. `--resume <id>` and an editor's session/load still find one from any folder (an index in
120
+ `~/.heart/sessions.json`); a folder that can't be written falls back to `~/.heart/sessions`.
121
+ Resetting everything (`~/.heart`) no longer deletes your projects' sessions.
122
+ - **Design guides, rewritten** (`skills/design/`): the old one-file design skill is gone, replaced by
123
+ short, sourced guides (shadcn/ui, GOV.UK, Nielsen Norman Group, WAI-ARIA, WCAG, MDN Baseline): one
124
+ set of general rules (full width, spacing, type, the theme's tokens, states, accessibility, modern
125
+ practice: native `<dialog>`, `popover`, container queries, `dvh`, safe areas, `:user-invalid`, undo
126
+ over "are you sure?", each tagged by how widely it works) and 17 component guides (button,
127
+ typography, field, select, choice, card, badge, alert, toast, dialog, sheet and bottom sheet,
128
+ dropdown menu, tooltip, tabs, table, sidebar, date picker). Each is a Markdown file for the model and
129
+ an HTML page showing the same rules, in one theme (`theme.css`: DM Sans, Geist Mono, a 1rem radius,
130
+ light and dark). Not loaded by models yet: the skill's entry point comes next.
131
+
132
+ ## 0.1.51 (2026-11-04)
133
+
134
+ - **Models that think now show it**: many (gemma4, Qwen on Groq, Gemini) think only when asked, and
135
+ HeartCode didn't ask unless you'd set an effort; now a model that can think is asked for low effort
136
+ by default (your setting wins), and Gemini's thinking is asked for and taken out of its answer.
137
+ - **Thinking, two lines at a time**: while a model thinks, its last two lines show live above the
138
+ spinner; after its reply, those two lines stay above it under "thought for …", so you see what it
139
+ thought and what it answered. Ctrl+O shows all of it as it comes (what came before too), and again
140
+ goes back; once it's over, Ctrl+O shows the whole thought it just had. A helper's thinking (the work an orchestrator
141
+ hands out) shows as it comes too, not only when its reply ends (unless several helpers reply at
142
+ once).
143
+ - "↻ … answered" (another model in your list answered) is on a line of its own under the reply, no
144
+ longer glued to its last line.
145
+ - **Headless: replies as they come**: `heart -p --output-format stream-json --include-partial-messages`
146
+ now streams each reply's thinking and text as Claude Code does (`stream_event` lines with
147
+ `thinking_delta` and `text_delta`), before its whole `assistant` line (which, as before, has the
148
+ thinking in a `thinking` block).
149
+
150
+ - **Smoother scrolling**: a trackpad or a fast-spun wheel moves the conversation a line per step (a
151
+ single notch still three), the screen is drawn at most once a frame however many scroll events
152
+ come, and only the rows that changed are written.
153
+ - **The mouse wheel scrolls only the conversation again**: HeartCode takes the mouse by default, so
154
+ the tabs, the input and the status bar stay put while you scroll (with the terminal's own mouse,
155
+ its wheel scrolled the whole screen). Dragging selects and copies; over SSH the copy goes to the
156
+ computer you're at (through the terminal), not the remote one. Option+drag (Shift+drag elsewhere)
157
+ is still the terminal's own selection, and "HeartCode takes the mouse" in /settings → General
158
+ gives the mouse back to the terminal (at once, in an open HeartCode too).
159
+
160
+ - **Every test prompt is in one place, as Markdown**: prompts/tests.md holds what Test asks your
161
+ models: the "does it answer" message, the tool check, the four skill jobs and the six orchestrator
162
+ scenes. They're on the settings page's System prompt page, in their own group (Tests) right under
163
+ the system prompts, to read, change and reset like any other prompt; each one's note says what
164
+ its scoring relies on (a name or id the check looks for). A change is used by the next Test, also
165
+ on a settings page started on its own (heart settings).
166
+
167
+ ## 0.1.50 (2026-11-04)
168
+
169
+ - **Asks before an untested orchestrator starts**: with an orchestrator whose models were never
170
+ tested together, the first message waits for a choice: open the settings page and run Test (the
171
+ message goes when the page is turned off), use your order instead, or send it anyway (not asked
172
+ again that session). Esc leaves it unsent.
173
+ - **Test is much faster**: each model's skill jobs run at once, every orchestrator's scenes run at
174
+ once, and the skills and the orchestrators are tested side by side, with at most 4 requests at a
175
+ time per provider (so a free tier isn't flooded); the first step tests 4 models at a time per
176
+ provider. All 56 models of a real list: about 8 minutes; five models: under 2. The dialog shows
177
+ the time, and what's running (a job waiting its turn shows as waiting, not running).
178
+ - **Orchestrators are ranked by scenes passed** (one that never answers no longer ranks above one
179
+ that passed 5 of 6), and a Test where some didn't answer still puts the others in order, best
180
+ first, with those after them.
181
+ - **Dialogs close once they're done**: "Open settings and run Test" opens the page straight into the
182
+ Test, already running; when it's done, HeartCode's dialog closes by itself ("done"), your message
183
+ goes, and the page stays open with the results. Turned off before that (Esc), the question isn't
184
+ asked again: the message goes, with a line saying the models aren't tested yet. Switching to your
185
+ order on the page ends it too.
186
+ - **HeartCode decides which of your models can be used**: you choose any models (and as many
187
+ orchestrators as you like); a model that can't work is left out for now, and Your models tags it
188
+ "not used" with why: its key or name refused (401, 403, 404, until it's tested again), a limit
189
+ smaller than its first request (its window, or a per-minute cap its provider states, like Groq's
190
+ 2,000 tokens a minute, now kept when a provider says so), or an orchestrator that failed every
191
+ scene of the last Test.
192
+ - **A model that goes silent, or says a request is too large, isn't tried again** as a helper: the
193
+ orchestrator hands the job on at once (it used to wait up to 150 s three times).
194
+ - **A handoff's check asks like any command**: plan mode, a command reaching outside the project and
195
+ your permission setting apply ("Run the check …?"); a page check only opens a page.
196
+ - **Page checks, sturdier**: every step has a time limit, so a page stuck in a loop fails ("stuck in a
197
+ loop") instead of hanging, and Esc stops a check at once (not counted against the model). A
198
+ computer too slow to draw a 3D page is told apart from a stuck one (screenshots left out, the rest
199
+ checked). A folder means its index.html; odd paths ("50%off.png") no longer crash HeartCode; the
200
+ browser and its temp folder are always cleaned up.
201
+ - **No browser? HeartCode fetches one**: Google's headless browser for testing (about 100 MB, once,
202
+ into ~/.heart/browser), so page checks work on a server or Linux box without Chrome (Ubuntu's
203
+ AppArmor refusal handled).
204
+ - **Test, sturdier**: one that fails says so (never "Tested"); one with no models left to hand work to
205
+ is refused at the start; a stopped skills step isn't counted as scored; a provider removed
206
+ meanwhile, or Test all pressed between steps, no longer leaves two runs going.
207
+ - **Skills tests run the model's code locked down** (Node's permission model: its own folder only, no
208
+ writing, no other programs) and without freezing the settings page.
209
+ - `heartcode page` screenshots are kept out of git (their own .gitignore); workers clean up the
210
+ scratch files they made, and the review looks for leftovers (not tools' caches).
211
+ - `heartcode page fix the footer` is a prompt again (only a file or URL after "page" is a page check).
212
+ - The model table stays pinned while you scroll in a narrow window (only a phone lets it scroll away);
213
+ "More columns" sits clear of the rows' buttons.
214
+ - **Needs Node.js 22 or newer** (page checks use its built-in WebSocket).
215
+ - **The table shows it scrolls sideways**: when there are more columns than fit, that side fades out
216
+ and a small "‹ More columns ›" stays in view at the bottom; click it (or Shift + scroll, or swipe).
217
+
218
+ ## 0.1.49 (2026-11-04)
219
+
220
+ - **Your models, simpler**: how a model is picked is a switch at the top, **Your order** or
221
+ **Orchestrator**, with one line on what it means, and only the settings for that one under it
222
+ ("New message to" only with your order; "If an orchestrator fails" with one).
223
+ - **One Test with an orchestrator**: one click checks the whole team, step by step, live in one
224
+ dialog: does each model answer, the skills of the ones that do the work (scored this week: kept),
225
+ then each orchestrator handing them work in a few short scenes (put in order, the best first).
226
+ It runs on the server (close the page, it goes on), and each step says what it came to. With
227
+ your order, Test all (does each answer) is all there is. The selection bar's Test does the same
228
+ for the models selected.
229
+ - **HeartCode says when the team was never tested**: with an orchestrator, the first message of a
230
+ session says to run Test in /settings (or use your order) until it's been run once.
231
+ - The sidebar names your first two orchestrators and how many more.
232
+
233
+ ## 0.1.48 (2026-11-04)
234
+
235
+ - **Work is checked, not taken on trust**: each job the orchestrator hands out carries a check that
236
+ HeartCode runs itself when the model is done: a command that must pass (the tests, the program),
237
+ or `page <file>`: the page opened in a real headless browser (Chrome, Chromium or Edge, found on
238
+ your computer; without one, a static check that its files are there and its scripts parse). It
239
+ fails on errors, a blank page, or a click or key that breaks it. A failed check goes back to the
240
+ orchestrator with the output; the work stays, and the fix goes to the next model.
241
+ - **`heartcode page <file|url>`**: the same check from your shell (exit 0 when it passes), with
242
+ desktop and phone screenshots in `.heartcode/page-shots/`. Workers run it on their own page before
243
+ they report.
244
+ - **The orchestrator learns from what happened**: every handoff goes into the model's record
245
+ (`~/.heart/model-stats.json`: check passed or failed, no answer, how long), and the orchestrator
246
+ sees each model's recent record and the past jobs most like the one in hand. Models with something
247
+ to show for themselves are listed first. A model much slower than your others is marked SLOW. Out
248
+ of quota doesn't count against a model.
249
+ - **Test skills** (Your models, and for selected rows): four small real jobs per model, each scored
250
+ by HeartCode, never by another model: a function against hidden tests, a small web app used in a
251
+ real browser on a desktop and a phone, a picture with known shapes to find and count, and a bug to
252
+ fix with HeartCode's own tools. Live in a dialog; each answer may take Tests wait × 6.
253
+ - **Skills and Jobs columns** on Your models: the Test skills scores as coloured chips, and the record
254
+ of real jobs (click to clear it), both sortable.
255
+ - **Test orchestrators** wants a check on the jobs that make something.
256
+ - **A built-in `design` skill**, loaded by the model before building an interface or a game: settle
257
+ the direction first, the five states of every screen, a small system of type, colour and space,
258
+ the defaults to refuse, games and 3D, and looking at the rendered page before calling it done.
259
+ From ideas in Impeccable (Apache-2.0), AI Web Design and User Flow Specs (MIT), written anew.
260
+
261
+ ## 0.1.47 (2026-11-04)
262
+
263
+ - **Add to orchestrators / Remove from orchestrators** in place of Mark as orchestrators: add the
264
+ selected models after the ones you have (none twice), or take them out; the rest keep their order.
265
+ - **Test orchestrators, plainer**: one button beside Test all opens a dialog with a table, one row
266
+ per orchestrator and a column per scene (Hello, Small job, Big job, After a failure, Reports
267
+ back): ✓, ✗, the seconds it's been waiting, or ⏱ for no answer in time. What went wrong is one
268
+ line per orchestrator. Start / Test again is in the dialog, and closing it doesn't stop the test.
269
+ - **Each scene waits as long as Tests wait**, like the other model tests, not two minutes.
270
+ - **Your models, less cluttered**: a one-line intro, no list of orchestrator names above the table
271
+ (the table's orchestrator #1, #2… tags show them).
272
+
273
+ ## 0.1.46 (2026-11-04)
274
+
275
+ - **The orchestrator chooses the model, sized to the job**: it always names the model (no silent
276
+ default to your #1), the smallest that will do the job well (a folder listing to a small model, a
277
+ real program to a strong one). When that model fails or is out of quota, it hears why and picks
278
+ another, instead of HeartCode going down your list to a big one. A model out of quota is refused
279
+ without a request, and `provider/model` or a short name (`gemini-3.5-flash` for
280
+ `models/gemini-3.5-flash`) works in a handoff.
281
+ - **One handoff at a time**: an orchestrator's handoffs run one after another, so the same job sent
282
+ twice finds the work done instead of overwriting it. A handoff with no prompt says exactly what's
283
+ missing.
284
+ - **Test orchestrators** (Your models): each orchestrator gets the same 5 short scenes (a hello, a
285
+ small job, a big job, another model after a failure, reporting finished work), checked on what it
286
+ does. A dialog shows it live: each scene's ✓ or ✗, what the model did, what it's waiting on. Then
287
+ they're put in order, the most passed first; Results shows the last run again. The table tags
288
+ them orchestrator #1, #2…, and their own order now decides which answers first.
289
+ - **Test all** names the models being tested now, not only their providers.
290
+
5
291
  ## 0.1.45 (2026-11-03)
6
292
 
7
293
  - **Rate limits hand the work on**: a helper whose model answers 429 goes to your next model at