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

Disconnect and Toggle Utilities for opencode TUI

Описание и применение

Плагин opencode-tui-utils добавляет команды /disconnect, /lsp-toggle, /websearch-toggle и /tool-status в TUI opencode, упрощая управление провайдерами и настройками без ручного редактирования файлов.

Задача

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