@jossuealcala/madre 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADDITIONAL-TERMS.md +7 -2
- package/CHANGELOG.en.md +152 -1
- package/CHANGELOG.md +152 -1
- package/CONTRIBUTING.md +2 -2
- package/LICENSE +111 -661
- package/NOTICE +59 -24
- package/README.en.md +36 -204
- package/README.md +36 -210
- package/SECURITY.md +1 -0
- package/TRADEMARKS.en.md +13 -14
- package/TRADEMARKS.md +42 -26
- package/bin/madre.cjs +2 -2
- package/bin/madre.mjs +114 -42
- package/docs/REFERENCE.md +53 -6
- package/docs/SDK.md +44 -5
- package/docs/en/REFERENCE.md +53 -6
- package/docs/en/SDK.md +43 -4
- package/docs/madre-banner.png +0 -0
- package/docs/sdk/hello-module.mjs +3 -0
- package/package.json +3 -2
- package/public/abduction.js +6 -6
- package/public/activity.js +425 -0
- package/public/app.js +3519 -647
- package/public/assets/abduction-cat-blink.webp +0 -0
- package/public/assets/abduction-cat-control-left.webp +0 -0
- package/public/assets/abduction-cat-control-right.webp +0 -0
- package/public/assets/abduction-cat.webp +0 -0
- package/public/assets/manual/shots/en-agents.webp +0 -0
- package/public/assets/manual/shots/en-chats.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-market.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-notes.webp +0 -0
- package/public/assets/manual/shots/en-settings.webp +0 -0
- package/public/assets/manual/shots/en-welcome.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-chats.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-market.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-notes.webp +0 -0
- package/public/assets/manual/shots/es-settings.webp +0 -0
- package/public/assets/manual/shots/es-welcome.webp +0 -0
- package/public/assets/manual/shots/es-windows.webp +0 -0
- package/public/assets/news/1.1/en/chats.webp +0 -0
- package/public/assets/news/1.1/en/home.webp +0 -0
- package/public/assets/news/1.1/en/maps.webp +0 -0
- package/public/assets/news/1.1/en/market.webp +0 -0
- package/public/assets/news/1.1/en/permissions.webp +0 -0
- package/public/assets/news/1.1/en/privacy.webp +0 -0
- package/public/assets/news/1.1/en/welcome.webp +0 -0
- package/public/assets/news/1.1/es/chats.webp +0 -0
- package/public/assets/news/1.1/es/home.webp +0 -0
- package/public/assets/news/1.1/es/maps.webp +0 -0
- package/public/assets/news/1.1/es/market.webp +0 -0
- package/public/assets/news/1.1/es/permissions.webp +0 -0
- package/public/assets/news/1.1/es/privacy.webp +0 -0
- package/public/assets/news/1.1/es/welcome.webp +0 -0
- package/public/attribution.js +15 -16
- package/public/brands.js +2 -2
- package/public/code-tools.js +2 -2
- package/public/editor.js +13 -13
- package/public/en.js +483 -0
- package/public/es.js +1817 -598
- package/public/hardware.js +2 -2
- package/public/i18n.js +47 -9
- package/public/icons.js +158 -0
- package/public/index.html +68 -51
- package/public/inquiry.js +2 -2
- package/public/loader.js +271 -2
- package/public/macroverso.js +60 -21
- package/public/manual-content.js +900 -0
- package/public/manual-shots.js +47 -0
- package/public/manual.css +246 -0
- package/public/manual.html +15 -0
- package/public/manual.js +427 -0
- package/public/market-art.js +99 -41
- package/public/market-view.js +243 -47
- package/public/market.js +139 -26
- package/public/mcp-catalog.js +62 -0
- package/public/neural.js +64 -8
- package/public/nostromo-engine.js +709 -40
- package/public/page-errors.js +29 -0
- package/public/power.js +350 -11
- package/public/remedy.js +89 -0
- package/public/resay.js +4 -2
- package/public/review-ask.js +12 -7
- package/public/routing.js +3 -3
- package/public/salas-mac.css +875 -48
- package/public/salas-mac.html +27 -15
- package/public/salas-mac.js +1668 -338
- package/public/salas.css +2 -2
- package/public/salas.html +3 -3
- package/public/salas.js +3 -3
- package/public/styles.css +2694 -323
- package/public/syntax.js +2 -2
- package/public/terms.js +152 -0
- package/public/touch.js +2 -2
- package/public/tour-chapters.js +100 -92
- package/public/tour.js +118 -28
- package/public/troubleshooting.js +327 -21
- package/public/wallpaper.js +4 -3
- package/public/welcome.js +923 -0
- package/src/activity.mjs +85 -0
- package/src/adapters/claude.mjs +61 -35
- package/src/adapters/codex.mjs +18 -5
- package/src/adapters/cursor.mjs +60 -9
- package/src/adapters/gemini.mjs +17 -4
- package/src/adapters/madre.mjs +30 -9
- package/src/adapters/opencode.mjs +73 -10
- package/src/adapters/process.mjs +19 -15
- package/src/adapters/subagents.mjs +159 -0
- package/src/asking.mjs +8 -2
- package/src/auth-probe.mjs +47 -11
- package/src/bridge/devices.mjs +2 -2
- package/src/bridge/handoff.mjs +2 -2
- package/src/bridge/host.mjs +2 -2
- package/src/bridge/network.mjs +2 -2
- package/src/bridge/policy.mjs +3 -3
- package/src/bridge/qr.mjs +2 -2
- package/src/bridge/server.mjs +3 -3
- package/src/builtin-updates.mjs +87 -0
- package/src/capabilities.mjs +5 -5
- package/src/chats.mjs +51 -2
- package/src/checkpoint.mjs +67 -9
- package/src/choices.mjs +2 -2
- package/src/cli-args.mjs +2 -2
- package/src/cold.mjs +2 -2
- package/src/commands.mjs +2 -2
- package/src/config.mjs +2 -2
- package/src/conversation-context.mjs +2 -2
- package/src/credentials.mjs +80 -18
- package/src/dataset.mjs +2 -2
- package/src/directives.mjs +2 -2
- package/src/distiller.mjs +2 -2
- package/src/embeddings.mjs +2 -2
- package/src/enlaces.mjs +2 -2
- package/src/environment.mjs +147 -0
- package/src/event-store.mjs +2 -2
- package/src/exam.mjs +2 -2
- package/src/extensions.mjs +2 -2
- package/src/eyecat-watch.mjs +2 -2
- package/src/eyecat.mjs +2 -2
- package/src/file-ops.mjs +2 -2
- package/src/files.mjs +2 -2
- package/src/github.mjs +2 -2
- package/src/heartbeat.mjs +2 -2
- package/src/history.mjs +76 -0
- package/src/i18n.mjs +32 -3
- package/src/image-studio.mjs +2 -2
- package/src/install-metrics.mjs +109 -0
- package/src/json-file.mjs +2 -2
- package/src/launch.mjs +2 -2
- package/src/lease.mjs +15 -4
- package/src/lobby-work.mjs +11 -4
- package/src/local-ai.mjs +12 -4
- package/src/looks.mjs +19 -7
- package/src/market-check.mjs +165 -0
- package/src/market-key.mjs +10 -2
- package/src/market-license.mjs +104 -0
- package/src/market-remote.mjs +71 -13
- package/src/maturity.mjs +2 -2
- package/src/mcp/connect.mjs +2 -2
- package/src/mcp/github-server.mjs +2 -2
- package/src/mcp/image-server.mjs +2 -2
- package/src/mcp/memory-server.mjs +2 -2
- package/src/mcp/proxy.mjs +16 -5
- package/src/mcp/smtp-server.mjs +2 -2
- package/src/memory-dashboard.mjs +2 -2
- package/src/memory-tools.mjs +2 -2
- package/src/memory.mjs +2 -2
- package/src/models.mjs +115 -12
- package/src/module-scope.mjs +2 -2
- package/src/modules/ahp.mjs +2 -2
- package/src/modules/ash-policy.mjs +2 -2
- package/src/modules/ash.mjs +2 -2
- package/src/modules/bishop-exam.mjs +2 -2
- package/src/modules/bishop-plan.mjs +2 -2
- package/src/modules/bishop.mjs +9 -3
- package/src/modules/choices.mjs +2 -2
- package/src/modules/correo.mjs +2 -2
- package/src/modules/enlaces.mjs +2 -2
- package/src/modules/git-pulse.mjs +2 -2
- package/src/modules/github.mjs +2 -2
- package/src/modules/helpers.mjs +2 -2
- package/src/modules/image-studio.mjs +2 -2
- package/src/modules/index.mjs +92 -5
- package/src/modules/intents-calibration.mjs +2 -2
- package/src/modules/intents-desk.mjs +4 -3
- package/src/modules/intents-observe.mjs +2 -2
- package/src/modules/intents-policy.mjs +2 -2
- package/src/modules/intents-try.mjs +2 -2
- package/src/modules/intents.mjs +2 -2
- package/src/modules/local-models.mjs +41 -10
- package/src/modules/mcp-connect.mjs +2 -2
- package/src/modules/notes.mjs +281 -0
- package/src/modules/ollama.mjs +48 -13
- package/src/modules/playwright.mjs +16 -5
- package/src/modules/reminders.mjs +664 -0
- package/src/modules/ripley.mjs +3 -3
- package/src/modules/runs.mjs +2 -2
- package/src/modules/sdk.mjs +57 -9
- package/src/modules/updates.mjs +2 -2
- package/src/mother.mjs +13 -3
- package/src/npm-launch.mjs +2 -2
- package/src/ollama.mjs +8 -6
- package/src/opencode-health.mjs +83 -0
- package/src/outbound.mjs +35 -3
- package/src/override.mjs +27 -22
- package/src/ports.mjs +2 -2
- package/src/prices.mjs +2 -2
- package/src/privacy.mjs +2 -2
- package/src/quota-monitor.mjs +2 -2
- package/src/quota-sources.mjs +2 -2
- package/src/request-guard.mjs +2 -2
- package/src/review-ask.mjs +4 -3
- package/src/room/archivist.mjs +2 -2
- package/src/room/attachments.mjs +2 -2
- package/src/room/budget.mjs +2 -2
- package/src/room/context.mjs +2 -2
- package/src/room/control.mjs +2 -2
- package/src/room/copilot.mjs +2 -2
- package/src/room/economy.mjs +2 -2
- package/src/room/escalation.mjs +2 -2
- package/src/room/ghost.mjs +2 -2
- package/src/room/guard.mjs +6 -4
- package/src/room/prompt.mjs +3 -3
- package/src/room/returns.mjs +2 -2
- package/src/room/runs.mjs +6 -4
- package/src/room/vectors.mjs +2 -2
- package/src/room.mjs +144 -36
- package/src/router.mjs +2 -2
- package/src/runs.mjs +2 -2
- package/src/runtime-detection.mjs +36 -6
- package/src/salas.mjs +31 -6
- package/src/sentinel-errors.mjs +17 -7
- package/src/server-sentinel.mjs +2 -2
- package/src/server.mjs +980 -139
- package/src/setup-trouble.mjs +33 -0
- package/src/setup.mjs +4 -4
- package/src/smtp.mjs +2 -2
- package/src/telemetry.mjs +266 -0
- package/src/terms.mjs +43 -0
- package/src/tour.mjs +60 -7
- package/src/uninstall.mjs +225 -0
- package/src/updates.mjs +2 -2
- package/src/usage-sentinel.mjs +2 -2
- package/src/vault.mjs +2 -2
- package/src/verdict.mjs +13 -10
- package/src/whats-new.mjs +97 -3
- package/public/assets/abduction-cat-blink.png +0 -0
- package/public/assets/abduction-cat-control-left.png +0 -0
- package/public/assets/abduction-cat-control-right.png +0 -0
- package/public/assets/abduction-cat.png +0 -0
package/public/market.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
2
|
-
// MADRE · © 2026 Jossue Alcalá ·
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// MADRE · © 2026 Jossue Alcalá · Business Source License 1.1: LICENSE
|
|
3
3
|
// The Market (2026-10-18): every module MADRE can turn on or install, shown as a shop in Home and
|
|
4
4
|
// in each project (market-view.js), and offered in the conversation the moment one would help
|
|
5
5
|
// (app.js, offerModule). What a module looks like — its line and its drawing — lives here once, for the
|
|
@@ -11,27 +11,30 @@
|
|
|
11
11
|
// its featured order, its words, and the modules that came after this version of MADRE.
|
|
12
12
|
|
|
13
13
|
import { language, t } from './i18n.js';
|
|
14
|
+
import { trazoDrawing } from './icons.js';
|
|
14
15
|
|
|
15
16
|
// `icon` is drawn on a 20-unit grid in `currentColor`, with `ic-f` marking the part a tile tints;
|
|
16
17
|
// `hue` is the two colors of the module's own app icon, top to bottom (2026-10-18, the Market).
|
|
17
18
|
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: '
|
|
26
|
-
choices: { line: '
|
|
27
|
-
ahp: { line: '
|
|
28
|
-
correo: { line: 'Send
|
|
29
|
-
github: { line: '
|
|
19
|
+
ash: { line: 'Shorter answers, fewer tokens', 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: trazoDrawing('mod-ash') },
|
|
20
|
+
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: trazoDrawing('mod-intents') },
|
|
21
|
+
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: trazoDrawing('spark') },
|
|
22
|
+
'image-studio': { line: 'Logos and banners 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: trazoDrawing('mod-image') },
|
|
23
|
+
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: trazoDrawing('mod-browser') },
|
|
24
|
+
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: trazoDrawing('mod-viewer') },
|
|
25
|
+
'git-pulse': { line: '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: trazoDrawing('mod-git') },
|
|
26
|
+
runs: { line: 'An agent\'s commands, one press away', 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: trazoDrawing('mod-runs') },
|
|
27
|
+
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: trazoDrawing('mod-choices') },
|
|
28
|
+
ahp: { line: 'Pick up where you left off', 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: trazoDrawing('mod-ahp') },
|
|
29
|
+
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: trazoDrawing('mod-mail') },
|
|
30
|
+
github: { line: 'Your pull requests and issues', 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: trazoDrawing('mod-github') },
|
|
31
|
+
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: trazoDrawing('mod-notes') },
|
|
32
|
+
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: trazoDrawing('mod-reminders') },
|
|
30
33
|
// Faces for the modules MODULES lists without one (2026-10-18, for the Market): their words and drawings.
|
|
31
|
-
enlaces: { line: '
|
|
32
|
-
mcp: { line: '
|
|
34
|
+
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: trazoDrawing('mod-links') },
|
|
35
|
+
mcp: { line: 'Connect apps 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: trazoDrawing('mod-mcp') },
|
|
33
36
|
};
|
|
34
|
-
export const MODULE_ANY = '
|
|
37
|
+
export const MODULE_ANY = trazoDrawing('puzzle');
|
|
35
38
|
const HUE_ANY = ['#94a3b8', '#334155'];
|
|
36
39
|
|
|
37
40
|
export const moduleFace = (item) => {
|
|
@@ -39,8 +42,79 @@ export const moduleFace = (item) => {
|
|
|
39
42
|
// A module that came after this MADRE wears the face its catalog entry gives it.
|
|
40
43
|
const entry = remoteEntry(item?.id);
|
|
41
44
|
if (entry) return { line: pick(entry.line), icon: cleanSvg(entry.icon, { inner: true }) ?? MODULE_ANY, hue: entry.hue ?? HUE_ANY, name: pick(entry.name), summary: pick(entry.summary) };
|
|
45
|
+
// A module that drew its own icon (the SDK's `icon`, 2026-10-27): fitted to the tile, in one
|
|
46
|
+
// color, on the nearest of MADRE's own tile colors.
|
|
47
|
+
const own = item?.icon?.svg ? fitIcon(item.icon.svg) : null;
|
|
48
|
+
if (own) return { line: null, icon: own, hue: tileColors(item.icon.color) };
|
|
42
49
|
return { line: null, icon: MODULE_ANY, hue: HUE_ANY };
|
|
43
50
|
};
|
|
51
|
+
|
|
52
|
+
// A MODULE'S OWN ICON, MADE TO SIT WITH THE REST (2026-10-27). Whatever it was drawn on — 20 units or
|
|
53
|
+
// 24 or 512, a whole <svg> or only its shapes — MADRE keeps the drawing and nothing else
|
|
54
|
+
// (cleanSvg), draws every line and fill in the tile's one color, and fits what is drawn to the
|
|
55
|
+
// same square MADRE's own icons use, centred. Its color becomes the nearest of MADRE's tile colors,
|
|
56
|
+
// so no module brings a palette of its own. Measured once per drawing.
|
|
57
|
+
const TILE_COLORS = Object.values(MODULE_FACES).map((face) => face.hue).filter(Boolean);
|
|
58
|
+
const rgb = (hex) => [1, 3, 5].map((at) => Number.parseInt(hex.slice(at, at + 2), 16));
|
|
59
|
+
export function tileColors(color) {
|
|
60
|
+
if (typeof color !== 'string' || !/^#[0-9a-f]{6}$/i.test(color)) return HUE_ANY;
|
|
61
|
+
const want = rgb(color);
|
|
62
|
+
const far = (pair) => { const mid = rgb(pair[0]).map((one, at) => (one + rgb(pair[1])[at]) / 2); return mid.reduce((sum, one, at) => sum + (one - want[at]) ** 2, 0); };
|
|
63
|
+
return TILE_COLORS.reduce((best, pair) => (far(pair) < far(best) ? pair : best), TILE_COLORS[0] ?? HUE_ANY);
|
|
64
|
+
}
|
|
65
|
+
const PAINTED = /^(fill|stroke)$/;
|
|
66
|
+
const DROPPED = new Set(['defs', 'lineargradient', 'radialgradient', 'stop', 'filter', 'fedropshadow', 'fegaussianblur', 'clippath', 'text', 'tspan']);
|
|
67
|
+
const fitted = new Map();
|
|
68
|
+
export function fitIcon(markup) {
|
|
69
|
+
if (fitted.has(markup)) return fitted.get(markup);
|
|
70
|
+
const whole = /^\s*<svg[\s>]/i.test(markup);
|
|
71
|
+
const clean = cleanSvg(markup, { inner: !whole });
|
|
72
|
+
if (!clean || typeof document === 'undefined') { fitted.set(markup, null); return null; }
|
|
73
|
+
const host = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
74
|
+
host.setAttribute('aria-hidden', 'true');
|
|
75
|
+
host.style.cssText = 'position:absolute;left:-9999px;top:0;width:200px;height:200px;visibility:hidden';
|
|
76
|
+
const box = document.createElementNS('http://www.w3.org/2000/svg', 'g');
|
|
77
|
+
if (whole) {
|
|
78
|
+
// A whole <svg> often says how its lines are drawn on itself (fill="none" stroke-width="2"): the
|
|
79
|
+
// group that takes its place keeps that, and leaves its size and viewBox behind.
|
|
80
|
+
const root = new DOMParser().parseFromString(clean, 'image/svg+xml').documentElement;
|
|
81
|
+
for (const attr of [...root.attributes]) if (/^(fill|fill-rule|clip-rule|stroke|stroke-width|stroke-linecap|stroke-linejoin|opacity)$/.test(attr.name)) box.setAttribute(attr.name, attr.value);
|
|
82
|
+
box.innerHTML = root.innerHTML;
|
|
83
|
+
} else box.innerHTML = clean;
|
|
84
|
+
const recolor = (node) => {
|
|
85
|
+
for (const attr of [...node.attributes]) {
|
|
86
|
+
if (PAINTED.test(attr.name) && attr.value.trim().toLowerCase() !== 'none') node.setAttribute(attr.name, 'currentColor');
|
|
87
|
+
if (/^(class|id|clip-path|filter)$/.test(attr.name)) node.removeAttribute(attr.name);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const paint = (node) => {
|
|
91
|
+
for (const child of [...node.children]) {
|
|
92
|
+
if (DROPPED.has(child.nodeName.toLowerCase())) { child.remove(); continue; }
|
|
93
|
+
recolor(child);
|
|
94
|
+
paint(child);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
recolor(box);
|
|
98
|
+
paint(box);
|
|
99
|
+
// A drawing that says neither fill nor stroke is filled, as an <svg> would fill it.
|
|
100
|
+
if (!box.hasAttribute('fill') && !box.hasAttribute('stroke') && !box.querySelector('[fill], [stroke]')) box.setAttribute('fill', 'currentColor');
|
|
101
|
+
host.append(box);
|
|
102
|
+
document.body.append(host);
|
|
103
|
+
let shape = null;
|
|
104
|
+
try {
|
|
105
|
+
const { x, y, width, height } = box.getBBox();
|
|
106
|
+
if (width > 0 || height > 0) {
|
|
107
|
+
// The same square as MADRE's own: 14 of the tile's 20 units, centred.
|
|
108
|
+
const scale = 14 / Math.max(width, height, 0.001);
|
|
109
|
+
const at = (value) => Math.round(value * 1000) / 1000;
|
|
110
|
+
const kept = [...box.attributes].map((attr) => ` ${attr.name}="${attr.value.replace(/"/g, '"')}"`).join('');
|
|
111
|
+
shape = `<g transform="translate(${at(10 - (x + width / 2) * scale)} ${at(10 - (y + height / 2) * scale)}) scale(${at(scale)})"${kept}>${box.innerHTML}</g>`;
|
|
112
|
+
}
|
|
113
|
+
} catch { shape = null; }
|
|
114
|
+
host.remove();
|
|
115
|
+
fitted.set(markup, shape);
|
|
116
|
+
return shape;
|
|
117
|
+
}
|
|
44
118
|
// A module's app icon: its drawing in white on its own two colors (the Market, Home's MODULES).
|
|
45
119
|
export function appIcon(item, size = 56) {
|
|
46
120
|
const face = moduleFace(item);
|
|
@@ -58,7 +132,10 @@ export function appIcon(item, size = 56) {
|
|
|
58
132
|
export const MARKET_SHELVES = [
|
|
59
133
|
{ id: 'no-terminal', title: 'Without the terminal', about: 'What used to take a command, in one press.' },
|
|
60
134
|
{ id: 'create', title: 'To create', about: 'Images, previews and decisions as buttons.' },
|
|
61
|
-
|
|
135
|
+
// Shelves by what a person wants done (2026-10-30): notes and reminders are not creating, and the
|
|
136
|
+
// token saver is not an AI on your computer (that one comes with MADRE, in Settings).
|
|
137
|
+
{ id: 'organize', title: 'To get organized', about: 'What you have pending, at hand and remembered.' },
|
|
138
|
+
{ id: 'save', title: 'Spend less', about: 'Make your plans last longer.' },
|
|
62
139
|
{ id: 'connect', title: 'Connect it', about: 'Your other projects and the apps you already use.' },
|
|
63
140
|
];
|
|
64
141
|
|
|
@@ -73,9 +150,11 @@ export const MARKET = {
|
|
|
73
150
|
'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
151
|
ripley: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
75
152
|
choices: { shelf: 'create', scope: 'everywhere', price: 0 },
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
153
|
+
notes: { shelf: 'organize', scope: 'everywhere', price: 0 },
|
|
154
|
+
reminders: { shelf: 'organize', scope: 'everywhere', price: 0 },
|
|
155
|
+
ollama: { shelf: 'save', scope: 'everywhere', price: 0, featured: 4, pitch: 'A memory that searches by meaning, and @madre, on your own computer: free and private.' },
|
|
156
|
+
intents: { shelf: 'save', scope: 'everywhere', price: 0 },
|
|
157
|
+
ash: { shelf: 'save', scope: 'everywhere', price: 0 },
|
|
79
158
|
enlaces: { shelf: 'connect', scope: 'everywhere', price: 0 },
|
|
80
159
|
mcp: { shelf: 'connect', scope: 'everywhere', price: 0 },
|
|
81
160
|
};
|
|
@@ -87,10 +166,25 @@ export const marketEntry = (id) => {
|
|
|
87
166
|
return { ...base, ...(entry ? { shelf: entry.shelf ?? base.shelf, scope: entry.scope ?? base.scope, price: entry.price ?? base.price, pitch: pick(entry.pitch) ?? base.pitch, minMadre: entry.minMadre ?? null } : {}), featured: featured || 0 };
|
|
88
167
|
};
|
|
89
168
|
// The shelves, the catalog's when it names them.
|
|
90
|
-
|
|
169
|
+
// A shelf this MADRE knows and the catalog does not yet name still shows, after the one it follows here.
|
|
170
|
+
export const marketShelves = () => {
|
|
171
|
+
if (!remote?.shelves?.length) return MARKET_SHELVES;
|
|
172
|
+
const out = remote.shelves.map((shelf) => ({ id: shelf.id, title: pick(shelf.title) ?? shelf.id, about: pick(shelf.about) ?? '' }));
|
|
173
|
+
MARKET_SHELVES.forEach((shelf, index) => {
|
|
174
|
+
if (out.some((one) => one.id === shelf.id)) return;
|
|
175
|
+
const after = out.findIndex((one) => one.id === MARKET_SHELVES[index - 1]?.id);
|
|
176
|
+
out.splice(after < 0 ? out.length : after + 1, 0, shelf);
|
|
177
|
+
});
|
|
178
|
+
return out;
|
|
179
|
+
};
|
|
91
180
|
// What the shop shows: every module that can be turned on or installed. One that is always there
|
|
92
181
|
// (Git) is part of MADRE, not something to get, and so is the Coordinator, which is Home itself.
|
|
93
|
-
|
|
182
|
+
// Part of MADRE, not modules (2026-10-27): suggested effort, options, commands and connections between
|
|
183
|
+
// projects are set in each project's Settings (app.js, IN_SETTINGS), and the Market does not sell them.
|
|
184
|
+
// Local AI and the connectors (MCP) came in by default since 2026-10-28: MADRE's own, in Settings, not
|
|
185
|
+
// in the shop.
|
|
186
|
+
export const IN_MADRE = new Set(['intents', 'choices', 'runs', 'enlaces', 'ollama', 'mcp']);
|
|
187
|
+
export const inMarket = (item) => Boolean(item) && !item.fixed && item.kind !== undefined && item.id !== 'bishop' && !IN_MADRE.has(item.id);
|
|
94
188
|
// The ones the carousel shows, in their order.
|
|
95
189
|
export const marketFeatured = (items = []) => items.filter((item) => marketEntry(item.id).featured).sort((a, b) => marketEntry(a.id).featured - marketEntry(b.id).featured);
|
|
96
190
|
|
|
@@ -104,7 +198,8 @@ export const MARKET_OFFERS = [
|
|
|
104
198
|
{ id: 'image-studio', when: /\b(genera|gener[aá]|crea|haz|dibuja|make|generate|draw)\w*\s+(me\s+)?(una?\s+|an?\s+)?(imagen|ilustraci[oó]n|logo|foto|banner|icono|image|illustration|picture|icon)/i, says: 'To make images, the agents need Images.' },
|
|
105
199
|
{ id: 'github', when: /\bgithub\b|pull request|\bPRs?\b|\bissues?\b|\bCI\b/i, says: 'To read your pull requests, issues and CI, the agents need GitHub.' },
|
|
106
200
|
{ id: 'ahp', when: /traspaso|handoff|continuidad|continuity|retom(a|ar) donde|pick up where|estado del proyecto|project state/i, says: 'To keep the project\'s state and hand work between agents and editors, install Continuity.' },
|
|
107
|
-
|
|
201
|
+
// Local AI comes with MADRE (2026-10-28): it is set up in Settings, never got from the Market.
|
|
202
|
+
{ id: 'ollama', when: /@madre\b|sin internet|offline|ia local|local ai/i, says: 'Local AI comes with MADRE. Set it up in Settings and @madre answers here, and the memory searches by meaning.' },
|
|
108
203
|
{ id: 'ash', when: /gast(ar|e|o) menos|ahorr(a|ar|o) tokens|demasiados tokens|too many tokens|save tokens/i, says: 'To have every agent answer shorter and spend less, turn on Token saver.' },
|
|
109
204
|
];
|
|
110
205
|
export function marketOffer(text, items = [], { declined = [], shown = [] } = {}) {
|
|
@@ -113,7 +208,8 @@ export function marketOffer(text, items = [], { declined = [], shown = [] } = {}
|
|
|
113
208
|
for (const offer of MARKET_OFFERS) {
|
|
114
209
|
if (declined.includes(offer.id) || shown.includes(offer.id)) continue;
|
|
115
210
|
const item = items.find((one) => one.id === offer.id);
|
|
116
|
-
|
|
211
|
+
// Local AI is MADRE's own now, but a conversation that asks for it is still pointed to it.
|
|
212
|
+
if (!item || item.status?.installed || (!inMarket(item) && item.id !== 'ollama')) continue;
|
|
117
213
|
if (offer.when.test(words)) return { item, says: offer.says };
|
|
118
214
|
}
|
|
119
215
|
return null;
|
|
@@ -128,6 +224,14 @@ export function setMarketCatalog(catalog) {
|
|
|
128
224
|
remote = catalog && Array.isArray(catalog.modules) ? { ...catalog, byId: new Map(catalog.modules.map((entry) => [entry.id, entry])) } : null;
|
|
129
225
|
}
|
|
130
226
|
export const remoteEntry = (id) => remote?.byId.get(id) ?? null;
|
|
227
|
+
// THE PAID MODULES (src/market-license.mjs): which ones this computer bought, as /api/market says
|
|
228
|
+
// (never the keys), and whether one still has to be bought before it can be got.
|
|
229
|
+
let bought = {};
|
|
230
|
+
export const setMarketLicensed = (licensed) => { bought = licensed && typeof licensed === 'object' ? licensed : {}; };
|
|
231
|
+
export const isBought = (id) => Boolean(bought[id]);
|
|
232
|
+
// A module of the community (2026-10-28): someone else made it; the author of MADRE read it and signed it.
|
|
233
|
+
export const communityOf = (id) => { const entry = remoteEntry(id); return entry?.community && entry.author?.name ? entry : null; };
|
|
234
|
+
export const forSale = (id) => { const entry = remoteEntry(id); return entry?.price > 0 && entry.checkout && entry.license ? entry : null; };
|
|
131
235
|
// The catalog's modules this MADRE does not have yet, as the Market lists them: to get.
|
|
132
236
|
export function marketExtras(items = []) {
|
|
133
237
|
if (!remote) return [];
|
|
@@ -165,10 +269,19 @@ export async function loadMarket({ toast = null, open = null } = {}) {
|
|
|
165
269
|
const answer = await fetch('/api/market', { cache: 'no-store' }).then((response) => (response.ok ? response.json() : null)).catch(() => null);
|
|
166
270
|
if (!answer) return null;
|
|
167
271
|
setMarketCatalog(answer.catalog);
|
|
272
|
+
setMarketLicensed(answer.licensed);
|
|
168
273
|
if (!toast) return answer;
|
|
169
274
|
const updated = answer.news ?? [];
|
|
170
275
|
if (updated.length) {
|
|
171
|
-
|
|
276
|
+
// Three kinds, each in its words (2026-10-25): updated itself; one of MADRE's own sent back to the
|
|
277
|
+
// one MADRE came with; a module taken out of the Market and of this computer. The why is the author's.
|
|
278
|
+
const line = (one) => {
|
|
279
|
+
const name = one.name && typeof one.name === 'object' ? pick(one.name) : t(one.name ?? one.id);
|
|
280
|
+
if (one.kind === 'returned') return [t('{name} went back to the version that comes with MADRE.', { name }), pick(one.why)];
|
|
281
|
+
if (one.kind === 'removed') return [t('{name} was taken out of the Market and removed from this computer.', { name }), pick(one.why)];
|
|
282
|
+
return [t('{name} updated itself to version {version}.', { name, version: one.to }), pick(one.changes)];
|
|
283
|
+
};
|
|
284
|
+
toast(updated.map((one) => line(one).filter(Boolean).join(' ')).join(' '));
|
|
172
285
|
void fetch('/api/market/seen', { method: 'POST' }).catch(() => null);
|
|
173
286
|
}
|
|
174
287
|
const fresh = answer.announce ?? { news: [], modules: [] };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// MADRE · © 2026 Jossue Alcalá · Business Source License 1.1: LICENSE
|
|
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/neural.js
CHANGED
|
@@ -1,14 +1,49 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
2
|
-
// MADRE · © 2026 Jossue Alcalá ·
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// MADRE · © 2026 Jossue Alcalá · Business Source License 1.1: LICENSE
|
|
3
3
|
// Neural mode (1.0.3): the Memory map and the Projects map drawn as the neurons of a brain
|
|
4
4
|
// (nostromo-engine.js, drawNeural; macroverso.js). What both maps share lives here: the key's
|
|
5
5
|
// drawing, the watch over whether this machine is giving the map the frames it needs, and the
|
|
6
6
|
// invitation to try the mode when it is not — an invitation to a way of seeing, never a warning:
|
|
7
7
|
// the person chooses when to use each.
|
|
8
8
|
import { t } from './i18n.js';
|
|
9
|
+
import { trazo } from './icons.js';
|
|
9
10
|
|
|
10
11
|
// A neuron: its body, four dendrites, a bead at the end of each. Open, the body fills.
|
|
11
|
-
export const NEURAL_ICON = '
|
|
12
|
+
export const NEURAL_ICON = trazo('neural');
|
|
13
|
+
|
|
14
|
+
// HOW TO MOVE ROUND A MAP (2026-10-28): the gestures as keys, in this computer's own words — ⇧ on a
|
|
15
|
+
// Mac and Shift elsewhere, a trackpad's pinch on a Mac —, read from the system, never asked. In
|
|
16
|
+
// place of the long line of small print the maps carried under them.
|
|
17
|
+
export const mapSystem = () => {
|
|
18
|
+
const said = String(globalThis.navigator?.userAgentData?.platform || globalThis.navigator?.platform || '').toLowerCase();
|
|
19
|
+
return said.includes('mac') ? 'mac' : said.includes('win') ? 'windows' : 'other';
|
|
20
|
+
};
|
|
21
|
+
export function mapKeys(which = 'memory') {
|
|
22
|
+
const mac = mapSystem() === 'mac';
|
|
23
|
+
const shift = mac ? '⇧' : 'Shift';
|
|
24
|
+
const closer = mac ? t('Pinch or wheel') : t('Wheel');
|
|
25
|
+
const steps = which === 'projects'
|
|
26
|
+
? [[[t('Drag')], t('pan')], [[closer], t('come closer')], [[t('Click')], t('look at a project')], [[t('Drag a project')], t('onto another to connect them')], [['←', '→'], t('from one to the next')], [['Esc'], t('back')]]
|
|
27
|
+
: [[[t('Drag')], t('turn')], [[shift, t('Drag')], t('pan')], [[closer], t('come closer')], [[t('Click')], t('read a memory')]];
|
|
28
|
+
const line = document.createElement('span');
|
|
29
|
+
line.className = 'map-keys';
|
|
30
|
+
line.dataset.system = mapSystem();
|
|
31
|
+
for (const [keys, words] of steps) {
|
|
32
|
+
const step = document.createElement('span');
|
|
33
|
+
step.className = 'map-key';
|
|
34
|
+
keys.forEach((key, index) => {
|
|
35
|
+
if (index && keys[0] !== '←') { const plus = document.createElement('i'); plus.textContent = '+'; step.append(plus); }
|
|
36
|
+
const cap = document.createElement('kbd');
|
|
37
|
+
cap.textContent = key;
|
|
38
|
+
step.append(cap);
|
|
39
|
+
});
|
|
40
|
+
const said = document.createElement('span');
|
|
41
|
+
said.textContent = words;
|
|
42
|
+
step.append(said);
|
|
43
|
+
line.append(step);
|
|
44
|
+
}
|
|
45
|
+
return line;
|
|
46
|
+
}
|
|
12
47
|
|
|
13
48
|
const KEY = 'pulse.neural';
|
|
14
49
|
export function neuralChosen() {
|
|
@@ -65,6 +100,25 @@ export function inviteNeural({ key, host, map, onTry }) {
|
|
|
65
100
|
if (!key || !host || key.getAttribute('aria-pressed') === 'true') return null;
|
|
66
101
|
const seen = `pulse.neural.invited.${map}`;
|
|
67
102
|
try { if (sessionStorage.getItem(seen)) return null; sessionStorage.setItem(seen, '1'); } catch { /* shown once on this page */ }
|
|
103
|
+
return keyCard({ key, host, title: t('Try neural mode'), line: t('The same network, as neurons: only the paths something travels light up.'), go: t('Try it'), later: t('Not now'), onGo: onTry });
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// The two drawings, said once (2026-10-28): the first times a map opens, the same card under the
|
|
107
|
+
// same key says the map can be planets or neurons, with the way to switch right there. Who calls it
|
|
108
|
+
// keeps that it was said (the tour, src/tour.mjs `map-views`), so it is said once for every map.
|
|
109
|
+
export function tellViews({ key, host, neural = false, onSwitch }) {
|
|
110
|
+
if (!key || !host || host.querySelector('.neural-invite')) return null;
|
|
111
|
+
return keyCard({
|
|
112
|
+
key, host,
|
|
113
|
+
title: t('Two ways to see it'),
|
|
114
|
+
line: t('Planets or neurons: the same map, drawn two ways. Switch with this key whenever you want.'),
|
|
115
|
+
go: neural ? t('See it as planets') : t('See it as neurons'),
|
|
116
|
+
later: t('Got it'),
|
|
117
|
+
onGo: onSwitch,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function keyCard({ key, host, title: said, line: lead, go: goes, later: leaves, onGo }) {
|
|
68
122
|
key.classList.add('invite');
|
|
69
123
|
const card = document.createElement('div');
|
|
70
124
|
card.className = 'neural-invite';
|
|
@@ -75,25 +129,27 @@ export function inviteNeural({ key, host, map, onTry }) {
|
|
|
75
129
|
const words = document.createElement('div');
|
|
76
130
|
words.className = 'neural-invite-words';
|
|
77
131
|
const title = document.createElement('b');
|
|
78
|
-
title.textContent =
|
|
132
|
+
title.textContent = said;
|
|
79
133
|
const line = document.createElement('span');
|
|
80
|
-
line.textContent =
|
|
134
|
+
line.textContent = lead;
|
|
81
135
|
words.append(title, line);
|
|
82
136
|
const acts = document.createElement('div');
|
|
83
137
|
acts.className = 'neural-invite-acts';
|
|
84
138
|
const go = document.createElement('button');
|
|
85
139
|
go.type = 'button';
|
|
86
140
|
go.className = 'neural-invite-go';
|
|
87
|
-
go.textContent =
|
|
141
|
+
go.textContent = goes;
|
|
88
142
|
const later = document.createElement('button');
|
|
89
143
|
later.type = 'button';
|
|
90
144
|
later.className = 'neural-invite-later';
|
|
91
|
-
later.textContent =
|
|
145
|
+
later.textContent = leaves;
|
|
92
146
|
acts.append(go, later);
|
|
93
147
|
card.append(mark, words, acts);
|
|
94
148
|
const close = () => { card.remove(); key.classList.remove('invite'); };
|
|
95
|
-
go.addEventListener('click', () => { close();
|
|
149
|
+
go.addEventListener('click', () => { close(); onGo(); });
|
|
96
150
|
later.addEventListener('click', close);
|
|
151
|
+
// Pressing the key itself is the answer too.
|
|
152
|
+
key.addEventListener('click', close, { once: true });
|
|
97
153
|
host.append(card);
|
|
98
154
|
// Under the key, never past the edge of what holds it.
|
|
99
155
|
const place = () => {
|