@shahmilsaari/memory-core 0.2.13 → 0.2.15
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 +74 -10
- package/dist/{chunk-25Y2KI7M.js → chunk-DUUQHRIB.js} +6 -2
- package/dist/cli.js +844 -151
- package/dist/{db-5X5LTUCB.js → db-VLOR7L6Q.js} +1 -1
- package/package.json +4 -1
- package/templates/AGENTS.md.hbs +2 -3
- package/templates/AI_RULES.md.hbs +1 -2
- package/templates/CLAUDE.md.hbs +1 -1
- package/templates/PROJECT_MEMORY.md.hbs +2 -2
- package/templates/copilot-instructions.md.hbs +1 -1
- package/templates/cursorrules.hbs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shahmilsaari/memory-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Universal AI memory core — generate AI context files from architecture profiles with RAG support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsup",
|
|
16
16
|
"typecheck": "tsc --noEmit",
|
|
17
|
+
"lint": "node scripts/lint.mjs",
|
|
18
|
+
"smoke:pack": "node scripts/pack-smoke.mjs",
|
|
19
|
+
"smoke:npx": "node scripts/npx-init-smoke.mjs",
|
|
17
20
|
"dev": "tsx src/cli.ts",
|
|
18
21
|
"start": "node dist/cli.js",
|
|
19
22
|
"test": "node --import tsx --test test/**/*.test.ts"
|
package/templates/AGENTS.md.hbs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# AGENTS.md — {{projectName}}
|
|
2
|
-
<!-- Generated by memory-core on {{generatedAt}} —
|
|
2
|
+
<!-- Generated by memory-core on {{generatedAt}} — auto-sync keeps this fresh; manual refresh: memory-core sync -->
|
|
3
3
|
|
|
4
4
|
**Type:** {{projectType}} | **Language:** {{language}}
|
|
5
5
|
{{#if hasBackend}}**Backend:** {{backendArchitecture}}{{/if}}
|
|
6
6
|
{{#if hasFrontend}}**Frontend:** {{frontendFramework}}{{/if}}
|
|
7
7
|
|
|
8
|
-
---
|
|
9
8
|
{{#if hasBackend}}
|
|
10
9
|
## Backend Rules — {{backendArchitecture}}
|
|
11
10
|
{{bullet backendRules}}
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
{{#if hasMemories}}
|
|
31
30
|
|
|
32
31
|
---
|
|
33
|
-
## Memory from Previous Projects
|
|
32
|
+
## Relevant Memory from Previous Projects
|
|
34
33
|
{{#each memories}}
|
|
35
34
|
- [{{type}}{{#if this.architecture}} · {{this.architecture}}{{/if}}] {{content}}
|
|
36
35
|
{{/each}}
|
|
@@ -7,7 +7,6 @@ These rules apply to ALL AI agents in this project.
|
|
|
7
7
|
{{#if hasBackend}}**Backend:** {{backendArchitecture}}{{/if}}
|
|
8
8
|
{{#if hasFrontend}}**Frontend:** {{frontendFramework}}{{/if}}
|
|
9
9
|
|
|
10
|
-
---
|
|
11
10
|
{{#if hasBackend}}
|
|
12
11
|
## Backend — {{backendArchitecture}}
|
|
13
12
|
{{numbered backendRules}}
|
|
@@ -26,7 +25,7 @@ These rules apply to ALL AI agents in this project.
|
|
|
26
25
|
{{#if hasMemories}}
|
|
27
26
|
|
|
28
27
|
---
|
|
29
|
-
## Inherited Decisions
|
|
28
|
+
## Relevant Inherited Decisions
|
|
30
29
|
{{#each memories}}
|
|
31
30
|
{{@index}}. **[{{type}}]** {{content}}
|
|
32
31
|
{{#if tags.length}}_tags: {{join tags ", "}}_{{/if}}
|
package/templates/CLAUDE.md.hbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Project Memory — {{projectName}}
|
|
2
|
-
<!-- Generated by memory-core on {{generatedAt}} —
|
|
2
|
+
<!-- Generated by memory-core on {{generatedAt}} — auto-sync keeps this fresh; manual refresh: memory-core sync -->
|
|
3
3
|
|
|
4
4
|
Architecture: {{architecture}}
|
|
5
5
|
Stack: {{language}}
|
|
@@ -28,4 +28,4 @@ memory-core remember "Your architectural decision here"
|
|
|
28
28
|
---
|
|
29
29
|
_Add memories: `memory-core remember "..."`_
|
|
30
30
|
_Search memories: `memory-core search "..."`_
|
|
31
|
-
|
|
31
|
+
_Auto-sync is enabled by default after memory changes. Manual refresh: `memory-core sync`._
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copilot Instructions
|
|
2
|
-
<!-- Generated by memory-core on {{generatedAt}} —
|
|
2
|
+
<!-- Generated by memory-core on {{generatedAt}} — auto-sync keeps this fresh; manual refresh: memory-core sync -->
|
|
3
3
|
|
|
4
4
|
Project: **{{projectName}}** · Type: **{{projectType}}** · Language: **{{language}}**
|
|
5
5
|
{{#if hasBackend}}Backend: {{backendArchitecture}}{{/if}}{{#if hasFrontend}} | Frontend: {{frontendFramework}}{{/if}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Cursor Rules — {{projectName}}
|
|
2
|
-
# Generated by memory-core on {{generatedAt}} —
|
|
2
|
+
# Generated by memory-core on {{generatedAt}} — auto-sync keeps this fresh; manual refresh: memory-core sync
|
|
3
3
|
|
|
4
4
|
Type: {{projectType}} | Language: {{language}}
|
|
5
5
|
{{#if hasBackend}}Backend: {{backendArchitecture}}{{/if}}{{#if hasFrontend}} | Frontend: {{frontendFramework}}{{/if}}
|