@hbarefoot/engram 1.2.0 → 1.4.0
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/README.md +1 -1
- package/bin/engram.js +4 -1
- package/dashboard/dist/assets/index-C0aJJ5-D.js +109 -0
- package/dashboard/dist/assets/index-DFWnnKIv.css +1 -0
- package/dashboard/dist/index.html +2 -2
- package/dashboard/package.json +2 -1
- package/package.json +1 -1
- package/src/import/parsers/claude.js +69 -17
- package/src/import/parsers/cursorrules.js +55 -16
- package/src/import/parsers/env.js +52 -11
- package/src/import/parsers/git.js +54 -11
- package/src/import/parsers/obsidian.js +17 -2
- package/src/import/parsers/package.js +55 -8
- package/src/import/parsers/shell.js +60 -30
- package/src/import/parsers/ssh.js +57 -10
- package/src/import/wizard.js +14 -5
- package/src/memory/analytics.js +259 -0
- package/src/memory/health.js +100 -0
- package/src/server/rest.js +121 -5
- package/dashboard/dist/assets/index-D0xT6oKC.css +0 -1
- package/dashboard/dist/assets/index-D3bysGhj.js +0 -45
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# <img src="engram-logo.png" alt="Engram" width="32" height="32" style="vertical-align: middle;" /> Engram
|
|
2
2
|
|
|
3
3
|
[](https://github.com/HBarefoot/engram/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/@hbarefoot/engram)
|
package/bin/engram.js
CHANGED
|
@@ -587,14 +587,17 @@ program
|
|
|
587
587
|
.option('--dry-run', 'Preview without committing')
|
|
588
588
|
.option('-n, --namespace <name>', 'Override namespace for imported memories')
|
|
589
589
|
.option('--config <path>', 'Path to config file')
|
|
590
|
+
.option('-p, --paths <dirs>', 'Additional directories to scan (comma-separated)')
|
|
590
591
|
.action(async (options) => {
|
|
591
592
|
try {
|
|
592
593
|
const { runWizard } = await import('../src/import/wizard.js');
|
|
594
|
+
const paths = options.paths ? options.paths.split(',').map(p => p.trim()).filter(Boolean) : undefined;
|
|
593
595
|
await runWizard({
|
|
594
596
|
source: options.source,
|
|
595
597
|
dryRun: options.dryRun,
|
|
596
598
|
namespace: options.namespace,
|
|
597
|
-
config: options.config
|
|
599
|
+
config: options.config,
|
|
600
|
+
paths
|
|
598
601
|
});
|
|
599
602
|
} catch (error) {
|
|
600
603
|
const f = await loadFormat();
|