aidimag 1.0.9 → 1.0.10

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.
@@ -73,11 +73,10 @@ This project uses aiDimag for persistent memory. Always consult memory before pr
73
73
  const current = existsSync(rootIgnore) ? readFileSync(rootIgnore, "utf8") : "";
74
74
  const folder = resolveKnowledgeConfig(root).folder;
75
75
  const additions = [];
76
- if (!current.includes(".aidimag/memory.db"))
77
- additions.push(".aidimag/memory.db*");
78
- // keep dropped knowledge docs (may contain secrets) out of git, but track the folder
79
- if (!current.includes(`${folder}/*`))
80
- additions.push(`${folder}/*`, `!${folder}/.gitkeep`);
76
+ if (!current.includes(".aidimag"))
77
+ additions.push(".aidimag");
78
+ if (!current.includes(folder))
79
+ additions.push(folder);
81
80
  // generated context files (users can commit them if they want, but default is gitignored)
82
81
  if (!current.includes("CLAUDE.md"))
83
82
  additions.push("CLAUDE.md");
@@ -87,6 +86,8 @@ This project uses aiDimag for persistent memory. Always consult memory before pr
87
86
  additions.push(".windsurfrules");
88
87
  if (!current.includes("AGENTS.md"))
89
88
  additions.push("AGENTS.md");
89
+ if (!current.includes(".github/copilot-instructions.md"))
90
+ additions.push(".github/copilot-instructions.md");
90
91
  if (additions.length) {
91
92
  appendFileSync(rootIgnore, `${current.endsWith("\n") || current === "" ? "" : "\n"}${additions.join("\n")}\n`);
92
93
  console.log(`\nUpdated ${rootIgnore} (ignored memory.db + ${folder}/ drops + generated context files)`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidimag",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Persistent, verified memory for AI coding agents. CLI: dim.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",