@caupulican/pi-adaptative 0.80.77 → 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 (31) hide show
  1. package/CHANGELOG.md +24 -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/resource-loader.d.ts.map +1 -1
  11. package/dist/core/resource-loader.js +10 -4
  12. package/dist/core/resource-loader.js.map +1 -1
  13. package/dist/core/settings-manager.d.ts +19 -1
  14. package/dist/core/settings-manager.d.ts.map +1 -1
  15. package/dist/core/settings-manager.js +17 -2
  16. package/dist/core/settings-manager.js.map +1 -1
  17. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  18. package/dist/modes/interactive/components/footer.js +6 -0
  19. package/dist/modes/interactive/components/footer.js.map +1 -1
  20. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  21. package/dist/modes/interactive/interactive-mode.js +12 -0
  22. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  23. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  24. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  25. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  26. package/examples/extensions/sandbox/package-lock.json +2 -2
  27. package/examples/extensions/sandbox/package.json +1 -1
  28. package/examples/extensions/with-deps/package-lock.json +2 -2
  29. package/examples/extensions/with-deps/package.json +1 -1
  30. package/npm-shrinkwrap.json +12 -12
  31. package/package.json +4 -4
@@ -837,6 +837,18 @@ export class InteractiveMode {
837
837
  this.showWarning(warning);
838
838
  }
839
839
  });
840
+ // Skill curator (#32): auto-archive stale reflection-promoted skills at startup, and ANNOUNCE it
841
+ // (never silent — the user can restore any of them with `/curate restore <name>`).
842
+ this.session
843
+ .runStartupSkillCuration()
844
+ .then((archived) => {
845
+ if (archived.length > 0) {
846
+ this.showStatus(`Curator: auto-archived ${archived.length} stale skill(s) — ${archived.join(", ")}. Restore with /curate restore <name>.`);
847
+ }
848
+ })
849
+ .catch(() => {
850
+ // curation is best-effort; never disrupt startup
851
+ });
840
852
  // Show startup warnings
841
853
  const { migratedProviders, modelFallbackMessage, initialMessage, initialImages, initialMessages } = this.options;
842
854
  if (migratedProviders && migratedProviders.length > 0) {