ropilot 0.1.21 → 0.1.22

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.
Files changed (2) hide show
  1. package/lib/setup.js +5 -5
  2. package/package.json +1 -1
package/lib/setup.js CHANGED
@@ -348,12 +348,12 @@ function setupProjectPrompts(pkg) {
348
348
  if (existsSync(fullPath)) {
349
349
  console.log(` Exists: ${fullPath}`);
350
350
 
351
- // For CLAUDE.local.md, append if Ropilot section not present
352
- if (fullPath.includes('CLAUDE') && fullPath.endsWith('.md')) {
351
+ // For CLAUDE.md, append @import line if not already present
352
+ if (fullPath === 'CLAUDE.md') {
353
353
  const existing = readFileSync(fullPath, 'utf-8');
354
- if (!existing.includes('Ropilot') && !existing.includes('roblox-tester')) {
355
- writeFileSync(fullPath, existing + '\n\n' + content);
356
- console.log(` Updated: ${fullPath} (added Ropilot section)`);
354
+ if (!existing.includes('@import ROPILOT.md')) {
355
+ writeFileSync(fullPath, existing.trimEnd() + '\n\n@import ROPILOT.md\n');
356
+ console.log(` Updated: ${fullPath} (added @import ROPILOT.md)`);
357
357
  }
358
358
  }
359
359
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ropilot",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "AI-powered Roblox development assistant - MCP CLI",
5
5
  "author": "whut",
6
6
  "license": "MIT",