Skip to content

Releases

v1.0.4

Choose a tag to compare

@kipyin kipyin released this 25 Sep 14:12
6d73f11

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

Choose a tag to compare

@kipyin kipyin released this 22 Jul 02:05

Fixed

  • Ship a JSX-free exports["./tui"] as dist/tui.js. OpenCode skips JSX transform under node_modules, so the previous dist/tui.jsx failed to import and /hypa never registered.

Upgrade: opencode plugin opencode-hypa@1.0.3 -g -f

v1.0.2

Choose a tag to compare

@kipyin kipyin released this 22 Jul 01:56

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

Choose a tag to compare

@kipyin kipyin released this 22 Jul 01:54

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.js while the build emits tui.jsx.

Upgrade: opencode plugin opencode-hypa@1.0.1 -g -f

v1.0.0

Choose a tag to compare

@kipyin kipyin released this 22 Jul 01:44

What's new

First stable release of the OpenCode Hypa hardwire.

Added

  • OpenCode server plugin that rewrites bash / shell tool calls through hypa rewrite --json.
  • OpenCode-native configuration via PluginOptions and OPENCODE_HYPA_* environment variables.
  • /hypa TUI 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

Choose a tag to compare

@kipyin kipyin released this 20 Jul 17:14

Fixed

  • Annotate tool results when Hypa rewrites a bash command. tool.execute.before mutates output.args.command silently, 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.after hook that stashes rewrites keyed by callID and annotates the tool result with a one-line note:

    [hypa Rewritten] git log --oneline -10 => hypa git log --oneline -10
    

    The note is prepended to both output.title and output.output, and the full record is written to output.metadata.hypaRewrite. Non-rewritten outcomes (passthrough / skipped / error) leave the tool result untouched.

    Workaround for anomalyco/opencode#37963 (tool.execute.before arg mutation is invisible to the LLM).

v0.1.1

Choose a tag to compare

@kipyin kipyin released this 20 Jul 16:11
f8fd33b

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