@jossuealcala/madre 1.1.0 → 1.1.2
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 +37 -1
- package/CHANGELOG.md +37 -1
- package/README.en.md +2 -6
- package/README.md +2 -6
- package/bin/madre.mjs +21 -22
- package/docs/REFERENCE.md +2 -1
- package/docs/en/REFERENCE.md +2 -1
- package/package.json +1 -1
- package/public/app.js +11 -5
- package/public/en.js +1 -1
- package/public/es.js +154 -12
- package/public/macroverso.js +4 -1
- package/public/manual-content.js +24 -20
- package/public/market.js +13 -2
- package/public/page-errors.js +2 -0
- package/public/salas-mac.css +69 -0
- package/public/salas-mac.js +313 -3
- package/public/troubleshooting.js +20 -4
- package/public/welcome.js +40 -12
- package/src/dataset.mjs +4 -2
- package/src/embeddings.mjs +2 -2
- package/src/file-ops.mjs +9 -3
- package/src/github.mjs +5 -3
- package/src/market-remote.mjs +35 -2
- package/src/mcp/memory-server.mjs +12 -3
- package/src/mcp/proxy.mjs +31 -8
- package/src/memory-tools.mjs +9 -2
- package/src/memory.mjs +16 -0
- package/src/modules/check-alone.mjs +25 -0
- package/src/modules/index.mjs +41 -7
- package/src/modules/ollama.mjs +14 -8
- package/src/mother.mjs +6 -1
- package/src/outbound.mjs +11 -3
- package/src/room/archivist.mjs +7 -1
- package/src/room/context.mjs +6 -3
- package/src/room/copilot.mjs +22 -28
- package/src/room.mjs +4 -4
- package/src/rumbo.mjs +337 -0
- package/src/salas.mjs +103 -1
- package/src/sentinel-errors.mjs +4 -1
- package/src/server.mjs +135 -20
- package/src/setup-trouble.mjs +2 -0
- package/src/tour.mjs +2 -2
- package/src/whats-new.mjs +23 -0
package/CHANGELOG.en.md
CHANGED
|
@@ -4,7 +4,43 @@ Every published version of `@jossuealcala/madre`. Dates in ISO format.
|
|
|
4
4
|
|
|
5
5
|
A version closes when it is on npm: until then its section is called **Unreleased** and it can keep growing. Each published version has exactly one `vX.Y.Z` tag, one GitHub release and one section here; the patch number can reach two digits (`0.2.10`) before the minor goes up. See `docs/ROADMAP.md` for the criteria on what bumps each number. This is the English translation of [CHANGELOG.md](CHANGELOG.md); the Spanish file is the original.
|
|
6
6
|
|
|
7
|
-
## 1.1.
|
|
7
|
+
## 1.1.3 · Unreleased
|
|
8
|
+
|
|
9
|
+
## 1.1.2 · 2026-11-02
|
|
10
|
+
|
|
11
|
+
A version to reach your first message sooner, with the fixes from an independent review of the code and what this week's diagnostics said.
|
|
12
|
+
|
|
13
|
+
- **The welcome takes you to your first message.** Your first project now comes right after connecting your agents; the AI on your computer and the memory come after it, for whenever you want them. If you have no project at hand, MADRE makes one to try: a page with a to-do list and a README with things to ask your AIs, without fear of breaking anything. At the end, one button opens your project with three first messages ready to pick. And if you update MADRE and still have no project, Home invites you once to add one: a folder you already work in, or the project to try.
|
|
14
|
+
- **The Windows installer no longer looks suspicious.** A few antivirus flagged it for how it looked (4 of 71 on VirusTotal; not Microsoft Defender). Now it is not compressed, it says who makes it and it no longer writes itself into the next sign-in: if Windows needs a restart, open «MADRE» on your desktop when you are back and the install finishes. And it is always the same file, even when MADRE changes version, so browsers and Windows learn to trust it.
|
|
15
|
+
- **What the diagnostics said.** If Ollama is installed but your user cannot run it, MADRE tells you instead of crashing. Asking for a page file that does not exist now answers «not found» instead of hanging. A failed install says which one it was and why. And the browser notice that was not a failure no longer arrives from an old tab.
|
|
16
|
+
- **The anonymous diagnostics count how far the welcome gets.** How many times each step is reached or left for later, how many projects are created, added and opened, what is chosen in the invitation to add one, and when a project gets its first message. Only the step's name and numbers, nothing you write and none of your folders. It turns off with the same switch as always.
|
|
17
|
+
|
|
18
|
+
Someone reviewed the code of 1.1.1 on their own and sent 61 observations. Each one was checked; these are the ones that were faults, now fixed.
|
|
19
|
+
|
|
20
|
+
- **Checking a module no longer runs it inside MADRE.** To tell you what a module does before you install it, MADRE had to load it, and that ran its code with all its permissions before you accepted. Now it loads it apart, in a process that cannot write files, open programs or read outside its folder. It is installed only when you accept.
|
|
21
|
+
- **The copilot no longer runs tests or builds on its own.** Running them uses code from your project (a script in `package.json`, a test file, a config), and the copilot may have changed it in the same turn. Now, on its own, it only runs what reads: `ls`, `cat`, `rg`, `git status`, `git diff`, `git log`. Tests, builds and saving versions in git wait for your button, like any other line. Nor does it run, without you, the few forms of those reading commands that could open a program or write a file.
|
|
22
|
+
- **An update that asks for more waits for your permission.** If the new version of a Market module connects somewhere else, asks for a key, gives tools to your AIs or reads your chats, it no longer installs itself. MADRE tells you once what more it asks for.
|
|
23
|
+
- **The memory respects what you chose.** With the memory off or on Ollama, the searches your AIs make in the project's memory no longer go to Google. In INCOGNITO, what you ask is no longer sent to anyone to search the memory, nor written down.
|
|
24
|
+
- **The memory no longer hands back what you discarded.** A note you marked bad or that another one refuted no longer reaches the AIs by any road, nor goes into the data to train your local AI. And a note that says «we do not do X» is no longer thrown out by mistake when someone marks «we do X» as false.
|
|
25
|
+
- **A day without internet no longer costs the memory its notes.** If summarizing the conversation fails because of the network, an AI's limit or time, MADRE tries again later instead of giving it up.
|
|
26
|
+
- **After a CODE000, your AIs listen to you again as soon as the seal opens.** Before, for a whole day, they kept treating any request to delete a memory as hostile, even yours.
|
|
27
|
+
- **MCP connectors only let through what MADRE knows.** Before, only tool calls were checked; now the rest of the protocol goes through a list, and several messages sent together are checked one by one.
|
|
28
|
+
- **Protected folders, protected through links too.** A link to `.git` followed by new folders no longer lets files be created there without typing the project's name.
|
|
29
|
+
|
|
30
|
+
## 1.1.1 · 2026-10-31
|
|
31
|
+
|
|
32
|
+
An urgent fixes release, with what 1.1.0's diagnostics said, and an installer for Windows.
|
|
33
|
+
|
|
34
|
+
- **MADRE on Windows with a double click.** Download `MADRE-Instalador.exe` from madre.run/en/windows and open it. It turns on WSL if needed, prepares a Linux of MADRE's own (it does not touch your Ubuntu, if you have one) and installs Node and MADRE inside. At the end it leaves «MADRE» in the Start menu and on the desktop, and it opens in your browser with no terminal windows. Windows asks for permission once, and only if WSL was off. If a restart is needed, the installer continues by itself when you are back. To remove it, «Desinstalar MADRE» in Installed apps; it asks before deleting MADRE's Linux and what you saved there.
|
|
35
|
+
- **A plan's closing step reads in plain words.** When an AI finished a plan with others, the chat showed in grey, in its name, MADRE's internal instruction to close it. Now it says «Reading what the others answered, to give you the final answer».
|
|
36
|
+
- **The manual explains Windows step by step:** the installer, what to do if «Windows protected your PC» shows up, why it does (the installer has no digital signature yet; the certificate is on its way) and how to remove it.
|
|
37
|
+
- **Uninstall MADRE uninstalls again.** In 1.1.0 the button closed everything and crashed before removing anything.
|
|
38
|
+
- **The AI on your computer installs on Ubuntu and WSL.** Ollama's installer now needs `zstd`, and a new Ubuntu does not have it. MADRE installs it first. If it cannot, it gives you the whole line for the terminal.
|
|
39
|
+
- **MADRE explains two failures it did not recognise.** When Codex runs out of your ChatGPT plan's usage, it says that is Codex's limit and when it comes back. And when Gemini has no account, it takes you to connect one.
|
|
40
|
+
- **Sharing memory between projects** now opens even with only one project besides the Coordinator; the window used to break.
|
|
41
|
+
- **The Map** no longer gets lost when you come back to its tab mid-animation.
|
|
42
|
+
- **If MADRE changes version while it is open**, the page asks you to close it and open it again, instead of failing.
|
|
43
|
+
- **Cleaner diagnostics.** A browser notice that was not a failure is no longer sent. A failure that names its model is no longer mistaken for the permission-modes help, so it arrives whole.
|
|
8
44
|
|
|
9
45
|
## 1.1.0 · 2026-10-31
|
|
10
46
|
|
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,43 @@ Todas las versiones publicadas de `@jossuealcala/madre`. Fechas en ISO.
|
|
|
4
4
|
|
|
5
5
|
Una versión se cierra cuando está en npm: hasta entonces su sección se llama **Sin publicar** y puede crecer. Cada versión publicada tiene exactamente una etiqueta `vX.Y.Z`, una release en GitHub y una sección aquí; el parche puede llegar a dos dígitos (`0.2.10`) antes de subir el menor. Ver `docs/ROADMAP.md` para el criterio de qué sube cada número.
|
|
6
6
|
|
|
7
|
-
## 1.1.
|
|
7
|
+
## 1.1.3 · Sin publicar
|
|
8
|
+
|
|
9
|
+
## 1.1.2 · 2026-11-02
|
|
10
|
+
|
|
11
|
+
Una versión para llegar más rápido a tu primer mensaje, con los arreglos de una revisión independiente del código y lo que dijo el diagnóstico de la semana.
|
|
12
|
+
|
|
13
|
+
- **La bienvenida te lleva a tu primer mensaje.** Tu primer proyecto ahora va justo después de conectar tus agentes; la IA en tu computadora y la memoria quedan después, para cuando quieras. Si no tienes un proyecto a la mano, MADRE te crea uno de prueba: una página con una lista de tareas y un README con cosas para pedirle a tus IAs, sin miedo a romper nada. Al terminar, un botón abre tu proyecto con tres primeros mensajes listos para elegir. Y si actualizas MADRE y todavía no tienes ningún proyecto, Inicio te invita una vez a agregar uno: una carpeta en la que ya trabajes o el proyecto de prueba.
|
|
14
|
+
- **El instalador de Windows ya no parece sospechoso.** Unos pocos antivirus lo marcaban por cómo se veía (4 de 71 en VirusTotal; Microsoft Defender, no). Ahora va sin comprimir, dice quién lo hace y ya no se anota para el siguiente inicio de sesión: si Windows tiene que reiniciar, al volver abres «MADRE» en tu escritorio y termina de instalarse. Y es siempre el mismo archivo, aunque MADRE cambie de versión, para que los navegadores y Windows aprendan a confiar en él.
|
|
15
|
+
- **Lo que dijo el diagnóstico.** Si Ollama está instalado pero tu usuario no puede abrirlo, MADRE te lo dice en vez de cerrarse. Pedir un archivo de la página que no existe ya contesta «no encontrado» en vez de quedarse esperando. Una instalación que falla dice cuál fue y por qué. Y el aviso del navegador que no era una falla ya no llega desde una pestaña vieja.
|
|
16
|
+
- **El diagnóstico anónimo cuenta hasta dónde llega la bienvenida.** Cuántas veces se llega a cada paso o se deja para después, cuántos proyectos se crean, agregan y abren, qué se elige en la invitación a agregar uno, y cuándo un proyecto recibe su primer mensaje. Solo el nombre del paso y números, nada de lo que escribes ni de tus carpetas. Se apaga con el mismo interruptor de siempre.
|
|
17
|
+
|
|
18
|
+
Una persona revisó el código de 1.1.1 por su cuenta y mandó 61 observaciones. Se comprobaron una por una; estas son las que eran fallas, ya arregladas.
|
|
19
|
+
|
|
20
|
+
- **Revisar un módulo ya no lo ejecuta dentro de MADRE.** Para decirte qué hace un módulo antes de instalarlo, MADRE tenía que cargarlo, y eso corría su código con todos sus permisos antes de que aceptaras. Ahora lo carga aparte, en un proceso que no puede escribir archivos, abrir programas ni leer fuera de su carpeta. Se instala solo cuando aceptas.
|
|
21
|
+
- **El copiloto ya no corre pruebas ni compilaciones por su cuenta.** Para correrlas usa código de tu proyecto (un script de `package.json`, un archivo de prueba, una configuración), y el copiloto puede haberlo cambiado en el mismo turno. Ahora, por su cuenta, solo corre lo que lee: `ls`, `cat`, `rg`, `git status`, `git diff`, `git log`. Las pruebas, las compilaciones y guardar versiones en git esperan tu botón, como cualquier otra línea. Tampoco corre ya, sin ti, las pocas formas de esos comandos de lectura que podían abrir un programa o escribir un archivo.
|
|
22
|
+
- **Una actualización que pide más, espera tu permiso.** Si la versión nueva de un módulo del Mercado se conecta a otro lugar, pide una llave, da herramientas a tus IAs o lee tus chats, ya no se instala sola. MADRE te dice una vez qué pide de más.
|
|
23
|
+
- **La memoria respeta lo que elegiste.** Con la memoria apagada o en Ollama, las búsquedas que hacen las IAs en la memoria del proyecto ya no van a Google. En INCÓGNITO, lo que preguntas ya no se manda a nadie para buscar en la memoria, ni queda anotado.
|
|
24
|
+
- **La memoria ya no devuelve lo que descartaste.** Una nota que marcaste mal o que otra desmintió ya no les llega a las IAs por ningún camino, ni entra a los datos para entrenar tu IA local. Y una nota que dice «no hacemos X» ya no se tira por error cuando alguien marca como falso «hacemos X».
|
|
25
|
+
- **Un día sin internet ya no le cuesta notas a la memoria.** Si resumir la conversación falla por la red, por el límite de una IA o por tiempo, MADRE lo vuelve a intentar después en vez de darlo por perdido.
|
|
26
|
+
- **Tras un CODE000, tus IAs vuelven a escucharte en cuanto se abre el sello.** Antes seguían tratando como hostil, durante un día, cualquier pedido de borrar un recuerdo, aunque fuera tuyo.
|
|
27
|
+
- **Los conectores MCP solo dejan pasar lo que MADRE conoce.** Antes solo se revisaban las llamadas a herramientas; ahora lo demás del protocolo pasa por una lista, y varios mensajes juntos se revisan uno por uno.
|
|
28
|
+
- **Las carpetas protegidas, protegidas también con enlaces.** Un enlace a `.git` seguido de carpetas nuevas ya no deja crear archivos ahí sin escribir el nombre del proyecto.
|
|
29
|
+
|
|
30
|
+
## 1.1.1 · 2026-10-31
|
|
31
|
+
|
|
32
|
+
Una versión de arreglos urgentes, con lo que dijo el diagnóstico de la 1.1.0, y un instalador para Windows.
|
|
33
|
+
|
|
34
|
+
- **MADRE en Windows con doble clic.** Descarga `MADRE-Instalador.exe` de madre.run/windows y ábrelo. Enciende WSL si hace falta, prepara un Linux propio de MADRE (no toca tu Ubuntu, si tienes uno) e instala Node y MADRE adentro. Al final deja «MADRE» en el menú Inicio y en el escritorio, y se abre en tu navegador sin ventanas de terminal. Windows pide permiso una sola vez, y solo si WSL estaba apagado. Si hay que reiniciar, el instalador sigue solo al volver. Para quitarlo, «Desinstalar MADRE» en Aplicaciones instaladas; te pregunta antes de borrar el Linux de MADRE y lo que guardaste ahí.
|
|
35
|
+
- **El paso de cierre de un plan se lee en español.** Cuando una IA terminaba un plan con otras, el chat mostraba en gris, a su nombre, la instrucción interna en inglés que MADRE le manda para cerrar. Ahora dice «Leyendo lo que contestaron los demás para darte la respuesta final».
|
|
36
|
+
- **El manual explica Windows paso a paso:** el instalador, qué hacer si aparece «Windows protegió tu PC», por qué sale (el instalador aún no tiene firma digital; el certificado ya se tramita) y cómo quitarlo.
|
|
37
|
+
- **Desinstalar MADRE ya desinstala.** En la 1.1.0, el botón cerraba todo y se caía antes de borrar nada.
|
|
38
|
+
- **La IA en tu computadora se instala en Ubuntu y en WSL.** El instalador de Ollama ahora exige `zstd`, y un Ubuntu nuevo no lo trae. MADRE lo instala primero. Si no puede, te da la línea completa para la terminal.
|
|
39
|
+
- **MADRE explica dos fallas que antes no reconocía.** Cuando Codex se queda sin uso de tu plan de ChatGPT, te dice que es su límite y cuándo vuelve. Y cuando Gemini no tiene cuenta, te lleva a conectarla.
|
|
40
|
+
- **Compartir memoria entre proyectos** ya abre aunque solo tengas un proyecto además del Coordinador; antes, la ventana se rompía.
|
|
41
|
+
- **El Mapa** ya no se pierde al volver a la pestaña a media animación.
|
|
42
|
+
- **Si MADRE cambia de versión mientras está abierta**, la página te pide cerrarla y abrirla otra vez, en lugar de fallar.
|
|
43
|
+
- **Diagnóstico más limpio.** Ya no manda un aviso del navegador que no era una falla. Una falla que menciona el modelo ya no se confunde con la ayuda de los modos de permiso, así que llega completa.
|
|
8
44
|
|
|
9
45
|
## 1.1.0 · 2026-10-31
|
|
10
46
|
|
package/README.en.md
CHANGED
|
@@ -27,13 +27,9 @@
|
|
|
27
27
|
npx @jossuealcala/madre
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
**Windows.**
|
|
30
|
+
**Windows.** Download the installer from [madre.run/en/windows](https://madre.run/en/windows) and open it with a double click. It turns on WSL2 (the Linux that comes with Windows) if needed, prepares MADRE's Linux and leaves it in the Start menu, with no terminal. Prefer the terminal? Inside Ubuntu (WSL2), install Node 22 and `zstd`, and type `npx @jossuealcala/madre`.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
2. Open **Ubuntu** from the Start menu.
|
|
34
|
-
3. Type `npx @jossuealcala/madre` there.
|
|
35
|
-
|
|
36
|
-
You need Node 22.5 or newer and at least one AI you are signed in to. There is no account to create. MADRE opens in your browser and a welcome guides you step by step: it connects your AIs, puts a free AI on your computer if it fits, and adds your first project.
|
|
32
|
+
You need Node 22.5 or newer and at least one AI you are signed in to. There is no account to create. MADRE opens in your browser and a welcome guides you step by step: it connects your AIs, adds your first project (or makes one to try), puts a free AI on your computer if it fits, and takes you to write your first message.
|
|
37
33
|
|
|
38
34
|
## New in 1.1
|
|
39
35
|
|
package/README.md
CHANGED
|
@@ -27,13 +27,9 @@
|
|
|
27
27
|
npx @jossuealcala/madre
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
**Windows.**
|
|
30
|
+
**Windows.** Descarga el instalador en [madre.run/windows](https://madre.run/windows) y ábrelo con doble clic. Enciende WSL2 (el Linux que trae Windows) si hace falta, prepara el Linux de MADRE y la deja en el menú Inicio, sin terminal. ¿Prefieres la terminal? Dentro de Ubuntu (WSL2), instala Node 22 y `zstd`, y escribe `npx @jossuealcala/madre`.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
2. Abre **Ubuntu** desde el menú Inicio.
|
|
34
|
-
3. Ahí escribe `npx @jossuealcala/madre`.
|
|
35
|
-
|
|
36
|
-
Necesitas Node 22.5 o más nuevo y al menos una IA con sesión. No hay cuenta que crear. MADRE se abre en tu navegador y una bienvenida te guía paso a paso: conecta tus IAs, pone una IA gratis en tu computadora si cabe y agrega tu primer proyecto.
|
|
32
|
+
Necesitas Node 22.5 o más nuevo y al menos una IA con sesión. No hay cuenta que crear. MADRE se abre en tu navegador y una bienvenida te guía paso a paso: conecta tus IAs, agrega tu primer proyecto (o te crea uno de prueba), pone una IA gratis en tu computadora si cabe y te lleva a escribir tu primer mensaje.
|
|
37
33
|
|
|
38
34
|
## Lo nuevo en 1.1
|
|
39
35
|
|
package/bin/madre.mjs
CHANGED
|
@@ -26,37 +26,36 @@ const { command } = cli;
|
|
|
26
26
|
|
|
27
27
|
// WINDOWS (1.1.0, docs/WINDOWS.md D-001): on Windows, MADRE runs inside WSL2, not on Windows itself —
|
|
28
28
|
// what it promises about permissions (the write bit, process groups, each agent's sandbox) does not
|
|
29
|
-
// exist there the same way, and a start halfway is worse than none. A native start
|
|
30
|
-
//
|
|
29
|
+
// exist there the same way, and a start halfway is worse than none. A native start points at the
|
|
30
|
+
// installer (1.1.1, WIN-033: one file, a double click, no terminal), keeps the terminal way below it
|
|
31
|
+
// for whoever prefers it, in the person's language, and stops. PULSE_WINDOWS_NATIVE=1 lets a
|
|
31
32
|
// developer go on anyway.
|
|
32
33
|
if (process.platform === 'win32' && process.env.PULSE_WINDOWS_NATIVE !== '1' && command !== 'help') {
|
|
33
34
|
const spanish = /^es\b/i.test(Intl.DateTimeFormat().resolvedOptions().locale ?? '');
|
|
34
35
|
console.log(spanish ? `
|
|
35
|
-
MADRE en Windows
|
|
36
|
+
MADRE en Windows se instala con su instalador: descárgalo y ábrelo con doble clic.
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
wsl --install
|
|
39
|
-
2. Abre «Ubuntu» desde el menú Inicio y crea tu usuario.
|
|
40
|
-
3. Dentro de Ubuntu, instala Node.js y abre MADRE:
|
|
41
|
-
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
|
42
|
-
sudo apt install -y nodejs
|
|
43
|
-
npx @jossuealcala/madre
|
|
38
|
+
https://madre.run/windows
|
|
44
39
|
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
Hace todo solo: enciende WSL (el Linux que viene con Windows), prepara el Linux de MADRE
|
|
41
|
+
y deja «MADRE» en el menú Inicio. Sin terminal.
|
|
42
|
+
|
|
43
|
+
¿Prefieres la terminal? Dentro de Ubuntu (WSL2):
|
|
44
|
+
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
|
45
|
+
sudo apt install -y nodejs zstd
|
|
46
|
+
npx @jossuealcala/madre
|
|
47
47
|
` : `
|
|
48
|
-
On Windows, MADRE
|
|
48
|
+
On Windows, MADRE installs with its installer: download it and open it with a double click.
|
|
49
|
+
|
|
50
|
+
https://madre.run/en/windows
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
2. Open «Ubuntu» from the Start menu and create your user.
|
|
53
|
-
3. Inside Ubuntu, install Node.js and open MADRE:
|
|
54
|
-
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
|
55
|
-
sudo apt install -y nodejs
|
|
56
|
-
npx @jossuealcala/madre
|
|
52
|
+
It does everything by itself: turns on WSL (the Linux that comes with Windows), prepares
|
|
53
|
+
MADRE's Linux and leaves «MADRE» in the Start menu. No terminal.
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
Prefer the terminal? Inside Ubuntu (WSL2):
|
|
56
|
+
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
|
57
|
+
sudo apt install -y nodejs zstd
|
|
58
|
+
npx @jossuealcala/madre
|
|
60
59
|
`);
|
|
61
60
|
process.exit(1);
|
|
62
61
|
}
|
package/docs/REFERENCE.md
CHANGED
|
@@ -96,7 +96,7 @@ Cada mensaje sale con un modo. Tu modo es el techo de cualquier plan que ese men
|
|
|
96
96
|
|
|
97
97
|
**Un permiso con su tiempo.** Un agente que necesita más lo pide en una línea con el modo y cuánto («Necesito #3 por 15 min: …»). Su respuesta lleva una tarjeta con el modo, el tiempo que pidió y los que hay (#3: 5, 15 o 30 min; #4: 5 min) o solo ese mensaje; la llave abre esa ventana para ese agente.
|
|
98
98
|
|
|
99
|
-
**Copiloto.** El robot junto a modo · modelo · esfuerzo. Se enciende con la llave de `#3`, una vez, por 30 min, 1, 4, 8 o 24 h; `DETENER TODO`, apagarlo o un reinicio lo terminan. Mientras dura, un mensaje en `#3` no pide llave y va al agente al que le escribes, aunque su Modo máximo sea `#2`, siempre que su CLI pueda escribir. Ese agente edita el proyecto, arma planes y da a cada paso hasta `#3`, y los comandos que pide y
|
|
99
|
+
**Copiloto.** El robot junto a modo · modelo · esfuerzo. Se enciende con la llave de `#3`, una vez, por 30 min, 1, 4, 8 o 24 h; `DETENER TODO`, apagarlo o un reinicio lo terminan. Mientras dura, un mensaje en `#3` no pide llave y va al agente al que le escribes, aunque su Modo máximo sea `#2`, siempre que su CLI pueda escribir. Ese agente edita el proyecto, arma planes y da a cada paso hasta `#3`, y los comandos que pide y solo leen —`ls`, `cat`, `rg`, `git status`, `git diff`, `git log`, `node --check`— corren solos y su resultado le regresa. Las pruebas, compilaciones, revisiones de estilo y versiones de git (`npm test`, `npm run build`, `node --test`, `pytest`, `cargo`, `git commit`…) esperan tu botón, igual que cualquier otra línea: corren código del proyecto, y el copiloto puede haberlo cambiado en su turno (desde 1.1.2). Lo que borra vuelve al terminar el turno, nunca toca `.git/`, `.pulse/`, `.madre/` ni los `.env`, y `#4` sigue pidiendo su propia llave. Tras ocho rondas de comandos sin que escribas, se detiene y avisa.
|
|
100
100
|
|
|
101
101
|
**Modo por paso.** Un orquestador puede pedir el modo de cada paso: `@codex #2: crea la página`, `@claude #3: arregla el router`. Sin número, el paso solo lee, o crea si el plan ya puede crear: `#3` se pide por su nombre. MADRE respeta el `MAX MODE` de cada agente. Con tu mensaje en `#3`, la palabra del orquestador basta para un paso `#3`; con tu mensaje en `#1`, un paso `#2` pasa por la solicitud de permiso y `#3` o `#4` pide tu llave. Un paso `#4` pide siempre la llave de ese agente, aunque tu mensaje vaya en `#4`.
|
|
102
102
|
|
|
@@ -355,6 +355,7 @@ La carpeta de MADRE se borra entera solo si es suya sin duda: ruta absoluta, nun
|
|
|
355
355
|
- cuántos proyectos hay y cuántos abiertos;
|
|
356
356
|
- qué módulos propios de MADRE están encendidos (uno escrito por la persona solo cuenta como «otro»);
|
|
357
357
|
- cuántos días tiene la copia.
|
|
358
|
+
- **El camino al primer mensaje (desde 1.1.2):** cuántas veces se llegó a cada paso de la bienvenida, cuál se terminó y cuál se dejó para después (solo el nombre del paso: `welcome.at.project`, `welcome.skip.ai`…); cuántos proyectos se crearon, se agregaron, se crearon de prueba y se abrieron; si a quien actualizó sin proyectos se le mostró la invitación a agregar uno y qué eligió (`invite.project.shown`, `picked`, `sample`, `later`); y una cuenta cuando un proyecto recibe su primer mensaje. Nunca el nombre ni la ruta del proyecto, ni lo que escribes.
|
|
358
359
|
- **Ciclo de vida:** instalada (una copia que nunca tuvo identificador), actualizada (una versión más nueva abierta por primera vez, según `~/.pulse/lifecycle.json`), desinstalada (desde Ajustes, enviado antes de borrar nada) y cada vez que se abre Inicio.
|
|
359
360
|
- **Presencia:** mientras MADRE está abierta, cada cinco minutos manda a `madre.run/api/presence` solo el identificador al azar, la versión y el sistema, para saber cuántas copias están encendidas ahora; uno solo de sus procesos lo dice. Ninguna ruta, nombre de proyecto, archivo ni nada que escribas.
|
|
360
361
|
- **Se apaga igual que el diagnóstico.** Las copias del autor no mandan presencia, y madre.run tampoco las cuenta. (`src/install-metrics.mjs`)
|
package/docs/en/REFERENCE.md
CHANGED
|
@@ -96,7 +96,7 @@ Every message goes out with a mode. Your mode is the ceiling of any plan that me
|
|
|
96
96
|
|
|
97
97
|
**A permission with a time limit.** An agent that needs more asks for it in one line with the mode and for how long ("I need #3 for 15 min: …"). Its reply carries a card with the mode, the time it asked for and the options available (#3: 5, 15 or 30 min; #4: 5 min) or just that message; the key opens that window for that agent.
|
|
98
98
|
|
|
99
|
-
**Copilot.** The robot next to mode · model · effort. It is turned on with the `#3` key, once, for 30 min, 1, 4, 8 or 24 h; `STOP ALL`, turning it off or a restart end it. While it lasts, a message in `#3` does not ask for the key and goes to the agent you are writing to, even if its Max mode is `#2`, as long as its CLI can write. That agent edits the project, builds plans and gives each step up to `#3`, and the commands it asks for that
|
|
99
|
+
**Copilot.** The robot next to mode · model · effort. It is turned on with the `#3` key, once, for 30 min, 1, 4, 8 or 24 h; `STOP ALL`, turning it off or a restart end it. While it lasts, a message in `#3` does not ask for the key and goes to the agent you are writing to, even if its Max mode is `#2`, as long as its CLI can write. That agent edits the project, builds plans and gives each step up to `#3`, and the commands it asks for that only read —`ls`, `cat`, `rg`, `git status`, `git diff`, `git log`, `node --check`— run on their own and their result goes back to it. Tests, builds, linters and git versions (`npm test`, `npm run build`, `node --test`, `pytest`, `cargo`, `git commit`…) wait for your button, like any other line: they run the project's code, and the copilot may have changed it in its turn (since 1.1.2). What it deletes comes back when the turn ends, it never touches `.git/`, `.pulse/`, `.madre/` or the `.env` files, and `#4` still asks for its own key. After eight rounds of commands without you writing, it stops and lets you know.
|
|
100
100
|
|
|
101
101
|
**Mode per step.** An orchestrator can ask for each step's mode: `@codex #2: crea la página`, `@claude #3: arregla el router`. Without a number, the step only reads, or creates if the plan can already create: `#3` is asked for by name. MADRE respects each agent's `MAX MODE`. With your message in `#3`, the orchestrator's word is enough for a `#3` step; with your message in `#1`, a `#2` step goes through the permission request and `#3` or `#4` asks for your key. A `#4` step always asks for that agent's key, even if your message is in `#4`.
|
|
102
102
|
|
|
@@ -355,6 +355,7 @@ MADRE's folder is only taken away whole when it is MADRE's beyond doubt: an abso
|
|
|
355
355
|
- how many projects and how many are open;
|
|
356
356
|
- which of MADRE's own modules are on (one the person wrote only counts as «another»);
|
|
357
357
|
- how many days the copy has.
|
|
358
|
+
- **The road to the first message (since 1.1.2):** how many times each step of the welcome was reached, which one was finished and which one was left for later (only the step's name: `welcome.at.project`, `welcome.skip.ai`…); how many projects were created, added, made to try and opened; whether someone who updated with no project was shown the invitation to add one and what they chose (`invite.project.shown`, `picked`, `sample`, `later`); and one count when a project gets its first message. Never the project's name or path, nor what you write.
|
|
358
359
|
- **Life:** installed (a copy that never had an identifier), updated (a newer version opened for the first time, per `~/.pulse/lifecycle.json`), uninstalled (from Settings, sent before anything is removed) and each time Home opens.
|
|
359
360
|
- **Presence:** while MADRE is open, every five minutes it sends `madre.run/api/presence` only the random identifier, the version and the system, so the author knows how many copies are on now; only one of its processes says it. No path, project name, file or anything you write.
|
|
360
361
|
- **It turns off like the diagnostics.** The author's copies send no presence, and madre.run does not count them either. (`src/install-metrics.mjs`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jossuealcala/madre",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "MADRE · one local room where the AI coding agents already on your machine (Codex, Claude Code, Gemini CLI, OpenCode) work on your project together, share one memory you can see and explore, and answer to you. Read-only by default, with per-message permission modes and checkpoints you can undo. Nothing leaves your machine on its own.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
package/public/app.js
CHANGED
|
@@ -4257,7 +4257,7 @@ function toggleCopilotMenu(anchor, { keep = false } = {}) {
|
|
|
4257
4257
|
title.append(toggle);
|
|
4258
4258
|
const body = el('div', 'copilot-body');
|
|
4259
4259
|
body.append(
|
|
4260
|
-
el('p', 'copilot-lead', t('The agent you write to drives the project: it edits
|
|
4260
|
+
el('p', 'copilot-lead', t('The agent you write to drives the project: it edits and makes plans with the other agents (each step can go up to #3 EDIT). It runs on its own only the commands that read; tests, builds and commits wait for your click.')),
|
|
4261
4261
|
el('p', 'copilot-never', t('It never deletes, never touches MADRE\'s folders or your secrets, and never pushes, publishes or sends anything off this computer: that stays with you.')),
|
|
4262
4262
|
);
|
|
4263
4263
|
if (on) {
|
|
@@ -4550,7 +4550,7 @@ function openOverride(id, { raise = false, mode = 3, then = null, cancelled = nu
|
|
|
4550
4550
|
if (!slot && override.form) { slot = el('div', 'tour-hint-slot'); override.form.before(slot); }
|
|
4551
4551
|
if (slot) void roomTour().hint('key4', slot, { inside: true, title: t('#4 asks you to confirm twice'), text: t('With #4 the agent may run commands, publish and deploy: what leaves your Mac does not come back. That is why it asks you to confirm twice.') });
|
|
4552
4552
|
}
|
|
4553
|
-
override.brief.textContent = override.copilot ? t('The agent you write to edits the project
|
|
4553
|
+
override.brief.textContent = override.copilot ? t('The agent you write to edits the project without asking you to confirm each message, until it ends. It runs on its own only the commands that read; tests, builds and commits wait for your click.') : OVERRIDE_BRIEF[mode].what(id);
|
|
4554
4554
|
override.safe.textContent = override.copilot ? t('It never deletes, pushes, publishes or deploys; each change gets a restore point; STOP ALL ends it.') : OVERRIDE_BRIEF[mode].safe();
|
|
4555
4555
|
override.raised.hidden = !raise;
|
|
4556
4556
|
override.raised.textContent = raise ? t('This also raises its max mode to #{n}.', { n: mode }) : '';
|
|
@@ -5240,6 +5240,12 @@ function renderUserMessage(event) {
|
|
|
5240
5240
|
function renderAssistantMessage(event) {
|
|
5241
5241
|
const { messageId, parentMessageId, sender, target, text, ash, status, step, totalSteps, model, effort, mode } = event.payload;
|
|
5242
5242
|
const delegated = status === 'delegated';
|
|
5243
|
+
// The plan's last step is MADRE asking its author to close it. What MADRE asked is an instruction
|
|
5244
|
+
// to the agent, in English, not something the agent said: the room showed it word for word in the
|
|
5245
|
+
// agent's name (seen on Windows, 2026-10-31). The person reads what is happening instead.
|
|
5246
|
+
// A closing the agent wrote in its plan (a «closing:» line) is its own words and stays as written.
|
|
5247
|
+
const closingAsk = delegated && target === sender;
|
|
5248
|
+
const shown = closingAsk && /^Review the delegated answers and the work completed\./.test(String(text ?? '')) ? t('Reading what the others answered, to give you the final answer.') : text;
|
|
5243
5249
|
const compact = state.lastSender === sender && !delegated && !ash?.active && !event.ghost;
|
|
5244
5250
|
const node = row('assistant', sender, { compact });
|
|
5245
5251
|
if (event.ghost || mode === 0) node.classList.add('ghost');
|
|
@@ -5256,7 +5262,7 @@ function renderAssistantMessage(event) {
|
|
|
5256
5262
|
to.append(`→ @${target}`);
|
|
5257
5263
|
who.append(to);
|
|
5258
5264
|
}
|
|
5259
|
-
who.append(el('span', 'badge',
|
|
5265
|
+
who.append(el('span', 'badge', closingAsk ? t('wrapping up') : t('step {n}/{total}', { n: step, total: totalSteps })));
|
|
5260
5266
|
} else if (target && target !== 'you') {
|
|
5261
5267
|
// And its closing answer says so, not «answering @itself».
|
|
5262
5268
|
who.append(el('span', 'badge', target === sender ? t('closing turn') : t('answering @{agent}', { agent: target })));
|
|
@@ -5276,7 +5282,7 @@ function renderAssistantMessage(event) {
|
|
|
5276
5282
|
col.append(who);
|
|
5277
5283
|
}
|
|
5278
5284
|
const bubble = el('div', 'bubble');
|
|
5279
|
-
bubble.append(renderMarkdown(
|
|
5285
|
+
bubble.append(renderMarkdown(shown));
|
|
5280
5286
|
// Written as the human's copilot: a green round robot on the agent's own circle.
|
|
5281
5287
|
if (event.payload.copilot) {
|
|
5282
5288
|
node.classList.add('copilot');
|
|
@@ -5294,7 +5300,7 @@ function renderAssistantMessage(event) {
|
|
|
5294
5300
|
const foot = el('div', 'bubble-foot');
|
|
5295
5301
|
const used = attachMemoryUsed(event.payload);
|
|
5296
5302
|
if (used) foot.append(used.toggle);
|
|
5297
|
-
foot.append(bubbleActions({ text, sender, sequence: event.sequence, messageId: delegated ? null : messageId }));
|
|
5303
|
+
foot.append(bubbleActions({ text: shown, sender, sequence: event.sequence, messageId: delegated ? null : messageId }));
|
|
5298
5304
|
const stamp = el('div', 'stamp');
|
|
5299
5305
|
stamp.id = `usage-${messageId}`;
|
|
5300
5306
|
stamp.append(el('span', null, formatTime(event.timestamp)));
|
package/public/en.js
CHANGED
|
@@ -174,7 +174,7 @@ export const EN = {
|
|
|
174
174
|
"CREATE on: what to make. New files land where they belong in the project; nothing existing changes.": "«Create» is on: what to make. New files land where they belong in the project; nothing existing changes.",
|
|
175
175
|
"EDIT unlocked. Say what to change in the project; every action runs without asking.": "«Edit» unlocked. Say what to change in the project; every action runs without asking.",
|
|
176
176
|
"#4 FULL ACCESS unlocked. Commands run here, and changes are pushed or deployed outside your computer. Say exactly what should go out.": "«#4 Full access» unlocked. Commands run here, and changes are pushed or deployed outside your computer. Say exactly what should go out.",
|
|
177
|
-
"The agent you write to drives the project: it edits
|
|
177
|
+
"The agent you write to drives the project: it edits and makes plans with the other agents (each step can go up to #3 EDIT). It runs on its own only the commands that read; tests, builds and commits wait for your click.": "The agent you write to drives the project: it edits and makes plans with the other agents (each step can go up to «#3 Edit»). It runs on its own only the commands that read; tests, builds and commits wait for your click.",
|
|
178
178
|
"It asks you to confirm #3 only once. STOP ALL ends it.": "It asks you to confirm #3 only once. «Stop all» ends it.",
|
|
179
179
|
"NOW": "Now",
|
|
180
180
|
"RAISE TO #{n} ›": "Raise to #{n} ›",
|