@markupai/sidebar-adapter 1.5.1 → 2.0.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.
package/README.md CHANGED
@@ -49,6 +49,7 @@ The sidebar runs the **agentic** experience. Its optional `PluginInterface` hook
49
49
 
50
50
  - **Receive streaming results** — implement **`onAgenticAgentResults`** and **`onAgenticStreamComplete`** to get issues (each with its suggestions) as they stream plus a completion signal, so you can draw your own underlines or build a context menu (see [PluginInterface](#plugininterface)).
51
51
  - **Track issue state** — implement **`onAgenticIssueStatusChanged`**; the sidebar emits it after every Open / Resolved / Dismissed transition so you can keep annotations or other host UI in sync.
52
+ - **Know when a document's check is discarded** — implement **`onAgenticIssuesCleared`**; the sidebar emits it when the user clears a document's data, so you can drop highlights instead of pointing at suggestions that no longer exist.
52
53
  - **Drive the sidebar** — call **`activateAgenticIssue`** to expand and scroll to a card (e.g. when the user clicks an underline or picks the issue from a context menu), and **`markAgenticIssueResolved`** / **`restoreAgenticIssue`** / **`invalidateAgenticIssue`** to resolve / restore / dismiss a card — for example after applying a suggestion inline from your own context menu.
53
54
 
54
55
  See [Agentic issue lifecycle](#agentic-issue-lifecycle).
@@ -137,9 +138,6 @@ await adapter.replaceMultipleContents([
137
138
  { suggestion: "bar", range: { start: 20, end: 23 } },
138
139
  ]);
139
140
 
140
- // Show a dialog
141
- adapter.showDialog("<div>Custom dialog content</div>", 400, 300, "My Dialog");
142
-
143
141
  // Request initialization
144
142
  adapter.requestInit();
145
143
 
@@ -194,7 +192,6 @@ const pluginInterface: PluginInterface = {
194
192
  integrationName: "My Editor",
195
193
  integrationVersion: "1.0.0",
196
194
  integrationId: "my-editor",
197
- useCheckPreviewDialog: true,
198
195
  supportCheckSelection: true,
199
196
  // Optional. Allow the sidebar to run several agents in one check, each
200
197
  // cancellable on its own. Defaults to false (Style agent only). The
@@ -236,18 +233,6 @@ const pluginInterface: PluginInterface = {
236
233
  console.log("Replace multiple contents:", replacements);
237
234
  replaceMultipleContentsInEditor(replacements);
238
235
  },
239
-
240
- // Show a dialog (optional — omit on hosts without dialog support)
241
- showDialog: async (dialogHtml: string, width?: number, height?: number, title?: string) => {
242
- console.log("Show dialog:", title);
243
- showDialogInEditor(dialogHtml, width, height, title);
244
- },
245
-
246
- // Close the dialog (optional — omit on hosts without dialog support)
247
- closeDialog: async () => {
248
- console.log("Close dialog");
249
- closeDialogInEditor();
250
- },
251
236
  };
252
237
 
253
238
  // Create the adapter with an iframe reference
@@ -505,14 +490,13 @@ Implement these **on the host** as async functions. The sidebar calls them over
505
490
  - `selectContent(range: ContentRange, documentReference?: string | null): Promise<void>` — Focus/highlight the document span `[range.start, range.end)`. `documentReference` names the target document for multi-document hosts; omitted/`null` means "whichever document is currently active" (the single-document default — see [Multi-document hosts](#multi-document-hosts))
506
491
  - `replaceContent(suggestion: string, range: ContentRange, documentReference?: string | null): Promise<void>` — Apply a single edit to `[range.start, range.end)`. Same `documentReference` rule as `selectContent`
507
492
  - `replaceMultipleContents(replacements: ContentReplacement[]): Promise<void>` — Batch edits, always against the currently active document (no per-item `documentReference`)
508
- - `showDialog?(dialogHtml: string, width?: number, height?: number, title?: string): Promise<void>` — Host-rendered dialog chrome around HTML from the sidebar. **Optional** — omit on hosts without dialog support (also leave `useCheckPreviewDialog: false`).
509
- - `closeDialog?(): Promise<void>` — Dismiss that dialog. **Optional**, pairs with `showDialog`.
510
493
 
511
494
  Optional (agentic / streaming flows):
512
495
 
513
496
  - `onAgenticAgentResults?(agentName: string, issues: AgenticIssuePayload[], documentReference: string | null): Promise<void>` — Per-agent results as they stream. `documentReference` is the document the check ran against — the run's _originating_ document, not necessarily whichever one is active when the callback fires, since a check keeps streaming in the background after the active document changes (see [Multi-document hosts](#multi-document-hosts)). `null` when `multiDocument` is not enabled
514
497
  - `onAgenticStreamComplete?(documentReference: string | null): Promise<void>` — Stream finished (success or terminal state). Same `documentReference` rule as `onAgenticAgentResults`
515
498
  - `onAgenticIssueStatusChanged?(issueId: string, status: "active" | "resolved" | "dismissed", source: "user" | "host"): Promise<void>` — Fired after every successful per-issue status transition. `source` is `"user"` for sidebar-card-driven transitions and `"host"` for transitions driven by the inbound `SidebarInterface` RPCs (`invalidateAgenticIssue` / `markAgenticIssueResolved` / `restoreAgenticIssue`). Best-effort: an absent or throwing handler MUST NOT block sidebar UI transitions. No-op RPC calls do not re-emit this notification.
499
+ - `onAgenticIssuesCleared?(documentReference: string | null): Promise<void>` — Fired when the sidebar discards a document's check entirely, with nothing replacing it: the user cleared the document's data. Drop your highlights and any mirrored issue state for that document. `documentReference` names the cleared document (`null` when `multiDocument` is not enabled). **Not** fired for a re-check, where a fresh result stream replaces the previous set — rebuild from `onAgenticAgentResults` as usual there. Best-effort: an absent or throwing handler does not prevent or roll back the sidebar's own clear.
516
500
 
517
501
  Optional (authentication):
518
502
 
@@ -820,7 +804,6 @@ const config: SidebarConfig = {
820
804
  integrationName: "My Integration",
821
805
  integrationVersion: "1.0.0",
822
806
  integrationId: "my-integration",
823
- useCheckPreviewDialog: false,
824
807
  integrationSettings: {
825
808
  title: "My integration",
826
809
  fields: [
package/asyncapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "asyncapi": "3.0.0",
3
3
  "info": {
4
4
  "title": "Markup AI Sidebar IPC contract",
5
- "version": "1.5.1",
5
+ "version": "2.0.0",
6
6
  "description": "Bidirectional RPC-over-postMessage contract between the Markup AI sidebar and its host. Generated from the @markupai/sidebar-adapter TypeScript types — do not hand-edit."
7
7
  },
8
8
  "channels": {
@@ -22,10 +22,6 @@
22
22
  "replaceContent_response": { "$ref": "#/components/messages/replaceContent_response" },
23
23
  "selectContent_call": { "$ref": "#/components/messages/selectContent_call" },
24
24
  "selectContent_response": { "$ref": "#/components/messages/selectContent_response" },
25
- "showDialog_call": { "$ref": "#/components/messages/showDialog_call" },
26
- "showDialog_response": { "$ref": "#/components/messages/showDialog_response" },
27
- "closeDialog_call": { "$ref": "#/components/messages/closeDialog_call" },
28
- "closeDialog_response": { "$ref": "#/components/messages/closeDialog_response" },
29
25
  "replaceMultipleContents_call": {
30
26
  "$ref": "#/components/messages/replaceMultipleContents_call"
31
27
  },
@@ -52,6 +48,12 @@
52
48
  "onAgenticIssueStatusChanged_response": {
53
49
  "$ref": "#/components/messages/onAgenticIssueStatusChanged_response"
54
50
  },
51
+ "onAgenticIssuesCleared_call": {
52
+ "$ref": "#/components/messages/onAgenticIssuesCleared_call"
53
+ },
54
+ "onAgenticIssuesCleared_response": {
55
+ "$ref": "#/components/messages/onAgenticIssuesCleared_response"
56
+ },
55
57
  "openAuthUrl_call": { "$ref": "#/components/messages/openAuthUrl_call" },
56
58
  "openAuthUrl_response": { "$ref": "#/components/messages/openAuthUrl_response" },
57
59
  "copyToClipboard_call": { "$ref": "#/components/messages/copyToClipboard_call" },
@@ -176,36 +178,6 @@
176
178
  ]
177
179
  }
178
180
  },
179
- "showDialog": {
180
- "action": "send",
181
- "channel": { "$ref": "#/channels/sidebarToPlugin" },
182
- "title": "showDialog",
183
- "description": "Show a dialog in the editor.",
184
- "x-optional": false,
185
- "messages": [{ "$ref": "#/channels/sidebarToPlugin/messages/showDialog_call" }],
186
- "reply": {
187
- "channel": { "$ref": "#/channels/sidebarToPlugin" },
188
- "messages": [
189
- { "$ref": "#/channels/sidebarToPlugin/messages/showDialog_response" },
190
- { "$ref": "#/channels/sidebarToPlugin/messages/ipc_error" }
191
- ]
192
- }
193
- },
194
- "closeDialog": {
195
- "action": "send",
196
- "channel": { "$ref": "#/channels/sidebarToPlugin" },
197
- "title": "closeDialog",
198
- "description": "Close the editor dialog.",
199
- "x-optional": false,
200
- "messages": [{ "$ref": "#/channels/sidebarToPlugin/messages/closeDialog_call" }],
201
- "reply": {
202
- "channel": { "$ref": "#/channels/sidebarToPlugin" },
203
- "messages": [
204
- { "$ref": "#/channels/sidebarToPlugin/messages/closeDialog_response" },
205
- { "$ref": "#/channels/sidebarToPlugin/messages/ipc_error" }
206
- ]
207
- }
208
- },
209
181
  "replaceMultipleContents": {
210
182
  "action": "send",
211
183
  "channel": { "$ref": "#/channels/sidebarToPlugin" },
@@ -283,6 +255,21 @@
283
255
  ]
284
256
  }
285
257
  },
258
+ "onAgenticIssuesCleared": {
259
+ "action": "send",
260
+ "channel": { "$ref": "#/channels/sidebarToPlugin" },
261
+ "title": "onAgenticIssuesCleared",
262
+ "description": "Notify plugin that a document's check was discarded with nothing replacing it, so the host can drop its highlights. documentReference is the cleared document (null when multiDocument is not enabled). Not sent for a re-check. Optional.",
263
+ "x-optional": true,
264
+ "messages": [{ "$ref": "#/channels/sidebarToPlugin/messages/onAgenticIssuesCleared_call" }],
265
+ "reply": {
266
+ "channel": { "$ref": "#/channels/sidebarToPlugin" },
267
+ "messages": [
268
+ { "$ref": "#/channels/sidebarToPlugin/messages/onAgenticIssuesCleared_response" },
269
+ { "$ref": "#/channels/sidebarToPlugin/messages/ipc_error" }
270
+ ]
271
+ }
272
+ },
286
273
  "openAuthUrl": {
287
274
  "action": "send",
288
275
  "channel": { "$ref": "#/channels/sidebarToPlugin" },
@@ -631,87 +618,6 @@
631
618
  }
632
619
  }
633
620
  },
634
- "showDialog_call": {
635
- "name": "showDialog_call",
636
- "title": "call showDialog",
637
- "payload": {
638
- "title": "showDialog_call",
639
- "type": "object",
640
- "additionalProperties": false,
641
- "required": ["type", "id", "name", "data"],
642
- "properties": {
643
- "type": { "const": "call" },
644
- "id": { "type": "integer" },
645
- "name": { "const": "showDialog" },
646
- "data": {
647
- "type": "array",
648
- "prefixItems": [
649
- { "type": "string" },
650
- { "type": "number" },
651
- { "type": "number" },
652
- { "type": "string" }
653
- ],
654
- "minItems": 1,
655
- "maxItems": 4,
656
- "items": false
657
- }
658
- }
659
- }
660
- },
661
- "showDialog_response": {
662
- "name": "showDialog_response",
663
- "title": "response showDialog",
664
- "payload": {
665
- "title": "showDialog_response",
666
- "type": "object",
667
- "additionalProperties": false,
668
- "required": ["type", "id", "name", "data"],
669
- "properties": {
670
- "type": { "const": "response" },
671
- "id": { "type": "integer" },
672
- "name": { "const": "showDialog" },
673
- "data": { "type": "null" }
674
- }
675
- }
676
- },
677
- "closeDialog_call": {
678
- "name": "closeDialog_call",
679
- "title": "call closeDialog",
680
- "payload": {
681
- "title": "closeDialog_call",
682
- "type": "object",
683
- "additionalProperties": false,
684
- "required": ["type", "id", "name", "data"],
685
- "properties": {
686
- "type": { "const": "call" },
687
- "id": { "type": "integer" },
688
- "name": { "const": "closeDialog" },
689
- "data": {
690
- "type": "array",
691
- "prefixItems": [],
692
- "minItems": 0,
693
- "maxItems": 0,
694
- "items": false
695
- }
696
- }
697
- }
698
- },
699
- "closeDialog_response": {
700
- "name": "closeDialog_response",
701
- "title": "response closeDialog",
702
- "payload": {
703
- "title": "closeDialog_response",
704
- "type": "object",
705
- "additionalProperties": false,
706
- "required": ["type", "id", "name", "data"],
707
- "properties": {
708
- "type": { "const": "response" },
709
- "id": { "type": "integer" },
710
- "name": { "const": "closeDialog" },
711
- "data": { "type": "null" }
712
- }
713
- }
714
- },
715
621
  "replaceMultipleContents_call": {
716
622
  "name": "replaceMultipleContents_call",
717
623
  "title": "call replaceMultipleContents",
@@ -915,6 +821,44 @@
915
821
  }
916
822
  }
917
823
  },
