heartcode 0.1.63 → 0.1.95
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/.githooks/bump-version.mjs +29 -0
- package/.githooks/pre-commit +5 -0
- package/CHANGELOG.md +367 -0
- package/README.md +94 -61
- package/SKILL.md +50 -17
- package/bin/heartcode.js +169 -87
- package/package.json +1 -1
- package/prompts/README.md +1 -0
- package/prompts/agent.md +98 -59
- package/prompts/guided.md +20 -0
- package/prompts/guides.md +168 -0
- package/src/acp.js +1 -1
- package/src/agent.js +276 -77
- package/src/alert.js +93 -0
- package/src/background.js +4 -2
- package/src/capabilities.js +2 -3
- package/src/client.js +30 -4
- package/src/clis.js +601 -0
- package/src/config.js +35 -24
- package/src/edit.js +4 -1
- package/src/guard.js +88 -0
- package/src/guided.js +49 -10
- package/src/guides.js +73 -0
- package/src/headless.js +7 -3
- package/src/hooks.js +3 -2
- package/src/http.js +4 -2
- package/src/importer.js +12 -1
- package/src/log.js +27 -2
- package/src/mcp.js +12 -2
- package/src/probe.js +5 -1
- package/src/prompts.js +2 -1
- package/src/rankings.js +23 -5
- package/src/record.js +80 -0
- package/src/settings.html +520 -307
- package/src/settings.js +199 -82
- package/src/skills.js +2 -0
- package/src/tabs.js +1 -0
- package/src/tools.js +90 -33
- package/src/trust.js +49 -0
- package/src/ui.js +219 -126
- package/src/usage.js +13 -5
- package/src/voice.js +61 -13
- package/src/web.js +26 -4
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// The pre-commit hook's work: package.json's patch version + 1, in the commit and in the working
|
|
2
|
+
// copy, only its "version" line (other changes to package.json, staged or not, are left as they are).
|
|
3
|
+
import { execFileSync } from 'node:child_process'
|
|
4
|
+
import fs from 'node:fs'
|
|
5
|
+
import path from 'node:path'
|
|
6
|
+
|
|
7
|
+
const git = (...args) => execFileSync('git', args, { encoding: 'utf8', stdio: ['pipe', 'pipe', 'ignore'] })
|
|
8
|
+
const versionOf = (text) => JSON.parse(text).version
|
|
9
|
+
const root = git('rev-parse', '--show-toplevel').trim()
|
|
10
|
+
const file = path.join(root, 'package.json')
|
|
11
|
+
|
|
12
|
+
const staged = git('show', ':package.json')
|
|
13
|
+
let before = null
|
|
14
|
+
try {
|
|
15
|
+
before = versionOf(git('show', 'HEAD:package.json'))
|
|
16
|
+
} catch {} // the first commit
|
|
17
|
+
if (before && versionOf(staged) !== before) process.exit(0) // this commit already sets a version
|
|
18
|
+
|
|
19
|
+
const [major, minor, patch] = versionOf(staged).split('.').map(Number)
|
|
20
|
+
const next = `${major}.${minor}.${patch + 1}`
|
|
21
|
+
const bump = (text) => text.replace(/("version"\s*:\s*")[^"]*(")/, `$1${next}$2`)
|
|
22
|
+
|
|
23
|
+
// the commit's package.json: the staged one with the new version
|
|
24
|
+
const blob = execFileSync('git', ['hash-object', '-w', '--stdin'], { input: bump(staged), encoding: 'utf8' }).trim()
|
|
25
|
+
const mode = git('ls-files', '-s', 'package.json').split(' ')[0]
|
|
26
|
+
git('update-index', '--cacheinfo', `${mode},${blob},package.json`)
|
|
27
|
+
// the working copy too, keeping any changes not staged
|
|
28
|
+
fs.writeFileSync(file, bump(fs.readFileSync(file, 'utf8')))
|
|
29
|
+
console.log(`version ${versionOf(staged)} → ${next}`)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Every commit bumps the patch version in package.json (0.1.67 → 0.1.68), unless the commit already
|
|
3
|
+
# changes the version. Turned on in a clone with: git config core.hooksPath .githooks
|
|
4
|
+
# (git commit --no-verify skips it.)
|
|
5
|
+
exec node "$(git rev-parse --show-toplevel)/.githooks/bump-version.mjs"
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,373 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of HeartCode, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.1.95 (2026-11-23)
|
|
6
|
+
|
|
7
|
+
- **The Providers page, rewritten**: one state (the filters, the folds, the ticked models) and one way
|
|
8
|
+
to draw it, so what you see always matches what you did.
|
|
9
|
+
- **Search and Free only filter the models again** (0.1.94 broke them).
|
|
10
|
+
- Every row is a real row (no more redrawn windows of a long list): ticks, folds and your place in
|
|
11
|
+
the list stay put while lists load, tests finish or the list changes; scrolling doesn't jump.
|
|
12
|
+
- Ticks are kept while you search or filter; the bar says how many are ticked but not shown.
|
|
13
|
+
- A search shows folded providers open while it's typed; your folds come back after.
|
|
14
|
+
- Collapse all / Expand all and Select all work on what the filters show.
|
|
15
|
+
|
|
16
|
+
## 0.1.94 (2026-11-23)
|
|
17
|
+
|
|
18
|
+
- **On Providers, models with "auto", "free" or "default" anywhere in the name come first** under
|
|
19
|
+
each provider (routers, free models, a CLI's default), then the rest by name or price.
|
|
20
|
+
|
|
21
|
+
## 0.1.93 (2026-11-23)
|
|
22
|
+
|
|
23
|
+
- **Turn just the selected providers off or on**: tick providers (their own box, or any of their
|
|
24
|
+
models) and the bar under the list has **Turn off N providers** / **Turn on N providers** for those
|
|
25
|
+
only; the button at the top says **Turn N selected off/on** while some are ticked, and **Turn all
|
|
26
|
+
off/on** when none are.
|
|
27
|
+
|
|
28
|
+
## 0.1.92 (2026-11-23)
|
|
29
|
+
|
|
30
|
+
- **Test all runs at most 10 tests at a time**: still one model at a time from each provider, but with
|
|
31
|
+
more than 10 providers the rest wait for a free place (a provider paused for a rate limit doesn't
|
|
32
|
+
hold one). Stop still ends it at once.
|
|
33
|
+
|
|
34
|
+
## 0.1.91 (2026-11-23)
|
|
35
|
+
|
|
36
|
+
- **Save list works with thousands of models**: it said "too big" (each model went with everything
|
|
37
|
+
shown about it, over the page's 1 MB limit); now only each model's provider and name are sent.
|
|
38
|
+
|
|
39
|
+
## 0.1.90 (2026-11-23)
|
|
40
|
+
|
|
41
|
+
- **No dialog on the settings page is bigger than 80% of the window**, either way; what doesn't fit
|
|
42
|
+
scrolls inside it, and its buttons (Cancel, Add, Save…) stay in view at the bottom.
|
|
43
|
+
|
|
44
|
+
## 0.1.89 (2026-11-23)
|
|
45
|
+
|
|
46
|
+
- **An icon before each provider's name** (Models list, Providers, "HeartCode uses"): a terminal
|
|
47
|
+
`>_` for a coding CLI, a server for an API provider; hover says which. The list's Provider column
|
|
48
|
+
is a little wider for it.
|
|
49
|
+
|
|
50
|
+
## 0.1.88 (2026-11-23)
|
|
51
|
+
|
|
52
|
+
- **Select all on Providers selects every model shown again**, on or off (0.1.86 left out the
|
|
53
|
+
providers switched off). To leave those out, tick **On only**: they're hidden, so not selected.
|
|
54
|
+
|
|
55
|
+
## 0.1.87 (2026-11-23)
|
|
56
|
+
|
|
57
|
+
- **All / Providers only / CLIs only** on Providers (beside Sort): show every provider, only the API
|
|
58
|
+
ones, or only the coding CLIs. Select all picks what's shown. Kept for next time; All by default.
|
|
59
|
+
|
|
60
|
+
## 0.1.86 (2026-11-23)
|
|
61
|
+
|
|
62
|
+
- **Select all on Providers picks only the providers that are on**: turn off the ones you don't want,
|
|
63
|
+
tick the box at the top, Add: only the on ones' models are added (a provider's own box still picks
|
|
64
|
+
its models, on or off). The providers that are on come first; **On only** (beside Free only) hides
|
|
65
|
+
the ones that are off.
|
|
66
|
+
|
|
67
|
+
## 0.1.85 (2026-11-23)
|
|
68
|
+
|
|
69
|
+
- **Turn all off / Turn all on** on Providers (beside Collapse all): every provider's switch in one
|
|
70
|
+
click. Off keeps each provider and its models in your list; HeartCode skips them until it's on.
|
|
71
|
+
|
|
72
|
+
## 0.1.84 (2026-11-23)
|
|
73
|
+
|
|
74
|
+
- **+ Add CLIs** (Providers, beside + Add a provider): every coding CLI on one dialog with a checkbox.
|
|
75
|
+
The installed ones not added yet come ticked; untick what you don't want (or Tick all / Untick all)
|
|
76
|
+
and **Add N CLIs** adds them all at once, their models loading side by side. One not installed has
|
|
77
|
+
its Install button there (ticked once it's in); one added already shows as added. The CLIs left
|
|
78
|
+
Add a provider, which is for APIs again.
|
|
79
|
+
|
|
80
|
+
## 0.1.83 (2026-11-23)
|
|
81
|
+
|
|
82
|
+
- **Guides for kinds of work**, so any model (the smallest too) knows how to do it: web, API, mobile,
|
|
83
|
+
desktop, command-line tools, automation and scraping, long tasks, games, data, libraries,
|
|
84
|
+
extensions, Docker/CI/deploying, databases, upgrades and refactors. Each is short and the same
|
|
85
|
+
shape: when it's done, how to start, run and check it, its traps. Not sent up front: the model
|
|
86
|
+
reads one with the new **guide** tool (its list says what each is for; the system prompt says to
|
|
87
|
+
read the one that matches before building), and HeartCode adds the right one itself, once per
|
|
88
|
+
conversation, with the first plan or change of a message whose words or project files show the
|
|
89
|
+
kind (a game, `pubspec.yaml`, React in package.json…). Never for a question answered by looking.
|
|
90
|
+
Editable on `/settings` → System prompt (guides).
|
|
91
|
+
|
|
92
|
+
## 0.1.82 (2026-11-23)
|
|
93
|
+
|
|
94
|
+
- **The coding CLIs in Add a provider show at once**: each one's version fills in as it's asked (a
|
|
95
|
+
shimmer until then), not after the slowest. Installed ones come first, with a ✓; the rest have an
|
|
96
|
+
**Install** button (or **Get it**, its page, when nothing here can install it), a spinner while
|
|
97
|
+
installing, and **Failed · try again**.
|
|
98
|
+
|
|
99
|
+
## 0.1.81 (2026-11-23)
|
|
100
|
+
|
|
101
|
+
- A coding CLI's model shows "–" for its context on the Models page (it keeps its own; it showed 10M).
|
|
102
|
+
|
|
103
|
+
## 0.1.80 (2026-11-23)
|
|
104
|
+
|
|
105
|
+
- **Coding CLIs as providers**: Claude Code, Codex, opencode, Junie, Kilo Code, Cline, Antigravity,
|
|
106
|
+
Kiro, GitHub Copilot, Cursor, CodeBuddy, Qwen Code, Qoder, Mistral Vibe and AlphaCode, from
|
|
107
|
+
`/settings` → Providers → + Add a provider. Each shows whether it's installed (its version); one
|
|
108
|
+
that isn't installs from there, its log shown as it goes. No key: it uses its own sign-in (the
|
|
109
|
+
dialog says the command, e.g. `codex login`). Its models come from the CLI, and are tested and put
|
|
110
|
+
in your list like any provider's. A message it answers is worked on by the CLI in your folder, with
|
|
111
|
+
its own tools: its thinking, steps and answer show in HeartCode, its session goes on with the next
|
|
112
|
+
message (and hears what another of your models said meanwhile), Esc stops it and everything it
|
|
113
|
+
started. Your permission mode carries over: CLIs that can ask (Kilo, Cline, Copilot, Cursor, Qwen…)
|
|
114
|
+
ask you through HeartCode's own dialog; the others can't ask, so their own modes hold them back
|
|
115
|
+
(read-only; with "ask before commands", Claude Code accepts edits only and Codex works in its
|
|
116
|
+
workspace sandbox; Junie works only on "do everything"). Anything else asked of
|
|
117
|
+
one (a summary, a test) is a plain question in a scratch folder, with nothing it may change.
|
|
118
|
+
|
|
119
|
+
## 0.1.79 (2026-11-23)
|
|
120
|
+
|
|
121
|
+
- **Voice with Hex, whisper-cli or OpenAI only**: Automatic uses the Hex app when it's installed with
|
|
122
|
+
its Labs › Transcribe files on (`hex labs on transcribe-files`; about 0.2 s a clip, your Hex
|
|
123
|
+
dictation model), else whisper-cli and a model; OpenAI's API when you choose it (your OpenAI
|
|
124
|
+
provider's key). Other providers' transcription APIs are gone. `/settings` → General → Voice input.
|
|
125
|
+
|
|
126
|
+
## 0.1.78 (2026-11-23)
|
|
127
|
+
|
|
128
|
+
- **Going back to a message queued while working** keeps the conversation before it on screen (it
|
|
129
|
+
cut one message too many); queued messages are in ↑'s history and their lines line up.
|
|
130
|
+
- **Tabs don't undo each other's settings**: a save in one tab no longer writes its old values over
|
|
131
|
+
what another tab changed (notifications, permissions, the queue…).
|
|
132
|
+
- **More notes out of the conversation**: what a rewind, `/resume`, `/tree` and a settings change say,
|
|
133
|
+
the first-start questions and their answers, and a command's own question all show above the
|
|
134
|
+
input instead (they were saved into the session too). A command that asks, then says one line,
|
|
135
|
+
no longer opens a box to close.
|
|
136
|
+
- **`/update`** shows what changed and asks in one dialog (the question closed the notes before).
|
|
137
|
+
- **An MCP server that quits right away** no longer shows "HeartCode hit an error… EPIPE".
|
|
138
|
+
- **Voice**: Ctrl+C stops the recording like Esc, Esc also stops the last part's transcription, and
|
|
139
|
+
a transcription that hangs is given up on after 30 s (the keyboard was held).
|
|
140
|
+
- **No terminal bell or popup with notifications off** (after a long task); over SSH the terminal's
|
|
141
|
+
popup comes when you chose notifications.
|
|
142
|
+
- Closing a tab stops its MCP servers and takes its exit hooks off (a 4th tab printed a warning).
|
|
143
|
+
|
|
144
|
+
## 0.1.77 (2026-11-23)
|
|
145
|
+
|
|
146
|
+
- **A command run while a task works is yours**: its lists and questions (`/select_model`, Alt+W,
|
|
147
|
+
`/settings`…) send no "waiting for you" notification, and what it says shows above the input
|
|
148
|
+
for a moment, not in the conversation.
|
|
149
|
+
- **Ctrl+D while a task works** no longer closes the keyboard (it left HeartCode unusable, and a
|
|
150
|
+
Ctrl+C after it left the terminal on HeartCode's screen); it says how to stop or quit.
|
|
151
|
+
- A key bound to a command (keybindings.json) runs it at once while a task works, as typing it does.
|
|
152
|
+
- `/help` says what Esc does while working, as it does now.
|
|
153
|
+
|
|
154
|
+
## 0.1.76 (2026-11-23)
|
|
155
|
+
|
|
156
|
+
- **A question gets its answer, not a review loop**: looking around to answer (`git log`, `ls`,
|
|
157
|
+
`grep`) isn't work, so no "is every part done?" and no review. Asked "did you revert anything?",
|
|
158
|
+
a model answered in seconds, then spent six minutes being sent back to earlier messages' work.
|
|
159
|
+
- **The review judges only your latest message**: earlier messages are background (it no longer asks
|
|
160
|
+
for their work to be done again), an earlier message's plan isn't sent, and an answer to a
|
|
161
|
+
question is judged as an answer (right, and as short as asked).
|
|
162
|
+
|
|
163
|
+
## 0.1.75 (2026-11-23)
|
|
164
|
+
|
|
165
|
+
- **No "waiting for an answer" notification for your own commands**: Esc Esc (going back to a
|
|
166
|
+
message), `/select_model`, `/notifications` and the like open a list you're looking at; only a
|
|
167
|
+
question the model asks while it works notifies you.
|
|
168
|
+
|
|
169
|
+
## 0.1.74 (2026-11-23)
|
|
170
|
+
|
|
171
|
+
- **Give up, Stalled and Tests wait show with one model too** (Models → List, above the search):
|
|
172
|
+
they were hidden unless the list had two or more models, so a short Give up couldn't be changed.
|
|
173
|
+
With one model they show with their names.
|
|
174
|
+
|
|
175
|
+
## 0.1.73 (2026-11-23)
|
|
176
|
+
|
|
177
|
+
- **The settings page loads again**: a help text in 0.1.72 broke its script (nothing showed).
|
|
178
|
+
|
|
179
|
+
## 0.1.72 (2026-11-23)
|
|
180
|
+
|
|
181
|
+
- **A command can't stop HeartCode** (macOS, Linux): `kill`, `pkill` and `killall` in the commands it
|
|
182
|
+
runs (in nested sh, bash and zsh too) leave out HeartCode and the programs it runs in, and refuse
|
|
183
|
+
"every process" (`kill -1`); everything else is stopped as asked. Freeing a port with
|
|
184
|
+
`lsof -ti :9880 | xargs kill -9` killed HeartCode itself, as it had a connection to that port.
|
|
185
|
+
The model is told to stop a server by its own PID, never by broad matches.
|
|
186
|
+
- **An error in HeartCode's own code no longer quits it**: it's said and logged, and it goes on.
|
|
187
|
+
- **Security**:
|
|
188
|
+
- A folder's own HeartCode setup (`.heartcode/hooks.json`, `mcp.json`, `prompts/`) is used only
|
|
189
|
+
once you say yes to it for that folder (asked again when those files change); a cloned repo's
|
|
190
|
+
hooks no longer run at your first message. `-p` and editors (ACP) use it as before.
|
|
191
|
+
- The model can't write `.heartcode/` or `.git/` files without asking, in any mode (their hooks
|
|
192
|
+
run commands).
|
|
193
|
+
- Files are never read or written through a link that points outside the project; search skips
|
|
194
|
+
such links; installed skills don't keep links out of their folder.
|
|
195
|
+
- Command output, files, pages and model text can't send escape sequences to your terminal
|
|
196
|
+
(setting the clipboard, the title, links, cursor moves): colors only.
|
|
197
|
+
- `web_fetch` doesn't reach the local network or a cloud machine's metadata address unless your
|
|
198
|
+
message names that host (this computer's own servers still work), checked on every redirect.
|
|
199
|
+
- Plan mode's "read-only" commands can't run a program (`git grep -O`, `git -c`, `--ext-diff`)
|
|
200
|
+
or print the environment.
|
|
201
|
+
- An MCP tool that says it only reads is asked about once a session.
|
|
202
|
+
- The settings page is served to this machine only (over SSH: at the address you reached it
|
|
203
|
+
at); a newer version's number can't inject HTML into it; custom headers aren't sent to
|
|
204
|
+
another site on a redirect.
|
|
205
|
+
- **Tests wait no longer shortens Give up**: lowering how long the Test buttons wait (say to 7 s)
|
|
206
|
+
pulled down how long real work waits for a model to start answering too. They're separate now.
|
|
207
|
+
- **Only messages in the conversation**: a command's one-line answer (`/cost`…), "settings page
|
|
208
|
+
turned off", "a newer HeartCode is out", "this folder uses…" show above the input for a moment
|
|
209
|
+
(any key clears them), not in the conversation.
|
|
210
|
+
- **Outages don't ruin track records**: no connection, a timeout, a server error or a rate limit isn't
|
|
211
|
+
counted against a model, and a real failure counts once per request (it was every retry, so a
|
|
212
|
+
minute offline marked every model unreliable for days).
|
|
213
|
+
- **Normal answers aren't taken for problems**: "Let me know if you want me to add tests", "I can't
|
|
214
|
+
see any errors", "I couldn't find tests, so I added some" no longer send the task back or hand it to
|
|
215
|
+
another model.
|
|
216
|
+
- **The answer after "is every part done?" is checked like any** (open plan steps, unchecked
|
|
217
|
+
changes, the review), and the same answer again isn't printed twice.
|
|
218
|
+
- **The system prompt is built once a message** (and again when another model answers), not every
|
|
219
|
+
step: a provider's cache of the conversation keeps working.
|
|
220
|
+
- **The system prompt says to call done** before the final answer (one round trip less per task);
|
|
221
|
+
once said, done stands after a send-back.
|
|
222
|
+
- **Rankings match the right version**: `gpt-5` is no longer ranked as GPT-5.1, `qwen3` as Qwen3.5.
|
|
223
|
+
- **Lessons only from real failures** (a non-zero exit), on a client of their own, and none when
|
|
224
|
+
there's nothing to learn.
|
|
225
|
+
- A skipped #1 model is said on screen; a failed review counts against the model that made the
|
|
226
|
+
changes; a helper with no known job isn't one.
|
|
227
|
+
- **Settings page**: switching a provider off reaches the running session at once; renaming one
|
|
228
|
+
keeps its helpers, tests and track record (and can't overwrite another); Automatic helpers are
|
|
229
|
+
picked again after models.dev, provider changes and deletes; a hung tool test is a fail, and a
|
|
230
|
+
model whose tool test failed gets no code or hard jobs; the setup dialog keeps only what you
|
|
231
|
+
changed; Providers' models.dev button doesn't fetch rankings or mark helpers; the Automatic
|
|
232
|
+
dialog tests what Test all tests, and doesn't reopen when none work; two HeartCodes keep each
|
|
233
|
+
other's test results; the page follows track records, rankings and tests written elsewhere.
|
|
234
|
+
- **Prices** only from the provider itself or the model's maker (never just any provider's).
|
|
235
|
+
- **Guided mode** offers the missing step first after "finish" is held.
|
|
236
|
+
- Windows (CRLF) files keep their line endings on a fuzzy edit; a provider that sends an empty first
|
|
237
|
+
chunk and then stalls is given up on in time; fewer file reads per step; the chat is saved every
|
|
238
|
+
few seconds mid-task instead of every step.
|
|
239
|
+
|
|
240
|
+
## 0.1.71 (2026-11-23)
|
|
241
|
+
|
|
242
|
+
- **Each step is one line that says how it went**: `✓ Read src/app.js · 90 lines`, `✗ Read old.js ·
|
|
243
|
+
not found`, `✓ Search "listen" · 12 matches in 4 files`, `✓ Run npm test · ok · 2s`, `✗ Run … · exit 1
|
|
244
|
+
· 2s` (its error lines under it, in red), `⊘ … · declined`. The ● spins while it runs; no more "⎿"
|
|
245
|
+
line under each step.
|
|
246
|
+
- **Steps of one kind in a row are one entry**: `✓ Read 8 files · 237 lines` with the names under it
|
|
247
|
+
(the folder said once); searches, lists and fetches the same. A failed one stands on its own line.
|
|
248
|
+
- A search's step says what it looked for, not where.
|
|
249
|
+
|
|
250
|
+
## 0.1.70 (2026-11-23)
|
|
251
|
+
|
|
252
|
+
- **The model's thinking shows in full in the conversation**, as it comes, and stays there (no more
|
|
253
|
+
two lines above the spinner; `Alt+O`, `/toggle_thinking` and `--hide-thinking` are gone).
|
|
254
|
+
- **The input box and status bar no longer vanish** after a task: readline wrote "clear to the end of
|
|
255
|
+
the screen" straight to the terminal in full screen; it writes nothing there now.
|
|
256
|
+
- **Esc while it works means stop** (press it twice); it no longer pulls queued messages back or clears
|
|
257
|
+
the box first. `↑` brings a queued message back.
|
|
258
|
+
- **Steps in words**: Read, Edit, Run, Search, Plan… instead of tool names, the model named only when
|
|
259
|
+
it changes. A command shows its last lines of output, not just "exit 0".
|
|
260
|
+
- **Less on screen**: one spinner row (time and Esc beside it; "waiting for" only after 2 seconds), a
|
|
261
|
+
one-line plan, one line per queued message, no tab bar with one tab, a one-line header (the key
|
|
262
|
+
hints only before the first message), a one-row status bar that drops items to fit a narrow window.
|
|
263
|
+
- **A line says why the model answers again** (HeartCode asked whether every part is done), and every
|
|
264
|
+
model takeover reads the same: `↻ llama takes over · qwen hit its rate limit`.
|
|
265
|
+
- **Plainer words**: "runs everything", "asks before changes", "no tools", "stopped"; no
|
|
266
|
+
"checked at the first message"; the thinking effort only when you set one. Retries say which model
|
|
267
|
+
failed and wrap instead of being cut.
|
|
268
|
+
- **No price for local models** (a local model showed another provider's price).
|
|
269
|
+
- **Commands that answer at once** show no spinner, and a one-line answer stays in the conversation.
|
|
270
|
+
- **The "/" menu** puts the commands you used last first, with short descriptions.
|
|
271
|
+
- **The notifications question** at the first start waits until a model is set up.
|
|
272
|
+
|
|
273
|
+
## 0.1.69 (2026-11-18)
|
|
274
|
+
|
|
275
|
+
- **Update model info and Test all are separate buttons again** (as in 0.1.67), instead of one
|
|
276
|
+
Check models: each runs on its own, when you want it.
|
|
277
|
+
- **Update model info marks the helpers** (no Suggest helpers button any more): from the rankings and
|
|
278
|
+
the tests, each model for what it's good at, added to the ones you picked. No test needed: a model
|
|
279
|
+
good at something by its rankings is marked; one whose test failed isn't.
|
|
280
|
+
- **Test all goes one model at a time per provider** (the providers side by side): models named
|
|
281
|
+
"auto" first, then "free", then the rest, each A to Z. Fewer "busy" refusals, and each test's time
|
|
282
|
+
is the model's own.
|
|
283
|
+
- **No *Used* setting**: helpers are always taken best-ranked first (LMArena, with the track record),
|
|
284
|
+
and the model sees your other models in that order.
|
|
285
|
+
|
|
286
|
+
## 0.1.68 (2026-11-16)
|
|
287
|
+
|
|
288
|
+
- **One button, Check models**: on *Models → List* it does what Update model info, Test all and
|
|
289
|
+
Suggest helpers did, in one go: what each model can do and costs (models.dev), its rankings
|
|
290
|
+
(LMArena), a short test of each, then helpers picked automatically from the ones that work.
|
|
291
|
+
Filtered: *Check N* tests only those shown.
|
|
292
|
+
- **The model picks a helper knowing everything**: each of your other models comes with its places
|
|
293
|
+
in the rankings ("coding #36 of 416"), how fast it answered its test, its price and its track
|
|
294
|
+
record here, besides what it can do. Rankings are read again only when they change.
|
|
295
|
+
- Every commit to HeartCode bumps the patch version (a git hook in `.githooks/`, no packages).
|
|
296
|
+
|
|
297
|
+
## 0.1.67 (2026-11-16)
|
|
298
|
+
|
|
299
|
+
- **Helpers picked by job and speed**: the model says what kind of job it hands off (ui, code, hard,
|
|
300
|
+
quick). With *Helpers: Automatic*, it goes to the fastest helper in its test that's good at that job;
|
|
301
|
+
if it can't do it, the best-ranked of the others (with the track record) takes over. With *My picks*,
|
|
302
|
+
the first one you picked for that job, in the *Used* order.
|
|
303
|
+
- **"Manual" is now "My picks"**: the helpers you switched on and what each is for; both modes
|
|
304
|
+
explained on hover.
|
|
305
|
+
|
|
306
|
+
## 0.1.66 (2026-11-16)
|
|
307
|
+
|
|
308
|
+
- **"Done" said, not guessed** (in the terminal, not `-p`): when the model changed or ran something,
|
|
309
|
+
it says it's finished with the `done` tool (what it checked, or that it waits for you) before it
|
|
310
|
+
answers, shown as a `● done` line. One that stops without saying so gets the request back: is every
|
|
311
|
+
part done and checked? No cap; it ends when it says done, answers again without doing anything, or Esc.
|
|
312
|
+
- **Notifications on this computer**: a sound (HeartCode's own heartbeat: rising when done, falling
|
|
313
|
+
when it failed, twice when it waits for you) and/or a desktop notification (macOS, Windows, Linux
|
|
314
|
+
with notify-send). Asked once at the first start; `/notifications` changes it any time; *Settings →
|
|
315
|
+
Notifications* has each event on its own and *Try it*. Off unless you choose it.
|
|
316
|
+
|
|
317
|
+
## 0.1.65 (2026-11-16)
|
|
318
|
+
|
|
319
|
+
- **Loops caught even when broken up**: a model that keeps doing the same thing (three times) with
|
|
320
|
+
other steps in between and nothing changed hands over to the next model, not only three in a row.
|
|
321
|
+
- **A stopped helper's work isn't lost**: when a helper fails or stalls, the next one is told what it
|
|
322
|
+
found, did and changed, and goes on from there instead of starting over.
|
|
323
|
+
- **HeartCode's own files are off limits**: models can't write `.heartcode/sessions`, `outputs`,
|
|
324
|
+
`worktrees` or `models.json`, and file lists don't show them.
|
|
325
|
+
- **Track record**: a guided-mode handover is counted against the model that handed over.
|
|
326
|
+
- **Logs page**: each kind shows how much space it takes, and hovering shows what its lines look like.
|
|
327
|
+
|
|
328
|
+
## 0.1.64 (2026-11-15)
|
|
329
|
+
|
|
330
|
+
- **Models added by name go to their provider, not the list**: on Providers, type one name or
|
|
331
|
+
several separated by commas; click one to put it in the list.
|
|
332
|
+
- **Custom models stay under their provider** when they're taken off the list (also all at once);
|
|
333
|
+
✕ or *Forget them* still forgets them.
|
|
334
|
+
- **`--system-prompt` / `--system-prompt-file`** (with `-p`): another program's prompt instead of
|
|
335
|
+
HeartCode's, and HeartCode's own workflow off (plan first, "not done" checks, reviews, memory); its
|
|
336
|
+
tools, permissions and model fallback stay.
|
|
337
|
+
- **`--logs <kinds>`**: a run's logs set by whoever starts it (`none`, `all`, or a list), whatever the
|
|
338
|
+
settings say.
|
|
339
|
+
- **Each model's track record**: tasks finished, handovers, reviews that said no and broken replies
|
|
340
|
+
are remembered per model (`~/.heart/records.json`). Where HeartCode picks by ranking (the next model
|
|
341
|
+
after a failure, a handover, helpers by score), a model that keeps doing well moves up and one that
|
|
342
|
+
keeps failing moves down; one that failed most of its recent work doesn't start a message while
|
|
343
|
+
another can. On by default; *Settings → Learn from each model's track record* turns it off. The
|
|
344
|
+
Models list shows each model's record on hover, and *failing* beside one that fails most.
|
|
345
|
+
- **A much shorter system prompt** (about a third): the core rules only; the fuller guidance for
|
|
346
|
+
finding the way, changing code, proving it works, research and parts on other models comes with the
|
|
347
|
+
first tool result of that kind, once per conversation. The model list names five models (the agent
|
|
348
|
+
tool's model "list" gives the rest), so hundreds of models no longer fill the prompt.
|
|
349
|
+
- **A failing test is fixed in the code it tests** (the test changes only when it's wrong, said why), and
|
|
350
|
+
tools or language servers are installed into the project, never globally, and only when the task needs them.
|
|
351
|
+
- **A continued tab no longer changes the list's #1**: reopening tabs used to put back the model each
|
|
352
|
+
tab had when it closed (the #1 of back then) as everyone's #1, and a later save wrote it into the
|
|
353
|
+
list, a second time. Now only a tab's own /select_model choice comes back, for that tab; and the
|
|
354
|
+
model list is never saved or read with a model twice.
|
|
355
|
+
- **Guided mode (models without tool calls) checks "done" too**: finishing after trying a change and
|
|
356
|
+
changing nothing, or without running the change, is sent back (then the next model); with no model
|
|
357
|
+
left, the answer says it isn't done instead of claiming it.
|
|
358
|
+
- **The review sees the page**: when HeartCode's browser check passes, a reviewer that can see images
|
|
359
|
+
gets its screenshot, to judge what's on screen against the request and the answer.
|
|
360
|
+
- **Pages are checked headless**: the model is told to use HeartCode's browser check (screenshots to
|
|
361
|
+
look at), never to open the user's browser or apps.
|
|
362
|
+
- **"Couldn't" in a condition isn't failure**: "without which the test could not pass" no longer
|
|
363
|
+
counts as the model saying it's stuck.
|
|
364
|
+
- **Save list changes #1 from any window**: a folder's /select_model choice kept a settings page opened
|
|
365
|
+
from that HeartCode from saving a new #1 (it looked saved, then came back); only a -m run keeps its
|
|
366
|
+
model off everyone's #1 now.
|
|
367
|
+
- **Models list**: the # column counts 1, 2, 3… down the page whatever the sort; when the order shown
|
|
368
|
+
isn't the one HeartCode uses, the button says *Save this order* and hovering a number shows its
|
|
369
|
+
place in the list.
|
|
370
|
+
- **Ctrl+C asks before stopping**, like Esc: the first press asks, the second stops, one more quits.
|
|
371
|
+
|
|
5
372
|
## 0.1.63 (2026-11-10)
|
|
6
373
|
|
|
7
374
|
- **Time limits set for free models out of the box**: Give up 45 s, Stalled 60 s, Tests wait 60 s
|