@caupulican/pi-adaptative 0.81.18 → 0.81.20
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 +10 -0
- package/dist/core/agent-session.d.ts +1 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +28 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/context-pipeline.d.ts +5 -1
- package/dist/core/context-pipeline.d.ts.map +1 -1
- package/dist/core/context-pipeline.js +35 -2
- package/dist/core/context-pipeline.js.map +1 -1
- package/dist/core/models/local-runtime.d.ts +1 -0
- package/dist/core/models/local-runtime.d.ts.map +1 -1
- package/dist/core/models/local-runtime.js +21 -11
- package/dist/core/models/local-runtime.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,13 @@
|
|
|
1
|
+
## [0.81.20] - 2026-07-08
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Fixed pi-managed Transformers setup to resolve the environment Python before creating its venv and to repair existing incomplete venvs before Hugging Face model downloads.
|
|
5
|
+
|
|
6
|
+
## [0.81.19] - 2026-07-08
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- Fixed post-compaction token measurement to keep passive estimates idempotent and use the same max real-usage/estimate basis as the auto-compaction trigger.
|
|
10
|
+
|
|
1
11
|
## [0.81.18] - 2026-07-08
|
|
2
12
|
|
|
3
13
|
### Added
|
|
@@ -933,6 +933,7 @@ export declare class AgentSession {
|
|
|
933
933
|
private _getAdaptedCompactionSettings;
|
|
934
934
|
private _checkContextWindowUsageWarning;
|
|
935
935
|
private _checkCompaction;
|
|
936
|
+
private _measureLiveContextTokensForCompaction;
|
|
936
937
|
private _runAutoCompaction;
|
|
937
938
|
private _compactWithRetry;
|
|
938
939
|
/**
|