@caupulican/pi-adaptative 0.80.68 → 0.80.70
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 +12 -0
- package/dist/modes/interactive/interactive-mode.d.ts +7 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +28 -2
- package/dist/modes/interactive/interactive-mode.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,15 @@
|
|
|
1
|
+
## [0.80.70] - 2026-06-28
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- Reflection cost de-duplication now works on the real turn path: the per-turn key was derived from a message id that doesn't exist at runtime, so a retried/duplicate reflection pass could double-count its cost. It now uses the turn's timestamp + size.
|
|
6
|
+
|
|
7
|
+
## [0.80.69] - 2026-06-28
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Configurable reflection model: the native reflection engine now uses the `autoLearn.model` / `autoLearn.thinkingLevel` settings (a `--model` pattern, e.g. a balanced or cheaper model) instead of always using the session model. The configured model is honored only when its provider is available (api key / logged in); otherwise it falls back to the session model.
|
|
12
|
+
|
|
1
13
|
## [0.80.68] - 2026-06-27
|
|
2
14
|
|
|
3
15
|
### Added
|
|
@@ -445,6 +445,13 @@ export declare class InteractiveMode {
|
|
|
445
445
|
* warranted, run the in-process {@link AgentSession.runReflectionPass} as a fire-and-forget
|
|
446
446
|
* background microtask. No subprocess, no blocking of the UI.
|
|
447
447
|
*/
|
|
448
|
+
/**
|
|
449
|
+
* Resolve the model + thinking level the native reflection pass should use, from auto-learn
|
|
450
|
+
* settings (`model`, `thinkingLevel`). The configured model is honored only when its provider is
|
|
451
|
+
* AVAILABLE (api key / logged in) — otherwise we fall back to the session model (undefined). This
|
|
452
|
+
* lets the user pick a balanced/cheaper reflection model without risking an unusable one.
|
|
453
|
+
*/
|
|
454
|
+
private _resolveReflectionModel;
|
|
448
455
|
private maybeRunNativeReflection;
|
|
449
456
|
private maybeStartAutoLearn;
|
|
450
457
|
private maybeStartAutonomyReview;
|