@caupulican/pi-adaptative 0.81.0 → 0.81.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.81.1] - 2026-07-05
2
+
3
+ ### Added
4
+ - Phase-aware stream watchdog wiring in `AgentSession`, utilizing the new `StreamStallSettings` (`connectMs`, `activeIdleMs`, `quietIdleMs`) exposed and validated by `SettingsManager`.
5
+ - Compaction stream stalls are now fully retryable. Both manual and auto-compaction are wrapped in `_compactWithRetry`, ensuring transient stream stalls during summarization trigger retries rather than hard failures.
6
+
7
+ ### Changed
8
+ - Increased `DEFAULT_HTTP_IDLE_TIMEOUT_MS` to 660s (from 120s) to support up to 10-minute quiet idles during long think phases without premature HTTP-layer kills.
1
9
  ## [0.81.0] - 2026-07-04
2
10
 
3
11
  ### Added
@@ -39,8 +39,9 @@ import type { ResourceProfileFilterSettings, SettingsManager } from "./settings-
39
39
  import type { BashOperations } from "./tools/bash.ts";
40
40
  /**
41
41
  * Test hook: override the stream-idle bounds so a stall can be provoked in-suite without a
42
- * 30s wait. Pass `undefined` to restore the user-locked default (30s idle / 120s connect).
43
- * Must be set BEFORE the session is constructed the wiring reads it in the constructor.
42
+ * multi-minute wait. Pass `undefined` to restore the user-locked defaults (connect 120s /
43
+ * active 180s / quiet 600s, or the user's retry.stall settings). Applies per request it
44
+ * may be set or changed at any time before the request that should observe it.
44
45
  */
45
46
  export declare function setStreamIdleOptionsForTests(opts: Partial<StreamIdleOptions> | undefined): void;
46
47
  /** Parsed skill block from a user message */
@@ -887,6 +888,7 @@ export declare class AgentSession {
887
888
  private _checkContextWindowUsageWarning;
888
889
  private _checkCompaction;
889
890
  private _runAutoCompaction;
891
+ private _compactWithRetry;
890
892
  /**
891
893
  * Toggle auto-compaction setting.
892
894
  */