@jefuriiij/synthra 0.1.12 → 0.1.13

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
@@ -7,6 +7,18 @@ For older versions, see [GitHub Releases](https://github.com/jefuriiij/synthra/r
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.1.13] — 2026-05-29
11
+
12
+ ### Fixed
13
+
14
+ - **Dashboard footer version is now dynamic.** Was hardcoded to `v0.1.8`
15
+ in the HTML and never updated. The dashboard server now injects the
16
+ running binary's version (from `package.json`) into the footer on every
17
+ `GET /` via a `__SYN_VERSION__` placeholder. Re-run `syn .` after an
18
+ update and the dashboard reflects the new version automatically.
19
+
20
+ ---
21
+
10
22
  ## [0.1.12] — 2026-05-29
11
23
 
12
24
  ### Fixed
package/dist/cli/index.js CHANGED
@@ -18,7 +18,7 @@ var init_package = __esm({
18
18
  "package.json"() {
19
19
  package_default = {
20
20
  name: "@jefuriiij/synthra",
21
- version: "0.1.12",
21
+ version: "0.1.13",
22
22
  publishConfig: {
23
23
  access: "public"
24
24
  },
@@ -91,6 +91,7 @@ import sade from "sade";
91
91
  import { resolve as resolve4 } from "path";
92
92
 
93
93
  // src/dashboard/server.ts
94
+ init_package();
94
95
  import { serve } from "@hono/node-server";
95
96
  import { Hono } from "hono";
96
97
 
@@ -865,7 +866,7 @@ var public_default = `<!doctype html>\r
865
866
  \r
866
867
  <!-- ============ Footer ============ -->\r
867
868
  <footer class="foot">\r
868
- <div>Synth<em>ra</em> \xB7 v0.1.8</div>\r
869
+ <div>Synth<em>ra</em> \xB7 v__SYN_VERSION__</div>\r
869
870
  <div>Cost figures approximate \xB7 @jefuriiij</div>\r
870
871
  </footer>\r
871
872
  \r
@@ -1282,6 +1283,7 @@ var style_default = '/* Synthra dashboard \xB7 v0.2 \xB7 Cool Marine\r\n Darke
1282
1283
 
1283
1284
  // src/dashboard/server.ts
1284
1285
  var FALLBACK_RANGE = 9;
1286
+ var VERSION = package_default.version;
1285
1287
  async function startDashboard(paths, preferredPort = 8901) {
1286
1288
  const port = await findFreePort(preferredPort, preferredPort + FALLBACK_RANGE);
1287
1289
  if (port !== preferredPort) {
@@ -1290,7 +1292,7 @@ async function startDashboard(paths, preferredPort = 8901) {
1290
1292
  );
1291
1293
  }
1292
1294
  const app = new Hono();
1293
- app.get("/", (c) => c.html(public_default));
1295
+ app.get("/", (c) => c.html(public_default.replaceAll("__SYN_VERSION__", VERSION)));
1294
1296
  app.get("/style.css", (c) => {
1295
1297
  c.header("Content-Type", "text/css; charset=utf-8");
1296
1298
  c.header("Cache-Control", "no-cache");
@@ -5039,7 +5041,7 @@ async function spawnClaude(bin, opts) {
5039
5041
  }
5040
5042
 
5041
5043
  // src/cli/index.ts
5042
- var VERSION = package_default.version;
5044
+ var VERSION2 = package_default.version;
5043
5045
  function printReadyBanner(info) {
5044
5046
  log.info("");
5045
5047
  log.info(` \u2705 scanned ${info.scan.parsed} files \xB7 ${info.scan.symbolCount} symbols \xB7 ${info.scan.edgeCount} edges`);
@@ -5126,7 +5128,7 @@ async function defaultFlow(rawPath, opts) {
5126
5128
  }
5127
5129
  function buildProgram() {
5128
5130
  const prog = sade("syn");
5129
- prog.version(VERSION).describe("Local context engine for AI coding assistants.");
5131
+ prog.version(VERSION2).describe("Local context engine for AI coding assistants.");
5130
5132
  prog.command(". [path]", "Scan + MCP + dashboard + hooks. Default flow \u2014 use with the Claude Code IDE extension.", {
5131
5133
  default: true
5132
5134
  }).option("--resume <id>", "Resume an existing Claude session (only with --launch-cli)").option("--launch-cli", "Also spawn `claude` CLI in this terminal (legacy M3 behavior)", false).action(async (path, opts) => {