Skip to content

v0.5.73

Choose a tag to compare

@jaspertey jaspertey released this 30 Oct 00:10
17ed7b0

Upgrading

  • A host that builds navigator items on the server: send actions on the PHP WorkbenchItem (a list of Action) to get row menus, and regenerate or re-copy types/kit.d.ts, whose WorkbenchItem now has actions. A host that sends plain arrays can switch to WorkbenchItem unchanged.

Added

  • Server-side item menus: actions on the PHP WorkbenchItem (docs/workbench.md › Item menus). WorkbenchItem takes actions, a list of the kit's Action (default empty, no menu), and a WorkbenchViewModel sends them to the page unchanged; the generated type has actions: Action[]. The MCP WorkbenchReadTool still gives each item exactly { id, label, type, description }: row-menu actions are UI affordances, and no MCP tool exposes action descriptors. composer test:workbench-item-parity pins the PHP keys to the TS WorkbenchItem, the generated type, the read tool's keys and the Inertia round trip of Move up, Duplicate and Delete.

What's Changed

  • Send row-menu actions on server-built Workbench items (0.5.x) by @jaspertey in #375

Full Changelog: v0.5.72...v0.5.73