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.
- package/dist/cli/index.js +16 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.d.mts +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.d.ts +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.js +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.js.map +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.mjs +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/defaults.mjs.map +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.js +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.js.map +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.mjs +1 -1
- package/vendor/session-host-daemon/node_modules/@adhdev/session-host-core/index.mjs.map +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.d.mts +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.d.ts +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.js +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.js.map +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.mjs +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/defaults.mjs.map +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.js +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.js.map +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.mjs +1 -1
- package/vendor/terminal-mux-cli/node_modules/@adhdev/session-host-core/index.mjs.map +1 -1
package/dist/index.js
CHANGED
|
@@ -10812,7 +10812,7 @@ var init_dist = __esm({
|
|
|
10812
10812
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
10813
10813
|
});
|
|
10814
10814
|
DEFAULT_SESSION_HOST_COLS = 80;
|
|
10815
|
-
DEFAULT_SESSION_HOST_ROWS =
|
|
10815
|
+
DEFAULT_SESSION_HOST_ROWS = 32;
|
|
10816
10816
|
SessionHostClient = class {
|
|
10817
10817
|
endpoint;
|
|
10818
10818
|
socket = null;
|
|
@@ -14264,7 +14264,14 @@ ${effect.notification.body || ""}`.trim();
|
|
|
14264
14264
|
return this.provider.name;
|
|
14265
14265
|
}
|
|
14266
14266
|
shouldAutoApprove() {
|
|
14267
|
-
|
|
14267
|
+
if (typeof this.settings.autoApprove === "boolean") {
|
|
14268
|
+
return this.settings.autoApprove;
|
|
14269
|
+
}
|
|
14270
|
+
const providerDefault = this.provider.settings?.autoApprove?.default;
|
|
14271
|
+
if (typeof providerDefault === "boolean") {
|
|
14272
|
+
return providerDefault;
|
|
14273
|
+
}
|
|
14274
|
+
return false;
|
|
14268
14275
|
}
|
|
14269
14276
|
recordAutoApproval(modalMessage, buttonLabel, now = Date.now()) {
|
|
14270
14277
|
this.appendRuntimeSystemMessage(
|
|
@@ -38165,9 +38172,12 @@ function prepareSessionChatTailUpdate(input) {
|
|
|
38165
38172
|
}
|
|
38166
38173
|
function prepareSessionModalUpdate(input) {
|
|
38167
38174
|
const { modalMessage, modalButtons } = normalizeSessionModalFields(input.activeModal);
|
|
38175
|
+
const status = normalizeManagedStatus(input.status, {
|
|
38176
|
+
activeModal: modalButtons.length > 0 ? { buttons: modalButtons } : null
|
|
38177
|
+
});
|
|
38168
38178
|
const deliverySignature = buildSessionModalDeliverySignature({
|
|
38169
38179
|
sessionId: input.sessionId,
|
|
38170
|
-
status
|
|
38180
|
+
status,
|
|
38171
38181
|
...input.title ? { title: input.title } : {},
|
|
38172
38182
|
...modalMessage ? { modalMessage } : {},
|
|
38173
38183
|
...modalButtons.length > 0 ? { modalButtons } : {}
|
|
@@ -38187,7 +38197,7 @@ function prepareSessionModalUpdate(input) {
|
|
|
38187
38197
|
topic: "session.modal",
|
|
38188
38198
|
key: input.key,
|
|
38189
38199
|
sessionId: input.sessionId,
|
|
38190
|
-
status
|
|
38200
|
+
status,
|
|
38191
38201
|
...input.title ? { title: input.title } : {},
|
|
38192
38202
|
...modalMessage ? { modalMessage } : {},
|
|
38193
38203
|
...modalButtons.length > 0 ? { modalButtons } : {},
|
|
@@ -38201,6 +38211,7 @@ var init_subscription_updates = __esm({
|
|
|
38201
38211
|
"../../oss/packages/daemon-core/src/chat/subscription-updates.ts"() {
|
|
38202
38212
|
"use strict";
|
|
38203
38213
|
init_chat_signatures();
|
|
38214
|
+
init_normalize();
|
|
38204
38215
|
}
|
|
38205
38216
|
});
|
|
38206
38217
|
|
|
@@ -55330,7 +55341,7 @@ var init_adhdev_daemon = __esm({
|
|
|
55330
55341
|
init_version();
|
|
55331
55342
|
init_src();
|
|
55332
55343
|
init_runtime_defaults();
|
|
55333
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
55344
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.101" });
|
|
55334
55345
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
55335
55346
|
localHttpServer = null;
|
|
55336
55347
|
localWss = null;
|