@caupulican/pi-adaptative 0.81.5 → 0.81.6
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 +13 -0
- package/dist/core/agent-session.d.ts +8 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +125 -66
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/background-lane-controller.d.ts.map +1 -1
- package/dist/core/background-lane-controller.js +3 -0
- package/dist/core/background-lane-controller.js.map +1 -1
- package/dist/core/billing-failover-controller.d.ts +2 -2
- package/dist/core/billing-failover-controller.d.ts.map +1 -1
- package/dist/core/billing-failover-controller.js +2 -8
- package/dist/core/billing-failover-controller.js.map +1 -1
- package/dist/core/compaction-support.d.ts +3 -0
- package/dist/core/compaction-support.d.ts.map +1 -1
- package/dist/core/compaction-support.js +18 -4
- package/dist/core/compaction-support.js.map +1 -1
- package/dist/core/context-pipeline.d.ts +1 -0
- package/dist/core/context-pipeline.d.ts.map +1 -1
- package/dist/core/context-pipeline.js +12 -0
- package/dist/core/context-pipeline.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +33 -9
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/models/local-registration.d.ts +1 -0
- package/dist/core/models/local-registration.d.ts.map +1 -1
- package/dist/core/models/local-registration.js +3 -2
- package/dist/core/models/local-registration.js.map +1 -1
- package/dist/core/research/model-fitness.d.ts +16 -0
- package/dist/core/research/model-fitness.d.ts.map +1 -1
- package/dist/core/research/model-fitness.js +74 -1
- package/dist/core/research/model-fitness.js.map +1 -1
- package/dist/core/session-tree-navigator.d.ts.map +1 -1
- package/dist/core/session-tree-navigator.js +1 -0
- package/dist/core/session-tree-navigator.js.map +1 -1
- package/dist/core/trust-manager.d.ts.map +1 -1
- package/dist/core/trust-manager.js +6 -3
- package/dist/core/trust-manager.js.map +1 -1
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +7 -1
- package/dist/migrations.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +2 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +102 -91
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/session-flow-commands.d.ts.map +1 -1
- package/dist/modes/interactive/session-flow-commands.js +10 -7
- package/dist/modes/interactive/session-flow-commands.js.map +1 -1
- package/docs/bug-ledger.md +23 -22
- 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,16 @@
|
|
|
1
|
+
## [0.81.6] - 2026-07-06
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Fixed interactive-mode `renderSessionContext` to serialize overlapping rebuild calls on a queue so that the newest generation wins the commit and the visible container remains intact.
|
|
5
|
+
- `/goal <text>` now deterministically seeds one open requirement from the goal text, so the continuation loop is drivable even when the model skips decomposition.
|
|
6
|
+
- Compaction retry warnings now name the summarizer selection reason and the input-size estimate, so gate failures identify the responsible model without a post-mortem.
|
|
7
|
+
- Fixed local-model compaction capacity checks to use measured served context-window evidence from the fitness probe instead of trusting the registered window guess, including tail-truncating local servers by requiring start and end capacity needles.
|
|
8
|
+
- Fixed manual `/compact` to preserve authoritative extension results, keep normal summary verification enabled, reserve deterministic checkpoints for gate-retry exhaustion, and surface provider failures.
|
|
9
|
+
- Fixed provider-failure corpus recording to write once per failed assistant message with the overflow-aware classification.
|
|
10
|
+
- Fixed startup migrations and project-trust reads to leave malformed `models.json` / `trust.json` files untouched instead of crashing startup.
|
|
11
|
+
- Fixed interactive mode to rebind the live extensions-changed UI refresh listener after session switches.
|
|
12
|
+
- Fixed extension factory and lazy-load failures to dispose partial event-bus subscriptions before retry or rollback.
|
|
13
|
+
|
|
1
14
|
## [0.81.5] - 2026-07-06
|
|
2
15
|
|
|
3
16
|
## [0.81.4] - 2026-07-06
|
|
@@ -435,6 +435,13 @@ export declare class AgentSession {
|
|
|
435
435
|
private _getCompactionRequestAuth;
|
|
436
436
|
private _resolveCompactionModelAndAuth;
|
|
437
437
|
private _resolveCompactionModel;
|
|
438
|
+
/**
|
|
439
|
+
* One bounded diagnostic clause for compaction retry warnings: which summarizer selection won
|
|
440
|
+
* (and why) plus the input-size estimate the capacity check consumed — the two facts every
|
|
441
|
+
* gate-failure post-mortem has needed (2026-07-06 field incidents).
|
|
442
|
+
*/
|
|
443
|
+
private _describeCompactionSummarizer;
|
|
444
|
+
private _getLastCompactionSelectionReason;
|
|
438
445
|
private _resolveCompactionThinkingLevel;
|
|
439
446
|
/**
|
|
440
447
|
* Install tool hooks once on the Agent instance.
|
|
@@ -917,6 +924,7 @@ export declare class AgentSession {
|
|
|
917
924
|
* are terminal; context overflow is handled by compaction, not retry. The verdict comes from the
|
|
918
925
|
* reliability kernel's classifier, fed the host-computed context-overflow flag.
|
|
919
926
|
*/
|
|
927
|
+
private _classifyAssistantError;
|
|
920
928
|
private _isRetryableError;
|
|
921
929
|
private _prepareRetry;
|
|
922
930
|
/**
|