Commit graph

2716 commits

Author SHA1 Message Date
Danila Poyarkov ea4b8e4b97 feat(settings): unify preferences and integration editors
Unify Settings navigation, credential drafts, translated form validation, and appearance controls. Add explicit WebMCP access modes and searchable MCP tool permissions while preserving execution and credential safeguards.
2026-09-15 16:34:05 +03:00
Danila Poyarkov 4a9bad5cec refactor(tools)!: centralize schemas and execution contracts
Define native Valibot inputs and execution/exposure metadata on each tool. Derive effects and default capabilities, consume upstream Standard Schema conversion, and validate finite numeric inputs consistently across adapters.

Move atomic execution to Core and restore failures from Scene Graph checkpoints without relying on a property diff. Preserve topology, collections, indexes and surviving object identities during rollback.

BREAKING CHANGE: custom tools use input schemas and execution metadata instead of params, ParamDef and independently declared mutation flags. Direct tool execution validates inputs before invoking the handler.
2026-09-15 10:55:27 +03:00
Danila Poyarkov fdf04c35e5 feat(automation): expose reviewed tools through WebMCP
Register inspection and atomic editing tools through document.modelContext with input validation, result bounds, captured targets, cancellation guards, and workspace cleanup. Verify native browser discovery and cross-page undo.
2026-09-14 01:16:23 +03:00
Danila Poyarkov 892550a287 feat(automation): share atomic property-edit transactions
Commit audited synchronous node and variable edits with property-level rollback and undo tied to the original document. Load fonts after commit and retain legacy paths for asynchronous and structural tools.
2026-09-14 00:54:13 +03:00
Danila Poyarkov f03fa7eff6 feat(mcp)!: migrate to SDK v2 and Valibot
Share canonical tool inputs with AI and browser adapters through Valibot and Standard Schema while retaining MCP numeric coercion and existing transports.

