@hienlh/ppm 0.5.4 → 0.5.6

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
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.6] - 2026-03-18
4
+
5
+ ### Added
6
+ - All CLI commands now print PPM version before execution for easy version verification
7
+
8
+ ## [0.5.5] - 2026-03-18
9
+
10
+ ### Fixed
11
+ - **Windows: PowerShell Start-Process fails with empty config arg** — filter empty strings from daemon spawn arguments
12
+
3
13
  ## [0.5.4] - 2026-03-18
4
14
 
5
15
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hienlh/ppm",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "Personal Project Manager — mobile-first web IDE with AI assistance",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -7,7 +7,10 @@ const program = new Command();
7
7
  program
8
8
  .name("ppm")
9
9
  .description("Personal Project Manager — mobile-first web IDE")
10
- .version(VERSION);
10
+ .version(VERSION)
11
+ .hook("preAction", () => {
12
+ console.log(` PPM v${VERSION}\n`);
13
+ });
11
14
 
12
15
  program
13
16
  .command("start")
@@ -302,7 +302,7 @@ export async function startServer(options: {
302
302
  const logFd = openSync(logFile, "a");
303
303
  const { resolve: resolvePath } = await import("node:path");
304
304
  const script = resolvePath(import.meta.dir, "index.ts");
305
- const args = ["__serve__", String(port), host, options.config ?? ""];
305
+ const args = ["__serve__", String(port), host, options.config ?? ""].filter(Boolean);
306
306
 
307
307
  let childPid: number;
308
308
 
@@ -358,7 +358,7 @@ export async function startServer(options: {
358
358
  writeFileSync(statusFile, JSON.stringify(status));
359
359
  writeFileSync(pidFile, String(childPid));
360
360
 
361
- console.log(`\n PPM v${VERSION} daemon started (PID: ${childPid})\n`);
361
+ console.log(` Daemon started (PID: ${childPid})\n`);
362
362
  console.log(` ➜ Local: http://localhost:${port}/`);
363
363
  if (shareUrl) {
364
364
  console.log(` ➜ Share: ${shareUrl}`);
@@ -441,7 +441,7 @@ export async function startServer(options: {
441
441
  // Start background usage polling
442
442
  import("../services/claude-usage.service.ts").then(({ startUsagePolling }) => startUsagePolling()).catch(() => {});
443
443
 
444
- console.log(`\n PPM v${VERSION} ready\n`);
444
+ console.log(`\n PPM ready\n`);
445
445
  console.log(` ➜ Local: http://localhost:${server.port}/`);
446
446
 
447
447
  const { networkInterfaces } = await import("node:os");