+ {/* Detection info */}
+
+ {config?.detected_type ? (
+
+ Detected project type: {config.detected_type}
+ {config.detected_command && (
+ — {config.detected_command}
+ )}
+
+ ) : (
+
+ No project type detected. Enter a custom command below.
+
+ )}
+
+
+ {/* Command input */}
+
+
+
{
+ setCommand(e.target.value)
+ setError(null)
+ }}
+ placeholder="npm run dev"
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' && !isSaving) {
+ handleSaveAndStart()
+ }
+ }}
+ />
+
+ Allowed runners: npm, npx, pnpm, yarn, python, uvicorn, flask, poetry, cargo, go
+
+
+
+ {/* Clear custom command button */}
+ {hasCustomCommand && (
+
+ )}
+
+ {/* Error display */}
+ {error && (
+
{error}
+ )}
+
+