@danieltmn/tamnora 0.4.0 → 0.4.1

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.md CHANGED
@@ -5,6 +5,13 @@ Todos los cambios relevantes de este proyecto se documentan en este archivo.
5
5
  El formato sigue [Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/)
6
6
  y el proyecto usa [Versionado Semantico](https://semver.org/lang/es/).
7
7
 
8
+ ## [0.4.1] - 2026-10-02
9
+
10
+ ### Corregido
11
+
12
+ - `tamnora update` fallaba en Windows con "No se pudo consultar npm": lanzaba
13
+ `npm.cmd` con `spawnSync` sin `shell`, que da `EINVAL`. Ahora usa shell en Windows.
14
+
8
15
  ## [0.4.0] - 2026-10-02
9
16
 
10
17
  ### Agregado
@@ -3,11 +3,12 @@ import { readPackageVersion } from '../lib/core.js';
3
3
  import { parse } from '../lib/util.js';
4
4
 
5
5
  const PACKAGE = '@danieltmn/tamnora';
6
- const NPM = process.platform === 'win32' ? 'npm.cmd' : 'npm';
6
+ const IS_WIN = process.platform === 'win32';
7
+ const NPM = IS_WIN ? 'npm.cmd' : 'npm';
7
8
  const OPTIONS = { yes: { type: 'boolean', short: 'y' }, check: { type: 'boolean' }, tag: { type: 'string' }, help: { type: 'boolean', short: 'h' } };
8
9
 
9
10
  function npm(args) {
10
- return spawnSync(NPM, args, { encoding: 'utf8', windowsHide: true });
11
+ return spawnSync(NPM, args, { encoding: 'utf8', windowsHide: true, shell: IS_WIN });
11
12
  }
12
13
 
13
14
  function installedVersion() {
@@ -63,6 +64,7 @@ export async function updateCommand(argv) {
63
64
  const result = spawnSync(NPM, ['i', '-g', spec], {
64
65
  stdio: 'inherit',
65
66
  windowsHide: true,
67
+ shell: IS_WIN,
66
68
  });
67
69
  if (result.status !== 0) {
68
70
  console.error(`La actualizacion fallo. Proba a mano: npm i -g ${spec}`);
@@ -33,7 +33,7 @@
33
33
  </head>
34
34
  <body>
35
35
  <header class="topbar">
36
- <div class="brand"><span class="logo">T</span> tamnora <span class="ver">v0.4.0</span></div>
36
+ <div class="brand"><span class="logo">T</span> tamnora <span class="ver">v0.4.1</span></div>
37
37
  <nav class="tabs">
38
38
  <button class="tab active" data-tab="chat">chat</button>
39
39
  <button class="tab" data-tab="providers">proveedores</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danieltmn/tamnora",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Harness local para IAs: agente CLI-first con TUI, consola web y evaluacion. Node puro, sin dependencias.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.25.0",