@jossuealcala/madre 1.0.4 → 1.0.5
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/CHANGELOG.en.md +106 -1
- package/CHANGELOG.md +106 -1
- package/NOTICE +30 -0
- package/README.en.md +59 -156
- package/README.md +60 -161
- package/TRADEMARKS.md +18 -0
- package/bin/madre.mjs +2 -2
- package/docs/REFERENCE.md +1 -1
- package/docs/SDK.md +25 -4
- package/docs/en/REFERENCE.md +1 -1
- package/docs/en/SDK.md +22 -2
- package/docs/madre-banner.png +0 -0
- package/package.json +1 -1
- package/public/app.js +1078 -239
- package/public/assets/manual/madre-manual-en.pdf +0 -0
- package/public/assets/manual/madre-manual-es.pdf +0 -0
- package/public/assets/manual/shots/en-agents.webp +0 -0
- package/public/assets/manual/shots/en-code.webp +0 -0
- package/public/assets/manual/shots/en-composer.webp +0 -0
- package/public/assets/manual/shots/en-connectors.webp +0 -0
- package/public/assets/manual/shots/en-continuity.webp +0 -0
- package/public/assets/manual/shots/en-coordinator.webp +0 -0
- package/public/assets/manual/shots/en-copilot.webp +0 -0
- package/public/assets/manual/shots/en-diagnostics.webp +0 -0
- package/public/assets/manual/shots/en-home.webp +0 -0
- package/public/assets/manual/shots/en-local.webp +0 -0
- package/public/assets/manual/shots/en-memory.webp +0 -0
- package/public/assets/manual/shots/en-modes.webp +0 -0
- package/public/assets/manual/shots/en-modules.webp +0 -0
- package/public/assets/manual/shots/en-notes.webp +0 -0
- package/public/assets/manual/shots/en-settings.webp +0 -0
- package/public/assets/manual/shots/en-windows.webp +0 -0
- package/public/assets/manual/shots/es-agents.webp +0 -0
- package/public/assets/manual/shots/es-code.webp +0 -0
- package/public/assets/manual/shots/es-composer.webp +0 -0
- package/public/assets/manual/shots/es-connectors.webp +0 -0
- package/public/assets/manual/shots/es-continuity.webp +0 -0
- package/public/assets/manual/shots/es-coordinator.webp +0 -0
- package/public/assets/manual/shots/es-copilot.webp +0 -0
- package/public/assets/manual/shots/es-diagnostics.webp +0 -0
- package/public/assets/manual/shots/es-home.webp +0 -0
- package/public/assets/manual/shots/es-local.webp +0 -0
- package/public/assets/manual/shots/es-memory.webp +0 -0
- package/public/assets/manual/shots/es-modes.webp +0 -0
- package/public/assets/manual/shots/es-modules.webp +0 -0
- package/public/assets/manual/shots/es-notes.webp +0 -0
- package/public/assets/manual/shots/es-settings.webp +0 -0
- package/public/assets/manual/shots/es-windows.webp +0 -0
- package/public/en.js +74 -0
- package/public/es.js +493 -136
- package/public/i18n.js +45 -7
- package/public/index.html +2 -3
- package/public/manual-content.js +657 -0
- package/public/manual-shots.js +43 -0
- package/public/manual.css +228 -0
- package/public/manual.html +15 -0
- package/public/manual.js +398 -0
- package/public/market-art.js +56 -0
- package/public/market-view.js +140 -22
- package/public/market.js +25 -14
- package/public/mcp-catalog.js +62 -0
- package/public/resay.js +1 -0
- package/public/salas-mac.css +178 -30
- package/public/salas-mac.html +5 -5
- package/public/salas-mac.js +432 -67
- package/public/styles.css +300 -42
- package/public/tour-chapters.js +98 -90
- package/public/tour.js +63 -21
- package/public/troubleshooting.js +145 -10
- package/src/adapters/cursor.mjs +56 -7
- package/src/adapters/gemini.mjs +12 -1
- package/src/adapters/madre.mjs +27 -6
- package/src/adapters/process.mjs +5 -2
- package/src/auth-probe.mjs +22 -3
- package/src/bridge/policy.mjs +1 -1
- package/src/bridge/server.mjs +1 -1
- package/src/capabilities.mjs +3 -3
- package/src/credentials.mjs +24 -2
- package/src/history.mjs +76 -0
- package/src/i18n.mjs +23 -1
- package/src/local-ai.mjs +10 -2
- package/src/looks.mjs +17 -5
- package/src/market-license.mjs +104 -0
- package/src/market-remote.mjs +17 -1
- package/src/mcp/notes-server.mjs +120 -0
- package/src/mcp/proxy.mjs +14 -3
- package/src/models.mjs +82 -9
- package/src/modules/index.mjs +3 -1
- package/src/modules/local-models.mjs +28 -0
- package/src/modules/notes.mjs +142 -0
- package/src/modules/ollama.mjs +39 -10
- package/src/modules/playwright.mjs +14 -3
- package/src/modules/reminders.mjs +345 -0
- package/src/modules/sdk.mjs +21 -5
- package/src/mother.mjs +11 -1
- package/src/ollama.mjs +2 -2
- package/src/opencode-health.mjs +63 -0
- package/src/outbound.mjs +25 -1
- package/src/reminder-time.mjs +127 -0
- package/src/room.mjs +19 -7
- package/src/runtime-detection.mjs +6 -2
- package/src/sentinel-errors.mjs +4 -3
- package/src/server.mjs +302 -70
- package/src/tour.mjs +24 -5
package/public/market-view.js
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
// `openProject(projectId, item)` (Home), `toast(text)` and `changed()`.
|
|
16
16
|
|
|
17
17
|
import { t, language } from './i18n.js';
|
|
18
|
-
import { appIcon, inMarket, loadMarket, marketEntry, marketExtras, marketFeatured, marketShelves, moduleFace } from './market.js';
|
|
19
|
-
import { marketArt } from './market-art.js';
|
|
18
|
+
import { appIcon, forSale, inMarket, isBought, loadMarket, marketEntry, marketExtras, marketFeatured, marketShelves, moduleFace } from './market.js';
|
|
19
|
+
import { marketArt, marketGallery } from './market-art.js';
|
|
20
20
|
|
|
21
21
|
const el = (tag, className = null, text = null) => {
|
|
22
22
|
const node = document.createElement(tag);
|
|
@@ -48,7 +48,7 @@ const glyph = (node, name) => { node.insertAdjacentHTML('afterbegin', GLYPH[name
|
|
|
48
48
|
|
|
49
49
|
// A module from the catalog says its name and what it does in the room's language (market.js).
|
|
50
50
|
const nameOf = (item) => moduleFace(item).name ?? t(item.name ?? item.id);
|
|
51
|
-
const summaryOf = (item) => moduleFace(item).summary
|
|
51
|
+
const summaryOf = (item) => (moduleFace(item).summary ? t(moduleFace(item).summary) : t(item.summary ?? ''));
|
|
52
52
|
const lineOf = (item) => (moduleFace(item).line ? t(moduleFace(item).line) : t(item.summary ?? ''));
|
|
53
53
|
const priceOf = (item) => (marketEntry(item.id).price ? `$${marketEntry(item.id).price}` : t('Free'));
|
|
54
54
|
const shelfOf = (item) => marketShelves().find((shelf) => shelf.id === marketEntry(item.id).shelf) ?? null;
|
|
@@ -164,24 +164,62 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
164
164
|
const refresh = async () => { await load(); host.changed?.(); render(); };
|
|
165
165
|
|
|
166
166
|
// ACTIONS. Each says what happened in the line under the key, and on the page when it went well.
|
|
167
|
+
// Getting a module looks like getting it (2026-10-20): its key fills as a download does while
|
|
168
|
+
// MADRE turns it on, a tick takes its place when it is done, and on its page the module's icon
|
|
169
|
+
// drops into place with the tick on it. Turning one off is only a moment.
|
|
170
|
+
const TICK = '<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M5 10.4l3.2 3.1L15 6.6" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>';
|
|
171
|
+
const still = () => typeof matchMedia === 'function' && matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
172
|
+
const startGetting = (key) => {
|
|
173
|
+
key.classList.add('getting');
|
|
174
|
+
key.dataset.from = String(Date.now());
|
|
175
|
+
key.dataset.was = key.textContent;
|
|
176
|
+
key.textContent = t('Getting it…');
|
|
177
|
+
};
|
|
178
|
+
const landed = async (key) => {
|
|
179
|
+
// A module turned on in an instant still shows its download for a moment: a key that blinks
|
|
180
|
+
// from «Get» to the tick read as nothing having happened.
|
|
181
|
+
const shown = Date.now() - Number(key.dataset.from || 0);
|
|
182
|
+
if (!still() && shown < 700) await new Promise((resolve) => setTimeout(resolve, 700 - shown));
|
|
183
|
+
key.classList.remove('getting');
|
|
184
|
+
key.classList.add('got');
|
|
185
|
+
key.innerHTML = TICK; // trusted: our own SVG string
|
|
186
|
+
key.append(el('span', null, t('Done')));
|
|
187
|
+
const icon = key.closest('.mk-product')?.querySelector('.mk-product-top > .mk-icon');
|
|
188
|
+
if (icon) {
|
|
189
|
+
icon.classList.add('landed');
|
|
190
|
+
const badge = el('span', 'mk-got-badge');
|
|
191
|
+
badge.innerHTML = TICK; // trusted: our own SVG string
|
|
192
|
+
icon.append(badge);
|
|
193
|
+
}
|
|
194
|
+
await new Promise((resolve) => setTimeout(resolve, still() ? 300 : 1100));
|
|
195
|
+
};
|
|
196
|
+
const stopGetting = (key) => {
|
|
197
|
+
if (!key.classList.contains('getting')) return;
|
|
198
|
+
key.classList.remove('getting');
|
|
199
|
+
key.textContent = key.dataset.was ?? key.textContent;
|
|
200
|
+
};
|
|
167
201
|
const turnHere = async (given, on, line, key) => {
|
|
168
202
|
key.disabled = true;
|
|
203
|
+
if (on) startGetting(key);
|
|
169
204
|
let item = given;
|
|
170
|
-
try { item = await fetchFirst(given, line); } catch (error) { key.disabled = false; said(line, error.message, 'bad'); return; }
|
|
205
|
+
try { item = await fetchFirst(given, line); } catch (error) { key.disabled = false; stopGetting(key); said(line, error.message, 'bad'); return; }
|
|
171
206
|
said(line, on && item.id === 'playwright' ? t('Getting the test browser ready: MADRE downloads what it is missing. It can take a few minutes.') : t('One moment…'));
|
|
172
207
|
const answer = await post(`/api/extensions/${encodeURIComponent(item.id)}/install`, { confirm: true });
|
|
173
|
-
if (!answer.ok) { key.disabled = false; said(line, answer.body.error ?? t('{name} could not be turned on or off.', { name: nameOf(item) }), 'bad'); return; }
|
|
208
|
+
if (!answer.ok) { key.disabled = false; stopGetting(key); said(line, answer.body.error ?? t('{name} could not be turned on or off.', { name: nameOf(item) }), 'bad'); return; }
|
|
209
|
+
if (on) await landed(key);
|
|
174
210
|
notice(on ? t('{name} is on in this project.', { name: nameOf(item) }) : t('{name} is off in this project.', { name: nameOf(item) }));
|
|
175
211
|
await refresh();
|
|
176
212
|
};
|
|
177
213
|
const turnScope = async (given, change, line, key) => {
|
|
178
214
|
key.disabled = true;
|
|
179
|
-
let item = given;
|
|
180
|
-
try { item = await fetchFirst(given, line); } catch (error) { key.disabled = false; said(line, error.message, 'bad'); return false; }
|
|
181
215
|
const turningOn = change.all === true || Object.values(change.rooms ?? {}).includes(true);
|
|
216
|
+
if (turningOn) startGetting(key);
|
|
217
|
+
let item = given;
|
|
218
|
+
try { item = await fetchFirst(given, line); } catch (error) { key.disabled = false; stopGetting(key); said(line, error.message, 'bad'); return false; }
|
|
182
219
|
said(line, turningOn && item.id === 'playwright' ? t('Getting the test browser ready: MADRE downloads what it is missing. It can take a few minutes.') : t('One moment…'));
|
|
183
220
|
const answer = await post(`/api/extensions/${encodeURIComponent(item.id)}/scope`, { ...change, confirm: true });
|
|
184
|
-
if (!answer.ok) { key.disabled = false; said(line, answer.body.error ?? t('{name} could not be turned on or off.', { name: nameOf(item) }), 'bad'); return false; }
|
|
221
|
+
if (!answer.ok) { key.disabled = false; stopGetting(key); said(line, answer.body.error ?? t('{name} could not be turned on or off.', { name: nameOf(item) }), 'bad'); return false; }
|
|
222
|
+
if (turningOn) await landed(key);
|
|
185
223
|
await refresh();
|
|
186
224
|
return true;
|
|
187
225
|
};
|
|
@@ -194,6 +232,8 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
194
232
|
if (!onPage) {
|
|
195
233
|
// On a shelf the key is short: what is on says so and opens its page; what is off gets it.
|
|
196
234
|
if (on) return button('mk-get on', kind === 'install' ? t('Installed') : t('Turned on'), () => go({ tab: 'shop', focus: item.id }));
|
|
235
|
+
// A paid module not bought yet is bought on its page, where it says what it costs and how.
|
|
236
|
+
if (unpaid(item)) return button('mk-get', t('Buy'), () => go({ tab: 'shop', focus: item.id }));
|
|
197
237
|
if (!home && kind === 'switch') {
|
|
198
238
|
const key = button('mk-get', t('Get'), async (event) => { event.stopPropagation(); const line = el('span'); await turnHere(item, true, line, key); if (line.dataset.tone === 'bad') { notice(line.textContent); key.disabled = false; } });
|
|
199
239
|
return key;
|
|
@@ -234,7 +274,7 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
234
274
|
const get = el('div', 'mk-slide-get');
|
|
235
275
|
const who = el('span', 'mk-slide-who');
|
|
236
276
|
who.append(el('b', null, nameOf(item)), el('span', null, isOn(item) ? reach(item) : priceOf(item)));
|
|
237
|
-
get.append(appIcon(item, 48), who, button('mk-get light', isOn(item) ? t('See it') : kindOf(item) === 'install' ? t('Install') : kindOf(item) === 'local' ? t('Open') : t('Get'), (event) => { event.stopPropagation(); go({ tab: 'shop', focus: item.id, choose: !isOn(item) }); }));
|
|
277
|
+
get.append(appIcon(item, 48), who, button('mk-get light', isOn(item) ? t('See it') : unpaid(item) ? t('Buy') : kindOf(item) === 'install' ? t('Install') : kindOf(item) === 'local' ? t('Open') : t('Get'), (event) => { event.stopPropagation(); go({ tab: 'shop', focus: item.id, choose: !isOn(item) }); }));
|
|
238
278
|
words.append(el('small', null, t('Featured')), el('h2', null, nameOf(item)), el('p', null, t(marketEntry(item.id).pitch ?? lineOf(item))), get);
|
|
239
279
|
const art = el('div', 'mk-slide-art');
|
|
240
280
|
art.innerHTML = marketArt(item); // trusted: our own drawings (market-art.js)
|
|
@@ -280,8 +320,8 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
280
320
|
}
|
|
281
321
|
const head = el('section', 'mk-head');
|
|
282
322
|
head.append(el('h1', null, t('Market')), el('p', null, home
|
|
283
|
-
? t('Modules add what MADRE does: more for your agents, less for the terminal.
|
|
284
|
-
: t('Modules add what MADRE does: more for your agents, less for the terminal.
|
|
323
|
+
? t('Modules add what MADRE does: more for your agents, less for the terminal. From Home you choose: every project, or only one.')
|
|
324
|
+
: t('Modules add what MADRE does: more for your agents, less for the terminal. What you get here is for this project.')));
|
|
285
325
|
page.append(head);
|
|
286
326
|
const featured = carousel();
|
|
287
327
|
if (featured) page.append(featured);
|
|
@@ -307,6 +347,8 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
307
347
|
const top = el('section', 'mk-product-top');
|
|
308
348
|
const words = el('div', 'mk-product-words');
|
|
309
349
|
words.append(el('h1', null, nameOf(item)), el('p', null, lineOf(item)));
|
|
350
|
+
// Who made it, under its name, when it is someone from the community (Reminders: Daniel Castillo).
|
|
351
|
+
if (item.credit) words.append(el('small', 'mk-maker', t('Developed by {name}', { name: item.credit })));
|
|
310
352
|
const keys = el('div', 'mk-keys');
|
|
311
353
|
const line = el('p', 'mk-said');
|
|
312
354
|
words.append(keys, line);
|
|
@@ -317,16 +359,42 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
317
359
|
const facts = el('dl', 'mk-facts');
|
|
318
360
|
const fact = (label, value) => { const one = el('div'); one.append(el('dt', null, label), el('dd', null, value)); facts.append(one); };
|
|
319
361
|
fact(t('Price'), priceOf(item));
|
|
362
|
+
if (forSale(item.id) && isBought(item.id)) {
|
|
363
|
+
const held = el('span', 'mk-license-held', t('Active on this computer'));
|
|
364
|
+
const release = button('mk-link', t('Release'), async () => {
|
|
365
|
+
release.disabled = true;
|
|
366
|
+
const answer = await post('/api/market/license/release', { id: item.id });
|
|
367
|
+
if (!answer.ok) { release.disabled = false; notice(answer.body.error ?? t('The license could not be released.')); return; }
|
|
368
|
+
notice(t('License released: you can activate it on another computer. {name} stays installed here, without the Market\'s updates.', { name: nameOf(item) }));
|
|
369
|
+
await refresh();
|
|
370
|
+
});
|
|
371
|
+
release.title = t('Gives this computer\'s activation back, to use the key on another one.');
|
|
372
|
+
const value = el('span');
|
|
373
|
+
value.append(held, ' ', release);
|
|
374
|
+
const one = el('div');
|
|
375
|
+
one.append(el('dt', null, t('License')), el('dd', null, ''));
|
|
376
|
+
one.lastChild.append(value);
|
|
377
|
+
facts.append(one);
|
|
378
|
+
}
|
|
320
379
|
fact(home ? t('Where') : t('Here'), reach(item));
|
|
321
380
|
if (shelfOf(item)) fact(t('Shelf'), t(shelfOf(item).title));
|
|
322
|
-
|
|
381
|
+
// MADRE's own modules have no version of their own: they are the version of MADRE they come with.
|
|
382
|
+
fact(t('Version'), item.version ? `v${String(item.version).replace(/^v/, '')}` : madre ? t('Comes with MADRE {version}', { version: madre }) : t('Comes with MADRE'));
|
|
383
|
+
// Who developed it, when a module says (Reminders, 2026-10-20).
|
|
384
|
+
if (item.credit) fact(t('Developer'), item.credit);
|
|
323
385
|
page.append(facts);
|
|
324
386
|
|
|
387
|
+
// Three pictures (1.0.5), side by side and swiped like a store's: what it does, the module at
|
|
388
|
+
// work in a project, and the three steps to use it.
|
|
325
389
|
const gallery = el('section', 'mk-section');
|
|
326
390
|
gallery.append(el('h2', null, t('Preview')));
|
|
327
|
-
const
|
|
328
|
-
|
|
329
|
-
|
|
391
|
+
const strip = el('div', 'mk-gallery');
|
|
392
|
+
for (const drawing of marketGallery(item)) {
|
|
393
|
+
const shot = hueOf(el('div', 'mk-shot'), item);
|
|
394
|
+
shot.innerHTML = drawing; // trusted: our own drawings, or the catalog's kept to their shapes (market-art.js)
|
|
395
|
+
strip.append(shot);
|
|
396
|
+
}
|
|
397
|
+
gallery.append(strip);
|
|
330
398
|
page.append(gallery);
|
|
331
399
|
if (summaryOf(item)) {
|
|
332
400
|
const about = el('section', 'mk-section');
|
|
@@ -351,6 +419,40 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
351
419
|
for (const id of ids) { const option = el('option', null, projectName(id)); option.value = id; select.append(option); }
|
|
352
420
|
return select;
|
|
353
421
|
};
|
|
422
|
+
// A PAID MODULE (src/market-license.mjs): bought once at its checkout, then its key pasted here.
|
|
423
|
+
// Until then it cannot be got; after, it is got like any other.
|
|
424
|
+
const unpaid = (item) => item.kind === 'remote' && Boolean(forSale(item.id)) && !isBought(item.id);
|
|
425
|
+
const drawPurchase = (item, keys, line) => {
|
|
426
|
+
const sale = forSale(item.id);
|
|
427
|
+
const buy = button('mk-get big', t('Buy · {price}', { price: priceOf(item) }), () => { globalThis.open?.(sale.checkout, '_blank', 'noopener'); said(line, t('The purchase opened in your browser. The license key arrives by email: paste it here with «I have a license».'), 'note'); });
|
|
428
|
+
const have = button('mk-get big quiet', t('I have a license'), () => {
|
|
429
|
+
have.remove();
|
|
430
|
+
const form = el('form', 'mk-license');
|
|
431
|
+
const field = el('input');
|
|
432
|
+
field.type = 'text';
|
|
433
|
+
field.autocomplete = 'off';
|
|
434
|
+
field.spellcheck = false;
|
|
435
|
+
field.placeholder = t('License key');
|
|
436
|
+
field.setAttribute('aria-label', t('License key'));
|
|
437
|
+
const activate = button('mk-get big', t('Activate'));
|
|
438
|
+
activate.type = 'submit';
|
|
439
|
+
form.addEventListener('submit', async (event) => {
|
|
440
|
+
event.preventDefault();
|
|
441
|
+
activate.disabled = true;
|
|
442
|
+
said(line, t('Checking the license with Lemon Squeezy…'));
|
|
443
|
+
const answer = await post('/api/market/license', { id: item.id, key: field.value });
|
|
444
|
+
activate.disabled = false;
|
|
445
|
+
if (!answer.ok) { said(line, answer.body.error ?? t('The license could not be activated.'), 'bad'); return; }
|
|
446
|
+
notice(t('License activated: {name} is yours.', { name: nameOf(item) }));
|
|
447
|
+
await refresh();
|
|
448
|
+
});
|
|
449
|
+
form.append(field, activate);
|
|
450
|
+
keys.append(form);
|
|
451
|
+
field.focus();
|
|
452
|
+
});
|
|
453
|
+
keys.append(buy, have);
|
|
454
|
+
said(line, t('Paid once, through Lemon Squeezy. Its code is open like MADRE\'s: what you pay for is getting it from the Market, its updates and its support.'), 'note');
|
|
455
|
+
};
|
|
354
456
|
const drawKeys = (item, keys, line, { choose = false } = {}) => {
|
|
355
457
|
keys.replaceChildren();
|
|
356
458
|
const kind = kindOf(item);
|
|
@@ -359,6 +461,7 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
359
461
|
// A module from the catalog that asks for a newer MADRE says so, and waits for it.
|
|
360
462
|
const needs = item.kind === 'remote' ? item.remote?.minMadre : null;
|
|
361
463
|
if (needs && madre && !fits(madre, needs)) { keys.append(button('mk-get big', t('Needs MADRE {version}', { version: needs }))); keys.lastChild.disabled = true; said(line, t('Update MADRE to get this module.'), 'note'); return; }
|
|
464
|
+
if (unpaid(item)) { drawPurchase(item, keys, line); return; }
|
|
362
465
|
if (kind === 'local') { keys.append(button('mk-get big', t('Open Local AI'), () => { close(); host.localAi?.(); })); return; }
|
|
363
466
|
if (!home) {
|
|
364
467
|
if (kind === 'install') {
|
|
@@ -394,17 +497,32 @@ export function openMarket({ where = 'home', tab = 'shop', focus = null, project
|
|
|
394
497
|
const off = button('mk-get big quiet', t('Turn off in every project'), () => turnScope(item, { all: false }, line, off));
|
|
395
498
|
keys.append(off);
|
|
396
499
|
} else {
|
|
397
|
-
|
|
398
|
-
keys
|
|
500
|
+
// Where it goes, asked as a question with its two answers side by side (2026-10-20): every
|
|
501
|
+
// project — the ones added later too — or one, chosen by its name. Three keys in a row with
|
|
502
|
+
// no question («for all», «or only in», «only in this one», «project by project») read as one
|
|
503
|
+
// choice said three ways.
|
|
504
|
+
const where = el('div', 'mk-where');
|
|
505
|
+
where.append(el('b', 'mk-where-title', t('Where do you want it?')));
|
|
506
|
+
const options = el('div', 'mk-where-options');
|
|
507
|
+
const everyBox = el('div', 'mk-where-option');
|
|
508
|
+
const all = button('mk-get big', t('In all my projects'), async () => { if (await turnScope(item, { all: true }, line, all)) notice(t('{name} is on in all your projects.', { name: nameOf(item) })); });
|
|
509
|
+
everyBox.append(all, el('small', null, t('Also in the ones you add later.')));
|
|
510
|
+
options.append(everyBox);
|
|
399
511
|
const left = ids.filter((id) => !mine.on.includes(id));
|
|
400
512
|
if (left.length) {
|
|
401
|
-
const
|
|
513
|
+
const oneBox = el('div', 'mk-where-option');
|
|
514
|
+
const pick = el('div', 'mk-only');
|
|
402
515
|
const select = projectPicker(left);
|
|
403
|
-
const key = button('mk-get', t('Only in
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
516
|
+
const key = button('mk-get big quiet', t('Only in one'), async () => { const name = projectName(select.value); if (await turnScope(item, { rooms: { [select.value]: true } }, line, key)) notice(t('{name} is on in {project}.', { name: nameOf(item), project: name })); });
|
|
517
|
+
pick.append(key, select);
|
|
518
|
+
oneBox.append(pick, el('small', null, t('Choose which one. The others stay as they are.')));
|
|
519
|
+
options.append(oneBox);
|
|
407
520
|
}
|
|
521
|
+
where.append(options);
|
|
522
|
+
if (ids.length > 1) where.append(button('mk-link', t('Or decide project by project'), () => go({ tab: 'mine', focus: item.id })));
|
|
523
|
+
keys.append(where);
|
|
524
|
+
if (choose) requestAnimationFrame(() => all.focus());
|
|
525
|
+
return;
|
|
408
526
|
}
|
|
409
527
|
if (ids.length) keys.append(button('mk-link', t('Choose project by project'), () => go({ tab: 'mine', focus: item.id })));
|
|
410
528
|
};
|
package/public/market.js
CHANGED
|
@@ -15,21 +15,23 @@ import { language, t } from './i18n.js';
|
|
|
15
15
|
// `icon` is drawn on a 20-unit grid in `currentColor`, with `ic-f` marking the part a tile tints;
|
|
16
16
|
// `hue` is the two colors of the module's own app icon, top to bottom (2026-10-18, the Market).
|
|
17
17
|
export const MODULE_FACES = {
|
|
18
|
-
ash: { line: '
|
|
19
|
-
intents: { line: 'How hard each
|
|
20
|
-
ollama: { line: '
|
|
21
|
-
'image-studio': { line: '
|
|
22
|
-
playwright: { line: '
|
|
23
|
-
ripley: { line: '
|
|
24
|
-
'git-pulse': { line: '
|
|
25
|
-
runs: { line: 'Commands an agent asks you
|
|
26
|
-
choices: { line: '
|
|
27
|
-
ahp: { line: '
|
|
28
|
-
correo: { line: 'Send
|
|
29
|
-
github: { line: '
|
|
18
|
+
ash: { line: 'Shorter answers, fewer tokens spent', summary: 'Asks every agent to go straight to the point: no long introductions and no repeating what you already know. You spend less of your plan and read faster. Turn it off whenever you want the long answer.', wide: true, window: true, hue: ['#38bdf8', '#0369a1'], icon: '<path d="M4 5.2h12M4 9.4h8.4M4 13.6h4.6" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><g class="ic-arrow" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M15.2 8v7"/><path class="ic-f" d="M12.6 12.2l2.6 3 2.6-3"/></g>' },
|
|
19
|
+
intents: { line: 'How hard each question should think', summary: 'Before you send, it suggests the thinking level your question needs: low for a quick question, high for a hard bug. It learns from your own project and never changes anything without you.', wide: true, window: true, hue: ['#a78bfa', '#6d28d9'], icon: '<path d="M3.2 14.2a6.8 6.8 0 0 1 13.6 0" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path class="ic-f" d="M3.2 14.2a6.8 6.8 0 0 1 4.4-6.4L10 14.2z" fill="currentColor" fill-opacity=".28" stroke="none"/><path class="ic-needle" d="M10 14.2l3.4-4.8" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><circle cx="10" cy="14.2" r="1.5" fill="currentColor"/>' },
|
|
20
|
+
ollama: { line: 'AI that runs on your own computer', summary: 'A small AI model on your computer, with Ollama. It finds things in your project\'s memory by meaning, summarizes your conversations and answers as @madre. Free, private and it works without internet.', wide: true, window: true, hue: ['#4ade80', '#15803d'], icon: '<g class="ic-net" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"><path stroke-width=".8" d="M6.47 5.59L9.13 4.31M6.33 7.43L8.97 9.21M5.70 8.01L9.60 14.99M9.88 5.11L5.62 12.59M11.92 4.97L14.98 9.03M11.90 10.21L14.25 10.37M10.35 11.70L10.44 14.75M6.41 14.91L8.79 15.89M14.85 11.86L11.75 15.24"/><circle cx="4.8" cy="6.4" r="1.25"/><circle cx="10.8" cy="3.5" r="1.25"/><circle cx="10.3" cy="10.1" r="1.0"/><circle cx="16.1" cy="10.5" r="1.25"/><circle cx="4.7" cy="14.2" r="1.25"/><circle cx="10.5" cy="16.6" r="1.25"/></g>' },
|
|
21
|
+
'image-studio': { line: 'Logos, banners and illustrations, made by your agents', summary: 'Ask in the conversation for a logo, a banner or an illustration and the agent makes it with your own Gemini key. The images are saved in your project.', hue: ['#fb7185', '#c026d3'], icon: '<rect x="2.8" y="3.8" width="14.4" height="12.4" rx="3" fill="none" stroke="currentColor" stroke-width="1.7"/><path class="ic-f" d="M3.4 14.6l4-4 2.8 2.6 2.1-1.8 4.3 3.4z" fill="currentColor" fill-opacity=".28" stroke="none"/><path d="M3.4 14.6l4-4 2.8 2.6 2.1-1.8 4.3 3.4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/><path d="M13.4 5.6l.55 1.25 1.25.55-1.25.55-.55 1.25-.55-1.25-1.25-.55 1.25-.55z" fill="currentColor"/>' },
|
|
22
|
+
playwright: { line: 'Your agents open your page and look at it', summary: 'The agents open your page in a browser of their own, click through it, read its errors and bring back screenshots: they check their work the way a person would.', hue: ['#60a5fa', '#1d4ed8'], icon: '<rect x="2.6" y="3.6" width="14.8" height="12.8" rx="3" fill="none" stroke="currentColor" stroke-width="1.7"/><path d="M2.6 7.4h14.8" fill="none" stroke="currentColor" stroke-width="1.5"/><circle cx="5.1" cy="5.5" r=".8" fill="currentColor"/><circle cx="7.4" cy="5.5" r=".8" fill="currentColor"/><path class="ic-f" d="M9.2 9.4l5.4 2-2.3.9-.9 2.3z" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>' },
|
|
23
|
+
ripley: { line: 'See your pages beside the conversation', summary: 'Shows web pages, drawings (SVG) and documents (Markdown) beside the conversation, updated while the agents work.', hue: ['#fbbf24', '#ea580c'], icon: '<rect x="2.6" y="3.6" width="14.8" height="12.8" rx="3" fill="none" stroke="currentColor" stroke-width="1.7"/><path class="ic-f" d="M5.4 10s1.8-3 4.6-3 4.6 3 4.6 3-1.8 3-4.6 3-4.6-3-4.6-3z" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/><circle cx="10" cy="10" r="1.3" fill="currentColor"/>' },
|
|
24
|
+
'git-pulse': { line: 'What changed in your repository, at a glance', summary: 'Shows how your repository stands: what changed, the last commits and the branch you are on. It only reads; it never commits for you.', hue: ['#94a3b8', '#475569'], icon: '<circle cx="5.5" cy="5" r="1.8" fill="none" stroke="currentColor" stroke-width="1.6"/><circle cx="5.5" cy="15" r="1.8" fill="none" stroke="currentColor" stroke-width="1.6"/><path d="M5.5 6.8v6.4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/><path class="ic-f" d="M8.8 11h2l1.2-3.4 1.6 6 1.2-2.6h1.7" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/>' },
|
|
25
|
+
runs: { line: 'Commands an agent needs, run with one press', summary: 'When an agent needs a command it cannot run in its mode, it asks you here. You see the exact command and run it with one press; MADRE takes a restore point first.', hue: ['#6b7280', '#1f2937'], icon: '<rect x="2.6" y="3.6" width="14.8" height="12.8" rx="3" fill="none" stroke="currentColor" stroke-width="1.7"/><path class="ic-f" d="M6.2 7.8l2.6 2.2-2.6 2.2" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.6 12.4h3.4" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/>' },
|
|
26
|
+
choices: { line: 'Answer the agents with one press', summary: 'When an agent needs you to decide, it shows the options as buttons. You press one and the conversation goes on.', hue: ['#2dd4bf', '#0f766e'], icon: '<rect x="3.2" y="3.4" width="13.6" height="3.6" rx="1.8" fill="none" stroke="currentColor" stroke-width="1.5"/><rect class="ic-f" x="3.2" y="8.2" width="13.6" height="3.6" rx="1.8" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.5"/><path d="M12.2 10l1 1 1.9-1.9" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><rect x="3.2" y="13" width="13.6" height="3.6" rx="1.8" fill="none" stroke="currentColor" stroke-width="1.5"/>' },
|
|
27
|
+
ahp: { line: 'Pick up where you left off, with any agent', summary: 'Keeps your project\'s state, its decisions and what is pending in a folder inside it, so any agent, editor or computer picks up where the last one stopped.', hue: ['#34d399', '#047857'], icon: '<path d="M4.4 8.4a5.9 5.9 0 0 1 10.4-2.7" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path d="M15.3 2.9v3.2h-3.2" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.6 11.6a5.9 5.9 0 0 1-10.4 2.7" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path d="M4.7 17.1v-3.2h3.2" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><circle class="ic-f" cx="10" cy="10" r="1.9" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.4"/>' },
|
|
28
|
+
correo: { line: 'Send an email from your account', summary: 'Lets an agent write an email and send it from your own account, only when you allow it and only after you confirm.', hue: ['#fb923c', '#c2410c'], icon: '<rect x="2.6" y="4.6" width="14.8" height="10.8" rx="2.6" fill="none" stroke="currentColor" stroke-width="1.7"/><path class="ic-f" d="M3.4 6l6.6 4.8L16.6 6" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/>' },
|
|
29
|
+
github: { line: 'Your pull requests, issues and checks, in the project', summary: 'Reads your pull requests, issues and automatic checks on GitHub, so the agents know where things stand. It uses the GitHub sign-in already on your computer.', hue: ['#64748b', '#1e293b'], icon: '<circle cx="5.5" cy="4.8" r="1.9" fill="none" stroke="currentColor" stroke-width="1.6"/><circle cx="5.5" cy="15.2" r="1.9" fill="none" stroke="currentColor" stroke-width="1.6"/><path d="M5.5 6.7v6.6" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/><path d="M14.5 13.3V8.2a2.6 2.6 0 0 0-2.6-2.6H9.2" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/><path d="M11 3.6l-2 2 2 2" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/><circle class="ic-f" cx="14.5" cy="15.2" r="1.9" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.6"/>' },
|
|
30
|
+
notes: { line: 'Colored notes on your project', summary: 'Write what you want to keep in sight on notes of six colors, each in a window you move and size as you like. Only you read them: no agent sees them and nothing leaves your computer.', window: true, hue: ['#fde047', '#ca8a04'], icon: '<path d="M4.4 3.4h11.2a1 1 0 0 1 1 1v7.4l-4.8 4.8H4.4a1 1 0 0 1-1-1V4.4a1 1 0 0 1 1-1z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path class="ic-f" d="M16.6 11.8h-3.8a1 1 0 0 0-1 1v3.8" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path d="M6.4 7.2h7.2M6.4 10h4.6" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>' },
|
|
31
|
+
reminders: { line: 'What you still have to do, remembered', summary: 'When you write something you still have to do, or ask for the same thing every day, a card offers to remind you, with the time already chosen: one press. When it is due, Home tells you, and so does the project it came from. Read on your computer; no agent is asked. An idea by Daniel Castillo.', window: true, hue: ['#fb7185', '#be123c'], icon: '<path d="M10 3.2a4.6 4.6 0 0 0-4.6 4.6v2.6c0 .9-.4 1.8-1 2.5l-.8.9h12.8l-.8-.9a3.7 3.7 0 0 1-1-2.5V7.8A4.6 4.6 0 0 0 10 3.2z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path class="ic-f" d="M8.1 15.6a2 2 0 0 0 3.8 0" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/><path class="ic-ring" d="M2.8 6.4a6.6 6.6 0 0 1 1.8-3M17.2 6.4a6.6 6.6 0 0 0-1.8-3" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>' },
|
|
30
32
|
// Faces for the modules MODULES lists without one (2026-10-18, for the Market): their words and drawings.
|
|
31
|
-
enlaces: { line: '
|
|
32
|
-
mcp: { line: '
|
|
33
|
+
enlaces: { line: 'Projects that learn from each other', summary: 'Lets one project look up what another one learned, under a connection you sign and can take back at any time. Nothing is written across.', hue: ['#f472b6', '#be123c'], icon: '<path d="M8.1 11.9l3.8-3.8" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path class="ic-f" d="M9 5.5l1.6-1.6a3.3 3.3 0 0 1 4.7 4.7L13.7 10.2" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path d="M11 14.5l-1.6 1.6a3.3 3.3 0 0 1-4.7-4.7l1.6-1.6" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/>' },
|
|
34
|
+
mcp: { line: 'Connect other apps and services to your agents', summary: 'Lets the agents use other apps and services (MCP): a program on your computer or a service on the internet. You decide which ones, and for which projects.', hue: ['#e879f9', '#7e22ce'], icon: '<path d="M7.6 2.8v3.4M12.4 2.8v3.4" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path class="ic-f" d="M5.2 6.2h9.6v3.2a4.8 4.8 0 0 1-9.6 0z" fill="currentColor" fill-opacity=".28" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path d="M10 14.2v3" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/>' },
|
|
33
35
|
};
|
|
34
36
|
export const MODULE_ANY = '<path d="M7.5 4.5h2.2a1.6 1.6 0 1 1 3.1 0H15v3.2a1.6 1.6 0 1 1 0 3.1V15h-3.2a1.6 1.6 0 1 0-3.1 0H5.5v-3.6a1.6 1.6 0 1 0 0-3.1V4.5z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>';
|
|
35
37
|
const HUE_ANY = ['#94a3b8', '#334155'];
|
|
@@ -73,6 +75,8 @@ export const MARKET = {
|
|
|
73
75
|
'image-studio': { shelf: 'create', scope: 'everywhere', price: 0, featured: 3, pitch: 'Ask for a logo, a banner or an illustration, and the agents make it with your own key.' },
|
|
74
76
|
ripley: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
75
77
|
choices: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
78
|
+
notes: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
79
|
+
reminders: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
76
80
|
ollama: { shelf: 'local-ai', scope: 'everywhere', price: 0, featured: 4, pitch: 'A memory that searches by meaning, and @madre, on your own computer: free and private.' },
|
|
77
81
|
intents: { shelf: 'local-ai', scope: 'everywhere', price: 0 },
|
|
78
82
|
ash: { shelf: 'local-ai', scope: 'everywhere', price: 0 },
|
|
@@ -128,6 +132,12 @@ export function setMarketCatalog(catalog) {
|
|
|
128
132
|
remote = catalog && Array.isArray(catalog.modules) ? { ...catalog, byId: new Map(catalog.modules.map((entry) => [entry.id, entry])) } : null;
|
|
129
133
|
}
|
|
130
134
|
export const remoteEntry = (id) => remote?.byId.get(id) ?? null;
|
|
135
|
+
// THE PAID MODULES (src/market-license.mjs): which ones this computer bought, as /api/market says
|
|
136
|
+
// (never the keys), and whether one still has to be bought before it can be got.
|
|
137
|
+
let bought = {};
|
|
138
|
+
export const setMarketLicensed = (licensed) => { bought = licensed && typeof licensed === 'object' ? licensed : {}; };
|
|
139
|
+
export const isBought = (id) => Boolean(bought[id]);
|
|
140
|
+
export const forSale = (id) => { const entry = remoteEntry(id); return entry?.price > 0 && entry.checkout && entry.license ? entry : null; };
|
|
131
141
|
// The catalog's modules this MADRE does not have yet, as the Market lists them: to get.
|
|
132
142
|
export function marketExtras(items = []) {
|
|
133
143
|
if (!remote) return [];
|
|
@@ -165,6 +175,7 @@ export async function loadMarket({ toast = null, open = null } = {}) {
|
|
|
165
175
|
const answer = await fetch('/api/market', { cache: 'no-store' }).then((response) => (response.ok ? response.json() : null)).catch(() => null);
|
|
166
176
|
if (!answer) return null;
|
|
167
177
|
setMarketCatalog(answer.catalog);
|
|
178
|
+
setMarketLicensed(answer.licensed);
|
|
168
179
|
if (!toast) return answer;
|
|
169
180
|
const updated = answer.news ?? [];
|
|
170
181
|
if (updated.length) {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
// MADRE · © 2026 Jossue Alcalá · GNU AGPL v3 with additional terms (Section 7): ADDITIONAL-TERMS.md
|
|
3
|
+
// CONNECTORS (2026-10-20): the best known MCP servers, checked against MADRE, one press each.
|
|
4
|
+
//
|
|
5
|
+
// Each one is an address its maker publishes, and adding it is exactly what a person does by hand in
|
|
6
|
+
// Settings › Outside tools (MCP): MADRE saves it, starts it and reads its tools before any agent gets
|
|
7
|
+
// it (src/modules/mcp-connect.mjs). Nothing here reaches anything by itself; the page lists them.
|
|
8
|
+
//
|
|
9
|
+
// `checked` says how far MADRE went with each one, on the date in CATALOG_CHECKED, and the page says
|
|
10
|
+
// it in those words and no further:
|
|
11
|
+
// 'tools' no account needed: MADRE connected, did the MCP handshake and read its tools;
|
|
12
|
+
// 'signin' with your account: MADRE found its sign-in (OAuth, with registration of new apps open),
|
|
13
|
+
// which is the part MADRE does; the tools are read the moment you sign in;
|
|
14
|
+
// 'token' with a token you make on its page: MADRE checks it as soon as you paste it.
|
|
15
|
+
// Asana and HubSpot answered that they only accept apps they already know; they are left out until
|
|
16
|
+
// they do. Every name and mark below is its maker's trademark, shown only to say which service a
|
|
17
|
+
// connector reaches (nominative use), never to suggest that its maker endorses MADRE. The marks are
|
|
18
|
+
// Simple Icons' drawings (simple-icons@16.35.0, CC0-1.0) with their official colors. Five it does not
|
|
19
|
+
// draw come from other free sets, through Iconify: Microsoft and Canva from CoreUI Brands (CC0-1.0),
|
|
20
|
+
// monday.com and Devin's mark — DeepWiki is Cognition's, Devin's makers — from SVG Logos by Gil
|
|
21
|
+
// Barbara (CC0-1.0), and Context7 from VSCode Icons (MIT, © Roberto Huertas). TRADEMARKS.md says
|
|
22
|
+
// the same, and any maker that asks gets its mark taken off.
|
|
23
|
+
|
|
24
|
+
export const CATALOG_CHECKED = '2026-10-20';
|
|
25
|
+
|
|
26
|
+
export const MCP_GROUPS = [
|
|
27
|
+
{ id: 'docs', title: 'Docs and code', about: 'No account: they answer the moment you connect them.' },
|
|
28
|
+
{ id: 'work', title: 'Work and projects', about: 'With your account: you sign in on their own page.' },
|
|
29
|
+
{ id: 'dev', title: 'Build and ship', about: 'Errors, deploys and databases, with your account.' },
|
|
30
|
+
{ id: 'business', title: 'Payments and sites', about: 'Your store, your payments and your sites, with your account.' },
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export const MCP_CATALOG = [
|
|
34
|
+
{ id: 'context7', label: 'Context7', maker: 'Upstash', group: 'docs', hue: '#10b981', url: 'https://mcp.context7.com/mcp', auth: 'none', checked: 'tools', brand: '#059669', logoBox: '0 0 28 28', logo: 'M10.572 15.257c0 2.246-.91 4.12-2.394 5.848h3.454v1.674H6.335v-1.59c1.62-1.832 2.246-3.326 2.246-5.932zm6.856 0c0 2.246.91 4.12 2.394 5.848h-3.454v1.674h5.297v-1.59c-1.62-1.832-2.246-3.326-2.246-5.932zm-6.856-2.513c0-2.247-.91-4.122-2.394-5.849h3.454V5.221H6.335v1.59c1.62 1.832 2.246 3.326 2.246 5.933zm6.856 0c0-2.247.91-4.122 2.394-5.849h-3.454V5.221h5.297v1.59c-1.62 1.832-2.246 3.326-2.246 5.933z', about: 'Up-to-date docs for the libraries your project uses, so the agents do not code from memory.' },
|
|
35
|
+
{ id: 'deepwiki', label: 'DeepWiki', maker: 'Cognition', group: 'docs', hue: '#6366f1', url: 'https://mcp.deepwiki.com/mcp', auth: 'none', checked: 'tools', brand: '#1e293b', logoBox: '0 0 256 294', logo: 'M0 98.574v-60.74a7.47 7.47 0 0 1 3.736-6.47L56.324 1a7.47 7.47 0 0 1 7.473 0l52.588 30.362a7.47 7.47 0 0 1 3.736 6.47v31.021c.23 10.309 5.678 20.25 15.26 25.783c9.582 5.531 20.916 5.278 29.959.324l26.864-15.51a7.47 7.47 0 0 1 7.472 0l52.589 30.362a7.47 7.47 0 0 1 3.735 6.47v60.725a7.47 7.47 0 0 1-3.735 6.471l-52.59 30.362a7.47 7.47 0 0 1-7.47 0l-26.648-15.385c-9.077-5.069-20.515-5.372-30.173.204c-9.582 5.532-15.03 15.474-15.26 25.782v31.011a7.47 7.47 0 0 1-3.737 6.471L63.8 292.286a7.47 7.47 0 0 1-7.472 0L3.739 261.924A7.48 7.48 0 0 1 0 255.454V194.73a7.48 7.48 0 0 1 3.739-6.471l52.588-30.362a7.47 7.47 0 0 1 7.472 0l26.926 15.545c9.031 4.92 20.333 5.159 29.892-.36c9.658-5.576 15.114-15.633 15.262-26.029c-.23-10.308-5.678-21.315-15.26-26.847s-20.916-5.28-29.958-.325l-26.988 15.67a7.47 7.47 0 0 1-7.509-.004l-52.45-30.514A7.47 7.47 0 0 1 0 98.574', about: 'Ask about any public GitHub repository and read how it is built.' },
|
|
36
|
+
{ id: 'mslearn', label: 'Microsoft Learn', maker: 'Microsoft', group: 'docs', hue: '#0ea5e9', url: 'https://learn.microsoft.com/api/mcp', auth: 'none', checked: 'tools', brand: '#0078d4', logoBox: '0 0 32 32', logo: 'M15.198 32H0V16.802h15.198zM32 32H16.802V16.802H32zM15.198 15.198H0V0h15.198zm16.802 0H16.802V0H32z', about: 'The official docs and code samples of Microsoft and Azure.' },
|
|
37
|
+
{ id: 'cfdocs', label: 'Cloudflare Docs', maker: 'Cloudflare', group: 'docs', hue: '#f97316', url: 'https://docs.mcp.cloudflare.com/mcp', auth: 'none', checked: 'tools', brand: '#F38020', logo: 'M16.5088 16.8447c.1475-.5068.0908-.9707-.1553-1.3154-.2246-.3164-.6045-.499-1.0615-.5205l-8.6592-.1123a.1559.1559 0 0 1-.1333-.0713c-.0283-.042-.0351-.0986-.021-.1553.0278-.084.1123-.1484.2036-.1562l8.7359-.1123c1.0351-.0489 2.1601-.8868 2.5537-1.9136l.499-1.3013c.0215-.0561.0293-.1128.0147-.168-.5625-2.5463-2.835-4.4453-5.5499-4.4453-2.5039 0-4.6284 1.6177-5.3876 3.8614-.4927-.3658-1.1187-.5625-1.794-.499-1.2026.119-2.1665 1.083-2.2861 2.2856-.0283.31-.0069.6128.0635.894C1.5683 13.171 0 14.7754 0 16.752c0 .1748.0142.3515.0352.5273.0141.083.0844.1475.1689.1475h15.9814c.0909 0 .1758-.0645.2032-.1553l.12-.4268zm2.7568-5.5634c-.0771 0-.1611 0-.2383.0112-.0566 0-.1054.0415-.127.0976l-.3378 1.1744c-.1475.5068-.0918.9707.1543 1.3164.2256.3164.6055.498 1.0625.5195l1.8437.1133c.0557 0 .1055.0263.1329.0703.0283.043.0351.1074.0214.1562-.0283.084-.1132.1485-.204.1553l-1.921.1123c-1.041.0488-2.1582.8867-2.5527 1.914l-.1406.3585c-.0283.0713.0215.1416.0986.1416h6.5977c.0771 0 .1474-.0489.169-.126.1122-.4082.1757-.837.1757-1.2803 0-2.6025-2.125-4.727-4.7344-4.727', about: 'Searches the Cloudflare documentation: Workers, Pages, R2 and the rest.' },
|
|
38
|
+
{ id: 'huggingface', label: 'Hugging Face', maker: 'Hugging Face', group: 'docs', hue: '#eab308', url: 'https://huggingface.co/mcp', auth: 'none', checked: 'tools', brand: '#FFD21E', logo: 'M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378 0 1.112.178 2.181.503 3.185.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284.278.173.48.408.71.694.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542.01.026.653 1.552 1.657 2.54.616.605 1.01 1.223 1.082 1.912.055.537-.096 1.059-.38 1.572.637.121 1.294.187 1.967.187.657 0 1.298-.063 1.921-.178-.287-.517-.44-1.041-.384-1.581.07-.69.465-1.307 1.081-1.913 1.004-.987 1.647-2.513 1.657-2.539.021-.074.083-.285.233-.542.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952.23-.286.432-.52.71-.694.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174 1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013 1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164 1.607-.007 2.984-1.155 3.572-1.164.196-.003.305.12.305.454 0 .886-.424 2.328-1.563 3.202-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026-.01.008-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116 1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243 1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444-.034-.016-.104-.008-.2.022q-.094.03-.216.087-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096 3 3 0 0 0-.26.219 2 2 0 0 0-.12.121 2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203 0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647 2.822 2.813 2.562 3.244-1.176-.506-1.176-.506-2.866-2.567-3.49-1.898.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405-.238.839-2.71-1.587-3.216-.642-.506.946 3.49 2.056 3.522 2.064 1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194 1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647-2.822 2.813-2.562 3.244 1.176-.506 1.176-.506 2.866-2.567 3.49-1.898-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405.238.839 2.71-1.587 3.216-.642.506.946-3.49 2.056-3.522 2.064-1.29.33-4.568 1.028-5.713-.624', about: 'Finds models, datasets and spaces on the Hugging Face Hub.' },
|
|
39
|
+
{ id: 'notion', label: 'Notion', maker: 'Notion', group: 'work', hue: '#a3a3a3', url: 'https://mcp.notion.com/mcp', auth: 'oauth', checked: 'signin', brand: '#000000', logo: 'M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z', about: 'Your pages and databases: the agents read them and write into them.' },
|
|
40
|
+
{ id: 'linear', label: 'Linear', maker: 'Linear', group: 'work', hue: '#818cf8', url: 'https://mcp.linear.app/mcp', auth: 'oauth', checked: 'signin', brand: '#5E6AD2', logo: 'M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z', about: 'Issues, projects and cycles: look them up, create them and move them.' },
|
|
41
|
+
{ id: 'atlassian', label: 'Jira · Confluence', maker: 'Atlassian', group: 'work', hue: '#3b82f6', url: 'https://mcp.atlassian.com/v1/mcp', auth: 'oauth', checked: 'signin', brand: '#0052CC', logo: 'M7.12 11.084a.683.683 0 00-1.16.126L.075 22.974a.703.703 0 00.63 1.018h8.19a.678.678 0 00.63-.39c1.767-3.65.696-9.203-2.406-12.52zM11.434.386a15.515 15.515 0 00-.906 15.317l3.95 7.9a.703.703 0 00.628.388h8.19a.703.703 0 00.63-1.017L12.63.38a.664.664 0 00-1.196.006z', about: 'Your Jira tickets and Confluence pages, in the conversation.' },
|
|
42
|
+
{ id: 'monday', label: 'monday.com', maker: 'monday.com', group: 'work', hue: '#f43f5e', url: 'https://mcp.monday.com/mcp', auth: 'oauth', checked: 'signin', brand: '#ffffff', logoBox: '0 0 256 156', logoMarkup: '<path fill="#f62b54" d="M31.846 153.489a31.97 31.97 0 0 1-27.86-16.167a30.91 30.91 0 0 1 .875-31.823l57.373-90.096A31.99 31.99 0 0 1 90.556.015a31.93 31.93 0 0 1 27.41 16.896c5.349 10.113 4.68 22.28-1.725 31.774L58.904 138.78a31.98 31.98 0 0 1-27.058 14.709"/><path fill="#fc0" d="M130.256 153.488c-11.572 0-22.22-6.187-27.812-16.13a30.81 30.81 0 0 1 .875-31.737l57.264-89.89A31.94 31.94 0 0 1 188.93.016c11.669.255 22.244 6.782 27.592 16.993a30.81 30.81 0 0 1-2.066 31.92l-57.252 89.889a31.93 31.93 0 0 1-26.948 14.671"/><ellipse cx="226.466" cy="125.324" fill="#00ca72" rx="29.538" ry="28.918"/>', about: 'Your boards and items: read them and update them.' },
|
|
43
|
+
{ id: 'zapier', label: 'Zapier', maker: 'Zapier', group: 'work', hue: '#fb923c', url: 'https://mcp.zapier.com/api/mcp/mcp', auth: 'oauth', checked: 'signin', brand: '#FF4F00', logo: 'M4.157 0A4.151 4.151 0 0 0 0 4.161v15.678A4.151 4.151 0 0 0 4.157 24h15.682A4.152 4.152 0 0 0 24 19.839V4.161A4.152 4.152 0 0 0 19.839 0H4.157Zm10.61 8.761h.03a.577.577 0 0 1 .23.038.585.585 0 0 1 .201.124.63.63 0 0 1 .162.431.612.612 0 0 1-.162.435.58.58 0 0 1-.201.128.58.58 0 0 1-.23.042.529.529 0 0 1-.235-.042.585.585 0 0 1-.332-.328.559.559 0 0 1-.038-.235.613.613 0 0 1 .17-.431.59.59 0 0 1 .405-.162Zm2.853 1.572c.03.004.061.004.095.004.325-.011.646.064.937.219.238.144.431.355.552.609.128.279.189.582.185.888v.193a2 2 0 0 1 0 .219h-2.498c.003.227.075.45.204.642a.78.78 0 0 0 .646.265.714.714 0 0 0 .484-.136.642.642 0 0 0 .23-.318l.915.257a1.398 1.398 0 0 1-.28.537c-.14.159-.321.284-.521.355a2.234 2.234 0 0 1-.836.136 1.923 1.923 0 0 1-1.001-.245 1.618 1.618 0 0 1-.665-.703 2.221 2.221 0 0 1-.227-1.036 1.95 1.95 0 0 1 .48-1.398 1.9 1.9 0 0 1 1.3-.488Zm-9.607.023c.162.004.325.026.48.079.207.065.4.174.563.314.26.302.393.692.366 1.088v2.276H8.53l-.109-.711h-.065c-.064.163-.155.31-.272.439a1.122 1.122 0 0 1-.374.264 1.023 1.023 0 0 1-.453.083 1.334 1.334 0 0 1-.866-.264.965.965 0 0 1-.329-.801.993.993 0 0 1 .076-.431 1.02 1.02 0 0 1 .242-.363 1.478 1.478 0 0 1 1.043-.303h.952v-.181a.696.696 0 0 0-.136-.454.553.553 0 0 0-.438-.154.695.695 0 0 0-.378.086.48.48 0 0 0-.193.254l-.99-.144a1.26 1.26 0 0 1 .257-.563c.14-.174.321-.302.533-.378.261-.091.54-.136.82-.129.053-.003.106-.007.163-.007Zm4.384.007c.174 0 .347.038.506.114.182.083.34.211.458.374.257.423.377.911.351 1.406a2.53 2.53 0 0 1-.355 1.448 1.148 1.148 0 0 1-1.009.517c-.204 0-.401-.045-.582-.136a1.052 1.052 0 0 1-.48-.457 1.298 1.298 0 0 1-.114-.234h-.045l.004 1.784h-1.059v-4.713h.904l.117.805h.057c.068-.208.177-.401.328-.56a1.129 1.129 0 0 1 .843-.344h.076v-.004Zm7.559.084h.903l.113.805h.053a1.37 1.37 0 0 1 .235-.484.813.813 0 0 1 .313-.242.82.82 0 0 1 .39-.076h.234v1.051h-.401a.662.662 0 0 0-.313.008.623.623 0 0 0-.272.155.663.663 0 0 0-.174.26.683.683 0 0 0-.027.314v1.875h-1.054v-3.666Zm-17.515.003h3.262v.896L3.73 13.104l.034.113h1.973l.042.9H2.4v-.9l1.931-1.754-.045-.117H2.441v-.896Zm11.815 0h1.055v3.659h-1.055V10.45Zm3.443.684.019.016a.69.69 0 0 0-.351.045.756.756 0 0 0-.287.204c-.11.155-.174.336-.189.522h1.545c-.034-.526-.257-.787-.74-.787h.003Zm-5.718.163c-.026 0-.057 0-.083.004a.78.78 0 0 0-.31.053.746.746 0 0 0-.257.189 1.016 1.016 0 0 0-.204.695v.064c-.015.257.057.507.204.711a.634.634 0 0 0 .253.196.638.638 0 0 0 .314.061.644.644 0 0 0 .578-.265c.14-.223.204-.48.189-.74a1.216 1.216 0 0 0-.181-.711.677.677 0 0 0-.503-.257Zm-4.509 1.266a.464.464 0 0 0-.268.102.373.373 0 0 0-.114.276c0 .053.008.106.027.155a.375.375 0 0 0 .087.132.576.576 0 0 0 .397.11v.004a.863.863 0 0 0 .563-.182.573.573 0 0 0 .211-.457v-.14h-.903Z', about: 'Thousands of apps through the actions you choose in Zapier.' },
|
|
44
|
+
{ id: 'sentry', label: 'Sentry', maker: 'Sentry', group: 'dev', hue: '#8b5cf6', url: 'https://mcp.sentry.dev/mcp', auth: 'oauth', checked: 'signin', brand: '#362D59', logo: 'M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.848H2.194a.365.365 0 0 1-.298-.534l1.413-2.402a5.16 5.16 0 0 0-1.614-.913L.296 19.275a2.182 2.182 0 0 0 .812 2.999 2.24 2.24 0 0 0 1.086.288h6.983a9.322 9.322 0 0 0-3.845-8.318l1.11-1.922a11.47 11.47 0 0 1 4.95 10.24h5.915a17.242 17.242 0 0 0-7.885-15.28l2.244-3.845a.37.37 0 0 1 .504-.13c.255.14 9.75 16.708 9.928 16.9a.365.365 0 0 1-.327.543h-2.287c.029.612.029 1.223 0 1.831h2.297a2.206 2.206 0 0 0 1.922-3.31z', about: 'The errors your app had in production, with what caused them.' },
|
|
45
|
+
{ id: 'vercel', label: 'Vercel', maker: 'Vercel', group: 'dev', hue: '#e5e5e5', url: 'https://mcp.vercel.com', auth: 'oauth', checked: 'signin', brand: '#000000', logo: 'm12 1.608 12 20.784H0Z', about: 'Your projects, deploys and their logs.' },
|
|
46
|
+
{ id: 'netlify', label: 'Netlify', maker: 'Netlify', group: 'dev', hue: '#14b8a6', url: 'https://mcp.netlify.com/mcp', auth: 'oauth', checked: 'signin', brand: '#00C7B7', logo: 'M6.49 19.04h-.23L5.13 17.9v-.23l1.73-1.71h1.2l.15.15v1.2L6.5 19.04ZM5.13 6.31V6.1l1.13-1.13h.23L8.2 6.68v1.2l-.15.15h-1.2L5.13 6.31Zm9.96 9.09h-1.65l-.14-.13v-3.83c0-.68-.27-1.2-1.1-1.23-.42 0-.9 0-1.43.02l-.07.08v4.96l-.14.14H8.9l-.13-.14V8.73l.13-.14h3.7a2.6 2.6 0 0 1 2.61 2.6v4.08l-.13.14Zm-8.37-2.44H.14L0 12.82v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14Zm17.14 0h-6.58l-.14-.14v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14ZM11.05 6.55V1.64l.14-.14h1.65l.14.14v4.9l-.14.14h-1.65l-.14-.13Zm0 15.81v-4.9l.14-.14h1.65l.14.13v4.91l-.14.14h-1.65l-.14-.14Z', about: 'Create, deploy and manage your Netlify sites.' },
|
|
47
|
+
{ id: 'supabase', label: 'Supabase', maker: 'Supabase', group: 'dev', hue: '#22c55e', url: 'https://mcp.supabase.com/mcp', auth: 'oauth', checked: 'signin', brand: '#3FCF8E', logo: 'M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z', about: 'Your database, its tables and migrations, and your project settings.' },
|
|
48
|
+
{ id: 'cloudflare', label: 'Cloudflare', maker: 'Cloudflare', group: 'dev', hue: '#f59e0b', url: 'https://bindings.mcp.cloudflare.com/mcp', auth: 'oauth', checked: 'signin', brand: '#F38020', logo: 'M16.5088 16.8447c.1475-.5068.0908-.9707-.1553-1.3154-.2246-.3164-.6045-.499-1.0615-.5205l-8.6592-.1123a.1559.1559 0 0 1-.1333-.0713c-.0283-.042-.0351-.0986-.021-.1553.0278-.084.1123-.1484.2036-.1562l8.7359-.1123c1.0351-.0489 2.1601-.8868 2.5537-1.9136l.499-1.3013c.0215-.0561.0293-.1128.0147-.168-.5625-2.5463-2.835-4.4453-5.5499-4.4453-2.5039 0-4.6284 1.6177-5.3876 3.8614-.4927-.3658-1.1187-.5625-1.794-.499-1.2026.119-2.1665 1.083-2.2861 2.2856-.0283.31-.0069.6128.0635.894C1.5683 13.171 0 14.7754 0 16.752c0 .1748.0142.3515.0352.5273.0141.083.0844.1475.1689.1475h15.9814c.0909 0 .1758-.0645.2032-.1553l.12-.4268zm2.7568-5.5634c-.0771 0-.1611 0-.2383.0112-.0566 0-.1054.0415-.127.0976l-.3378 1.1744c-.1475.5068-.0918.9707.1543 1.3164.2256.3164.6055.498 1.0625.5195l1.8437.1133c.0557 0 .1055.0263.1329.0703.0283.043.0351.1074.0214.1562-.0283.084-.1132.1485-.204.1553l-1.921.1123c-1.041.0488-2.1582.8867-2.5527 1.914l-.1406.3585c-.0283.0713.0215.1416.0986.1416h6.5977c.0771 0 .1474-.0489.169-.126.1122-.4082.1757-.837.1757-1.2803 0-2.6025-2.125-4.727-4.7344-4.727', about: 'Your Workers, KV, R2 and D1, from the conversation.' },
|
|
49
|
+
{ id: 'github', label: 'GitHub', maker: 'GitHub', group: 'dev', hue: '#94a3b8', url: 'https://api.githubcopilot.com/mcp/', auth: 'token', checked: 'token', tokenAt: 'https://github.com/settings/personal-access-tokens/new', brand: '#181717', logo: 'M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12', about: 'Repositories, issues, pull requests and Actions, with a token you make on GitHub.' },
|
|
50
|
+
{ id: 'stripe', label: 'Stripe', maker: 'Stripe', group: 'business', hue: '#635bff', url: 'https://mcp.stripe.com', auth: 'oauth', checked: 'signin', brand: '#635BFF', logo: 'M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z', about: 'Customers, payments, products and invoices of your Stripe account.' },
|
|
51
|
+
{ id: 'paypal', label: 'PayPal', maker: 'PayPal', group: 'business', hue: '#2563eb', url: 'https://mcp.paypal.com/mcp', auth: 'oauth', checked: 'signin', brand: '#002991', logo: 'M15.607 4.653H8.941L6.645 19.251H1.82L4.862 0h7.995c3.754 0 6.375 2.294 6.473 5.513-.648-.478-2.105-.86-3.722-.86m6.57 5.546c0 3.41-3.01 6.853-6.958 6.853h-2.493L11.595 24H6.74l1.845-11.538h3.592c4.208 0 7.346-3.634 7.153-6.949a5.24 5.24 0 0 1 2.848 4.686M9.653 5.546h6.408c.907 0 1.942.222 2.363.541-.195 2.741-2.655 5.483-6.441 5.483H8.714Z', about: 'Invoices, orders and transactions of your PayPal account.' },
|
|
52
|
+
{ id: 'square', label: 'Square', maker: 'Block', group: 'business', hue: '#737373', url: 'https://mcp.squareup.com/mcp', auth: 'oauth', checked: 'signin', brand: '#3E4348', logo: 'M4.01 0A4.01 4.01 0 000 4.01v15.98c0 2.21 1.8 4 4.01 4.01h15.98C22.2 24 24 22.2 24 19.99V4A4.01 4.01 0 0019.99 0H4zm1.62 4.36h12.74c.7 0 1.26.57 1.26 1.27v12.74c0 .7-.56 1.27-1.26 1.27H5.63c-.7 0-1.26-.57-1.26-1.27V5.63a1.27 1.27 0 011.26-1.27zm3.83 4.35a.73.73 0 00-.73.73v5.09c0 .4.32.72.72.72h5.1a.73.73 0 00.73-.72V9.44a.73.73 0 00-.73-.73h-5.1Z', about: 'Your Square catalog, orders and payments.' },
|
|
53
|
+
{ id: 'canva', label: 'Canva', maker: 'Canva', group: 'business', hue: '#06b6d4', url: 'https://mcp.canva.com/mcp', auth: 'oauth', checked: 'signin', brand: '#00c4cc', logoBox: '0 0 32 32', logo: 'M16 0C7.161 0 0 7.161 0 16s7.161 16 16 16s16-7.161 16-16S24.839 0 16 0M9.281 10.24c1.005 0 1.787.733 1.875 1.599c.095.781-.229 1.464-1.093 1.875c-.459.229-.641.229-.735.093c-.047-.093 0-.181.093-.276c.824-.681.824-1.233.729-2.009c-.047-.505-.411-.824-.776-.824c-1.604 0-3.885 3.563-3.568 6.172c.141 1.005.735 2.193 2.011 2.193c.412 0 .871-.136 1.281-.317c.667-.355 1.068-.625 1.464-1.068c-.099-1.183.937-2.729 2.468-2.729c.688 0 1.235.276 1.281.781c.089.683-.505.776-.687.776s-.505-.047-.505-.229c-.041-.183.411-.093.369-.505c-.047-.276-.323-.364-.593-.364c-.964 0-1.511 1.328-1.375 2.145c.047.369.228.735.599.735c.271 0 .683-.412.817-1.005c.093-.412.459-.688.781-.688c.136 0 .224.047.271.229v.183c-.041.183-.183.735-.135.869c0 .095.047.229.228.229c.12 0 .579-.24 1.037-.615c.151-.787.333-1.729.333-1.807c.047-.323.183-.641.823-.641c.14 0 .229.047.276.229v.183l-.183.823c.595-.776 1.464-1.323 2.011-1.323c.229 0 .412.135.412.364c0 .136 0 .365-.095.595c-.181.5-.411 1.281-.547 1.963c0 .183.047.365.276.365s.912-.271 1.459-1.005l.011-.005c0-.089-.011-.177-.011-.265c0-.552.047-1.005.141-1.328c.093-.365.547-.683.823-.683c.135 0 .276.088.276.224c0 .047 0 .14-.047.183c-.183.599-.324 1.145-.324 1.692c0 .323.048.776.141 1.052c0 .047.041.093.088.093c.095 0 .735-.593 1.188-1.375c-.412-.271-.641-.729-.641-1.276c0-.963.6-1.464 1.147-1.464c.459 0 .823.319.823.959c0 .412-.136.871-.364 1.281h.135c.292.011.579-.109.776-.317a.4.4 0 0 1 .183-.156c.448-.568 1.104-.989 1.88-.989c.64 0 1.229.276 1.276.776c.093.687-.505.823-.688.823c-.181 0-.504-.047-.504-.229s.411-.093.369-.5c-.047-.276-.323-.369-.599-.369c-.912 0-1.505 1.187-1.371 2.151c.047.364.229.776.595.776c.276 0 .687-.412.869-1.005c.088-.364.459-.688.776-.688c.14 0 .229.047.276.229c0 .095 0 .276-.183.871c-.229.411-.229.64-.181.823c.041.364.224.64.411.776a1 1 0 0 1 .089.135c0 .095-.048.188-.183.188c-.047 0-.089 0-.136-.047c-.687-.276-.963-.735-1.052-1.193c-.276.323-.593.505-.963.505c-.595 0-1.183-.547-1.276-1.235a2.1 2.1 0 0 1 .099-.864c-.271.172-.563.271-.833.271h-.224c-.599.869-1.24 1.464-1.693 1.735a1.2 1.2 0 0 1-.505.14c-.088 0-.228-.047-.271-.14c-.129-.203-.208-.521-.26-.885c-.641.697-1.527 1.072-1.937 1.072c-.459 0-.729-.276-.776-.733v-.5c.135-1.005.505-1.604.505-1.787a.105.105 0 0 0-.095-.093c-.317 0-1.369 1.099-1.552 1.833l-.14.593c-.089.411-.5.687-.776.687c-.136 0-.229-.047-.271-.228v-.183l.057-.312c-.579.411-1.157.676-1.433.676c-.411 0-.64-.229-.681-.552c-.276.371-.595.552-1.005.552c-.475 0-.932-.323-1.151-.791c-.329.369-.699.739-1.136 1.02c-.64.412-1.369.729-2.24.729c-.776 0-1.463-.412-1.828-.776c-.552-.505-.869-1.281-.916-2.011c-.271-2.239 1.099-5.12 3.197-6.401c.505-.276 1.011-.457 1.511-.457zm13.026 4.391c-.135 0-.228.229-.228.452c0 .371.181.781.411 1.011a2.3 2.3 0 0 0 .141-.781c0-.452-.183-.681-.324-.681z', about: 'Find, create and export your Canva designs.' },
|
|
54
|
+
{ id: 'webflow', label: 'Webflow', maker: 'Webflow', group: 'business', hue: '#4f46e5', url: 'https://mcp.webflow.com/mcp', auth: 'oauth', checked: 'signin', brand: '#146EF5', logo: 'm24 4.515-7.658 14.97H9.149l3.205-6.204h-.144C9.566 16.713 5.621 18.973 0 19.485v-6.118s3.596-.213 5.71-2.435H0V4.515h6.417v5.278l.144-.001 2.622-5.277h4.854v5.244h.144l2.72-5.244H24Z', about: 'Your Webflow sites, their pages and CMS collections.' },
|
|
55
|
+
{ id: 'wix', label: 'Wix', maker: 'Wix', group: 'business', hue: '#a855f7', url: 'https://mcp.wix.com/mcp', auth: 'oauth', checked: 'signin', brand: '#0C6EFC', logo: 'm0 7.354 2.113 9.292h.801a1.54 1.54 0 0 0 1.506-1.218l1.351-6.34a.171.171 0 0 1 .167-.137c.08 0 .15.058.167.137l1.352 6.34a1.54 1.54 0 0 0 1.506 1.218h.805l2.113-9.292h-.565c-.62 0-1.159.43-1.296 1.035l-1.26 5.545-1.106-5.176a1.76 1.76 0 0 0-2.19-1.324c-.639.176-1.113.716-1.251 1.365l-1.094 5.127-1.26-5.537A1.33 1.33 0 0 0 .563 7.354H0zm13.992 0a.951.951 0 0 0-.951.95v8.342h.635a.952.952 0 0 0 .951-.95V7.353h-.635zm1.778 0 3.158 4.66-3.14 4.632h1.325c.368 0 .712-.181.918-.486l1.756-2.59a.12.12 0 0 1 .197 0l1.754 2.59c.206.305.55.486.918.486h1.326l-3.14-4.632L24 7.354h-1.326c-.368 0-.712.181-.918.486l-1.772 2.617a.12.12 0 0 1-.197 0L18.014 7.84a1.108 1.108 0 0 0-.918-.486H15.77z', about: 'Your Wix sites and what they sell.' },
|
|
56
|
+
];
|
|
57
|
+
|
|
58
|
+
// The tile's two letters: the label's words, or its first two letters.
|
|
59
|
+
export const initials = (label) => {
|
|
60
|
+
const words = String(label).split(/[\s.]+/).filter(Boolean);
|
|
61
|
+
return words.length > 1 ? `${words[0][0]}${words[1][0]}`.toUpperCase() : `${words[0][0].toUpperCase()}${words[0][1] ?? ''}`;
|
|
62
|
+
};
|
package/public/resay.js
CHANGED
|
@@ -32,6 +32,7 @@ const SAID = [
|
|
|
32
32
|
'{label} was interrupted before it started: {why}.',
|
|
33
33
|
'{label} was interrupted: {why}.',
|
|
34
34
|
'{label} did not respond before the timeout ({seconds}s).',
|
|
35
|
+
'{label} exited with code {code}.',
|
|
35
36
|
' Last output: {output}',
|
|
36
37
|
'MADRE is shutting down',
|
|
37
38
|
'STOPALL by the human',
|