@vuau/agent-memory 0.6.0 → 0.6.2
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/README.vi.md +1 -1
- package/dist/bin/cli.js +1 -1
- package/package.json +2 -2
- package/templates/AGENTS.md +7 -7
- package/templates/CLAUDE.md +4 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vuau/agent-memory
|
|
2
2
|
|
|
3
|
-
Structured AI memory for codebases
|
|
3
|
+
Structured AI memory for codebases — for coding agents that read AGENTS.md
|
|
4
4
|
|
|
5
5
|
**[Tiếng Việt →](./README.vi.md)**
|
|
6
6
|
|
package/README.vi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vuau/agent-memory
|
|
2
2
|
|
|
3
|
-
Bộ nhớ AI có cấu trúc cho
|
|
3
|
+
Bộ nhớ AI có cấu trúc cho codebase — dành cho coding agents đọc AGENTS.md
|
|
4
4
|
|
|
5
5
|
**[English →](./README.md)**
|
|
6
6
|
|
package/dist/bin/cli.js
CHANGED
|
@@ -267,7 +267,7 @@ var args = process.argv.slice(2);
|
|
|
267
267
|
var command = args[0];
|
|
268
268
|
function printUsage() {
|
|
269
269
|
console.log(`
|
|
270
|
-
@vuau/agent-memory \u2014 Structured
|
|
270
|
+
@vuau/agent-memory \u2014 Structured memory for coding agents that read AGENTS.md
|
|
271
271
|
|
|
272
272
|
Usage:
|
|
273
273
|
agent-memory init [options] Scaffold .agents/ structure, AGENTS.md and CLAUDE.md
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuau/agent-memory",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "Structured
|
|
3
|
+
"version": "0.6.2",
|
|
4
|
+
"description": "Structured memory for coding agents that read AGENTS.md",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"exports": {
|
package/templates/AGENTS.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
# {{PROJECT_NAME}} - AGENTS
|
|
2
2
|
|
|
3
|
-
Router file for
|
|
3
|
+
Router file for coding agents.
|
|
4
4
|
|
|
5
5
|
> **Note**: This file is automatically managed by `@vuau/agent-memory`.
|
|
6
6
|
> Do not add project-specific rules here, as they may be overwritten by `agent-memory update`.
|
|
7
7
|
>
|
|
8
8
|
> 👉 **For project-specific rules, context, and document mapping, see `.agents/CUSTOM.md`**
|
|
9
|
-
>
|
|
10
|
-
> 💡 **Claude Code users**: Install `@vuau/agent-memory` and run `init` to auto-generate `CLAUDE.md` —
|
|
11
|
-
> a companion file that references this `AGENTS.md` so you get the same rules.
|
|
12
9
|
|
|
13
10
|
## Priority
|
|
14
11
|
1. User request first.
|
|
@@ -19,6 +16,9 @@ Router file for AI coding assistants: OpenCode, GitHub Copilot, Cursor, Windsurf
|
|
|
19
16
|
|
|
20
17
|
## Memory Protocol
|
|
21
18
|
|
|
19
|
+
### Session Start
|
|
20
|
+
- Read `.agents/MEMORY.md` before starting any task.
|
|
21
|
+
|
|
22
22
|
### When to write
|
|
23
23
|
- User approves a decision or pattern → append to `.agents/MEMORY.md`
|
|
24
24
|
- Explore codebase/architecture → update relevant `.agents/spec/*.md`
|
|
@@ -28,14 +28,14 @@ Router file for AI coding assistants: OpenCode, GitHub Copilot, Cursor, Windsurf
|
|
|
28
28
|
```
|
|
29
29
|
- YYYY-MM-DD: <1-line decision or pattern> → detail
|
|
30
30
|
```
|
|
31
|
-
Place under the appropriate category. Add `→ detail` pointer when full context exists in MEMORY-DETAIL.md
|
|
31
|
+
Place under the appropriate category. Add `→ detail` pointer when full context exists in `MEMORY-DETAIL.md`.
|
|
32
32
|
|
|
33
33
|
### TASKS.md update
|
|
34
34
|
Before ending a session with unfinished work, move items to `## In Progress` or `## Up Next`.
|
|
35
35
|
|
|
36
36
|
### Rules
|
|
37
|
-
- Keep MEMORY.md entries to 1 line each. Details go in spec files.
|
|
38
|
-
- If MEMORY.md > 150 lines, archive old entries.
|
|
37
|
+
- Keep `MEMORY.md` entries to 1 line each. Details go in spec files.
|
|
38
|
+
- If `MEMORY.md` > 150 lines, archive old entries.
|
|
39
39
|
- Do not create additional memory files outside `.agents/`.
|
|
40
40
|
|
|
41
41
|
## Coding Principles
|
package/templates/CLAUDE.md
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# {{PROJECT_NAME}} - CLAUDE.md
|
|
2
2
|
|
|
3
|
-
Router file for Claude Code.
|
|
4
|
-
|
|
5
3
|
> **Note**: This file is auto-generated by `@vuau/agent-memory`.
|
|
6
4
|
> Do not edit directly.
|
|
7
|
-
>
|
|
8
|
-
> 👉 **All project rules live in `AGENTS.md`** — you MUST read that file for context and instructions.
|
|
9
5
|
|
|
10
6
|
## Rules
|
|
11
7
|
|
|
12
8
|
All project rules, memory protocol, and response style are defined in **[AGENTS.md](./AGENTS.md)**.
|
|
13
9
|
|
|
14
|
-
|
|
10
|
+
You MUST read `AGENTS.md` before making any changes.
|
|
11
|
+
|
|
12
|
+
### Session Start
|
|
13
|
+
- Read `.agents/MEMORY.md` for accumulated project context before starting any task.
|