Desktop: Archive session shortcut does nothing

オープン 初心者向け
#62,601 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
desktop

調査の方向性

ショートカットコマンドのカタログとセッションコマンドのハンドラーを調べ、Inbox レイアウトの右クリックによるアーカイブ操作と比較してください。この操作は session.update({ sessionID, archived: true }) を呼び出します。まず session.archive が登録されているか、永続化されたショートカット項目がすべてのレイアウトで利用できるかを確認してください。設定したショートカットでフォアグラウンドのアイドル状態のセッションをアーカイブできれば完了です。既存の割り当てと新しく割り当てたキーの両方で確認してください。

索引モデルが issue の本文から書いたものです。

説明

Description

The “Archive session” shortcut shown in Desktop settings does nothing for the foreground idle session. Assigning a different shortcut does not help. I expect the session to be archived.

Source inspection at 6a89e9f287 suggests a stale command entry: Shortcuts lists persisted catalog entries, but no session.archive handler is registered. The Inbox layout has a separate right-click Archive action calling session.update({ sessionID, archived: true }), but does not register the keyboard command either.

OpenCode version

Desktop 2.2.6

Steps to reproduce
  1. Open an existing session and wait until it is idle.
  2. In Settings → Shortcuts, find “Archive session” and note its binding.
  3. Close settings, return to the session, and press that binding. Nothing happens.
  4. Assign a different binding to “Archive session” and repeat. Nothing happens.

This is on an existing user profile. I have not checked a fresh profile; the shortcut entry may be retained from an older version. I have not interactively compared layouts.

Operating System

macOS 26.5.2 (Apple Silicon)

主要言語
TypeScript
スター
225k
フォーク
30.4k
平均マージ
4時間 16分
マージ済み PR(30日)
528

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。