@aperdomoll90/ledger-ai 1.1.0 → 1.1.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/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Command } from 'commander';
|
|
3
|
+
import { createRequire } from 'module';
|
|
3
4
|
import { loadConfig } from './lib/config.js';
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const { version } = require('../package.json');
|
|
4
7
|
import { pull } from './commands/pull.js';
|
|
5
8
|
import { push } from './commands/push.js';
|
|
6
9
|
import { check } from './commands/check.js';
|
|
@@ -29,7 +32,7 @@ const program = new Command();
|
|
|
29
32
|
program
|
|
30
33
|
.name('ledger')
|
|
31
34
|
.description('AI identity and memory system — sync knowledge across agents and devices')
|
|
32
|
-
.version(
|
|
35
|
+
.version(version);
|
|
33
36
|
program
|
|
34
37
|
.command('pull')
|
|
35
38
|
.description('Download notes from Ledger to local cache')
|
package/package.json
CHANGED