@jmylchreest/aide-plugin 0.0.32 → 0.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmylchreest/aide-plugin",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "aide plugin for OpenCode — multi-agent orchestration, memory, skills, and persistence",
5
5
  "type": "module",
6
6
  "main": "./src/opencode/index.ts",
@@ -76,6 +76,10 @@ worktrees/
76
76
  memory/
77
77
  code/
78
78
 
79
+ # MCP sync state - machine-specific
80
+ config/mcp.json
81
+ config/mcp-sync.journal.json
82
+
79
83
  # Legacy top-level database
80
84
  aide-memory.db
81
85
 
@@ -90,17 +94,36 @@ aide-memory.db
90
94
  // Ignore
91
95
  }
92
96
  } else {
93
- // Migrate old gitignore format: ensure shared/ is allowed
97
+ // Migrate old gitignore format
94
98
  try {
95
- const existingContent = readFileSync(gitignorePath, "utf-8");
99
+ let existingContent = readFileSync(gitignorePath, "utf-8");
100
+ let updated = false;
101
+
102
+ // Ensure shared/ is allowed
96
103
  if (!existingContent.includes("!shared/")) {
97
- const updatedContent =
104
+ existingContent =
98
105
  existingContent.trimEnd() +
99
106
  `\n
100
107
  # Shared data IS committed (git-friendly markdown with frontmatter)
101
108
  !shared/
102
109
  `;
103
- writeFileSync(gitignorePath, updatedContent);
110
+ updated = true;
111
+ }
112
+
113
+ // Ensure MCP sync files are ignored
114
+ if (!existingContent.includes("config/mcp.json")) {
115
+ existingContent =
116
+ existingContent.trimEnd() +
117
+ `\n
118
+ # MCP sync state - machine-specific
119
+ config/mcp.json
120
+ config/mcp-sync.journal.json
121
+ `;
122
+ updated = true;
123
+ }
124
+
125
+ if (updated) {
126
+ writeFileSync(gitignorePath, existingContent);
104
127
  }
105
128
  } catch {
106
129
  // Ignore