Skip to content

Commit ab59bc7

Browse files
committed
fix: /doctor async for MCP import (v2.2.4)
1 parent 8fd4a87 commit ab59bc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/agent/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const DIRECT_COMMANDS = {
124124
});
125125
emitDone(ctx);
126126
},
127-
'/doctor': (ctx) => {
127+
'/doctor': async (ctx) => {
128128
const checks = [];
129129
try {
130130
execSync('git --version', { stdio: 'pipe' });

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blockrun/runcode",
3-
"version": "2.2.3",
3+
"version": "2.2.4",
44
"description": "RunCode — AI coding agent powered by 41+ models. Pay per use with USDC.",
55
"type": "module",
66
"bin": {

src/agent/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const DIRECT_COMMANDS: Record<string, (ctx: CommandContext) => Promise<void> | v
148148
});
149149
emitDone(ctx);
150150
},
151-
'/doctor': (ctx) => {
151+
'/doctor': async (ctx) => {
152152
const checks: string[] = [];
153153
try { execSync('git --version', { stdio: 'pipe' }); checks.push('✓ git available'); }
154154
catch { checks.push('✗ git not found'); }

0 commit comments

Comments
 (0)