824
+ "onAgenticIssuesCleared_call": {
825
+ "name": "onAgenticIssuesCleared_call",
826
+ "title": "call onAgenticIssuesCleared",
827
+ "payload": {
828
+ "title": "onAgenticIssuesCleared_call",
829
+ "type": "object",
830
+ "additionalProperties": false,
831
+ "required": ["type", "id", "name", "data"],
832
+ "properties": {
833
+ "type": { "const": "call" },
834
+ "id": { "type": "integer" },
835
+ "name": { "const": "onAgenticIssuesCleared" },
836
+ "data": {
837
+ "type": "array",
838
+ "prefixItems": [{ "type": ["string", "null"] }],
839
+ "minItems": 1,
840
+ "maxItems": 1,
841
+ "items": false
842
+ }
843
+ }
844
+ }
845
+ },
846
+ "onAgenticIssuesCleared_response": {
847
+ "name": "onAgenticIssuesCleared_response",
848
+ "title": "response onAgenticIssuesCleared",
849
+ "payload": {
850
+ "title": "onAgenticIssuesCleared_response",
851
+ "type": "object",
852
+ "additionalProperties": false,
853
+ "required": ["type", "id", "name", "data"],
854
+ "properties": {
855
+ "type": { "const": "response" },
856
+ "id": { "type": "integer" },
857
+ "name": { "const": "onAgenticIssuesCleared" },
858
+ "data": { "type": "null" }
859
+ }
860
+ }
861
+ },
918
862
  "openAuthUrl_call": {
919
863
  "name": "openAuthUrl_call",
920
864
  "title": "call openAuthUrl",
@@ -1434,6 +1378,10 @@
1434
1378
  "type": "string",
1435
1379
  "description": "Version string of the host integration (the plugin/add-in build, not the sidebar or this adapter). Display only — e.g. shown on the sidebar's About page next to {@link SidebarConfig.integrationName } . Free-form; hosts typically pass their own package/build version such as `\"1.4.2\"`."
1436
1380
  },
