wholestack 0.5.3 → 0.5.4

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/dist/cli.js +10 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -859,8 +859,16 @@ function showPaywall(loggedIn, webUrl) {
859
859
 
860
860
  // src/cli.ts
861
861
  import { readFileSync as readFileSync4 } from "fs";
862
- import { basename } from "path";
863
- var VERSION = "0.5.0";
862
+ import { basename, dirname as dirname2 } from "path";
863
+ import { fileURLToPath } from "url";
864
+ var VERSION = (() => {
865
+ try {
866
+ const here = dirname2(fileURLToPath(import.meta.url));
867
+ return JSON.parse(readFileSync4(join6(here, "..", "package.json"), "utf8")).version;
868
+ } catch {
869
+ return "0.0.0";
870
+ }
871
+ })();
864
872
  function gitBranch(dir) {
865
873
  try {
866
874
  const head = readFileSync4(join6(dir, ".git", "HEAD"), "utf8").trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wholestack",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Wholestack — a pro-grade conversational terminal agent for the Wholestack codegen engine. Talk to it in plain language: it writes ISL, generates full-stack or Solidity apps, and proves them with ShipGate. Browser login, membership-gated builds, slash commands, sessions, plan mode, diffs, MCP, plugins.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",