openpencil/tests/engine/tools
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
..
analyze/overlaps test(tools): create control-case node on the plain graph 2026-06-19 11:47:37 +10:00
modify chore: format codebase 2026-05-24 12:15:29 +03:00
stock-photo fix(ai): require closed stock photo vectors 2026-09-03 08:46:10 +03:00
xpath test(engine): move root tests into domains 2026-05-16 12:30:27 +03:00
ai-adapter.test.ts refactor(tools)!: centralize schemas and execution contracts 2026-09-15 10:55:27 +03:00
cli.test.ts
create.test.ts refactor(tools)!: centralize schemas and execution contracts 2026-09-15 10:55:27 +03:00
describe.test.ts fix(tools): describe visible strokes (#447) 2026-08-01 17:40:30 +03:00
eval-wrap.test.ts refactor(tools): use acorn AST parser for eval wrapping 2026-05-11 12:15:38 +03:00
export-image.test.ts feat(ai): add isolated visual inspection 2026-08-13 21:15:44 +03:00
input.test.ts refactor(tools)!: centralize schemas and execution contracts 2026-09-15 10:55:27 +03:00
library-components.test.ts feat: add Figma-style variants and component libraries (#512) 2026-08-14 19:31:41 +03:00
modify.test.ts chore(tests): guard modify tool assertions 2026-05-06 11:20:49 +03:00
read.test.ts feat(text): surface missing font substitutions 2026-08-13 18:33:10 +03:00
registry.test.ts refactor(tools)!: centralize schemas and execution contracts 2026-09-15 10:55:27 +03:00
structure.test.ts chore(tests): remove targeted non-null assertions 2026-05-06 03:13:58 +03:00