@adhdev/daemon-core 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-adapters/provider-cli-adapter.d.ts +0 -3
- package/dist/cli-adapters/provider-cli-config.d.ts +2 -0
- package/dist/cli-adapters/provider-cli-shared.d.ts +2 -0
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/node_modules/@adhdev/session-host-core/package.json +1 -1
- package/package.json +1 -1
- package/src/cli-adapters/provider-cli-adapter.ts +2 -9
- package/src/cli-adapters/provider-cli-config.ts +4 -0
- package/src/cli-adapters/provider-cli-shared.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -1669,6 +1669,8 @@ function resolveCliAdapterConfig(provider) {
|
|
|
1669
1669
|
approvalCooldown: t.approvalCooldown ?? 3e3,
|
|
1670
1670
|
generatingIdle: t.generatingIdle ?? 6e3,
|
|
1671
1671
|
idleFinish: t.idleFinish ?? 5e3,
|
|
1672
|
+
idleFinishConfirm: t.idleFinishConfirm ?? 2e3,
|
|
1673
|
+
statusActivityHold: t.statusActivityHold ?? 2e3,
|
|
1672
1674
|
maxResponse: t.maxResponse ?? 3e5,
|
|
1673
1675
|
shutdownGrace: t.shutdownGrace ?? 1e3,
|
|
1674
1676
|
outputSettle: t.outputSettle ?? 300
|
|
@@ -1917,9 +1919,6 @@ var init_provider_cli_adapter = __esm({
|
|
|
1917
1919
|
traceSessionId = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
|
1918
1920
|
static MAX_TRACE_ENTRIES = 250;
|
|
1919
1921
|
providerResolutionMeta;
|
|
1920
|
-
static IDLE_FINISH_CONFIRM_MS = 2e3;
|
|
1921
|
-
static HERMES_IDLE_FINISH_CONFIRM_MS = 5e3;
|
|
1922
|
-
static STATUS_ACTIVITY_HOLD_MS = 2e3;
|
|
1923
1922
|
static FINISH_RETRY_DELAY_MS = 300;
|
|
1924
1923
|
static MAX_FINISH_RETRIES = 2;
|
|
1925
1924
|
syncMessageViews() {
|
|
@@ -1927,10 +1926,10 @@ var init_provider_cli_adapter = __esm({
|
|
|
1927
1926
|
this.structuredMessages = [...this.committedMessages];
|
|
1928
1927
|
}
|
|
1929
1928
|
getIdleFinishConfirmMs() {
|
|
1930
|
-
return this.
|
|
1929
|
+
return this.timeouts.idleFinishConfirm;
|
|
1931
1930
|
}
|
|
1932
1931
|
getStatusActivityHoldMs() {
|
|
1933
|
-
return this.
|
|
1932
|
+
return this.timeouts.statusActivityHold;
|
|
1934
1933
|
}
|
|
1935
1934
|
setStatus(status, trigger) {
|
|
1936
1935
|
const prev = this.currentStatus;
|