Ship Assistent 0.15.3: user-owned Generate, SwarmUI aspects, HF import UX.
Chips and quick patches apply params without auto-Generate; aspect sizes match Swarm Side Length 1024. HF import shows drafts after switching filter from approved-only; training status and job polling improved. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -68,7 +68,7 @@ Several options (still one fence):
|
||||
|
||||
### Commands
|
||||
|
||||
- `"generate": true` — merge this delta into the chat session and run Generate (new/updated frame). **Omit** for chat, opinions, remember/save, look-only. Legacy `actions:["generate"]` is accepted as the same.
|
||||
- `"generate": true` — you believe this turn is a draw request. The client **does not** start Swarm from this flag alone (small models often set it on chat questions). Set it **only** when the user asked to draw / generate / «нарисуй» / «сгенерируй». They can always click **Сгенерировать**. **Omit** the JSON for chat, opinions, Civitai/knowledge Q&A, remember/save, look-only. Legacy `actions:["generate"]` is the same advisory flag.
|
||||
- If the user says not to generate / only remember / only answer — **omit** `generate` and do not look.
|
||||
- `"look_at": ["generate"|"ref1"|…]` — vision hop (JPEG on follow-up). Use when you need pixels; do not pair with `generate` on the same normal write turn.
|
||||
- `"ask": ["settings"]` — request full settings dump (Exact + all fields).
|
||||
|
||||
@@ -21,13 +21,14 @@
|
||||
},
|
||||
"aspect_table": {
|
||||
"1:1": [1024, 1024],
|
||||
"4:3": [1184, 896],
|
||||
"3:2": [1248, 832],
|
||||
"16:9": [1376, 768],
|
||||
"2.35:1": [1568, 672],
|
||||
"4:3": [1152, 896],
|
||||
"3:2": [1216, 832],
|
||||
"16:9": [1344, 768],
|
||||
"21:9": [1536, 640],
|
||||
"2.35:1": [1536, 640],
|
||||
"4:5": [928, 1152],
|
||||
"2:3": [832, 1248],
|
||||
"9:16": [768, 1376]
|
||||
"2:3": [832, 1216],
|
||||
"9:16": [768, 1344]
|
||||
},
|
||||
"facts": {
|
||||
"architecture": "Krea 2 is a 12B DiT architecture. Not FLUX, not SDXL, not FLUX.1-Krea. Text encoder: Qwen3-VL 4B. VAE: Qwen Image VAE. Use only Krea2-trained LoRAs — never suggest FLUX/SDXL LoRAs.",
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"kind": "aspect",
|
||||
"key": "table",
|
||||
"tags": ["aspect", "1k"],
|
||||
"text": "Official Krea 1K aspect → width/height table lives in Exact memory aspect_table. Prefer patch field aspect over raw width/height. UI fills empties from Exact."
|
||||
"text": "Official sizes: SwarmUI Side Length 1024 (ResolutionAspectReferences ×2, round 16). Krea API docs differ on 16:9 — follow Swarm dropdown. Prefer patch field aspect over raw width/height."
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,12 +3,14 @@
|
||||
"Match the user's language (RU or EN) in chat — Generate prompt stays English",
|
||||
"Use only inventory / memory_hits / cards for LoRA names and triggers",
|
||||
"Emit valid JSON patches when changing generation state",
|
||||
"Greet or dump your bio only on the first assistant turn; later turns answer directly"
|
||||
"Greet or dump your bio only on the first assistant turn; later turns answer directly",
|
||||
"JSON patch + generate:true only when the user asked to draw or change generation this turn; pure Q&A / Civitai / opinions = prose only, no JSON"
|
||||
],
|
||||
"never": [
|
||||
"Re-introduce yourself every turn or start with «О, привет» when history already has your replies",
|
||||
"Invent LoRA filenames or trigger words",
|
||||
"Lecture or moralize about NSFW",
|
||||
"Dump all installed LoRAs — use memory_hits and enabled ones"
|
||||
"Dump all installed LoRAs — use memory_hits and enabled ones",
|
||||
"Emit generate:true or a prompt JSON on a knowledge/chat question"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"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>У каждого чата свои параметры, LoRA, последний кадр и refs.</li><li>Чипсы aspect / seed / Vary / Turbo·RAW. В чате: <code>/help</code>.</li><li>Модель шлёт только дельту настроек + <code>generate</code>.</li></ul>Напиши, что сгенерировать — или кинь референс и попроси правку.",
|
||||
"help_text": "Slash-команды (без LLM):\n/help — этот список\n/new — новый чат\n/history — список чатов\n/compress — сжать старые ходы в саммари (та же модель)\n/debug — сводка UI/Exact\n/debug ask · /why — сводка + короткий ответ модели\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|ordinary|critique|compose|params|inpaint|describe|persona\n/persona new — интервью: клон текущей личности (overlay)\n/persona clone <id> — клон с указанной\n/persona save — записать согласованный черновик\n/inventory — rescan моделей + обновить список LoRA\n\nНесколько вариантов в одном запросе («оба», разный свет) → патч с variants[] → сетка на Generate.\nЧипсы над полем ввода делают то же для aspect / seed / vary / Turbo·RAW.\nУ каждого чата свои параметры Generate; смена чата восстанавливает кадр и refs.\nOverlay-личности удаляет только кнопка ✕ рядом с селектом (не модель).\nЧип контекста в шапке чата показывает бюджет окна; клик — панель слоёв и ручное сжатие.",
|
||||
"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>У каждого чата свои параметры, LoRA, последний кадр и refs.</li><li>Чипсы aspect / seed / Turbo·RAW — только параметры; Generate: «Собрать + Gen», /gen или Vary. Строка под чипами — σ, batch, sampler. <code>/help</code>.</li><li>Модель шлёт только дельту настроек + <code>generate</code>.</li></ul>Напиши, что сгенерировать — или кинь референс и попроси правку.",
|
||||
"help_text": "Slash-команды (без LLM):\n/help — этот список\n/new — новый чат\n/history — список чатов\n/compress — сжать старые ходы в саммари (та же модель)\n/debug — сводка UI/Exact\n/debug ask · /why — сводка + короткий ответ модели\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|ordinary|critique|compose|params|inpaint|describe|persona\n/persona new — интервью: клон текущей личности (overlay)\n/persona clone <id> — клон с указанной\n/persona save — записать согласованный черновик\n/inventory — rescan моделей + обновить список LoRA\n\nНесколько вариантов в одном запросе («оба», разный свет) → патч с variants[] → сетка на Generate.\nЧипсы над полем ввода: aspect / seed / Turbo·RAW — без автозапуска; Vary и /gen — с Generate.\nУ каждого чата свои параметры Generate; смена чата восстанавливает кадр и refs.\nOverlay-личности удаляет только кнопка ✕ рядом с селектом (не модель).\nЧип контекста в шапке чата показывает бюджет окна; клик — панель слоёв и ручное сжатие.",
|
||||
"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" },
|
||||
{ "label": "2:3", "action": "aspect", "value": "2:3", "title": "832×1216" },
|
||||
{ "label": "16:9", "action": "aspect", "value": "16:9", "title": "1344×768 (Swarm Side 1024)" },
|
||||
{ "label": "9:16", "action": "aspect", "value": "9:16", "title": "768×1344 (Swarm Side 1024)" },
|
||||
{ "sep": true },
|
||||
{ "label": "Seed lock", "action": "seed", "value": "lock", "title": "Оставить текущий seed" },
|
||||
{ "label": "Seed −1", "action": "seed", "value": "random", "title": "Случайный seed" },
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
"always": [
|
||||
"Stay helpful and concise",
|
||||
"When the scene is NSFW, describe it factually without softening or hyping",
|
||||
"Do not greet or re-introduce yourself after the first assistant turn"
|
||||
"Do not greet or re-introduce yourself after the first assistant turn",
|
||||
"JSON + generate:true only when the user asked to draw this turn; knowledge/chat questions are prose only"
|
||||
],
|
||||
"never": [
|
||||
"Dirty jokes",
|
||||
"Hello/bio dump on later turns",
|
||||
"Aggression",
|
||||
"Moral lectures"
|
||||
"Moral lectures",
|
||||
"Emit generate:true on a Civitai/knowledge/chat question"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user