Repository navigation
feat: v0.8.0 consumer API, desktop contract validation and release version - #76
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.8.0 consumer API: typed model operations that explain every rejection, decision and multimodal-embedding capabilities, served-model discovery, and a desktop contract validated end to end from the backend's declaration. It also merges the previously local
fix/main-test-validationwork (download recovery, deletion and the installed-file checksum policy) and applies the Dependabot updates from #74 and #75.Sets the source version to
0.8.0(manifests, workspace lock entries, 0.8.0 attribution). No tag or release is created; the pre-tag release QA in RELEASING.md follows the merge.HTTP API (
/v1/model-operations,/v1/capabilities)messagenaming the field, limit, model or unavailable reason. The caller'srequest_idis echoed whenever it can be read, and the HTTP status matches the error code. Provider failure reasons are forwarded with credential-shaped text redacted.capability,semantic_taskandoptionsare optional selectors, and every request accepted before is still accepted.GET /v1/served-modelslists each model and profile once, with capabilities and context size./v1/modelsno longer repeats IDs.max_tokensfollows the served context, and ONNX batch limits apply only to ONNX. Image decode-safety limits stay.decisioncapability: llama.cpp decision models (Kev, OpenJev) through/v1/systemone, offered only when llama.cpp itself reports the model as a decision model.multimodal_embeddingcapability: image and mixed text/image items for projector-backed embedders (EmbeddingGemma 2).model_task_mismatch.Desktop
onError, and the view reloads its RPC snapshot instead of silently dropping the update. Rejections name the failed field and rule, never a field's value.Merged from
fix/main-test-validationDownload recovery, deletion during unrelated downloads, and partial preservation on resume. Also the checksum policy: supplied hashes are verified once at acquisition, and installed runtimes are not rehashed.
38ec86f9's installed-byte rehash for audio is backed out to follow that policy, and20160752updates the release test that still required the rehash.Serving
Native QA fixes
+cpusuffix.Dependencies
Electron 43.8.1, Vite 6.4.5, undici 6.29.1/7.30.1, zip 2.6.1, rustls 0.23.46 and rand 0.10, at the exact versions proposed in #74 and #75.
rand0.10 renames the range helpers toRngExt; the two imports are updated, since #74 did not compile. Both 0.8.0-rc.1 attribution sets are regenerated.Verification
pumas_rustler): 3,167 tests pass, and fmt and clippy (all features) are clean.owned_audio_route_refuses_unsupported_requests_and_stale_selection_without_replaycan exceed its fixed 30 s budget when the whole workspace runs on a loaded machine. It passes on its own and in a fullpumas-rpcrun (429/429).gemma-embedding2architecture; b11454 is the first published build that can, and the release notes now say so.numpyanduvicorn.Consumers
Matching branches named
feat/pumas-v080-apiexist in phased-memory, Tuldok, Lanternwake and Pumas-Playground. They read responses tolerantly, use served-model discovery, and show error messages.Closes #74, closes #75.
🤖 Generated with Claude Code