1381
+ "hostAppVersion": {
1382
+ "type": "string",
1383
+ "description": "Version string of the host application/editor itself — the surrounding app the plugin/add-in runs inside (e.g. the Figma desktop app build, or the Madcap Flare version), not the plugin's own version ( {@link SidebarConfig.integrationVersion } ) or the sidebar's/adapter's. Display only — appended to the integration name/version line on the sidebar's About page when present. Omit when the host cannot report its own version; the About page leaves it out rather than showing a placeholder."
1384
+ },
1437
1385
  "integrationId": {
1438
1386
  "type": "string",
1439
1387
  "description": "Stable, machine-readable identifier for the integration. Used for everything non-display: the Auth0 mediation login provider, PostHog analytics keys, the `x-integration-id` API header, and per-integration settings storage. Should be a stable slug (lowercase, hyphenated, no spaces) that does not change between releases. Example: `\"madcap-flare-desktop\"`.\n\nOptional for backward compatibility: when omitted the sidebar falls back to `DEFAULT_SIDEBAR_CONFIG.integrationId` (`\"markupai-sidebar-app\"`). Hosts that use mediation login or want per-integration analytics/storage should set it."
@@ -1442,18 +1390,10 @@
1442
1390
  "type": "boolean",
1443
1391
  "description": "Hide the promotional/upsell banner the sidebar shows by default. Set `true` for embedded hosts where the banner is inappropriate (e.g. Figma, Office task pane). Defaults to `false` when omitted."
1444
1392
  },
