memory-bank-skill 5.7.4 → 5.7.5
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/dist/cli.js +19 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import { fileURLToPath } from "url";
|
|
|
10
10
|
// package.json
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "memory-bank-skill",
|
|
13
|
-
version: "5.7.
|
|
13
|
+
version: "5.7.5",
|
|
14
14
|
description: "Memory Bank - \u9879\u76EE\u8BB0\u5FC6\u7CFB\u7EDF\uFF0C\u8BA9 AI \u52A9\u624B\u5728\u6BCF\u6B21\u5BF9\u8BDD\u4E2D\u90FD\u80FD\u5FEB\u901F\u7406\u89E3\u9879\u76EE\u4E0A\u4E0B\u6587",
|
|
15
15
|
type: "module",
|
|
16
16
|
main: "dist/plugin.js",
|
|
@@ -271,6 +271,24 @@ async function installPluginToConfig(undoStack) {
|
|
|
271
271
|
changes.push(`Added plugin: ${pluginPackageWithVersion}`);
|
|
272
272
|
modified = true;
|
|
273
273
|
}
|
|
274
|
+
if (!config.agent) {
|
|
275
|
+
config.agent = {};
|
|
276
|
+
}
|
|
277
|
+
const writerAgent = {
|
|
278
|
+
description: "Memory Bank \u4E13\u7528\u5199\u5165\u4EE3\u7406",
|
|
279
|
+
model: "cliproxy/claude-opus-4-5-20251101",
|
|
280
|
+
tools: {
|
|
281
|
+
write: true,
|
|
282
|
+
edit: true,
|
|
283
|
+
bash: false
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
const existingWriter = config.agent["memory-bank-writer"];
|
|
287
|
+
if (!existingWriter || JSON.stringify(existingWriter) !== JSON.stringify(writerAgent)) {
|
|
288
|
+
config.agent["memory-bank-writer"] = writerAgent;
|
|
289
|
+
changes.push(existingWriter ? "Updated agent: memory-bank-writer" : "Added agent: memory-bank-writer");
|
|
290
|
+
modified = true;
|
|
291
|
+
}
|
|
274
292
|
if (modified) {
|
|
275
293
|
const newContent = JSON.stringify(config, null, 2) + `
|
|
276
294
|
`;
|