ropilot 0.1.15 → 0.1.17

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 +22 -2
  2. package/package.json +1 -1
package/lib/setup.js CHANGED
@@ -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('Checking for updates...');
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,7 +431,24 @@ export async function update() {
428
431
  process.exit(1);
429
432
  }
430
433
 
431
- await downloadPrompts(apiKey);
434
+ console.log(`Using API key: ${apiKey.slice(0, 20)}...`);
435
+ console.log('');
436
+
437
+ // Re-install Studio plugin
438
+ await installPlugin();
432
439
  console.log('');
440
+
441
+ // Re-download prompts
442
+ const pkg = await downloadPrompts(apiKey);
443
+ console.log('');
444
+
445
+ // Re-write project files
446
+ console.log('Updating project files...');
447
+ setupProjectPrompts(pkg);
448
+ console.log('');
449
+
433
450
  console.log('Update complete!');
451
+ console.log('');
452
+ console.log('Note: Restart Roblox Studio to load the updated plugin.');
453
+ console.log('');
434
454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ropilot",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "AI-powered Roblox development assistant - MCP CLI",
5
5
  "author": "whut",
6
6
  "license": "MIT",