mindlore 0.5.6 → 0.5.7

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 (41) hide show
  1. package/README.md +1 -1
  2. package/dist/scripts/cc-memory-bulk-sync.d.ts.map +1 -1
  3. package/dist/scripts/cc-memory-bulk-sync.js +6 -15
  4. package/dist/scripts/cc-memory-bulk-sync.js.map +1 -1
  5. package/dist/scripts/cc-session-sync.d.ts +32 -0
  6. package/dist/scripts/cc-session-sync.d.ts.map +1 -0
  7. package/dist/scripts/cc-session-sync.js +289 -0
  8. package/dist/scripts/cc-session-sync.js.map +1 -0
  9. package/dist/scripts/lib/constants.d.ts +2 -0
  10. package/dist/scripts/lib/constants.d.ts.map +1 -1
  11. package/dist/scripts/lib/constants.js +3 -1
  12. package/dist/scripts/lib/constants.js.map +1 -1
  13. package/dist/scripts/lib/privacy-filter.d.ts.map +1 -1
  14. package/dist/scripts/lib/privacy-filter.js +20 -2
  15. package/dist/scripts/lib/privacy-filter.js.map +1 -1
  16. package/dist/scripts/lib/sync-helpers.d.ts +37 -0
  17. package/dist/scripts/lib/sync-helpers.d.ts.map +1 -0
  18. package/dist/scripts/lib/sync-helpers.js +17 -0
  19. package/dist/scripts/lib/sync-helpers.js.map +1 -0
  20. package/dist/tests/cc-memory-bulk-sync.test.js +3 -0
  21. package/dist/tests/cc-memory-bulk-sync.test.js.map +1 -1
  22. package/dist/tests/cc-session-sync.test.d.ts +2 -0
  23. package/dist/tests/cc-session-sync.test.d.ts.map +1 -0
  24. package/dist/tests/cc-session-sync.test.js +306 -0
  25. package/dist/tests/cc-session-sync.test.js.map +1 -0
  26. package/dist/tests/helpers/db.d.ts.map +1 -1
  27. package/dist/tests/helpers/db.js +9 -1
  28. package/dist/tests/helpers/db.js.map +1 -1
  29. package/hooks/mindlore-session-end.cjs +17 -17
  30. package/package.json +1 -1
  31. package/plugin.json +1 -1
  32. package/skills/mindlore-decide/SKILL.md +3 -4
  33. package/skills/mindlore-diary/SKILL.md +3 -4
  34. package/skills/mindlore-evolve/SKILL.md +3 -4
  35. package/skills/mindlore-health/SKILL.md +3 -5
  36. package/skills/mindlore-ingest/SKILL.md +3 -4
  37. package/skills/mindlore-log/SKILL.md +3 -4
  38. package/skills/mindlore-maintain/SKILL.md +3 -4
  39. package/skills/mindlore-query/SKILL.md +3 -4
  40. package/skills/mindlore-reflect/SKILL.md +3 -4
  41. package/templates/config.json +1 -1
@@ -11,11 +11,10 @@ Search, ask, analyze, and retrieve knowledge from `.mindlore/`.
11
11
 
12
12
  ## Script Resolution
13
13
 
14
- All script paths are relative to this skill's package root.
15
- Package root = 2 directories up from this skill's base directory.
14
+ Resolve `MINDLORE_PKG` (package root) using one of these methods, in order:
15
+ 1. If CC injected "Base directory for this skill: /path/to/skills/mindlore-query" → `MINDLORE_PKG = {base_directory}/../..`
16
+ 2. Fallback: run `node -e "console.log(require('path').join(require('child_process').execSync('npm root -g',{encoding:'utf8'}).trim(),'mindlore')))"`
16
17
 
17
- When CC loads this skill, it shows "Base directory for this skill: /path/to/skills/mindlore-query".
18
- Compute: `MINDLORE_PKG = {base_directory}/../..`
19
18
  Use: `node "$MINDLORE_PKG/dist/scripts/..."` for all script commands.
20
19
 
21
20
  ## Scope
@@ -5,11 +5,10 @@ description: Pattern extraction from episodes — 3-tier confidence, nomination
5
5
 
6
6
  ## Script Resolution
7
7
 
8
- All script paths are relative to this skill's package root.
9
- Package root = 2 directories up from this skill's base directory.
8
+ Resolve `MINDLORE_PKG` (package root) using one of these methods, in order:
9
+ 1. If CC injected "Base directory for this skill: /path/to/skills/mindlore-reflect" → `MINDLORE_PKG = {base_directory}/../..`
10
+ 2. Fallback: run `node -e "console.log(require('path').join(require('child_process').execSync('npm root -g',{encoding:'utf8'}).trim(),'mindlore')))"`
10
11
 
11
- When CC loads this skill, it shows "Base directory for this skill: /path/to/skills/mindlore-reflect".
12
- Compute: `MINDLORE_PKG = {base_directory}/../..`
13
12
  Use: `node "$MINDLORE_PKG/dist/scripts/..."` for all script commands.
14
13
 
15
14
  # /mindlore-reflect
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.6",
2
+ "version": "0.5.7",
3
3
  "models": {
4
4
  "ingest": "haiku",
5
5
  "evolve": "sonnet",