cans-spec 0.1.1 → 0.1.2

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/package.json +1 -1
  2. package/src/cli.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cans-spec",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Canonical Agent-Native Spec — the outline is the spec, the state, and the task board",
5
5
  "bin": {
6
6
  "cans": "./src/cli.ts"
package/src/cli.ts CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  import type { CommandResult } from './types';
4
4
  import { emit } from './core/output';
5
+ import pkg from '../package.json';
5
6
 
6
- /** §44: version line. Keep in sync with package.json. */
7
- const VERSION = '0.1.0';
7
+ /** §44: version line — derived from package.json so it can never drift. */
8
+ const VERSION: string = pkg.version;
8
9
 
9
10
  const [cmd, ...args] = Bun.argv.slice(2);
10
11