This repository was archived by the owner on Oct 20, 2026. It is now read-only.
Repository navigation
PDK 0.2.0
Added
- V014: a container that scrolls without a
scrollsexpectation asking for it (an error inside another scroll
along the same axis or for under 24px of content), or that shows a scrollbar with nothing to scroll. V002 can
no longer be silenced withstyle.overflow. --expectreads properties as the gateway evaluated them (root/Bar prop value >= 40,view prop custom.x = 3)
and where a navigation went (page /detail,page shows PDK/Detail).pdk screenshot --act(andactinpdk_screenshot) runs steps before capturing.- V012: a flex repeater whose instances are bigger than it on the axis their number does not explain.
--actstepsselect(dropdown option),slide(slider),key,hover,double-clickandscroll.--viewportpresets (desktop,tablet,phone,wide);inspecttakes several, comma-separated, with one
report each.- V013: text with low contrast against what is behind it (WCAG AA), on text components whose colors the view
chose (the theme's defaults and text drawn inside charts are not judged). pdk screenshot --compare before.png(andcompareinpdk_screenshot): the share of pixels that changed, the
components where, and a diff image.pdk schemas functionssaves the gateway's expression functions andsystem.*names next to the bundle; with
them, B011 (unknown expression function) and E008 (unknownsystem.*name), with "did you mean".- E009:
pdk deploycompiles every script with the gateway's Jython before writing (pdk validate --compile,
compileinpdk_validate); module routesGET /functionsandPOST /scripts/compile. - Style classes and project scripts are pulled, deployed, promoted and deleted like views
(style-classes/PDK/X,scripts/PDK/X;work/<sandbox>/_style-classes/,_scripts/), checked before every
write; the target project takes them through promote. - R016: a query binding names a named query the project does not have.
pdk pages list|add|remove(andpdk_pages): the routes of the sandbox's page configuration, so anavto a
page has somewhere to go.- When a step navigates to a URL without a route,
inspectsays so instead of failing to open the view. - Simulated UDTs: definitions under
[default]_types_/PDK/(memory members, bindings only to parameters) and
instances underPDK/. - Simulated history:
historyEnabledonPDK/memory tags, andpdk tags history <path> <values> --every 1m
(historyinpdk_tags; module routesGET/POST /history) stores synthetic points through
system.tag.storeTagHistory, so trends and tag-history bindings have data.
Changed
- Closing PDK's browser also closes its Perspective sessions on the gateway (
DELETE /sessions), so they no longer
hold a session slot until they time out. - When an
--actstep navigates,inspectreports the view the page shows afterwards instead of X002. pdk_screenshotis declared destructive in MCP, likepdk_inspect, sinceactruns the view's scripts.