baxian 2.0.21 → 2.0.22
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/dist/agent/manager.js
CHANGED
|
@@ -8955,7 +8955,7 @@ export class AgentManager {
|
|
|
8955
8955
|
if (detection.state === 'idle')
|
|
8956
8956
|
detection = classifyScreen(runtime, cap, await tmux.readPaneTitle(pane));
|
|
8957
8957
|
const ready = hasRuntimeReadyView(cap, runtime, detection);
|
|
8958
|
-
if (detection.state === 'pending' || detection.skipStateUpdate
|
|
8958
|
+
if (detection.state === 'pending' || detection.skipStateUpdate) {
|
|
8959
8959
|
throw new Error(`waitForReplPromptReady: pane ${paneId} shows menu/dialog, not a ready REPL prompt`);
|
|
8960
8960
|
}
|
|
8961
8961
|
return { cap, ready, working: detection.state === 'working' };
|