@nac3/runtime 2.6.0 → 2.9.0
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/CHANGELOG.md +938 -0
- package/README.md +111 -3
- package/SPEC.md +1405 -30
- package/contract-head.json +4 -4
- package/dist/cli-harness.mjs +468 -0
- package/dist/cli-levels.json +56 -15
- package/dist/cli-lint.mjs +967 -24
- package/dist/cli-url.mjs +234 -80
- package/dist/cli.js +317 -12
- package/dist/dom-harness.mjs +578 -0
- package/dist/nac-chat-client.browser.js +47 -6
- package/dist/nac-chat-client.cjs +47 -6
- package/dist/nac-chat-client.mjs +47 -6
- package/dist/nac-mcp-interop.browser.js +556 -0
- package/dist/nac-mcp-interop.cjs +561 -0
- package/dist/nac-mcp-interop.d.ts +57 -0
- package/dist/nac-mcp-interop.mjs +561 -0
- package/dist/nac-v2-extensions.browser.js +359 -18
- package/dist/nac-v2-extensions.cjs +359 -18
- package/dist/nac-v2-extensions.d.ts +1 -1
- package/dist/nac-v2-extensions.mjs +359 -18
- package/dist/nac.browser.js +1970 -68
- package/dist/nac.cjs +1970 -68
- package/dist/nac.d.ts +78 -2
- package/dist/nac.mjs +1970 -68
- package/package.json +51 -9
package/package.json
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nac3/runtime",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.9.0",
|
|
4
|
+
"description": "a few HTML attributes that let AI agents, voice runners, RPA bots and screen readers drive any web UI by name instead of by CSS selector",
|
|
5
5
|
"keywords": [
|
|
6
|
+
"nac-spec",
|
|
7
|
+
"nac3",
|
|
6
8
|
"nac",
|
|
7
9
|
"native-agent-contract",
|
|
8
|
-
"agent",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"automation",
|
|
10
|
+
"agent-protocol",
|
|
11
|
+
"ai-agents",
|
|
12
|
+
"agentic-ai",
|
|
13
|
+
"browser-automation",
|
|
14
|
+
"web-automation",
|
|
15
|
+
"ui-automation",
|
|
16
|
+
"rpa",
|
|
17
|
+
"voice-ui",
|
|
18
|
+
"screen-reader",
|
|
19
|
+
"a11y",
|
|
12
20
|
"accessibility",
|
|
13
|
-
"
|
|
21
|
+
"semantic-html",
|
|
22
|
+
"html-attributes",
|
|
14
23
|
"ui-contract",
|
|
24
|
+
"specification",
|
|
15
25
|
"yujin"
|
|
16
26
|
],
|
|
17
27
|
"homepage": "https://yujin.app/nac-spec/",
|
|
@@ -50,6 +60,13 @@
|
|
|
50
60
|
"browser": "./dist/nac-chat-client.browser.js",
|
|
51
61
|
"default": "./dist/nac-chat-client.mjs"
|
|
52
62
|
},
|
|
63
|
+
"./mcp-interop": {
|
|
64
|
+
"types": "./dist/nac-mcp-interop.d.ts",
|
|
65
|
+
"import": "./dist/nac-mcp-interop.mjs",
|
|
66
|
+
"require": "./dist/nac-mcp-interop.cjs",
|
|
67
|
+
"browser": "./dist/nac-mcp-interop.browser.js",
|
|
68
|
+
"default": "./dist/nac-mcp-interop.mjs"
|
|
69
|
+
},
|
|
53
70
|
"./package.json": "./package.json"
|
|
54
71
|
},
|
|
55
72
|
"bin": {
|
|
@@ -67,23 +84,48 @@
|
|
|
67
84
|
],
|
|
68
85
|
"scripts": {
|
|
69
86
|
"build": "node ./build.mjs",
|
|
70
|
-
"test": "node ./test/smoke.mjs && node ./test/v22.mjs && node ./test/v23-invoke.mjs && node ./test/v23-shadow.mjs && node ./test/v23-capabilities.mjs && node ./test/v23-editor.mjs && node ./test/v23-interop.mjs && node ./test/stage2-disambiguation.mjs && node ./test/stage7-strict-resolution.mjs && node ./test/stage8-plugin-extension.mjs && node ./test/stage9-sync-plugin.mjs && node ./test/stage10-authority-sudo.mjs && node ./test/stage11-plugin-id-dedup.mjs && node ./test/stage12-snapshot-versioning.mjs && node ./test/stage13-plugin-hooks.mjs",
|
|
87
|
+
"test": "node ./test/smoke.mjs && node ./test/lint-rules.mjs && node ./test/cli-harness.mjs && node ./test/battery-coverage.mjs && node ./test/v22.mjs && node ./test/v23-invoke.mjs && node ./test/v23-shadow.mjs && node ./test/v23-capabilities.mjs && node ./test/v23-editor.mjs && node ./test/v23-interop.mjs && node ./test/roles-click.mjs && node ./test/role-vocabulary.mjs && node ./test/autoregister-roles.mjs && node ./test/drag-reorder.mjs && node ./test/options-resolver.mjs && node ./test/i18n-catalog.mjs && node ./test/visibility-editor.mjs && node ./test/data-table.mjs && node ./test/narrate-context.mjs && node ./test/effect-trust.mjs && node ./test/stage1-audio.mjs && node ./test/stage2-disambiguation.mjs && node ./test/stage3-backend.mjs && node ./test/stage4-calls.mjs && node ./test/stage6-ack.mjs && node ./test/stage6b-longtail.mjs && node ./test/stage7-strict-resolution.mjs && node ./test/stage8-plugin-extension.mjs && node ./test/stage9-sync-plugin.mjs && node ./test/stage10-authority-sudo.mjs && node ./test/stage11-plugin-id-dedup.mjs && node ./test/stage12-snapshot-versioning.mjs && node ./test/stage13-plugin-hooks.mjs && node ./test/manifest-hmac.mjs && node ./test/dispatch-source.mjs && node ./test/frozen-promises.mjs && node ./test/undrivable-gate.mjs && node ./test/headless-profile.mjs && node ./test/mcp-interop-entry.mjs",
|
|
71
88
|
"test:smoke": "node ./test/smoke.mjs",
|
|
89
|
+
"test:lint-rules": "node ./test/lint-rules.mjs",
|
|
90
|
+
"test:cli-harness": "node ./test/cli-harness.mjs",
|
|
91
|
+
"test:battery-coverage": "node ./test/battery-coverage.mjs",
|
|
72
92
|
"test:v22": "node ./test/v22.mjs",
|
|
73
93
|
"test:v23": "node ./test/v23-invoke.mjs",
|
|
74
94
|
"test:v23-shadow": "node ./test/v23-shadow.mjs",
|
|
75
95
|
"test:v23-caps": "node ./test/v23-capabilities.mjs",
|
|
76
96
|
"test:v23-editor": "node ./test/v23-editor.mjs",
|
|
77
97
|
"test:v23-interop": "node ./test/v23-interop.mjs",
|
|
98
|
+
"test:stage1": "node ./test/stage1-audio.mjs",
|
|
78
99
|
"test:stage2": "node ./test/stage2-disambiguation.mjs",
|
|
100
|
+
"test:stage3": "node ./test/stage3-backend.mjs",
|
|
101
|
+
"test:stage4": "node ./test/stage4-calls.mjs",
|
|
102
|
+
"test:stage6": "node ./test/stage6-ack.mjs",
|
|
103
|
+
"test:stage6b": "node ./test/stage6b-longtail.mjs",
|
|
79
104
|
"test:stage7": "node ./test/stage7-strict-resolution.mjs",
|
|
80
105
|
"test:stage8": "node ./test/stage8-plugin-extension.mjs",
|
|
81
106
|
"test:stage9": "node ./test/stage9-sync-plugin.mjs",
|
|
82
107
|
"test:stage10": "node ./test/stage10-authority-sudo.mjs",
|
|
83
108
|
"test:stage11": "node ./test/stage11-plugin-id-dedup.mjs",
|
|
109
|
+
"test:stage12": "node ./test/stage12-snapshot-versioning.mjs",
|
|
84
110
|
"test:stage13": "node ./test/stage13-plugin-hooks.mjs",
|
|
85
111
|
"prepublishOnly": "npm run build && node ../scripts/check-version-coherence.mjs && npm test",
|
|
86
|
-
"postpublish": "node ../scripts/verify-npm-publication.mjs --mode post-publish --retries
|
|
112
|
+
"postpublish": "node ../scripts/verify-npm-publication.mjs --mode post-publish --retries 40 --retry-delay 15000",
|
|
113
|
+
"test:roles": "node ./test/roles-click.mjs",
|
|
114
|
+
"test:role-vocabulary": "node ./test/role-vocabulary.mjs",
|
|
115
|
+
"test:autoregister-roles": "node ./test/autoregister-roles.mjs",
|
|
116
|
+
"test:drag": "node ./test/drag-reorder.mjs",
|
|
117
|
+
"test:options": "node ./test/options-resolver.mjs",
|
|
118
|
+
"test:i18n": "node ./test/i18n-catalog.mjs",
|
|
119
|
+
"test:visibility": "node ./test/visibility-editor.mjs",
|
|
120
|
+
"test:dt": "node ./test/data-table.mjs",
|
|
121
|
+
"test:narrate": "node ./test/narrate-context.mjs",
|
|
122
|
+
"test:effect": "node ./test/effect-trust.mjs",
|
|
123
|
+
"test:hmac": "node ./test/manifest-hmac.mjs",
|
|
124
|
+
"test:source": "node ./test/dispatch-source.mjs",
|
|
125
|
+
"test:frozen": "node ./test/frozen-promises.mjs",
|
|
126
|
+
"test:undrivable": "node ./test/undrivable-gate.mjs",
|
|
127
|
+
"test:headless": "node ./test/headless-profile.mjs",
|
|
128
|
+
"test:mcp-interop": "node ./test/mcp-interop-entry.mjs"
|
|
87
129
|
},
|
|
88
130
|
"engines": {
|
|
89
131
|
"node": ">=18"
|