@aiaiai-pt/martha-cli 0.9.0 → 0.9.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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to `@aiaiai-pt/martha-cli`. Format: [Keep a Changelog](https
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.9.1] — 2026-06-10
8
+
9
+ ### Fixed
10
+ - `martha --version` (and the `martha doctor` CLI/API version-skew check) reported a stale `0.3.0` — `src/version.ts` was a hand-maintained constant that never got bumped after the 0.3.0 release, so six releases shipped the wrong version string. It's now generated from `package.json` at build time (`scripts/gen-version.mjs`, run first in `build`/`prepack`), keeping the runtime constant (no bundled-path `package.json` read) while making `package.json` the single source of truth. A unit test fails if the two ever drift again.
11
+
7
12
  ## [0.9.0] — 2026-06-10
8
13
 
9
14
  ### Added — #535 Phase 1 onboarding bootstrap
package/dist/index.js CHANGED
@@ -11051,7 +11051,7 @@ import { createInterface as createInterface2 } from "node:readline";
11051
11051
  init_errors();
11052
11052
 
11053
11053
  // src/version.ts
11054
- var CLI_VERSION = "0.3.0";
11054
+ var CLI_VERSION = "0.9.1";
11055
11055
 
11056
11056
  // src/commands/sessions.ts
11057
11057
  function relativeTime(iso) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/martha-cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Terminal-first client for the Martha AI platform",
5
5
  "homepage": "https://docs.martha.nomadriver.co",
6
6
  "repository": {
@@ -30,7 +30,8 @@
30
30
  "access": "public"
31
31
  },
32
32
  "scripts": {
33
- "build": "bun build src/index.ts --outdir dist --target node",
33
+ "gen-version": "node scripts/gen-version.mjs",
34
+ "build": "node scripts/gen-version.mjs && bun build src/index.ts --outdir dist --target node",
34
35
  "dev": "bun run src/index.ts",
35
36
  "test": "vitest",
36
37
  "test:run": "vitest run",