-
Notifications
You must be signed in to change notification settings - Fork 0
スラッシュコマンド実行サポートの追加 #18
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestsdkSDK API integration and utilizationSDK API integration and utilization
Description
説明
SDK の session.command() API を使い、TUI のスラッシュコマンドを GUI で利用可能にする。
背景
session.command()はコマンドを OpenCode セッションに送信する- TUI は複数のスラッシュコマンドを提供:
/init,/share,/undo,/redo,/models,/connect等 - 現在、GUI にコマンド入力メカニズムがない
- 一部のコマンドは他の提案と重複するが(init, share, undo/redo)、これは統一的なインターフェースを提供する
スコープ
opencode-client.tsにexecuteCommand()メソッドを追加- 入力エリアでの
/プレフィクス検出によるコマンドモードのトリガー - オートコンプリートポップアップで利用可能なコマンドを表示
- コマンドの実行と結果表示
- 一般的なコマンドを適切な専用 UI アクションにマッピング
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsdkSDK API integration and utilizationSDK API integration and utilization