adhdev 0.8.67 → 0.8.69
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 +13 -8
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -10954,6 +10954,8 @@ function resolveCliAdapterConfig(provider) {
|
|
|
10954
10954
|
approvalCooldown: t.approvalCooldown ?? 3e3,
|
|
10955
10955
|
generatingIdle: t.generatingIdle ?? 6e3,
|
|
10956
10956
|
idleFinish: t.idleFinish ?? 5e3,
|
|
10957
|
+
idleFinishConfirm: t.idleFinishConfirm ?? 2e3,
|
|
10958
|
+
statusActivityHold: t.statusActivityHold ?? 2e3,
|
|
10957
10959
|
maxResponse: t.maxResponse ?? 3e5,
|
|
10958
10960
|
shutdownGrace: t.shutdownGrace ?? 1e3,
|
|
10959
10961
|
outputSettle: t.outputSettle ?? 300
|
|
@@ -11203,9 +11205,6 @@ var init_provider_cli_adapter = __esm({
|
|
|
11203
11205
|
traceSessionId = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
|
11204
11206
|
static MAX_TRACE_ENTRIES = 250;
|
|
11205
11207
|
providerResolutionMeta;
|
|
11206
|
-
static IDLE_FINISH_CONFIRM_MS = 2e3;
|
|
11207
|
-
static HERMES_IDLE_FINISH_CONFIRM_MS = 5e3;
|
|
11208
|
-
static STATUS_ACTIVITY_HOLD_MS = 2e3;
|
|
11209
11208
|
static FINISH_RETRY_DELAY_MS = 300;
|
|
11210
11209
|
static MAX_FINISH_RETRIES = 2;
|
|
11211
11210
|
syncMessageViews() {
|
|
@@ -11213,10 +11212,10 @@ var init_provider_cli_adapter = __esm({
|
|
|
11213
11212
|
this.structuredMessages = [...this.committedMessages];
|
|
11214
11213
|
}
|
|
11215
11214
|
getIdleFinishConfirmMs() {
|
|
11216
|
-
return this.
|
|
11215
|
+
return this.timeouts.idleFinishConfirm;
|
|
11217
11216
|
}
|
|
11218
11217
|
getStatusActivityHoldMs() {
|
|
11219
|
-
return this.
|
|
11218
|
+
return this.timeouts.statusActivityHold;
|
|
11220
11219
|
}
|
|
11221
11220
|
setStatus(status, trigger) {
|
|
11222
11221
|
const prev = this.currentStatus;
|
|
@@ -84664,7 +84663,7 @@ var init_adhdev_daemon = __esm({
|
|
|
84664
84663
|
init_source();
|
|
84665
84664
|
init_version();
|
|
84666
84665
|
init_src();
|
|
84667
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
84666
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.69" });
|
|
84668
84667
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
84669
84668
|
localHttpServer = null;
|
|
84670
84669
|
localWss = null;
|
|
@@ -85124,7 +85123,10 @@ ${err?.stack || ""}`);
|
|
|
85124
85123
|
this.p2p?.broadcastSessionOutput(key, data);
|
|
85125
85124
|
}
|
|
85126
85125
|
}),
|
|
85127
|
-
onStatusChange: () =>
|
|
85126
|
+
onStatusChange: () => {
|
|
85127
|
+
this.statusReporter?.onStatusChange();
|
|
85128
|
+
void this.flushP2PChatSubscriptions({ onlyActive: false });
|
|
85129
|
+
},
|
|
85128
85130
|
removeAgentTracking: (key) => this.statusReporter?.removeAgentTracking(key),
|
|
85129
85131
|
hostedRuntimeManagerTag: "adhdev-cloud",
|
|
85130
85132
|
createPtyTransportFactory: ({ runtimeId, providerType, workspace, cliArgs, providerSessionId, attachExisting }) => new SessionHostPtyTransportFactory({
|
|
@@ -85150,7 +85152,10 @@ ${err?.stack || ""}`);
|
|
|
85150
85152
|
enabledIdes: config2.enabledIdes,
|
|
85151
85153
|
statusInstanceId: instanceId,
|
|
85152
85154
|
statusVersion: pkgVersion,
|
|
85153
|
-
onStatusChange: () =>
|
|
85155
|
+
onStatusChange: () => {
|
|
85156
|
+
this.statusReporter?.onStatusChange();
|
|
85157
|
+
void this.flushP2PChatSubscriptions({ onlyActive: false });
|
|
85158
|
+
},
|
|
85154
85159
|
onPostChatCommand: () => {
|
|
85155
85160
|
setTimeout(() => this.statusReporter?.throttledReport(), 1e3);
|
|
85156
85161
|
setTimeout(() => this.statusReporter?.throttledReport(), 3e3);
|