Repository navigation
feat(systemone): support local LM Studio and Ollama decision endpoints - #4
Merged
Merged
Conversation
overbit
marked this pull request as ready for review
October 25, 2026 08:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
Add native local System One inference to OpenCode V2's fast-JEV compaction plugin.
backend: "systemone"for LM Studio 0.4.26+, Ollama 0.35+, and compatiblePOST /v1/systemoneservers.noulretention decisions per request; split by 64 questions and a conservative 60 KiB UTF-8 JSON limit.TYPESAFE_API_KEY.tev1:0.8b.Usage
LM Studio
{ "plugins": [{ "package": "github:overbit/fast-jev-compaction-opencode", "options": { "backend": "systemone", "localModel": "YOUR_LOADED_DECISION_MODEL_ID" } }] }Ollama
{ "plugins": [{ "package": "github:overbit/fast-jev-compaction-opencode", "options": { "backend": "systemone", "localBaseUrl": "http://127.0.0.1:11434/v1", "localModel": "tev1:0.8b", "maxStateTokens": 1200, "maxRequestTokens": 1800 } }] }Verification
npm run typechecknpm test(including plugin and static site checks)npm run compileThis preserves the V2 limitation that the hook can return a deterministic summary string but not replace structured messages. No third-party dependency added.
Original design: tamaratran/fast-jev-compaction.