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/index.js
CHANGED
|
@@ -10013,6 +10013,8 @@ function resolveCliAdapterConfig(provider) {
|
|
|
10013
10013
|
approvalCooldown: t.approvalCooldown ?? 3e3,
|
|
10014
10014
|
generatingIdle: t.generatingIdle ?? 6e3,
|
|
10015
10015
|
idleFinish: t.idleFinish ?? 5e3,
|
|
10016
|
+
idleFinishConfirm: t.idleFinishConfirm ?? 2e3,
|
|
10017
|
+
statusActivityHold: t.statusActivityHold ?? 2e3,
|
|
10016
10018
|
maxResponse: t.maxResponse ?? 3e5,
|
|
10017
10019
|
shutdownGrace: t.shutdownGrace ?? 1e3,
|
|
10018
10020
|
outputSettle: t.outputSettle ?? 300
|
|
@@ -10262,9 +10264,6 @@ var init_provider_cli_adapter = __esm({
|
|
|
10262
10264
|
traceSessionId = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
|
10263
10265
|
static MAX_TRACE_ENTRIES = 250;
|
|
10264
10266
|
providerResolutionMeta;
|
|
10265
|
-
static IDLE_FINISH_CONFIRM_MS = 2e3;
|
|
10266
|
-
static HERMES_IDLE_FINISH_CONFIRM_MS = 5e3;
|
|
10267
|
-
static STATUS_ACTIVITY_HOLD_MS = 2e3;
|
|
10268
10267
|
static FINISH_RETRY_DELAY_MS = 300;
|
|
10269
10268
|
static MAX_FINISH_RETRIES = 2;
|
|
10270
10269
|
syncMessageViews() {
|
|
@@ -10272,10 +10271,10 @@ var init_provider_cli_adapter = __esm({
|
|
|
10272
10271
|
this.structuredMessages = [...this.committedMessages];
|
|
10273
10272
|
}
|
|
10274
10273
|
getIdleFinishConfirmMs() {
|
|
10275
|
-
return this.
|
|
10274
|
+
return this.timeouts.idleFinishConfirm;
|
|
10276
10275
|
}
|
|
10277
10276
|
getStatusActivityHoldMs() {
|
|
10278
|
-
return this.
|
|
10277
|
+
return this.timeouts.statusActivityHold;
|
|
10279
10278
|
}
|
|
10280
10279
|
setStatus(status, trigger) {
|
|
10281
10280
|
const prev = this.currentStatus;
|
|
@@ -52960,7 +52959,7 @@ var init_adhdev_daemon = __esm({
|
|
|
52960
52959
|
init_source2();
|
|
52961
52960
|
init_version();
|
|
52962
52961
|
init_src();
|
|
52963
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
52962
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.69" });
|
|
52964
52963
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
52965
52964
|
localHttpServer = null;
|
|
52966
52965
|
localWss = null;
|
|
@@ -53420,7 +53419,10 @@ ${err?.stack || ""}`);
|
|
|
53420
53419
|
this.p2p?.broadcastSessionOutput(key, data);
|
|
53421
53420
|
}
|
|
53422
53421
|
}),
|
|
53423
|
-
onStatusChange: () =>
|
|
53422
|
+
onStatusChange: () => {
|
|
53423
|
+
this.statusReporter?.onStatusChange();
|
|
53424
|
+
void this.flushP2PChatSubscriptions({ onlyActive: false });
|
|
53425
|
+
},
|
|
53424
53426
|
removeAgentTracking: (key) => this.statusReporter?.removeAgentTracking(key),
|
|
53425
53427
|
hostedRuntimeManagerTag: "adhdev-cloud",
|
|
53426
53428
|
createPtyTransportFactory: ({ runtimeId, providerType, workspace, cliArgs, providerSessionId, attachExisting }) => new SessionHostPtyTransportFactory({
|
|
@@ -53446,7 +53448,10 @@ ${err?.stack || ""}`);
|
|
|
53446
53448
|
enabledIdes: config2.enabledIdes,
|
|
53447
53449
|
statusInstanceId: instanceId,
|
|
53448
53450
|
statusVersion: pkgVersion,
|
|
53449
|
-
onStatusChange: () =>
|
|
53451
|
+
onStatusChange: () => {
|
|
53452
|
+
this.statusReporter?.onStatusChange();
|
|
53453
|
+
void this.flushP2PChatSubscriptions({ onlyActive: false });
|
|
53454
|
+
},
|
|
53450
53455
|
onPostChatCommand: () => {
|
|
53451
53456
|
setTimeout(() => this.statusReporter?.throttledReport(), 1e3);
|
|
53452
53457
|
setTimeout(() => this.statusReporter?.throttledReport(), 3e3);
|