lighthouse 13.4.1-dev.20260825 → 13.4.1-dev.20260901
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/core/audits/accessibility/accesskeys.js +1 -1
- package/core/audits/accessibility/aria-allowed-attr.js +1 -1
- package/core/audits/accessibility/aria-allowed-role.js +1 -1
- package/core/audits/accessibility/aria-command-name.js +1 -1
- package/core/audits/accessibility/aria-conditional-attr.js +1 -1
- package/core/audits/accessibility/aria-deprecated-role.js +1 -1
- package/core/audits/accessibility/aria-dialog-name.js +1 -1
- package/core/audits/accessibility/aria-hidden-body.js +1 -1
- package/core/audits/accessibility/aria-hidden-focus.js +1 -1
- package/core/audits/accessibility/aria-input-field-name.js +1 -1
- package/core/audits/accessibility/aria-meter-name.js +1 -1
- package/core/audits/accessibility/aria-progressbar-name.js +1 -1
- package/core/audits/accessibility/aria-prohibited-attr.js +1 -1
- package/core/audits/accessibility/aria-required-attr.js +1 -1
- package/core/audits/accessibility/aria-required-children.js +1 -1
- package/core/audits/accessibility/aria-required-parent.js +1 -1
- package/core/audits/accessibility/aria-roles.js +1 -1
- package/core/audits/accessibility/aria-text.js +1 -1
- package/core/audits/accessibility/aria-toggle-field-name.js +1 -1
- package/core/audits/accessibility/aria-tooltip-name.js +1 -1
- package/core/audits/accessibility/aria-treeitem-name.js +1 -1
- package/core/audits/accessibility/aria-valid-attr-value.js +1 -1
- package/core/audits/accessibility/aria-valid-attr.js +1 -1
- package/core/audits/accessibility/autocomplete-valid.js +1 -1
- package/core/audits/accessibility/button-name.js +1 -1
- package/core/audits/accessibility/bypass.js +1 -1
- package/core/audits/accessibility/color-contrast.js +1 -1
- package/core/audits/accessibility/definition-list.js +1 -1
- package/core/audits/accessibility/dlitem.js +1 -1
- package/core/audits/accessibility/document-title.js +1 -1
- package/core/audits/accessibility/duplicate-id-aria.js +1 -1
- package/core/audits/accessibility/empty-heading.js +1 -1
- package/core/audits/accessibility/form-field-multiple-labels.js +1 -1
- package/core/audits/accessibility/frame-title.js +1 -1
- package/core/audits/accessibility/heading-order.js +1 -1
- package/core/audits/accessibility/html-has-lang.js +1 -1
- package/core/audits/accessibility/html-lang-valid.js +1 -1
- package/core/audits/accessibility/html-xml-lang-mismatch.js +1 -1
- package/core/audits/accessibility/identical-links-same-purpose.js +1 -1
- package/core/audits/accessibility/image-alt.js +1 -1
- package/core/audits/accessibility/image-redundant-alt.js +1 -1
- package/core/audits/accessibility/input-button-name.js +1 -1
- package/core/audits/accessibility/input-image-alt.js +1 -1
- package/core/audits/accessibility/label-content-name-mismatch.js +1 -1
- package/core/audits/accessibility/label.js +1 -1
- package/core/audits/accessibility/landmark-one-main.js +1 -1
- package/core/audits/accessibility/link-in-text-block.js +1 -1
- package/core/audits/accessibility/link-name.js +1 -1
- package/core/audits/accessibility/list.js +1 -1
- package/core/audits/accessibility/listitem.js +1 -1
- package/core/audits/accessibility/meta-refresh.js +1 -1
- package/core/audits/accessibility/meta-viewport.js +1 -1
- package/core/audits/accessibility/object-alt.js +1 -1
- package/core/audits/accessibility/presentation-role-conflict.js +1 -1
- package/core/audits/accessibility/select-name.js +1 -1
- package/core/audits/accessibility/skip-link.js +1 -1
- package/core/audits/accessibility/svg-img-alt.js +1 -1
- package/core/audits/accessibility/tabindex.js +1 -1
- package/core/audits/accessibility/table-duplicate-name.js +1 -1
- package/core/audits/accessibility/table-fake-caption.js +1 -1
- package/core/audits/accessibility/target-size.js +1 -1
- package/core/audits/accessibility/td-has-header.js +1 -1
- package/core/audits/accessibility/td-headers-attr.js +1 -1
- package/core/audits/accessibility/th-has-data-cells.js +1 -1
- package/core/audits/accessibility/valid-lang.js +1 -1
- package/core/audits/accessibility/video-caption.js +1 -1
- package/core/audits/agentic/ard-schema.d.ts +19 -0
- package/core/audits/agentic/ard-schema.js +135 -0
- package/core/audits/baseline.d.ts +10 -5
- package/core/config/agentic-browsing-config.d.ts +2 -0
- package/core/config/agentic-browsing-config.js +13 -1
- package/core/config/default-config.js +13 -1
- package/core/gather/driver/execution-context.js +0 -2
- package/core/gather/driver/wait-for-condition.js +0 -6
- package/core/gather/fetcher.d.ts +9 -2
- package/core/gather/fetcher.js +30 -4
- package/core/gather/gatherers/accessibility.js +0 -2
- package/core/gather/gatherers/agentic/ard.d.ts +30 -0
- package/core/gather/gatherers/agentic/ard.js +125 -0
- package/core/gather/gatherers/anchor-elements.js +0 -2
- package/core/gather/gatherers/full-page-screenshot.js +0 -4
- package/core/gather/gatherers/iframe-elements.js +0 -2
- package/core/gather/gatherers/image-elements.js +0 -12
- package/core/gather/gatherers/inputs.js +0 -2
- package/core/gather/gatherers/link-elements.js +0 -2
- package/core/gather/gatherers/meta-elements.js +0 -3
- package/core/gather/gatherers/seo/robots-txt.d.ts +1 -0
- package/core/gather/gatherers/seo/robots-txt.js +3 -0
- package/core/gather/gatherers/stacks.js +0 -2
- package/core/gather/gatherers/trace-elements.js +0 -2
- package/core/gather/gatherers/viewport-dimensions.js +0 -2
- package/core/gather/session.js +1 -0
- package/core/lib/baseline/web-features-data.json +26 -13
- package/core/lib/baseline/web-features-metadata.json +1 -1
- package/core/lib/page-functions.d.ts +0 -3
- package/core/lib/page-functions.js +0 -3
- package/core/lib/rect-helpers.js +0 -8
- package/package.json +16 -11
- package/shared/localization/locales/en-US.json +99 -66
- package/shared/localization/locales/en-XL.json +99 -66
- package/third-party/ard/LICENSE +201 -0
- package/third-party/ard/README.md +27 -0
- package/third-party/ard/ard-test.d.ts +2 -0
- package/third-party/ard/ard-test.js +358 -0
- package/third-party/ard/ard.d.ts +34 -0
- package/third-party/ard/ard.js +204 -0
- package/third-party/ard/schema-validator.d.ts +20 -0
- package/third-party/ard/schema-validator.js +1700 -0
- package/third-party/ard/spec/schemas/ai-catalog.schema.json +292 -0
- package/tsconfig.json +1 -0
- package/types/artifacts.d.ts +14 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/ards-project/ard-spec/main/spec/schemas/ai-catalog.schema.json",
|
|
4
|
+
"title": "AICatalogManifest",
|
|
5
|
+
"description": "JSON Schema for the ai-catalog.json capability manifest, defining how AI artifacts are advertised.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"specVersion",
|
|
9
|
+
"entries"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"specVersion": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Version of the ai-catalog specification used in this manifest.",
|
|
15
|
+
"enum": [
|
|
16
|
+
"1.0"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"host": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "Information about the catalog publisher or hosting entity.",
|
|
22
|
+
"required": [
|
|
23
|
+
"displayName"
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"displayName": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Human-readable name of the host."
|
|
29
|
+
},
|
|
30
|
+
"identifier": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Cryptographic or verifiable identifier of the host (e.g. did:web:domain.com)."
|
|
33
|
+
},
|
|
34
|
+
"documentationUrl": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "uri",
|
|
37
|
+
"description": "URL to publisher documentation."
|
|
38
|
+
},
|
|
39
|
+
"logoUrl": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"format": "uri",
|
|
42
|
+
"description": "URL to the publisher's logo image."
|
|
43
|
+
},
|
|
44
|
+
"trustManifest": {
|
|
45
|
+
"$ref": "#/$defs/trustManifest"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
},
|
|
50
|
+
"entries": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"description": "List of AI agent or capability catalog entries.",
|
|
53
|
+
"items": {
|
|
54
|
+
"$ref": "#/$defs/catalogEntry"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"additionalProperties": false,
|
|
59
|
+
"$defs": {
|
|
60
|
+
"catalogEntry": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"description": "A single AI capability entry within the catalog.",
|
|
63
|
+
"required": [
|
|
64
|
+
"identifier",
|
|
65
|
+
"displayName",
|
|
66
|
+
"type"
|
|
67
|
+
],
|
|
68
|
+
"oneOf": [
|
|
69
|
+
{
|
|
70
|
+
"required": [
|
|
71
|
+
"url"
|
|
72
|
+
],
|
|
73
|
+
"not": {
|
|
74
|
+
"required": [
|
|
75
|
+
"data"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"required": [
|
|
81
|
+
"data"
|
|
82
|
+
],
|
|
83
|
+
"not": {
|
|
84
|
+
"required": [
|
|
85
|
+
"url"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"identifier": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"pattern": "^urn:air:[a-zA-Z0-9.-]+(:[a-zA-Z0-9._-]+)+$",
|
|
94
|
+
"description": "RFC 8141-compliant unique logical URN formatted as: urn:air:<publisher>:<namespace>:<agent-name>"
|
|
95
|
+
},
|
|
96
|
+
"displayName": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "Human-friendly display name."
|
|
99
|
+
},
|
|
100
|
+
"type": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "IANA Media Type indicating the specific protocol wrapper or payload structure (e.g. application/mcp-server-card+json)."
|
|
103
|
+
},
|
|
104
|
+
"url": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"format": "uri",
|
|
107
|
+
"description": "HTTP URL reference to retrieve the full artifact document."
|
|
108
|
+
},
|
|
109
|
+
"data": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"description": "Embedded JSON object containing the complete artifact specification inline."
|
|
112
|
+
},
|
|
113
|
+
"description": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "Brief natural-language description of the capability."
|
|
116
|
+
},
|
|
117
|
+
"tags": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"description": "Tags or keywords for basic categorizing and filtering."
|
|
123
|
+
},
|
|
124
|
+
"capabilities": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"description": "Explicit high-performance indexing tags representing skills, tools, or functions (e.g. ['WeatherTool', 'ForecastTool'])."
|
|
130
|
+
},
|
|
131
|
+
"representativeQueries": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"minItems": 2,
|
|
134
|
+
"maxItems": 5,
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"description": "Representative natural-language search queries used for indexing and vector embedding generation."
|
|
139
|
+
},
|
|
140
|
+
"version": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "Semantic version of the capability."
|
|
143
|
+
},
|
|
144
|
+
"updatedAt": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"format": "date-time",
|
|
147
|
+
"description": "ISO 8601 timestamp of the last modification."
|
|
148
|
+
},
|
|
149
|
+
"metadata": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"description": "Arbitrary key-value pairs for custom extensions.",
|
|
152
|
+
"additionalProperties": {
|
|
153
|
+
"type": [
|
|
154
|
+
"string",
|
|
155
|
+
"number",
|
|
156
|
+
"boolean",
|
|
157
|
+
"null"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"trustManifest": {
|
|
162
|
+
"$ref": "#/$defs/trustManifest"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"trustManifest": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"description": "Zero-trust security, identity, and compliance envelope metadata.",
|
|
169
|
+
"required": [
|
|
170
|
+
"identity"
|
|
171
|
+
],
|
|
172
|
+
"properties": {
|
|
173
|
+
"identity": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "Globally unique cryptographic workload identifier principal (e.g. SPIFFE ID or DID URI)."
|
|
176
|
+
},
|
|
177
|
+
"identityType": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"enum": [
|
|
180
|
+
"spiffe",
|
|
181
|
+
"did",
|
|
182
|
+
"https",
|
|
183
|
+
"other"
|
|
184
|
+
],
|
|
185
|
+
"description": "Hint representing the cryptographic format of the identity."
|
|
186
|
+
},
|
|
187
|
+
"trustSchema": {
|
|
188
|
+
"$ref": "#/$defs/trustSchema"
|
|
189
|
+
},
|
|
190
|
+
"attestations": {
|
|
191
|
+
"type": "array",
|
|
192
|
+
"description": "List of verifiable claims (SOC 2 audits, compliance statements, HIPAA checks).",
|
|
193
|
+
"items": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"required": [
|
|
196
|
+
"type",
|
|
197
|
+
"uri",
|
|
198
|
+
"mediaType"
|
|
199
|
+
],
|
|
200
|
+
"properties": {
|
|
201
|
+
"type": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "Attestation standard type (e.g., SOC2-Type2, HIPAA)."
|
|
204
|
+
},
|
|
205
|
+
"uri": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"format": "uri",
|
|
208
|
+
"description": "Location of the attestation certificate or document."
|
|
209
|
+
},
|
|
210
|
+
"mediaType": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "Format of the attestation document (e.g. application/pdf, text/html)."
|
|
213
|
+
},
|
|
214
|
+
"digest": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"description": "Cryptographic sha256 digest for document integrity verification."
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"additionalProperties": false
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"provenance": {
|
|
223
|
+
"type": "array",
|
|
224
|
+
"description": "Cryptographic lineage trail of the artifact.",
|
|
225
|
+
"items": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"required": [
|
|
228
|
+
"relation",
|
|
229
|
+
"sourceId"
|
|
230
|
+
],
|
|
231
|
+
"properties": {
|
|
232
|
+
"relation": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"enum": [
|
|
235
|
+
"derivedFrom",
|
|
236
|
+
"publishedFrom",
|
|
237
|
+
"copiedFrom"
|
|
238
|
+
],
|
|
239
|
+
"description": "Lineage relation."
|
|
240
|
+
},
|
|
241
|
+
"sourceId": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "Identifier of the source artifact."
|
|
244
|
+
},
|
|
245
|
+
"sourceDigest": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Optional sha256 digest for safety."
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"additionalProperties": false
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"signature": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Detached JWS signature generated over the fields of the trustManifest."
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"additionalProperties": false
|
|
259
|
+
},
|
|
260
|
+
"trustSchema": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"description": "Describes the trust framework applied to the artifact.",
|
|
263
|
+
"required": [
|
|
264
|
+
"identifier",
|
|
265
|
+
"version"
|
|
266
|
+
],
|
|
267
|
+
"properties": {
|
|
268
|
+
"identifier": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"description": "Unique identifier of the trust schema/framework (e.g. URN)."
|
|
271
|
+
},
|
|
272
|
+
"version": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"description": "Version of the trust schema/framework."
|
|
275
|
+
},
|
|
276
|
+
"governanceUri": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"format": "uri",
|
|
279
|
+
"description": "URI pointing to the governance policy document."
|
|
280
|
+
},
|
|
281
|
+
"verificationMethods": {
|
|
282
|
+
"type": "array",
|
|
283
|
+
"items": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"description": "Verification methods supported by the schema (e.g., ['did', 'x509', 'dns-01'])."
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"additionalProperties": false
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
package/tsconfig.json
CHANGED
package/types/artifacts.d.ts
CHANGED
|
@@ -138,6 +138,20 @@ export interface GathererArtifacts extends PublicGathererArtifacts {
|
|
|
138
138
|
RobotsTxt: { status: number | null, content: string | null, errorMessage?: string };
|
|
139
139
|
/** Information on fetching and the content of the /llm.txt file. */
|
|
140
140
|
LlmsTxt: { status: number | null, content: string | null, errorMessage?: string };
|
|
141
|
+
/** Information on fetching and the content of the /ai-catalog.json manifest file. */
|
|
142
|
+
AgentResourceDiscovery: {
|
|
143
|
+
status: number | null;
|
|
144
|
+
content: string | null;
|
|
145
|
+
headers: Record<string, string> | null;
|
|
146
|
+
catalogUrl: string | null;
|
|
147
|
+
discoverySignals: {
|
|
148
|
+
robotsTxtAgentmap: string | null;
|
|
149
|
+
htmlLink: string | null;
|
|
150
|
+
httpHeaderLink: string | null;
|
|
151
|
+
wellKnown: string;
|
|
152
|
+
};
|
|
153
|
+
errorMessage?: string;
|
|
154
|
+
};
|
|
141
155
|
/** Source maps of scripts executed in the page. */
|
|
142
156
|
SourceMaps: Array<Artifacts.SourceMap>;
|
|
143
157
|
/** Information on detected tech stacks (e.g. JS libraries) used by the page. */
|