@caupulican/pi-adaptative 0.80.60 → 0.80.61

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.80.61] - 2026-06-27
2
+
3
+ ### Added
4
+
5
+ - Cross-session memory recall: pi now indexes your recent past sessions (same project) and, when a turn is relevant, injects a small read-only recall page from that history — so it can draw on what you did before without you re-explaining. Local, dependency-free, and scoped to the current working directory; the current session and background-learning sessions are excluded.
6
+
1
7
  ## [0.80.60] - 2026-06-27
2
8
 
3
9
  ### Fixed
@@ -431,6 +431,12 @@ export declare class AgentSession {
431
431
  * @throws Error if no model selected or no API key available (when not streaming)
432
432
  */
433
433
  prompt(text: string, options?: PromptOptions): Promise<void>;
434
+ /**
435
+ * Zero-I/O gate for cross-session recall (R3): skip trivial turns (short acks, slash commands) so
436
+ * recall only runs when it could plausibly help. The provider's similarity cutoff is the real
437
+ * filter — this just avoids the index query on turns that obviously don't warrant it.
438
+ */
439
+ private _shouldAttemptRecall;
434
440
  private _promptUnserialized;
435
441
  /**
436
442
  * Try to execute an extension command. Returns true if command was found and executed.