@xtframe/skills 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,11 @@ last, which may not have your project open. Prefer `--project`.
50
50
  claude mcp add xtframe -- <xtframe>/bin/win_x64/Release/xtframe-mcp.exe --project <dir>
51
51
  ```
52
52
 
53
+ **Reading `xtframe-mcp` from a script**: its stdin / stdout are UTF-8. On Windows a Python script
54
+ must say so -- `subprocess.Popen([...], stdin=PIPE, stdout=PIPE, encoding="utf-8")` (or
55
+ `subprocess.run(..., capture_output=True, encoding="utf-8")`); without `encoding` Python uses the
56
+ system code page and Chinese layer names, text and messages come back garbled.
57
+
53
58
  **Raw HTTP MCP** (no adapter): `POST http://127.0.0.1:<port>/mcp` with `Authorization: Bearer
54
59
  <token>`. The registry entry names the editor's `url` but never its token: the token is in
55
60
  `service.json` (a headless editor's own service file for a headless one), so `xtframe-mcp
@@ -119,7 +124,10 @@ keep editing while you work. Each time you connect:
119
124
  3. `checkpoint_begin {"scenario": ...}` before the first edit (skip it when the editor's AI panel
120
125
  started you: its prompt says so).
121
126
  4. Edit (every write with `ifRevision`); check with `lint_run`, `scene_dump`, and at most the
122
- budgeted `scene_screenshot`s (animations: a `timeline` plus 3-6 `times`).
127
+ budgeted `scene_screenshot`s (animations: a `timeline` plus 3-6 `times`). Outside the editor, a
128
+ saved UI at a later second (flows and on:show timelines included) is
129
+ `xtframe-view <ui> --headless --renderer wgpu --advance 54 --frames 1 --screenshot out.png`
130
+ (`--advance` runs the time before it without painting; no screenshot budget).
123
131
  5. `scenario_check` evaluates the contract's `done_when`; fix what fails, report the `manual` items.
124
132
  6. `session_endScenario` ends the work item: it saves, and when you wrote anything runs the gates
125
133
  and sets the checkpoint "<seat> · <scenario> · HH:MM" whose note holds `{workItem, seat,