adhdev 0.8.99 → 0.8.101

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.
Files changed (25) hide show
  1. package/dist/cli/index.js +16 -5
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/index.js +16 -5
  4. package/dist/index.js.map +1 -1
  5. package/package.json +1 -1
  6. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.d.mts +1 -1
  7. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.d.ts +1 -1
  8. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.js +1 -1
  9. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.js.map +1 -1
  10. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.mjs +1 -1
  11. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.mjs.map +1 -1
  12. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.js +1 -1
  13. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.js.map +1 -1
  14. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.mjs +1 -1
  15. package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.mjs.map +1 -1
  16. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.d.mts +1 -1
  17. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.d.ts +1 -1
  18. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.js +1 -1
  19. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.js.map +1 -1
  20. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.mjs +1 -1
  21. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.mjs.map +1 -1
  22. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.js +1 -1
  23. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.js.map +1 -1
  24. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.mjs +1 -1
  25. package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.mjs.map +1 -1
package/dist/cli/index.js CHANGED
@@ -11552,7 +11552,7 @@ var init_dist = __esm({
11552
11552
  }
11553
11553
  };
11554
11554
  DEFAULT_SESSION_HOST_COLS = 80;
11555
- DEFAULT_SESSION_HOST_ROWS = 48;
11555
+ DEFAULT_SESSION_HOST_ROWS = 32;
11556
11556
  LIVE_LIFECYCLES2 = /* @__PURE__ */ new Set(["starting", "running", "stopping", "interrupted"]);
11557
11557
  SessionHostRegistry = class {
11558
11558
  sessions = /* @__PURE__ */ new Map();
@@ -15220,7 +15220,14 @@ ${effect.notification.body || ""}`.trim();
15220
15220
  return this.provider.name;
15221
15221
  }
15222
15222
  shouldAutoApprove() {
15223
- return this.settings.autoApprove !== false;
15223
+ if (typeof this.settings.autoApprove === "boolean") {
15224
+ return this.settings.autoApprove;
15225
+ }
15226
+ const providerDefault = this.provider.settings?.autoApprove?.default;
15227
+ if (typeof providerDefault === "boolean") {
15228
+ return providerDefault;
15229
+ }
15230
+ return false;
15224
15231
  }
15225
15232
  recordAutoApproval(modalMessage, buttonLabel, now = Date.now()) {
15226
15233
  this.appendRuntimeSystemMessage(
@@ -39121,9 +39128,12 @@ function prepareSessionChatTailUpdate(input) {
39121
39128
  }
39122
39129
  function prepareSessionModalUpdate(input) {
39123
39130
  const { modalMessage, modalButtons } = normalizeSessionModalFields(input.activeModal);
39131
+ const status = normalizeManagedStatus(input.status, {
39132
+ activeModal: modalButtons.length > 0 ? { buttons: modalButtons } : null
39133
+ });
39124
39134
  const deliverySignature = buildSessionModalDeliverySignature({
39125
39135
  sessionId: input.sessionId,
39126
- status: input.status,
39136
+ status,
39127
39137
  ...input.title ? { title: input.title } : {},
39128
39138
  ...modalMessage ? { modalMessage } : {},
39129
39139
  ...modalButtons.length > 0 ? { modalButtons } : {}
@@ -39143,7 +39153,7 @@ function prepareSessionModalUpdate(input) {
39143
39153
  topic: "session.modal",
39144
39154
  key: input.key,
39145
39155
  sessionId: input.sessionId,
39146
- status: input.status,
39156
+ status,
39147
39157
  ...input.title ? { title: input.title } : {},
39148
39158
  ...modalMessage ? { modalMessage } : {},
39149
39159
  ...modalButtons.length > 0 ? { modalButtons } : {},
@@ -39157,6 +39167,7 @@ var init_subscription_updates = __esm({
39157
39167
  "../../oss/packages/daemon-core/src/chat/subscription-updates.ts"() {
39158
39168
  "use strict";
39159
39169
  init_chat_signatures();
39170
+ init_normalize();
39160
39171
  }
39161
39172
  });
39162
39173
 
@@ -87050,7 +87061,7 @@ var init_adhdev_daemon = __esm({
87050
87061
  init_version();
87051
87062
  init_src();
87052
87063
  init_runtime_defaults();
87053
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.99" });
87064
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.101" });
87054
87065
  AdhdevDaemon = class _AdhdevDaemon {
87055
87066
  localHttpServer = null;
87056
87067
  localWss = null;