fix: ship capability packs and starter skills, report the usable model (UF-066, UF-067)
The SDK reads pack manifests and starter skills next to its own module, which in the bundle is service.js, and no build step copied them there: installed builds showed no packs and no starter skills. build-sidecar now copies both folders next to service.js and Tauri bundles them (UF-066). GET /api/agent/status returned the configured model even when it had no key, so the status bar named Claude while chats ran on the local model. It now resolves the model the way the chat route does (UF-067).
This commit is contained in:
@@ -94,6 +94,8 @@ Baseline: commit `b20b138` of the main Waggle repository.
|
||||
| UF-063 | `/config` and `/preferences` never run `/settings` | Fixed | Agent, commands |
|
||||
| UF-064 | Pins and documents ignore the configured data directory | Fixed | Sidecar |
|
||||
| UF-065 | The Windows uninstaller names a "Data & Privacy" settings page that does not exist | Fixed | Desktop, Windows installer |
|
||||
| UF-066 | Installed builds have no capability packs and no starter skills | Fixed | Sidecar bundle, SDK |
|
||||
| UF-067 | The status bar names a default model that chats cannot use | Fixed | Sidecar, Web UI |
|
||||
|
||||
## Entries
|
||||
|
||||
@@ -655,3 +657,21 @@ Entries UF-010 to UF-019 come from the UI audit `anti-slop/audit-001-2026-10-14.
|
||||
- Cause: the copy predates the current Settings layout; the erase action is the "Erase all my data" button on Settings → General.
|
||||
- What we did: the message now names Settings > General > Erase all my data.
|
||||
- Recommendation: same change in the main project.
|
||||
|
||||
### UF-066. Installed builds have no capability packs and no starter skills
|
||||
- Status: Fixed
|
||||
- Found: 2026-11-01
|
||||
- Where: at commit `b20b138`, `packages/sdk/src/capability-packs/index.ts` (`getCapabilityPacksDir`), `packages/sdk/src/starter-skills/index.ts` (`getStarterSkillsDir`), `scripts/build-sidecar.mjs`
|
||||
- Symptom: in the packaged desktop app, Skills Hub → Packs says "No catalog packs found" and no starter skill can be installed; running from source shows five packs and 18 starter skills.
|
||||
- Cause: the SDK reads the pack manifests (`*.json`) and starter skills (`*.md`) from disk next to its own module. esbuild inlines the SDK into `service.js`, so that directory is the resources folder, and no build step copies the files there.
|
||||
- What we did: `build-sidecar.mjs` copies both folders next to `service.js`, the SDK also looks in `<module dir>/capability-packs` and `<module dir>/starter-skills`, and `tauri.conf.json` bundles the two folders.
|
||||
- Recommendation: same change in the main project, or embed the manifests and skills in the bundle as JSON imports.
|
||||
|
||||
### UF-067. The status bar names a default model that chats cannot use
|
||||
- Status: Fixed
|
||||
- Found: 2026-11-01
|
||||
- Where: at commit `b20b138`, `packages/server/src/local/routes/agent.ts` (`GET /api/agent/status`)
|
||||
- Symptom: with no provider key and a local model installed, the status bar says "Default model: Claude Sonnet 4.6" after every restart, while chats answer with the local model.
|
||||
- Cause: the chat route resolves the configured model to a usable one (`resolveUsableModel`), but the status endpoint returns the configured model as is.
|
||||
- What we did: the status endpoint resolves the model the same way, without changing the configured one. A test covers it.
|
||||
- Recommendation: same change in the main project.
|
||||
|
||||
Reference in New Issue
Block a user