blackboard-upc 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/run.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ All notable changes to `blackboard-upc` will be documented here.
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.0.5] — 2026-03-31
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- `run.js` ahora prepone el directorio del Node que lo ejecuta al PATH antes de lanzar `tsx`
|
|
11
|
+
- Soluciona el crash en MCP cuando el usuario tiene nvm con Node 16 como default (Playwright requiere >=18)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## [1.0.4] — 2026-03-30
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- `download_attachment` y `download_file_url` ya no devuelven base64 — guardan el archivo directamente a disco
|
|
19
|
+
- Directorio por defecto: `process.cwd()` (donde el usuario está trabajando), configurable con `outputDir`
|
|
20
|
+
- Pasar `filename` (el `displayName` de `list_attachments`) para guardar con el nombre correcto
|
|
21
|
+
- Respuesta devuelve `{ saved, size, mimeType }` — sin datos en el contexto
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
7
25
|
## [1.0.3] — 2026-03-30
|
|
8
26
|
|
|
9
27
|
### Changed
|
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -4,5 +4,7 @@ const { spawnSync } = require('child_process');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const tsx = path.join(__dirname, 'node_modules', '.bin', 'tsx');
|
|
6
6
|
const entry = path.join(__dirname, 'src', 'index.ts');
|
|
7
|
-
const
|
|
7
|
+
const nodeDir = path.dirname(process.execPath);
|
|
8
|
+
const env = { ...process.env, PATH: `${nodeDir}${path.delimiter}${process.env.PATH}` };
|
|
9
|
+
const result = spawnSync(tsx, [entry, ...process.argv.slice(2)], { stdio: 'inherit', env });
|
|
8
10
|
process.exit(result.status ?? 0);
|