@commentkit/comment-kit 0.7.2 → 0.7.3

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 (30) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/angular.es.js +2 -2
  3. package/dist/comment-kit.es.js +3 -3
  4. package/dist/demo.es.js +2 -2
  5. package/dist/headless.es.js +2 -2
  6. package/dist/preact.es.js +2 -2
  7. package/dist/qwik.qwik.mjs +2 -2
  8. package/dist/react.es.js +2 -2
  9. package/dist/shared/{annotation-toolbar-CZI1KVdW.js → annotation-toolbar-XpqojzM2.js} +2 -2
  10. package/dist/shared/{attachment-refresh-mQw-L7hB.js → attachment-refresh-agUheZPF.js} +1 -1
  11. package/dist/shared/{comment-drawing-canvas-CYFFKgCm.js → comment-drawing-canvas-B3zqdIZH.js} +2 -2
  12. package/dist/shared/{comment-image-lightbox-DmTNxuqX.js → comment-image-lightbox-j9y3Klh6.js} +2 -2
  13. package/dist/shared/{comment-images-content-BX4DQ9Ol.js → comment-images-content-aJrMaOi9.js} +3 -3
  14. package/dist/shared/{comment-kit-core-VuIidMeu.js → comment-kit-core-Bsyydwpk.js} +7 -7
  15. package/dist/shared/{comment-kit-ui-BjJ1ZLiv.js → comment-kit-ui-qKjCHHOy.js} +369 -356
  16. package/dist/shared/{comment-screenshot-annotator-CMOG1md7.js → comment-screenshot-annotator-aDtgMbBF.js} +2 -2
  17. package/dist/shared/{comment-screenshot-overlay-iWW-V-Iw.js → comment-screenshot-overlay-B-rAubia.js} +3 -3
  18. package/dist/shared/{dev-export-panel-CrRENbMn.js → dev-export-panel-mrxmtzei.js} +1 -1
  19. package/dist/shared/{dev-grab-Ca4MlS2Y.js → dev-grab-Cc-lJYBv.js} +1 -1
  20. package/dist/shared/{element-selector-g1bTvdEA.js → element-selector-4TxTAXHK.js} +2 -2
  21. package/dist/shared/{mount-ui-Dz5QLq4W.js → mount-ui-Dbqe5VsO.js} +4 -4
  22. package/dist/shared/{pusher-ue0D83de.js → pusher-zAMukOay.js} +1 -1
  23. package/dist/shared/{realtime-CieWAnsW.js → realtime-t5o6fk6w.js} +2 -2
  24. package/dist/shared/{shadow-root-Cv1aLuFf.js → shadow-root-DlfbvZF9.js} +1 -1
  25. package/dist/shared/{token-session-CPQpt3-u.js → token-session-ZzSO1tEl.js} +1 -1
  26. package/dist/shared/{websocket-manager-BnK55c3U.js → websocket-manager-DGN8T9mq.js} +2 -2
  27. package/dist/solid.es.js +2 -2
  28. package/dist/svelte.es.js +2 -2
  29. package/dist/vue.es.js +2 -2
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.7.3] - 2026-10-17
9
+
10
+ ### Fixed
11
+
12
+ - Match saved checklist controls to the server's author and comment-manager permissions. Collaborators and read-only workspaces can view checklist progress without being offered an edit the server will reject.
13
+ - Wait for checklist saves, prevent overlapping writes, and show a retry message when a rejected edit rolls back. Preserve explicit API error codes and provide a safe permission message for uncoded HTTP 403 responses.
14
+ - Open threads without replies at the original feedback instead of the empty reply section. Keep existing discussions at their newest reply and preserve a reader's position when the first reply arrives.
15
+
8
16
  ## [0.7.2] - 2026-10-17
9
17
 
10
18
  ### Fixed
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { Inject as o, Injectable as s, InjectionToken as c, Optional as l } from "@angular/core";
@@ -247,7 +247,7 @@ var v = class {
247
247
  }