1445
- "dialogClosingScript": {
1446
- "type": "string",
1447
- "description": "JavaScript source the sidebar runs inside a host-rendered dialog to close it (see {@link PluginInterface.showDialog } /`closeDialog`). Lets hosts that render dialog chrome themselves supply the exact close call for their environment (e.g. `google.script.host.close();`). Omit when the host closes dialogs through the normal `closeDialog` IPC."
1448
- },
1449
1393
  "pluginOrigin": {
1450
1394
  "type": "string",
1451
1395
  "description": "Origin of the plugin/editor window where messages should be sent This is the origin where the plugin is listening for messages from the sidebar"
1452
1396
  },
1453
- "useCheckPreviewDialog": {
1454
- "type": "boolean",
1455
- "description": "Whether to use the check preview workflow dialog If true, the sidebar will show a check preview dialog where the user can apply issues to the content If false, the sidebar will not show a dialog, but there will be an issue tab on the sidebar from where the user can apply issues"
1456
- },
1457
1397
  "supportCheckSelection": {
1458
1398
  "type": "boolean",
1459
1399
  "description": "Whether to support selection-based check and rewrite functionality If true or undefined (default), the selection toggle UI will be shown and users can toggle between full content and selection modes If false, the selection toggle UI will be hidden and checkSelectionEnabled will be forced to false"
@@ -1479,7 +1419,7 @@
1479
1419
  "description": "Optional declarative schema of host-supplied settings rendered in the sidebar's Settings surface. When omitted, no integration-settings section is rendered and no related IPC traffic is emitted.\n\nSee `@markupai/sidebar-adapter` README → \"Integration settings\" for the shape and lifecycle."
1480
1420
  }
