@tokenwarden/opencode
v1.1.0
Published
TokenWarden for opencode local-first context optimization and cost reporting plugin.
Maintainers
Readme
@tokenwarden/opencode
TokenWarden for opencode is a local-first context optimization and cost reporting plugin.
Works on macOS and Linux; Windows support is currently beta.
See how it works and benchmarks.
Install
# Global install for your opencode config:
opencode plugin @tokenwarden/opencode -g -f
# Local install for the current project:
opencode plugin @tokenwarden/opencode -fRun the local command from the project directory you want TokenWarden enabled in. Use the global command to enable it from your global opencode config. Restart opencode after installing.
Compact Answers
TokenWarden can guide opencode toward compact development answers that focus on status, changed files, verification commands, real risks, and blockers. This reduces conversational filler while preserving the exact paths, commands, errors, and test results that matter for the work.
TUI Commands
Open the OpenCode command palette and run:
TokenWarden: Report: show observed savings from local usage data.TokenWarden: Status: show status in the opencode TUI.TokenWarden: Version: show the installed TokenWarden package version.TokenWarden: Account: open your hosted TokenWarden account page.TokenWarden: Connect: connect this machine to a hosted account.TokenWarden: Disconnect: remove the local license and clear account connection state.
CLI
tokenwarden report
tokenwarden status
tokenwarden version
tokenwarden account
tokenwarden connect --email [email protected]
tokenwarden disconnectSee the website readme page for product and setup notes.
