@mdbase-dev/ui 0.2.16 → 0.2.18

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/css/controls.css CHANGED
@@ -669,30 +669,130 @@ textarea.mdbase-field {
669
669
  stroke: var(--color-text);
670
670
  }
671
671
 
672
- /* The app menu's last line: the new-tab note, and a quiet link to the SDK guide. */
673
- .mdbase-app-menu-footer {
674
- display: flex;
675
- flex-wrap: wrap;
676
- align-items: center;
677
- justify-content: space-between;
678
- gap: 2px 12px;
672
+ /* "Your app here": an empty slot after the apps. Hovered or focused, it spins past the
673
+ family's marks and lands on a tile with a waiting caret, while a sheen crosses the row. */
674
+ .mdbase-app-menu-build {
675
+ position: relative;
676
+ overflow: hidden;
679
677
  }
680
678
 
681
- .mdbase-app-menu-build {
682
- margin: -2px -6px;
683
- padding: 2px 6px;
684
- border-radius: var(--control-radius);
685
- color: var(--color-text-soft);
686
- text-decoration: none;
679
+ .mdbase-app-menu-slot {
680
+ --slot-cell: 19px;
681
+ position: relative;
682
+ width: 22px;
683
+ height: 22px;
684
+ flex: 0 0 auto;
685
+ box-sizing: border-box;
686
+ margin-inline: 3px;
687
+ overflow: hidden;
688
+ border: 1.5px dashed var(--color-border-strong);
689
+ border-radius: 6px;
690
+ transition: border-color var(--motion-slow) var(--ease-out);
687
691
  }
688
692
 
689
- .mdbase-app-menu-build:hover,
690
- .mdbase-menu .mdbase-app-menu-build:focus-visible {
691
- outline: 0;
693
+ .mdbase-app-menu-reel {
694
+ position: absolute;
695
+ inset: 0 0 auto;
696
+ display: grid;
697
+ grid-auto-rows: var(--slot-cell);
698
+ place-items: center;
699
+ transition: transform 0.28s var(--ease-out);
700
+ }
701
+
702
+ .mdbase-app-menu-reel > .mdbase-mark {
703
+ width: 15px;
704
+ height: 15px;
705
+ }
706
+
707
+ .mdbase-app-menu-slot-plus {
708
+ position: relative;
709
+ width: 9px;
710
+ height: 9px;
711
+ }
712
+
713
+ .mdbase-app-menu-slot-plus::before,
714
+ .mdbase-app-menu-slot-plus::after {
715
+ position: absolute;
716
+ top: 50%;
717
+ left: 0;
718
+ width: 9px;
719
+ height: 1.6px;
720
+ background: var(--color-text-muted);
721
+ content: "";
722
+ translate: 0 -50%;
723
+ }
724
+
725
+ .mdbase-app-menu-slot-plus::after { rotate: 90deg; }
726
+
727
+ .mdbase-app-menu-slot-caret {
728
+ width: 1.6px;
729
+ height: 11px;
730
+ border-radius: 1px;
731
+ background: var(--color-accent);
732
+ }
733
+
734
+ .mdbase-app-menu-build::after {
735
+ position: absolute;
736
+ inset: 0;
737
+ background: linear-gradient(100deg, transparent 30%, light-dark(oklch(100% 0 0 / 0.75), oklch(100% 0 0 / 0.12)) 50%, transparent 70%);
738
+ content: "";
739
+ pointer-events: none;
740
+ transform: translateX(-110%);
741
+ }
742
+
743
+ .mdbase-app-menu-build:is(:hover, :focus) .mdbase-app-menu-slot {
744
+ border-style: solid;
745
+ border-color: var(--color-accent);
746
+ }
747
+
748
+ .mdbase-app-menu-build:is(:hover, :focus) .mdbase-app-menu-reel {
749
+ transform: translateY(calc(-1 * var(--reel-stops) * var(--slot-cell)));
750
+ transition: transform 1.15s cubic-bezier(0.12, 0.75, 0.18, 1.04);
751
+ }
752
+
753
+ .mdbase-app-menu-build:is(:hover, :focus) .mdbase-app-menu-slot-caret {
754
+ animation: mdbase-slot-caret 1s steps(1) 1.15s infinite;
755
+ }
756
+
757
+ .mdbase-app-menu-build:is(:hover, :focus)::after {
758
+ animation: mdbase-slot-sheen 0.8s var(--ease-out) 0.9s;
759
+ }
760
+
761
+ @keyframes mdbase-slot-caret { 50% { opacity: 0; } }
762
+ @keyframes mdbase-slot-sheen { to { transform: translateX(110%); } }
763
+
764
+ /* The end state at once: the waiting tile, no spin, sheen or blink. */
765
+ @media (prefers-reduced-motion: reduce) {
766
+ .mdbase-app-menu-reel,
767
+ .mdbase-app-menu-build:is(:hover, :focus) .mdbase-app-menu-reel { transition: none; }
768
+ .mdbase-app-menu-build:is(:hover, :focus) .mdbase-app-menu-slot-caret,
769
+ .mdbase-app-menu-build:is(:hover, :focus)::after { animation: none; }
770
+ }
771
+
772
+ .mdbase-app-menu-submenu-chevron {
773
+ width: 15px;
774
+ height: 15px;
775
+ flex: 0 0 auto;
776
+ fill: none;
777
+ stroke: var(--color-text-muted);
778
+ stroke-width: 1.6;
779
+ }
780
+
781
+ .mdbase-app-menu-ai {
782
+ display: grid;
783
+ }
784
+
785
+ .mdbase-app-menu-ai > [aria-expanded="true"] {
692
786
  color: var(--color-text);
693
787
  background: var(--color-accent-soft);
694
788
  }
695
789
 
790
+ .mdbase-app-submenu {
791
+ width: max-content;
792
+ min-width: 240px;
793
+ max-width: min(300px, calc(100vw - 16px));
794
+ }
795
+
696
796
  .mdbase-app-menu-external {
697
797
  width: 15px;
698
798
  height: 15px;
@@ -12,7 +12,10 @@ export declare function AppSwitcher({ current, urls, mcpUrl, motion, collectionI
12
12
  readonly current: OfficialAppId;
13
13
  /** Lab and local builds, for example `{ writer: import.meta.env.VITE_MDBASE_WRITER_URL }`. */
14
14
  readonly urls?: Partial<Record<OfficialApp["id"], string | undefined>>;
15
- /** Setup guide for AI clients using MCP; pass `null` to omit on custom servers. */
15
+ /**
16
+ * Setup guide for other AI clients using MCP, the last row of the AI assistants submenu.
17
+ * Pass `null` on custom servers to omit the submenu: the assistants' listings use mdbase's own.
18
+ */
16
19
  readonly mcpUrl?: string | null | undefined;
17
20
  readonly motion?: MdbaseMarkMotion | undefined;
18
21
  /** Current collection ID for apps that do not carry `?collection=` in `location.href`. */
@@ -1,12 +1,13 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { i18n as _i18n } from "@lingui/core";
3
3
  import { useLocaleRevision } from "./i18n.js";
4
- import { useId, useRef, useState } from "react";
5
- import { mcpSetupUrl, mdbaseAppHref, officialApps, withAppUrls } from "./apps.js";
4
+ import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
5
+ import { aiAssistants, mcpSetupUrl, mdbaseAppHref, officialApps, withAppUrls } from "./apps.js";
6
6
  import { MdbaseAppMark, Wordmark } from "./brand.js";
7
7
  import { useMdbaseMarkActivity } from "./mark-activity.js";
8
8
  import { Menu } from "./Menu.js";
9
- /** Where the menu's "Build your own" link goes: the same SDK guide in every environment. */
9
+ import { moveMenuFocus, placeSubmenu } from "./popover.js";
10
+ /** Where the menu's "Your app here" row goes: the same SDK guide in every environment. */
10
11
  const sdkDocumentationUrl = "https://mdbase.dev/sdk/";
11
12
  function isMdbaseAppId(id) {
12
13
  return id === "editor" || id === "reader" || id === "writer";
@@ -130,56 +131,35 @@ function AppMenu({
130
131
  className: "mdbase-menu-heading",
131
132
  role: "presentation",
132
133
  children: heading
133
- }), _jsx("div", {
134
+ }), _jsxs("div", {
134
135
  className: "mdbase-menu-list",
135
- children: apps.map(app => _jsx(AppItem, {
136
+ children: [apps.map(app => _jsx(AppItem, {
136
137
  app: app,
137
138
  current: app.id === current,
138
139
  collectionId: collectionId,
139
140
  onOpen: () => onClose(false)
140
- }, app.id))
141
+ }, app.id)), _jsx(BuildYourOwnItem, {
142
+ onOpen: () => onClose(false)
143
+ })]
141
144
  }), mcpUrl && _jsxs(_Fragment, {
142
- children: [apps.length > 0 && _jsx("div", {
145
+ children: [_jsx("div", {
143
146
  className: "mdbase-menu-divider",
144
147
  role: "separator"
145
148
  }), _jsx("div", {
146
149
  className: "mdbase-menu-list",
147
- children: _jsx(McpItem, {
148
- url: mcpUrl,
149
- onOpen: () => onClose(false)
150
+ children: _jsx(AiAssistantsItem, {
151
+ setupUrl: mcpUrl,
152
+ onClose: onClose
150
153
  })
151
154
  })]
152
- }), _jsxs("div", {
153
- className: "mdbase-menu-note mdbase-app-menu-footer",
154
- children: [_jsx("span", {
155
- children: _i18n._(
156
- /** i18n */
157
- {
158
- id: "XDzAnp",
159
- message: "Opens in a new tab"
160
- })
161
- }), _jsxs("a", {
162
- className: "mdbase-app-menu-build",
163
- role: "menuitem",
164
- href: sdkDocumentationUrl,
165
- target: "_blank",
166
- rel: "noopener",
167
- onClick: () => onClose(false),
168
- children: [_i18n._(
169
- /** i18n */
170
- {
171
- id: "vWeG-x",
172
- message: "Build your own"
173
- }), _jsxs("span", {
174
- className: "mdbase-visually-hidden",
175
- children: [" ", _i18n._(
176
- /** i18n */
177
- {
178
- id: "75iTY6",
179
- message: "(opens in a new tab)"
180
- })]
181
- })]
182
- })]
155
+ }), _jsx("div", {
156
+ className: "mdbase-menu-note",
157
+ children: _i18n._(
158
+ /** i18n */
159
+ {
160
+ id: "XDzAnp",
161
+ message: "Opens in a new tab"
162
+ })
183
163
  })]
184
164
  });
185
165
  }
@@ -193,62 +173,248 @@ function ExternalIcon() {
193
173
  })
194
174
  });
195
175
  }
196
- function McpItem({
197
- url,
176
+ function NewTabHint() {
177
+ return _jsxs("span", {
178
+ className: "mdbase-visually-hidden",
179
+ children: [" ", _i18n._(
180
+ /** i18n */
181
+ {
182
+ id: "75iTY6",
183
+ message: "(opens in a new tab)"
184
+ })]
185
+ });
186
+ }
187
+ /** The marks the "Your app here" slot spins past before it lands on an empty, waiting tile. */
188
+ const reel = [...officialApps.map(app => app.id), "editor", "reader", "writer"];
189
+ /** An empty slot after the apps, for the app someone builds next. */
190
+ function BuildYourOwnItem({
198
191
  onOpen
199
192
  }) {
200
193
  useLocaleRevision();
201
194
  return _jsxs("a", {
202
- className: "mdbase-menu-item",
195
+ className: "mdbase-menu-item mdbase-app-menu-build",
203
196
  role: "menuitem",
204
- href: url,
197
+ href: sdkDocumentationUrl,
205
198
  target: "_blank",
206
199
  rel: "noopener",
207
200
  onClick: onOpen,
208
- children: [_jsxs("svg", {
209
- className: "mdbase-app-menu-mark mdbase-app-menu-mcp-mark",
210
- viewBox: "0 0 24 24",
201
+ children: [_jsx("span", {
202
+ className: "mdbase-app-menu-slot",
211
203
  "aria-hidden": "true",
212
- focusable: "false",
213
- children: [_jsx("circle", {
214
- cx: "6.5",
215
- cy: "12",
216
- r: "2.25"
217
- }), _jsx("circle", {
218
- cx: "17.5",
219
- cy: "6.5",
220
- r: "2.25"
221
- }), _jsx("circle", {
222
- cx: "17.5",
223
- cy: "17.5",
224
- r: "2.25"
225
- }), _jsx("path", {
226
- d: "M8.5 11 15.5 7.5M8.5 13l7 3.5"
227
- })]
204
+ children: _jsxs("span", {
205
+ className: "mdbase-app-menu-reel",
206
+ style: {
207
+ "--reel-stops": reel.length + 1
208
+ },
209
+ children: [_jsx("span", {
210
+ className: "mdbase-app-menu-slot-plus"
211
+ }), reel.map((id, index) => _jsx(MdbaseAppMark, {
212
+ app: id
213
+ }, index)), _jsx("span", {
214
+ className: "mdbase-app-menu-slot-caret"
215
+ })]
216
+ })
228
217
  }), _jsxs("span", {
229
218
  className: "mdbase-menu-copy",
230
219
  children: [_jsx("strong", {
231
220
  children: _i18n._(
232
221
  /** i18n */
233
222
  {
234
- id: "u5XQI0",
235
- message: "AI clients (MCP)"
223
+ id: "j3BI9V",
224
+ message: "Your app here",
225
+ context: "App switcher"
236
226
  })
237
227
  }), _jsx("small", {
238
228
  children: _i18n._(
239
229
  /** i18n */
240
230
  {
241
- id: "7xuLpu",
242
- message: "Claude, ChatGPT and Codex"
231
+ id: "J8O3YE",
232
+ message: "Build one with the mdbase SDK",
233
+ context: "App switcher"
243
234
  })
244
235
  })]
245
- }), _jsx(ExternalIcon, {}), _jsxs("span", {
246
- className: "mdbase-visually-hidden",
247
- children: [" ", _i18n._(
236
+ }), _jsx(ExternalIcon, {}), _jsx(NewTabHint, {})]
237
+ });
238
+ }
239
+ function McpMark() {
240
+ return _jsxs("svg", {
241
+ className: "mdbase-app-menu-mark mdbase-app-menu-mcp-mark",
242
+ viewBox: "0 0 24 24",
243
+ "aria-hidden": "true",
244
+ focusable: "false",
245
+ children: [_jsx("circle", {
246
+ cx: "6.5",
247
+ cy: "12",
248
+ r: "2.25"
249
+ }), _jsx("circle", {
250
+ cx: "17.5",
251
+ cy: "6.5",
252
+ r: "2.25"
253
+ }), _jsx("circle", {
254
+ cx: "17.5",
255
+ cy: "17.5",
256
+ r: "2.25"
257
+ }), _jsx("path", {
258
+ d: "M8.5 11 15.5 7.5M8.5 13l7 3.5"
259
+ })]
260
+ });
261
+ }
262
+ /** How long the pointer may be off the row and its submenu before the submenu closes. */
263
+ const submenuCloseDelay = 250;
264
+ /**
265
+ * A row that opens a submenu of the AI assistants with an official mdbase listing, then the
266
+ * MCP setup guide for any other client. The pointer opens it by hovering; a click, Enter, Space
267
+ * or → opens it and enters it; ← or leaving it closes it.
268
+ */
269
+ function AiAssistantsItem({
270
+ setupUrl,
271
+ onClose
272
+ }) {
273
+ useLocaleRevision();
274
+ const submenuId = useId();
275
+ const rowRef = useRef(null);
276
+ const submenuRef = useRef(null);
277
+ const enter = useRef(false);
278
+ const closeTimer = useRef(undefined);
279
+ const [open, setOpen] = useState(false);
280
+ const show = enterSubmenu => {
281
+ clearTimeout(closeTimer.current);
282
+ enter.current = enterSubmenu;
283
+ setOpen(true);
284
+ if (enterSubmenu && open) submenuRef.current?.querySelector('[role="menuitem"]')?.focus();
285
+ };
286
+ const hide = refocus => {
287
+ clearTimeout(closeTimer.current);
288
+ setOpen(false);
289
+ if (refocus) rowRef.current?.focus();
290
+ };
291
+ const hideSoon = () => {
292
+ clearTimeout(closeTimer.current);
293
+ closeTimer.current = setTimeout(() => setOpen(false), submenuCloseDelay);
294
+ };
295
+ useEffect(() => () => clearTimeout(closeTimer.current), []);
296
+ useLayoutEffect(() => {
297
+ const row = rowRef.current;
298
+ const submenu = submenuRef.current;
299
+ if (!open || !row || !submenu) return;
300
+ placeSubmenu(row, submenu);
301
+ if (enter.current) submenu.querySelector('[role="menuitem"]')?.focus({
302
+ preventScroll: true
303
+ });
304
+ }, [open]);
305
+ const onSubmenuKeyDown = event => {
306
+ if (event.key === "ArrowLeft") {
307
+ event.preventDefault();
308
+ hide(true);
309
+ } else moveMenuFocus(event, submenuRef.current);
310
+ // The parent menu's own arrow keys would leave the submenu.
311
+ if (["ArrowLeft", "ArrowDown", "ArrowUp", "Home", "End"].includes(event.key)) event.stopPropagation();
312
+ };
313
+ const link = (href, name, description) => _jsxs("a", {
314
+ className: "mdbase-menu-item",
315
+ role: "menuitem",
316
+ href: href,
317
+ target: "_blank",
318
+ rel: "noopener",
319
+ onClick: () => onClose(false),
320
+ children: [_jsxs("span", {
321
+ className: "mdbase-menu-copy",
322
+ children: [_jsx("strong", {
323
+ children: name
324
+ }), _jsx("small", {
325
+ children: description
326
+ })]
327
+ }), _jsx(ExternalIcon, {}), _jsx(NewTabHint, {})]
328
+ }, href);
329
+ return _jsxs("div", {
330
+ className: "mdbase-app-menu-ai",
331
+ onPointerEnter: event => {
332
+ if (event.pointerType === "mouse") show(false);
333
+ },
334
+ onPointerLeave: event => {
335
+ if (event.pointerType === "mouse") hideSoon();
336
+ },
337
+ onBlur: event => {
338
+ if (!event.currentTarget.contains(event.relatedTarget)) hide(false);
339
+ },
340
+ children: [_jsxs("button", {
341
+ ref: rowRef,
342
+ type: "button",
343
+ className: "mdbase-menu-item",
344
+ role: "menuitem",
345
+ "aria-haspopup": "menu",
346
+ "aria-expanded": open,
347
+ "aria-controls": open ? submenuId : undefined,
348
+ onClick: () => show(true),
349
+ onKeyDown: event => {
350
+ if (event.key === "ArrowRight") {
351
+ event.preventDefault();
352
+ show(true);
353
+ }
354
+ },
355
+ children: [_jsx(McpMark, {}), _jsxs("span", {
356
+ className: "mdbase-menu-copy",
357
+ children: [_jsx("strong", {
358
+ children: _i18n._(
359
+ /** i18n */
360
+ {
361
+ id: "uL1ln6",
362
+ message: "AI assistants",
363
+ context: "App switcher"
364
+ })
365
+ }), _jsx("small", {
366
+ children: _i18n._(
367
+ /** i18n */
368
+ {
369
+ id: "7eYWir",
370
+ message: "Claude, ChatGPT and others",
371
+ context: "App switcher"
372
+ })
373
+ })]
374
+ }), _jsx("svg", {
375
+ className: "mdbase-app-menu-submenu-chevron",
376
+ viewBox: "0 0 24 24",
377
+ "aria-hidden": "true",
378
+ children: _jsx("path", {
379
+ d: "m10 7 5 5-5 5"
380
+ })
381
+ })]
382
+ }), open && _jsxs("div", {
383
+ ref: submenuRef,
384
+ id: submenuId,
385
+ className: "mdbase-menu mdbase-overlay mdbase-app-submenu",
386
+ "data-open": "true",
387
+ popover: "manual",
388
+ role: "menu",
389
+ "aria-label": _i18n._(
248
390
  /** i18n */
249
391
  {
250
- id: "75iTY6",
251
- message: "(opens in a new tab)"
392
+ id: "uL1ln6",
393
+ message: "AI assistants",
394
+ context: "App switcher"
395
+ }),
396
+ onKeyDown: onSubmenuKeyDown,
397
+ children: [_jsx("div", {
398
+ className: "mdbase-menu-list",
399
+ children: aiAssistants.map(assistant => link(assistant.url, assistant.name, assistant.description))
400
+ }), _jsx("div", {
401
+ className: "mdbase-menu-divider",
402
+ role: "separator"
403
+ }), _jsx("div", {
404
+ className: "mdbase-menu-list",
405
+ children: link(setupUrl, _i18n._(
406
+ /** i18n */
407
+ {
408
+ id: "9WbUBi",
409
+ message: "Other AI clients",
410
+ context: "App switcher"
411
+ }), _i18n._(
412
+ /** i18n */
413
+ {
414
+ id: "O26jRC",
415
+ message: "Set up with MCP",
416
+ context: "App switcher"
417
+ }))
252
418
  })]
253
419
  })]
254
420
  });
@@ -298,14 +464,6 @@ function AppItem({
298
464
  target: "_blank",
299
465
  rel: "noopener",
300
466
  onClick: onOpen,
301
- children: [copy, _jsx(ExternalIcon, {}), _jsxs("span", {
302
- className: "mdbase-visually-hidden",
303
- children: [" ", _i18n._(
304
- /** i18n */
305
- {
306
- id: "75iTY6",
307
- message: "(opens in a new tab)"
308
- })]
309
- })]
467
+ children: [copy, _jsx(ExternalIcon, {}), _jsx(NewTabHint, {})]
310
468
  });
311
469
  }
package/dist/apps.d.ts CHANGED
@@ -18,11 +18,17 @@ export interface OfficialApp extends Omit<MdbaseApp, "id"> {
18
18
  readonly id: OfficialAppId;
19
19
  }
20
20
  export declare const officialApps: readonly OfficialApp[];
21
- /**
22
- * Setup guide for connecting AI clients (Claude, ChatGPT, Codex) to mdbase via MCP.
23
- * Direct Claude and ChatGPT plugin directory URLs can also be exported here once published.
24
- */
21
+ /** Setup guide for connecting other AI clients (Codex, for example) to mdbase via MCP. */
25
22
  export declare const mcpSetupUrl = "https://mdbase.dev/apps/mcp/";
23
+ export interface AiAssistant {
24
+ readonly id: "claude" | "chatgpt";
25
+ readonly name: string;
26
+ readonly description: string;
27
+ /** mdbase's listing in the assistant's own directory, which connects it to the hosted MCP server. */
28
+ readonly url: string;
29
+ }
30
+ /** AI assistants with an official mdbase listing. */
31
+ export declare const aiAssistants: readonly AiAssistant[];
26
32
  /** Hosted Model Context Protocol endpoint for mdbase collections. */
27
33
  export declare const mcpEndpointUrl = "https://mcp.mdbase.dev/mcp";
28
34
  /**
package/dist/apps.js CHANGED
@@ -62,11 +62,36 @@ export const officialApps = [...mdbaseApps, {
62
62
  },
63
63
  url: ""
64
64
  }];
65
- /**
66
- * Setup guide for connecting AI clients (Claude, ChatGPT, Codex) to mdbase via MCP.
67
- * Direct Claude and ChatGPT plugin directory URLs can also be exported here once published.
68
- */
65
+ /** Setup guide for connecting other AI clients (Codex, for example) to mdbase via MCP. */
69
66
  export const mcpSetupUrl = "https://mdbase.dev/apps/mcp/";
67
+ /** AI assistants with an official mdbase listing. */
68
+ export const aiAssistants = [{
69
+ id: "claude",
70
+ name: "Claude",
71
+ get description() {
72
+ return _i18n._(
73
+ /** i18n */
74
+ {
75
+ id: "gqE07l",
76
+ message: "Add mdbase from Claude's directory",
77
+ context: "App switcher"
78
+ });
79
+ },
80
+ url: "https://claude.ai/directory/mdbase"
81
+ }, {
82
+ id: "chatgpt",
83
+ name: "ChatGPT",
84
+ get description() {
85
+ return _i18n._(
86
+ /** i18n */
87
+ {
88
+ id: "9FH0xm",
89
+ message: "Add mdbase from ChatGPT's plugins",
90
+ context: "App switcher"
91
+ });
92
+ },
93
+ url: "https://chatgpt.com/plugins/plugin_asdk_app_6af1a7df00e48191ad2327acecb8ee55"
94
+ }];
70
95
  /** Hosted Model Context Protocol endpoint for mdbase collections. */
71
96
  export const mcpEndpointUrl = "https://mcp.mdbase.dev/mcp";
72
97
  /**