myrlin-workbook 0.9.24 → 0.9.25

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/logs/server.pid CHANGED
@@ -1 +1 @@
1
- 68900
1
+ 44496
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrlin-workbook",
3
- "version": "0.9.24",
3
+ "version": "0.9.25",
4
4
  "description": "Browser-based project manager for Claude Code sessions - session discovery, multi-terminal, cost tracking, docs, and kanban board",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/web/server.js CHANGED
@@ -5201,7 +5201,10 @@ app.post('/api/pty/:sessionId/upload-image',
5201
5201
  }
5202
5202
 
5203
5203
  const safeName = `${Date.now()}-${crypto.randomBytes(4).toString('hex')}${ext}`;
5204
- const dir = path.join(__dirname, '..', '..', 'uploads', sessionId);
5204
+ // Save uploads to the data dir (~/.myrlin/uploads/) so paths are stable
5205
+ // across npx runs and accessible to Claude Code.
5206
+ const { getDataDir } = require('../utils/data-dir');
5207
+ const dir = path.join(getDataDir(), 'uploads', sessionId);
5205
5208
  fs.mkdirSync(dir, { recursive: true });
5206
5209
 
5207
5210
  const filePath = path.join(dir, safeName);