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.
- package/README.md +1 -1
- package/dist/scripts/cc-memory-bulk-sync.d.ts.map +1 -1
- package/dist/scripts/cc-memory-bulk-sync.js +6 -15
- package/dist/scripts/cc-memory-bulk-sync.js.map +1 -1
- package/dist/scripts/cc-session-sync.d.ts +32 -0
- package/dist/scripts/cc-session-sync.d.ts.map +1 -0
- package/dist/scripts/cc-session-sync.js +289 -0
- package/dist/scripts/cc-session-sync.js.map +1 -0
- package/dist/scripts/lib/constants.d.ts +2 -0
- package/dist/scripts/lib/constants.d.ts.map +1 -1
- package/dist/scripts/lib/constants.js +3 -1
- package/dist/scripts/lib/constants.js.map +1 -1
- package/dist/scripts/lib/privacy-filter.d.ts.map +1 -1
- package/dist/scripts/lib/privacy-filter.js +20 -2
- package/dist/scripts/lib/privacy-filter.js.map +1 -1
- package/dist/scripts/lib/sync-helpers.d.ts +37 -0
- package/dist/scripts/lib/sync-helpers.d.ts.map +1 -0
- package/dist/scripts/lib/sync-helpers.js +17 -0
- package/dist/scripts/lib/sync-helpers.js.map +1 -0
- package/dist/tests/cc-memory-bulk-sync.test.js +3 -0
- package/dist/tests/cc-memory-bulk-sync.test.js.map +1 -1
- package/dist/tests/cc-session-sync.test.d.ts +2 -0
- package/dist/tests/cc-session-sync.test.d.ts.map +1 -0
- package/dist/tests/cc-session-sync.test.js +306 -0
- package/dist/tests/cc-session-sync.test.js.map +1 -0
- package/dist/tests/helpers/db.d.ts.map +1 -1
- package/dist/tests/helpers/db.js +9 -1
- package/dist/tests/helpers/db.js.map +1 -1
- package/hooks/mindlore-session-end.cjs +17 -17
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/mindlore-decide/SKILL.md +3 -4
- package/skills/mindlore-diary/SKILL.md +3 -4
- package/skills/mindlore-evolve/SKILL.md +3 -4
- package/skills/mindlore-health/SKILL.md +3 -5
- package/skills/mindlore-ingest/SKILL.md +3 -4
- package/skills/mindlore-log/SKILL.md +3 -4
- package/skills/mindlore-maintain/SKILL.md +3 -4
- package/skills/mindlore-query/SKILL.md +3 -4
- package/skills/mindlore-reflect/SKILL.md +3 -4
- 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
|
-
|
|
15
|
-
|
|
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
|
-
|
|
9
|
-
|
|
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
|
package/templates/config.json
CHANGED