@jmylchreest/aide-plugin 0.0.48 → 0.0.50
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 +1 -1
- package/src/core/session-init.ts +26 -0
package/package.json
CHANGED
package/src/core/session-init.ts
CHANGED
|
@@ -75,6 +75,10 @@ bin/
|
|
|
75
75
|
worktrees/
|
|
76
76
|
memory/
|
|
77
77
|
code/
|
|
78
|
+
grammars/
|
|
79
|
+
|
|
80
|
+
# Runtime socket - machine-specific
|
|
81
|
+
aide.sock
|
|
78
82
|
|
|
79
83
|
# MCP sync state - machine-specific
|
|
80
84
|
config/mcp.json
|
|
@@ -110,6 +114,28 @@ aide-memory.db
|
|
|
110
114
|
updated = true;
|
|
111
115
|
}
|
|
112
116
|
|
|
117
|
+
// Ensure grammars are ignored (platform-specific binaries)
|
|
118
|
+
if (!existingContent.includes("grammars/")) {
|
|
119
|
+
existingContent =
|
|
120
|
+
existingContent.trimEnd() +
|
|
121
|
+
`\n
|
|
122
|
+
# Tree-sitter grammars - platform-specific binaries
|
|
123
|
+
grammars/
|
|
124
|
+
`;
|
|
125
|
+
updated = true;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Ensure runtime socket is ignored
|
|
129
|
+
if (!existingContent.includes("aide.sock")) {
|
|
130
|
+
existingContent =
|
|
131
|
+
existingContent.trimEnd() +
|
|
132
|
+
`\n
|
|
133
|
+
# Runtime socket - machine-specific
|
|
134
|
+
aide.sock
|
|
135
|
+
`;
|
|
136
|
+
updated = true;
|
|
137
|
+
}
|
|
138
|
+
|
|
113
139
|
// Ensure MCP sync files are ignored
|
|
114
140
|
if (!existingContent.includes("config/mcp.json")) {
|
|
115
141
|
existingContent =
|