BREAKING CHANGE: programmatic integrations use SDK v2 server/client types; paramToZod is removed in favor of the shared Core tool input contract.
2026-09-14 00:54:13 +03:00
Danila Poyarkov e398f41df0
Merge pull request #691 from open-pencil/review-note-proof
fix: preserve Design JSX instance sizing through component sync
2026-09-14 00:36:51 +03:00
Danila Poyarkov e50df9ffda test: cover and document inherited instance dimensions 2026-09-14 00:24:52 +03:00
Danila Poyarkov 4077dcbd44 fix: preserve authored instance sizing through synchronization 2026-09-14 00:24:52 +03:00
Danila Poyarkov 3df430f036
Merge pull request #688 from open-pencil/jsx-component-properties
feat: author scoped component properties in Design JSX
2026-09-14 00:24:50 +03:00
Danila Poyarkov 7b16881e03 fix: reject ambiguous variant property names 2026-09-14 00:14:09 +03:00
Danila Poyarkov 27e3bc3023 test: group JSX component contracts by domain 2026-09-14 00:01:41 +03:00
Danila Poyarkov 0a6ce6e72d fix: validate component property reference scopes
Reject unknown or incompatible references while the owning component definitions are available, including inherited component-set definitions. Keep nested component scopes separate.
2026-09-13 23:57:24 +03:00
Danila Poyarkov 243eaf9626 fix: declare the Core component validation dependency
Declare Valibot in Core so installed artifacts resolve it by package name instead of retaining a workspace-only Bun cache path.
2026-09-13 23:43:07 +03:00
Danila Poyarkov e98fcd2848 Merge remote-tracking branch 'origin/master' into jsx-component-properties 2026-09-13 23:27:22 +03:00
Danila Poyarkov 25cc522f12
Merge pull request #687 from open-pencil/native-authoring
refactor: share design authoring guidance across agents
2026-09-13 23:27:15 +03:00
Danila Poyarkov 320b0db2c5 Merge remote-tracking branch 'origin/master' into native-authoring 2026-09-13 21:31:09 +03:00
Danila Poyarkov 788d679564
Merge pull request #690 from open-pencil/release-markdown-update
build: upgrade paired Markdown packages to beta.5
2026-09-13 21:31:04 +03:00
Danila Poyarkov 3a2c7ec46f fix: resend authoring context to replacement ACP sessions 2026-09-13 21:27:32 +03:00
Danila Poyarkov d194417a97 build: upgrade paired Markdown packages to beta.5 2026-09-13 21:25:08 +03:00
Danila Poyarkov 69703abc77 fix: preserve variant selection with declared set properties 2026-09-13 21:19:34 +03:00
Danila Poyarkov 624c87d31a Merge branch 'native-authoring' into jsx-component-properties 2026-09-13 21:17:22 +03:00
Danila Poyarkov ccbae39b3c style: sort authoring reference dependencies 2026-09-13 21:06:47 +03:00
Danila Poyarkov 8dc80b7a33 Merge remote-tracking branch 'origin/master' into native-authoring
# Conflicts:
#	tsconfig.json
2026-09-13 21:03:46 +03:00
Danila Poyarkov 7aabf00687
Merge pull request #686 from open-pencil/scalar-variable-bindings
feat: bind Design JSX scalar props to variables
2026-09-13 21:02:52 +03:00
Danila Poyarkov b4f119a01b Merge branch 'native-authoring' into jsx-component-properties
# Conflicts:
#	packages/core/src/design-jsx/reference/authoring.md
#	packages/docs/reference/design-authoring.md
#	skills/open-pencil/references/design-authoring.md
2026-09-13 20:55:05 +03:00
Danila Poyarkov 8189c08e0b docs: clarify scalar modes and instance sizing guidance 2026-09-13 20:54:27 +03:00
Danila Poyarkov 6c3faca05c fix: declare supported scalar authoring properties 2026-09-13 20:41:48 +03:00
Danila Poyarkov 11cef2cc6b Merge remote-tracking branch 'origin/master' into scalar-variable-bindings 2026-09-13 20:26:59 +03:00
Danila Poyarkov 25ab4d9baf
Merge pull request #685 from open-pencil/docs-binding-provider
docs: update the binding provider example
2026-09-13 20:26:16 +03:00
Danila Poyarkov 061d9d35ec Merge remote-tracking branch 'origin/docs-binding-provider' into scalar-variable-bindings 2026-09-13 20:23:37 +03:00
Danila Poyarkov a3caf63ed8 Merge remote-tracking branch 'origin/master' into docs-binding-provider 2026-09-13 20:20:03 +03:00
Danila Poyarkov 5676fc26e7
Merge pull request #689 from open-pencil/conditional-ci
ci: validate docs-only PRs without running test suites
2026-09-13 20:19:58 +03:00
Danila Poyarkov 70fbbddf7d docs: compare resolved binding values in provider state 2026-09-13 20:13:34 +03:00
Danila Poyarkov c2ab9cc621 ci: pin Bun setup in routing and result jobs 2026-09-13 20:11:27 +03:00
Danila Poyarkov d5b7834b7f ci: route documentation changes through a required result gate 2026-09-13 19:53:58 +03:00
Danila Poyarkov becc4f7432 feat: author scoped component properties in Design JSX 2026-09-13 19:27:06 +03:00
Danila Poyarkov f419908621 Merge remote-tracking branch 'origin/master' into docs-binding-provider 2026-09-13 19:10:43 +03:00
Danila Poyarkov 863b1e6c6a refactor: share design authoring guidance across agents 2026-09-13 19:08:27 +03:00
Danila Poyarkov 4e9ef085a6
Merge pull request #683 from open-pencil/release-ui-polish
fix(ui): align Home controls and theme the Code editor
2026-09-13 19:08:25 +03:00
Danila Poyarkov 07f4ae9291 Merge remote-tracking branch 'origin/docs-binding-provider' into native-authoring 2026-09-13 19:06:56 +03:00
Danila Poyarkov 98e0ba9563 feat: bind Design JSX scalar props to variables 2026-09-13 19:06:20 +03:00
Danila Poyarkov 59c31c74bf docs: update the binding provider example 2026-09-13 19:02:40 +03:00
Danila Poyarkov e45d655b83 docs: update the binding provider example 2026-09-13 19:02:28 +03:00
Danila Poyarkov 50d25719c7 Merge remote-tracking branch 'origin/master' into release-ui-polish 2026-09-13 19:01:15 +03:00
Danila Poyarkov e6ddb11eb8
Merge pull request #684 from open-pencil/skills-monorepo
docs: maintain the OpenPencil skill in the monorepo
2026-09-13 17:49:08 +03:00
Danila Poyarkov 164387df7e docs: clarify skill authentication and filesystem defaults 2026-09-13 17:40:23 +03:00
Danila Poyarkov 05842dafc0 docs: maintain the OpenPencil skill in the monorepo
Import the skill and its license from open-pencil/skills at 623927958f277b0d8810a2582a38ae24409f7577. Keep agent-facing examples with their implementation and use runtime tool discovery instead of a stale inventory.
2026-09-13 17:29:33 +03:00
Danila Poyarkov b16b2011c9 Merge remote-tracking branch 'origin/master' into release-ui-polish 2026-09-13 16:42:59 +03:00
Danila Poyarkov 08702e9bc3
Merge pull request #682 from them7d/master
fix: load fonts with request in desktop app cause OOMs (replaced with fetch)
2026-09-13 16:42:27 +03:00
Danila Poyarkov 2328b4cb8f fix(ui): align Home controls and theme the Code editor 2026-09-13 16:39:32 +03:00