Forge
csharpdeeb25a2
1using System.Collections.Immutable;
2
3namespace CascadeIDE.Services;
4
5/// <summary>Палитра: keyboard-first команды чата (выбор, thinking).</summary>
6public static partial class IdeCommandRegistry
7{
8 private static void RegisterChatPalette(ImmutableArray<IdeCommandRegistryEntry>.Builder b)
9 {
10 AddPalette(b, "intercom_attach_selection", IdeCommands.IntercomAttachSelection, "Intercom: прикрепить выделение", "Intercom");
11 AddPalette(b, "intercom_attach_scope", IdeCommands.IntercomAttachScope, "Intercom: прикрепить scope @ caret", "Intercom");
12 AddPalette(b, "intercom_attach_diagnostic", IdeCommands.IntercomAttachDiagnostic, "Intercom: прикрепить диагностику @ caret", "Intercom");
13 AddPalette(b, "chat_select_prev_message", IdeCommands.ChatSelectPrevMessage, "Чат: выбрать предыдущее сообщение", "Чат");
14 AddPalette(b, "chat_select_next_message", IdeCommands.ChatSelectNextMessage, "Чат: выбрать следующее сообщение", "Чат");
15 AddPalette(b, "chat_select_prev_thread", IdeCommands.ChatSelectPrevThread, "Чат: выбрать предыдущую тему", "Чат");
16 AddPalette(b, "chat_select_next_thread", IdeCommands.ChatSelectNextThread, "Чат: выбрать следующую тему", "Чат");
17 AddPalette(b, "chat_open_selected_thread", IdeCommands.ChatOpenSelectedThread, "Чат: открыть detail выбранной темы", "Чат");
18 AddPalette(b, "chat_show_thread_overview", IdeCommands.ChatShowThreadOverview, "Чат: вернуться к overview тем", "Чат");
19 AddPalette(b, "chat_toggle_product_spine_in_agent_context", IdeCommands.ChatToggleProductSpineInAgentContext, "Чат: spine в контекст агента (вкл/выкл)", "Чат");
20 AddPalette(b, "chat_get_product_spine", IdeCommands.ChatGetProductSpine, "Чат: прочитать product spine", "Чат");
21 AddPalette(b, "chat_set_product_spine", IdeCommands.ChatSetProductSpine, "Чат: обновить product spine", "Чат");
22 AddPalette(b, "chat_get_sedm_scope", IdeCommands.ChatGetSedmScope, "Чат: SEDM scope strip (JSON)", "Чат");
23 AddPalette(b, "chat_record_sedm_intent", IdeCommands.ChatRecordSedmIntent, "Чат: записать intent card", "Чат");
24 AddPalette(b, "chat_record_sedm_decision", IdeCommands.ChatRecordSedmDecision, "Чат: записать decision record", "Чат");
25 AddPalette(b, "chat_toggle_selected_thinking", IdeCommands.ChatToggleSelectedThinking, "Чат: свернуть/развернуть selected thinking", "Чат");
26 AddPalette(
27 b,
28 "chat_toggle_show_thinking_in_history",
29 IdeCommands.ChatToggleShowThinkingInHistory,
30 "Чат: переключить show_thinking_in_history",
31 "Чат");
32 }
33}
34
View only · write via MCP/CIDE