@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.
- package/package.json +1 -1
- package/payload/plugins/xtframe/.claude-plugin/plugin.json +1 -1
- package/payload/plugins/xtframe/.codex-plugin/plugin.json +1 -1
- package/payload/plugins/xtframe/gemini-extension.json +1 -1
- package/payload/plugins/xtframe/skills/xtui/SKILL.md +28 -1
- package/payload/plugins/xtframe/skills/xtui/references/canvas.md +8 -5
- package/payload/plugins/xtframe/skills/xtui/references/dialect.md +84 -9
- package/payload/plugins/xtframe/skills/xtui/references/flow.md +2 -1
- package/payload/plugins/xtframe/skills/xtui/references/from-procedural.md +140 -0
- package/payload/plugins/xtframe/skills/xtui/references/performance.md +20 -0
- package/payload/plugins/xtframe/skills/xtui/references/style-groups.md +26 -0
- package/payload/plugins/xtframe/skills/xtui/references/tokens.json +60 -1
- package/payload/plugins/xtframe/skills/xtui/references/ui-project.md +9 -0
- package/payload/plugins/xtframe/skills/xtui/references/upgrade.md +3 -2
- package/payload/plugins/xtframe/skills/xtui/references/vector.md +5 -1
- package/payload/plugins/xtframe/skills/xtui/references/verify.md +29 -7
- package/payload/plugins/xtframe/skills/xtui-editor/SKILL.md +14 -4
- package/payload/plugins/xtframe/skills/xtui-editor/references/ops.md +161 -22
- package/payload/plugins/xtframe/skills/xtui-editor/references/scenarios.md +45 -14
- package/payload/plugins/xtframe/skills/xtui-editor/references/service.md +9 -1
|
@@ -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,
|