@polyxd/verifier 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE
CHANGED
|
@@ -2,7 +2,9 @@ Polyxd
|
|
|
2
2
|
Copyright 2026 the Polyxd authors
|
|
3
3
|
|
|
4
4
|
This product includes software developed at Polyxd, licensed under the Apache
|
|
5
|
-
License, Version 2.0 (see LICENSE)
|
|
5
|
+
License, Version 2.0 (see LICENSE), except Polyxd Studio (apps/studio), which is
|
|
6
|
+
licensed under the Functional Source License, Version 1.1, ALv2 Future License
|
|
7
|
+
(see apps/studio/LICENSE).
|
|
6
8
|
|
|
7
9
|
It also includes material from the projects below. Each is used under its own
|
|
8
10
|
licence, and each licence is included in full beside the material it covers.
|
|
@@ -199,6 +201,8 @@ Apache-2.0: playwright
|
|
|
199
201
|
MIT: react, react-dom, radix-ui, ajv, ajv-formats, vite, @vitejs/plugin-react,
|
|
200
202
|
marked, lenis, @types/react, @types/react-dom
|
|
201
203
|
MIT OR Apache-2.0: wrangler, @cloudflare/workers-types
|
|
204
|
+
Apache-2.0 AND MIT: posthog-js (the analytics on polyxd.com and in Studio, only
|
|
205
|
+
when a PostHog key is set; the site's build copies it out of node_modules)
|
|
202
206
|
|
|
203
207
|
Two need a word.
|
|
204
208
|
|
package/harness/README.md
CHANGED
|
@@ -24,9 +24,10 @@ The verifier renders a document by opening a **harness**: a page that draws one
|
|
|
24
24
|
```ts
|
|
25
25
|
window.__pxdActions = []; // every ActionEvent, in order: { name, context, source }
|
|
26
26
|
window.__pxdDismissed = 0; // incremented on each ui.dismiss
|
|
27
|
+
window.__pxdEvents = []; // optional: every semantic event (schema/event.schema.json), in order
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
The agent tasks check `__pxdActions` for the expected capability event with the expected (resolved) context.
|
|
30
|
+
The agent tasks check `__pxdActions` for the expected capability event with the expected (resolved) context. The shipped harnesses also pass `onEvent`, so every rendered check runs with semantic events on, and the verifier's tests compare the events both renderers emit for the same clicks.
|
|
30
31
|
|
|
31
32
|
4. **Say when it is ready.** After the first paint, set `window.__pxdReady = true`. The shipped harnesses do it two animation frames after mounting. The verifier then waits for any finite CSS animation to finish (an entrance fade) before measuring, so a renderer need not avoid them.
|
|
32
33
|
|