@caupulican/pi-adaptative 0.80.61 → 0.80.63
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/core/agent-session.d.ts +2 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +27 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/memory/effectiveness-tracker.d.ts +31 -0
- package/dist/core/memory/effectiveness-tracker.d.ts.map +1 -0
- package/dist/core/memory/effectiveness-tracker.js +54 -0
- package/dist/core/memory/effectiveness-tracker.js.map +1 -0
- package/dist/core/memory/providers/file-store.d.ts +6 -0
- package/dist/core/memory/providers/file-store.d.ts.map +1 -1
- package/dist/core/memory/providers/file-store.js +41 -4
- package/dist/core/memory/providers/file-store.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.63] - 2026-06-27
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- Persistent memory no longer accumulates duplicate facts: when a remembered fact restates an existing one, it supersedes that line in place instead of piling up (anti append-rot).
|
|
6
|
+
|
|
7
|
+
## [0.80.62] - 2026-06-27
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Adaptive recall feedback: pi now tracks whether the cross-session context it recalled was actually used in its answer, and tunes how eagerly it recalls — leaning in when recall helps, backing off when it doesn't.
|
|
12
|
+
|
|
1
13
|
## [0.80.61] - 2026-06-27
|
|
2
14
|
|
|
3
15
|
### Added
|
|
@@ -274,6 +274,8 @@ export declare class AgentSession {
|
|
|
274
274
|
private readonly _isExplicitThinking;
|
|
275
275
|
/** Plug-and-play memory subsystem. Recreated on each (re)initialize so reload is safe. */
|
|
276
276
|
private _memoryManager;
|
|
277
|
+
/** R4: tracks whether injected recall is actually used, to adapt the recall gate. */
|
|
278
|
+
private readonly _effectivenessTracker;
|
|
277
279
|
private readonly _isChildSession;
|
|
278
280
|
/** Memory providers registered by extensions via pi.registerMemoryProvider, applied on (re)init. */
|
|
279
281
|
private _pendingMemoryProviders;
|