@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.
- package/CHANGELOG.md +24 -0
- package/dist/core/agent-session.d.ts +6 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +13 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/learning/skill-curator.d.ts +7 -0
- package/dist/core/learning/skill-curator.d.ts.map +1 -1
- package/dist/core/learning/skill-curator.js +28 -0
- package/dist/core/learning/skill-curator.js.map +1 -1
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +10 -4
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/settings-manager.d.ts +19 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +17 -2
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +6 -0
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +12 -0
- package/dist/modes/interactive/interactive-mode.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
|
@@ -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) {
|