@blockrun/runcode 1.5.11 → 1.5.12

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.
@@ -342,6 +342,14 @@ export async function interactiveSession(config, getUserInput, onEvent, onAbortR
342
342
  if (input === '/commit') {
343
343
  input = 'Review the current git diff and staged changes. Stage relevant files with `git add`, then create a commit with a concise message summarizing the changes. Do NOT push to remote.';
344
344
  }
345
+ // Handle /review — ask agent to review current changes
346
+ if (input === '/review') {
347
+ input = 'Review the current git diff. For each changed file, check for: bugs, security issues, missing error handling, performance problems, and style issues. Provide a brief summary of findings.';
348
+ }
349
+ // Handle /fix — ask agent to fix the last error or issue
350
+ if (input === '/fix') {
351
+ input = 'Look at the most recent error or issue we discussed and fix it. Check the relevant files, identify the root cause, and apply the fix.';
352
+ }
345
353
  // Handle /status — show git status
346
354
  if (input === '/status') {
347
355
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/runcode",
3
- "version": "1.5.11",
3
+ "version": "1.5.12",
4
4
  "description": "RunCode — AI coding agent powered by 41+ models. Pay per use with USDC.",
5
5
  "type": "module",
6
6
  "bin": {