fix(less-computer): restore OpenCode model discovery and execution#840
Draft
appergb wants to merge 2 commits into
Draft
fix(less-computer): restore OpenCode model discovery and execution#840appergb wants to merge 2 commits into
appergb wants to merge 2 commits into
Conversation
Contributor
PR Reviewer Guide 🔍(Review updated until commit 3fbf64e)Here are some key observations to aid the review process:
|
Contributor
|
Persistent review updated to latest commit 3fbf64e |
H-Chris233
marked this pull request as draft
July 21, 2026 14:07
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.
User description
Goal
Restore the OpenCode backend in Less Computer for the
1.3.15-Beta.3test release:Dependency
Depends on #839 (
6b33ba2), which updates release/updater ownership after the repository transfer and prepares Beta.2. Once #839 lands inbeta, this PR naturally reduces to the single OpenCode fix commit.Compatibility
beta; no stable-branch merge or release tag is included.v1.17.15.sonnetdefault.1.3.15-Beta.3.Verification
npm test— passed (24 frontend/contract tests)cargo test --manifest-path src-tauri/Cargo.toml coding_agent::— passed (43 tests)cargo check --manifest-path src-tauri/Cargo.toml --bin openless— passedINSTALL=0 ./scripts/build-mac.sh— passed; app and DMG signature checks passedv1.3.15-Beta.3v1.17.15opencode/hy3-freeOPENLESS_OPENCODE_APP_OKArtifact:
src-tauri/target/release/bundle/dmg/OpenLess_1.3.15-Beta.3_aarch64.dmgSHA-256:
58d99962917d9fe4d2b8daa5c6645cd6ae8a65a84e1f6e313a8d41c86e4cab8dIssue
User-reported beta regression; no linked GitHub issue.
PR Type
Enhancement, Bug fix, Tests
Description
Restore OpenCode model discovery and automatic refresh in settings
Add model selection UI with localized labels for OpenCode
Switch OpenCode permission flag to
--autoand add--continuefor sessionsProvide text-only entry point for Less Computer without microphone permissions
Fix AppKit main thread blocking during Keychain, microphone enumeration, and WebKit IPC
Diagram Walkthrough
File Walkthrough
11 files
Add provider-specific model resolverAdd list-opencode-models Tauri commandImplement model discovery, permission flag, session continueAdd less_computer_window_open commandUse provider-specific model resolverAdd continue-to-settings buttonAdd OpenCode and continue button stringsAdd OpenCode and continue button stringsAdd codingAgentListOpencodeModels IPC wrapperAdd lessComputerWindowOpen IPC wrapperOpenCode model selection and refresh UI4 files
Make credential commands async with spawn_blockingMake microphone enumeration asyncAdd less_computer_window_open and fix text-submit spawnAsync microphone enumeration, window show fix2 files
Add contract test discoveryNew contract test for OpenCode integration8 files