@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 +8 -0
- package/dist/core/agent-session.d.ts +4 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +48 -7
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/http-dispatcher.d.ts +4 -1
- package/dist/core/http-dispatcher.d.ts.map +1 -1
- package/dist/core/http-dispatcher.js +6 -1
- package/dist/core/http-dispatcher.js.map +1 -1
- package/dist/core/settings-manager.d.ts +16 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +22 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
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
|
-
*
|
|
43
|
-
*
|
|
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
|
*/
|