Skip to content

v0.2.0

Latest

Choose a tag to compare

@afif-reap afif-reap released this 15 Sep 05:23

Copy the current OpenCode V2 session ID with /session-id or /id. Both commands show a native toast after the clipboard write completes.

  • Uses the OpenCode 2.0.3 plugin API and OpenTUI clipboard service.
  • Adds success, terminal-delivery, and error feedback.
  • Replaces the V1 exit-time printout with the TUI copy command.

Install by adding op-session-id@0.2.0 to plugins in opencode.jsonc.

Verification: typecheck, 10 tests, and both commands exercised in a real TUI with clipboard readback.