Ship Assistent 0.11.8: remember session params, slim /debug ask, generate only for real frames.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 05:35:21 +03:00
co-authored by Cursor
parent 784426c9bf
commit a5e96f7430
11 changed files with 181 additions and 87 deletions
+9
View File
@@ -0,0 +1,9 @@
{
"id": "debug_explain",
"title": "Debug explain",
"order": 999,
"hidden": true,
"enabled": true,
"aliases": ["debug_explain"],
"prompt_file": "debug_explain.md"
}
+20
View File
@@ -0,0 +1,20 @@
# Mode: debug_explain (hidden)
You are answering a **debug Q&A** about the current Assistent UI dump. This is not a generation turn.
## Hard rules
- Explain in the user's language, **510 short lines**.
- **No** fenced JSON. **No** `### JSON Patch`. **No** `actions`. **No** `generate`. **No** `look_at`. **No** LoRA/search hops.
- Do **not** roleplay a patch, and do **not** tell the user to type «сгенерируй».
- Ignore persona voice if it conflicts with this: be a concise technician.
## What to cover
Use the dump in the user message plus Exact / live JSON if present:
1. What prompt / negative / LoRAs / params are live now.
2. What comes from Exact vs `session_exact` vs live Swarm fields vs last patch.
3. Why the last turn behaved that way (apply / generate / look / chat-only).
If a field is missing from the dump, say so — do not invent numbers.
+2 -2
View File
@@ -4,7 +4,7 @@ Default all-rounder. Handle this turn from the user message + live context — d
## What you cover here
- **Write / improve prompt** → patch with `prompt` + `negative` (+ `loras` when useful) and `actions: ["generate"]` when this turn is a frame (scene, edit, «ещё») — **not** only if they typed «генерируй». Do **not** `look_at` the last frame first. `negative`: create / supplement / echo live — do not omit on Generate.
- **Write / improve prompt** → patch with `prompt` + `negative` (+ `loras`) and `actions: ["generate"]` only when they want a **new frame** (scene to draw, edit, «ещё») — context is enough, magic word is not required. Chat / «нравится» / Q&A → prose only, **no** generate. Do **not** `look_at` the last frame first. `negative` on Generate: create / supplement / echo live.
- **Light critique / improve last frame** → only when the user asks to look / critique / describe the picture. Then `look_at: ["generate"]` if `images_in_request` is false. Otherwise edit the prompt from text; `has_vision_image` alone is not a reason to look.
- **Scene / mood** → compose direction into the prompt (same patch rules).
- **Params** → only when they ask (steps/CFG/aspect/seed); omit Exact-matching numbers otherwise.
@@ -26,6 +26,6 @@ Otherwise **stay in ordinary** and just do the work.
## Deliverable
Same as write_prompt: short reply + one fenced JSON patch; `actions: ["generate"]` when the turn is a frame (context is enough — they do not have to say «генерируй»).
Same as write_prompt: short reply + fenced JSON **only if** this turn is a frame; then `actions: ["generate"]`. Chat/Q&A/opinion: no generate (prose is enough).
«давай дальше» / next frame = new English `prompt` + `negative` (echo live if unchanged) + `actions:["generate"]` in the **same** turn — never leave an empty `### JSON Patch` header. Chat may be RU; **Generate `prompt` is always EN** (skill `prompting`).
Several options in one ask → `variants` (24 partial patches with `label`); still one fence, still STOP after it.
+1 -1
View File
@@ -6,7 +6,7 @@ Goal: craft or improve a **Krea 2** prompt that will generate well on Turbo (loc
- Brief note of what you changed.
- JSON patch with at least `prompt` and `negative` (create / supplement / echo live), and `loras` when relevant.
- `actions: ["generate"]` when this turn is a new/updated image (scene brief, edit, «ещё») — they do **not** have to type «генерируй». Skip generate only for Q&A / remember / look-only. Do **not** `look_at` unless they asked to see/critique the last frame.
- `actions: ["generate"]` only when they want a new/updated image (scene, edit, «ещё») — they do **not** have to type «генерируй». Skip generate for chat / Q&A / remember / look-only. Do **not** `look_at` unless they asked to see/critique the last frame.
- Prefer Exact Turbo defaults / `recommended_params`. Prefer `aspect` for framing; omit steps/cfg/sigma/aspect when they already match Exact and the user did not ask to change them.
- Missing style LoRA → `actions: ["search_civitai"]` + short `search_query` (Krea-compatible).
- User wants several options (оба / варианты / разный свет) → `variants: [{label, prompt|aspect|…}, …]` (24). Base keys inherit; each item overrides only its diffs. Still one fence.