@nac3/runtime 2.8.0 → 2.9.1
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 +198 -0
- package/README.md +10 -0
- package/SPEC.md +45 -4
- package/contract-head.json +4 -4
- package/dist/cli-levels.json +2 -2
- package/dist/cli-lint.mjs +255 -6
- package/dist/cli.js +6 -3
- package/dist/nac-chat-client.browser.js +19 -6
- package/dist/nac-chat-client.cjs +19 -6
- package/dist/nac-chat-client.mjs +19 -6
- package/dist/nac-mcp-interop.browser.js +636 -0
- package/dist/nac-mcp-interop.cjs +641 -0
- package/dist/nac-mcp-interop.d.ts +57 -0
- package/dist/nac-mcp-interop.mjs +641 -0
- package/dist/nac-v2-extensions.d.ts +1 -1
- package/dist/nac.browser.js +304 -69
- package/dist/nac.cjs +304 -69
- package/dist/nac.d.ts +1 -1
- package/dist/nac.mjs +304 -69
- package/package.json +28 -10
package/package.json
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nac3/runtime",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.9.1",
|
|
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,7 +84,7 @@
|
|
|
67
84
|
],
|
|
68
85
|
"scripts": {
|
|
69
86
|
"build": "node ./build.mjs",
|
|
70
|
-
"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",
|
|
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",
|
|
72
89
|
"test:lint-rules": "node ./test/lint-rules.mjs",
|
|
73
90
|
"test:cli-harness": "node ./test/cli-harness.mjs",
|
|
@@ -92,7 +109,7 @@
|
|
|
92
109
|
"test:stage12": "node ./test/stage12-snapshot-versioning.mjs",
|
|
93
110
|
"test:stage13": "node ./test/stage13-plugin-hooks.mjs",
|
|
94
111
|
"prepublishOnly": "npm run build && node ../scripts/check-version-coherence.mjs && npm test",
|
|
95
|
-
"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",
|
|
96
113
|
"test:roles": "node ./test/roles-click.mjs",
|
|
97
114
|
"test:role-vocabulary": "node ./test/role-vocabulary.mjs",
|
|
98
115
|
"test:autoregister-roles": "node ./test/autoregister-roles.mjs",
|
|
@@ -107,7 +124,8 @@
|
|
|
107
124
|
"test:source": "node ./test/dispatch-source.mjs",
|
|
108
125
|
"test:frozen": "node ./test/frozen-promises.mjs",
|
|
109
126
|
"test:undrivable": "node ./test/undrivable-gate.mjs",
|
|
110
|
-
"test:headless": "node ./test/headless-profile.mjs"
|
|
127
|
+
"test:headless": "node ./test/headless-profile.mjs",
|
|
128
|
+
"test:mcp-interop": "node ./test/mcp-interop-entry.mjs"
|
|
111
129
|
},
|
|
112
130
|
"engines": {
|
|
113
131
|
"node": ">=18"
|