@qilin-agent/experimental-inspector 3.1.3 → 3.1.6
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/README.i18n.yaml +23 -23
- package/README.md +2 -2
- package/README.zh.md +3 -3
- package/icon.svg +18 -7
- package/lib/client.js +1 -1
- package/lib/client.page.js +2 -2
- package/lib/devtools/chunks/{accessibility-CwvHp3sj.js → accessibility-OQcgkXIB.js} +5 -5
- package/lib/devtools/chunks/{adorners-D4aU6nuY.js → adorners-Be2VY5BN.js} +2 -2
- package/lib/devtools/chunks/{ai_assistance-BU6E0Wio.js → ai_assistance-DRe9GF9j.js} +19 -19
- package/lib/devtools/chunks/{animation-TEwO5UI_.js → animation-TQzd9HO4.js} +4 -4
- package/lib/devtools/chunks/{application-SCf6MiCN.js → application-B8ko2TRt.js} +29 -29
- package/lib/devtools/chunks/{autofill-Dp3nMnuK.js → autofill-D_Bi6xxt.js} +5 -5
- package/lib/devtools/chunks/{autofill_manager-BXntqfdp.js → autofill_manager-Cw0wOndc.js} +1 -1
- package/lib/devtools/chunks/{bindings-DgoVEdsr.js → bindings-B7uzkbnH.js} +1 -1
- package/lib/devtools/chunks/{browser_debugger-p7Rr4IBR.js → browser_debugger-6syzh5He.js} +5 -5
- package/lib/devtools/chunks/{changes-k42bihtm.js → changes-8Dpo591z.js} +6 -6
- package/lib/devtools/chunks/{changes-DeW5MC9u.js → changes-Hp2cPKPp.js} +1 -1
- package/lib/devtools/chunks/{checkbox.css-CZJJ6atQ.js → checkbox.css-Cwxn2mfx.js} +1 -1
- package/lib/devtools/chunks/{code_highlighter-BnTPt9_G.js → code_highlighter-oWKo9plW.js} +1 -1
- package/lib/devtools/chunks/{color_picker-Cuh_X19Y.js → color_picker-CHmwJ7or.js} +2 -2
- package/lib/devtools/chunks/{common-Uu9A2glf.js → common-BGyPsfVb.js} +1 -1
- package/lib/devtools/chunks/{common-DjRFwulW.js → common-C6gzvSKg.js} +9 -9
- package/lib/devtools/chunks/{components-CnPGgDUW.js → components-B5xBXfXj.js} +3 -3
- package/lib/devtools/chunks/{components-EJwviLtZ.js → components-BkETO50Z.js} +5 -5
- package/lib/devtools/chunks/{components-Cw5tHQqN.js → components-DlE11Hk_.js} +14 -14
- package/lib/devtools/chunks/{console-D1WlMaFQ.js → console-DEk3riFh.js} +13 -13
- package/lib/devtools/chunks/{console-yMm3XVTY.js → console-OWEKC7bo.js} +1 -1
- package/lib/devtools/chunks/{console_counters-9SfIdrUo.js → console_counters-ClDYfPF6.js} +4 -4
- package/lib/devtools/chunks/{coverage-BbFH390Q.js → coverage-Dg9NvtX9.js} +3 -3
- package/lib/devtools/chunks/{coverage-CLBpovLw.js → coverage-uK2NUeVj.js} +1 -1
- package/lib/devtools/chunks/{css_overview-cITV9auE.js → css_overview-6FosuoNY.js} +10 -10
- package/lib/devtools/chunks/{data_grid-pC5qqfsJ.js → data_grid-6RZWyPx-.js} +2 -2
- package/lib/devtools/chunks/{developer_resources-4DqQIvy6.js → developer_resources-C6_2oeLF.js} +3 -3
- package/lib/devtools/chunks/{dom_extension-BfrKZ4JG.js → dom_extension-B0UaTHZj.js} +1 -1
- package/lib/devtools/chunks/{elements-CgEYz3mX.js → elements-CcvMWzGx.js} +1 -1
- package/lib/devtools/chunks/{elements-Dbx4q9-v.js → elements-Xw7oHKeq.js} +20 -20
- package/lib/devtools/chunks/{emulation-C6XKPPGu.js → emulation-B7sLFSxp.js} +6 -6
- package/lib/devtools/chunks/{emulation-cjFPXHT9.js → emulation-CvVuS_p0.js} +4 -4
- package/lib/devtools/chunks/{emulation-D8xbdsAj.js → emulation-DMC3TuHv.js} +1 -1
- package/lib/devtools/chunks/{emulation-EtJlEukP.js → emulation-_lA-Xb1h.js} +1 -1
- package/lib/devtools/chunks/{event_listeners-BeTH3gi2.js → event_listeners-CdGgpDsg.js} +5 -5
- package/lib/devtools/chunks/{explain-P_aDGFSD.js → explain-fG84ckui.js} +6 -6
- package/lib/devtools/chunks/{greendev-BU0QcVPX.js → greendev-DvYwqqmc.js} +3 -3
- package/lib/devtools/chunks/{helper-CI72KvIC.js → helper-DoR8dYRk.js} +2 -2
- package/lib/devtools/chunks/{helpers--xrfGSwQ.js → helpers-BypUnKdS.js} +2 -2
- package/lib/devtools/chunks/{i18n-DvFMqQdJ.js → i18n-DUXZnMbP.js} +1 -1
- package/lib/devtools/chunks/{icon_button-BebVdJD8.js → icon_button-mu37qw0h.js} +3 -3
- package/lib/devtools/chunks/{inline_editor-D54X5UUr.js → inline_editor-Dgctmf2_.js} +9 -9
- package/lib/devtools/chunks/{inspector_main-DRbdXLmF.js → inspector_main-yb83VyUs.js} +7 -7
- package/lib/devtools/chunks/{issue_counter-CeOjTNGW.js → issue_counter-COHuTTL3.js} +5 -5
- package/lib/devtools/chunks/{issues-CegBKEda.js → issues-C94onoob.js} +9 -9
- package/lib/devtools/chunks/{issues_manager-D7nfNPN1.js → issues_manager-7hP__vf-.js} +2 -2
- package/lib/devtools/chunks/{layer_viewer-CaFC5oyv.js → layer_viewer-BF3qEG7C.js} +4 -4
- package/lib/devtools/chunks/{layers-CXqlD9zH.js → layers-KW9wwW__.js} +2 -2
- package/lib/devtools/chunks/{legacy-Bqn4Q0Tf.js → legacy-C0IOfyhX.js} +8 -8
- package/lib/devtools/chunks/{lighthouse-T9ZpmENr.js → lighthouse-BUitD7KK.js} +1 -1
- package/lib/devtools/chunks/{lighthouse-DtpzvfT6.js → lighthouse-f3QbU2gw.js} +6 -6
- package/lib/devtools/chunks/{linear_memory_inspector-C50PtM45.js → linear_memory_inspector-Dhv8CzB6.js} +3 -3
- package/lib/devtools/chunks/{live-metrics-Bs7wxibB.js → live-metrics-DTntFi2I.js} +2 -2
- package/lib/devtools/chunks/{main-C5y6NscM.js → main---7244L8.js} +1 -1
- package/lib/devtools/chunks/{main-DcgYyEI0.js → main-CQ4zKr5A.js} +10 -10
- package/lib/devtools/chunks/{markdown_view-C67b2DdG.js → markdown_view-DN02v7_2.js} +4 -4
- package/lib/devtools/chunks/{media-BhuqASbO.js → media-BNfBOtUh.js} +6 -6
- package/lib/devtools/chunks/{media-Wfo1AbXC.js → media-eTuT8cbS.js} +1 -1
- package/lib/devtools/chunks/{menus-BAUukA5-.js → menus-DoacKucS.js} +5 -5
- package/lib/devtools/chunks/{mobile_throttling-Cw4AkJH4.js → mobile_throttling-BKeQegny.js} +3 -3
- package/lib/devtools/chunks/{mobile_throttling-C26zde8o.js → mobile_throttling-DXj04TKw.js} +1 -1
- package/lib/devtools/chunks/{network-C3gIloDN.js → network-BIhtpwBx.js} +1 -1
- package/lib/devtools/chunks/{network-CaxdpGU2.js → network-C1U3mkwJ.js} +26 -26
- package/lib/devtools/chunks/{objectValue.css-C9o9fdM2.js → objectValue.css-B7vmCz4R.js} +1 -1
- package/lib/devtools/chunks/{object_ui-E7eR7aD-.js → object_ui-B8MxYDLE.js} +1 -1
- package/lib/devtools/chunks/{object_ui-BYgPTK_b.js → object_ui-C8fCheVq.js} +6 -6
- package/lib/devtools/chunks/{perf_ui-BqzJrt4p.js → perf_ui-4xM6fYl7.js} +1 -1
- package/lib/devtools/chunks/{perf_ui-CQMkYfn3.js → perf_ui-Cp2qToEB.js} +7 -7
- package/lib/devtools/chunks/{performance_monitor-B2kUoCv0.js → performance_monitor-BUcbKqz4.js} +3 -3
- package/lib/devtools/chunks/{profiler-BGu3akEf.js → profiler-Dq2TBqy8.js} +11 -11
- package/lib/devtools/chunks/{protocol_monitor-CvLQ8ms1.js → protocol_monitor-BG2dkmPK.js} +8 -8
- package/lib/devtools/chunks/protocol_monitor-DC2CZGW5.js +2 -0
- package/lib/devtools/chunks/{puppeteer-CaOjgj3v.js → puppeteer-ZLIws8kb.js} +1 -1
- package/lib/devtools/chunks/{quick_open-C3IZ69m9.js → quick_open-B0xhg6ZL.js} +1 -1
- package/lib/devtools/chunks/{quick_open-DRITaPnZ.js → quick_open-Dfzyy8ve.js} +3 -3
- package/lib/devtools/chunks/{recorder-C0f1n95b.js → recorder-BwV8H_Us.js} +16 -16
- package/lib/devtools/chunks/{request_link_icon-fGy57GcW.js → request_link_icon-BjtC6uxv.js} +2 -2
- package/lib/devtools/chunks/{security-NbgKa3ux.js → security-BjoaTtpU.js} +1 -1
- package/lib/devtools/chunks/{sensors-nM7qcBE4.js → sensors-m9L9nmDB.js} +4 -4
- package/lib/devtools/chunks/{settings-aKtQC12v.js → settings-DvrCWlb3.js} +9 -9
- package/lib/devtools/chunks/{settings_ui-CzxAFzIb.js → settings_ui-Df8-TVsv.js} +5 -5
- package/lib/devtools/chunks/{snackbars-lPThuWYs.js → snackbars-DTKjs7om.js} +2 -2
- package/lib/devtools/chunks/{snippets-dIuBmVBv.js → snippets-DkuCZu-J.js} +4 -4
- package/lib/devtools/chunks/{source_frame-CSjno3kf.js → source_frame-CzY7luV4.js} +8 -8
- package/lib/devtools/chunks/{sources-Bf8QJxju.js → sources-CdvYPTNy.js} +1 -1
- package/lib/devtools/chunks/{sources-BIZssBei.js → sources-CoHLP03P.js} +22 -22
- package/lib/devtools/chunks/{suggestion_input-Duuu5pyd.js → suggestion_input-CpR9sfDn.js} +3 -3
- package/lib/devtools/chunks/{textInput.css-DPvwvIic.js → textInput.css-D9hN8XWo.js} +1 -1
- package/lib/devtools/chunks/{text_editor-Dq1P6D2J.js → text_editor-BH_W0fXD.js} +5 -5
- package/lib/devtools/chunks/{theme_support-CbSSLkbO.js → theme_support-DJK4CjXB.js} +1 -1
- package/lib/devtools/chunks/{timeline-C4vCX79k.js → timeline-D6VQ2WWf.js} +38 -38
- package/lib/devtools/chunks/{timeline-BE_ysZxO.js → timeline-DfcTNEAb.js} +1 -1
- package/lib/devtools/chunks/{utils-CELci976.js → utils-DqoFGxV_.js} +6 -6
- package/lib/devtools/chunks/{web_audio-IdfBLjwV.js → web_audio-CTM_kqxU.js} +1 -1
- package/lib/devtools/chunks/{webauthn-iRZlbjGV.js → webauthn-Bt1tTNVo.js} +4 -4
- package/lib/devtools/chunks/{whats_new-DOTPf2xJ.js → whats_new-Dv7HPSaK.js} +2 -2
- package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +1 -1
- package/lib/devtools/entrypoints/devtools_app/devtools_app.js +55 -55
- package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +1 -1
- package/lib/devtools/resource-manifest.json +266 -266
- package/lib/index.js +83 -38
- package/lib/types/host/plugin.d.ts +6 -1
- package/lib/worker.js +35 -31
- package/package.json +31 -35
- package/cordis.patch.yml +0 -5
- package/lib/devtools/chunks/protocol_monitor-B9nMqAAE.js +0 -2
- /package/lib/devtools/chunks/{_qilin-devtools_empty-BvRk9kiK.js → _dsh-devtools_empty-BvRk9kiK.js} +0 -0
package/README.i18n.yaml
CHANGED
|
@@ -5,45 +5,45 @@
|
|
|
5
5
|
/:
|
|
6
6
|
en: b5b7ccdfa1cc2907
|
|
7
7
|
zh: d575593a7efa37fd
|
|
8
|
-
/qilin-experimental-inspector:
|
|
9
|
-
en:
|
|
10
|
-
zh:
|
|
11
|
-
/qilin-experimental-inspector/summary:
|
|
8
|
+
/qilin-agent-experimental-inspector:
|
|
9
|
+
en: 0fa8085d1db200f3
|
|
10
|
+
zh: 21bd948a5cd93a65
|
|
11
|
+
/qilin-agent-experimental-inspector/summary:
|
|
12
12
|
en: 3a853a0fb1d832b1
|
|
13
|
-
zh:
|
|
14
|
-
/qilin-experimental-inspector/table-of-contents:
|
|
13
|
+
zh: 47aab070d94fe860
|
|
14
|
+
/qilin-agent-experimental-inspector/table-of-contents:
|
|
15
15
|
en: 331f844c32631a82
|
|
16
16
|
zh: a9bc365f7d61d9ed
|
|
17
|
-
/qilin-experimental-inspector/use-this-package:
|
|
18
|
-
en:
|
|
19
|
-
zh:
|
|
20
|
-
/qilin-experimental-inspector/runtime-layout:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
23
|
-
/qilin-experimental-inspector/configuration:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
26
|
-
/qilin-experimental-inspector/observation-api:
|
|
17
|
+
/qilin-agent-experimental-inspector/use-this-package:
|
|
18
|
+
en: 6d290aabc543f878
|
|
19
|
+
zh: 7ad283b159ae2c29
|
|
20
|
+
/qilin-agent-experimental-inspector/runtime-layout:
|
|
21
|
+
en: 13f495af2fec307d
|
|
22
|
+
zh: ec4bebf24a87ec54
|
|
23
|
+
/qilin-agent-experimental-inspector/configuration:
|
|
24
|
+
en: d5ab9deee11b7f39
|
|
25
|
+
zh: 4d32812209784a82
|
|
26
|
+
/qilin-agent-experimental-inspector/observation-api:
|
|
27
27
|
en: d32f994e6c9d0c4a
|
|
28
28
|
zh: ac2f35f5799aeae0
|
|
29
|
-
/qilin-experimental-inspector/cordis-tree-inspection:
|
|
29
|
+
/qilin-agent-experimental-inspector/cordis-tree-inspection:
|
|
30
30
|
en: d2a470558b97acbd
|
|
31
31
|
zh: 2a7d0ce6951b7b52
|
|
32
|
-
/qilin-experimental-inspector/host-fetch-capture:
|
|
32
|
+
/qilin-agent-experimental-inspector/host-fetch-capture:
|
|
33
33
|
en: 187859f65acc45d7
|
|
34
34
|
zh: 606e93905c8275e6
|
|
35
|
-
/qilin-experimental-inspector/security:
|
|
35
|
+
/qilin-agent-experimental-inspector/security:
|
|
36
36
|
en: dc390db1bce00de1
|
|
37
37
|
zh: c4257690ffcabebc
|
|
38
|
-
/qilin-experimental-inspector/model-experience:
|
|
38
|
+
/qilin-agent-experimental-inspector/model-experience:
|
|
39
39
|
en: 6ac8fb2f45b3a97c
|
|
40
40
|
zh: 9162ffb1a133e11b
|
|
41
|
-
/qilin-experimental-inspector/model-experience/kv-cache-effect:
|
|
41
|
+
/qilin-agent-experimental-inspector/model-experience/kv-cache-effect:
|
|
42
42
|
en: ca75c51c89c2c9b0
|
|
43
43
|
zh: 64715dc7e6d02f71
|
|
44
|
-
/qilin-experimental-inspector/known-limitations-and-deferred-work:
|
|
44
|
+
/qilin-agent-experimental-inspector/known-limitations-and-deferred-work:
|
|
45
45
|
en: 74e9eb329f240bb7
|
|
46
46
|
zh: 25612a9b993582c0
|
|
47
|
-
/qilin-experimental-inspector/known-limitations-and-deferred-work/dev-note:
|
|
47
|
+
/qilin-agent-experimental-inspector/known-limitations-and-deferred-work/dev-note:
|
|
48
48
|
en: e67f633dc6fe7773
|
|
49
49
|
zh: 3bb0c20c93f16f98
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ When this component is enabled, **Ctrl/Cmd+Shift+.** toggles **NodeJS Inspector*
|
|
|
39
39
|
|
|
40
40
|
The Host serves the mirrored DevTools frontend at the application-relative `inspector/devtools/devtools_app.html` path, using the existing Web login. The `inspector/devtools` prefix redirects to that entry; GET and HEAD serve files, missing resources return 404, and other methods return 405. Its `cdp` WebSocket route authenticates the same browser session and forwards only to this Inspector's Worker page target. The bottom panel supplies its claimed `clientSourceId` to the entry and automatic WebSocket endpoint; the selection follows that logical Client across reconnects. An absent selector includes all Clients, an unavailable selected Client leaves Host visible, and empty or repeated selectors reject the upgrade with 400. Explicit `ws` or `wss` query parameters override the automatic endpoint, including its selection.
|
|
41
41
|
|
|
42
|
-
The build compiles the official `chrome-devtools-frontend@1.0.1638082` TypeScript sources with the root workspace's Vite
|
|
42
|
+
The build compiles the official `chrome-devtools-frontend@1.0.1638082` TypeScript sources with the root workspace's pinned [Vite dependency](../../../package.json). This npm snapshot is an ancestor of the Chromium 150 release branch, not an exact copy of its later stable release. The [source configuration](scripts/devtools/source.ts) and package manifest fix the version. Normal npm installation supplies the source and toolchain; building needs no appspot access, browser download, browser launch, or PAK extraction. Neither workspace installation nor published-package installation runs a DevTools download hook.
|
|
43
43
|
|
|
44
44
|
The [distribution build](scripts/build-devtools.ts) emits ESM entries, shared chunks, explicit Workers, injected scripts, and runtime assets into `lib/devtools`. It preserves original module-relative resource URLs, including deployment prefixes. CSS text modules, image variables, and minimal English locale constants replace GN-generated inputs without modifying npm sources. The frontend uses English UIStrings directly from upstream modules, with no translation files or dictionary generator. Other language preferences resolve to English. All upstream panels, including Lighthouse, remain included. Memory retains its parser Worker; Performance records Host CPU. Published packages contain the built assets, integrity manifest, and Chromium license, not the build-time npm source or Vite dependencies.
|
|
45
45
|
|
|
@@ -48,7 +48,7 @@ The frontend uses browser runtime adapters and excludes Node-only transports at
|
|
|
48
48
|
<a id="runtime-layout"></a>
|
|
49
49
|
## Runtime layout
|
|
50
50
|
|
|
51
|
-
The Worker never accesses live Cordis objects: the shared Host/Client collector projects them into validated snapshots before transport. Cordis owns plugin composition, `ctx.inspector` registration, bootstrap injection, and disposal. A late-loading Client fetches its bootstrap through an authenticated Host route. Bootstrap transport and source-setup failures warn and retain connection-reset recovery for both injected and fetched startup; invalid bootstrap data or service-registration failures reject startup. Source replacement joins old service-consumer cleanup before claiming another source, and unloading an active plugin cancels its pending bootstrap refresh.
|
|
51
|
+
The Worker never accesses live Cordis objects: the shared Host/Client collector projects them into validated snapshots before transport. Cordis owns plugin composition, `ctx.inspector` registration, bootstrap injection, and disposal. A late-loading Client fetches its bootstrap through an authenticated Host route, which the Host registers before it starts the Worker: a request waits for Worker readiness and then receives the bootstrap, or `503` when startup fails; an aborted request stops waiting. When the platform cannot run the Worker and reports Node's `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM`, such as the browser preview's Worker host, the Host logs one warning and the plugin still starts with only that route, which answers `503`; it provides no `ctx.inspector`, DevTools routes, bootstrap injection, or `devtools://` URL. Any other startup error still rejects the plugin. Bootstrap transport and source-setup failures warn and retain connection-reset recovery for both injected and fetched startup; invalid bootstrap data or service-registration failures reject startup. Source replacement joins old service-consumer cleanup before claiming another source, and unloading an active plugin cancels its pending bootstrap refresh.
|
|
52
52
|
|
|
53
53
|
The Host plugin starts the Worker and connects a dedicated `MessagePort`. The Client uses injected or fetched browser-source parameters to open an authenticated WebSocket directly to the Worker; it receives no DevTools URL. Chrome DevTools connects to the Worker's CDP WebSocket. A private `node:inspector.Session` per DevTools connection attaches from the Worker to the Host main thread, so Host debugging remains available while Host JavaScript is paused.
|
|
54
54
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
在 Chrome DevTools
|
|
12
|
+
在 Chrome DevTools 中检查一个运行中的 QiLin Host 及其浏览器 Client:Host 与 Client Console context、Host Sources 与调试、Host fetch 采集和共享 Cordis 树,全部 CDP 状态都在 Worker 中。
|
|
13
13
|
|
|
14
14
|
可选的[开发者工具组合包](../inspector-profile/README.zh.md) 同时启用 NodeJS 诊断和会话数据诊断,并开启 Host fetch 采集。Web startup 不需要也不接受 `--inspect`。
|
|
15
15
|
|
|
@@ -39,7 +39,7 @@ kind: "package-reference"
|
|
|
39
39
|
|
|
40
40
|
Host 在相对于应用根目录的 `inspector/devtools/devtools_app.html` 路径提供镜像后的 DevTools 前端,沿用现有 Web 登录鉴权。`inspector/devtools` 前缀重定向到该入口;GET 和 HEAD 提供文件,缺失资源返回 404,其他方法返回 405。其 `cdp` WebSocket 路由鉴权同一浏览器会话,只转发到当前 Inspector 的 Worker page target。底部面板将已声明的页面 `clientSourceId` 传给入口及自动 WebSocket 端点,重连时继续选择同一逻辑 Client。没有选择参数时包含全部 Client;指定 Client 不在线时保留 Host;空值或重复参数以 400 拒绝升级。显式 `ws` 或 `wss` query 参数覆盖自动端点及其选择范围。
|
|
41
41
|
|
|
42
|
-
构建使用官方 `chrome-devtools-frontend@1.0.1638082` TypeScript 源码及根 workspace
|
|
42
|
+
构建使用官方 `chrome-devtools-frontend@1.0.1638082` TypeScript 源码及根 workspace 固定的 [Vite 依赖](../../../package.json)。该 npm 快照是 Chromium 150 发布分支的祖先,不是其后续稳定版的逐字节副本。[源码配置](scripts/devtools/source.ts)与包清单共同固定版本。普通 npm 安装提供源码和工具链;构建不需要 appspot、下载或启动浏览器,也不需要提取 PAK。workspace 安装和发布包安装都不运行 DevTools 下载 hook。
|
|
43
43
|
|
|
44
44
|
[分发构建](scripts/build-devtools.ts)将 ESM 入口、共享 chunk、显式 Worker、注入脚本与运行时资源输出到 `lib/devtools`,保留原始模块相对资源 URL,包括部署子路径。CSS 文本模块、图片变量和最小英文 locale 常量替代 GN 生成输入,不修改 npm 源码。前端直接使用上游模块内的英文 UIStrings,不包含翻译文件或词条生成器,其他语言偏好回退英文。所有上游面板均保留,包括 Lighthouse。Memory 带有解析 Worker,Performance 记录 Host CPU。发布包包含构建资源、完整性清单和 Chromium license,不包含构建用 npm 源码或 Vite 依赖。
|
|
45
45
|
|
|
@@ -48,7 +48,7 @@ Host 在相对于应用根目录的 `inspector/devtools/devtools_app.html` 路
|
|
|
48
48
|
<a id="runtime-layout"></a>
|
|
49
49
|
## 运行时布局
|
|
50
50
|
|
|
51
|
-
Worker 不访问实时 Cordis 对象;共享 Host/Client collector 会在传输前把它们投影成已验证快照。Cordis 负责插件组合、注册 `ctx.inspector`、注入 bootstrap 和 dispose(资源释放)。后加载的 Client 通过已鉴权的 Host 路由获取 bootstrap
|
|
51
|
+
Worker 不访问实时 Cordis 对象;共享 Host/Client collector 会在传输前把它们投影成已验证快照。Cordis 负责插件组合、注册 `ctx.inspector`、注入 bootstrap 和 dispose(资源释放)。后加载的 Client 通过已鉴权的 Host 路由获取 bootstrap。Host 在启动 Worker 之前注册该路由,请求会等到 Worker 就绪后返回 bootstrap,启动失败时返回 `503`;请求中止时立即停止等待。当前平台无法运行 Worker 并报告 Node 的 `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` 时(例如浏览器预览的 Worker host),Host 记录一条警告,插件仍照常启动,只保留该路由并返回 `503`,不提供 `ctx.inspector`、DevTools 路由、bootstrap 注入或 `devtools://` URL;其他任何启动错误仍使插件启动失败。初始注入与主动获取两条路径中,bootstrap 传输或 source 建立失败均记录警告并保留连接重置后的重试;bootstrap 数据非法或服务注册失败则使启动失败。替换 source 会等待旧服务消费者清理完成,再申请新 source;卸载已激活插件会取消其未完成的 bootstrap 刷新。
|
|
52
52
|
|
|
53
53
|
Host 插件启动 Worker 并连接专用 `MessagePort`。Client 使用注入或主动获取的浏览器 source 参数,直接向 Worker 打开带鉴权的 WebSocket,不接收 DevTools URL。Chrome DevTools 连接 Worker 的 CDP WebSocket。每条 DevTools 连接在 Worker 中独占一个连接 Host 主线程的 `node:inspector.Session`,因此 Host JavaScript 暂停时仍可调试 Host。
|
|
54
54
|
|
package/icon.svg
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<g mask="url(#data-lens-cutout)">
|
|
3
|
+
<rect x="11" y="7" width="16" height="16" rx="2" fill="#7FB7FC" fill-opacity="0.55" />
|
|
4
|
+
<rect x="7" y="11" width="17" height="15" rx="2" fill="url(#data-panel)" />
|
|
5
|
+
<path d="M10 15H18M10 18H15" stroke="#FFFFFF" stroke-width="1.5" />
|
|
6
|
+
</g>
|
|
7
|
+
<path d="M26 26L30 30" stroke="#658EFF" stroke-width="3" />
|
|
8
|
+
<circle cx="23" cy="23" r="4.5" stroke="url(#data-lens)" stroke-width="2.5" />
|
|
6
9
|
<defs>
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
+
<mask id="data-lens-cutout" maskUnits="userSpaceOnUse" x="0" y="0" width="36" height="36">
|
|
11
|
+
<rect width="36" height="36" fill="#FFFFFF" />
|
|
12
|
+
<circle cx="23" cy="23" r="3.25" fill="#000000" />
|
|
13
|
+
</mask>
|
|
14
|
+
<linearGradient id="data-panel" x1="9" y1="11" x2="23" y2="26" gradientUnits="userSpaceOnUse">
|
|
15
|
+
<stop stop-color="#6DB9FB" />
|
|
16
|
+
<stop offset="1" stop-color="#3650DE" />
|
|
17
|
+
</linearGradient>
|
|
18
|
+
<linearGradient id="data-lens" x1="19" y1="19" x2="27" y2="27" gradientUnits="userSpaceOnUse">
|
|
19
|
+
<stop stop-color="#45D9E7" />
|
|
20
|
+
<stop offset="1" stop-color="#67C7FE" />
|
|
10
21
|
</linearGradient>
|
|
11
22
|
</defs>
|
|
12
23
|
</svg>
|
package/lib/client.js
CHANGED
|
@@ -2261,7 +2261,7 @@ window.__ModuleLoader__.load({
|
|
|
2261
2261
|
* @returns A lazy catalog, or `undefined` outside the assembled web application.
|
|
2262
2262
|
*/
|
|
2263
2263
|
function discoverInspectorClientSourceCatalog() {
|
|
2264
|
-
const graph = Reflect.get(globalThis, "
|
|
2264
|
+
const graph = Reflect.get(globalThis, "__QILIN_BOOT__");
|
|
2265
2265
|
if (typeof graph !== "object" || graph === null) return void 0;
|
|
2266
2266
|
const entries = Reflect.get(graph, "entries");
|
|
2267
2267
|
if (!Array.isArray(entries)) return void 0;
|
package/lib/client.page.js
CHANGED
|
@@ -66,7 +66,7 @@ window.__ModuleLoader__.load({
|
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region \0qilin-css:/home/runner/work/QiLin/QiLin/packages/experimental/inspector/src/client/bottom/page.module.css.mjs
|
|
69
|
-
const css = ".u6n5Sa_panel{height:var(--inspector-height);background:var(--
|
|
69
|
+
const css = ".u6n5Sa_panel{height:var(--inspector-height);background:var(--dsw-alias-bg-base);border-top:.5px solid var(--dsw-alias-border-l3);box-sizing:border-box;flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.u6n5Sa_panel[hidden]{display:none}.u6n5Sa_header{color:var(--dsw-alias-label-primary);flex:none;justify-content:space-between;align-items:center;padding:6px 12px 4px;font-size:12px;line-height:20px;display:flex}.u6n5Sa_close{width:28px;padding:0}.u6n5Sa_resize{cursor:row-resize;touch-action:none;user-select:none;height:6px;position:absolute;inset:0 0 auto}.u6n5Sa_resize:hover,.u6n5Sa_resize:focus-visible{background:var(--dsw-alias-interactive-bg-hover)}.u6n5Sa_page{border:0;flex:1;width:100%;min-width:0;height:0;min-height:0;display:block}";
|
|
70
70
|
const tagId = "@qilin-agent/experimental-inspector/page.module.css";
|
|
71
71
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
72
72
|
const tag = document.createElement("style");
|
|
@@ -203,7 +203,7 @@ window.__ModuleLoader__.load({
|
|
|
203
203
|
className: page_module_css_default.close,
|
|
204
204
|
"aria-label": t("close"),
|
|
205
205
|
onClick: close,
|
|
206
|
-
icon: (0, react_jsx_runtime.jsx)(_qilin_agent_client_ui_primitives.
|
|
206
|
+
icon: (0, react_jsx_runtime.jsx)(_qilin_agent_client_ui_primitives.IconCloseOutlineRegular, { size: 14 })
|
|
207
207
|
})
|
|
208
208
|
})]
|
|
209
209
|
}),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
2
|
import { G as t } from "./platform-BzB373NB.js";
|
|
3
3
|
import { at as n, bt as r, vt as i, wt as a, xt as o } from "./common-qd_KLeYO.js";
|
|
4
|
-
import { Fo as s, L as c, Md as l, No as ee, Po as u, Qc as te, Sc as ne, Ur as d, Vd as f, Zo as re, aa as ie, dn as ae, ei as oe, fa as p, fo as se, i as ce, ii as le, jr as ue, n as de, na as fe, no as m, o as pe, ol as h, rl as g, sl as _, tl as v, xc as me, xn as y } from "./legacy-
|
|
5
|
-
import { c as he } from "./common-
|
|
6
|
-
import { t as b } from "./i18n-
|
|
7
|
-
import { t as ge } from "./objectValue.css-
|
|
8
|
-
//#region \
|
|
4
|
+
import { Fo as s, L as c, Md as l, No as ee, Po as u, Qc as te, Sc as ne, Ur as d, Vd as f, Zo as re, aa as ie, dn as ae, ei as oe, fa as p, fo as se, i as ce, ii as le, jr as ue, n as de, na as fe, no as m, o as pe, ol as h, rl as g, sl as _, tl as v, xc as me, xn as y } from "./legacy-C0IOfyhX.js";
|
|
5
|
+
import { c as he } from "./common-C6gzvSKg.js";
|
|
6
|
+
import { t as b } from "./i18n-DUXZnMbP.js";
|
|
7
|
+
import { t as ge } from "./objectValue.css-B7vmCz4R.js";
|
|
8
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/accessibility/accessibilityNode.css.mjs
|
|
9
9
|
var x = "/*\n * Copyright 2017 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.widget.ax-subpane {\n overflow-x: hidden;\n user-select: text;\n}\n\n.ax-ignored-info {\n padding: 6px;\n}\n\n.ax-ignored-node-pane {\n flex: none;\n}\n\n.invalid {\n text-decoration: line-through;\n}\n\nspan.ax-value-undefined {\n font-style: italic;\n}\n\n.ax-value-source-unused {\n opacity: 70%;\n}\n\n.ax-value-source-superseded,\n.ax-value-source-invalid {\n text-decoration: line-through;\n}\n\n.tree-outline dt-icon-label {\n position: relative;\n left: -11px;\n}\n\n.tree-outline li {\n display: block;\n overflow-x: hidden;\n align-items: baseline;\n}\n\n.tree-outline li::before {\n content: \"\";\n width: 14px;\n display: inline-block;\n margin-bottom: -2px;\n margin-right: 3px;\n}\n\n.tree-outline li.property {\n color: var(--sys-color-on-surface);\n}\n\n.tree-outline li.invalid {\n position: relative;\n left: -2px;\n}\n\n.tree-outline dt-icon-label + .ax-name {\n margin-left: -11px;\n}\n\n.tree-outline li span {\n flex-shrink: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n@media (forced-colors: active) {\n .ax-value-source-unused {\n opacity: 100%;\n }\n\n .tree-outline-disclosure:hover li.parent::before {\n background-color: ButtonText;\n }\n}\n", _e = /* @__PURE__ */ e({
|
|
10
10
|
AXAttributes: () => w,
|
|
11
11
|
AXNativeSourceTypes: () => E,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fo as e, Po as t, on as n } from "./legacy-
|
|
2
|
-
//#region \
|
|
1
|
+
import { Fo as e, Po as t, on as n } from "./legacy-C0IOfyhX.js";
|
|
2
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/ui/components/adorners/adorner.css.mjs
|
|
3
3
|
var r = "/*\n * Copyright 2021 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n:host {\n display: inline-flex;\n}\n\n:host(.hidden) {\n display: none;\n}\n\nslot {\n display: inline-flex;\n box-sizing: border-box;\n height: 14px;\n line-height: 13px;\n padding: 0 6px;\n font-size: var(--override-adorner-font-size, 8.5px);\n color: var(--override-adorner-text-color, var(--sys-color-primary));\n background-color: var(--override-adorner-background-color, var(--sys-color-cdt-base-container));\n border: 1px solid var(--override-adorner-border-color, var(--sys-color-tonal-outline));\n border-radius: 10px;\n position: relative;\n\n &:hover::after,\n &:active::before {\n content: \"\";\n height: 100%;\n width: 100%;\n border-radius: inherit;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &:hover::after {\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n &:active::before {\n background-color: var(--sys-color-state-ripple-neutral-on-subtle);\n }\n}\n\n:host(:focus-visible) slot {\n outline: 2px solid var(--sys-color-state-focus-ring);\n outline-offset: 2px;\n z-index: 999;\n}\n\n:host([aria-pressed=\"true\"]) slot {\n color: var(--override-adorner-active-text-color, var(--sys-color-on-primary));\n background-color: var(--override-adorner-active-background-color, var(--sys-color-primary));\n border: 1px solid var(--override-adorner-active-background-color, var(--sys-color-primary));\n\n &:hover::after {\n background-color: var(--sys-color-state-hover-on-prominent);\n }\n\n &:active::before {\n background-color: var(--sys-color-state-ripple-primary);\n }\n}\n\n::slotted(*) {\n height: 10px;\n}\n", i = class extends HTMLElement {
|
|
4
4
|
name = "";
|
|
5
5
|
#e = this.attachShadow({ mode: "open" });
|
|
@@ -2,24 +2,24 @@ import { n as e } from "./chunk-DF993M8W.js";
|
|
|
2
2
|
import { H as t, W as n, r } from "./platform-BzB373NB.js";
|
|
3
3
|
import { A as i, D as a, Et as o, F as s, R as c, St as l, at as u, bt as ee, d as te, n as ne, p as re, wt as ie } from "./common-qd_KLeYO.js";
|
|
4
4
|
import { p as d, r as ae, s as oe } from "./root-DbVQo07X.js";
|
|
5
|
-
import { $ as se, $i as f, Af as ce, Ao as le, Ar as ue, Fo as p, Ft as de, Gf as fe, Hf as pe, Ht as me, Jo as he, Ko as ge, Lo as _e, Md as m, Na as ve, No as ye, Or as be, Po as h, Qi as xe, S as Se, U as Ce, Uo as we, Vc as Te, Vo as g, Wc as Ee, Wf as De, Wo as Oe, Wr as ke, Xf as Ae, Yo as je, Zi as _, Zo as v, aa as Me, al as Ne, cs as Pe, ei as Fe, ep as y, fa as b, ha as Ie, ii as Le, jr as x, ka as Re, kc as ze, ls as Be, mf as S, mo as Ve, na as He, ni as Ue, no as C, ol as We, op as Ge, pf as w, qo as Ke, qr as qe, rf as Je, rl as Ye, sc as Xe, sl as Ze, tl as T, un as Qe, uo as $e, vi as et, yo as tt, za as nt } from "./legacy-
|
|
5
|
+
import { $ as se, $i as f, Af as ce, Ao as le, Ar as ue, Fo as p, Ft as de, Gf as fe, Hf as pe, Ht as me, Jo as he, Ko as ge, Lo as _e, Md as m, Na as ve, No as ye, Or as be, Po as h, Qi as xe, S as Se, U as Ce, Uo as we, Vc as Te, Vo as g, Wc as Ee, Wf as De, Wo as Oe, Wr as ke, Xf as Ae, Yo as je, Zi as _, Zo as v, aa as Me, al as Ne, cs as Pe, ei as Fe, ep as y, fa as b, ha as Ie, ii as Le, jr as x, ka as Re, kc as ze, ls as Be, mf as S, mo as Ve, na as He, ni as Ue, no as C, ol as We, op as Ge, pf as w, qo as Ke, qr as qe, rf as Je, rl as Ye, sc as Xe, sl as Ze, tl as T, un as Qe, uo as $e, vi as et, yo as tt, za as nt } from "./legacy-C0IOfyhX.js";
|
|
6
6
|
import { g as rt } from "./text_utils-ohNt_gua.js";
|
|
7
|
-
import { P as it, S as E, T as at, j as ot, w as st } from "./bindings-
|
|
8
|
-
import { $t as ct, Gt as lt, Jt as ut, K as dt, Kt as ft, Mt as pt, Xt as mt, Yt as D, Zt as ht, _n as gt, _t, at as vt, bn as yt, bt, c as xt, ct as St, dt as O, en as Ct, ft as wt, gt as Tt, ht as Et, it as Dt, jt as Ot, ln as kt, lt as At, mn as jt, nn as Mt, o as Nt, pt as Pt, q as Ft, qt as It, tn as Lt, ut as Rt, vt as zt, xt as Bt, yt as Vt } from "./common-
|
|
9
|
-
import { t as Ht } from "./i18n-
|
|
10
|
-
import { En as Ut, Mt as Wt, Vr as Gt, t as Kt, vt as k } from "./snackbars-
|
|
7
|
+
import { P as it, S as E, T as at, j as ot, w as st } from "./bindings-B7uzkbnH.js";
|
|
8
|
+
import { $t as ct, Gt as lt, Jt as ut, K as dt, Kt as ft, Mt as pt, Xt as mt, Yt as D, Zt as ht, _n as gt, _t, at as vt, bn as yt, bt, c as xt, ct as St, dt as O, en as Ct, ft as wt, gt as Tt, ht as Et, it as Dt, jt as Ot, ln as kt, lt as At, mn as jt, nn as Mt, o as Nt, pt as Pt, q as Ft, qt as It, tn as Lt, ut as Rt, vt as zt, xt as Bt, yt as Vt } from "./common-C6gzvSKg.js";
|
|
9
|
+
import { t as Ht } from "./i18n-DUXZnMbP.js";
|
|
10
|
+
import { En as Ut, Mt as Wt, Vr as Gt, t as Kt, vt as k } from "./snackbars-DTKjs7om.js";
|
|
11
11
|
import { n as qt } from "./marked-zGgfoDxO.js";
|
|
12
12
|
import { n as Jt, r as Yt } from "./UIRequestLocation-CtGcVN3I.js";
|
|
13
|
-
import { t as Xt } from "./textInput.css-
|
|
14
|
-
import { B as Zt, m as Qt, t as $t, u as en, x as tn } from "./elements-
|
|
15
|
-
import { t as nn } from "./utils-
|
|
16
|
-
import { a as rn } from "./perf_ui-
|
|
17
|
-
import { l as an, n as on, t as sn } from "./lighthouse-
|
|
18
|
-
import { t as cn, x as ln } from "./network-
|
|
19
|
-
import { $ as un, J as dn, O as fn, Q as pn, S as mn, X as hn, Y as gn, Z as _n, _t as vn, at as yn, b as bn, ct as xn, dt as Sn, et as Cn, ft as wn, g as Tn, gt as En, it as Dn, l as On, lt as kn, mt as An, nt as jn, ot as Mn, p as Nn, pt as Pn, rt as Fn, st as In, tt as Ln, ut as Rn, vt as zn, x as Bn, yt as Vn } from "./timeline-
|
|
20
|
-
import { t as Hn } from "./markdown_view-
|
|
21
|
-
import { a as Un, n as Wn } from "./changes-
|
|
22
|
-
//#region \
|
|
13
|
+
import { t as Xt } from "./textInput.css-D9hN8XWo.js";
|
|
14
|
+
import { B as Zt, m as Qt, t as $t, u as en, x as tn } from "./elements-Xw7oHKeq.js";
|
|
15
|
+
import { t as nn } from "./utils-DqoFGxV_.js";
|
|
16
|
+
import { a as rn } from "./perf_ui-Cp2qToEB.js";
|
|
17
|
+
import { l as an, n as on, t as sn } from "./lighthouse-f3QbU2gw.js";
|
|
18
|
+
import { t as cn, x as ln } from "./network-C1U3mkwJ.js";
|
|
19
|
+
import { $ as un, J as dn, O as fn, Q as pn, S as mn, X as hn, Y as gn, Z as _n, _t as vn, at as yn, b as bn, ct as xn, dt as Sn, et as Cn, ft as wn, g as Tn, gt as En, it as Dn, l as On, lt as kn, mt as An, nt as jn, ot as Mn, p as Nn, pt as Pn, rt as Fn, st as In, tt as Ln, ut as Rn, vt as zn, x as Bn, yt as Vn } from "./timeline-D6VQ2WWf.js";
|
|
20
|
+
import { t as Hn } from "./markdown_view-DN02v7_2.js";
|
|
21
|
+
import { a as Un, n as Wn } from "./changes-8Dpo591z.js";
|
|
22
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/aiAssistancePanel.css.mjs
|
|
23
23
|
var Gn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.toolbar-container {\n display: flex;\n flex-wrap: wrap;\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n flex: 0 0 auto;\n justify-content: space-between;\n}\n\n.ai-assistance-view-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: center;\n overflow: hidden;\n\n & .fill-panel {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n devtools-split-view {\n width: 100%;\n height: 100%;\n }\n}\n\n.toolbar-feedback-link {\n color: var(--sys-color-primary);\n margin: 0 var(--sys-size-3);\n height: auto;\n font-size: var(--sys-typescale-body4-size);\n}\n", { html: Kn } = ye, qn = class extends Hn {
|
|
24
24
|
#e(e, t) {
|
|
25
25
|
return Kn`<devtools-link @click=${(t) => {
|
|
@@ -126,7 +126,7 @@ function er(e) {
|
|
|
126
126
|
return `${t} for prompt ${n}${i}`;
|
|
127
127
|
}
|
|
128
128
|
//#endregion
|
|
129
|
-
//#region \
|
|
129
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/components/walkthroughView.css.mjs
|
|
130
130
|
var tr = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope (devtools-widget) {\n .walkthrough-view {\n height: 100%;\n background-color: var(--sys-color-cdt-base-container);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n}\n\n@scope (devtools-widget > *) {\n .walkthrough-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 8px;\n height: 35px;\n border-bottom: 1px solid var(--sys-color-divider);\n flex-shrink: 0;\n }\n\n .walkthrough-title {\n font-size: 11px;\n font-weight: 500;\n color: var(--sys-color-on-surface);\n }\n\n .steps-container {\n flex: 1;\n overflow-y: auto;\n }\n\n .steps-scroll-content {\n padding: var(--sys-size-6);\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-6);\n }\n\n .walkthrough-step {\n display: flex;\n gap: var(--sys-size-6);\n align-items: flex-start;\n justify-content: flex-start;\n flex-shrink: 0;\n\n .step-number {\n font: var(--sys-typescale-body4-regular);\n color: var(--sys-color-on-surface-subtle);\n padding-top:var(--sys-size-4);\n flex-grow: 0;\n flex-shrink: 0;\n }\n }\n\n .step-wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n min-width: 0;\n width: 100%;\n }\n\n .step-container {\n display: flex;\n gap: var(--sys-size-5);\n align-items: flex-start;\n }\n\n .step-icon {\n color: var(--sys-color-on-surface-subtle);\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n flex-shrink: 0;\n margin-top: var(--sys-size-2);\n }\n\n .step-content {\n flex: 1;\n font-size: 11px;\n color: var(--sys-color-on-surface);\n line-height: 1.4;\n }\n\n .empty-state {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n color: var(--sys-color-on-surface-subtle);\n font-size: 11px;\n }\n\n .inline-wrapper {\n display: flex;\n align-items: flex-start;\n gap: var(--sys-size-2);\n justify-content: flex-start;\n\n .inline-icon {\n display: block;\n margin-top: var(--sys-size-2);\n }\n }\n\n .walkthrough-inline {\n border-radius: var(--sys-shape-corner-full);\n overflow: hidden;\n width: fit-content;\n max-width: 100%;\n\n &[open] {\n border-radius: var(--sys-size-5);\n width: auto;\n background-color: var(--sys-color-surface2);\n margin-left: calc(var(--sys-size-6) / 2);\n flex-grow: 1;\n }\n }\n\n .walkthrough-inline > summary {\n display: flex;\n align-items: center;\n cursor: pointer;\n background-color: transparent;\n /* The same height as a DevTools Button */\n height: var(--sys-size-11);\n font: var(--sys-typescale-body4-regular);\n font-weight:var(--ref-typeface-weight-medium);\n user-select: none;\n list-style: none; /* Hide default triangle */\n justify-content: flex-start;\n gap: var(--sys-size-4);\n color: var(--sys-color-primary);\n padding: 0 var(--sys-size-6);\n overflow: hidden;\n\n devtools-icon {\n color: var(--sys-color-primary);\n }\n\n /* Align the summary to look like the tonal button */\n &[data-has-widgets] {\n background: var(--sys-color-tonal-container);\n color: var(--sys-color-on-tonal-container);\n border-radius: var(--sys-shape-corner-full);\n margin-left: var(--sys-size-6);\n\n devtools-icon {\n color: var(--sys-color-on-tonal-container);\n }\n }\n\n > .walkthrough-inline-title {\n font: var(--sys-typescale-body4-regular);\n font-weight: var(--ref-typeface-weight-medium);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n }\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: calc(-1 * var(--sys-size-2));\n }\n }\n\n .walkthrough-inline[open] > summary {\n border-radius: var(--sys-shape-corner-medium-small);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n background: var(--sys-color-surface5);\n color: var(--sys-color-on-surface);\n\n &[data-has-widgets] {\n margin-left: 0;\n }\n\n > devtools-icon[name='chevron-right'] {\n transform: rotate(270deg);\n }\n\n }\n\n .walkthrough-inline > summary::-webkit-details-marker {\n display: none;\n }\n\n .walkthrough-inline > summary:hover {\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n .walkthrough-inline .steps-container {\n padding: var(--sys-size-6);\n border-top: 1px solid var(--sys-color-divider);\n background-color: transparent;\n }\n\n .walkthrough-inline > summary > devtools-icon[name='chevron-right'] {\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n transition: transform 0.2s;\n margin-left: auto;\n }\n\n .walkthrough-inline .step {\n background-color: var(--sys-color-surface5);\n }\n}\n", nr = /* @__PURE__ */ e({
|
|
131
131
|
DEFAULT_VIEW: () => mr,
|
|
132
132
|
WalkthroughView: () => hr,
|
|
@@ -1535,7 +1535,7 @@ async function ai(e) {
|
|
|
1535
1535
|
};
|
|
1536
1536
|
}
|
|
1537
1537
|
//#endregion
|
|
1538
|
-
//#region \
|
|
1538
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/selectWorkspaceDialog.css.mjs
|
|
1539
1539
|
var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n@scope to (devtools-widget > *) {\n :scope {\n width: 100%;\n box-shadow: none;\n }\n\n .dialog-header {\n margin: var(--sys-size-6) var(--sys-size-8) var(--sys-size-5);\n font: var(--sys-typescale-headline5);\n }\n\n .buttons {\n margin: var(--sys-size-6) var(--sys-size-8) var(--sys-size-8);\n display: flex;\n justify-content: flex-start;\n gap: var(--sys-size-5);\n }\n\n .main-content {\n color: var(--sys-color-on-surface-subtle);\n margin: 0 var(--sys-size-8);\n line-height: 18px;\n }\n\n .add-folder-button {\n margin-left: auto;\n }\n\n ul {\n list-style-type: none;\n padding: 0;\n margin: var(--sys-size-6) 0 var(--sys-size-4) 0;\n max-height: var(--sys-size-20);\n overflow-y: auto;\n }\n\n li {\n display: flex;\n align-items: center;\n color: var(--sys-color-on-surface-subtle);\n border-radius: 0 var(--sys-shape-corner-full) var(--sys-shape-corner-full) 0;\n height: var(--sys-size-10);\n margin: 0 var(--sys-size-8);\n padding-left: var(--sys-size-9);\n }\n\n li:hover, li.selected {\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n li:focus {\n background-color: var(--app-color-navigation-drawer-background-selected);\n }\n\n .folder-icon {\n color: var(--icon-file-default);\n margin-right: var(--sys-size-4);\n }\n\n li.selected .folder-icon {\n color: var(--icon-file-authored);\n }\n\n .select-project-root {\n margin-bottom: var(--sys-size-6);\n }\n\n .theme-with-dark-background, :host-context(.theme-with-dark-background) {\n /*\n * List item is focused and selected: there is no valid state where the list item is focused but not selected.\n */\n li:focus {\n color: var(--app-color-navigation-drawer-label-selected);\n background-color: var(--app-color-navigation-drawer-background-selected);\n\n & .folder-icon {\n color: var(--app-color-navigation-drawer-label-selected);\n }\n }\n }\n\n .ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n", I = {
|
|
1540
1540
|
selectFolder: "Select folder",
|
|
1541
1541
|
selectFolderAccessibleLabel: "Select a folder to apply changes",
|
|
@@ -2143,7 +2143,7 @@ window.aiAssistanceTestPatchPrompt = async (e, t, n) => {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
};
|
|
2145
2145
|
//#endregion
|
|
2146
|
-
//#region \
|
|
2146
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/components/chatInput.css.mjs
|
|
2147
2147
|
var gi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n}\n\n.input-form {\n display: flex;\n flex-direction: column;\n padding: 0 var(--sys-size-5) var(--sys-size-5) var(--sys-size-5);\n max-width: var(--sys-size-36);\n background-color: var(--sys-color-cdt-base-container);\n width: 100%;\n}\n\n.chat-readonly-container {\n display: flex;\n width: 100%;\n max-width: var(--sys-size-36);\n justify-content: center;\n align-items: center;\n background-color: var(--sys-color-surface3);\n font: var(--sys-typescale-body4-regular);\n padding: var(--sys-size-5) 0;\n border-radius: var(--sys-shape-corner-medium-small);\n margin-bottom: var(--sys-size-5);\n color: var(--sys-color-on-surface-subtle);\n}\n\n.chat-input-container {\n width: 100%;\n display: flex;\n position: relative;\n flex-direction: column;\n border: 1px solid var(--sys-color-neutral-outline);\n border-radius: var(--sys-shape-corner-small);\n\n &:focus-within {\n outline: 1px solid var(--sys-color-primary);\n border-color: var(--sys-color-primary);\n }\n\n &.disabled {\n background-color: var(--sys-color-state-disabled-container);\n border-color: transparent;\n\n & .chat-input-disclaimer {\n border-color: var(--sys-color-state-disabled);\n }\n }\n\n &.single-line-layout {\n flex-direction: row;\n justify-content: space-between;\n\n .chat-input {\n flex-shrink: 1;\n padding: var(--sys-size-4);\n }\n\n .chat-input-actions {\n flex-shrink: 0;\n padding-block: 0;\n align-items: flex-end;\n padding-bottom: var(--sys-size-1);\n }\n }\n\n & .image-input-container {\n margin: var(--sys-size-3) var(--sys-size-4) 0;\n max-width: 100%;\n width: fit-content;\n position: relative;\n\n devtools-button {\n position: absolute;\n top: calc(-1 * var(--sys-size-2));\n right: calc(-1 * var(--sys-size-3));\n border-radius: var(--sys-shape-corner-full);\n border: 1px solid var(--sys-color-neutral-outline);\n background-color: var(--sys-color-cdt-base-container);\n }\n\n img {\n max-height: var(--sys-size-18);\n max-width: 100%;\n border: 1px solid var(--sys-color-neutral-outline);\n border-radius: var(--sys-shape-corner-small);\n }\n\n .loading {\n margin: var(--sys-size-4) 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: var(--sys-size-18);\n width: var(--sys-size-19);\n background-color: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n\n devtools-spinner {\n color: var(--sys-color-state-disabled);\n }\n }\n }\n\n & .chat-input-disclaimer-container {\n display: flex;\n align-items: center;\n padding-right: var(--sys-size-3);\n flex-shrink: 0;\n }\n\n & .chat-input-disclaimer {\n display: flex;\n justify-content: center;\n align-items: center;\n font: var(--sys-typescale-body5-regular);\n border-right: 1px solid var(--sys-color-divider);\n padding-right: 8px;\n\n &.hide-divider {\n border-right: none;\n }\n }\n\n /*\n Hide the inline disclaimer on narrow widths (< 400px) because space is limited\n and the disclaimer is shown in the footer instead for this case.\n */\n @container --chat-ui-container (width < 400px) {\n & .chat-input-disclaimer-container {\n display: none;\n }\n }\n}\n\n.chat-input {\n scrollbar-width: none;\n field-sizing: content;\n resize: none;\n width: 100%;\n max-height: 84px; /* 4 rows */\n border: 0;\n border-radius: var(--sys-shape-corner-small);\n font: var(--sys-typescale-body4-regular);\n line-height: 18px;\n min-height: var(--sys-size-11);\n color: var(--sys-color-on-surface);\n background-color: var(--sys-color-cdt-base-container);\n padding: var(--sys-size-4) var(--sys-size-4) var(--sys-size-3)\n var(--sys-size-4);\n\n &::placeholder {\n opacity: 60%;\n }\n\n &:focus-visible {\n outline: 0;\n }\n\n &:disabled {\n color: var(--sys-color-state-disabled);\n background-color: transparent;\n border-color: transparent;\n\n &::placeholder {\n color: var(--sys-color-on-surface-subtle);\n opacity: 100%;\n }\n }\n}\n\n.chat-input-actions {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding-left: var(--sys-size-4);\n padding-right: var(--sys-size-2);\n gap: var(--sys-size-6);\n padding-bottom: var(--sys-size-2);\n\n & .chat-input-actions-left {\n flex: 1 1 0;\n min-width: 0;\n }\n\n & .chat-input-actions-right {\n flex-shrink: 0;\n display: flex;\n\n & .start-new-chat-button {\n padding-bottom: var(--sys-size-2);\n padding-right: var(--sys-size-3);\n }\n }\n}\n\n.chat-inline-button {\n padding-left: 3px;\n}\n\n.select-element {\n display: flex;\n gap: var(--sys-size-3);\n align-items: center;\n\n .resource-link {\n display: flex;\n background-color: var(--sys-color-cdt-base-container);\n align-items: center;\n cursor: pointer;\n padding: var(--sys-size-2) var(--sys-size-3);\n font: var(--sys-typescale-body5-regular);\n border: var(--sys-size-1) solid var(--sys-color-divider);\n border-radius: var(--sys-shape-corner-extra-small);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n /*\n Allow the link/task item to shrink below its intrinsic minimum width in the flex container,\n enabling text-overflow ellipsis to work correctly.\n */\n min-width: 0;\n line-height: 1;\n\n & .title {\n vertical-align: middle;\n /* Fixed italic text getting cut off */\n padding-right: var(--sys-size-2);\n font: var(--sys-typescale-body5-regular);\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n & .remove-context,\n & .add-context {\n vertical-align: middle;\n }\n\n &:focus-visible {\n outline: 2px solid var(--sys-color-state-focus-ring);\n }\n\n devtools-icon,\n devtools-file-source-icon {\n display: inline-flex;\n vertical-align: middle;\n min-width: var(--sys-size-7);\n min-height: var(--sys-size-7);\n }\n\n &.disabled {\n border-style: dashed;\n border-color: var(--sys-color-neutral-outline);\n color: var(--sys-color-on-surface-light);\n\n devtools-icon,\n devtools-file-source-icon {\n /* Override devtools-file-source-icon */\n --override-file-source-icon-color: var(\n --sys-color-on-surface-light-graphics\n );\n /* Some icons set their style attribute and we need to override it */\n /* stylelint-disable-next-line declaration-no-important */\n color: var(--sys-color-on-surface-light-graphics) !important;\n }\n\n .title {\n color: var(--sys-color-on-surface-light);\n font-style: italic;\n }\n }\n\n /*\n CSS styling for `network-override-marker` is similar to\n https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/panels/network/networkLogView.css;l=379.\n There is a difference in `left` and `top` values to make sure\n it is placed correctly for the network icon in assistance panel.\n */\n .network-override-marker {\n position: relative;\n float: left;\n }\n\n .network-override-marker::before {\n content: var(--image-file-empty);\n width: var(--sys-size-4);\n height: var(--sys-size-4);\n border-radius: 50%;\n outline: var(--sys-size-1) solid var(--icon-gap-focus-selected);\n left: 11px;\n position: absolute;\n top: 13px;\n z-index: 1;\n background-color: var(--sys-color-purple-bright);\n }\n\n .image.icon {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n vertical-align: middle;\n margin-right: var(--sys-size-3);\n\n img {\n max-width: var(--sys-size-7);\n max-height: var(--sys-size-7);\n }\n }\n }\n}\n\n.link {\n color: var(--text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\nbutton.link {\n border: none;\n background: none;\n font: inherit;\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: 0;\n border-radius: var(--sys-shape-corner-extra-small);\n }\n}\n\n.floaty {\n font: var(--sys-typescale-body4);\n color: var(--sys-color-on-surface);\n user-select: none;\n padding: 0;\n margin: 0;\n list-style-type: none;\n display: flex;\n flex-flow: row wrap;\n align-items: flex-end;\n gap: var(--sys-size-2);\n margin-bottom: var(--sys-size-2);\n\n li {\n background: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n padding: var(--sys-size-2) var(--sys-size-3);\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-2);\n min-height: var(--sys-size-8);\n }\n\n .context-item {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-2);\n }\n\n .open-floaty {\n padding: 0;\n border: none;\n\n /* To align with other chips */\n margin-bottom: 1px;\n }\n}\n\n.chat-input-footer {\n display: flex;\n justify-content: center;\n padding-block: var(--sys-size-3);\n font: var(--sys-typescale-body5-regular);\n border-top: 1px solid var(--sys-color-divider);\n text-wrap: balance;\n text-align: center;\n width: 100%;\n\n /*\n The footer (for active conversations) is hidden by default on wider screens\n because the disclaimer is shown inline within the chat input actions. Show it only on narrow widths (< 400px).\n */\n &:not(.is-read-only) {\n display: none;\n border: none;\n\n @container --chat-ui-container (width < 400px) {\n display: flex;\n }\n }\n}\n", _i = /* @__PURE__ */ e({
|
|
2148
2148
|
ChatInput: () => ji,
|
|
2149
2149
|
DEFAULT_VIEW: () => Ai
|
|
@@ -2939,7 +2939,7 @@ var Xi = (e, t, n) => {
|
|
|
2939
2939
|
};
|
|
2940
2940
|
customElements.define("devtools-ai-chat-view", Zi);
|
|
2941
2941
|
//#endregion
|
|
2942
|
-
//#region \
|
|
2942
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/components/disabledWidget.css.mjs
|
|
2943
2943
|
var Qi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n .disabled-view {\n display: flex;\n max-width: var(--sys-size-34);\n border-radius: var(--sys-shape-corner-small);\n box-shadow: var(--sys-elevation-level3);\n background-color: var(--app-color-card-background);\n font: var(--sys-typescale-body4-regular);\n text-wrap: pretty;\n padding: var(--sys-size-6) var(--sys-size-8);\n margin: var(--sys-size-4);\n line-height: var(--sys-size-9);\n\n .disabled-view-icon-container {\n flex-shrink: 0;\n border-radius: var(--sys-shape-corner-extra-small);\n width: var(--sys-size-9);\n height: var(--sys-size-9);\n background: linear-gradient(\n 135deg,\n var(--sys-color-gradient-primary),\n var(--sys-color-gradient-tertiary)\n );\n margin-right: var(--sys-size-5);\n\n devtools-icon {\n margin: var(--sys-size-2);\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n }\n }\n }\n\n .link {\n color: var(--text-link);\n text-decoration: underline;\n cursor: pointer;\n }\n}\n", $i = /* @__PURE__ */ e({
|
|
2944
2944
|
DEFAULT_VIEW: () => ia,
|
|
2945
2945
|
DisabledWidget: () => aa
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
2
|
import { D as t, Tt as n } from "./platform-BzB373NB.js";
|
|
3
3
|
import { Pt as r, at as i, bt as a, dt as o, n as s, tn as c, wt as l } from "./common-qd_KLeYO.js";
|
|
4
|
-
import { $i as u, Dt as d, Ja as f, K as p, Kd as m, L as h, La as ee, Md as g, Mn as _, No as v, Qi as te, Xn as y, _a as b, _n as x, bc as S, br as ne, do as re, ei as ie, fa as C, fo as ae, ha as w, jr as T, mf as E, mi as oe, mo as se, ni as ce, no as D, pf as O, rl as k, sl as le, so as A, tl as ue, tt as de, wa as fe, xn as pe, yc as j } from "./legacy-
|
|
5
|
-
import { c as me } from "./common-
|
|
6
|
-
import { v as he } from "./inline_editor-
|
|
7
|
-
//#region \
|
|
4
|
+
import { $i as u, Dt as d, Ja as f, K as p, Kd as m, L as h, La as ee, Md as g, Mn as _, No as v, Qi as te, Xn as y, _a as b, _n as x, bc as S, br as ne, do as re, ei as ie, fa as C, fo as ae, ha as w, jr as T, mf as E, mi as oe, mo as se, ni as ce, no as D, pf as O, rl as k, sl as le, so as A, tl as ue, tt as de, wa as fe, xn as pe, yc as j } from "./legacy-C0IOfyhX.js";
|
|
5
|
+
import { c as me } from "./common-C6gzvSKg.js";
|
|
6
|
+
import { v as he } from "./inline_editor-Dgctmf2_.js";
|
|
7
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/animation/animationTimeline.css.mjs
|
|
8
8
|
var ge = "/*\n * Copyright 2015 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n:host {\n overflow: hidden;\n\n --timeline-controls-width: 150px;\n}\n\n.toolbar-view-container {\n min-height: fit-content;\n}\n\n.animation-node-row {\n width: 100%;\n display: flex;\n border-bottom: 1px dashed var(--sys-color-divider);\n}\n\n.animation-node-description {\n padding-left: 8px;\n overflow: hidden;\n position: relative;\n background-color: var(--sys-color-cdt-base-container);\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: flex-start;\n white-space: nowrap;\n flex: 0 0 var(--timeline-controls-width);\n z-index: 1;\n}\n\n.animation-node-description > * {\n flex: 0 0 auto;\n}\n\n.animation-timeline-row {\n height: 32px;\n position: relative;\n}\n\npath.animation-keyframe {\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n fill-opacity: 20%;\n}\n\n.animation-node-selected path.animation-keyframe,\nsvg.animation-ui g:first-child:hover path.animation-keyframe {\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n fill-opacity: 40%;\n}\n\nline.animation-line {\n stroke-width: 2px;\n stroke-linecap: round;\n fill: none;\n}\n\nline.animation-delay-line {\n stroke-width: 2px;\n stroke-dasharray: 6, 4;\n}\n\nline.animation-delay-line.animation-fill {\n stroke-dasharray: none;\n}\n\ncircle.animation-keyframe-point {\n fill: var(--sys-color-cdt-base-container);\n}\n\ncircle.animation-endpoint,\ncircle.animation-keyframe-point {\n stroke-width: 2px;\n transition: transform 100ms cubic-bezier(0, 0, 0.2, 1);\n transform: scale(1);\n transform-box: fill-box;\n transform-origin: 50% 50%;\n}\n\ncircle.animation-endpoint:active,\ncircle.animation-keyframe-point:active {\n transform: scale(1);\n}\n\n.animation-ui circle.animation-endpoint:hover,\n.animation-ui circle.animation-keyframe-point:hover {\n transform: scale(1.2);\n}\n\n.animation-name {\n position: absolute;\n top: 8px;\n color: var(--sys-color-on-surface);\n text-align: center;\n margin-left: -8px;\n white-space: nowrap;\n}\n\n.animation-timeline-toolbar-container {\n display: flex;\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n flex: 0 0 auto;\n}\n\n.animation-timeline-header {\n height: 28px;\n border-bottom: 1px solid var(--sys-color-divider);\n flex-shrink: 0;\n display: flex;\n}\n\n.animation-timeline-header::after {\n content: '';\n height: calc(100% - 48px - 28px);\n position: absolute;\n width: var(--timeline-controls-width);\n left: 0;\n margin-top: 28px;\n background-color: var(--sys-color-cdt-base-container);\n z-index: 0;\n border-right: 1px solid var(--sys-color-divider);\n}\n\n.animation-controls {\n flex: 0 0 var(--timeline-controls-width);\n position: relative;\n display: flex;\n justify-content: flex-end;\n padding-right: 8px;\n}\n\n.animation-timeline-current-time {\n flex: 0 0 auto;\n line-height: 28px;\n margin-right: 5px;\n}\n\n.animation-grid-header {\n flex: 1 0 auto;\n z-index: 2;\n}\n\n.animation-grid-header.scrubber-enabled {\n cursor: pointer;\n}\n\n.animation-timeline-buffer {\n height: 48px;\n flex: 0 0 auto;\n border-bottom: 1px solid var(--sys-color-divider);\n display: flex;\n padding: 0 2px;\n}\n\n.animation-timeline-buffer-hint {\n display: none;\n}\n\n.animation-time-overlay {\n background-color: var(--sys-color-on-surface);\n opacity: 5%;\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: -1;\n}\n\n.animation-timeline-end > .animation-time-overlay {\n visibility: hidden;\n}\n\n.animation-scrubber {\n opacity: 100%;\n position: absolute;\n left: 10px;\n height: 100%;\n width: 100%;\n top: 28px;\n border-left: 1px solid var(--sys-color-error);\n z-index: 2;\n}\n\n.animation-scrubber-line {\n width: 11px;\n background: linear-gradient(\n to right,\n transparent 5px,\n var(--sys-color-error) 5px,\n var(--sys-color-error) 6px,\n transparent 6px\n );\n position: absolute;\n top: -28px;\n height: 28px;\n left: -6px;\n padding: 0 5px;\n z-index: 3;\n}\n\n.animation-scrubber-head {\n width: 7px;\n height: 7px;\n transform: rotate(45deg);\n background: var(--sys-color-error);\n position: absolute;\n left: 2px;\n top: 1px;\n z-index: 4;\n}\n\n.grid-overflow-wrapper {\n position: absolute;\n left: calc(var(--timeline-controls-width) - 10px);\n top: 76px;\n z-index: 1;\n overflow: hidden;\n width: 100%;\n height: 100%;\n}\n\nsvg.animation-timeline-grid {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n}\n\nrect.animation-timeline-grid-line {\n fill: var(--sys-color-divider);\n}\n\n.animation-timeline-row > svg.animation-ui {\n position: absolute;\n}\n\n.animation-node-timeline {\n flex-grow: 1;\n}\n\n.animation-node-description > div {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n max-height: 100%;\n}\n\n.animation-node-removed {\n filter: saturate(0);\n cursor: not-allowed;\n}\n\n.animation-node-removed-overlay {\n width: 100%;\n height: 100%;\n z-index: 100;\n cursor: not-allowed;\n}\n\nsvg.animation-ui g:first-child {\n opacity: 100%;\n}\n\nsvg.animation-ui circle:focus-visible,\nsvg.animation-ui path:focus-visible {\n outline: 2px solid -webkit-focus-ring-color;\n}\n\n.animation-tail-iterations {\n opacity: 50%;\n}\n\n.animation-keyframe-step line {\n stroke-width: 2;\n stroke-opacity: 30%;\n}\n\ntext.animation-timeline-grid-label {\n font-size: 10px;\n fill: var(--sys-color-token-subtle);\n text-anchor: middle;\n}\n\n.animation-timeline-rows,\n.animation-timeline-rows-hint,\n.animation-timeline-buffer-hint {\n flex-grow: 1;\n overflow: hidden auto;\n z-index: 1;\n}\n\n.animation-timeline-rows-hint {\n display: none;\n}\n\n.animation-timeline-buffer:not(:empty) ~ .animation-timeline-rows:empty {\n flex-grow: 0;\n}\n\n.animation-timeline-rows:empty {\n display: none;\n}\n\n.animation-timeline-buffer:not(:empty)\n ~ .animation-timeline-rows:empty\n ~ .animation-timeline-buffer-hint:not(:empty)\n ~ .animation-timeline-rows-hint,\n.animation-timeline-buffer:empty ~ .animation-timeline-buffer-hint {\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: var(--timeline-controls-width);\n padding: 10px;\n}\n\n.animation-controls-toolbar {\n flex: 0 0 auto;\n}\n\n.animation-node-row.animation-node-selected {\n background-color: var(--sys-color-state-ripple-primary);\n}\n\n.animation-node-selected > .animation-node-description {\n background-color: var(--sys-color-tonal-container);\n}\n\n.animation-buffer-preview {\n height: 40px;\n margin: 4px 2px;\n background-color: var(--sys-color-neutral-container);\n border: 1px solid transparent;\n border-radius: 2px;\n flex: 1 1;\n padding: 4px;\n max-width: 100px;\n animation: newGroupAnim 200ms;\n position: relative;\n}\n\n.animation-buffer-preview.no-animation {\n animation: none;\n}\n\n.animation-buffer-preview .preview-icon {\n position: absolute;\n width: 14px;\n height: 14px;\n right: 1px;\n bottom: 2px;\n opacity: 60%;\n}\n\n.animation-buffer-preview-animation {\n width: 100%;\n height: 100%;\n border-radius: 2px 0 0 2px;\n position: absolute;\n top: 0;\n left: 0;\n background: var(--sys-color-tonal-container);\n opacity: 0%;\n border-right: 1px solid var(--sys-color-divider);\n}\n\n.animation-buffer-preview:focus-visible {\n outline: -webkit-focus-ring-color auto 5px;\n}\n\n.animation-buffer-preview.selected .preview-icon {\n opacity: 100%;\n}\n\n.animation-buffer-preview:not(.selected):focus-visible,\n.animation-buffer-preview:not(.selected):hover {\n background-color: var(--sys-color-surface-variant);\n\n & .preview-icon {\n opacity: 80%;\n }\n}\n\n.animation-buffer-preview.selected {\n background-color: var(--sys-color-tonal-container);\n}\n\n.animation-paused {\n align-items: center;\n justify-content: center;\n display: none;\n}\n\n.animation-paused::before,\n.animation-paused::after {\n content: '';\n background: var(--sys-color-cdt-base-container);\n width: 7px;\n height: 20px;\n border-radius: 2px;\n margin: 2px;\n border: 1px solid var(--sys-color-divider);\n}\n\n.animation-buffer-preview.paused .animation-paused {\n display: flex;\n}\n\n.animation-buffer-preview > svg > line {\n stroke-width: 1px;\n}\n\n.animation-buffer-preview.selected > svg > line {\n stroke: var(\n --sys-color-on-tonal-container\n ) !important; /* stylelint-disable-line declaration-no-important */\n}\n\n@keyframes newGroupAnim {\n from {\n clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0%);\n }\n\n to {\n clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);\n }\n}\n\n.animation-playback-rate-control {\n margin: 4px 0 4px 2px;\n display: flex;\n width: 120px;\n}\n\n.animation-playback-rate-button {\n border-width: 1px;\n border-style: solid;\n border-color: var(--sys-color-tonal-outline);\n border-right-width: 0;\n color: var(--sys-color-on-surface);\n display: inline-block;\n margin-right: -1px;\n padding: 1px 4px;\n background-color: transparent;\n flex: 1 0 auto;\n text-align: center;\n}\n\n.animation-playback-rate-button:first-child {\n border-radius: 4px 0 0 4px;\n}\n\n.animation-playback-rate-button:last-child {\n border-radius: 0 4px 4px 0;\n border-right-width: 1px;\n}\n\n.animation-playback-rate-button.selected {\n color: var(--sys-color-on-tonal-container);\n background-color: var(--sys-color-tonal-container);\n border-color: var(--sys-color-tonal-container);\n z-index: 1;\n}\n\n.animation-playback-rate-button.selected:focus-visible {\n color: var(--sys-color-on-surface);\n}\n\n.animation-playback-rate-button:focus-visible {\n outline: 2px solid var(--sys-color-primary);\n outline-offset: 2px;\n z-index: 9999;\n}\n\n.animation-playback-rate-button:not(.selected, [disabled]):hover {\n background: var(--sys-color-state-hover-on-subtle);\n}\n\n.animation-playback-rate-button[disabled] {\n background: unset;\n border-color: var(--sys-color-state-disabled);\n color: var(--sys-color-state-disabled);\n}\n\n.animation-remove-button {\n position: absolute;\n top: -3px;\n right: -3px;\n background: var(--sys-color-token-subtle);\n border-radius: 12px;\n border: 0;\n height: 16px;\n width: 16px;\n z-index: 100;\n display: none;\n padding: 0;\n\n & > devtools-icon {\n height: 16px;\n width: 16px;\n color: var(--sys-color-cdt-base-container);\n }\n\n &:hover {\n background-color: var(--sys-color-on-surface);\n }\n}\n\n.animation-group-preview-ui {\n position: relative;\n}\n\n.animation-group-preview-ui:hover .animation-remove-button {\n display: flex;\n}\n\n.timeline-controls-resizer {\n position: absolute;\n width: 6px;\n height: 100%;\n left: var(--timeline-controls-width);\n top: 104px;\n z-index: 3;\n /* We put this a bit to the left of the line to allow dragging\n the delay point of the keyframes */\n margin-left: -4px;\n}\n\n@media (forced-colors: active) {\n .animation-playback-rate-button.selected,\n .animation-playback-rate-button.selected:first-child,\n .animation-playback-rate-button.selected:first-child:focus-visible,\n .animation-playback-rate-button:focus-visible {\n forced-color-adjust: none;\n color: HighlightText;\n background-color: Highlight;\n }\n\n .animation-node-description:focus-visible {\n background-color: var(--sys-color-cdt-base-container);\n forced-color-adjust: none;\n }\n\n .monospace {\n forced-color-adjust: auto;\n }\n}\n", _e = /* @__PURE__ */ e({
|
|
9
9
|
AnimationGroupRevealer: () => we,
|
|
10
10
|
AnimationTimeline: () => B,
|
|
@@ -2,35 +2,35 @@ import { n as e } from "./chunk-DF993M8W.js";
|
|
|
2
2
|
import { K as t, Tt as n, W as r, et as i, gt as a, i as o, m as s, nt as c, pt as l, r as u, v as ee, x as te, z as d } from "./platform-BzB373NB.js";
|
|
3
3
|
import { $ as f, A as ne, At as re, Et as p, F as ie, L as ae, O as m, Ot as oe, St as h, Z as se, _n as ce, at as le, bt as g, d as ue, jt as de, n as fe, t as pe, tn as me, vt as he, wt as _, xt as ge } from "./common-qd_KLeYO.js";
|
|
4
4
|
import { l as _e, m as ve, p as ye } from "./root-DbVQo07X.js";
|
|
5
|
-
import { $i as v, $n as be, Bc as xe, Bl as Se, C as Ce, Dl as we, Ds as Te, Dt as Ee, En as De, Fd as Oe, Fo as y, G as ke, Gc as Ae, Hi as je, Hr as Me, I as Ne, Io as Pe, Jc as Fe, Jn as Ie, Jo as Le, Kc as Re, Kl as ze, Ko as Be, L as Ve, La as He, Ld as Ue, Md as b, Mo as x, Na as We, Nd as Ge, No as Ke, Ol as qe, Os as Je, Pd as Ye, Po as S, Ps as Xe, Q as Ze, Qd as Qe, Qi as $e, R as et, Sl as tt, U as nt, Uc as rt, Ul as it, Ur as at, Ut as ot, Vc as st, Vo as ct, Vr as lt, Wc as ut, Wd as dt, Wo as ft, Wt as pt, Xc as mt, Xd as ht, Xf as gt, Xi as _t, Xn as vt, Xr as yt, Yc as bt, Yl as xt, Yn as St, Yo as Ct, Yr as wt, Zi as Tt, Zn as Et, Zo as C, an as Dt, ar as Ot, as as kt, bf as At, bn as jt, br as Mt, bt as Nt, c as Pt, cf as w, ci as Ft, cl as It, df as Lt, dn as Rt, ds as zt, ei as T, er as Bt, fa as Vt, fc as Ht, fd as Ut, ff as Wt, fn as Gt, fo as Kt, fs as qt, g as Jt, gd as Yt, go as Xt, ha as Zt, ho as Qt, i as $t, if as E, ii as en, is as tn, jo as nn, jr as rn, ka as an, kc as on, kr as sn, ks as cn, ma as ln, mf as un, mo as dn, n as fn, na as pn, ni as mn, no as hn, ns as gn, o as _n, oi as vn, ol as yn, or as bn, os as xn, pc as Sn, pf as Cn, pi as wn, pn as Tn, ps as D, qa as O, qc as En, r as Dn, rf as k, rl as On, rs as kn, sf as An, sr as jn, ss as Mn, t as Nn, tf as A, tr as Pn, ts as Fn, ul as In, uo as Ln, us as Rn, vn as zn, wl as Bn, wn as Vn, wo as Hn, xn as Un, y as Wn, yr as Gn, z as Kn, za as qn, zc as Jn } from "./legacy-
|
|
5
|
+
import { $i as v, $n as be, Bc as xe, Bl as Se, C as Ce, Dl as we, Ds as Te, Dt as Ee, En as De, Fd as Oe, Fo as y, G as ke, Gc as Ae, Hi as je, Hr as Me, I as Ne, Io as Pe, Jc as Fe, Jn as Ie, Jo as Le, Kc as Re, Kl as ze, Ko as Be, L as Ve, La as He, Ld as Ue, Md as b, Mo as x, Na as We, Nd as Ge, No as Ke, Ol as qe, Os as Je, Pd as Ye, Po as S, Ps as Xe, Q as Ze, Qd as Qe, Qi as $e, R as et, Sl as tt, U as nt, Uc as rt, Ul as it, Ur as at, Ut as ot, Vc as st, Vo as ct, Vr as lt, Wc as ut, Wd as dt, Wo as ft, Wt as pt, Xc as mt, Xd as ht, Xf as gt, Xi as _t, Xn as vt, Xr as yt, Yc as bt, Yl as xt, Yn as St, Yo as Ct, Yr as wt, Zi as Tt, Zn as Et, Zo as C, an as Dt, ar as Ot, as as kt, bf as At, bn as jt, br as Mt, bt as Nt, c as Pt, cf as w, ci as Ft, cl as It, df as Lt, dn as Rt, ds as zt, ei as T, er as Bt, fa as Vt, fc as Ht, fd as Ut, ff as Wt, fn as Gt, fo as Kt, fs as qt, g as Jt, gd as Yt, go as Xt, ha as Zt, ho as Qt, i as $t, if as E, ii as en, is as tn, jo as nn, jr as rn, ka as an, kc as on, kr as sn, ks as cn, ma as ln, mf as un, mo as dn, n as fn, na as pn, ni as mn, no as hn, ns as gn, o as _n, oi as vn, ol as yn, or as bn, os as xn, pc as Sn, pf as Cn, pi as wn, pn as Tn, ps as D, qa as O, qc as En, r as Dn, rf as k, rl as On, rs as kn, sf as An, sr as jn, ss as Mn, t as Nn, tf as A, tr as Pn, ts as Fn, ul as In, uo as Ln, us as Rn, vn as zn, wl as Bn, wn as Vn, wo as Hn, xn as Un, y as Wn, yr as Gn, z as Kn, za as qn, zc as Jn } from "./legacy-C0IOfyhX.js";
|
|
6
6
|
import { Ot as Yn, Xt as Xn, b as Zn } from "./codemirror-CBR9VJma.js";
|
|
7
7
|
import { c as Qn, g as $n, o as er } from "./text_utils-ohNt_gua.js";
|
|
8
|
-
import { B as tr, R as nr, o as rr, p as ir, s as ar, v as or, w as sr } from "./bindings-
|
|
9
|
-
import { C as cr, Ht as lr, at as ur, o as dr, v as fr, w as pr } from "./common-
|
|
10
|
-
import { _ as mr, f as hr, g as gr, o as _r, s as vr } from "./object_ui-
|
|
11
|
-
import { n as yr, t as br } from "./i18n-
|
|
12
|
-
import { S as xr } from "./text_editor-
|
|
8
|
+
import { B as tr, R as nr, o as rr, p as ir, s as ar, v as or, w as sr } from "./bindings-B7uzkbnH.js";
|
|
9
|
+
import { C as cr, Ht as lr, at as ur, o as dr, v as fr, w as pr } from "./common-C6gzvSKg.js";
|
|
10
|
+
import { _ as mr, f as hr, g as gr, o as _r, s as vr } from "./object_ui-C8fCheVq.js";
|
|
11
|
+
import { n as yr, t as br } from "./i18n-DUXZnMbP.js";
|
|
12
|
+
import { S as xr } from "./text_editor-BH_W0fXD.js";
|
|
13
13
|
import { n as Sr, t as Cr } from "./diff-qn55JSCS.js";
|
|
14
|
-
import { i as wr, r as Tr } from "./code_highlighter-
|
|
15
|
-
import { t as Er } from "./objectValue.css-
|
|
16
|
-
import "./icon_button-
|
|
17
|
-
import { n as Dr } from "./issues_manager-
|
|
14
|
+
import { i as wr, r as Tr } from "./code_highlighter-oWKo9plW.js";
|
|
15
|
+
import { t as Er } from "./objectValue.css-B7vmCz4R.js";
|
|
16
|
+
import "./icon_button-mu37qw0h.js";
|
|
17
|
+
import { n as Dr } from "./issues_manager-7hP__vf-.js";
|
|
18
18
|
import { i as Or, n as kr, t as Ar } from "./UIFilter-CIzBruM3.js";
|
|
19
19
|
import { n as jr, r as Mr } from "./UIRequestLocation-CtGcVN3I.js";
|
|
20
|
-
import "./request_link_icon-
|
|
21
|
-
import { c as Nr, l as Pr, s as Fr, u as Ir } from "./data_grid-
|
|
22
|
-
import { n as Lr } from "./settings_ui-
|
|
23
|
-
import { t as Rr } from "./textInput.css-
|
|
24
|
-
import "./components-
|
|
25
|
-
import "./inline_editor-
|
|
26
|
-
import { t as zr } from "./adorners-
|
|
27
|
-
import { l as Br } from "./mobile_throttling-
|
|
28
|
-
import { a as Vr, c as Hr, i as Ur, n as Wr, o as Gr, t as Kr } from "./source_frame-
|
|
29
|
-
import { c as qr } from "./perf_ui-
|
|
30
|
-
import { n as Jr, r as Yr, t as Xr } from "./helper-
|
|
31
|
-
import { T as Zr, h as Qr, x as $r } from "./network-
|
|
32
|
-
import { a as ei, s as ti } from "./menus-
|
|
33
|
-
import { i as ni, n as ri } from "./protocol_monitor-
|
|
20
|
+
import "./request_link_icon-BjtC6uxv.js";
|
|
21
|
+
import { c as Nr, l as Pr, s as Fr, u as Ir } from "./data_grid-6RZWyPx-.js";
|
|
22
|
+
import { n as Lr } from "./settings_ui-Df8-TVsv.js";
|
|
23
|
+
import { t as Rr } from "./textInput.css-D9hN8XWo.js";
|
|
24
|
+
import "./components-DlE11Hk_.js";
|
|
25
|
+
import "./inline_editor-Dgctmf2_.js";
|
|
26
|
+
import { t as zr } from "./adorners-Be2VY5BN.js";
|
|
27
|
+
import { l as Br } from "./mobile_throttling-BKeQegny.js";
|
|
28
|
+
import { a as Vr, c as Hr, i as Ur, n as Wr, o as Gr, t as Kr } from "./source_frame-CzY7luV4.js";
|
|
29
|
+
import { c as qr } from "./perf_ui-Cp2qToEB.js";
|
|
30
|
+
import { n as Jr, r as Yr, t as Xr } from "./helper-DoR8dYRk.js";
|
|
31
|
+
import { T as Zr, h as Qr, x as $r } from "./network-C1U3mkwJ.js";
|
|
32
|
+
import { a as ei, s as ti } from "./menus-DoacKucS.js";
|
|
33
|
+
import { i as ni, n as ri } from "./protocol_monitor-BG2dkmPK.js";
|
|
34
34
|
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts
|
|
35
35
|
var ii = class extends HTMLElement {
|
|
36
36
|
wrapper = null;
|
|
@@ -1053,7 +1053,7 @@ var Ai = (e, t, n) => {
|
|
|
1053
1053
|
};
|
|
1054
1054
|
customElements.define("devtools-interest-group-access-grid", da);
|
|
1055
1055
|
//#endregion
|
|
1056
|
-
//#region \
|
|
1056
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/application/components/permissionsPolicySection.css.mjs
|
|
1057
1057
|
var fa = "/*\n * Copyright 2021 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n :scope {\n display: contents;\n }\n\n .text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .link,\n .devtools-link {\n color: var(--sys-color-primary);\n text-decoration: underline;\n cursor: pointer;\n outline-offset: 2px;\n }\n\n button.link {\n border: none;\n background: none;\n font-family: inherit;\n font-size: inherit;\n }\n\n .policies-list {\n padding-top: 3px;\n }\n\n .permissions-row {\n display: flex;\n line-height: 22px;\n }\n\n .permissions-row div {\n padding-right: 5px;\n }\n\n .feature-name {\n width: 135px;\n }\n\n .allowed-icon {\n vertical-align: sub;\n }\n\n .block-reason {\n width: 215px;\n }\n\n .disabled-features-button {\n padding-left: var(--sys-size-3);\n }\n}\n", pa = /* @__PURE__ */ e({
|
|
1058
1058
|
PermissionsPolicySection: () => xa,
|
|
1059
1059
|
renderIconLink: () => _a
|
|
@@ -1702,7 +1702,7 @@ var po = /* @__PURE__ */ e({ SharedStorageMetadataView: () => vo }), { html: mo
|
|
|
1702
1702
|
};
|
|
1703
1703
|
customElements.define("devtools-shared-storage-metadata-view", vo);
|
|
1704
1704
|
//#endregion
|
|
1705
|
-
//#region \
|
|
1705
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/application/components/trustTokensView.css.mjs
|
|
1706
1706
|
var yo = "/*\n * Copyright 2021 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n:host {\n padding: 20px;\n height: 100%;\n display: flex;\n}\n\n.heading {\n font-size: 15px;\n}\n\ndevtools-data-grid {\n margin-top: 20px;\n\n & devtools-button {\n width: 14px;\n height: 14px;\n }\n}\n\ndevtools-icon {\n width: 14px;\n height: 14px;\n}\n\n.no-tt-message {\n margin-top: 20px;\n}\n", bo = /* @__PURE__ */ e({
|
|
1707
1707
|
TrustTokensView: () => ko,
|
|
1708
1708
|
i18nString: () => To
|
|
@@ -3499,7 +3499,7 @@ function Xs(e) {
|
|
|
3499
3499
|
return Bs(t) || Vs(e) ? t : e;
|
|
3500
3500
|
}
|
|
3501
3501
|
//#endregion
|
|
3502
|
-
//#region \
|
|
3502
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/application/frameDetailsReportView.css.mjs
|
|
3503
3503
|
var Zs = "/*\n * Copyright 2021 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n:host {\n overflow: auto;\n}\n\n.text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbutton ~ .text-ellipsis {\n padding-left: 2px;\n}\n\n.link,\n.devtools-link {\n color: var(--sys-color-primary);\n text-decoration: underline;\n cursor: pointer;\n outline-offset: 2px;\n padding: 0;\n margin-left: var(--sys-size-3);\n white-space: nowrap;;\n}\n\nbutton.link {\n border: none;\n background: none;\n font-family: inherit;\n font-size: inherit;\n height: 16px;\n}\n\nbutton.link:has(devtools-icon) {\n margin-top: 5px;\n}\n\ndevtools-button.help-button {\n top: 4px;\n position: relative;\n}\n\nbutton.text-link {\n padding-left: 2px;\n height: 26px;\n}\n\n.inline-button {\n padding-left: 1ex;\n}\n\n.inline-comment {\n padding-left: 1ex;\n white-space: pre-line;\n}\n\n.inline-comment::before {\n content: \"(\";\n}\n\n.inline-comment::after {\n content: \")\";\n}\n\n.inline-name {\n color: var(--sys-color-token-subtle);\n padding-inline: 4px;\n user-select: none;\n white-space: pre-line;\n}\n\n.inline-items {\n display: flex;\n}\n\n.inline-items devtools-button {\n flex: 0 0 20px;\n width: 20px;\n height: 20px;\n}\n\n.inline-items .text-ellipsis {\n flex: 0 1 auto;\n min-width: 0;\n padding-left: 2px;\n}\n\n.span-cols {\n grid-column-start: span 2;\n margin-left: var(--sys-size-9);\n line-height: 28px;\n}\n\n.report-section:has(.link) {\n line-height: var(--sys-size-12);\n}\n\n.without-min-width {\n min-width: auto;\n}\n\n.bold {\n font-weight: bold;\n}\n\n.link:not(button):has(devtools-icon) {\n vertical-align: baseline;\n margin-inline-start: 3px;\n}\n\n.inline-icon {\n margin-bottom: -5px;\n width: 18px;\n height: 18px;\n vertical-align: baseline;\n}\n\n@media (forced-colors: active) {\n .link,\n .devtools-link {\n color: linktext;\n text-decoration-color: linktext;\n }\n}\n", Qs = "/*\n * Copyright 2021 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.content {\n display: grid;\n grid-template-columns: min-content 1fr;\n}\n\n.key {\n color: var(--sys-color-token-subtle);\n padding: 0 6px;\n text-align: right;\n white-space: pre;\n}\n\n.value {\n color: var(--sys-color-token-subtle);\n margin-inline-start: 0;\n padding: 0 6px;\n}\n\n.error-text {\n color: var(--sys-color-error-bright);\n font-weight: bold;\n}\n", $s = "/*\n * Copyright 2023 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n:host {\n .status-badge {\n border-radius: 4px;\n padding: 4px;\n background: var(--sys-color-neutral-container);\n\n & > devtools-icon {\n vertical-align: sub;\n }\n }\n\n .badge-error {\n --override-adorner-text-color: var(--sys-color-error-bright);\n --override-adorner-border-color: var(--sys-color-error-bright);\n }\n\n .badge-success {\n --override-adorner-text-color: var(--sys-color-tertiary);\n --override-adorner-border-color: var(--sys-color-tertiary);\n }\n\n .badge-secondary {\n --override-adorner-text-color: var(--sys-color-token-subtle);\n --override-adorner-border-color: var(--sys-color-token-subtle);\n }\n\n /* Use mono-space source code font to assist reading of adorner content */\n devtools-adorner {\n font-family: var(--source-code-font-family);\n }\n\n .token-status-badge {\n display: none;\n }\n\n [aria-expanded='false'] .token-status-badge {\n display: inline-flex;\n }\n}", ec = /* @__PURE__ */ e({
|
|
3504
3504
|
OriginTrialTokenRows: () => fc,
|
|
3505
3505
|
OriginTrialTreeView: () => mc
|
|
@@ -5621,7 +5621,7 @@ var { charDiff: Wl } = Cr, { render: Gl, html: Kl, Directives: { styleMap: ql }
|
|
|
5621
5621
|
};
|
|
5622
5622
|
customElements.define("devtools-resources-preloading-details-report-view", ou);
|
|
5623
5623
|
//#endregion
|
|
5624
|
-
//#region \
|
|
5624
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css.mjs
|
|
5625
5625
|
var su = "/*\n * Copyright 2023 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n#container {\n padding: 6px 12px;\n border-bottom: 1px solid var(--sys-color-divider);\n align-items: center;\n display: flex;\n}\n\n#contents .key {\n grid-column-start: span 2;\n font-weight: bold;\n}\n\n#contents .value {\n grid-column-start: span 2;\n margin-top: var(--sys-size-6);\n}\n\n#footer {\n margin-top: var(--sys-size-6);\n margin-bottom: var(--sys-size-2);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n grid-column-start: span 2;\n}\n\ndevtools-link {\n color: var(--sys-color-primary);\n text-decoration-line: underline;\n}\n", { urlString: cu } = l, lu = {
|
|
5626
5626
|
infobarPreloadingIsDisabled: "Speculative loading is disabled",
|
|
5627
5627
|
infobarPreloadingIsForceEnabled: "Speculative loading is force-enabled",
|
|
@@ -9073,7 +9073,7 @@ Wt.register(Rp, {
|
|
|
9073
9073
|
autostart: !0
|
|
9074
9074
|
});
|
|
9075
9075
|
//#endregion
|
|
9076
|
-
//#region \
|
|
9076
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/application/webMCPView.css.mjs
|
|
9077
9077
|
var zp = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n .webmcp-view {\n height: 100%;\n width: 100%;\n }\n\n .call-log,\n .tool-list {\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: auto;\n padding: 0;\n }\n\n .empty-view-scroller {\n flex: auto;\n }\n\n devtools-data-grid {\n flex: auto;\n }\n\n .data-grid {\n th {\n height: 26px;\n }\n\n td {\n vertical-align: middle;\n }\n\n tr.status-cancelled {\n color: var(--sys-color-on-surface-light);\n }\n\n tr.status-error {\n color: var(--sys-color-error);\n }\n\n tr.selected {\n background-color: var(--sys-color-tonal-container);\n }\n\n tbody tr.selected.status-error,\n tbody tr.selected.status-error.revealed {\n background-color: var(--sys-color-error-container);\n color: var(--sys-color-error);\n }\n\n tbody tr:hover .run-tool-action-button,\n tbody tr:focus-within .run-tool-action-button,\n &:focus-within tbody tr.selected .run-tool-action-button {\n display: flex;\n }\n }\n\n .section-title {\n display: flex;\n gap: var(--sys-size-2);\n background-color: var(--sys-color-surface1);\n padding: 0 var(--sys-size-3);\n line-height: var(--sys-size-10);\n overflow: hidden;\n align-items: center;\n flex: none;\n color: var(--sys-color-on-surface);\n border-bottom: 1px solid var(--sys-color-divider);\n\n devtools-button {\n margin: calc(-1 * var(--sys-size-1)) 0;\n }\n }\n\n .status-cell {\n display: flex;\n align-items: center;\n gap: var(--sys-size-3);\n }\n\n .name-cell {\n display: flex;\n gap: var(--sys-size-5);\n align-items: center;\n min-width: 0;\n }\n\n .name-cell > span {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n }\n\n .run-tool-action-button {\n display: none;\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n\n devtools-icon {\n width: var(--sys-size-7);\n height: var(--sys-size-7);\n color: var(--sys-color-primary);\n }\n }\n\n .tool-details {\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .tool-details-grid {\n display: grid;\n grid-template-columns: min-content 1fr;\n gap: var(--sys-size-6);\n padding: calc(0.5*var(--sys-size-6)) var(--sys-size-8);\n align-items: flex-start;\n overflow-y: auto;\n\n .label {\n color: var(--sys-color-on-surface-subtle);\n white-space: nowrap;\n padding: var(--sys-size-3) 0;\n }\n\n .value {\n user-select: text;\n\n &.source-code {\n color: var(--sys-color-token-property-special);\n }\n\n padding: var(--sys-size-3) 0;\n color: var(--sys-color-on-surface);\n overflow-wrap: anywhere;\n\n &.stack-trace {\n display: flex;\n padding: 0;\n margin-top: calc(-1 * (var(--sys-size-1) + var(--sys-size-2)));\n margin-left: calc(-1 * var(--sys-size-3));\n }\n\n &.tool-origin-container {\n display: flex;\n align-items: center;\n gap: var(--sys-size-4);\n }\n\n .tool-origin-node {\n display: flex;\n align-items: center;\n cursor: default;\n }\n }\n\n .show-element {\n height: 1lh;\n }\n }\n\n devtools-list {\n flex: 1 1 auto;\n margin: 0;\n padding: var(--sys-size-4) 0;\n box-sizing: border-box;\n }\n\n .tool-item {\n display: flex;\n flex-direction: column;\n padding: var(--sys-size-5) var(--sys-size-4);\n gap: var(--sys-size-3);\n width: 100%;\n box-sizing: border-box;\n border-bottom: 1px solid var(--sys-color-divider);\n\n &:hover {\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n &.selected {\n background-color: var(--sys-color-tonal-container);\n }\n }\n\n .tool-name-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: var(--sys-size-5);\n\n .tool-icons {\n display: flex;\n gap: var(--sys-size-2);\n align-items: center;\n }\n /* stylelint-disable-next-line selector-type-no-unknown */\n icon-button {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n }\n\n .tool-name.source-code {\n color: var(--sys-color-token-property-special);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n flex: 1;\n }\n\n .tool-description {\n color: var(--sys-color-on-surface);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n devtools-toolbar-input {\n flex-grow: 1;\n flex-shrink: 1;\n }\n\n .toolbar-text.status-error-text {\n color: var(--sys-color-error);\n }\n\n .toolbar-text.status-cancelled-text {\n color: var(--sys-color-on-surface-light);\n }\n\n .call-details-tabbed-pane {\n flex: auto;\n border-bottom: 1px solid var(--sys-color-divider);\n }\n\n .call-payload-view {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n .call-payload-content {\n padding: var(--sys-size-5);\n flex: auto;\n overflow: auto;\n }\n\n .payload-value.error-text {\n color: var(--sys-color-error);\n white-space: pre-wrap;\n }\n\n .sidebar-tool-details {\n flex: none;\n border-bottom: 1px solid var(--sys-color-divider);\n }\n\n .call-to-action {\n background-color: var(--sys-color-neutral-container);\n padding: 8px;\n border-radius: 5px;\n margin: 4px;\n }\n\n .call-to-action-body {\n padding: 6px 0;\n margin-left: 9.5px;\n border-left: 2px solid var(--issue-color-yellow);\n padding-left: 18px;\n line-height: 20px;\n }\n\n .call-to-action .explanation {\n font-weight: bold;\n }\n\n .inline-icon {\n vertical-align: middle;\n }\n\n .json-editor-widget {\n flex: auto;\n /* extend the JSON editor padding to match the details grid */\n padding-left: calc(var(--sys-size-8) - 1em);\n min-height: 0;\n }\n\n .webmcp-run-tool-button {\n align-self: flex-end;\n margin: var(--sys-size-6) var(--sys-size-8);\n }\n}\n", Bp = /* @__PURE__ */ e({
|
|
9078
9078
|
DEFAULT_VIEW: () => Xp,
|
|
9079
9079
|
PAYLOAD_DEFAULT_VIEW: () => Qp,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
2
|
import { bt as t, d as n, wt as r } from "./common-qd_KLeYO.js";
|
|
3
|
-
import { Jn as i, La as a, Md as o, No as s, Qt as c, Ud as l, Vc as u, Vo as d, Wc as f, Zo as p, ei as m, jr as h, mf as g, pf as _, qa as v } from "./legacy-
|
|
4
|
-
import "./data_grid-
|
|
5
|
-
import { n as y, t as b } from "./autofill_manager-
|
|
6
|
-
import "./adorners-
|
|
7
|
-
//#region \
|
|
3
|
+
import { Jn as i, La as a, Md as o, No as s, Qt as c, Ud as l, Vc as u, Vo as d, Wc as f, Zo as p, ei as m, jr as h, mf as g, pf as _, qa as v } from "./legacy-C0IOfyhX.js";
|
|
4
|
+
import "./data_grid-6RZWyPx-.js";
|
|
5
|
+
import { n as y, t as b } from "./autofill_manager-Cw0wOndc.js";
|
|
6
|
+
import "./adorners-Be2VY5BN.js";
|
|
7
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/autofill/autofillView.css.mjs
|
|
8
8
|
var x = "/*\n * Copyright 2023 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n main {\n height: 100%;\n }\n\n .header {\n display: flex;\n border-bottom: 1px solid var(--sys-color-divider);\n width: 100%;\n }\n\n .placeholder-container {\n height: calc(100% - 29px);\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .address {\n padding: 10px;\n margin-right: auto;\n }\n\n .filled-fields-grid {\n border-top: 1px solid var(--sys-color-divider);\n box-sizing: border-box;\n }\n\n .content-container {\n display: flex;\n flex-flow: column;\n height: 100%;\n }\n\n .grid-wrapper {\n flex-grow: 1;\n }\n\n devtools-data-grid {\n border: none;\n height: 100%;\n }\n\n .checkbox-label {\n display: flex;\n align-items: center;\n }\n\n .right-to-left {\n border-bottom: 1px solid var(--sys-color-divider);\n display: flex;\n flex-flow: row-reverse wrap;\n justify-content: flex-end;\n }\n\n .label-container {\n padding: 5px;\n display: flex;\n align-items: flex-start;\n }\n\n .top-left-corner {\n border-bottom: 1px solid var(--sys-color-divider);\n display: flex;\n padding: 5px;\n gap: 10px;\n }\n\n .matches-filled-field {\n background-color: var(--sys-color-tonal-container);\n }\n\n .highlighted {\n background-color: var(--sys-color-state-focus-select);\n }\n\n .link {\n color: var(--sys-color-primary);\n text-decoration-line: underline;\n }\n\n .feedback {\n margin: auto 5px auto auto;\n font-size: var(--sys-typescale-body4-size);\n }\n}\n", S = /* @__PURE__ */ e({
|
|
9
9
|
AutofillView: () => P,
|
|
10
10
|
i18nString: () => M
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { x as e } from "./platform-BzB373NB.js";
|
|
2
2
|
import { At as t } from "./common-qd_KLeYO.js";
|
|
3
|
-
import { Md as n, Ol as r, _c as i, gc as a, ol as o, tl as s, ul as c } from "./legacy-
|
|
3
|
+
import { Md as n, Ol as r, _c as i, gc as a, ol as o, tl as s, ul as c } from "./legacy-C0IOfyhX.js";
|
|
4
4
|
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/models/autofill_manager/AutofillManager.ts
|
|
5
5
|
var l, u = class u extends t {
|
|
6
6
|
#e = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { K as e, St as t, W as n, i as r, j as i, rt as a, x as o } from "./platform-BzB373NB.js";
|
|
2
2
|
import { $ as s, A as c, At as l, F as u, L as d, O as f, R as p, Z as m, at as ee, bt as h, d as te, n as ne, nt as re, p as g, q as ie, t as ae, wt as _ } from "./common-qd_KLeYO.js";
|
|
3
3
|
import { g as v, p as oe } from "./root-DbVQo07X.js";
|
|
4
|
-
import { $f as se, $l as ce, $s as le, Ad as ue, Al as y, Fl as de, Jd as b, Kl as x, Md as S, Nd as fe, Nl as C, Pl as w, Ql as pe, Qs as me, Rl as he, Sl as ge, Vc as _e, Wc as T, Xf as E, Yl as ve, Zl as ye, _l as D, af as O, cu as be, dc as xe, ef as Se, ff as Ce, hl as k, kl as A, pl as j, vl as we, wl as Te, xl as Ee } from "./legacy-
|
|
4
|
+
import { $f as se, $l as ce, $s as le, Ad as ue, Al as y, Fl as de, Jd as b, Kl as x, Md as S, Nd as fe, Nl as C, Pl as w, Ql as pe, Qs as me, Rl as he, Sl as ge, Vc as _e, Wc as T, Xf as E, Yl as ve, Zl as ye, _l as D, af as O, cu as be, dc as xe, ef as Se, ff as Ce, hl as k, kl as A, pl as j, vl as we, wl as Te, xl as Ee } from "./legacy-C0IOfyhX.js";
|
|
5
5
|
import { S as De, _ as Oe, b as M, g as N, m as ke, o as Ae, t as je, v as Me } from "./text_utils-ohNt_gua.js";
|
|
6
6
|
import { a as P } from "./FormatterActions-FcPgI0uV.js";
|
|
7
7
|
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/models/stack_trace/DetailedErrorStackParser.ts
|