@trlc/super-memory 1.3.0 → 1.3.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/index.js +3 -28
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,11 +9,9 @@
|
|
|
9
9
|
* super-memory search "query term"
|
|
10
10
|
* super-memory sync
|
|
11
11
|
* super-memory status
|
|
12
|
-
* super-memory
|
|
13
|
-
* super-memory curate [--days=7] [--dry-run] ← NEW!
|
|
12
|
+
* super-memory curate [--days=7] [--dry-run]
|
|
14
13
|
*/
|
|
15
14
|
import { execSync } from 'child_process';
|
|
16
|
-
import { startDashboard } from './commands/dashboard.js';
|
|
17
15
|
import { cmdIndexUpdate } from './commands/indexUpdate.js';
|
|
18
16
|
import { cmdFlush } from './commands/flush.js';
|
|
19
17
|
import { cmdMaintenance } from './commands/maintenance.js';
|
|
@@ -257,7 +255,6 @@ async function cmdInit(args) {
|
|
|
257
255
|
super-memory search "query"
|
|
258
256
|
super-memory sync
|
|
259
257
|
super-memory status
|
|
260
|
-
super-memory dashboard
|
|
261
258
|
|
|
262
259
|
🦞 Welcome to The Red Lobster Cartel!
|
|
263
260
|
`);
|
|
@@ -581,10 +578,6 @@ COMMANDS:
|
|
|
581
578
|
|
|
582
579
|
status Show status and stats
|
|
583
580
|
|
|
584
|
-
dashboard Open web dashboard
|
|
585
|
-
--port=8765 Custom port
|
|
586
|
-
--no-browser Don't auto-open browser
|
|
587
|
-
|
|
588
581
|
index-update Update progressive MEMORY_INDEX.md (Layer 4)
|
|
589
582
|
Also auto-curates to MEMORY.md
|
|
590
583
|
|
|
@@ -598,10 +591,6 @@ COMMANDS:
|
|
|
598
591
|
|
|
599
592
|
categorize <id> Auto-categorize memory entry
|
|
600
593
|
|
|
601
|
-
dashboard Open web dashboard
|
|
602
|
-
--port=8765 Custom port
|
|
603
|
-
--no-browser Don't auto-open browser
|
|
604
|
-
|
|
605
594
|
help Show this help
|
|
606
595
|
|
|
607
596
|
EXAMPLES:
|
|
@@ -610,22 +599,11 @@ EXAMPLES:
|
|
|
610
599
|
super-memory search "cors error"
|
|
611
600
|
super-memory sync
|
|
612
601
|
super-memory status
|
|
613
|
-
super-memory dashboard
|
|
614
|
-
super-memory dashboard --port=3000 --no-browser
|
|
615
602
|
|
|
616
|
-
WEBSITE: https://
|
|
617
|
-
SUPPORT: support@
|
|
603
|
+
WEBSITE: https://redlobstercartel.ai/super-memory
|
|
604
|
+
SUPPORT: support@redlobstercartel.ai
|
|
618
605
|
`);
|
|
619
606
|
}
|
|
620
|
-
// COMMAND: dashboard
|
|
621
|
-
async function cmdDashboard(args) {
|
|
622
|
-
const portArg = args.find(arg => arg.startsWith('--port='))?.split('=')[1];
|
|
623
|
-
const noBrowser = args.includes('--no-browser');
|
|
624
|
-
await startDashboard({
|
|
625
|
-
port: portArg ? parseInt(portArg, 10) : undefined,
|
|
626
|
-
noBrowser,
|
|
627
|
-
});
|
|
628
|
-
}
|
|
629
607
|
// Main
|
|
630
608
|
async function main() {
|
|
631
609
|
const args = process.argv.slice(2);
|
|
@@ -647,9 +625,6 @@ async function main() {
|
|
|
647
625
|
case 'status':
|
|
648
626
|
await cmdStatus(cmdArgs);
|
|
649
627
|
break;
|
|
650
|
-
case 'dashboard':
|
|
651
|
-
await cmdDashboard(cmdArgs);
|
|
652
|
-
break;
|
|
653
628
|
case 'index-update':
|
|
654
629
|
await cmdIndexUpdate(cmdArgs);
|
|
655
630
|
break;
|