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.
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.
Declared by the plugin; the exact code is in the linked source file.
Declared by the plugin; the exact code is in the linked source file.
| Repository | https://plugingit.scorpiox.net/scorpiox-bot-plugin-opencode-login.git |
|---|---|
| Commit | 82c94476194bcaecbb711fc03bba7fc528ef1065 |
| Source tarball | source.tar.gz · sha256 723d4cebae388a2690c2da7c7c5a1fda789e71062688f1739812bef85be2821d |
| License | MIT |
| Published | 2026-11-12T15:42:09Z |
| Registry source | dist-live |
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/.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.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/| Target | Format | Size | SHA-256 | Download |
|---|---|---|---|---|
| linux-x86_64-musl | elf-x86_64-static | 99.6 KiB | 02764f4ac30fd6cea5d76dd8d48629779080e13cbfea9fb7ed7be1c4129f4ada | download |
| linux-x86_64 | elf-x86_64 | 54.3 KiB | 91744588b64b3b5a219d6d1e1a6409a9c56da6a322bec454a8ed3a5e02ce93b3 | download |
| linux-arm64-musl | elf-arm64-static | 686.1 KiB | 73ed13f515078734fb9c5be4604cc52370997d257a132d5d11b34131d5523bfa | download |
| macos-arm64 | macho-arm64 | 67.0 KiB | 84c49cdfb2b6585cd8e46aa3a840b097d74137c26be2da99686ccacbb2fe2ba0 | download |
| macos-x86_64 | macho-x86_64 | 50.4 KiB | a0565bcefce377629524664f1dbc056356295b910891bc161676260c62db2b72 | download |
| windows-x86_64 | pe-x86_64 | 502.8 KiB | 4ff20f9c668d5dbb74de4a9b0e9c9f7392e40e60e2afd8b3a2ce19f2e209a387 | download |