@caupulican/pi-adaptative 0.79.0 → 0.80.0

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 (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/core/agent-session.d.ts +1 -0
  3. package/dist/core/agent-session.d.ts.map +1 -1
  4. package/dist/core/agent-session.js +34 -2
  5. package/dist/core/agent-session.js.map +1 -1
  6. package/dist/core/resource-loader.d.ts +1 -0
  7. package/dist/core/resource-loader.d.ts.map +1 -1
  8. package/dist/core/resource-loader.js +26 -1
  9. package/dist/core/resource-loader.js.map +1 -1
  10. package/dist/core/settings-manager.d.ts +12 -0
  11. package/dist/core/settings-manager.d.ts.map +1 -1
  12. package/dist/core/settings-manager.js +16 -0
  13. package/dist/core/settings-manager.js.map +1 -1
  14. package/dist/core/slash-commands.d.ts.map +1 -1
  15. package/dist/core/slash-commands.js +2 -1
  16. package/dist/core/slash-commands.js.map +1 -1
  17. package/dist/modes/interactive/components/settings-selector.d.ts +4 -1
  18. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  19. package/dist/modes/interactive/components/settings-selector.js +98 -3
  20. package/dist/modes/interactive/components/settings-selector.js.map +1 -1
  21. package/dist/modes/interactive/interactive-mode.d.ts +12 -0
  22. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  23. package/dist/modes/interactive/interactive-mode.js +330 -18
  24. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  25. package/docs/settings.md +30 -6
  26. package/docs/usage.md +1 -1
  27. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  28. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  29. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  30. package/examples/extensions/sandbox/package-lock.json +2 -2
  31. package/examples/extensions/sandbox/package.json +1 -1
  32. package/examples/extensions/with-deps/package-lock.json +2 -2
  33. package/examples/extensions/with-deps/package.json +1 -1
  34. package/npm-shrinkwrap.json +12 -12
  35. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.80.0] - 2026-06-01
6
+
7
+ ### Added
8
+
9
+ - Added low-config autonomy presets via `autonomy.mode` and `/autonomy status|off|safe|balanced|full`; `full` now means standing autonomy with post-turn reflection whenever concurrency allows, plus grants for memory, skills, user/project extensions/tools, autonomy tuning, and authorized self-modification source edits while keeping publish/push/tag/release/credential/destructive actions foreground-approval gated.
10
+ - Added Auto Learn reflection review: when Auto Learn/autonomy is enabled, Pi can launch a bounded background learner after corrective or complex tool-heavy turns, with separate cooldown/status reporting and authority instructions derived from `autonomy.mode`.
11
+
12
+ ### Security
13
+
14
+ - Added prompt-injection/exfiltration scanning for eagerly injected `AGENTS.md`, `CLAUDE.md`, and `GEMINI.md` context files; suspicious files are replaced with a blocked notice instead of entering the system prompt.
15
+
5
16
  ## [0.79.0] - 2026-06-01
6
17
 
7
18
  ### Added
@@ -321,6 +321,7 @@ export declare class AgentSession {
321
321
  private _normalizePromptSnippet;
322
322
  private _normalizePromptGuidelines;
323
323
  private _buildSelfModificationPrompt;
324
+ private _buildAutonomyPrompt;
324
325
  private _rebuildSystemPrompt;
325
326
  private _runAgentPrompt;
326
327
  private _handlePostAgentRun;