@hir4ta/mneme 0.25.3 → 0.25.4
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/.claude-plugin/plugin.json +1 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/server.js +14 -3
- package/dist/servers/db-server.js +26 -26
- package/package.json +1 -1
- package/servers/db/save.ts +4 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mneme",
|
|
3
3
|
"description": "A plugin that provides long-term memory for Claude Code. It automatically saves context lost during auto-compact, offering features for session restoration, recording technical decisions, and learning developer patterns.",
|
|
4
|
-
"version": "0.25.
|
|
4
|
+
"version": "0.25.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "hir4ta"
|
|
7
7
|
},
|
package/README.ja.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mneme
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|

|
|
5
5
|
[](https://www.npmjs.com/package/@hir4ta/mneme)
|
|
6
6
|
[](https://github.com/hir4ta/mneme/blob/main/LICENSE)
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mneme
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|

|
|
5
5
|
[](https://www.npmjs.com/package/@hir4ta/mneme)
|
|
6
6
|
[](https://github.com/hir4ta/mneme/blob/main/LICENSE)
|
package/dist/server.js
CHANGED
|
@@ -4496,7 +4496,7 @@ misc.get("/project", (c) => {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
} catch {
|
|
4498
4498
|
}
|
|
4499
|
-
const version = "0.25.
|
|
4499
|
+
const version = "0.25.4";
|
|
4500
4500
|
return c.json({
|
|
4501
4501
|
name: projectName,
|
|
4502
4502
|
path: projectRoot,
|
|
@@ -5189,8 +5189,19 @@ function buildGroupedInteractions(interactions) {
|
|
|
5189
5189
|
};
|
|
5190
5190
|
} else if (interaction.role === "assistant") {
|
|
5191
5191
|
if (current) {
|
|
5192
|
-
current.assistant
|
|
5193
|
-
|
|
5192
|
+
if (current.assistant) {
|
|
5193
|
+
current.assistant += `
|
|
5194
|
+
|
|
5195
|
+
${interaction.content}`;
|
|
5196
|
+
if (interaction.thinking) {
|
|
5197
|
+
current.thinking = current.thinking ? `${current.thinking}
|
|
5198
|
+
|
|
5199
|
+
${interaction.thinking}` : interaction.thinking;
|
|
5200
|
+
}
|
|
5201
|
+
} else {
|
|
5202
|
+
current.assistant = interaction.content;
|
|
5203
|
+
current.thinking = interaction.thinking || null;
|
|
5204
|
+
}
|
|
5194
5205
|
} else {
|
|
5195
5206
|
const meta = parseInteractionMetadata(interaction.tool_calls);
|
|
5196
5207
|
current = {
|