Danila Poyarkov
7ac3ee035d
fix(dom-css): compile standalone HTML exports
2026-07-04 19:37:58 +03:00
Danila Poyarkov
b22a751f27
Revert "feat(cli): bundle standalone HTML exports"
...
This reverts commit 8330dda410 .
2026-07-04 18:18:32 +03:00
Danila Poyarkov
8330dda410
feat(cli): bundle standalone HTML exports
2026-07-04 18:08:42 +03:00
Danila Poyarkov
3df6cc9bcd
feat(cli): add standalone HTML export mode
2026-07-04 14:54:58 +03:00
Danila Poyarkov
8b1c452cc3
refactor(cli): replace DOM command with import and HTML export
2026-07-04 13:34:24 +03:00
Danila Poyarkov
a4272a17bf
fix(mcp): target live automation by document and page
2026-07-03 17:05:04 +03:00
Danila Poyarkov
883782846f
docs(cli): use released openpencil command
2026-05-29 15:56:52 +03:00
Danila Poyarkov
b750d1f3dc
docs: generate llms files
...
- Generate llms.txt and llms-full.txt from VitePress content loader
- Advertise the agent-readable docs through alternate links
2026-05-22 16:03:04 +03:00
Danila Poyarkov
3850be9512
build: publish node-compatible packages
2026-05-21 17:03:19 +03:00
Danila Poyarkov
e3d6056bf5
docs: update MCP setup and landing screenshot
2026-05-19 17:58:08 +03:00
Danila Poyarkov
bfd364909e
docs: move development notes into docs package
...
- Move variables roadmap into the VitePress development docs
- Replace the stale renderer profiler plan with current usage notes
- Refresh eval scripting docs with the supported API surface
2026-05-13 02:48:09 +03:00
Danila Poyarkov
cd4e1a2271
feat(mcp): add stdio transport for Claude Code / Cursor
...
- Add packages/mcp/src/stdio.ts — proper stdio MCP server that
connects to the running app via WebSocket
- openpencil-mcp bin now points to stdio entry (was HTTP)
- openpencil-mcp-http bin added for the HTTP server
- Extract registerTools() from server.ts to share between transports
- Move index.ts banner output to stderr (prevents stdout corruption)
- Update Tauri shell spawn to use openpencil-mcp-http
- Update all docs (EN + 6 translations): correct binary names, source
paths, port number
Fixes #194
2026-04-13 11:51:01 +03:00
Danila Poyarkov
f1b264fe90
Tighten SDK release docs
2026-03-30 15:17:30 +03:00
Danila Poyarkov
c57e636dcb
Port design linter from figma-use
2026-03-28 16:33:40 +03:00
Danila Poyarkov
890fb4f6d5
Update README and docs for new formats and SDK
2026-03-28 15:42:21 +03:00
Danila Poyarkov
c1d7fc80b0
Fix property panel visibility toggles, independent corners/stroke sides, extract shared ColorStyleRow
...
- Fix fill/stroke/effect/appearance visibility eye toggle (stale clone reads)
- Fix independent corner radii toggle not showing 4 inputs
- Fix stroke sides toggle: replace dropdown with direct toggle like corners
- Copy uniform weight to all sides when expanding stroke sides
- Batch multi-selection visibility toggles into single undo entry
- Extract ColorStyleRow shared by FillSection and StrokeSection
- Replace useFillVariableBinding/useStrokeVariableBinding with useColorVariableBinding(kind)
- AppearanceSection uses useAppearance() directly instead of slot wrapper
- Add sceneVersion dependency to useNodeProps and PropertyListRoot computeds
- Add E2E tests for visibility toggles and corner/stroke side toggles
2026-03-27 17:06:33 +03:00
Danila Poyarkov
99e646aaa4
Refine docs structure for SDK and automation
2026-03-24 23:24:08 +03:00
Danila Poyarkov
fe755fbb85
Release v0.9.0
2026-03-09 17:43:11 +03:00
Danila Poyarkov
f2ef9c976d
XPath query for node selection ( #82 )
...
* Add XPath query for node selection
- packages/core/src/xpath.ts: XPath engine using fontoxpath with custom
DOM facade over SceneGraph nodes
- RPC command: 'query' with selector, page, limit params
- CLI command: 'open-pencil query <file> <xpath>' with --json, --page, --limit
- AI/MCP tool: 'query_nodes' with XPath examples in description
- Queryable attributes: name, width, height, x, y, visible, opacity,
cornerRadius, fontSize, fontFamily, fontWeight, layoutMode, itemSpacing,
padding*, strokeWeight, rotation, locked, blendMode, text, lineHeight,
letterSpacing
* Add tests and docs for XPath query
- 9 unit tests for queryByXPath/matchByXPath core functions
- 6 tool tests for query_nodes AI/MCP tool
- README: query examples in CLI section
- VitePress docs: patterns, queryable attributes, example output
- CHANGELOG: feature entry
* Lazy-load fontoxpath to avoid bundling in desktop app
- Dynamic import() instead of static import for fontoxpath
- queryByXPath/matchByXPath now async (they were sync before)
- RpcCommand.execute allows R | Promise<R> for async commands
- Fix 2 lint errors (unnecessary optional chain, always-truthy)
- Update all tests and CLI to await results
2026-03-09 15:32:27 +03:00
Danila Poyarkov
d91e6a36d9
Fix code formatting across all docs
...
- Wrap all enum values in backticks (FRAME, SOLID, ROUND, etc.)
- Fix single-backtick code blocks → triple backticks in node-types, scene-graph
- Replace ASCII diagrams with mermaid in file-format
- Delete stale mcp-tools.md and eval-command.md from all locales
- Update dead links: /reference/mcp-tools → /programmable/mcp-server,
/eval-command → /programmable/cli/scripting
2026-03-08 13:53:33 +03:00
Danila Poyarkov
25d9039b20
Fix docs review issues: remove nonexistent figma.render(), clean up install
2026-03-08 13:37:37 +03:00
Danila Poyarkov
c781a990a2
Fix overview page: match sidebar order, rename Why section
2026-03-08 13:30:49 +03:00
Danila Poyarkov
eca7d8bc09
Rename Programmable → AI & Automation, reorder sidebar
...
Sidebar now starts with the most accessible features:
AI Chat → Collaboration → JSX → CLI → MCP Server
Nav labels translated for all 7 locales.
2026-03-08 13:29:34 +03:00
Danila Poyarkov
a4b810620f
Add Programmable docs section with CLI, JSX, MCP, AI, Collab
...
New top-level nav section documenting OpenPencil's programmability:
- CLI: inspecting, exporting, analyzing, scripting (eval)
- JSX Renderer: elements, style props, visual diffing
- MCP Server: moved from Reference (setup + tool list)
- AI Chat: setup, 87 tools, example prompts
- Collaboration: room sharing, cursors, follow mode
Restructured sidebar:
- Programmable added to nav bar (7 locales)
- Context Menu moved from User Guide to Reference
- MCP and eval-command removed from Reference
2026-03-08 13:22:36 +03:00