AIによるコミットメッセージの生成#16
Merged
Merged
Conversation
差分サマリー機能はデザインモックアップが不足しているため、 v0.10の対象外とする。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- LlmAdapterトレイトとCliAdapter実装(外部CLIプロセス呼び出し) - 6つのプリセットCLI自動検出(claude, codex, gh copilot, gemini, aider, llm) - コミットメッセージ生成プロンプトテンプレート(スタイル別・言語別) - Tauriコマンド4つ(detect_cli_adapters, generate_commit_message, get_ai_config, save_ai_config) - AppConfigにAiConfig(スタイル・言語)を追加 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- src/services/ai.ts: Tauri invokeラッパーとTypeScript型定義 - src/stores/aiStore.ts: AI状態管理(アダプタ検出、生成、設定) - src/stores/__tests__/aiStore.test.ts: ストアテスト11件 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- AiCommitModal: 生成モーダル(Format/Language選択、生成結果表示、 Use/Cancelボタン、保存済み設定の自動読み込み) - CommitPanel: AI生成ボタン(紫ロボットアイコン)を追加 - ai.css: AIボタン・モーダルのスタイル Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SettingsModal / SettingsAiTab コンポーネントを新規作成 - Modal に className prop を追加しカスタムスタイルを適用可能に - タイトルバーに設定ボタン(歯車アイコン)を追加 - LLM CLI アダプター検出状況の表示、コミットメッセージのスタイル・言語設定UIを実装 - 設定モーダル用CSS(settings.css)とセレクトボックス共通スタイルを追加 - AI設定の統合テストを追加
バックエンドにprovider_priorityフィールドとpriority対応アダプター選択関数を追加し、 フロントエンドではドラッグ&ドロップで優先順位を変更できるUIを実装した。 設定に基づき最も優先度の高い利用可能プロバイダーが自動選択される。
AiCommitModalを削除し、CommitPanel内で直接AI生成を実行するように変更。 ボタンクリックで即座に生成結果をコミットメッセージ欄に反映し、 生成中はスピナーをボタン内にインライン表示する。 不要になったモーダル関連のCSSも削除。
LLMアダプター基盤とコミットメッセージ生成の実装済み項目にチェックを付与
AiConfigにprefer_local_llmとexclude_patternsフィールドを追加し、 設定UIにPrivacyセクション(トグル・入力欄)とCLI Adaptersセクションを実装。 対応するテストとロードマップのチェックを更新。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.