@oddsquad/vite-plugin-lit 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE +1 -1
  3. package/README.md +14 -7
  4. package/bin.mjs +2 -8
  5. package/client.d.ts +0 -6
  6. package/dist/client/assets/{browser-agent-rpc-BXhoSh1z-BuCvPGjS.js → browser-agent-rpc-BXhoSh1z-ybEeG-x9.js} +2 -2
  7. package/dist/client/assets/{browser-agent-rpc-BXhoSh1z-BuCvPGjS.js.map → browser-agent-rpc-BXhoSh1z-ybEeG-x9.js.map} +1 -1
  8. package/dist/client/assets/{index-D632jo79.js → index-CgkhETVR.js} +2 -144
  9. package/dist/client/assets/index-CgkhETVR.js.map +1 -0
  10. package/dist/client/index.html +1 -1
  11. package/dist/standalone/lit-devtools.js +2 -105
  12. package/index.d.ts +0 -5
  13. package/index.d.ts.map +1 -1
  14. package/index.js +1 -5
  15. package/index.js.map +1 -1
  16. package/lib/color-scheme.d.ts +0 -5
  17. package/lib/color-scheme.d.ts.map +1 -1
  18. package/lib/color-scheme.js +0 -5
  19. package/lib/color-scheme.js.map +1 -1
  20. package/lib/confine.d.ts +0 -5
  21. package/lib/confine.d.ts.map +1 -1
  22. package/lib/confine.js +0 -5
  23. package/lib/confine.js.map +1 -1
  24. package/lib/devframe/allowed-origins.d.ts +11 -3
  25. package/lib/devframe/allowed-origins.d.ts.map +1 -1
  26. package/lib/devframe/allowed-origins.js +0 -5
  27. package/lib/devframe/allowed-origins.js.map +1 -1
  28. package/lib/devframe/definition.d.ts +7 -3
  29. package/lib/devframe/definition.d.ts.map +1 -1
  30. package/lib/devframe/definition.js +1 -6
  31. package/lib/devframe/definition.js.map +1 -1
  32. package/lib/devframe/icon.d.ts +0 -5
  33. package/lib/devframe/icon.d.ts.map +1 -1
  34. package/lib/devframe/icon.js +0 -5
  35. package/lib/devframe/icon.js.map +1 -1
  36. package/lib/devframe/launch-editor.d.ts +0 -5
  37. package/lib/devframe/launch-editor.d.ts.map +1 -1
  38. package/lib/devframe/launch-editor.js +0 -5
  39. package/lib/devframe/launch-editor.js.map +1 -1
  40. package/lib/devframe/paths.d.ts +8 -3
  41. package/lib/devframe/paths.d.ts.map +1 -1
  42. package/lib/devframe/paths.js +0 -5
  43. package/lib/devframe/paths.js.map +1 -1
  44. package/lib/devframe/protocol.d.ts +6 -3
  45. package/lib/devframe/protocol.d.ts.map +1 -1
  46. package/lib/devframe/protocol.js +0 -5
  47. package/lib/devframe/protocol.js.map +1 -1
  48. package/lib/devframe/rpc-source.d.ts +15 -3
  49. package/lib/devframe/rpc-source.d.ts.map +1 -1
  50. package/lib/devframe/rpc-source.js +0 -5
  51. package/lib/devframe/rpc-source.js.map +1 -1
  52. package/lib/devframe/source.d.ts +0 -5
  53. package/lib/devframe/source.d.ts.map +1 -1
  54. package/lib/devframe/source.js +7 -3
  55. package/lib/devframe/source.js.map +1 -1
  56. package/lib/devframe/vite.d.ts +0 -5
  57. package/lib/devframe/vite.d.ts.map +1 -1
  58. package/lib/devframe/vite.js +16 -3
  59. package/lib/devframe/vite.js.map +1 -1
  60. package/lib/http.d.ts +0 -5
  61. package/lib/http.d.ts.map +1 -1
  62. package/lib/http.js +0 -5
  63. package/lib/http.js.map +1 -1
  64. package/lib/icons.d.ts +0 -5
  65. package/lib/icons.d.ts.map +1 -1
  66. package/lib/icons.js +0 -5
  67. package/lib/icons.js.map +1 -1
  68. package/lib/options.d.ts +0 -5
  69. package/lib/options.d.ts.map +1 -1
  70. package/lib/options.js +0 -5
  71. package/lib/options.js.map +1 -1
  72. package/lib/override-baselines.d.ts +0 -5
  73. package/lib/override-baselines.d.ts.map +1 -1
  74. package/lib/override-baselines.js +0 -5
  75. package/lib/override-baselines.js.map +1 -1
  76. package/lib/plugin.d.ts +0 -5
  77. package/lib/plugin.d.ts.map +1 -1
  78. package/lib/plugin.js +0 -5
  79. package/lib/plugin.js.map +1 -1
  80. package/lib/plugins/css-literals.d.ts +0 -5
  81. package/lib/plugins/css-literals.d.ts.map +1 -1
  82. package/lib/plugins/css-literals.js +0 -5
  83. package/lib/plugins/css-literals.js.map +1 -1
  84. package/lib/plugins/css-queries.d.ts +0 -5
  85. package/lib/plugins/css-queries.d.ts.map +1 -1
  86. package/lib/plugins/css-queries.js +0 -5
  87. package/lib/plugins/css-queries.js.map +1 -1
  88. package/lib/plugins/open-in-editor.d.ts +0 -5
  89. package/lib/plugins/open-in-editor.d.ts.map +1 -1
  90. package/lib/plugins/open-in-editor.js +0 -5
  91. package/lib/plugins/open-in-editor.js.map +1 -1
  92. package/lib/plugins/private-fields.d.ts +0 -5
  93. package/lib/plugins/private-fields.d.ts.map +1 -1
  94. package/lib/plugins/private-fields.js +0 -5
  95. package/lib/plugins/private-fields.js.map +1 -1
  96. package/lib/plugins/shared.d.ts +0 -5
  97. package/lib/plugins/shared.d.ts.map +1 -1
  98. package/lib/plugins/shared.js +0 -5
  99. package/lib/plugins/shared.js.map +1 -1
  100. package/lib/plugins/timeline-virtual.d.ts +0 -5
  101. package/lib/plugins/timeline-virtual.d.ts.map +1 -1
  102. package/lib/plugins/timeline-virtual.js +0 -5
  103. package/lib/plugins/timeline-virtual.js.map +1 -1
  104. package/lib/runtime/child-state.d.ts +0 -5
  105. package/lib/runtime/child-state.d.ts.map +1 -1
  106. package/lib/runtime/child-state.js +18 -3
  107. package/lib/runtime/child-state.js.map +1 -1
  108. package/lib/runtime/css.d.ts +14 -3
  109. package/lib/runtime/css.d.ts.map +1 -1
  110. package/lib/runtime/css.js +3 -5
  111. package/lib/runtime/css.js.map +1 -1
  112. package/lib/runtime/edge-panel.d.ts +8 -3
  113. package/lib/runtime/edge-panel.d.ts.map +1 -1
  114. package/lib/runtime/edge-panel.js +0 -5
  115. package/lib/runtime/edge-panel.js.map +1 -1
  116. package/lib/runtime/fonts.d.ts +0 -5
  117. package/lib/runtime/fonts.d.ts.map +1 -1
  118. package/lib/runtime/fonts.js +0 -5
  119. package/lib/runtime/fonts.js.map +1 -1
  120. package/lib/runtime/indicator.d.ts +3 -3
  121. package/lib/runtime/indicator.js +0 -5
  122. package/lib/runtime/indicator.js.map +1 -1
  123. package/lib/runtime/inspector/collect.d.ts +3 -3
  124. package/lib/runtime/inspector/collect.d.ts.map +1 -1
  125. package/lib/runtime/inspector/collect.js +0 -5
  126. package/lib/runtime/inspector/collect.js.map +1 -1
  127. package/lib/runtime/inspector/highlight.d.ts +10 -3
  128. package/lib/runtime/inspector/highlight.d.ts.map +1 -1
  129. package/lib/runtime/inspector/highlight.js +0 -5
  130. package/lib/runtime/inspector/highlight.js.map +1 -1
  131. package/lib/runtime/inspector/install.d.ts +6 -3
  132. package/lib/runtime/inspector/install.d.ts.map +1 -1
  133. package/lib/runtime/inspector/install.js +0 -5
  134. package/lib/runtime/inspector/install.js.map +1 -1
  135. package/lib/runtime/inspector/serialize.d.ts +4 -3
  136. package/lib/runtime/inspector/serialize.d.ts.map +1 -1
  137. package/lib/runtime/inspector/serialize.js +0 -5
  138. package/lib/runtime/inspector/serialize.js.map +1 -1
  139. package/lib/runtime/intern.d.ts +11 -3
  140. package/lib/runtime/intern.d.ts.map +1 -1
  141. package/lib/runtime/intern.js +11 -3
  142. package/lib/runtime/intern.js.map +1 -1
  143. package/lib/runtime/overrides.d.ts +3 -3
  144. package/lib/runtime/overrides.d.ts.map +1 -1
  145. package/lib/runtime/overrides.js +0 -5
  146. package/lib/runtime/overrides.js.map +1 -1
  147. package/lib/runtime/page-channel.d.ts +0 -5
  148. package/lib/runtime/page-channel.d.ts.map +1 -1
  149. package/lib/runtime/page-channel.js +13 -3
  150. package/lib/runtime/page-channel.js.map +1 -1
  151. package/lib/runtime/patch.d.ts +0 -5
  152. package/lib/runtime/patch.d.ts.map +1 -1
  153. package/lib/runtime/patch.js +0 -5
  154. package/lib/runtime/patch.js.map +1 -1
  155. package/lib/runtime/rpc-transport.d.ts +13 -3
  156. package/lib/runtime/rpc-transport.d.ts.map +1 -1
  157. package/lib/runtime/rpc-transport.js +3 -5
  158. package/lib/runtime/rpc-transport.js.map +1 -1
  159. package/lib/runtime/source-meta.d.ts +0 -5
  160. package/lib/runtime/source-meta.d.ts.map +1 -1
  161. package/lib/runtime/source-meta.js +0 -5
  162. package/lib/runtime/source-meta.js.map +1 -1
  163. package/lib/runtime/source-overlay/editors.d.ts +0 -5
  164. package/lib/runtime/source-overlay/editors.d.ts.map +1 -1
  165. package/lib/runtime/source-overlay/editors.js +0 -5
  166. package/lib/runtime/source-overlay/editors.js.map +1 -1
  167. package/lib/runtime/source-overlay/mask-path.d.ts +0 -5
  168. package/lib/runtime/source-overlay/mask-path.d.ts.map +1 -1
  169. package/lib/runtime/source-overlay/mask-path.js +0 -5
  170. package/lib/runtime/source-overlay/mask-path.js.map +1 -1
  171. package/lib/runtime/source-overlay/overlay-element.d.ts +0 -5
  172. package/lib/runtime/source-overlay/overlay-element.d.ts.map +1 -1
  173. package/lib/runtime/source-overlay/overlay-element.js +0 -5
  174. package/lib/runtime/source-overlay/overlay-element.js.map +1 -1
  175. package/lib/runtime/source-overlay/source-host.d.ts +0 -5
  176. package/lib/runtime/source-overlay/source-host.d.ts.map +1 -1
  177. package/lib/runtime/source-overlay/source-host.js +0 -5
  178. package/lib/runtime/source-overlay/source-host.js.map +1 -1
  179. package/lib/runtime/source-overlay/template.d.ts +0 -5
  180. package/lib/runtime/source-overlay/template.d.ts.map +1 -1
  181. package/lib/runtime/source-overlay/template.js +0 -5
  182. package/lib/runtime/source-overlay/template.js.map +1 -1
  183. package/lib/runtime/source-overlay.d.ts +0 -5
  184. package/lib/runtime/source-overlay.d.ts.map +1 -1
  185. package/lib/runtime/source-overlay.js +0 -5
  186. package/lib/runtime/source-overlay.js.map +1 -1
  187. package/lib/runtime/standalone.d.ts +0 -5
  188. package/lib/runtime/standalone.d.ts.map +1 -1
  189. package/lib/runtime/standalone.js +0 -5
  190. package/lib/runtime/standalone.js.map +1 -1
  191. package/lib/runtime/timeline/chrome-tracks.d.ts +0 -5
  192. package/lib/runtime/timeline/chrome-tracks.d.ts.map +1 -1
  193. package/lib/runtime/timeline/chrome-tracks.js +5 -3
  194. package/lib/runtime/timeline/chrome-tracks.js.map +1 -1
  195. package/lib/runtime/timeline/clock.d.ts +7 -3
  196. package/lib/runtime/timeline/clock.d.ts.map +1 -1
  197. package/lib/runtime/timeline/clock.js +0 -5
  198. package/lib/runtime/timeline/clock.js.map +1 -1
  199. package/lib/runtime/timeline/flash.d.ts +0 -5
  200. package/lib/runtime/timeline/flash.d.ts.map +1 -1
  201. package/lib/runtime/timeline/flash.js +15 -3
  202. package/lib/runtime/timeline/flash.js.map +1 -1
  203. package/lib/runtime/timeline/identity.d.ts +0 -5
  204. package/lib/runtime/timeline/identity.d.ts.map +1 -1
  205. package/lib/runtime/timeline/identity.js +9 -3
  206. package/lib/runtime/timeline/identity.js.map +1 -1
  207. package/lib/runtime/timeline/input.d.ts +0 -5
  208. package/lib/runtime/timeline/input.d.ts.map +1 -1
  209. package/lib/runtime/timeline/input.js +2 -3
  210. package/lib/runtime/timeline/input.js.map +1 -1
  211. package/lib/runtime/timeline/install.d.ts +11 -3
  212. package/lib/runtime/timeline/install.d.ts.map +1 -1
  213. package/lib/runtime/timeline/install.js +0 -5
  214. package/lib/runtime/timeline/install.js.map +1 -1
  215. package/lib/runtime/timeline/lifecycle.d.ts +13 -3
  216. package/lib/runtime/timeline/lifecycle.d.ts.map +1 -1
  217. package/lib/runtime/timeline/lifecycle.js +0 -5
  218. package/lib/runtime/timeline/lifecycle.js.map +1 -1
  219. package/lib/runtime/timeline/public-api.d.ts +6 -3
  220. package/lib/runtime/timeline/public-api.d.ts.map +1 -1
  221. package/lib/runtime/timeline/public-api.js +0 -5
  222. package/lib/runtime/timeline/public-api.js.map +1 -1
  223. package/lib/runtime/timeline/render.d.ts +0 -5
  224. package/lib/runtime/timeline/render.d.ts.map +1 -1
  225. package/lib/runtime/timeline/render.js +21 -3
  226. package/lib/runtime/timeline/render.js.map +1 -1
  227. package/lib/runtime/timeline/transport.d.ts +0 -5
  228. package/lib/runtime/timeline/transport.d.ts.map +1 -1
  229. package/lib/runtime/timeline/transport.js +10 -3
  230. package/lib/runtime/timeline/transport.js.map +1 -1
  231. package/lib/segmented-tabs.d.ts +0 -5
  232. package/lib/segmented-tabs.d.ts.map +1 -1
  233. package/lib/segmented-tabs.js +0 -5
  234. package/lib/segmented-tabs.js.map +1 -1
  235. package/lib/snapshot.d.ts +11 -3
  236. package/lib/snapshot.d.ts.map +1 -1
  237. package/lib/snapshot.js +0 -5
  238. package/lib/snapshot.js.map +1 -1
  239. package/lib/source-meta.d.ts +0 -5
  240. package/lib/source-meta.d.ts.map +1 -1
  241. package/lib/source-meta.js +0 -5
  242. package/lib/source-meta.js.map +1 -1
  243. package/lib/timeline/derive.d.ts +0 -5
  244. package/lib/timeline/derive.d.ts.map +1 -1
  245. package/lib/timeline/derive.js +22 -3
  246. package/lib/timeline/derive.js.map +1 -1
  247. package/lib/timeline/filter.d.ts +0 -5
  248. package/lib/timeline/filter.d.ts.map +1 -1
  249. package/lib/timeline/filter.js +6 -3
  250. package/lib/timeline/filter.js.map +1 -1
  251. package/lib/timeline/tracks.d.ts +0 -5
  252. package/lib/timeline/tracks.d.ts.map +1 -1
  253. package/lib/timeline/tracks.js +12 -3
  254. package/lib/timeline/tracks.js.map +1 -1
  255. package/lib/tokens.d.ts +0 -5
  256. package/lib/tokens.d.ts.map +1 -1
  257. package/lib/tokens.js +0 -5
  258. package/lib/tokens.js.map +1 -1
  259. package/lib/transform.d.ts +0 -5
  260. package/lib/transform.d.ts.map +1 -1
  261. package/lib/transform.js +0 -5
  262. package/lib/transform.js.map +1 -1
  263. package/lib/types.d.ts +10 -5
  264. package/lib/types.d.ts.map +1 -1
  265. package/lib/types.js +0 -5
  266. package/lib/types.js.map +1 -1
  267. package/lib/wrap-table.d.ts +0 -5
  268. package/lib/wrap-table.d.ts.map +1 -1
  269. package/lib/wrap-table.js +12 -3
  270. package/lib/wrap-table.js.map +1 -1
  271. package/package.json +2 -2
  272. package/types/hmr-incompatibility.d.ts +0 -5
  273. package/types/hmr-incompatibility.d.ts.map +1 -1
  274. package/types/hmr-incompatibility.js +13 -3
  275. package/types/hmr-incompatibility.js.map +1 -1
  276. package/types/in-page.d.ts +0 -5
  277. package/types/in-page.d.ts.map +1 -1
  278. package/types/in-page.js +0 -5
  279. package/types/in-page.js.map +1 -1
  280. package/types/inspector.d.ts +0 -5
  281. package/types/inspector.d.ts.map +1 -1
  282. package/types/inspector.js +13 -3
  283. package/types/inspector.js.map +1 -1
  284. package/types/snapshot.d.ts +0 -5
  285. package/types/snapshot.d.ts.map +1 -1
  286. package/types/snapshot.js +12 -3
  287. package/types/snapshot.js.map +1 -1
  288. package/types/timeline.d.ts +0 -5
  289. package/types/timeline.d.ts.map +1 -1
  290. package/types/timeline.js +0 -5
  291. package/types/timeline.js.map +1 -1
  292. package/dist/client/assets/index-D632jo79.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,35 @@
