Files
swarm-assistent/Config/_base/ui.json
T
Leonid PershinandCursor 6d487726ef Add /debug slash command for a short Assistent state dump.
Shows live params, Exact/session defaults, last patch, and a brief why-priority note without calling the LLM.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 23:33:17 +03:00

52 lines
4.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"welcome_html": "<div class=\"sa-welcome-title\">Assistent · Krea 2</div><ul><li><strong>Generate</strong> слева — живой просмотр. В чат сам не уходит.</li><li><strong>Refs</strong> — референсы на отдельной вкладке: drop / paste / Снимок gen.</li><li>Галочка vision на окне — отправить кадр модели.</li><li>Чипсы aspect / seed / Vary / Turbo·RAW. В чате: <code>/help</code>.</li><li>Кнопки патча только у последнего предложения.</li></ul>Напиши, что сгенерировать — или кинь референс и попроси правку.",
"help_text": "Slash-команды (без LLM):\n/help — этот список\n/debug — сводка: промпт, params, Exact/session, почему так\n/gen — Generate сейчас\n/look generate|refN — прикрепить окно к vision\n/init /mask /clear — Init / Mask / Clear Init\n/interrupt — остановить генерацию\n/aspect 16:9 — размер из таблицы 1K\n/seed lock|random — зафиксировать или рандомизировать seed\n/vary — новый seed, тот же промпт\n/pack write|critique|compose|params|inpaint|describe|card\n/civitai <query> — поиск LoRA (Confirm в чате)\n/inventory — rescan моделей + обновить список LoRA\n\nЧипсы над полем ввода делают то же для aspect / seed / vary / Turbo·RAW.",
"chips": [
{ "label": "1:1", "action": "aspect", "value": "1:1", "title": "1024×1024" },
{ "label": "4:5", "action": "aspect", "value": "4:5", "title": "928×1152" },
{ "label": "2:3", "action": "aspect", "value": "2:3", "title": "832×1248" },
{ "label": "16:9", "action": "aspect", "value": "16:9", "title": "1376×768" },
{ "label": "9:16", "action": "aspect", "value": "9:16", "title": "768×1376" },
{ "sep": true },
{ "label": "Seed lock", "action": "seed", "value": "lock", "title": "Оставить текущий seed" },
{ "label": "Seed 1", "action": "seed", "value": "random", "title": "Случайный seed" },
{ "label": "Vary", "action": "vary", "value": "1", "title": "Тот же промпт, новый seed + generate" },
{ "sep": true },
{ "label": "Turbo", "action": "krea_profile", "value": "turbo", "title": "Turbo: steps 8, CFG 1" },
{ "label": "RAW", "action": "krea_profile", "value": "raw", "title": "RAW: steps 28, CFG 4.5" }
],
"slash": [
{ "cmd": "/help", "hint": "список команд", "action": "help" },
{ "cmd": "/debug", "hint": "сводка настроек", "action": "debug" },
{ "cmd": "/gen", "hint": "Generate сейчас", "action": "gen" },
{ "cmd": "/look ", "hint": "generate|refN", "action": "look" },
{ "cmd": "/init", "hint": "как Init", "action": "init" },
{ "cmd": "/mask", "hint": "как Mask", "action": "mask" },
{ "cmd": "/clear", "hint": "сброс Init/Mask", "action": "clear" },
{ "cmd": "/interrupt", "hint": "стоп", "action": "interrupt" },
{ "cmd": "/aspect ", "hint": "16:9", "action": "aspect" },
{ "cmd": "/seed ", "hint": "lock|random", "action": "seed" },
{ "cmd": "/vary", "hint": "новый seed", "action": "vary" },
{ "cmd": "/pack ", "hint": "write|critique|…", "action": "pack" },
{ "cmd": "/civitai ", "hint": "запрос LoRA", "action": "civitai" },
{ "cmd": "/inventory", "hint": "rescan моделей", "action": "inventory" }
],
"pack_aliases": {
"write": "write_prompt",
"write_prompt": "write_prompt",
"critique": "critique_image",
"critique_image": "critique_image",
"compose": "compose_scene",
"compose_scene": "compose_scene",
"params": "fix_params",
"fix_params": "fix_params",
"inpaint": "inpaint_edit",
"inpaint_edit": "inpaint_edit",
"describe": "describe_ref",
"describe_ref": "describe_ref",
"card": "catalog_card",
"catalog": "catalog_card",
"catalog_card": "catalog_card"
}
}