memoryintel 1.1.0 → 1.1.1
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.
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Persistent, cross-session project memory for AI coding agents.",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.1"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "memoryintel",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Persistent project memory for AI coding agents — initialize once, then agents automatically load and update project understanding across sessions.",
|
|
16
|
-
"version": "1.1.
|
|
16
|
+
"version": "1.1.1"
|
|
17
17
|
}
|
|
18
18
|
]
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memoryintel",
|
|
3
3
|
"description": "Persistent project memory for AI coding agents — initialize once, then agents automatically load and update project understanding across sessions.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Adeesh Sharma",
|
|
7
7
|
"url": "https://github.com/adeeshsharma"
|
package/dist/commands/init.js
CHANGED
|
@@ -40,6 +40,28 @@ section, content, reason), write it to a file, and run \`memoryintel update <pla
|
|
|
40
40
|
nothing piped to stdin fails (there is no plan to apply). Reuse exact existing heading names from
|
|
41
41
|
the manifest \`load\` gave you. If nothing meaningful changed, do nothing — do not call \`update\`.
|
|
42
42
|
|
|
43
|
+
**The exact TOON format \`update\` expects** - this is the one place a malformed plan fails
|
|
44
|
+
outright rather than degrading gracefully, so match it exactly rather than improvising:
|
|
45
|
+
|
|
46
|
+
items[2]{file,action,section,content,reason}:
|
|
47
|
+
"path/to/file.md","append","Section Heading","New paragraph to add.","Why this changed"
|
|
48
|
+
"path/to/other.md","create-section","New Heading","Content, comma and all.","Why"
|
|
49
|
+
|
|
50
|
+
- The header line is literal: \`items[\`, the row count, \`]{\`, the field names in this exact
|
|
51
|
+
order and spelling (\`file,action,section,content,reason\` - add \`,kind\` only for a compaction
|
|
52
|
+
row, see "Compaction" below), \`}:\`. The row count MUST equal the number of rows that follow, or
|
|
53
|
+
\`update\` rejects the whole plan with nothing applied.
|
|
54
|
+
- \`action\` is exactly one of three values: \`append\` (add to the end of an existing section's
|
|
55
|
+
content), \`replace\` (overwrite the section's entire content), or \`create-section\` (add a new
|
|
56
|
+
\`##\` heading if it doesn't already exist - degrades to a plain \`append\` if it does).
|
|
57
|
+
- Each row is comma-separated fields in that same header order, indented two spaces.
|
|
58
|
+
- **Quote a field in double quotes whenever its content contains a comma, a double quote, a
|
|
59
|
+
newline, or starts with whitespace** - leave every other field unquoted. Double any literal
|
|
60
|
+
\`"\` inside a quoted field (\`"\` becomes \`""\`). A quoted field may span multiple physical lines.
|
|
61
|
+
Example: content \`He said "hi", then left\` must be written as \`"He said ""hi"", then left"\`.
|
|
62
|
+
- \`context/currentMentalModel.md\` is the one exception to \`action\`: its row's \`content\` replaces
|
|
63
|
+
the file's entire content verbatim, regardless of what \`action\`/\`section\` say.
|
|
64
|
+
|
|
43
65
|
Also include a row for \`context/currentMentalModel.md\` whenever the update is more than a small,
|
|
44
66
|
localized fact — anything that shifts what the project *is* or where it currently stands (not
|
|
45
67
|
every single decision/progress entry needs one). Unlike every other file, it is a **whole-file
|