Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Disconnect and Toggle Utilities for opencode TUI

说明与用途

opencode-tui-utils 插件为 opencode TUI 添加了 /disconnect、/lsp-toggle、/websearch-toggle 和 /tool-status 命令,简化了提供商管理和设置,无需手动编辑文件。

问题

The opencode TUI lacks a native command to remove a single authentication provider without re-authenticating all providers or manually editing the auth.json file, which risks syntax errors.

结果

A lightweight plugin was created to add /disconnect, /lsp-toggle, /websearch-toggle, and /tool-status commands to opencode, improving workflow efficiency and reducing manual configuration errors.

工作流

  • Install the plugin via npm: opencode plugin opencode-tui-utils
  • Restart opencode to load the plugin
  • Use /disconnect in the TUI to select and remove a specific provider
  • Use /lsp-toggle or /websearch-toggle to enable/disable features
  • Use /tool-status to view currently enabled tools

证据

When you want to remove a single provider ... opencode doesn't ship a clean way to do it.

来源

Token values are never printed. Only provider names and auth types are shown

来源

  • 记录日期: 2026-09-05T13:59:00.841Z