@capybara-hq/plugin-sdk 0.1.0-rc.2 → 0.1.0-rc.20

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 (104) hide show
  1. package/README.md +1 -1
  2. package/agent-docs/agent-templates.md +59 -0
  3. package/agent-docs/concepts.md +63 -0
  4. package/agent-docs/connector-templates.md +48 -0
  5. package/agent-docs/extension-points/channel.md +15 -0
  6. package/agent-docs/extension-points/config-source.md +15 -0
  7. package/agent-docs/extension-points/connector.md +15 -0
  8. package/agent-docs/extension-points/context.md +15 -0
  9. package/agent-docs/extension-points/counter.md +15 -0
  10. package/agent-docs/extension-points/directory.md +15 -0
  11. package/agent-docs/extension-points/file-preview.md +15 -0
  12. package/agent-docs/extension-points/identity-source.md +15 -0
  13. package/agent-docs/extension-points/model-provider.md +15 -0
  14. package/agent-docs/extension-points/object-store.md +15 -0
  15. package/agent-docs/extension-points/sandbox.md +15 -0
  16. package/agent-docs/extension-points/secret-store.md +15 -0
  17. package/agent-docs/extension-points/web-fetch.md +15 -0
  18. package/agent-docs/extension-points/web-search.md +15 -0
  19. package/agent-docs/extensions.md +88 -0
  20. package/agent-docs/plugin-format.md +100 -0
  21. package/agent-docs/setup.md +46 -0
  22. package/agent-docs/skills.md +44 -0
  23. package/agent-docs/tool-naming.md +21 -0
  24. package/dist/agent-template.d.ts +96 -2
  25. package/dist/agent-template.js +381 -3
  26. package/dist/bootstrap.d.ts +15 -1
  27. package/dist/bootstrap.js +17 -1
  28. package/dist/cards.d.ts +39 -5
  29. package/dist/cards.js +70 -11
  30. package/dist/channel.d.ts +20 -1
  31. package/dist/client-css.d.ts +36 -0
  32. package/dist/client-css.js +326 -0
  33. package/dist/client-section.d.ts +35 -0
  34. package/dist/client-section.js +133 -0
  35. package/dist/config-ui.d.ts +24 -1
  36. package/dist/config-ui.js +89 -11
  37. package/dist/connector-auth.d.ts +2 -0
  38. package/dist/connector-auth.js +15 -0
  39. package/dist/context.d.ts +40 -0
  40. package/dist/context.js +2 -0
  41. package/dist/ctx.d.ts +86 -4
  42. package/dist/define-extension.d.ts +5 -1
  43. package/dist/define-extension.js +1 -0
  44. package/dist/dev-hosts.d.ts +6 -0
  45. package/dist/dev-hosts.js +48 -0
  46. package/dist/device-protocol.d.ts +260 -0
  47. package/dist/device-protocol.js +496 -0
  48. package/dist/directory.d.ts +11 -2
  49. package/dist/extension-point.d.ts +6 -0
  50. package/dist/extension-point.js +19 -14
  51. package/dist/file-preview.d.ts +9 -1
  52. package/dist/hooks.d.ts +111 -15
  53. package/dist/hooks.js +5 -0
  54. package/dist/index.d.ts +18 -1
  55. package/dist/index.js +18 -1
  56. package/dist/marketplace.d.ts +55 -2
  57. package/dist/marketplace.js +73 -3
  58. package/dist/model.d.ts +60 -2
  59. package/dist/model.js +22 -0
  60. package/dist/org-access.d.ts +27 -0
  61. package/dist/org-access.js +35 -0
  62. package/dist/permissions.d.ts +33 -8
  63. package/dist/permissions.js +89 -22
  64. package/dist/plugin-manifest.d.ts +60 -7
  65. package/dist/plugin-manifest.js +178 -7
  66. package/dist/sandbox.d.ts +239 -62
  67. package/dist/sandbox.js +99 -14
  68. package/dist/setup-check.d.ts +115 -0
  69. package/dist/setup-check.js +142 -0
  70. package/dist/setup-guide-parse.d.ts +121 -0
  71. package/dist/setup-guide-parse.js +350 -0
  72. package/dist/setup-guide-render.d.ts +45 -0
  73. package/dist/setup-guide-render.js +351 -0
  74. package/dist/setup-guide.d.ts +94 -0
  75. package/dist/setup-guide.js +336 -0
  76. package/dist/skill-invocation.d.ts +9 -5
  77. package/dist/skill-invocation.js +18 -8
  78. package/dist/skill.d.ts +23 -3
  79. package/dist/skill.js +31 -6
  80. package/dist/theme-assets.d.ts +39 -0
  81. package/dist/theme-assets.js +449 -0
  82. package/dist/theme-readability.d.ts +37 -0
  83. package/dist/theme-readability.js +145 -0
  84. package/dist/theme-tokens.generated.d.ts +275 -0
  85. package/dist/theme-tokens.generated.js +172 -0
  86. package/dist/theme.d.ts +152 -0
  87. package/dist/theme.js +392 -0
  88. package/dist/tool.d.ts +26 -3
  89. package/dist/tool.js +8 -0
  90. package/dist/ui-parts.d.ts +23 -0
  91. package/dist/ui-parts.js +337 -0
  92. package/dist/ui-resolve.d.ts +40 -0
  93. package/dist/ui-resolve.js +54 -0
  94. package/dist/ui-slots.d.ts +55 -0
  95. package/dist/ui-slots.js +247 -0
  96. package/dist/ui.d.ts +143 -37
  97. package/dist/ui.js +65 -5
  98. package/dist/web.d.ts +30 -5
  99. package/package.json +10 -2
  100. package/schemas/bootstrap.v1.schema.json +6 -0
  101. package/schemas/connector-template.v1.schema.json +3 -0
  102. package/schemas/marketplace.v1.schema.json +50 -0
  103. package/schemas/plugin.v1.schema.json +144 -7
  104. package/schemas/theme.v1.schema.json +225 -0
