heartcode 0.1.36 → 0.1.37
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 +18 -0
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/settings.html +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of HeartCode, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.1.37 (2026-11-02)
|
|
6
|
+
|
|
7
|
+
- Settings page, Your models: filters (search, provider, test result with counts, context, tools,
|
|
8
|
+
thinking, images, free) that combine and are kept. Filtered, **Use these N** makes the models shown
|
|
9
|
+
the only ones HeartCode uses, in the order shown (asked first; the others stay under Providers);
|
|
10
|
+
Test N shown tests just them; dragging works while filtered. The page laid out in full-width rows:
|
|
11
|
+
the list's settings in three cells, filters on one line, what's shown and the list's actions on
|
|
12
|
+
one line, the column names (or the selection's actions) sticky above aligned rows.
|
|
13
|
+
- The whole settings page with icons and colors: each part's icon on its own color in the sidebar
|
|
14
|
+
and on its title, buttons with icons colored by what they do, card titles with icons, less room
|
|
15
|
+
around pages and cards, General's cards packed in two columns, rows' actions as icon buttons,
|
|
16
|
+
Providers one line a model.
|
|
17
|
+
- Saving the list builds the page's state once, not three times (the server skips its own writes);
|
|
18
|
+
a sort or filter changed on the page isn't undone by an older state.
|
|
19
|
+
- Contexts with two decimals (1.05M, not rounded up to 1.1M), on the page and in the status bar;
|
|
20
|
+
the exact count on hover. Checked against models.dev for every model: the data is right.
|
|
21
|
+
- Logs are kept 3 days by default instead of 30 (Advanced → Logs changes it).
|
|
22
|
+
|
|
5
23
|
## 0.1.36 (2026-11-02)
|
|
6
24
|
|
|
7
25
|
- Voice: Space in an empty box (or /voice) starts listening at once, no second key; what you say
|
package/README.md
CHANGED
|
@@ -133,9 +133,9 @@ On **Models → Your list**:
|
|
|
133
133
|
Each test waits up to 10 seconds; the **Timeout** box next to it changes that.
|
|
134
134
|
4. **Filter them** (optional): by name, provider, test result (works, doesn't, not tested, or one
|
|
135
135
|
error like 402), context, tools, thinking, images or free. **Test all** then tests only the ones
|
|
136
|
-
shown
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
shown, and **Use these N** makes them the models HeartCode uses, in the order you see (the others
|
|
137
|
+
stay under Providers). Filter to the working ones, sort by Works?, Use these: HeartCode uses your
|
|
138
|
+
working models, fastest first.
|
|
139
139
|
|
|
140
140
|
If a model says *not found* in models.dev, **Retry** looks it up again, or **Set up** tells
|
|
141
141
|
HeartCode what it can do.
|
package/package.json
CHANGED
package/src/settings.html
CHANGED
|
@@ -2402,10 +2402,10 @@ function drawMine(s) {
|
|
|
2402
2402
|
slots.forEach((k, m) => (all[k] = list[m]))
|
|
2403
2403
|
return keep(all, true)
|
|
2404
2404
|
}
|
|
2405
|
-
// Save list:
|
|
2406
|
-
|
|
2407
|
-
const
|
|
2408
|
-
if (!confirm(`
|
|
2405
|
+
// Save list: the models HeartCode uses become the ones shown, in the order shown. Filtered: only
|
|
2406
|
+
// those (asked first; the others stay under Providers, to add back any time)
|
|
2407
|
+
const saveList = () => {
|
|
2408
|
+
if (filtered && !confirm(`HeartCode will use only these ${n(view.length)}, in this order.\n\nThe other ${n(order.length - view.length)} stay under Providers: add any back whenever you like.`)) return
|
|
2409
2409
|
return keep(view)
|
|
2410
2410
|
}
|
|
2411
2411
|
const removePicked = () => {
|
|
@@ -2451,8 +2451,7 @@ function drawMine(s) {
|
|
|
2451
2451
|
filtering() || SORT.length ? h('button', { className: 'small ghost', textContent: 'Clear all', title: 'every filter and the sort off: your whole list, in your order', onclick: clearView }) : null),
|
|
2452
2452
|
h('div', { className: 'mt-do' },
|
|
2453
2453
|
h('button', { className: 'small', textContent: filtered ? `Test ${n(shown.length)} shown` : 'Test all', disabled: testingAll || !shown.length, title: `send ${filtered ? 'the models shown' : 'each model'} a short message to see which really answer`, onclick: () => tryAll(filtered ? shown : order) }),
|
|
2454
|
-
|
|
2455
|
-
h('button', { className: 'small primary', textContent: 'Save list', disabled: !view.length || order.length < 2, title: filtered ? `save these ${n(view.length)} first, in the order shown; the other ${n(order.length - view.length)} after them, as they are` : 'save the list in the order shown (#1 first)', onclick: saveList })))
|
|
2454
|
+
h('button', { className: 'small primary', textContent: filtered ? `Use these ${n(view.length)}` : 'Save list', disabled: !view.length || order.length < 2, title: filtered ? `HeartCode uses only these ${n(view.length)}, in the order shown (the others stay under Providers)` : 'save the list in the order shown (#1 first)', onclick: saveList })))
|
|
2456
2455
|
|
|
2457
2456
|
// --- the table ---
|
|
2458
2457
|
const all = view.length > 0 && view.every((t) => PICKED.has(keyOf(t)))
|