@adhdev/daemon-core 0.9.7 → 0.9.8

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/session-host-core",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "ADHDev local session host core \u2014 session registry, protocol, buffers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "ADHDev daemon core \u2014 CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -890,7 +890,10 @@ export class ProviderCliAdapter implements CliAdapter {
890
890
  ? parsedTranscript.activeModal
891
891
  : null;
892
892
  const modal = this.runParseApproval(tail) || parsedModal;
893
- const scriptStatus = this.runDetectStatus(tail);
893
+ const rawScriptStatus = this.runDetectStatus(tail);
894
+ const scriptStatus = parsedTranscript?.status === 'waiting_approval' && modal
895
+ ? 'waiting_approval'
896
+ : rawScriptStatus;
894
897
  const parsedMessages = Array.isArray(parsedTranscript?.messages)
895
898
  ? normalizeCliParsedMessages(parsedTranscript.messages, {
896
899
  committedMessages: this.committedMessages,