adhdev 0.9.76-rc.29 → 0.9.76-rc.30

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/cli/index.js CHANGED
@@ -93606,7 +93606,7 @@ var init_adhdev_daemon = __esm({
93606
93606
  init_version();
93607
93607
  init_src();
93608
93608
  init_runtime_defaults();
93609
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.29" });
93609
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.30" });
93610
93610
  AdhdevDaemon = class _AdhdevDaemon {
93611
93611
  localHttpServer = null;
93612
93612
  localWss = null;
package/dist/index.js CHANGED
@@ -62464,7 +62464,7 @@ var init_adhdev_daemon = __esm({
62464
62464
  init_version();
62465
62465
  init_src();
62466
62466
  init_runtime_defaults();
62467
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.29" });
62467
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.30" });
62468
62468
  AdhdevDaemon = class _AdhdevDaemon {
62469
62469
  localHttpServer = null;
62470
62470
  localWss = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adhdev",
3
- "version": "0.9.76-rc.29",
3
+ "version": "0.9.76-rc.30",
4
4
  "description": "ADHDev — Agent Dashboard Hub for Dev. Remote-control AI coding agents from anywhere.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "node": ">=18"
48
48
  },
49
49
  "dependencies": {
50
- "@adhdev/daemon-core": "0.9.76-rc.29",
50
+ "@adhdev/daemon-core": "0.9.76-rc.30",
51
51
  "@adhdev/ghostty-vt-node": "*",
52
52
  "@modelcontextprotocol/sdk": "^1.0.0",
53
53
  "@xterm/addon-serialize": "^0.14.0",
@@ -46043,9 +46043,11 @@ ${effect.notification.body || ""}`.trim();
46043
46043
  }
46044
46044
  const sessionLookupFailed = !!targetSessionId && !session;
46045
46045
  const managerKey = this.extractIdeType(args, sessionLookupFailed);
46046
- let providerType;
46046
+ let providerType = args?.agentType || args?.providerType;
46047
46047
  if (!sessionLookupFailed) {
46048
- providerType = session?.providerType || args?.agentType || args?.providerType || this.inferProviderType(managerKey);
46048
+ providerType = session?.providerType || providerType || this.inferProviderType(managerKey);
46049
+ } else if (!providerType) {
46050
+ providerType = this.inferProviderType(managerKey);
46049
46051
  }
46050
46052
  return { session, managerKey, providerType, sessionLookupFailed };
46051
46053
  }
@@ -46125,7 +46127,8 @@ ${effect.notification.body || ""}`.trim();
46125
46127
  "pty_resize",
46126
46128
  "invoke_provider_script"
46127
46129
  ]);
46128
- if (this._currentRoute.sessionLookupFailed && sessionScopedCommands.has(cmd)) {
46130
+ const allowsInactiveReadChatFallback = cmd === "read_chat" && !!this._currentRoute.providerType && (typeof args?.providerSessionId === "string" && args.providerSessionId.trim().length > 0 || typeof args?.historySessionId === "string" && args.historySessionId.trim().length > 0);
46131
+ if (this._currentRoute.sessionLookupFailed && sessionScopedCommands.has(cmd) && !allowsInactiveReadChatFallback) {
46129
46132
  const result2 = {
46130
46133
  success: false,
46131
46134
  error: `Live session not found for targetSessionId: ${String(args?.targetSessionId || "").trim() || "unknown"}`