@meiti/healer 0.2.5 → 0.4.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @meiti/healer
2
2
 
3
- Connect [Healer](https://meiti.dev/healer) to Claude Code, DeepSeek Harness or any MCP agent in about a minute.
3
+ Connect [Healer](https://meiti.dev/healer) to Claude Code, Cursor, Gemini CLI, DeepSeek Harness or any MCP agent in about a minute. With `--for "Cursor"` or `--for "Gemini CLI"` the installer also adds Healer to `~/.cursor/mcp.json` or `~/.gemini/settings.json` (it never overwrites an existing "healer" entry or a file it cannot read).
4
4
 
5
5
  ```
6
6
  npx @meiti/healer
@@ -31,6 +31,8 @@ npx -y -p @meiti/healer healer-mcp
31
31
 
32
32
  ## Free level and your code
33
33
 
34
+ Healer uses pro unless your organization changed the rule in the panel. It never uses free without your yes: when a job would run on free, the agent asks you first.
35
+
34
36
  The free level repairs with free AI providers, which may keep and use what they receive, and the repaired code may be used to train Healer's models. On the pro level none of your code is used for training. For private code, use pro.
35
37
 
36
38
  MIT license.
package/instalar.mjs CHANGED
@@ -20,9 +20,12 @@ const PLUGIN = 'healer@meiti';
20
20
  const args = process.argv.slice(2);
21
21
  const reconectar = args.includes('--reconnect') || args.includes('--reconectar');
22
22
  const sinNavegador = args.includes('--no-browser') || !process.stdout.isTTY;
23
- const sinPlugin = args.includes('--no-plugin');
24
23
  const paraIdx = args.indexOf('--for');
25
24
  const cliente = paraIdx >= 0 && args[paraIdx + 1] ? args[paraIdx + 1] : 'Claude Code';
25
+ // 🔌 [2026-11-16] Cursor y Gemini CLI: el instalador escribe su configuración MCP (el servidor local, que lee la clave guardada).
26
+ // Para ellos no se instala el plugin de Claude Code.
27
+ const OTRO_AGENTE = /cursor/i.test(cliente) ? 'cursor' : /gemini/i.test(cliente) ? 'gemini' : null;
28
+ const sinPlugin = args.includes('--no-plugin') || !!OTRO_AGENTE;
26
29
 
27
30
  const es = /^es/i.test(process.env.HEALER_LANG || Intl.DateTimeFormat().resolvedOptions().locale || '');
28
31
  const T = es ? {
@@ -47,7 +50,10 @@ const T = es ? {
47
50
  pluginFallo: 'No pude instalar el plugin solo. Adentro de Claude Code escribe:',
48
51
  listo: 'Listo. Abre Claude Code en tu proyecto y escribe',
49
52
  listoOtros: 'Para otros agentes (DeepSeek Harness, Cursor), agrega este servidor MCP; lee la misma clave:',
50
- gratis: 'Nivel gratis: repara con proveedores de IA gratuitos, que pueden guardar lo que reciben, y el código reparado puede usarse para entrenar. Para código privado, usa /healer pro.',
53
+ gratis: 'Healer usa pro salvo que tu organización cambie la regla en el panel (Facturación > Nivel de IA). El nivel gratis nunca se usa sin tu sí: si un trabajo tocaría free, el agente te pregunta antes.',
54
+ agenteListo: (donde) => `Healer quedó agregado en ${donde}. Reinicia el agente para que cargue las herramientas.`,
55
+ agenteYa: (donde) => `${donde} ya tenía un servidor "healer": no lo toqué.`,
56
+ agenteFallo: (donde) => `No pude escribir ${donde}. Agrega a mano este servidor MCP:`,
51
57
  error: 'Algo falló:'
52
58
  } : {
53
59
  hola: "Hi. Let's connect Healer in about a minute.",
@@ -71,7 +77,10 @@ const T = es ? {
71
77
  pluginFallo: 'Could not install the plugin automatically. Inside Claude Code, type:',
72
78
  listo: 'All set. Open Claude Code in your project and type',
73
79
  listoOtros: 'For other agents (DeepSeek Harness, Cursor), add this MCP server; it reads the same key:',
74
- gratis: 'Free level: repairs with free AI providers, which may keep what they receive, and the repaired code may be used for training. For private code, use /healer pro.',
80
+ gratis: 'Healer uses pro unless your organization changes the rule in the panel (Billing > AI level). The free level is never used without your yes: if a job would run on free, the agent asks you first.',
81
+ agenteListo: (donde) => `Healer was added to ${donde}. Restart the agent so it loads the tools.`,
82
+ agenteYa: (donde) => `${donde} already had a "healer" server: left it as it was.`,
83
+ agenteFallo: (donde) => `Could not write ${donde}. Add this MCP server by hand:`,
75
84
  error: 'Something went wrong:'
76
85
  };
77
86
 
@@ -176,6 +185,26 @@ function instalarPlugin(clave) {
176
185
  else console.log(T.claveEnPluginFallo);
177
186
  }
178
187
 
188
+ // Agrega el servidor "healer" a la configuración MCP de Cursor o Gemini CLI sin tocar lo demás. Si el archivo no es JSON válido,
189
+ // no lo pisa: avisa y muestra qué agregar.
190
+ function configurarOtroAgente() {
191
+ const ruta = OTRO_AGENTE === 'cursor' ? path.join(os.homedir(), '.cursor', 'mcp.json') : path.join(os.homedir(), '.gemini', 'settings.json');
192
+ const servidor = { command: 'npx', args: ['-y', '-p', '@meiti/healer', 'healer-mcp'] };
193
+ try {
194
+ let config = {};
195
+ if (fs.existsSync(ruta)) config = JSON.parse(fs.readFileSync(ruta, 'utf8') || '{}');
196
+ if (!config || typeof config !== 'object' || Array.isArray(config)) throw new Error('not a JSON object');
197
+ config.mcpServers = config.mcpServers && typeof config.mcpServers === 'object' ? config.mcpServers : {};
198
+ if (config.mcpServers.healer) { console.log(`\n${T.agenteYa(ruta)}`); return; }
199
+ config.mcpServers.healer = servidor;
200
+ fs.mkdirSync(path.dirname(ruta), { recursive: true });
201
+ fs.writeFileSync(ruta, JSON.stringify(config, null, 2) + '\n');
202
+ console.log(`\n${verde('✓')} ${T.agenteListo(ruta)}`);
203
+ } catch {
204
+ console.log(`\n${T.agenteFallo(ruta)}\n${JSON.stringify({ mcpServers: { healer: servidor } }, null, 2)}`);
205
+ }
206
+ }
207
+
179
208
  async function main() {
180
209
  console.log(LOGO + '\n');
181
210
  console.log(T.hola);
@@ -194,8 +223,8 @@ async function main() {
194
223
  }
195
224
 
196
225
  if (!sinPlugin) instalarPlugin(leerConfig()?.api_key || '');
197
-
198
- console.log(`\n${T.listo} ${negrita(cian('/healer'))}`);
226
+ if (OTRO_AGENTE) configurarOtroAgente();
227
+ else console.log(`\n${T.listo} ${negrita(cian('/healer'))}`);
199
228
  console.log(gris(`\n${T.gratis}`));
200
229
  console.log(gris(`${T.listoOtros} npx -y -p @meiti/healer healer-mcp\n`));
201
230
  }
package/mcp/servidor.mjs CHANGED
@@ -14,7 +14,7 @@ import path from 'node:path';
14
14
  import crypto from 'node:crypto';
15
15
  import readline from 'node:readline';
16
16
 
17
- const VERSION = '0.3.9';
17
+ const VERSION = '0.5.0';
18
18
  const API = (process.env.HEALER_API_URL || 'https://healer-api.meiti.dev').replace(/\/$/, '');
19
19
  const leerClave = () => String(process.env.CLAUDE_PLUGIN_OPTION_API_KEY || '').trim();
20
20
  const ESTADO = path.join(os.tmpdir(), 'healer-claude-code');
@@ -112,7 +112,7 @@ async function api(metodo, ruta, cuerpo) {
112
112
  }
113
113
  const r = await fetch(API + ruta, { method: metodo, headers: { 'x-api-key': CLAVE, 'content-type': 'application/json', 'user-agent': `healer-claude-code/${VERSION}` }, body: cuerpo ? JSON.stringify(cuerpo) : undefined });
114
114
  const datos = await r.json().catch(() => ({}));
115
- if (!r.ok) throw new Error(`Healer answered ${r.status}: ${datos.error || 'no detail'}`);
115
+ if (!r.ok) { const e = new Error(`Healer answered ${r.status}: ${datos.error || datos.message || 'no detail'}`); e.status = r.status; e.datos = datos; throw e; }
116
116
  return datos;
117
117
  }
118
118
 
@@ -120,18 +120,26 @@ const archivoDeTrabajo = (jobId) => path.join(ESTADO, `${String(jobId).replace(/
120
120
 
121
121
  // ───────────────────────────── Herramientas ─────────────────────────────
122
122
 
123
- async function revisar({ ruta, nivel, tests }) {
123
+ async function revisar({ ruta, nivel, tests, confirmar_free, solo_revisar, bug }) {
124
124
  const raiz = path.resolve(ruta || process.cwd());
125
125
  if (!fs.existsSync(raiz) || !fs.statSync(raiz).isDirectory()) throw new Error(`Folder not found: ${raiz}.`);
126
126
  const { files, total, omitidos } = archivosDelProyecto(raiz);
127
127
  if (!Object.keys(files).length) throw new Error('No text files to send were found in that folder.');
128
128
  if (Array.isArray(tests) && tests.length && !files['.healer.json']) files['.healer.json'] = JSON.stringify({ tests }, null, 2);
129
129
  const appId = `claude-code/${path.basename(raiz).replace(/[^\w.-]/g, '-').slice(0, 60) || 'proyecto'}`;
130
- const envio = await api('POST', '/v1/repair', { files, app_id: appId, ai_level: nivel === 'pro' ? 'pro' : 'free' });
130
+ // 🔐 [2026-11-16] Sin nivel propio (antes free por defecto): vale la política de la organización (pro salvo que el dueño cambie).
131
+ // Si tocaría free y la organización pide preguntar, Healer responde 409 y no se encola nada.
132
+ let envio;
133
+ try {
134
+ envio = await api('POST', '/v1/repair', { files, app_id: appId, ...(nivel === 'free' || nivel === 'pro' ? { ai_level: nivel } : {}), ...(confirmar_free === true ? { confirm_free: true } : {}), ...(solo_revisar === true ? { review_only: true } : {}), ...(typeof bug === 'string' && bug.trim() ? { bug_report: bug.trim().slice(0, 4000) } : {}) });
135
+ } catch (e) {
136
+ if (e.status === 409) return `Needs the user's confirmation, nothing was queued: ${e.datos?.message}\nIn this tool, "confirm_free" is confirmar_free: true${e.datos?.reason === 'cupo_agotado' ? ', and "review_only" is solo_revisar: true' : ''}.`;
137
+ throw e;
138
+ }
131
139
  fs.mkdirSync(ESTADO, { recursive: true });
132
140
  fs.writeFileSync(archivoDeTrabajo(envio.job_id), JSON.stringify({ raiz, appId, enviado: new Date().toISOString() }));
133
141
  return [
134
- `Sent to Healer: job ${envio.job_id} (${envio.ai_level || nivel || 'free'} level).`,
142
+ `Sent to Healer: job ${envio.job_id} (${envio.ai_level === 'none' ? 'review only, no AI' : `${envio.ai_level} level`}${envio.ai_level_reason ? `, ${({ pedido: 'requested', organizacion: 'organization default', cupo: 'single repairs', confirmado: 'confirmed by the user', auto: 'organization allows free automatically', solo_revisar: 'review only' })[envio.ai_level_reason] || envio.ai_level_reason}` : ''}).`,
135
143
  `${Object.keys(files).length} files, ${Math.round(total / 1024)} KB${omitidos ? `, ${omitidos} skipped (binary or too large)` : ''}.`,
136
144
  'Healer runs the tests in an isolated sandbox and repairs what fails. It usually takes a few minutes: check with healer_resultado.'
137
145
  ].join('\n');
@@ -159,6 +167,7 @@ function informePantalla(r) {
159
167
  const titulo = { checked: 'Screen review finished.', did_not_start: 'The app did not start, so no page could be checked.', unsupported_stack: 'Unsupported stack: no supported language was found to install and start the app.' }[r.status] || r.status;
160
168
  lineas.push(`Result: ${titulo}`, `Summary: ${r.message}`);
161
169
  if (r.start) lineas.push(`Started with: "${r.start.command}" on port ${r.start.port} · source: ${r.start.source} (${r.start.detail}) · ${r.start.verified ? 'verified: the app answered' : 'not verified: the app did not answer'}.`);
170
+ for (const s of r.missing_services || []) lineas.push(`Missing service: ${s.address} (${s.requests} request(s) with no answer${s.found_in ? `; it seems to be in ${s.found_in}` : ''}). ${s.hint}`);
162
171
  if (r.server_log) lineas.push('Server log (last lines):', ...String(r.server_log).split('\n').slice(-25).map((l) => ` ${l}`));
163
172
  if (r.ms) lineas.push(`Time: ${Math.round((r.ms.total || 0) / 1000)} s (install ${Math.round((r.ms.install || 0) / 1000)} s, start ${Math.round((r.ms.start || 0) / 1000)} s, pages ${Math.round((r.ms.pages || 0) / 1000)} s).`);
164
173
  for (const pg of r.pages || []) {
@@ -190,16 +199,27 @@ async function resultado({ job_id, esperar_segundos }) {
190
199
  const meta = fs.existsSync(archivoDeTrabajo(job_id)) ? JSON.parse(fs.readFileSync(archivoDeTrabajo(job_id), 'utf8')) : null;
191
200
  const cambiados = r.changed_files || [];
192
201
  // La propuesta queda guardada para healer_aplicar (y para mirarla con calma).
193
- if (meta) fs.writeFileSync(archivoDeTrabajo(job_id), JSON.stringify({ ...meta, terminado: new Date().toISOString(), status: r.status, changed_files: cambiados, base_hashes: r.base_hashes || {}, files: Object.fromEntries(cambiados.map((c) => [c, r.files?.[c]])) }));
202
+ if (meta) fs.writeFileSync(archivoDeTrabajo(job_id), JSON.stringify({ ...meta, terminado: new Date().toISOString(), status: r.status, changed_files: cambiados, base_hashes: r.base_hashes || {}, ...(r.requires_acceptance ? { requires_acceptance: r.requires_acceptance } : {}), files: Object.fromEntries(cambiados.map((c) => [c, r.files?.[c]])) }));
194
203
 
195
204
  const lineas = [];
196
205
  const titulo = { production_ready: 'Production ready: every check passes.', unresolved: r.partial_fix ? 'Partial delivery: some failures fixed, some remain.' : 'Unresolved: Healer could not leave every check passing.', unsupported_stack: 'Unsupported stack: no supported language was found to verify.' }[r.status] || r.status;
197
206
  lineas.push(`Result: ${titulo}`);
207
+ // 🔐 [2026-11-16] Siempre se dice con qué nivel corrió y por qué.
208
+ if (r.ai_level) lineas.push(`AI level: ${r.ai_level === 'none' ? 'none (review only)' : r.ai_level}${r.ai_level_reason ? ` (${({ pedido: 'requested', organizacion: 'organization default', cupo: 'single repairs', confirmado: 'confirmed by the user', auto: 'organization allows free automatically', solo_revisar: 'review only', benchmark: 'benchmark' })[r.ai_level_reason] || r.ai_level_reason})` : ''}.`);
198
209
  // 📋 [2026-11-14, pedido del usuario: "el usuario no ve lo que vemos, no lo demos por hecho"] El informe de Healer (report):
199
210
  // qué se reparó, tests antes y después, y cada pendiente con qué es, por qué quedó y qué hace falta. Sin informe (Healer
200
211
  // de antes), la línea de fallas de siempre.
212
+ // 🔬 [2026-11-16] Reproducir antes de reparar: si vino con bug_report, el test que lo reprodujo y si pasa después.
213
+ if (r.reproduction) {
214
+ const rp = r.reproduction;
215
+ lineas.push(rp.status === 'reproduced'
216
+ ? `Bug reproduced with a test (${rp.test_file}): it failed with the original code${rp.passes_after === true ? ' and passes after the repair' : rp.passes_after === false ? ', and it STILL FAILS after the repair' : ''}. Offer the user to add this test to the project so the bug cannot come back:\n${String(rp.test_content || '').split('\n').map((l) => ' ' + l).join('\n')}`
217
+ : `Bug NOT reproduced (${rp.status}): ${rp.message}`);
218
+ }
201
219
  if (r.report) {
202
220
  lineas.push(`Summary: ${r.report.headline}`);
221
+ // ⚖️ [2026-11-16] Una dependencia que baja el puntaje: lo primero que tiene que saber la persona.
222
+ if (r.requires_acceptance) lineas.push(`NEEDS THE USER'S ACCEPTANCE (tell them before anything else): ${r.requires_acceptance.reason} Quality score ${r.requires_acceptance.pentagono_before} → ${r.requires_acceptance.pentagono_after}. Apply it only if they accept (healer_aplicar with acepto_puntaje_menor: true), or leave out ${r.requires_acceptance.files.join(', ')}.`);
203
223
  for (const x of r.report.fixed || []) lineas.push(`Fixed: ${x}`);
204
224
  if ((r.report.pending || []).length) {
205
225
  lineas.push('Pending (tell the user every item and what it needs; they decide whether to send it again or handle it themselves):');
@@ -275,7 +295,7 @@ function diffDe(antes, despues) {
275
295
  return salida.join('\n').slice(0, 12000);
276
296
  }
277
297
 
278
- async function aplicar({ job_id, archivos }) {
298
+ async function aplicar({ job_id, archivos, acepto_puntaje_menor }) {
279
299
  const archivo = archivoDeTrabajo(job_id);
280
300
  if (!fs.existsSync(archivo)) throw new Error('No proposal stored for that job: call healer_resultado first.');
281
301
  const t = JSON.parse(fs.readFileSync(archivo, 'utf8'));
@@ -287,6 +307,11 @@ async function aplicar({ job_id, archivos }) {
287
307
  if (ajenos.length) throw new Error(`These are not among the files Healer changed: ${ajenos.join(', ')}. Changed files: ${t.changed_files.join(', ')}.`);
288
308
  }
289
309
  const elegidos = pedidos ?? t.changed_files;
310
+ // ⚖️ [2026-11-16] La misma regla que Healer (orquestador/aceptacion.ts): sin el sí del usuario, la dependencia que baja el
311
+ // puntaje no se escribe. Dejarla afuera y aplicar el resto sí se puede.
312
+ const ra = t.requires_acceptance;
313
+ const tocados = ra && acepto_puntaje_menor !== true ? ra.files.filter((x) => elegidos.includes(x)) : [];
314
+ if (tocados.length) return `Needs the user's acceptance before applying: ${ra.reason} Quality score ${ra.pentagono_before} → ${ra.pentagono_after}. Ask the user; if they accept the lower score, call healer_aplicar again with acepto_puntaje_menor: true. Or leave out ${tocados.join(', ')} and apply the rest.`;
290
315
  // La base tiene que coincidir: si el usuario tocó un archivo después de mandarlo, ese no se pisa.
291
316
  const distintos = elegidos.filter((ruta) => {
292
317
  const local = path.join(t.raiz, ruta);
@@ -313,7 +338,36 @@ async function informarDecision({ job_id, aplicados = [], descartados = [] }) {
313
338
  return `Thanks: recorded ${r.registrados ?? 0} decision(s) (${aplicados.length} applied, ${descartados.length} left out).`;
314
339
  }
315
340
 
341
+ // 🛈 [HEALER_INFO, 2026-11-16] Qué servidor es y qué permite la cuenta (igual que en el conector remoto): versión, cada herramienta
342
+ // con la huella de su definición, la regla de nivel de la organización y el cupo pro. Sin IA y sin costo.
343
+ const huella = (texto) => crypto.createHash('sha256').update(texto).digest('hex').slice(0, 12);
344
+ async function info() {
345
+ const tools = HERRAMIENTAS.map(({ name, description, inputSchema }) => ({ name, fingerprint: huella(JSON.stringify({ name, description, inputSchema })) }));
346
+ const tools_fingerprint = huella(tools.map((t) => `${t.name}:${t.fingerprint}`).join('|'));
347
+ let cuenta = null;
348
+ try { cuenta = await api('GET', '/v1/info'); } catch (e) { cuenta = { error: e.message }; }
349
+ const lineas = [
350
+ `Healer MCP server (local) version ${VERSION}, talking to ${API}${cuenta?.remote_connector_version ? ` (server connector version ${cuenta.remote_connector_version})` : ''}.`,
351
+ `Tools (${tools.length}), fingerprint ${tools_fingerprint}: ${tools.map((t) => `${t.name} [${t.fingerprint}]`).join(', ')}.`,
352
+ 'If a name here is missing from your tool list, restart the agent (or update the Healer plugin) to load the current version.',
353
+ ];
354
+ if (cuenta?.error) lineas.push(`Account: ${cuenta.error}`);
355
+ else if (cuenta) {
356
+ lineas.push(`AI level of the organization: ${cuenta.ai_level_default} by default; when a job would run on free: ${cuenta.when_free === 'ask' ? "ask the user first (free never runs without the user's yes)" : 'free runs automatically'}.`);
357
+ const r = cuenta.repairs;
358
+ if (r) lineas.push(`Pro repairs this month: ${r.used}${r.limit !== null ? ` of ${r.limit}` : ' (no monthly limit)'}${r.extra ? `, plus ${r.extra} single repair(s)` : ''}.`);
359
+ }
360
+ lineas.push('', JSON.stringify({ server: 'healer', kind: 'local', version: VERSION, tools_fingerprint, tools, account: cuenta }));
361
+ return lineas.join('\n');
362
+ }
363
+
316
364
  const HERRAMIENTAS = [
365
+ {
366
+ name: 'healer_info',
367
+ description: 'What this Healer server is and what your account allows, in one call (no AI, no cost): server version, every tool with a fingerprint of its definition, the organization rule for the AI level and the pro repairs left this month. Use it when a tool you expect is missing or behaves differently than described.',
368
+ inputSchema: { type: 'object', properties: {} },
369
+ run: info
370
+ },
317
371
  {
318
372
  name: 'healer_revisar',
319
373
  description: 'Send the project to Healer for independent verification: it runs the tests in an isolated sandbox, repairs what fails and returns only changes that leave the project better, never worse. Returns a job id; then call healer_resultado.',
@@ -321,7 +375,10 @@ const HERRAMIENTAS = [
321
375
  type: 'object',
322
376
  properties: {
323
377
  ruta: { type: 'string', description: 'Project folder. Defaults to the current working directory.' },
324
- nivel: { type: 'string', enum: ['free', 'pro'], description: 'free (open models, no cost) or pro (paid models, uses your plan). Defaults to free.' },
378
+ nivel: { type: 'string', enum: ['free', 'pro'], description: 'Optional. Leave it out unless the user asked for a level: the organization default applies (pro unless the owner changed it). Free means free AI providers, which may keep what they receive, and the code may be used for training.' },
379
+ confirmar_free: { type: 'boolean', description: 'Only after the user said yes to the free level for THIS job (Healer asks when a job would run on free). Never set it on your own.' },
380
+ solo_revisar: { type: 'boolean', description: 'Run the checks without repairing and without AI (offered when the pro repairs are used up and the user does not want free).' },
381
+ bug: { type: 'string', description: 'Optional: the bug as the user tells it (what they did, what they expected, what happened). Healer first writes a test that reproduces it and checks that it fails with the current code; only then repairs, and the test must pass after. If it does not reproduce, nothing is repaired blindly.' },
325
382
  tests: { type: 'array', items: { type: 'string' }, description: 'Optional: the tests that define "fixed" (e.g. tests/test_api.py::test_login). Without this Healer runs the full suite.' }
326
383
  }
327
384
  },
@@ -336,7 +393,7 @@ const HERRAMIENTAS = [
336
393
  {
337
394
  name: 'healer_aplicar',
338
395
  description: 'Write Healer\'s proposed changes into the project. Only call it after the user agreed. Pass "archivos" to write only the files the user approved (the rest are left out). It refuses any file that changed since it was sent.',
339
- inputSchema: { type: 'object', properties: { job_id: { type: 'string' }, archivos: { type: 'array', items: { type: 'string' }, description: 'Optional: paths (as listed by healer_resultado) of the only files to write.' } }, required: ['job_id'] },
396
+ inputSchema: { type: 'object', properties: { job_id: { type: 'string' }, archivos: { type: 'array', items: { type: 'string' }, description: 'Optional: paths (as listed by healer_resultado) of the only files to write.' }, acepto_puntaje_menor: { type: 'boolean', description: 'Only when the result says "Needs the user acceptance" and the user explicitly accepted the lower quality score.' } }, required: ['job_id'] },
340
397
  run: aplicar
341
398
  },
342
399
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meiti/healer",
3
- "version": "0.2.5",
3
+ "version": "0.4.0",
4
4
  "description": "Connect Healer to Claude Code (and any MCP agent) in a minute: a short code, one click in the browser, done.",
5
5
  "type": "module",
6
6
  "bin": {