storyboard-bridge 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/index.mjs +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -31,8 +31,11 @@ import { join, resolve, dirname, sep } from 'node:path';
31
31
  import { fileURLToPath } from 'node:url';
32
32
  import { tmpdir } from 'node:os';
33
33
  import { WebSocket } from 'ws';
34
+ import { createRequire } from 'node:module';
34
35
 
35
- const VERSION = '0.3.5';
36
+ // read from package.json so the printed version can NEVER drift from the published one (the bug where 0.3.6
37
+ // still announced v0.3.5 + nagged forever). package.json ships in the npm tarball next to this file.
38
+ const VERSION = createRequire(import.meta.url)('./package.json').version;
36
39
 
37
40
  // in-flight Higgsfield render children, keyed by job id — so a `higgsfield-cancel` can kill the right one
38
41
  // (the backend sends it when the user cancels, freeing the single render slot instead of leaving it running).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyboard-bridge",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Desktop bridge that powers a hosted Storyboard AI webapp with your own local Claude Code / Gemini CLI login (no API key).",
5
5
  "type": "module",
6
6
  "bin": {