Forge
4405de34
1# Command Melody (c:) — каталог корней ADR 0109: [[melody_root]] + опционально [[tail_wire_class]].
2# Оверлей: IntentMelody/intent-melody-aliases.toml рядом с exe (как Hotkeys/hotkeys.toml).
3# Норматив: docs/intent-melody-language-v1.md, ADR 0060 (аккорд), ADR 0109.
4
5melody_catalog_schema_version = 1
6
7# ------------------------------------------------------------------------------
8# Провода хвоста (tail wire): как резать остаток после slug.
9# ------------------------------------------------------------------------------
10
11[[tail_wire_class]]
12id = "url_remainder"
13kind = "single_remainder"
14
15[[tail_wire_class]]
16id = "int_chain_colon_space"
17kind = "delimited_slots"
18# Разделители между слотами: ":" или ";" (в аккорде без TextBox «;» без Shift надёжнее) или пробел.
19between_slots_any_of = [":", ";", " "]
20
21# ------------------------------------------------------------------------------
22# Parametric — хвост после slug (URL, диапазоны строк, …).
23# ------------------------------------------------------------------------------
24
25[[melody_root]]
26# c:wai[:url] — веб-портал AI
27slug = "wai"
28command_id = "show_web_ai_portal_page"
29shape = "parametric"
30palette_hint_slug = "wai-url"
31palette_usage_hint = "c:wai:<адрес> - веб-портал AI; адрес можно без схемы (или c:wai: для страницы по умолчанию)"
32palette_usage_category = "Web AI Portal"
33show_usage_hint_if_bare_slug = false
34tail_signature = "<url:url>"
35wire_class = "url_remainder"
36chord_commit = "enter"
37
38[[melody_root]]
39# c:els:<start>:<end> — выделить строки
40slug = "els"
41command_id = "select"
42shape = "parametric"
43palette_usage_hint = "c:els:<start>:<end> или одна строка c:els:<line> (в аккорде c:els;<start>;<end> / c:els;<line> — «;» без Shift) — выделить строки"
44palette_usage_category = "Editor -> Line -> Select"
45tail_signature = "<start:ln>:<end:ln>"
46wire_class = "int_chain_colon_space"
47chord_commit = "enter"
48
49[[melody_root]]
50# c:eld:<start>:<end> — удалить строки
51slug = "eld"
52command_id = "apply_edit"
53shape = "parametric"
54palette_usage_hint = "c:eld:<start>:<end> или одна строка c:eld:<line> (в аккорде c:eld;<start>;<end> / c:eld;<line> — «;» без Shift) — удалить строки"
55palette_usage_category = "Editor -> Line -> Delete"
56tail_signature = "<start:ln>:<end:ln>"
57wire_class = "int_chain_colon_space"
58chord_commit = "enter"
59
60# ------------------------------------------------------------------------------
61# Simple — один slug = одна команда (без хвоста).
62# ------------------------------------------------------------------------------
63
64# --- Git ---
65
66[[melody_root]]
67slug = "gs"
68command_id = "git_status"
69shape = "simple"
70
71[[melody_root]]
72slug = "gc"
73command_id = "git_commit"
74shape = "simple"
75
76[[melody_root]]
77slug = "gp"
78command_id = "git_push"
79shape = "simple"
80
81[[melody_root]]
82slug = "gsu"
83command_id = "git_submodule"
84shape = "simple"
85
86# --- Сборка и тесты ---
87
88[[melody_root]]
89slug = "br"
90command_id = "build_solution_ui"
91shape = "simple"
92
93[[melody_root]]
94slug = "bs"
95command_id = "build_structured"
96shape = "simple"
97
98[[melody_root]]
99slug = "bt"
100command_id = "run_tests"
101shape = "simple"
102
103# --- Отладка ---
104
105[[melody_root]]
106slug = "da"
107command_id = "debug_attach"
108shape = "simple"
109
110[[melody_root]]
111slug = "dl"
112command_id = "debug_launch"
113shape = "simple"
114
115[[melody_root]]
116slug = "dc"
117command_id = "debug_continue"
118shape = "simple"
119
120[[melody_root]]
121slug = "dn"
122command_id = "debug_step_over"
123shape = "simple"
124
125[[melody_root]]
126slug = "di"
127command_id = "debug_step_into"
128shape = "simple"
129
130[[melody_root]]
131slug = "df"
132command_id = "debug_step_out"
133shape = "simple"
134
135[[melody_root]]
136slug = "dx"
137command_id = "debug_stop"
138shape = "simple"
139
140# --- Решение и раскладка ---
141
142[[melody_root]]
143slug = "so"
144command_id = "open_solution_dialog"
145shape = "simple"
146
147[[melody_root]]
148slug = "tol"
149command_id = "toggle_workspace_splitters_lock"
150shape = "simple"
151
152# --- Чат: страница, сообщения, экспорт ---
153
154[[melody_root]]
155slug = "cps"
156command_id = "show_chat_page"
157shape = "simple"
158
159[[melody_root]]
160slug = "cs"
161command_id = "send_chat"
162shape = "simple"
163
164[[melody_root]]
165slug = "cex"
166command_id = "chat_export_readable"
167shape = "simple"
168
169[[melody_root]]
170slug = "ctf"
171command_id = "fork_chat_thread"
172shape = "simple"
173
174[[melody_root]]
175slug = "amp"
176command_id = "chat_select_prev_message"
177shape = "simple"
178
179[[melody_root]]
180slug = "amn"
181command_id = "chat_select_next_message"
182shape = "simple"
183
184[[melody_root]]
185slug = "amt"
186command_id = "chat_toggle_selected_thinking"
187shape = "simple"
188
189[[melody_root]]
190slug = "amh"
191command_id = "chat_toggle_show_thinking_in_history"
192shape = "simple"
193
194# --- Чат: треды ---
195
196[[melody_root]]
197slug = "atp"
198command_id = "chat_select_prev_thread"
199shape = "simple"
200
201[[melody_root]]
202slug = "atn"
203command_id = "chat_select_next_thread"
204shape = "simple"
205
206[[melody_root]]
207slug = "ato"
208command_id = "chat_open_selected_thread"
209shape = "simple"
210
211[[melody_root]]
212slug = "atb"
213command_id = "chat_show_thread_overview"
214shape = "simple"
215
216# --- Страницы и панели ---
217
218[[melody_root]]
219slug = "ers"
220command_id = "show_environment_readiness_page"
221shape = "simple"
222
223[[melody_root]]
224slug = "his"
225command_id = "show_hybrid_index_page"
226shape = "simple"
227
228[[melody_root]]
229slug = "ts"
230command_id = "show_terminal_panel"
231shape = "simple"
232
View only · write via MCP/CIDE