@caupulican/pi-adaptative 0.81.5 → 0.81.7
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 +30 -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 +1 -0
- package/dist/core/background-lane-controller.d.ts.map +1 -1
- package/dist/core/background-lane-controller.js +10 -3
- package/dist/core/background-lane-controller.js.map +1 -1
- package/dist/core/bash-execution-controller.d.ts +1 -1
- package/dist/core/bash-execution-controller.d.ts.map +1 -1
- package/dist/core/bash-execution-controller.js +9 -6
- package/dist/core/bash-execution-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/exec.d.ts.map +1 -1
- package/dist/core/exec.js +7 -2
- package/dist/core/exec.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/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +19 -5
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/failure-corpus.d.ts.map +1 -1
- package/dist/core/failure-corpus.js +1 -1
- package/dist/core/failure-corpus.js.map +1 -1
- package/dist/core/learning/reflection-engine.d.ts.map +1 -1
- package/dist/core/learning/reflection-engine.js +3 -1
- package/dist/core/learning/reflection-engine.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/scout-controller.d.ts +5 -0
- package/dist/core/scout-controller.d.ts.map +1 -1
- package/dist/core/scout-controller.js +4 -1
- package/dist/core/scout-controller.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/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +1 -1
- package/dist/core/settings-manager.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 +1 -0
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +14 -2
- package/dist/migrations.js.map +1 -1
- package/dist/modes/interactive/auto-learn-controller.d.ts.map +1 -1
- package/dist/modes/interactive/auto-learn-controller.js +14 -6
- package/dist/modes/interactive/auto-learn-controller.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts +1 -0
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +11 -4
- package/dist/modes/interactive/components/session-selector.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 +107 -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/dist/utils/tools-manager.d.ts +1 -0
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +14 -1
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/bug-ledger.md +45 -44
- 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,33 @@
|
|
|
1
|
+
## [0.81.7] - 2026-07-06
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Fixed native reflection cost deduplication to derive report IDs from a stable turn digest instead of an absent message id.
|
|
5
|
+
- Fixed extension `tool_call` event dispatch so a throwing handler emits diagnostics without skipping later handlers.
|
|
6
|
+
- Fixed settings overlay merging to recurse through nested objects while still replacing arrays.
|
|
7
|
+
- Fixed root-session migration to extract filenames correctly from both POSIX and Windows-style paths.
|
|
8
|
+
- Fixed scout truncation accounting to count assistant output tokens against the output-token cap instead of total input plus output tokens.
|
|
9
|
+
- Fixed reflection-engine malformed-response handling to preserve provider usage after completed calls.
|
|
10
|
+
- Fixed research-lane spend limits to clamp configured lane budgets to the foreground capability envelope.
|
|
11
|
+
- Fixed failure-corpus secret redaction for separator-bearing `sk-proj-` and `sk-ant-` API key formats.
|
|
12
|
+
- Fixed shared exec output decoding to preserve multibyte UTF-8 characters split across stdout/stderr chunks.
|
|
13
|
+
- Fixed overlapping bash execution cancellation so aborting bash cancels every running command instead of only the latest one.
|
|
14
|
+
- Fixed concurrent first-run managed-tool downloads to share one in-flight download per tool.
|
|
15
|
+
- Fixed interactive-mode cleanup leaks by sequence-guarding current-scope session loads and disposing replaced custom editors.
|
|
16
|
+
- Fixed the mutation-barrier regression test to wait on explicit scheduling conditions instead of timing sleeps.
|
|
17
|
+
|
|
18
|
+
## [0.81.6] - 2026-07-06
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- 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.
|
|
22
|
+
- `/goal <text>` now deterministically seeds one open requirement from the goal text, so the continuation loop is drivable even when the model skips decomposition.
|
|
23
|
+
- 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.
|
|
24
|
+
- 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.
|
|
25
|
+
- Fixed manual `/compact` to preserve authoritative extension results, keep normal summary verification enabled, reserve deterministic checkpoints for gate-retry exhaustion, and surface provider failures.
|
|
26
|
+
- Fixed provider-failure corpus recording to write once per failed assistant message with the overflow-aware classification.
|
|
27
|
+
- Fixed startup migrations and project-trust reads to leave malformed `models.json` / `trust.json` files untouched instead of crashing startup.
|
|
28
|
+
- Fixed interactive mode to rebind the live extensions-changed UI refresh listener after session switches.
|
|
29
|
+
- Fixed extension factory and lazy-load failures to dispose partial event-bus subscriptions before retry or rollback.
|
|
30
|
+
|
|
1
31
|
## [0.81.5] - 2026-07-06
|
|
2
32
|
|
|
3
33
|
## [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
|
/**
|