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:
shumeiko.it
2026-11-01 11:15:37 +01:00
parent 8e528b3467
commit bf74f02420
9 changed files with 102 additions and 15 deletions

3
.gitignore vendored
View File

@@ -63,6 +63,9 @@ scripts/.cache/
app/src-tauri/resources/node
app/src-tauri/resources/node.exe
app/src-tauri/resources/native/
# Copied from packages/sdk/src by scripts/build-sidecar.mjs
app/src-tauri/resources/capability-packs/
app/src-tauri/resources/starter-skills/
# D12: the bundled sidecar is generated by scripts/build-sidecar.mjs on every
# build path (npm tauri:build*, CI, and the tauri.conf.json beforeBuildCommand
# hook). A committed copy goes stale silently — a binary shipping an old server