reasonix 0.50.0 → 0.50.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reasonix",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "description": "DeepSeek-native coding agent: cache-first loop, flash-first cost control, tool-call repair.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,6 +22,7 @@
22
22
  "dashboard/index.html",
23
23
  "dashboard/app.css",
24
24
  "dashboard/dist",
25
+ "scripts/postinstall.mjs",
25
26
  "README.md",
26
27
  "LICENSE"
27
28
  ],
@@ -29,7 +30,7 @@
29
30
  "packages/*"
30
31
  ],
31
32
  "scripts": {
32
- "postinstall": "npm --prefix dashboard ci --ignore-scripts && npm --prefix desktop ci --ignore-scripts",
33
+ "postinstall": "node scripts/postinstall.mjs",
33
34
  "build:dashboard": "npm --prefix dashboard run build",
34
35
  "build": "npm run build:dashboard && tsup && node scripts/copy-dashboard-vendor-css.mjs && node scripts/copy-tree-sitter-grammars.mjs",
35
36
  "dev": "tsx src/cli/index.ts",
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ // No-op when run from the published tarball (no dashboard/package.json shipped) —
3
+ // only the git checkout has workspace deps to install.
4
+ import { execFileSync } from "node:child_process";
5
+ import { existsSync } from "node:fs";
6
+
7
+ if (!existsSync("dashboard/package.json")) process.exit(0);
8
+
9
+ const npm = process.platform === "win32" ? "npm.cmd" : "npm";
10
+ const opts = { stdio: "inherit", shell: false };
11
+ execFileSync(npm, ["--prefix", "dashboard", "ci", "--ignore-scripts"], opts);
12
+ execFileSync(npm, ["--prefix", "desktop", "ci", "--ignore-scripts"], opts);