ropilot 0.1.16 → 0.1.18
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 +19 -5
- package/package.json +1 -1
package/lib/setup.js
CHANGED
|
@@ -410,9 +410,9 @@ export async function init(providedApiKey = null) {
|
|
|
410
410
|
console.log('Setup complete!');
|
|
411
411
|
console.log('');
|
|
412
412
|
console.log('Next steps:');
|
|
413
|
-
console.log('1.
|
|
414
|
-
console.log('2.
|
|
415
|
-
console.log('3. Run Claude Code
|
|
413
|
+
console.log('1. Open Roblox Studio and check the Plugins tab for "Ropilot AI"');
|
|
414
|
+
console.log('2. Click Ropilot AI → Enter your API key → Connect');
|
|
415
|
+
console.log('3. Run Claude Code, Cursor, or any MCP-compatible AI tool in this directory');
|
|
416
416
|
console.log('');
|
|
417
417
|
}
|
|
418
418
|
|
|
@@ -420,7 +420,10 @@ export async function init(providedApiKey = null) {
|
|
|
420
420
|
* Update prompts to latest version
|
|
421
421
|
*/
|
|
422
422
|
export async function update() {
|
|
423
|
-
console.log('
|
|
423
|
+
console.log('');
|
|
424
|
+
console.log('Updating Ropilot...');
|
|
425
|
+
console.log('===================');
|
|
426
|
+
console.log('');
|
|
424
427
|
|
|
425
428
|
const apiKey = getApiKey();
|
|
426
429
|
if (!apiKey) {
|
|
@@ -428,13 +431,24 @@ export async function update() {
|
|
|
428
431
|
process.exit(1);
|
|
429
432
|
}
|
|
430
433
|
|
|
434
|
+
console.log(`Using API key: ${apiKey.slice(0, 20)}...`);
|
|
435
|
+
console.log('');
|
|
436
|
+
|
|
437
|
+
// Re-install Studio plugin
|
|
438
|
+
await installPlugin();
|
|
439
|
+
console.log('');
|
|
440
|
+
|
|
441
|
+
// Re-download prompts
|
|
431
442
|
const pkg = await downloadPrompts(apiKey);
|
|
432
443
|
console.log('');
|
|
433
444
|
|
|
434
|
-
//
|
|
445
|
+
// Re-write project files
|
|
435
446
|
console.log('Updating project files...');
|
|
436
447
|
setupProjectPrompts(pkg);
|
|
437
448
|
console.log('');
|
|
438
449
|
|
|
439
450
|
console.log('Update complete!');
|
|
451
|
+
console.log('');
|
|
452
|
+
console.log('Note: Check the Studio Plugins tab to verify the updated plugin is loaded.');
|
|
453
|
+
console.log('');
|
|
440
454
|
}
|