3
3
  Notable changes per release. Versions before 0.3.0 predate this file; see the
4
4
  git history for those.
5
5
 
6
+ ## 0.8.0 — 2026-09-30
7
+
8
+ The plugin is now on JSR as well as npm: every release publishes the same
9
+ build to jsr.io/@oddsquad/vite-plugin-lit. The documentation site gets a page
10
+ per release, the StackBlitz playground starts again, and the licence now names
11
+ oddcelot as the copyright holder.
12
+
13
+ ### Added
14
+
15
+ - **Also on JSR.** Releases now publish to jsr.io/@oddsquad/vite-plugin-lit
16
+ alongside npm, so `npx jsr add @oddsquad/vite-plugin-lit` installs the same
17
+ build.
18
+ - **The docs have a page per release.** The changelog on the documentation
19
+ site now lists every version with its date and links to a page for each
20
+ one, plus a page with everything that changed since a given version.
21
+
22
+ ### Changed
23
+
24
+ - **The licence names the right copyright holder.** The package's LICENSE,
25
+ author field and source headers credited Google LLC; they now credit
26
+ oddcelot. The licence terms (BSD-3-Clause) are unchanged.
27
+
28
+ ### Fixed
29
+
30
+ - **The StackBlitz playground starts.** Opening the playground on StackBlitz,
31
+ in dev or with `npm run standalone`, no longer stops at "Cannot find native
32
+ binding", and the dev server prints where to open the Lit DevTools panel in
33
+ its own tab.
34
+
6
35
  ## 0.7.0 — 2026-09-29
