@jclvsh/dropspace 2.0.3 → 2.0.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 +3 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire } from "node:module";
2
3
  import { Command } from "commander";
3
4
  import { DropspaceClient } from "./client.js";
4
5
  import { handleError } from "./cli-utils.js";
6
+ const pkg = createRequire(import.meta.url)("../package.json");
5
7
  import { registerLaunchCommands } from "./commands/launches.js";
6
8
  import { registerPersonaCommands } from "./commands/personas.js";
7
9
  import { registerConnectionCommands } from "./commands/connections.js";
@@ -12,7 +14,7 @@ import { registerUsageCommands } from "./commands/usage.js";
12
14
  const program = new Command()
13
15
  .name("dropspace")
14
16
  .description("dropspace CLI - manage launches, personas, and more")
15
- .version("2.0.0")
17
+ .version(pkg.version)
16
18
  .option("--json", "output as JSON (default)")
17
19
  .option("--format <fmt>", "output format: json, table", "json");
18
20
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jclvsh/dropspace",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "MCP server and CLI for the Dropspace API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",