@caupulican/pi-adaptative 0.80.78 → 0.80.79

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/core/agent-session.d.ts +6 -0
  3. package/dist/core/agent-session.d.ts.map +1 -1
  4. package/dist/core/agent-session.js +13 -0
  5. package/dist/core/agent-session.js.map +1 -1
  6. package/dist/core/learning/skill-curator.d.ts +7 -0
  7. package/dist/core/learning/skill-curator.d.ts.map +1 -1
  8. package/dist/core/learning/skill-curator.js +28 -0
  9. package/dist/core/learning/skill-curator.js.map +1 -1
  10. package/dist/core/settings-manager.d.ts +19 -1
  11. package/dist/core/settings-manager.d.ts.map +1 -1
  12. package/dist/core/settings-manager.js +17 -2
  13. package/dist/core/settings-manager.js.map +1 -1
  14. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  15. package/dist/modes/interactive/components/footer.js +6 -0
  16. package/dist/modes/interactive/components/footer.js.map +1 -1
  17. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  18. package/dist/modes/interactive/interactive-mode.js +12 -0
  19. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  20. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  21. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  22. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  23. package/examples/extensions/sandbox/package-lock.json +2 -2
  24. package/examples/extensions/sandbox/package.json +1 -1
  25. package/examples/extensions/with-deps/package-lock.json +2 -2
  26. package/examples/extensions/with-deps/package.json +1 -1
  27. package/npm-shrinkwrap.json +12 -12
  28. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.80.79] - 2026-06-28
2
+
3
+ ### Changed
4
+
5
+ - The proactive cost guard is now ON by default in warn-only mode: an unusually expensive turn (projected
6
+ over ~$2.50) surfaces a `⚠$X/turn` indicator in the footer. It never silently changes behavior —
7
+ auto-downgrading reasoning remains opt-in (`costGuard.action: "downgrade"`); set `costGuard.maxTurnUsd: 0`
8
+ to disable.
9
+ - The skill curator now auto-archives stale reflection-promoted skills at session start by default
10
+ (restorable, announced, promoted-only). Archival runs under a lock so concurrent sessions sharing an
11
+ agent directory can't race, and every auto-archive is announced with a `/curate restore` hint. Set
12
+ `curator.autoArchive: false` to return to propose-only (`/curate`). Hand-authored skills are never
13
+ touched, and skill consolidation remains a suggestion you approve.
14
+
1
15
  ## [0.80.78] - 2026-06-28
2
16
 
3
17
  ### Fixed
@@ -361,6 +361,12 @@ export declare class AgentSession {
361
361
  staleDays?: number;
362
362
  overlapThreshold?: number;
363
363
  }): CurationProposals;
364
+ /**
365
+ * Session-start auto-curation (#32, default ON): archive stale reflection-promoted skills in one
366
+ * locked batch and return the names archived so the host can ANNOUNCE it (never silent). Skipped in
367
+ * child sessions and when `curator.autoArchive` is disabled. Restorable via `/curate restore`.
368
+ */
369
+ runStartupSkillCuration(): Promise<string[]>;
364
370
  /** Archive a promoted skill into `skills/.archive/` (restorable, non-destructive). Returns true if moved. */
365
371
  archivePromotedSkill(name: string): boolean;
366
372
  /** Restore a previously-archived promoted skill. Returns true if moved back. */