1481
1421
  },
1482
- "required": ["integrationName", "integrationVersion", "useCheckPreviewDialog"],
1422
+ "required": ["integrationName", "integrationVersion"],
1483
1423
  "additionalProperties": false,
1484
1424
  "description": "Configuration for the sidebar",
1485
1425
  "title": "SidebarConfig"
@@ -1637,28 +1577,6 @@
1637
1577
  },
1638
1578
  "description": "Select or highlight content in the editor using document character offsets only."
1639
1579
  },
1640
- "showDialog": {
1641
- "$comment": "(\n dialogHtml: string,\n width?: number,\n height?: number,\n title?: string) => Promise<void>",
1642
- "type": "object",
1643
- "properties": {
1644
- "namedArgs": {
1645
- "type": "object",
1646
- "properties": {
1647
- "dialogHtml": { "type": "string" },
1648
- "width": { "type": "number" },
1649
- "height": { "type": "number" },
1650
- "title": { "type": "string" }
1651
- },
1652
- "required": ["dialogHtml"],
1653
- "additionalProperties": false
1654
- }
1655
- },
1656
- "description": "Show a dialog in the editor.\n\nOptional: not every host embedding the sidebar has dialog support. Hosts without a dialog surface should omit this method (and `closeDialog`). The sidebar gates dialog workflows behind `SidebarConfig.useCheckPreviewDialog`, so a host that omits these should also leave that flag `false`."
1657
- },
1658
- "closeDialog": {
1659
- "$comment": "() => Promise<void>",
1660
- "description": "Close the dialog in the editor.\n\nOptional: see `showDialog`. Omit on hosts without dialog support."
1661
- },
1662
1580
  "replaceMultipleContents": {
1663
1581
  "$comment": "(replacements: ContentReplacement[]) => Promise<void>",
1664
1582
  "type": "object",
@@ -1731,6 +1649,19 @@
1731
1649
  },
