Skip to content

Releases

v0.1.10

Choose a tag to compare

@Alan468767 Alan468767 released this 10 Nov 15:41

Documentation fix for the npm listing.

The 0.1.9 tarball still told readers the package was not on npm. This release leads with opencode plugin add opencode-prompt-rail and keeps the clone as the fallback for builds where npm's git preparation fails.

v0.1.9

Choose a tag to compare

@Alan468767 Alan468767 released this 10 Nov 14:50

Install reliability.

Changed

  • Removed the prepack build. dist/ is committed and CI verifies it, so packing no longer needs devDependencies.
  • README leads with the clone-and-path install.

Known issue

opencode plugin add github:Alan468767/opencode-prompt-rail runs npm's git preparation, which fails with git dep preparation failed on some builds. Use a clone:

git clone https://github.com/Alan468767/opencode-prompt-rail.git

and add the directory to the plugins array of your global opencode.json.

v0.1.8

Choose a tag to compare

@Alan468767 Alan468767 released this 10 Nov 14:06

Fixes the plugin installer rejecting the package.

Fixed

  • Exports the server part as ./server in addition to .. The installer only recognises exports["./server"], exports["./tui"], a main entry, or oc-themes, so it failed with "does not expose plugin entrypoints".
  • README install steps no longer rely on opencode plugin add <name> --global: older builds have no add subcommand, and the package is not on npm yet.

Install

opencode plugin add github:Alan468767/opencode-prompt-rail

On older builds:

opencode plugin github:Alan468767/opencode-prompt-rail --global

If an earlier attempt left a cache behind, remove ~/.cache/opencode/packages/github:Alan468767/opencode-prompt-rail first.

v0.1.7

Choose a tag to compare

@Alan468767 Alan468767 released this 10 Nov 13:44

First public release.

Install

opencode plugin add github:Alan468767/opencode-prompt-rail --global

Added

  • A limit plugin option to set how many prompts the rail keeps (default 10, range 1-50).
  • Keyboard access for the rail: each line is focusable, opens its preview on focus, and copies on Enter or Space.
  • A visible focus ring on rail lines.

Fixed

  • The rail briefly showed the previous session's prompts after switching sessions.
  • A failed history request was silently ignored; it now logs a warning.

Changed

  • Published under the MIT license.
  • Package metadata, a prepack build, and a committed lockfile.
  • README rewritten for users who are not the author.