@adhdev/daemon-standalone 0.9.76-rc.33 → 0.9.76-rc.34

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/index.js CHANGED
@@ -43344,6 +43344,14 @@ ${effect.notification.body || ""}`.trim();
43344
43344
  const readChat = bundle.readChat && typeof bundle.readChat === "object" ? bundle.readChat : {};
43345
43345
  const cli = bundle.cli && typeof bundle.cli === "object" ? bundle.cli : null;
43346
43346
  const frontend = bundle.frontend && typeof bundle.frontend === "object" ? bundle.frontend : null;
43347
+ const debugReadChat = readChat.debugReadChat && typeof readChat.debugReadChat === "object" ? readChat.debugReadChat : {};
43348
+ const parsedStatus = cli?.parsedStatus && typeof cli.parsedStatus === "object" ? cli.parsedStatus : null;
43349
+ const cliParsedMessageCount = Array.isArray(parsedStatus?.messages) ? parsedStatus.messages.length : void 0;
43350
+ const readChatReturnedMessages = Array.isArray(readChat.messagesTail) ? readChat.messagesTail.length : void 0;
43351
+ const cliPartialResponse = typeof cli?.partialResponse === "string" ? cli.partialResponse : "";
43352
+ const readChatStatus = typeof readChat.status === "string" ? readChat.status : "";
43353
+ const cliStatus = typeof cli?.status === "string" ? cli.status : "";
43354
+ const cliParsedStatus = typeof parsedStatus?.status === "string" ? parsedStatus.status : "";
43347
43355
  return {
43348
43356
  createdAt: bundle.createdAt,
43349
43357
  targetSessionId: target.targetSessionId,
@@ -43352,8 +43360,22 @@ ${effect.notification.body || ""}`.trim();
43352
43360
  readChatSuccess: readChat.success,
43353
43361
  readChatStatus: readChat.status,
43354
43362
  readChatTotalMessages: readChat.totalMessages,
43363
+ readChatReturnedMessages,
43355
43364
  cliStatus: cli?.status,
43365
+ cliParsedStatus: cliParsedStatus || void 0,
43356
43366
  cliMessageCount: cli?.messageCount,
43367
+ cliParsedMessageCount,
43368
+ cliPartialResponseChars: cliPartialResponse.length,
43369
+ parserAdapterStatusMismatch: Boolean(cliStatus && cliParsedStatus && cliStatus !== cliParsedStatus),
43370
+ parserReadChatStatusMismatch: Boolean(readChatStatus && cliParsedStatus && readChatStatus !== cliParsedStatus),
43371
+ readChatDebug: Object.keys(debugReadChat).length ? {
43372
+ adapterStatus: debugReadChat.adapterStatus,
43373
+ parsedStatus: debugReadChat.parsedStatus,
43374
+ returnedStatus: debugReadChat.returnedStatus,
43375
+ parsedMsgCount: debugReadChat.parsedMsgCount,
43376
+ returnedMsgCount: debugReadChat.returnedMsgCount,
43377
+ shouldPreferAdapterMessages: debugReadChat.shouldPreferAdapterMessages
43378
+ } : void 0,
43357
43379
  hasFrontendSnapshot: !!frontend
43358
43380
  };
43359
43381
  }
@@ -62210,6 +62232,7 @@ if (process.platform === "win32") {
62210
62232
  var SESSION_TARGET_COMMANDS = /* @__PURE__ */ new Set([
62211
62233
  "send_chat",
62212
62234
  "read_chat",
62235
+ "get_chat_debug_bundle",
62213
62236
  "chat_history",
62214
62237
  "resolve_action",
62215
62238
  "set_cli_view_mode",