1732
1650
  "description": "Called by the sidebar after every successful status transition for an agentic issue. Fires for transitions driven by sidebar card affordances (`source: \"user\"`) and by host RPC calls ( {@link SidebarInterface.invalidateAgenticIssue } , {@link SidebarInterface.markAgenticIssueResolved } , {@link SidebarInterface.restoreAgenticIssue } , `source: \"host\"`).\n\nBest-effort: the sidebar tolerates a missing or throwing implementation and does not roll back its own UI on failure. No-op calls (e.g. marking an already-resolved issue) MUST NOT emit a duplicate notification."
1733
1651
  },
1652
+ "onAgenticIssuesCleared": {
1653
+ "$comment": "(documentReference: string | null) => Promise<void>",
1654
+ "type": "object",
1655
+ "properties": {
1656
+ "namedArgs": {
1657
+ "type": "object",
1658
+ "properties": { "documentReference": { "type": ["string", "null"] } },
1659
+ "required": ["documentReference"],
1660
+ "additionalProperties": false
1661
+ }
1662
+ },
1663
+ "description": "Called when the sidebar discards a document's check entirely — its issues and everything the user decided about them — with nothing replacing it. Hosts that draw their own highlights from {@link PluginInterface.onAgenticAgentResults } should drop them, and any mirrored issue state, for that document.\n\nFires when the user confirms **Clear Document Data**. It does **not** fire for a re-check, nor for the internal reset when a check covers fewer agents than the last one: both are followed immediately by a fresh result stream, so a host clearing there would discard highlights it is about to be handed again.\n\nBest-effort: a missing or throwing implementation does not prevent or roll back the sidebar's own clear."
1664
+ },
1734
1665
  "openAuthUrl": {
1735
1666
  "$comment": "(url: string) => Promise<void>",
1736
1667
  "type": "object",
@@ -37,14 +37,6 @@ export declare class PluginAdapter {
37
37
  * Select content in the editor
38
38
  */
39
39
  selectContent(range: ContentRange, documentReference?: string | null): Promise<void>;
40
- /**
41
- * Show a dialog in the editor
42
- */
43
- showDialog(dialogHtml: string, width?: number, height?: number, title?: string): Promise<void>;
44
- /**
45
- * Close the dialog in the editor
46
- */
47
- closeDialog(): Promise<void>;
48
40
  /**
49
41
  * Replace multiple contents in the editor
50
42
  */
@@ -64,6 +56,14 @@ export declare class PluginAdapter {
64
56
  * swallow that error since the handler is documented as best-effort.
65
57
  */
66
58
  onAgenticIssueStatusChanged(issueId: string, status: "active" | "resolved" | "dismissed", source: "user" | "host"): Promise<void>;
59
+ /**
60
+ * Notify plugin that a document's check was discarded with nothing replacing
61
+ * it. Optional on the host side — the returned promise rejects if the host
62
+ * has not implemented `onAgenticIssuesCleared`. Callers should swallow that
63
+ * error, since the handler is documented as best-effort and the clear has
64
+ * already happened.
65
+ */
66
+ onAgenticIssuesCleared(documentReference?: string | null): Promise<void>;
67
67
  /**
68
68
  * Ask the host plugin to open an external URL during an auth flow.
69
69
  * The returned promise rejects if the host has not implemented the handler;
@@ -1 +1 @@
1
- {"version":3,"file":"pluginAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/pluginAdapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAEjB;;;;;;;GAOG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;gBAElC,OAAO,CAAC,EAAE,gBAAgB,EAAE,MAAM,CA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AS,GAAG,IAAI;IAIzC;;OAEG;IACI,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;IAIlD;;OAEG;IACI,eAAe,IAAI,MAAM;CAGjC"}
@@ -29,14 +29,6 @@ export interface CallSignatures {
29
29
  * @throws {TextLookupError} When the requested text cannot be found or located
30
30
  */
31
31
  selectContent(range: ContentRange, documentReference?: string | null): Promise<void>;
32
- /**
33
- * Show a dialog in the editor
34
- */
35
- showDialog(dialogHtml: string, width?: number, height?: number, title?: string): Promise<void>;
36
- /**
37
- * Close the dialog in the editor
38
- */
39
- closeDialog(): Promise<void>;
40
32
  /**
41
33
  * Replace multiple contents in the editor
42
34
  */
@@ -66,6 +58,12 @@ export interface CallSignatures {
66
58
  * {@link PluginInterface.onAgenticIssueStatusChanged}.
67
59
  */
68
60
  onAgenticIssueStatusChanged?(issueId: string, status: "active" | "resolved" | "dismissed", source: "user" | "host"): Promise<void>;
61
+ /**
62
+ * Notify plugin that a document's check was discarded with nothing replacing
63
+ * it. Optional on the plugin side; absent handler is a no-op. See
64
+ * {@link PluginInterface.onAgenticIssuesCleared}.
65
+ */
66
+ onAgenticIssuesCleared?(documentReference: string | null): Promise<void>;
69
67
  /**
70
68
  * Ask the plugin to open an external URL during an auth flow.
71
69
  * See {@link PluginInterface.openAuthUrl}.
@@ -1 +1 @@
1
- {"version":3,"file":"call-signatures.d.ts","sourceRoot":"","sources":["../../src/ipc/call-signatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAK7B;;OAEG;IACH,UAAU,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAEn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CAC3E"}
@@ -38,14 +38,6 @@ export declare class PluginIPCAdapter {
38
38
  * Select content in the editor
39
39
  */
40
40
  selectContent(range: ContentRange, documentReference?: string | null): Promise<void>;
41
- /**
42
- * Show a dialog in the editor
43
- */
44
- showDialog(dialogHtml: string, width?: number, height?: number, title?: string): Promise<void>;
45
- /**
46
- * Close the dialog in the editor
47
- */
48
- closeDialog(): Promise<void>;
49
41
  /**
50
42
  * Replace multiple contents in the editor
51
43
  */
@@ -64,6 +56,13 @@ export declare class PluginIPCAdapter {
64
56
  * "No receiver registered" error since the notification is best-effort.
65
57
  */
66
58
  onAgenticIssueStatusChanged(issueId: string, status: "active" | "resolved" | "dismissed", source: "user" | "host"): Promise<void>;
59
+ /**
60
+ * Notify plugin that a document's check was discarded with nothing replacing
61
+ * it. Hosts may not have registered a handler — callers swallow the resulting
62
+ * "No receiver registered" error since the notification is best-effort and
63
+ * the clear has already happened.
64
+ */
65
+ onAgenticIssuesCleared(documentReference?: string | null): Promise<void>;
67
66
  /**
68
67
  * Ask the plugin to open an external URL during an auth flow.
69
68
  * Throws if the plugin has not registered a handler, so callers can fall
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-ipc-adapter.d.ts","sourceRoot":"","sources":["../../src/ipc/plugin-ipc-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAc,MAAM,qBAAqB,CAAC;AAC9E,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,mBAAmB,EAEpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,yBAAyB,EACzB,6BAA6B,EAE9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE;;;;;;GAMG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAU;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO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