248
248
  async mountSharedUI(e, t, n) {
249
249
  try {
250
- let { mountCommentKitUI: n } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
250
+ let { mountCommentKitUI: n } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
251
251
  if (this.core !== e || this.lifecycleId !== t) return;
252
252
  let r = await n(e);
253
253
  if (this.core !== e || this.lifecycleId !== t) {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./shared/websocket-manager-BnK55c3U.js";
2
- import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/websocket-manager-DGN8T9mq.js";
2
+ import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-Bsyydwpk.js";
3
3
  import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
4
4
  import "./headless.es.js";
5
5
  async function w(e) {
@@ -14,7 +14,7 @@ var T = typeof window < "u", E = class {
14
14
  async mount() {
15
15
  let e = this.core;
16
16
  try {
17
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
17
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
18
18
  if (this.destroyed) return;
19
19
  let n = await t(e);
20
20
  if (this.destroyed) {
package/dist/demo.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { o as e, r as t } from "./shared/validation-3wbbbuX0.js";
2
- import { t as n, v as r } from "./shared/comment-kit-core-VuIidMeu.js";
2
+ import { t as n, v as r } from "./shared/comment-kit-core-Bsyydwpk.js";
3
3
  var i = 864e5, a = 512e3, o = 50, s = 20, c = "commentkit:demo:", l = {
4
4
  id: "local-demo-you",
5
5
  name: "You",
@@ -444,7 +444,7 @@ async function w(e = {}) {
444
444
  }
445
445
  }, t), i;
446
446
  try {
447
- let { mountCommentKitUI: e } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
447
+ let { mountCommentKitUI: e } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
448
448
  i = await e(r);
449
449
  } catch (e) {
450
450
  throw r.destroy(), C = !1, e;
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/websocket-manager-BnK55c3U.js";
2
- import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/websocket-manager-DGN8T9mq.js";
2
+ import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-Bsyydwpk.js";
3
3
  import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
4
4
  export { t as ApiClient, s as CommentKitCore, i as EventEmitter, o as SDK_VERSION, e as WebSocketManager, a as createAgentContext, S as debounce, _ as findElement, r as formatAgentContext, l as formatMention, b as generateId, m as generateSelector, u as generateXPath, v as getCurrentPage, x as getElementBounds, d as getSelectionRange, h as getSelectionText, C as isElementVisible, f as isInteractiveElement, n as parseMentions, p as percentageToViewport, c as stripMentionMarkup, y as throttle, g as viewportToPercentage };
package/dist/preact.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { useEffect as o, useMemo as s, useRef as c, useState as l } from "preact/hooks";
@@ -34,7 +34,7 @@ function u(u) {
34
34
  }
35
35
  }, l = async (e) => {
36
36
  try {
37
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
37
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
38
38
  if (r || d.current !== e) return;
39
39
  let n = await t(e);
40
40
  if (r || d.current !== e) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { noSerialize as o, useComputed$ as s, useSignal as c, useStore as l, useVisibleTask$ as u } from "@builder.io/qwik";
@@ -42,7 +42,7 @@ function d(d) {
42
42
  }
43
43
  }, b = async (e) => {
44
44
  try {
45
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
45
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
46
46
  if (u || g.value !== e) return;
47
47
  let n = await t(e);
48
48
  if (u || g.value !== e) {
package/dist/react.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
3
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
4
4
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
5
5
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
6
- import { t as o } from "./shared/mount-ui-Dz5QLq4W.js";
6
+ import { t as o } from "./shared/mount-ui-Dbqe5VsO.js";
7
7
  import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as f } from "react";
8
8
  import { Fragment as p, jsx as m } from "react/jsx-runtime";
9
9
  function h(i, o = {}) {
@@ -1,10 +1,10 @@
1
- import { u as e } from "./comment-kit-core-VuIidMeu.js";
1
+ import { u as e } from "./comment-kit-core-Bsyydwpk.js";
2
2
  import { D as t, I as n, L as r, T as i, c as a, d as o, f as s, g as c, m as l, p as u, s as d, t as f, u as p } from "./button-By0hGrJK.js";
3
3
  import { $t as m, Ct as h, Et as g, Nt as _, Ot as v, Tt as y, Zt as ee, en as te, i as b, o as x, r as S, t as C, x as w, xt as T } from "./separator-aphZiRoJ.js";
4
4
  import { E as ne, M as re, S as ie, h as ae, j as oe, n as se, t as ce, u as le, y as ue } from "./useValueChanged-CrzfD8l-.js";
5
5
  import { a as de } from "./ShadowRootContext-CjciYxVN.js";
6
6
  import { a as fe, i as pe, l as me, n as he, o as ge, r as E, s as D, t as _e, u as ve } from "./button-group-C285iSkZ.js";
7
- import { A as O, B as k, D as ye, E as be, F as A, I as xe, L as j, M, O as Se, P as N, R as Ce, T as we, b as Te, d as P, f as Ee, k as De, o as F, s as I, w as L, x as Oe, y as R, z } from "./comment-kit-ui-BjJ1ZLiv.js";
7
+ import { A as O, B as k, D as ye, E as be, F as A, I as xe, L as j, M, O as Se, P as N, R as Ce, T as we, b as Te, d as P, f as Ee, k as De, o as F, s as I, w as L, x as Oe, y as R, z } from "./comment-kit-ui-qKjCHHOy.js";
8
8
  import { a as B, c as V, d as H, l as ke, n as U, o as Ae, r as je, s as W, t as G, u as Me } from "./annotation-icons-Dh-bmNYK.js";
9
9
  import * as K from "react";
10
10
  import { jsx as q, jsxs as J } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { s as e } from "./validation-3wbbbuX0.js";
2
2
  import { n as t } from "./dist-De294MVF.js";
3
3
  import { t as n } from "./button-By0hGrJK.js";
4
- import { q as r } from "./comment-kit-ui-BjJ1ZLiv.js";
4
+ import { q as r } from "./comment-kit-ui-qKjCHHOy.js";
5
5
  import * as i from "react";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  function s(e) {
@@ -1,5 +1,5 @@
1
- import { n as e, r as t, t as n } from "./annotation-toolbar-CZI1KVdW.js";
2
- import { N as r, a as i, g as a, i as o } from "./comment-kit-ui-BjJ1ZLiv.js";
1
+ import { n as e, r as t, t as n } from "./annotation-toolbar-XpqojzM2.js";
2
+ import { N as r, a as i, g as a, i as o } from "./comment-kit-ui-qKjCHHOy.js";
3
3
  import * as s from "react";
4
4
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
5
5
  var d = ".ck-annotation-toolbar{background-color:var(--background);width:100%;max-width:100%;box-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a, 0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:2rem;flex-wrap:wrap;justify-content:center;align-items:center;gap:.375rem .5rem;margin-inline:auto;padding:.375rem;display:flex}@media (width>=1024px){.ck-annotation-toolbar{width:fit-content}}.ck-annotation-separator.ck-separator[data-orientation=vertical]{height:1rem;display:none}@media (width>=1024px){.ck-annotation-separator.ck-separator[data-orientation=vertical]{display:block}}.ck-annotation-stroke{align-items:center;gap:.5rem;width:7rem;padding-inline:.25rem;display:flex}@media (width>=1024px){.ck-annotation-stroke{width:12rem}}.ck-annotation-slider{flex:auto;min-width:0}.ck-annotation-stroke-label{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.75rem;line-height:1rem}.ck-annotation-swatch{background-color:var(--ck-bg);width:.875rem;height:.875rem;box-shadow:0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:999px}.ck-annotation-tooltip{align-items:center;gap:.375rem;display:inline-flex}.ck-annotation-save--disabled{opacity:.5}.ck-drawing-canvas{z-index:var(--z-ck-marker-layer);cursor:none;pointer-events:auto;flex-direction:column;padding-top:1rem;display:flex;position:fixed;inset:0}.ck-drawing-canvas-scrim{pointer-events:none;background-color:#0000004d;position:absolute;inset:0}@supports ((-webkit-backdrop-filter:blur(4px)) or (backdrop-filter:blur(4px))){.ck-drawing-canvas-scrim{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.ck-drawing-canvas-toolbar{z-index:1;cursor:auto;width:100%;min-width:0;margin-inline:auto;padding-inline:.75rem;position:relative}.ck-drawing-canvas-surface{z-index:0;touch-action:none;flex:auto;min-height:0;position:relative}.ck-drawing-canvas-error{border-radius:var(--radius-md);background:var(--background);width:max-content;max-width:calc(100vw - 1.5rem);color:var(--destructive);margin:.75rem auto;padding:.75rem;font-size:.875rem}";
@@ -3,8 +3,8 @@ import { s as t, t as n } from "./button-By0hGrJK.js";
3
3
  import { i as r, o as i, r as a } from "./separator-aphZiRoJ.js";
4
4
  import { t as o } from "./comment-icon-4SQd3nlz.js";
5
5
  import { t as s } from "./button-group-C285iSkZ.js";
6
- import { c, h as l, m as u, p as d } from "./comment-kit-ui-BjJ1ZLiv.js";
7
- import { r as f, t as p } from "./attachment-refresh-mQw-L7hB.js";
6
+ import { c, h as l, m as u, p as d } from "./comment-kit-ui-qKjCHHOy.js";
7
+ import { r as f, t as p } from "./attachment-refresh-agUheZPF.js";
8
8
  import * as m from "react";
9
9
  import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
10
10
  var v = ".ck-dialog-content.ck-image-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;background-color:#0000;border:0;border-radius:0;justify-content:center;align-items:center;gap:0;padding:0;display:flex;inset:0;translate:none}@media (width>=640px){.ck-dialog-content.ck-image-lightbox{max-width:none}}.ck-root[data-theme=dark] .ck-dialog-content.ck-image-lightbox{box-shadow:none}.ck-image-lightbox-prev,.ck-image-lightbox-next{position:absolute}.ck-image-lightbox-prev{inset-inline-start:1rem}.ck-image-lightbox-next{inset-inline-end:1rem}.ck-image-lightbox-photo{object-fit:contain;width:auto;max-width:90vw;height:auto;max-height:90vh}.ck-image-lightbox-meta{border-radius:var(--radius-xl);background-color:var(--muted);text-align:center;max-width:90vw;color:var(--muted-foreground);padding:.25rem .625rem;font-size:.75rem;line-height:1rem;position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}.ck-image-lightbox-actions{top:1rem;position:absolute;inset-inline-end:1rem}.ck-image-lightbox-dots{gap:.5rem;display:flex;position:absolute;bottom:1.5rem}.ck-image-lightbox-dot{cursor:pointer;background-color:color-mix(in oklch, var(--foreground) 40%, transparent);border:0;border-radius:999px;width:.625rem;height:.625rem;padding:0;transition:background-color .15s cubic-bezier(.4,0,.2,1)}.ck-image-lightbox-dot:hover{background-color:color-mix(in oklch, var(--foreground) 60%, transparent)}.ck-image-lightbox-dot--active,.ck-image-lightbox-dot--active:hover{background-color:var(--foreground)}";
@@ -1,7 +1,7 @@
1
1
  import { d as e, s as t, t as n } from "./button-By0hGrJK.js";
2
2
  import { t as r } from "./useRender-D1z_X_BY.js";
3
- import { c as i, j as a, l as o, r as s } from "./comment-kit-ui-BjJ1ZLiv.js";
4
- import { n as c, r as l, t as u } from "./attachment-refresh-mQw-L7hB.js";
3
+ import { c as i, j as a, l as o, r as s } from "./comment-kit-ui-qKjCHHOy.js";
4
+ import { n as c, r as l, t as u } from "./attachment-refresh-agUheZPF.js";
5
5
  import * as d from "react";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  var h = d.forwardRef(function({ ratio: e, className: n, style: r, ...i }, a) {
@@ -92,7 +92,7 @@ var x = d.forwardRef(function({ className: n, render: i, type: a, ...o }, s) {
92
92
  render: i,
93
93
  state: { slot: "attachment-trigger" }
94
94
  });
95
- }), S = () => import("./comment-image-lightbox-DmTNxuqX.js"), C = 3;
95
+ }), S = () => import("./comment-image-lightbox-j9y3Klh6.js"), C = 3;
96
96
  function w(e) {
97
97
  return e.mimeType ? e.mimeType.startsWith("image/") : e.type === "screenshot" || e.type === "drawing" || e.thumbnail ? !0 : /^data:image\//i.test(e.url) || /\.(png|jpe?g|webp|gif|avif|svg)(?:[?#]|$)/i.test(e.filename ?? e.url);
98
98
  }
@@ -149,7 +149,7 @@ var ye = class {
149
149
  let l = await this.parseResponseBody(s);
150
150
  if (!s.ok) {
151
151
  s.status === 401 && a && i === this.authRevision && (this.setAuthToken(null), this.onAuthExpired?.());
152
- let e = o(l) ? l : {}, t = typeof e.error == "string" ? e.error : n;
152
+ let e = o(l) ? l : {}, t = typeof e.error == "string" ? e.error : s.status === 403 ? "unauthorized" : n;
153
153
  throw new T(t, x[t] ?? r, s.status, ve(e.details, e.quota));
154
154
  }
155
155
  return l;
@@ -2729,7 +2729,7 @@ async function ii(e, t, n) {
2729
2729
  }
2730
2730
  var $ = null;
2731
2731
  async function ai() {
2732
- return $ || ($ = await import("./realtime-CieWAnsW.js"), $);
2732
+ return $ || ($ = await import("./realtime-t5o6fk6w.js"), $);
2733
2733
  }
2734
2734
  var oi = typeof window < "u", si = /* @__PURE__ */ new Set([
2735
2735
  "list",
@@ -2744,7 +2744,7 @@ var oi = typeof window < "u", si = /* @__PURE__ */ new Set([
2744
2744
  "screenshot",
2745
2745
  "select",
2746
2746
  null
2747
- ]), li = 256, ui = "0.7.2";
2747
+ ]), li = 256, ui = "0.7.3";
2748
2748
  function di(e) {
2749
2749
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2750
2750
  return t ? [
@@ -2929,7 +2929,7 @@ var mi = class extends tt {
2929
2929
  };
2930
2930
  }
2931
2931
  let n = e.project?.sdkLatestVersion;
2932
- n && pi(n, "0.7.2") && (console.warn(`[CommentKit] You are using v${ui}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2932
+ n && pi(n, "0.7.3") && (console.warn(`[CommentKit] You are using v${ui}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2933
2933
  current: ui,
2934
2934
  latest: n
2935
2935
  })), this.setState({
@@ -3115,7 +3115,7 @@ var mi = class extends tt {
3115
3115
  if (this.initialAuthToken = void 0, e === void 0) return;
3116
3116
  let t = () => !this.destroyed && this.authRequestRevision === 0;
3117
3117
  try {
3118
- let { verifyAndRestoreToken: n } = await import("./token-session-CPQpt3-u.js");
3118
+ let { verifyAndRestoreToken: n } = await import("./token-session-ZzSO1tEl.js");
3119
3119
  await n(this.ctx, e, t, this.config.persistence !== "memory") && await this.afterAuthenticated();
3120
3120
  } catch {
3121
3121
  t() && this.handleAuthExpired();
@@ -3594,7 +3594,7 @@ var mi = class extends tt {
3594
3594
  }
3595
3595
  async grabElement(e, t) {
3596
3596
  if (this.destroyed) return null;
3597
- let { grabElement: n } = await import("./dev-grab-Ca4MlS2Y.js");
3597
+ let { grabElement: n } = await import("./dev-grab-Cc-lJYBv.js");
3598
3598
  if (this.destroyed) return null;
3599
3599
  let r = await n(e, this.ctx, this.screenshotProvider, t);
3600
3600
  return this.destroyed ? null : (r && this.emit("agent:element-grabbed", {
@@ -3604,7 +3604,7 @@ var mi = class extends tt {
3604
3604
  }
3605
3605
  async grabElements(e, t) {
3606
3606
  if (this.destroyed) return null;
3607
- let { grabElements: n } = await import("./dev-grab-Ca4MlS2Y.js");
3607
+ let { grabElements: n } = await import("./dev-grab-Cc-lJYBv.js");
3608
3608
  if (this.destroyed) return null;
3609
3609
  let r = await n(e, this.ctx, this.screenshotProvider, t);
3610
3610
  return this.destroyed ? null : (r && this.emit("agent:elements-grabbed", { count: r.results.length }), r);