@markupai/sidebar-adapter 1.5.0 → 1.5.1

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 (2) hide show
  1. package/asyncapi.json +14 -10
  2. package/package.json +1 -1
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.0",
5
+ "version": "1.5.1",
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": {
@@ -150,7 +150,7 @@
150
150
  "action": "send",
151
151
  "channel": { "$ref": "#/channels/sidebarToPlugin" },
152
152
  "title": "replaceContent",
153
- "description": "Replace content over [range.start, range.end).",
153
+ "description": "Replace content over [range.start, range.end). documentReference is the originating document (null when multiDocument is not enabled).",
154
154
  "x-optional": false,
155
155
  "messages": [{ "$ref": "#/channels/sidebarToPlugin/messages/replaceContent_call" }],
156
156
  "reply": {
@@ -165,7 +165,7 @@
165
165
  "action": "send",
166
166
  "channel": { "$ref": "#/channels/sidebarToPlugin" },
167
167
  "title": "selectContent",
168
- "description": "Select content at [range.start, range.end).",
168
+ "description": "Select content at [range.start, range.end). documentReference is the originating document (null when multiDocument is not enabled).",
169
169
  "x-optional": false,
170
170
  "messages": [{ "$ref": "#/channels/sidebarToPlugin/messages/selectContent_call" }],
171
171
  "reply": {
@@ -349,7 +349,7 @@
349
349
  "action": "send",
350
350
  "channel": { "$ref": "#/channels/pluginToSidebar" },
351
351
  "title": "activateAgenticIssue",
352
- "description": "Activate (expand/scroll to) an issue card.",
352
+ "description": "Activate (expand/scroll to) an issue card. documentReference is the originating document (null when multiDocument is not enabled).",
353
353
  "x-optional": false,
354
354
  "messages": [{ "$ref": "#/channels/pluginToSidebar/messages/activateAgenticIssue_call" }],
355
355
  "reply": {
@@ -564,10 +564,11 @@
564
564
  "type": "array",
565
565
  "prefixItems": [
566
566
  { "type": "string" },
567
- { "$ref": "#/components/schemas/ContentRange" }
567
+ { "$ref": "#/components/schemas/ContentRange" },
568
+ { "type": ["string", "null"] }
568
569
  ],
569
570
  "minItems": 2,
570
- "maxItems": 2,
571
+ "maxItems": 3,
571
572
  "items": false
572
573
  }
573
574
  }
@@ -603,9 +604,12 @@
603
604
  "name": { "const": "selectContent" },
604
605
  "data": {
605
606
  "type": "array",
606
- "prefixItems": [{ "$ref": "#/components/schemas/ContentRange" }],
607
+ "prefixItems": [
608
+ { "$ref": "#/components/schemas/ContentRange" },
609
+ { "type": ["string", "null"] }
610
+ ],
607
611
  "minItems": 1,
608
- "maxItems": 1,
612
+ "maxItems": 2,
609
613
  "items": false
610
614
  }
611
615
  }
@@ -1083,9 +1087,9 @@
1083
1087
  "name": { "const": "activateAgenticIssue" },
1084
1088
  "data": {
1085
1089
  "type": "array",
1086
- "prefixItems": [{ "type": "string" }],
1090
+ "prefixItems": [{ "type": "string" }, { "type": ["string", "null"] }],
1087
1091
  "minItems": 1,
1088
- "maxItems": 1,
1092
+ "maxItems": 2,
1089
1093
  "items": false
1090
1094
  }
1091
1095
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markupai/sidebar-adapter",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Adapter package for MarkupAI Sidebar integration",
5
5
  "keywords": [
6
6
  "markupai",