@@ -0,0 +1,337 @@
1
+ /** Every part name of the catalog, in catalog order. */
2
+ export const UI_PART_NAMES = [
3
+ "shell",
4
+ "sidebar",
5
+ "sidebar.brand",
6
+ "sidebar.item",
7
+ "title-bar",
8
+ "page-header",
9
+ "thread",
10
+ "message.user",
11
+ "message.user.bubble",
12
+ "message.assistant",
13
+ "tool-row",
14
+ "composer",
15
+ "properties-panel",
16
+ "section",
17
+ "right-panel",
18
+ "status-bar",
19
+ "button",
20
+ "button.primary",
21
+ "card",
22
+ "input",
23
+ "dialog",
24
+ "code-block",
25
+ "menu",
26
+ "segmented",
27
+ "stat-card",
28
+ "switch",
29
+ "switch.knob",
30
+ "org-avatar",
31
+ "agent-chip",
32
+ ];
33
+ export const UI_PARTS = [
34
+ {
35
+ name: "shell",
36
+ version: 1,
37
+ owner: ["packages/design/src/shell/app-shell.tsx"],
38
+ states: [],
39
+ description: {
40
+ en: "The App Shell root.",
41
+ zh: "应用外壳的根节点。",
42
+ },
43
+ },
44
+ {
45
+ name: "sidebar",
46
+ version: 1,
47
+ owner: ["packages/design/src/shell/sidebar.tsx"],
48
+ states: [],
49
+ description: {
50
+ en: "The left sidebar.",
51
+ zh: "左侧边栏。",
52
+ },
53
+ },
54
+ {
55
+ name: "sidebar.brand",
56
+ version: 1,
57
+ owner: ["packages/design/src/shell/sidebar.tsx"],
58
+ states: [],
59
+ description: {
60
+ en: "The brand row of the sidebar.",
61
+ zh: "侧边栏的品牌行。",
62
+ },
63
+ },
64
+ {
65
+ name: "sidebar.item",
66
+ version: 1,
67
+ owner: [
68
+ "packages/design/src/shell/sidebar.tsx",
69
+ "packages/design/src/shell/sidebar-conversations.tsx",
70
+ ],
71
+ states: ["aria-current"],
72
+ description: {
73
+ en: "A navigation or conversation row of the sidebar.",
74
+ zh: "侧边栏的导航行或对话行。",
75
+ },
76
+ },
77
+ {
78
+ name: "title-bar",
79
+ version: 1,
80
+ owner: ["packages/design/src/conversation/title-bar.tsx"],
81
+ states: [],
82
+ description: {
83
+ en: "The conversation title bar.",
84
+ zh: "对话标题栏。",
85
+ },
86
+ },
87
+ {
88
+ name: "page-header",
89
+ version: 1,
90
+ owner: ["packages/design/src/shell/page-header.tsx"],
91
+ states: [],
92
+ description: {
93
+ en: "The header of a page.",
94
+ zh: "页面头部。",
95
+ },
96
+ },
97
+ {
98
+ name: "thread",
99
+ version: 1,
100
+ owner: ["packages/design/src/templates/conversation-page.tsx"],
101
+ states: ["aria-busy"],
102
+ description: {
103
+ en: "The conversation stream.",
104
+ zh: "对话消息流。",
105
+ },
106
+ },
107
+ {
108
+ name: "message.user",
109
+ version: 1,
110
+ owner: ["packages/design/src/conversation/bubble.tsx"],
111
+ states: [],
112
+ description: {
113
+ en: "A person's message.",
114
+ zh: "用户发出的消息。",
115
+ },
116
+ },
117
+ {
118
+ name: "message.user.bubble",
119
+ version: 1,
120
+ owner: ["packages/design/src/conversation/bubble.tsx"],
121
+ states: [],
122
+ description: {
123
+ en: "The bubble of a person's message (inside the full-width `message.user` row).",
124
+ zh: "用户消息的气泡本身(在占满宽度的 message.user 行之内)。",
125
+ },
126
+ },
127
+ {
128
+ name: "message.assistant",
129
+ version: 1,
130
+ owner: ["apps/web/src/components/conversation/Thread.tsx"],
131
+ states: ["aria-busy"],
132
+ description: {
133
+ en: "An assistant turn; `aria-busy` while its text is still streaming (the live reply).",
134
+ zh: "智能体的一轮回复;正在流式输出时带 aria-busy(正在生成的回复)。",
135
+ },
136
+ },
137
+ {
138
+ name: "tool-row",
139
+ version: 1,
140
+ owner: ["packages/design/src/conversation/tool-row.tsx"],
141
+ states: ["aria-expanded"],
142
+ description: {
143
+ en: "A tool call line.",
144
+ zh: "工具调用行。",
145
+ },
146
+ },
147
+ {
148
+ name: "composer",
149
+ version: 1,
150
+ owner: ["packages/design/src/conversation/composer.tsx"],
151
+ states: ["aria-busy"],
152
+ description: {
153
+ en: "The composer box.",
154
+ zh: "输入框。",
155
+ },
156
+ },
157
+ {
158
+ name: "properties-panel",
159
+ version: 1,
160
+ owner: ["packages/design/src/conversation/panels.tsx"],
161
+ states: [],
162
+ description: {
163
+ en: "The conversation properties panel.",
164
+ zh: "对话属性面板。",
165
+ },
166
+ },
167
+ {
168
+ name: "section",
169
+ version: 1,
170
+ owner: [
171
+ "packages/design/src/conversation/panels.tsx",
172
+ "packages/design/src/templates/form-page.tsx",
173
+ ],
174
+ states: [],
175
+ description: {
176
+ en: "A property section or form section.",
177
+ zh: "属性分区或表单分区。",
178
+ },
179
+ },
180
+ {
181
+ name: "right-panel",
182
+ version: 1,
183
+ owner: ["packages/design/src/conversation/panels.tsx"],
184
+ states: [],
185
+ description: {
186
+ en: "A full-height right pane.",
187
+ zh: "占满高度的右侧窗格。",
188
+ },
189
+ },
190
+ {
191
+ name: "status-bar",
192
+ version: 1,
193
+ owner: ["packages/design/src/shell/status-bar.tsx"],
194
+ states: [],
195
+ description: {
196
+ en: "The status bar.",
197
+ zh: "状态栏。",
198
+ },
199
+ },
200
+ {
201
+ name: "button",
202
+ version: 1,
203
+ owner: ["packages/design/src/controls/button.tsx"],
204
+ states: ["disabled"],
205
+ description: {
206
+ en: "Every button.",
207
+ zh: "所有按钮。",
208
+ },
209
+ },
210
+ {
211
+ name: "button.primary",
212
+ version: 1,
213
+ owner: ["packages/design/src/controls/button.tsx"],
214
+ states: ["disabled"],
215
+ description: {
216
+ en: "A primary button (carried together with `button`).",
217
+ zh: "主按钮(与 button 同时出现)。",
218
+ },
219
+ },
220
+ {
221
+ name: "card",
222
+ version: 1,
223
+ owner: [
224
+ "packages/design/src/layout/index.tsx",
225
+ "packages/design/src/conversation/panels.tsx",
226
+ "packages/design/src/display/card-grid.tsx",
227
+ ],
228
+ states: [],
229
+ description: {
230
+ en: "A card, inline card or object card.",
231
+ zh: "卡片、行内卡片或对象卡片。",
232
+ },
233
+ },
234
+ {
235
+ name: "input",
236
+ version: 1,
237
+ owner: ["packages/design/src/controls/inputs.tsx", "packages/design/src/controls/select.tsx"],
238
+ states: ["disabled"],
239
+ description: {
240
+ en: "Text inputs, textareas and selects.",
241
+ zh: "文本框、多行文本框和下拉选择。",
242
+ },
243
+ },
244
+ {
245
+ name: "dialog",
246
+ version: 1,
247
+ owner: ["packages/design/src/overlays/dialog.tsx", "packages/design/src/overlays/sheet.tsx"],
248
+ states: [],
249
+ description: {
250
+ en: "A dialog or sheet.",
251
+ zh: "对话框或抽屉。",
252
+ },
253
+ },
254
+ {
255
+ name: "code-block",
256
+ version: 1,
257
+ owner: ["packages/design/src/display/chat.tsx"],
258
+ states: [],
259
+ description: {
260
+ en: "A code block (Markdown code, setup guides, diffs).",
261
+ zh: "代码块(Markdown 代码、设置指引、差异)。",
262
+ },
263
+ },
264
+ {
265
+ name: "menu",
266
+ version: 1,
267
+ owner: ["packages/design/src/overlays/menus.tsx", "packages/design/src/conversation/menu.tsx"],
268
+ states: [],
269
+ description: {
270
+ en: "A menu, submenu, popover or the composer's menus.",
271
+ zh: "菜单、子菜单、弹出层或输入框的菜单。",
272
+ },
273
+ },
274
+ {
275
+ name: "segmented",
276
+ version: 1,
277
+ owner: ["packages/design/src/display/tabs.tsx"],
278
+ states: [],
279
+ description: {
280
+ en: "A segmented control (its segments are radios with `aria-checked`).",
281
+ zh: "分段控件(各段是带 aria-checked 的单选项)。",
282
+ },
283
+ },
284
+ {
285
+ name: "stat-card",
286
+ version: 1,
287
+ owner: ["packages/design/src/display/stat-cards.tsx"],
288
+ states: [],
289
+ description: {
290
+ en: "A metric card of a StatCards row.",
291
+ zh: "指标卡片行里的一张指标卡。",
292
+ },
293
+ },
294
+ {
295
+ name: "switch",
296
+ version: 1,
297
+ owner: ["packages/design/src/controls/toggles.tsx"],
298
+ states: ["aria-checked", "disabled"],
299
+ description: {
300
+ en: "A switch; `aria-checked` says on or off.",
301
+ zh: "开关;aria-checked 表示开或关。",
302
+ },
303
+ },
304
+ {
305
+ name: "switch.knob",
306
+ version: 1,
307
+ owner: ["packages/design/src/controls/toggles.tsx"],
308
+ states: [],
309
+ description: {
310
+ en: "The knob inside a `switch` (style it from the switch's state).",
311
+ zh: "开关里的滑块(按所在开关的状态设置样式)。",
312
+ },
313
+ },
314
+ {
315
+ name: "org-avatar",
316
+ version: 1,
317
+ owner: ["packages/design/src/shell/sidebar.tsx"],
318
+ states: [],
319
+ description: {
320
+ en: "The org's initial block in the sidebar's org switcher.",
321
+ zh: "侧边栏组织切换器里的组织首字方块。",
322
+ },
323
+ },
324
+ {
325
+ name: "agent-chip",
326
+ version: 1,
327
+ owner: ["packages/design/src/conversation/agent-row.tsx"],
328
+ states: ["aria-pressed"],
329
+ description: {
330
+ en: "An agent chip of the new conversation's agents row; `aria-pressed` on the selected one.",
331
+ zh: "新会话智能体行里的智能体标签;选中的那个带 aria-pressed。",
332
+ },
333
+ },
334
+ ];
335
+ export function uiPart(name) {
336
+ return UI_PARTS.find((p) => p.name === name);
337
+ }
@@ -0,0 +1,40 @@
1
+ import type { UiContribution } from "./ui.js";
2
+ import { type UiSlotSpec } from "./ui-slots.js";
3
+ /** A contribution whose slot the catalog knows at the version it names (UI slots spec §3.2). */
4
+ export interface ResolvedUiContribution {
5
+ contribution: UiContribution;
6
+ slot: UiSlotSpec;
7
+ version: number;
8
+ /**
9
+ * For a slot with anchors: the anchor it goes after (the contribution's own `after` when it is one
10
+ * of the slot's anchors, else the slot's first anchor). Absent for a slot without anchors.
11
+ */
12
+ after?: string;
13
+ }
14
+ /** Why a contribution was dropped: its slot is not in the catalog, or not at that version. */
15
+ export type UiDropReason = "unknown-slot" | "unsupported-version";
16
+ /** A contribution left out of the loaded extension; `ref` is the slot reference it names. */
17
+ export interface DroppedUiContribution {
18
+ id: string;
19
+ ref: string;
20
+ reason: UiDropReason;
21
+ }
22
+ /** The slot reference a contribution names: its `slot`, or the slot of its deprecated `place`. */
23
+ export declare function slotRefOf(c: UiContribution): string;
24
+ /**
25
+ * Resolves the slots of a manifest's `ui` against the catalog (UI slots spec §3.2). Assumes
26
+ * `validateUiContributions` passed; never throws. A contribution to an unknown slot or to a version
27
+ * other than the slot's is dropped (an alias whose target is dropped is dropped with the target's
28
+ * reason and its own `ref`); an `after` that is not an anchor of the slot is listed in
29
+ * `unknownAnchors` and the contribution keeps the slot's default position. `deprecatedPlace` lists
30
+ * the ids that still say `place`. Both lists keep manifest order.
31
+ */
32
+ export declare function resolveUiSlots(ui: readonly UiContribution[] | undefined): {
33
+ resolved: ResolvedUiContribution[];
34
+ dropped: DroppedUiContribution[];
35
+ unknownAnchors: {
36
+ id: string;
37
+ after: string;
38
+ }[];
39
+ deprecatedPlace: string[];
40
+ };
@@ -0,0 +1,54 @@
1
+ import { PLACE_SLOTS, parseSlotRef, uiSlot } from "./ui-slots.js";
2
+ /** The slot reference a contribution names: its `slot`, or the slot of its deprecated `place`. */
3
+ export function slotRefOf(c) {
4
+ // biome-ignore lint/style/noNonNullAssertion: validateUiContributions requires slot or place
5
+ return c.slot ?? PLACE_SLOTS[c.place];
6
+ }
7
+ /**
8
+ * Resolves the slots of a manifest's `ui` against the catalog (UI slots spec §3.2). Assumes
9
+ * `validateUiContributions` passed; never throws. A contribution to an unknown slot or to a version
10
+ * other than the slot's is dropped (an alias whose target is dropped is dropped with the target's
11
+ * reason and its own `ref`); an `after` that is not an anchor of the slot is listed in
12
+ * `unknownAnchors` and the contribution keeps the slot's default position. `deprecatedPlace` lists
13
+ * the ids that still say `place`. Both lists keep manifest order.
14
+ */
15
+ export function resolveUiSlots(ui) {
16
+ const list = ui ?? [];
17
+ const own = new Map();
18
+ for (const c of list) {
19
+ const ref = parseSlotRef(slotRefOf(c));
20
+ const slot = ref === null ? undefined : uiSlot(ref.id);
21
+ own.set(c.id, ref === null || slot === undefined
22
+ ? { ok: false, reason: "unknown-slot" }
23
+ : ref.version !== slot.version
24
+ ? { ok: false, reason: "unsupported-version" }
25
+ : { ok: true, slot, version: ref.version });
26
+ }
27
+ const resolved = [];
28
+ const dropped = [];
29
+ const unknownAnchors = [];
30
+ const deprecatedPlace = [];
31
+ for (const c of list) {
32
+ if (c.slot === undefined && c.place !== undefined)
33
+ deprecatedPlace.push(c.id);
34
+ const mine = own.get(c.id);
35
+ const target = c.aliasOf === undefined ? undefined : own.get(c.aliasOf);
36
+ const r = mine.ok && target !== undefined && !target.ok ? target : mine;
37
+ if (!r.ok) {
38
+ dropped.push({ id: c.id, ref: slotRefOf(c), reason: r.reason });
39
+ continue;
40
+ }
41
+ const anchors = r.slot.anchors ?? [];
42
+ if (c.after !== undefined && !anchors.includes(c.after)) {
43
+ unknownAnchors.push({ id: c.id, after: c.after });
44
+ }
45
+ const after = c.after !== undefined && anchors.includes(c.after) ? c.after : anchors[0];
46
+ resolved.push({
47
+ contribution: c,
48
+ slot: r.slot,
49
+ version: r.version,
50
+ ...(anchors.length > 0 && { after }),
51
+ });
52
+ }
53
+ return { resolved, dropped, unknownAnchors, deprecatedPlace };
54
+ }
@@ -0,0 +1,55 @@
1
+ import type { UiKind, UiPlace } from "./ui.js";
2
+ export type UiSlotScope = "conversation" | "agent" | "org" | "platform" | "file";
3
+ export type UiSlotRole = "guest" | "member" | "admin" | "superAdmin";
4
+ /** Every slot id of the catalog, in catalog order (UI slots spec §3). */
5
+ export declare const UI_SLOT_IDS: readonly ["conversation.panel", "conversation.properties.section", "conversation.tool-result.card", "org.page", "file.preview", "agent.detail.section", "org.settings.section", "platform.page", "shell.brand", "shell.overlay", "conversation.empty", "conversation.composer.frame"];
6
+ export type UiSlotId = (typeof UI_SLOT_IDS)[number];
7
+ /** One slot of the catalog: where extension UI may go and what it receives (UI slots spec §3.1). */
8
+ export interface UiSlotSpec {
9
+ id: UiSlotId;
10
+ /** Bumped only on an incompatible change of the slot's contract. */
11
+ version: number;
12
+ /** Path relative to `apps/web/src` of the component that renders the slot. */
13
+ owner: string;
14
+ scope: UiSlotScope;
15
+ accepts: readonly UiKind[];
16
+ /** `single`: one winner replaces the built-in; `list`: every contribution is shown. */
17
+ cardinality: "list" | "single";
18
+ /** A single slot replaces a built-in block (client extensions spec §6.1). */
19
+ replaceable?: true;
20
+ /** What a replaceable slot shows without a winner. */
21
+ builtin?: {
22
+ en: string;
23
+ zh: string;
24
+ };
25
+ minRole: UiSlotRole;
26
+ /** Context ids passed to render (`conversationId`, `agentId`, …). */
27
+ args: readonly string[];
28
+ density: "dense" | "regular";
29
+ icon: "required" | "optional" | "none";
30
+ /** Built-in parts a contribution may be placed after; the first is the default. */
31
+ anchors?: readonly string[];
32
+ limits?: {
33
+ maxShown?: number;
34
+ };
35
+ description: {
36
+ en: string;
37
+ zh: string;
38
+ };
39
+ }
40
+ export declare const UI_SLOTS: readonly UiSlotSpec[];
41
+ export declare function uiSlot(id: string): UiSlotSpec | undefined;
42
+ /** Reads `<id>` or `<id>@<version>` (version 1 when omitted); does not check the catalog. */
43
+ export declare function parseSlotRef(ref: string): {
44
+ id: string;
45
+ version: number;
46
+ } | null;
47
+ /** @deprecated step A of the UI slots spec §4 */
48
+ export declare const PLACE_SLOTS: Readonly<Record<UiPlace, UiSlotId>>;
49
+ export declare const UI_ARRANGEABLE_SLOTS: readonly UiSlotId[];
50
+ /** Slots with one winner that replaces a built-in block. */
51
+ export declare const UI_SINGLE_SLOTS: readonly UiSlotId[];
52
+ /** Slots that accept the `component` kind. */
53
+ export declare const UI_COMPONENT_SLOTS: readonly UiSlotId[];
54
+ export declare const UI_CONTRIBUTION_KEY_RE: RegExp;
55
+ export declare function uiContributionKey(plugin: string, id: string): string;