Changeset 0.10.4 (#60)
This commit is contained in:
42
ROADMAP.md
42
ROADMAP.md
@@ -27,6 +27,8 @@ v0.10.2 Summarize & Continue (first utility role consumer)
|
||||
│
|
||||
v0.10.3 Frontend Refactor (no features, code health)
|
||||
│
|
||||
v0.10.4 Model Type Pipeline + Role Fixes
|
||||
│
|
||||
┌───────┴──────────────┐
|
||||
│ │
|
||||
v0.11.0 Extension v0.12.0 File Handling
|
||||
@@ -467,17 +469,35 @@ Vanilla JS, no modules, no build step, no function renaming.
|
||||
|
||||
See [REFACTOR-0.10.3.md](REFACTOR-0.10.3.md) for full plan.
|
||||
|
||||
- [ ] Extract `ui-format.js` — markdown, code blocks, `esc()`, helpers
|
||||
- [ ] Extract `ui-settings.js` — settings tabs, teams, providers, user prefs
|
||||
- [ ] Extract `ui-admin.js` — admin modal tabs, all admin rendering
|
||||
- [ ] Extract `tokens.js` — context tracking, token estimation
|
||||
- [ ] Extract `notes.js` — notes panel, editor, multi-select
|
||||
- [ ] Extract `chat.js` — chat ops, send, regen, edit, branch, summarize
|
||||
- [ ] Extract `settings-handlers.js` — settings save, provider CRUD, cmd palette
|
||||
- [ ] Extract `admin-handlers.js` — admin actions, presets, team management
|
||||
- [ ] Slim `app.js` to orchestrator — state, init, boot, auth, listener dispatch
|
||||
- [ ] Update `sw.js` SHELL_FILES, `index.html` script tags
|
||||
- [ ] All 159+ frontend tests pass, `node --check` on all files
|
||||
- [x] Extract `ui-format.js` — markdown, code blocks, `esc()`, helpers
|
||||
- [x] Extract `ui-settings.js` — settings tabs, teams, providers, user prefs
|
||||
- [x] Extract `ui-admin.js` — admin modal tabs, all admin rendering
|
||||
- [x] Extract `tokens.js` — context tracking, token estimation
|
||||
- [x] Extract `notes.js` — notes panel, editor, multi-select
|
||||
- [x] Extract `chat.js` — chat ops, send, regen, edit, branch, summarize
|
||||
- [x] Extract `settings-handlers.js` — settings save, provider CRUD, cmd palette
|
||||
- [x] Extract `admin-handlers.js` — admin actions, presets, team management
|
||||
- [x] Slim `app.js` to orchestrator — state, init, boot, auth, listener dispatch
|
||||
- [x] Update `sw.js` SHELL_FILES, `index.html` script tags
|
||||
- [x] All 159+ frontend tests pass, `node --check` on all files
|
||||
|
||||
---
|
||||
|
||||
## v0.10.4 — Model Type Pipeline + Role Fixes ✅
|
||||
|
||||
Provider APIs report model types (chat, embedding, image) — now captured
|
||||
end-to-end through sync → catalog → resolver → frontend. Role dropdowns
|
||||
filter models by type instead of showing everything.
|
||||
|
||||
- [x] Migration `005_model_type.sql` — `model_catalog.model_type` column
|
||||
- [x] `providers.Model.Type` — captured from provider wire response
|
||||
- [x] Venice: reads `type` field, normalizes (`text`→`chat`, `embedding`→`embedding`)
|
||||
- [x] OpenAI: wire struct extended with optional `type` for compatible APIs
|
||||
- [x] `CatalogSyncEntry.ModelType` → `CatalogEntry.ModelType` → `UserModel.ModelType`
|
||||
- [x] Frontend `model_type` mapped through `fetchModels()`
|
||||
- [x] Admin role dropdowns: filter by `model_type` matching role
|
||||
- [x] User role dropdowns: filter by `model_type` matching role
|
||||
- [x] `adminSaveRole()` reloads UI after save (was showing "Saved" without refresh)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user