7
36
 
8
37
  Hot-patching covers two cases it used to get wrong: components with native
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause License
2
2
 
3
- Copyright (c) 2017 Google LLC. All rights reserved.
3
+ Copyright (c) 2026 oddcelot. All rights reserved.
4
4
 
5
5
  Redistribution and use in source and binary forms, with or without
6
6
  modification, are permitted provided that the following conditions are met:
package/README.md CHANGED
@@ -7,10 +7,17 @@ https://github.com/user-attachments/assets/bacc7649-746a-4ecf-a017-0370b5af23ca
7
7
 
8
8
  **[Documentation →](https://oddcelot.github.io/vite-plugin-lit/)**
9
9
 
10
- Based on `@lit-labs/vite-plugin-lit` (formerly `@lit-labs/vite-hmr`) from the
11
- [lit monorepo](https://github.com/lit/lit), which is kept checked out as a
12
- read-only [submodule](./lit) here for reference and opt-in canary testing
13
- against lit `main`.
10
+ **[Try it on StackBlitz →](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground?startScript=stackblitz)**
11
+ The playground with HMR and the Vite DevTools dock: click the counter, edit
12
+ `src/hmr-counter.ts`, and the count stays.
13
+ [Standalone mode](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground?file=package.json&startScript=standalone)
14
+ runs the same page as static files, without Vite, next to the DevTools panel
15
+ on its own port.
16
+
17
+ Started life in a fork of the [lit monorepo](https://github.com/lit/lit) as a
18
+ proposed `@lit-labs/vite-hmr` package, and now lives here on its own. Lit is
19
+ kept checked out as a read-only [submodule](./lit) for reference and opt-in
20
+ canary testing against lit `main`.
14
21
 
15
22
  ## Why
16
23
 
@@ -151,7 +158,7 @@ To try it from this repo, run `pnpm run standalone:demo`; see
151
158
 
152
159
  A manually inspectable fixture app (also the source for the e2e fixtures), and
153
160
  self-contained enough to open on
154
- [StackBlitz](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground)
161
+ [StackBlitz](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground?startScript=stackblitz)
155
162
  straight from the repo URL. Run it locally from the repo root:
156
163
 
157
164
  ```sh
@@ -160,9 +167,9 @@ pnpm dev # builds the plugin, then serves http://localhost:5179
160
167
 
161
168
  The same playground runs in standalone mode, built to static files and fed to
162
169
  a `lit-devtools dev` panel on another port: `pnpm run standalone:demo` here, or
163
- [on StackBlitz](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground?startScript=standalone)
170
+ [on StackBlitz](https://stackblitz.com/github/oddcelot/vite-plugin-lit/tree/main/playground?file=package.json&startScript=standalone)
164
171
  with `?startScript=standalone`. StackBlitz installs the published plugin, so
165
- that link works from the first release that ships standalone mode.
172
+ both links run the latest release of the plugin against the playground on `main`.
166
173
 
167
174
  ## Development
168
175
 
package/bin.mjs CHANGED
@@ -1,10 +1,4 @@
1
1
  #!/usr/bin/env node
2
- /**
3
- * @license
4
- * Copyright 2026 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
-
8
2
  /**
9
3
  * `lit-devtools` — the package's command line.
10
4
  *
@@ -27,7 +21,7 @@
27
21
  * and only on the path that needs them, so installing this package without
28
22
  * them stays supported.
29
23
  *
30
- * @see plans/roadmap/03-cli-and-stdio-mcp.md
24
+ * @see plans/devtools-features.md (CLI and stdio MCP)
31
25
  */
32
26
 
33
27
  import {readFile} from 'node:fs/promises';
@@ -199,7 +193,7 @@ const main = async () => {
199
193
  // dev server's memory -- a fresh CLI process has no page, no timeline
200
194
  // and no component tree, so anything it could build would be an empty
201
195
  // shell. The export therefore runs inside the dev server that holds
202
- // the data; see plans/roadmap/08-static-snapshot.md.
196
+ // the data; see plans/devtools-features.md.
203
197
  console.error(
204
198
  `[lit-devtools] A static snapshot is exported from a running ` +
205
199
  `session, not from this CLI.\n` +
package/client.d.ts CHANGED
@@ -1,9 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2026 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
-
7
1
  /**
8
2
  * Ambient types for the import queries provided by the Lit Vite plugin.
9
3
  *
@@ -1,4 +1,4 @@
1
- import { n as onBrowserAgentToolsChanged, r as nanoid, t as listBrowserAgentTools } from "./index-D632jo79.js";
1
+ import { n as onBrowserAgentToolsChanged, r as nanoid, t as listBrowserAgentTools } from "./index-CgkhETVR.js";
2
2
  //#region node_modules/.pnpm/devframe@1.1.0_@devframes+agentic@1.1.0_cac@7.0.0_srvx@1.0.5/node_modules/devframe/dist/browser-agent-rpc-BXhoSh1z.mjs
3
3
  var CLIENT_ID_STORAGE_KEY = "devframe:client-id";
4
4
  var memoryClientId;
@@ -66,4 +66,4 @@ function setupBrowserAgentRpcBridge(rpc) {
66
66
  //#endregion
67
67
  export { setupBrowserAgentRpcBridge };
68
68
 
69
- //# sourceMappingURL=browser-agent-rpc-BXhoSh1z-BuCvPGjS.js.map
69
+ //# sourceMappingURL=browser-agent-rpc-BXhoSh1z-ybEeG-x9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser-agent-rpc-BXhoSh1z-BuCvPGjS.js","names":[],"sources":["../../../node_modules/.pnpm/devframe@1.1.0_@devframes+agentic@1.1.0_cac@7.0.0_srvx@1.0.5/node_modules/devframe/dist/browser-agent-rpc-BXhoSh1z.mjs"],"sourcesContent":["import { nanoid } from \"./utils/nanoid.mjs\";\nimport { n as onBrowserAgentToolsChanged, t as listBrowserAgentTools } from \"./browser-agent-Pu-FLk6I.mjs\";\n//#region src/client/client-id.ts\nconst CLIENT_ID_STORAGE_KEY = \"devframe:client-id\";\nlet memoryClientId;\n/**\n* This browser tab's stable client id: one nanoid per tab, persisted in\n* `sessionStorage` so it survives page reloads and RPC reconnects. The node\n* side uses it to tell connected tabs apart across reconnects (see #394).\n*\n* Tab duplication copies `sessionStorage`, so two tabs can briefly share an id\n* until per-tab disambiguation lands with the wider tab-metadata work.\n*/\nfunction resolveClientId(win = globalThis.window) {\n\ttry {\n\t\tconst storage = win?.sessionStorage;\n\t\tif (storage) {\n\t\t\tlet id = storage.getItem(CLIENT_ID_STORAGE_KEY);\n\t\t\tif (!id) {\n\t\t\t\tid = nanoid();\n\t\t\t\tstorage.setItem(CLIENT_ID_STORAGE_KEY, id);\n\t\t\t}\n\t\t\treturn id;\n\t\t}\n\t} catch {}\n\tmemoryClientId ??= nanoid();\n\treturn memoryClientId;\n}\n//#endregion\n//#region src/client/browser-agent-rpc.ts\n/** Mirror this document's browser-agent registry over its existing RPC connection. */\nfunction setupBrowserAgentRpcBridge(rpc) {\n\trpc.client.register({\n\t\tname: \"devframe:agent:invoke-client-tool\",\n\t\ttype: \"action\",\n\t\tjsonSerializable: true,\n\t\thandler: async (id, args) => {\n\t\t\tconst tool = listBrowserAgentTools().find((tool) => tool.id === id);\n\t\t\tif (!tool) throw new Error(`[devframe/agent] browser tool \"${id}\" not found`);\n\t\t\treturn await tool.invoke(args);\n\t\t}\n\t});\n\tlet queued = false;\n\tlet disposed = false;\n\tlet lastSyncedCount = 0;\n\tconst sync = () => {\n\t\tif (queued || disposed) return;\n\t\tqueued = true;\n\t\tqueueMicrotask(async () => {\n\t\t\tqueued = false;\n\t\t\tif (disposed) return;\n\t\t\tconst manifests = listBrowserAgentTools().map(({ invoke: _, ...manifest }) => manifest);\n\t\t\tif (manifests.length === 0 && lastSyncedCount === 0) return;\n\t\t\tlastSyncedCount = manifests.length;\n\t\t\tawait rpc.callOptional(\"devframe:agent:sync-client-tools\", resolveClientId(), manifests).catch(() => {});\n\t\t});\n\t};\n\tconst stopTools = onBrowserAgentToolsChanged(sync);\n\tconst stopConnection = rpc.events.on(\"connection:status\", (status) => {\n\t\tif (status === \"connected\") sync();\n\t});\n\tsync();\n\treturn () => {\n\t\tdisposed = true;\n\t\tstopTools();\n\t\tstopConnection();\n\t};\n}\n//#endregion\nexport { setupBrowserAgentRpcBridge };\n"],"x_google_ignoreList":[0],"mappings":";;AAGA,IAAM,wBAAwB;AAC9B,IAAI;;;;;;;;;AASJ,SAAS,gBAAgB,MAAM,WAAW,QAAQ;CACjD,IAAI;EACH,MAAM,UAAU,KAAK;EACrB,IAAI,SAAS;GACZ,IAAI,KAAK,QAAQ,QAAQ,qBAAqB;GAC9C,IAAI,CAAC,IAAI;IACR,KAAK,OAAO;IACZ,QAAQ,QAAQ,uBAAuB,EAAE;GAC1C;GACA,OAAO;EACR;CACD,QAAQ,CAAC;CACT,mBAAmB,OAAO;CAC1B,OAAO;AACR;;AAIA,SAAS,2BAA2B,KAAK;CACxC,IAAI,OAAO,SAAS;EACnB,MAAM;EACN,MAAM;EACN,kBAAkB;EAClB,SAAS,OAAO,IAAI,SAAS;GAC5B,MAAM,OAAO,sBAAsB,CAAC,CAAC,MAAM,SAAS,KAAK,OAAO,EAAE;GAClE,IAAI,CAAC,MAAM,MAAM,IAAI,MAAM,kCAAkC,GAAG,YAAY;GAC5E,OAAO,MAAM,KAAK,OAAO,IAAI;EAC9B;CACD,CAAC;CACD,IAAI,SAAS;CACb,IAAI,WAAW;CACf,IAAI,kBAAkB;CACtB,MAAM,aAAa;EAClB,IAAI,UAAU,UAAU;EACxB,SAAS;EACT,eAAe,YAAY;GAC1B,SAAS;GACT,IAAI,UAAU;GACd,MAAM,YAAY,sBAAsB,CAAC,CAAC,KAAK,EAAE,QAAQ,GAAG,GAAG,eAAe,QAAQ;GACtF,IAAI,UAAU,WAAW,KAAK,oBAAoB,GAAG;GACrD,kBAAkB,UAAU;GAC5B,MAAM,IAAI,aAAa,oCAAoC,gBAAgB,GAAG,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;EACxG,CAAC;CACF;CACA,MAAM,YAAY,2BAA2B,IAAI;CACjD,MAAM,iBAAiB,IAAI,OAAO,GAAG,sBAAsB,WAAW;EACrE,IAAI,WAAW,aAAa,KAAK;CAClC,CAAC;CACD,KAAK;CACL,aAAa;EACZ,WAAW;EACX,UAAU;EACV,eAAe;CAChB;AACD"}
1
+ {"version":3,"file":"browser-agent-rpc-BXhoSh1z-ybEeG-x9.js","names":[],"sources":["../../../node_modules/.pnpm/devframe@1.1.0_@devframes+agentic@1.1.0_cac@7.0.0_srvx@1.0.5/node_modules/devframe/dist/browser-agent-rpc-BXhoSh1z.mjs"],"sourcesContent":["import { nanoid } from \"./utils/nanoid.mjs\";\nimport { n as onBrowserAgentToolsChanged, t as listBrowserAgentTools } from \"./browser-agent-Pu-FLk6I.mjs\";\n//#region src/client/client-id.ts\nconst CLIENT_ID_STORAGE_KEY = \"devframe:client-id\";\nlet memoryClientId;\n/**\n* This browser tab's stable client id: one nanoid per tab, persisted in\n* `sessionStorage` so it survives page reloads and RPC reconnects. The node\n* side uses it to tell connected tabs apart across reconnects (see #394).\n*\n* Tab duplication copies `sessionStorage`, so two tabs can briefly share an id\n* until per-tab disambiguation lands with the wider tab-metadata work.\n*/\nfunction resolveClientId(win = globalThis.window) {\n\ttry {\n\t\tconst storage = win?.sessionStorage;\n\t\tif (storage) {\n\t\t\tlet id = storage.getItem(CLIENT_ID_STORAGE_KEY);\n\t\t\tif (!id) {\n\t\t\t\tid = nanoid();\n\t\t\t\tstorage.setItem(CLIENT_ID_STORAGE_KEY, id);\n\t\t\t}\n\t\t\treturn id;\n\t\t}\n\t} catch {}\n\tmemoryClientId ??= nanoid();\n\treturn memoryClientId;\n}\n//#endregion\n//#region src/client/browser-agent-rpc.ts\n/** Mirror this document's browser-agent registry over its existing RPC connection. */\nfunction setupBrowserAgentRpcBridge(rpc) {\n\trpc.client.register({\n\t\tname: \"devframe:agent:invoke-client-tool\",\n\t\ttype: \"action\",\n\t\tjsonSerializable: true,\n\t\thandler: async (id, args) => {\n\t\t\tconst tool = listBrowserAgentTools().find((tool) => tool.id === id);\n\t\t\tif (!tool) throw new Error(`[devframe/agent] browser tool \"${id}\" not found`);\n\t\t\treturn await tool.invoke(args);\n\t\t}\n\t});\n\tlet queued = false;\n\tlet disposed = false;\n\tlet lastSyncedCount = 0;\n\tconst sync = () => {\n\t\tif (queued || disposed) return;\n\t\tqueued = true;\n\t\tqueueMicrotask(async () => {\n\t\t\tqueued = false;\n\t\t\tif (disposed) return;\n\t\t\tconst manifests = listBrowserAgentTools().map(({ invoke: _, ...manifest }) => manifest);\n\t\t\tif (manifests.length === 0 && lastSyncedCount === 0) return;\n\t\t\tlastSyncedCount = manifests.length;\n\t\t\tawait rpc.callOptional(\"devframe:agent:sync-client-tools\", resolveClientId(), manifests).catch(() => {});\n\t\t});\n\t};\n\tconst stopTools = onBrowserAgentToolsChanged(sync);\n\tconst stopConnection = rpc.events.on(\"connection:status\", (status) => {\n\t\tif (status === \"connected\") sync();\n\t});\n\tsync();\n\treturn () => {\n\t\tdisposed = true;\n\t\tstopTools();\n\t\tstopConnection();\n\t};\n}\n//#endregion\nexport { setupBrowserAgentRpcBridge };\n"],"x_google_ignoreList":[0],"mappings":";;AAGA,IAAM,wBAAwB;AAC9B,IAAI;;;;;;;;;AASJ,SAAS,gBAAgB,MAAM,WAAW,QAAQ;CACjD,IAAI;EACH,MAAM,UAAU,KAAK;EACrB,IAAI,SAAS;GACZ,IAAI,KAAK,QAAQ,QAAQ,qBAAqB;GAC9C,IAAI,CAAC,IAAI;IACR,KAAK,OAAO;IACZ,QAAQ,QAAQ,uBAAuB,EAAE;GAC1C;GACA,OAAO;EACR;CACD,QAAQ,CAAC;CACT,mBAAmB,OAAO;CAC1B,OAAO;AACR;;AAIA,SAAS,2BAA2B,KAAK;CACxC,IAAI,OAAO,SAAS;EACnB,MAAM;EACN,MAAM;EACN,kBAAkB;EAClB,SAAS,OAAO,IAAI,SAAS;GAC5B,MAAM,OAAO,sBAAsB,CAAC,CAAC,MAAM,SAAS,KAAK,OAAO,EAAE;GAClE,IAAI,CAAC,MAAM,MAAM,IAAI,MAAM,kCAAkC,GAAG,YAAY;GAC5E,OAAO,MAAM,KAAK,OAAO,IAAI;EAC9B;CACD,CAAC;CACD,IAAI,SAAS;CACb,IAAI,WAAW;CACf,IAAI,kBAAkB;CACtB,MAAM,aAAa;EAClB,IAAI,UAAU,UAAU;EACxB,SAAS;EACT,eAAe,YAAY;GAC1B,SAAS;GACT,IAAI,UAAU;GACd,MAAM,YAAY,sBAAsB,CAAC,CAAC,KAAK,EAAE,QAAQ,GAAG,GAAG,eAAe,QAAQ;GACtF,IAAI,UAAU,WAAW,KAAK,oBAAoB,GAAG;GACrD,kBAAkB,UAAU;GAC5B,MAAM,IAAI,aAAa,oCAAoC,gBAAgB,GAAG,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;EACxG,CAAC;CACF;CACA,MAAM,YAAY,2BAA2B,IAAI;CACjD,MAAM,iBAAiB,IAAI,OAAO,GAAG,sBAAsB,WAAW;EACrE,IAAI,WAAW,aAAa,KAAK;CAClC,CAAC;CACD,KAAK;CACL,aAAa;EACZ,WAAW;EACX,UAAU;EACV,eAAe;CAChB;AACD"}
@@ -744,11 +744,6 @@ var e$4 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate
744
744
  //#endregion
745
745
  //#region src/lib/tokens.ts
746
746
  /**
747
- * @license
748
- * Copyright 2026 Google LLC
749
- * SPDX-License-Identifier: BSD-3-Clause
750
- */
751
- /**
752
747
  * Design token CSS custom properties for the Lit DevTools.
753
748
  *
754
749
  * Two entry points:
@@ -1013,11 +1008,6 @@ var injectTokens = (options) => {
1013
1008
  };
1014
1009
  //#endregion
1015
1010
  //#region src/lib/color-scheme.ts
1016
- /**
1017
- * @license
1018
- * Copyright 2026 Google LLC
1019
- * SPDX-License-Identifier: BSD-3-Clause
1020
- */
1021
1011
  /** localStorage key for the panel UI color-scheme preference. */
1022
1012
  var COLOR_SCHEME_LS_KEY = "lit-devtools-color-scheme";
1023
1013
  /** Read the saved preference, defaulting to `auto`. */
@@ -1199,11 +1189,6 @@ var n = e$1(class extends f {
1199
1189
  });
1200
1190
  //#endregion
1201
1191
  //#region src/lib/timeline/derive.ts
1202
- /**
1203
- * @license
1204
- * Copyright 2026 Google LLC
1205
- * SPDX-License-Identifier: BSD-3-Clause
1206
- */
1207
1192
  /** Layer whose events describe Lit update ticks. */
1208
1193
  var LIFECYCLE_LAYER_ID = "lit-lifecycle";
1209
1194
  /** Layers whose events are developer input, for {@link attributeInput}. */
@@ -1410,11 +1395,6 @@ var attributeInput = (cycles, events, windowMs = 200) => {
1410
1395
  //#endregion
1411
1396
  //#region src/lib/timeline/filter.ts
1412
1397
  /**
1413
- * @license
1414
- * Copyright 2026 Google LLC
1415
- * SPDX-License-Identifier: BSD-3-Clause
1416
- */
1417
- /**
1418
1398
  * Compiles the regex box. An empty box matches everything. A pattern that
1419
1399
  * does not compile (the user is mid-typing `foo(`) disables the filter rather
1420
1400
  * than hiding every row, and is reported as `invalid` so the input can say so.
@@ -1466,11 +1446,6 @@ function __decorate(decorators, target, key, desc) {
1466
1446
  }
1467
1447
  //#endregion
1468
1448
  //#region src/lib/segmented-tabs.ts
1469
- /**
1470
- * @license
1471
- * Copyright 2026 Google LLC
1472
- * SPDX-License-Identifier: BSD-3-Clause
1473
- */
1474
1449
  var SegmentedTabs = class SegmentedTabs extends i$2 {
1475
1450
  static {
1476
1451
  this.styles = [tokens, i$5`
@@ -1581,11 +1556,6 @@ __decorate([n$3()], SegmentedTabs.prototype, "size", void 0);
1581
1556
  SegmentedTabs = __decorate([t$2("segmented-tabs")], SegmentedTabs);
1582
1557
  //#endregion
1583
1558
  //#region src/panel/timeline-layers.ts
1584
- /**
1585
- * @license
1586
- * Copyright 2026 Google LLC
1587
- * SPDX-License-Identifier: BSD-3-Clause
1588
- */
1589
1559
  /** A layer's `0xRRGGBB` colour as a CSS hex string. */
1590
1560
  var hexColor = (color) => "#" + color.toString(16).padStart(6, "0");
1591
1561
  /** CSS colour of layer `id`, grey for a layer `layers` does not know. */
@@ -7016,7 +6986,7 @@ async function getDevframeRpcClient(options = {}) {
7016
6986
  bootstrapAuthSettled = true;
7017
6987
  });
7018
6988
  if (connectionMeta.mcp) __vitePreload(async () => {
7019
- const { setupBrowserAgentRpcBridge } = await import("./browser-agent-rpc-BXhoSh1z-BuCvPGjS.js");
6989
+ const { setupBrowserAgentRpcBridge } = await import("./browser-agent-rpc-BXhoSh1z-ybEeG-x9.js");
7020
6990
  return { setupBrowserAgentRpcBridge };
7021
6991
  }, [], import.meta.url).then(({ setupBrowserAgentRpcBridge }) => {
7022
6992
  if (!closed) disposeBrowserAgentBridge = setupBrowserAgentRpcBridge(rpc);
@@ -7030,11 +7000,6 @@ var connectDevframe = getDevframeRpcClient;
7030
7000
  //#endregion
7031
7001
  //#region src/types/timeline.ts
7032
7002
  /**
7033
- * @license
7034
- * Copyright 2026 Google LLC
7035
- * SPDX-License-Identifier: BSD-3-Clause
7036
- */
7037
- /**
7038
7003
  * Built-in editors the source overlay can open files in. Keep in sync with
7039
7004
  * BUILTIN_EDITORS in lib/runtime/source-overlay/editors.ts.
7040
7005
  */
@@ -7066,11 +7031,6 @@ var SETTINGS_OVERRIDE_LS_KEY = "lit-devtools-overrides";
7066
7031
  var OVERRIDE_BASELINES_LS_KEY = "lit-devtools-override-baselines";
7067
7032
  //#endregion
7068
7033
  //#region src/lib/devframe/protocol.ts
7069
- /**
7070
- * @license
7071
- * Copyright 2026 Google LLC
7072
- * SPDX-License-Identifier: BSD-3-Clause
7073
- */
7074
7034
  /** Shared-state key holding the {@link SessionState} snapshot. */
7075
7035
  var SESSION_STATE_KEY = "session";
7076
7036
  /**
@@ -7087,11 +7047,6 @@ var LAYER_FLAGS = {
7087
7047
  //#endregion
7088
7048
  //#region src/panel/client.ts
7089
7049
  /**
7090
- * @license
7091
- * Copyright 2026 Google LLC
7092
- * SPDX-License-Identifier: BSD-3-Clause
7093
- */
7094
- /**
7095
7050
  * The panel's single connection to the node side.
7096
7051
  *
7097
7052
  * The panel is served by the devframe host as a static SPA, so
@@ -7153,11 +7108,6 @@ var describeError = (error) => {
7153
7108
  //#endregion
7154
7109
  //#region src/panel/open-in-editor.ts
7155
7110
  /**
7156
- * @license
7157
- * Copyright 2026 Google LLC
7158
- * SPDX-License-Identifier: BSD-3-Clause
7159
- */
7160
- /**
7161
7111
  * Opening a source location from the panel.
7162
7112
  *
7163
7113
  * Two paths, in order:
@@ -7207,11 +7157,6 @@ var openInEditor = async (file, line) => {
7207
7157
  };
7208
7158
  //#endregion
7209
7159
  //#region src/panel/timeline-span-detail.ts
7210
- /**
7211
- * @license
7212
- * Copyright 2026 Google LLC
7213
- * SPDX-License-Identifier: BSD-3-Clause
7214
- */
7215
7160
  var TimelineSpanDetail = class TimelineSpanDetail extends i$2 {
7216
7161
  constructor(..._args) {
7217
7162
  super(..._args);
@@ -7334,11 +7279,6 @@ __decorate([n$3({ type: Boolean })], TimelineSpanDetail.prototype, "filterable",
7334
7279
  TimelineSpanDetail = __decorate([t$2("timeline-span-detail")], TimelineSpanDetail);
7335
7280
  //#endregion
7336
7281
  //#region src/panel/timeline-event-list.ts
7337
- /**
7338
- * @license
7339
- * Copyright 2026 Google LLC
7340
- * SPDX-License-Identifier: BSD-3-Clause
7341
- */
7342
7282
  var RAW_KEY_PREFIX = "raw:";
7343
7283
  /** Whether `key` names a Raw-mode row rather than a collapsed span. */
7344
7284
  var isRawKey = (key) => key.startsWith(RAW_KEY_PREFIX);
@@ -7621,11 +7561,6 @@ TimelineEventList = __decorate([t$2("timeline-event-list")], TimelineEventList);
7621
7561
  //#endregion
7622
7562
  //#region src/lib/timeline/tracks.ts
7623
7563
  /**
7624
- * @license
7625
- * Copyright 2026 Google LLC
7626
- * SPDX-License-Identifier: BSD-3-Clause
7627
- */
7628
- /**
7629
7564
  * Where a span stops occupying its row. A point event occupies only its own
7630
7565
  * instant; a span whose end has not arrived (still running, or its end fell
7631
7566
  * out of the buffer) occupies the rest of the recording, because that is
@@ -7795,11 +7730,6 @@ var niceStep = (minMs) => {
7795
7730
  };
7796
7731
  //#endregion
7797
7732
  //#region src/panel/timeline-tracks.ts
7798
- /**
7799
- * @license
7800
- * Copyright 2026 Google LLC
7801
- * SPDX-License-Identifier: BSD-3-Clause
7802
- */
7803
7733
  /** Height of one packed row inside a lane. */
7804
7734
  var ROW_PX = 14;
7805
7735
  /** Marks narrower than this draw as a fixed-width tick, so sub-millisecond
@@ -8176,11 +8106,6 @@ TimelineTracks = __decorate([t$2("timeline-tracks")], TimelineTracks);
8176
8106
  //#endregion
8177
8107
  //#region src/panel/timeline-store.ts
8178
8108
  /**
8179
- * @license
8180
- * Copyright 2026 Google LLC
8181
- * SPDX-License-Identifier: BSD-3-Clause
8182
- */
8183
- /**
8184
8109
  * The panel's single recorded-event buffer.
8185
8110
  *
8186
8111
  * More than one view reads the recording — the Timeline lists it, the Updates
@@ -8304,11 +8229,6 @@ var start = async () => {
8304
8229
  };
8305
8230
  //#endregion
8306
8231
  //#region src/panel/timeline-view.ts
8307
- /**
8308
- * @license
8309
- * Copyright 2026 Google LLC
8310
- * SPDX-License-Identifier: BSD-3-Clause
8311
- */
8312
8232
  /** localStorage key remembering List vs Tracks. */
8313
8233
  var MODE_LS_KEY = "lit-devtools-timeline-mode";
8314
8234
  /** localStorage key remembering which tracks the user hid. Stored as the
@@ -8764,11 +8684,6 @@ TimelineView = __decorate([t$2("timeline-view")], TimelineView);
8764
8684
  //#endregion
8765
8685
  //#region src/types/hmr-incompatibility.ts
8766
8686
  /**
8767
- * @license
8768
- * Copyright 2026 Google LLC
8769
- * SPDX-License-Identifier: BSD-3-Clause
8770
- */
8771
- /**
8772
8687
  * Human-readable text for a reason, shared by the browser console message in
8773
8688
  * `src/lib/runtime/patch.ts` and the DevTools panel's banner so the two can't
8774
8689
  * drift apart. The wording of the first two cases is asserted verbatim by
@@ -9476,11 +9391,6 @@ function connectPanelChannel(options) {
9476
9391
  //#endregion
9477
9392
  //#region src/types/in-page.ts
9478
9393
  /**
9479
- * @license
9480
- * Copyright 2026 Google LLC
9481
- * SPDX-License-Identifier: BSD-3-Clause
9482
- */
9483
- /**
9484
9394
  * The direct page ↔ panel channel, for interactions that never need the node
9485
9395
  * side.
9486
9396
  *
@@ -9510,11 +9420,6 @@ var LIT_IN_PAGE_CHANNEL = "lit:in-page";
9510
9420
  //#endregion
9511
9421
  //#region src/panel/in-page.ts
9512
9422
  /**
9513
- * @license
9514
- * Copyright 2026 Google LLC
9515
- * SPDX-License-Identifier: BSD-3-Clause
9516
- */
9517
- /**
9518
9423
  * The panel end of the direct page channel (see `types/in-page.ts`).
9519
9424
  *
9520
9425
  * Connected lazily, on first use, rather than at panel boot: connecting posts
@@ -9541,11 +9446,6 @@ var inPageConnected = () => inPageChannel().status === "connected";
9541
9446
  //#endregion
9542
9447
  //#region src/panel/settings-override.ts
9543
9448
  /**
9544
- * @license
9545
- * Copyright 2026 Google LLC
9546
- * SPDX-License-Identifier: BSD-3-Clause
9547
- */
9548
- /**
9549
9449
  * The panel's single owner of the {@link SettingsOverride}: what it is right
9550
9450
  * now, how it changes, and who wants to know.
9551
9451
  *
@@ -9698,11 +9598,6 @@ var keepBaseline = (key, current) => {
9698
9598
  };
9699
9599
  //#endregion
9700
9600
  //#region src/panel/components-view.ts
9701
- /**
9702
- * @license
9703
- * Copyright 2026 Google LLC
9704
- * SPDX-License-Identifier: BSD-3-Clause
9705
- */
9706
9601
  /** localStorage key remembering the opt-in live-tree toggle. */
9707
9602
  var LIVE_LS_KEY = "lit-devtools-components-live";
9708
9603
  var ComponentsView = class ComponentsView extends i$2 {
@@ -10401,11 +10296,6 @@ var findAncestors = (nodes, id) => {
10401
10296
  };
10402
10297
  //#endregion
10403
10298
  //#region src/panel/updates-view.ts
10404
- /**
10405
- * @license
10406
- * Copyright 2026 Google LLC
10407
- * SPDX-License-Identifier: BSD-3-Clause
10408
- */
10409
10299
  var UpdatesView = class UpdatesView extends i$2 {
10410
10300
  constructor(..._args) {
10411
10301
  super(..._args);
@@ -10715,11 +10605,6 @@ var renderCause = (cycle) => {
10715
10605
  //#endregion
10716
10606
  //#region src/panel/deep-link.ts
10717
10607
  /**
10718
- * @license
10719
- * Copyright 2026 Google LLC
10720
- * SPDX-License-Identifier: BSD-3-Clause
10721
- */
10722
- /**
10723
10608
  * Addressing a specific view inside the panel.
10724
10609
  *
10725
10610
  * Two arrival paths, because the panel runs in two quite different places:
@@ -10826,11 +10711,6 @@ var onDeepLink = (apply) => {
10826
10711
  //#endregion
10827
10712
  //#region src/lib/override-baselines.ts
10828
10713
  /**
10829
- * @license
10830
- * Copyright 2026 Google LLC
10831
- * SPDX-License-Identifier: BSD-3-Clause
10832
- */
10833
- /**
10834
10714
  * Whether the config value an override was made against has since changed.
10835
10715
  *
10836
10716
  * `recorded` is `undefined` for a legacy override that predates baseline
@@ -10846,11 +10726,6 @@ var baselineChanged = (key, recorded, current) => {
10846
10726
  };
10847
10727
  //#endregion
10848
10728
  //#region src/panel/devtools-settings.ts
10849
- /**
10850
- * @license
10851
- * Copyright 2026 Google LLC
10852
- * SPDX-License-Identifier: BSD-3-Clause
10853
- */
10854
10729
  var DevtoolsSettings = class DevtoolsSettings extends i$2 {
10855
10730
  constructor(..._args) {
10856
10731
  super(..._args);
@@ -11486,11 +11361,6 @@ __decorate([r$2()], DevtoolsSettings.prototype, "_colorScheme", void 0);
11486
11361
  DevtoolsSettings = __decorate([t$2("devtools-settings")], DevtoolsSettings);
11487
11362
  //#endregion
11488
11363
  //#region src/lib/icons.ts
11489
- /**
11490
- * @license
11491
- * Copyright 2026 Google LLC
11492
- * SPDX-License-Identifier: BSD-3-Clause
11493
- */
11494
11364
  /** `cube` — Components tab. */
11495
11365
  var CUBE_ICON = "M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z";
11496
11366
  /** `clock` — Timeline tab. */
@@ -11501,11 +11371,6 @@ var NOTIFICATION_ICON = "M216,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V56A1
11501
11371
  var GEAR_ICON = "M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z";
11502
11372
  //#endregion
11503
11373
  //#region src/panel/lit-devtools-panel.ts
11504
- /**
11505
- * @license
11506
- * Copyright 2026 Google LLC
11507
- * SPDX-License-Identifier: BSD-3-Clause
11508
- */
11509
11374
  injectTokens({ colorScheme: true });
11510
11375
  applyColorScheme(readColorSchemePreference());
11511
11376
  /**
@@ -11736,13 +11601,6 @@ __decorate([e$3("updates-view")], LitDevtoolsPanel.prototype, "_updatesView", vo
11736
11601
  __decorate([e$3("timeline-view")], LitDevtoolsPanel.prototype, "_timelineView", void 0);
11737
11602
  LitDevtoolsPanel = __decorate([t$2("lit-devtools-panel")], LitDevtoolsPanel);
11738
11603
  //#endregion
11739
- //#region src/panel/main.ts
11740
- /**
11741
- * @license
11742
- * Copyright 2026 Google LLC
11743
- * SPDX-License-Identifier: BSD-3-Clause
11744
- */
11745
- //#endregion
11746
11604
  export { onBrowserAgentToolsChanged as n, nanoid as r, listBrowserAgentTools as t };
11747
11605
 
11748
- //# sourceMappingURL=index-D632jo79.js.map
11606
+ //# sourceMappingURL=index-CgkhETVR.js.map