chrome-devtools-frontend 1.0.1624409 → 1.0.1624583
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/.agents/skills/foundation-test-migration/SKILL.md +1 -1
- package/front_end/core/host/AidaClient.ts +6 -5
- package/front_end/core/host/AidaClientTypes.ts +3 -1
- package/front_end/core/host/DispatchHttpRequestClient.ts +6 -3
- package/front_end/core/platform/api/HostRuntime.ts +3 -0
- package/front_end/core/platform/browser/HostRuntime.ts +10 -0
- package/front_end/core/platform/node/HostRuntime.ts +10 -0
- package/front_end/core/root/Runtime.ts +6 -5
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +2 -3
- package/front_end/models/ai_code_generation/AiCodeGeneration.ts +2 -3
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +8 -4
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +7 -5
- package/front_end/panels/ai_assistance/components/ChatView.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -2
- package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +6 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -1
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +5 -1
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +5176 -5104
- package/front_end/third_party/lighthouse/locales/ar-XB.json +72 -36
- package/front_end/third_party/lighthouse/locales/ar.json +72 -36
- package/front_end/third_party/lighthouse/locales/bg.json +72 -36
- package/front_end/third_party/lighthouse/locales/ca.json +72 -36
- package/front_end/third_party/lighthouse/locales/cs.json +72 -36
- package/front_end/third_party/lighthouse/locales/da.json +74 -38
- package/front_end/third_party/lighthouse/locales/de.json +72 -36
- package/front_end/third_party/lighthouse/locales/el.json +73 -37
- package/front_end/third_party/lighthouse/locales/en-GB.json +74 -38
- package/front_end/third_party/lighthouse/locales/en-US.json +245 -17
- package/front_end/third_party/lighthouse/locales/en-XL.json +245 -17
- package/front_end/third_party/lighthouse/locales/es-419.json +72 -36
- package/front_end/third_party/lighthouse/locales/es.json +73 -37
- package/front_end/third_party/lighthouse/locales/fi.json +72 -36
- package/front_end/third_party/lighthouse/locales/fil.json +74 -38
- package/front_end/third_party/lighthouse/locales/fr.json +162 -126
- package/front_end/third_party/lighthouse/locales/he.json +74 -38
- package/front_end/third_party/lighthouse/locales/hi.json +73 -37
- package/front_end/third_party/lighthouse/locales/hr.json +72 -36
- package/front_end/third_party/lighthouse/locales/hu.json +73 -37
- package/front_end/third_party/lighthouse/locales/id.json +74 -38
- package/front_end/third_party/lighthouse/locales/it.json +72 -36
- package/front_end/third_party/lighthouse/locales/ja.json +72 -36
- package/front_end/third_party/lighthouse/locales/ko.json +72 -36
- package/front_end/third_party/lighthouse/locales/lt.json +72 -36
- package/front_end/third_party/lighthouse/locales/lv.json +72 -36
- package/front_end/third_party/lighthouse/locales/nl.json +73 -37
- package/front_end/third_party/lighthouse/locales/no.json +72 -36
- package/front_end/third_party/lighthouse/locales/pl.json +72 -36
- package/front_end/third_party/lighthouse/locales/pt-PT.json +72 -36
- package/front_end/third_party/lighthouse/locales/pt.json +74 -38
- package/front_end/third_party/lighthouse/locales/ro.json +72 -36
- package/front_end/third_party/lighthouse/locales/ru.json +72 -36
- package/front_end/third_party/lighthouse/locales/sk.json +72 -36
- package/front_end/third_party/lighthouse/locales/sl.json +72 -36
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +73 -37
- package/front_end/third_party/lighthouse/locales/sr.json +73 -37
- package/front_end/third_party/lighthouse/locales/sv.json +75 -39
- package/front_end/third_party/lighthouse/locales/ta.json +73 -37
- package/front_end/third_party/lighthouse/locales/te.json +72 -36
- package/front_end/third_party/lighthouse/locales/th.json +73 -37
- package/front_end/third_party/lighthouse/locales/tr.json +72 -36
- package/front_end/third_party/lighthouse/locales/uk.json +72 -36
- package/front_end/third_party/lighthouse/locales/vi.json +74 -38
- package/front_end/third_party/lighthouse/locales/zh-HK.json +72 -36
- package/front_end/third_party/lighthouse/locales/zh-TW.json +74 -38
- package/front_end/third_party/lighthouse/locales/zh.json +75 -39
- package/front_end/third_party/lighthouse/report/bundle.js +2 -1
- package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +6 -2
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +4 -1
- package/front_end/ui/legacy/SuggestBox.ts +1 -0
- package/front_end/ui/legacy/TextPrompt.ts +2 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
- package/package.json +9 -8
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as Common from '../../../core/common/common.js';
|
|
6
6
|
import * as Host from '../../../core/host/host.js';
|
|
7
7
|
import * as i18n from '../../../core/i18n/i18n.js';
|
|
8
|
+
import * as Root from '../../../core/root/root.js';
|
|
8
9
|
import * as AiCodeCompletion from '../../../models/ai_code_completion/ai_code_completion.js';
|
|
9
10
|
import * as AiCodeGeneration from '../../../models/ai_code_generation/ai_code_generation.js';
|
|
10
11
|
import * as PanelCommon from '../../../panels/common/common.js';
|
|
@@ -158,8 +159,11 @@ export class AiCodeCompletionProvider {
|
|
|
158
159
|
return;
|
|
159
160
|
}
|
|
160
161
|
this.#aiCodeCompletion = new AiCodeCompletion.AiCodeCompletion.AiCodeCompletion(
|
|
161
|
-
{
|
|
162
|
-
|
|
162
|
+
{
|
|
163
|
+
aidaClient: this.#aidaClient,
|
|
164
|
+
serverSideLoggingEnabled: !Root.Runtime.hostConfig.aidaAvailability?.disallowLogging,
|
|
165
|
+
},
|
|
166
|
+
this.#aiCodeCompletionConfig.panel, undefined, this.#aiCodeCompletionConfig.completionContext.stopSequences);
|
|
163
167
|
this.#aiCodeCompletionConfig.onFeatureEnabled();
|
|
164
168
|
}
|
|
165
169
|
|
|
@@ -119,7 +119,10 @@ export class AiCodeGenerationProvider {
|
|
|
119
119
|
if (this.#aiCodeGeneration) {
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
|
-
this.#aiCodeGeneration = new AiCodeGeneration.AiCodeGeneration.AiCodeGeneration({
|
|
122
|
+
this.#aiCodeGeneration = new AiCodeGeneration.AiCodeGeneration.AiCodeGeneration({
|
|
123
|
+
aidaClient: this.#aidaClient,
|
|
124
|
+
serverSideLoggingEnabled: !Root.Runtime.hostConfig.aidaAvailability?.disallowLogging,
|
|
125
|
+
});
|
|
123
126
|
this.#editor?.dispatch({
|
|
124
127
|
effects:
|
|
125
128
|
[this.#generationTeaserCompartment.reconfigure([aiCodeGenerationTeaserExtension(this.#generationTeaser)])],
|
|
@@ -598,7 +598,8 @@ export class TextPrompt extends Common.ObjectWrapper.ObjectWrapper<EventTypes> i
|
|
|
598
598
|
|
|
599
599
|
private acceptSuggestionOnStopCharacters(key: string): boolean {
|
|
600
600
|
if (!this.currentSuggestion || !this.queryRange || key.length !== 1 ||
|
|
601
|
-
!this.completionStopCharacters?.includes(key)
|
|
601
|
+
!this.completionStopCharacters?.includes(key) ||
|
|
602
|
+
this.currentSuggestion.disableAcceptSuggestionOnStopCharacters) {
|
|
602
603
|
return false;
|
|
603
604
|
}
|
|
604
605
|
|
|
@@ -2340,6 +2340,7 @@ export const knownContextValues = new Set([
|
|
|
2340
2340
|
'lighthouse.audit.aria-treeitem-name',
|
|
2341
2341
|
'lighthouse.audit.aria-valid-attr',
|
|
2342
2342
|
'lighthouse.audit.aria-valid-attr-value',
|
|
2343
|
+
'lighthouse.audit.autocomplete-valid',
|
|
2343
2344
|
'lighthouse.audit.baseline',
|
|
2344
2345
|
'lighthouse.audit.bf-cache',
|
|
2345
2346
|
'lighthouse.audit.bootup-time',
|
|
@@ -2447,6 +2448,7 @@ export const knownContextValues = new Set([
|
|
|
2447
2448
|
'lighthouse.audit.offscreen-images',
|
|
2448
2449
|
'lighthouse.audit.origin-isolation',
|
|
2449
2450
|
'lighthouse.audit.paste-preventing-inputs',
|
|
2451
|
+
'lighthouse.audit.presentation-role-conflict',
|
|
2450
2452
|
'lighthouse.audit.prioritize-lcp-image',
|
|
2451
2453
|
'lighthouse.audit.redirects',
|
|
2452
2454
|
'lighthouse.audit.redirects-http',
|
|
@@ -2461,6 +2463,7 @@ export const knownContextValues = new Set([
|
|
|
2461
2463
|
'lighthouse.audit.skip-link',
|
|
2462
2464
|
'lighthouse.audit.speed-index',
|
|
2463
2465
|
'lighthouse.audit.structured-data',
|
|
2466
|
+
'lighthouse.audit.svg-img-alt',
|
|
2464
2467
|
'lighthouse.audit.tabindex',
|
|
2465
2468
|
'lighthouse.audit.table-duplicate-name',
|
|
2466
2469
|
'lighthouse.audit.table-fake-caption',
|
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"mocha": "11.7.5",
|
|
80
80
|
"ora": "9.0.0",
|
|
81
81
|
"postcss": "8.5.6",
|
|
82
|
-
"puppeteer-core": "24.
|
|
82
|
+
"puppeteer-core": "24.42.0",
|
|
83
83
|
"rollup": "4.22.4",
|
|
84
84
|
"rollup-plugin-sourcemaps2": "0.5.4",
|
|
85
85
|
"sinon": "21.0.0",
|
|
@@ -97,12 +97,13 @@
|
|
|
97
97
|
"js-rouge": "3.2.0"
|
|
98
98
|
},
|
|
99
99
|
"overrides": {
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
"electron-to-chromium": "1.5.335",
|
|
101
|
+
"bare-os": "3.9.0",
|
|
102
|
+
"bare-stream": "2.13.0",
|
|
103
|
+
"tar-stream": "3.1.5",
|
|
104
|
+
"socks": "2.8.7",
|
|
105
|
+
"ip-address": "10.1.0",
|
|
106
|
+
"basic-ftp": "5.2.2"
|
|
106
107
|
},
|
|
107
|
-
"version": "1.0.
|
|
108
|
+
"version": "1.0.1624583"
|
|
108
109
|
}
|