Repository navigation
Releases
v1.0.4
What's Changed
- ci: test against latest OpenCode on push/PR and a weekly schedule by @kipyin in #22
- ci: drive OpenCode's real bash dispatcher, not only self-called hooks by @kipyin in #23
- chore: delete dead leftovers after TUI diagnostics rewrite by @kipyin in #25
- fix: record Ask-allow as Ask instead of GenericWrapper by @kipyin in #26
- fix: keep /hypa last rewrite after tool.execute.after by @kipyin in #24
- docs: fix plugin tuple example and split-entry spec by @kipyin in #27
- chore: drop leftover @OpenTui direct deps after JSX-free TUI by @kipyin in #28
- chore: trim real-shell smoke to /shell canary and dummy rewrite by @kipyin in #29
- test: lock hypa resolve order and skip a repeat Windows native miss by @kipyin in #30
- chore: wire Cloud Agent house-git identity by @kipyin in #31
- chore: trim narrating comments and unused server type re-exports by @kipyin in #32
- chore: pin @types/node to 24.13.3 by @kipyin in #33
- chore: share one config field resolver by @kipyin in #34
- chore: collapse duplicate PATH candidate checks by @kipyin in #35
- chore: share one annotation prepend helper by @kipyin in #36
- chore: derive option and source types from HypaConfig by @kipyin in #37
- chore: share package-relative hypa binary lookup by @kipyin in #38
- ci: add weekly Dependabot for npm and GitHub Actions by @kipyin in #39
- release: bump to 1.0.4 by @kipyin in #40
Full Changelog: v1.0.3...v1.0.4
v1.0.3
v1.0.2
Fixed
- Add
/** @jsxImportSource @opentui/solid */to the TUI entry so preserved JSX resolves under OpenCode/Bun.
Also includes 1.0.1: separate ./server and ./tui package exports so /hypa can register.
Upgrade: opencode plugin opencode-hypa@1.0.2 -g -f
v1.0.1
Fixed
- Split server and TUI into separate package entrypoints (
exports["./server"],exports["./tui"]) so OpenCode's TUI loader can register/hypa. - Stop importing a non-existent
tui.jswhile the build emitstui.jsx.
Upgrade: opencode plugin opencode-hypa@1.0.1 -g -f
v1.0.0
What's new
First stable release of the OpenCode Hypa hardwire.
Added
- OpenCode server plugin that rewrites
bash/shelltool calls throughhypa rewrite --json. - OpenCode-native configuration via
PluginOptionsandOPENCODE_HYPA_*environment variables. /hypaTUI diagnostics command showing resolved binary, Hypa version, effective config, and last rewrite.- Tool-result annotation when Hypa rewrites a command so the LLM sees the original input.
- Fail-open behavior on rewrite errors and timeouts; deny/ask policies for Hypa outcomes.
Parity bar vs @hypabolic/pi-hypa delivered in #21.
v0.1.2
Fixed
-
Annotate tool results when Hypa rewrites a bash command.
tool.execute.beforemutatesoutput.args.commandsilently, so OpenCode would hand the LLM a tool result whose title shows the rewritten command (hypa git log …) with no marker that a plugin changed it. The LLM then rationalized the prefix as its own typo — e.g. apologizing for an "accidentally prefixed" command that was actually injected by Hypa.This release registers a
tool.execute.afterhook that stashes rewrites keyed bycallIDand annotates the tool result with a one-line note:[hypa Rewritten] git log --oneline -10 => hypa git log --oneline -10The note is prepended to both
output.titleandoutput.output, and the full record is written tooutput.metadata.hypaRewrite. Non-rewritten outcomes (passthrough / skipped / error) leave the tool result untouched.Workaround for anomalyco/opencode#37963 (
tool.execute.beforearg mutation is invisible to the LLM).
v0.1.1
Fix
OpenCode can now load opencode-hypa.
The package entry no longer re-exports helper functions (OpenCode's legacy loader treated them as plugin entrypoints and crashed on startup). Default export is now the v1 { id, server } PluginModule shape.
Verify
After install, a bash git status should execute as hypa git status.
opencode plugin opencode-hypa --global --force