Commit Graph
10 Commits
Author SHA1 Message Date
Dax ceb07a1a5c annotate: use OpenCode in WSL when the lab is on (#1586)
* annotate: send through OpenCode in WSL when the lab is on

* annotate: address review

* annotate: dropped wsl replies read as no answer
2026-11-09 08:08:57 -05:00
Dax 71a37da632 windows: use an opencode service running in wsl (labs) (#1566)
* feat(windows): labs toggle to use opencode running in wsl (#1564)

* fix(windows): bound and cache the opencode wsl lookup

* fix(windows): share and validate the opencode wsl lookup

* fix(windows): age-limit shared wsl lookups and retry workspaces
2026-11-08 22:42:29 -05:00
Kit Langton 30a0fa3750 Update docs for capability folder paths in src/ 2026-10-31 16:12:40 -07:00
Dax 154b4d402e Talk only to a running OpenCode service; quiet mic meter (#598)
* Talk only to a running OpenCode service; never spawn or probe a CLI

* wip

* wip

* Golden for OpenCode not running

* clippy

* fmt

* General's microphone meter wakes the window only while its bars show a level

* Feature map: the microphone meter rests in a quiet room
2026-10-31 12:33:36 -04:00
Dax 3434eb5f35 Rename voice-control to hex everywhere, without migrations (#293)
* Rename voice-control to hex everywhere, without migrations

The Cargo package and binary are now hex, every OS keeps its data in a
hex folder, and VOICE_CONTROL_* variables are HEX_*. Hex is a fresh
app: the macOS voice-control rename, its symlink, and the Windows and
Linux beta settings imports are gone. The Windows installer gets a new
AppId so it never takes over an old voice-control install's entry.

* Format

* Drop the Windows paste-last default only the beta import used
2026-10-28 13:08:44 -04:00
Kit Langton e7ca1d4c7d Find the OpenCode service registration behind CLI wrappers
The Studio guard appends --server to debug paths, which exits 1 with help
text, so discovery failed before reading any registration. Discovery now
also looks in OpenCode's default state directory, matching the live
server's pid and version, and treats a final 'HTTP 404 Not Found' stderr
line as a missing route even after a version-skew warning.
2026-10-23 19:20:29 -07:00
Kit Langton c5cc50be4a fix(opencode): post generation to the renamed experimental route
OpenCode moved one-shot generation to /api/experimental/generate, and the
old /api/generate answers with an empty 404 body, so Modes rewriting and
Voice Action produced nothing even once discovery succeeded. Have curl
report the HTTP status on a trailing line, post to the new route first, and
fall back to the old name only on a real 404 within the same deadline. The
catalog requests share the same status-aware helper.
2026-09-22 13:44:21 -07:00
Kit Langton d018f1a44c fix(opencode): discover the service through /api/info
OpenCode renamed its service info route again, so discovery through
/api/status and /api/health fails with HTTP 404 on current builds and
Modes fall back to the corrected transcript. Try /api/info first and keep
the older names only as exact-404 fallbacks within the same deadline.

Fixes #98
2026-09-22 13:23:03 -07:00
Kit Langton 9e9da53aa9 docs: audit guides against current behavior
Align desktop projections, processing fallback, history retention, contributor setup, Linux requirements, SDK contracts, and personal command examples with the implementation. Clarify prototype cleanup and historical validation limits without rewriting published release notes.
2026-09-01 09:56:40 -04:00
Kit Langton c5ba7d47cd fix: harden dictation and OpenCode integration
Move generation bodies and credentials off argv, match active service registrations, and align catalog IDs and model variants with the audited V2 contract.\n\nPreserve onboarding across imported settings, serialize paste settling, bound pending outputs, and fix capture, SDK, and Linux startup regressions. Add regression coverage, dependency patches, icon notices, and the V2 compatibility baseline.
2026-08-26 16:59:53 -04:00