ropilot 0.1.27 → 0.1.28
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/lib/setup.js +3 -3
- package/package.json +1 -1
package/lib/setup.js
CHANGED
|
@@ -240,7 +240,7 @@ async function downloadPrompts(apiKey) {
|
|
|
240
240
|
*/
|
|
241
241
|
function getDefaultPrompts() {
|
|
242
242
|
return {
|
|
243
|
-
'CLAUDE.md':
|
|
243
|
+
'CLAUDE.md': `@./ROPILOT.md\n`,
|
|
244
244
|
'ROPILOT.md': `# Ropilot\n\nRoblox Studio AI assistant. Use ropilot_* MCP tools to interact with Studio.\n`
|
|
245
245
|
};
|
|
246
246
|
}
|
|
@@ -265,8 +265,8 @@ function setupProjectPrompts(pkg) {
|
|
|
265
265
|
if (existsSync(fullPath)) {
|
|
266
266
|
if (fullPath === 'CLAUDE.md') {
|
|
267
267
|
const existing = readFileSync(fullPath, 'utf-8');
|
|
268
|
-
if (!existing.includes('
|
|
269
|
-
writeFileSync(fullPath, existing.trimEnd() + '\n\n
|
|
268
|
+
if (!existing.includes('@./ROPILOT.md')) {
|
|
269
|
+
writeFileSync(fullPath, existing.trimEnd() + '\n\n@./ROPILOT.md\n');
|
|
270
270
|
updated++;
|
|
271
271
|
} else {
|
|
272
272
|
skipped++;
|