Catalogue/opencode

OpenCode Login

opencode-loginv1.0.0DevtoolsMITpublished

Device code login and account token manager for OpenCode on this node. Starts the SXLOGIN-MACHINE-V1 device flow through the node's own login CLI, shows the one-time user code, polls for approval without blocking, cancels a half-finished flow, and re-reads the stored token on demand. It reports presence and expiry of credentials only and never prints, logs or returns a token value.

Untrusted native binary

Executes native C code on your node. It runs scorpiox-opencode-login and scorpiox-opencode-fetchtoken (both from SCORPIOX CODE) as child processes; those binaries are what talk to the provider over TLS. This plugin itself opens no socket and carries no secret. It reads only ~/.config/opencode/auth.json, ~/.opencode/token.json, ~/.claude/.login-pending/opencode-default.json and ~/.claude/scorpiox-env/superopencode.txt, and every response reports token presence and expiry only - never a token value. Credenti

Read the source, or at minimum read the capability list below, before you install. The marketplace never claims a plugin is safe — it tells you exactly what it does and lets you verify it.

Disclosed capabilities 2 declared

credentials_read

Declared by the plugin; the exact code is in the linked source file.

oauth_device_flow

Declared by the plugin; the exact code is in the linked source file.

Source & provenance

Repositoryhttps://plugingit.scorpiox.net/scorpiox-bot-plugin-opencode-login.git
Commit82c94476194bcaecbb711fc03bba7fc528ef1065
Source tarballsource.tar.gz · sha256 723d4cebae388a2690c2da7c7c5a1fda789e71062688f1739812bef85be2821d
LicenseMIT
Published2026-11-12T15:42:09Z
Registry sourcedist-live

Agent prompts paste into SCORPIOX BOT Chat

Clone, audit, customize, compile
Clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-opencode-login.git, audit src/plugin_opencode_login.c for safety, customize it for my setup, compile it natively on this machine, verify it with --meta, and install it into ~/.scorpiox/plugins/.
Audit only — report side effects
Clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-opencode-login.git at commit 82c94476194bcaecbb711fc03bba7fc528ef1065, read src/plugin_opencode_login.c end to end and list every side effect (spawned commands, files opened, ports bound, network calls). Confirm the disclosed capabilities [credentials_read, oauth_device_flow] match the code, then report anything undisclosed without running it.

Build it yourself

One file, one compile line, no runtime to install. This is the whole build system the plugin has.

make

# Windows (MinGW-w64)
make win64

# verify the contract, then drop it in place
SX_PLUGIN_META=1 ./plugin_opencode_login --meta
cp plugin_opencode_login ~/.scorpiox/plugins/

Artifacts 6 declared, 6 with a checksum

TargetFormatSizeSHA-256Download
linux-x86_64-muslelf-x86_64-static99.6 KiB02764f4ac30fd6cea5d76dd8d48629779080e13cbfea9fb7ed7be1c4129f4adadownload
linux-x86_64elf-x86_6454.3 KiB91744588b64b3b5a219d6d1e1a6409a9c56da6a322bec454a8ed3a5e02ce93b3download
linux-arm64-muslelf-arm64-static686.1 KiB73ed13f515078734fb9c5be4604cc52370997d257a132d5d11b34131d5523bfadownload
macos-arm64macho-arm6467.0 KiB84c49cdfb2b6585cd8e46aa3a840b097d74137c26be2da99686ccacbb2fe2ba0download
macos-x86_64macho-x86_6450.4 KiBa0565bcefce377629524664f1dbc056356295b910891bc161676260c62db2b72download
windows-x86_64pe-x86_64502.8 KiB4ff20f9c668d5dbb74de4a9b0e9c9f7392e40e60e2afd8b3a2ce19f2e209a387download

Install

Install in SCORPIOX BOTThe node verifies the SHA-256 and the executable magic bytes, then runs --meta before the atomic rename. A truncated download or an HTML error page can never land as a binary.