feat(cli): opt-in persistence of unsent prompt draft to survive crashes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
Start by locating the CLI configuration, command registration, and input handling entry points, then review the existing tests and documentation conventions. Implement the opt-in general.saveDraftPrompt setting and /save-prompt command, with atomic persistence scoped to the current project and restoration on startup. Verify the behavior with tests covering persistence, crash or restart recovery, and the default-off setting, then update the CLI documentation.
索引モデルが issue の本文から書いたものです。
説明
What would you like to be added?
An opt-in setting, general.saveDraftPrompt (default off), and a /save-prompt command to toggle it. When on, unsent input is saved to disk and restored on the next start in the same project.
Why is this needed?
Submitted prompts are saved as they happen, but text still being typed lives only in memory. A crash, closed terminal or power cut loses it, which hurts most for long prompts.
Related: #20948 (closed) asked for the unsent buffer in input history, mainly for accidental deletion. This is complementary and narrower: crash recovery via a small file, with no change to history or key handling.
Additional context
I worked on an implementation with tests and docs: on a fork. Writes are atomic (temp file + rename).
Known limits: terminals in the same project share one draft, and turning the setting off leaves an existing draft file on disk.
Happy to open a PR if a maintainer agrees :)
- 主要言語
- TypeScript
- スター
- 109k
- フォーク
- 15k
- 平均マージ
- 1日 24分
- マージ済み PR(30日)
- 91
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-gemini/gemini-cli のほかの issue
-
npm ci fails with EALLOWREMOTE on npm 12対応中かも @landry-kapgnep が今日担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
google-gemini/gemini-cli#30525 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
hooks migrate preserves regex SessionStart alternatives that native exact trigger matching never runs対応中かも @ayam04 が今日担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google-gemini/gemini-cli#30514 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
CLI reference documents unsupported bulk skills enable and disable commands対応中かも @jadelike-wine が 1 日前に担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
google-gemini/gemini-cli#30505 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false対応中かも @bitwizard25 が 2 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google-gemini/gemini-cli#30482 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(extensions): allowUnsafeConfigPaths missing in GIT_EXTENSION_OPTIONS causes `extensions update` failure対応中かも @kccrcodes が 4 日前に担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
google-gemini/gemini-cli#30416 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
google-gemini/gemini-cli の issue をすべて見る
似ている issue
-
enhancement from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nightly-labs/openbot#19162 ·
メンテナーはふだん 1 日以内に返信
-
triage:in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Cotal-AI/Cotal#11229 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
メンテナーはふだん 1 日以内に返信
-
Suggest a wallet: WalletChan対応中かも @apoorvlathey が今日担当しました。 オープンawaiting changes needs triage 📥
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ethereum/ethereum-org-website#20000 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信