@caupulican/pi-adaptative 0.80.95 → 0.80.97

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 +21 -0
  2. package/dist/core/agent-session.d.ts.map +1 -1
  3. package/dist/core/agent-session.js +39 -0
  4. package/dist/core/agent-session.js.map +1 -1
  5. package/dist/core/toolkit/reflex-interpreter.d.ts +28 -0
  6. package/dist/core/toolkit/reflex-interpreter.d.ts.map +1 -0
  7. package/dist/core/toolkit/reflex-interpreter.js +62 -0
  8. package/dist/core/toolkit/reflex-interpreter.js.map +1 -0
  9. package/dist/core/tools/run-toolkit-script.d.ts +8 -0
  10. package/dist/core/tools/run-toolkit-script.d.ts.map +1 -1
  11. package/dist/core/tools/run-toolkit-script.js +21 -3
  12. package/dist/core/tools/run-toolkit-script.js.map +1 -1
  13. package/dist/modes/interactive/components/settings-selector.d.ts +7 -1
  14. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  15. package/dist/modes/interactive/components/settings-selector.js +147 -0
  16. package/dist/modes/interactive/components/settings-selector.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
@@ -5526,6 +5526,10 @@ export class InteractiveMode {
5526
5526
  workerDelegationScope: projectSettings.workerDelegation ? "project" : "global",
5527
5527
  contextCuration: this.settingsManager.getContextCurationSettings(),
5528
5528
  contextCurationScope: projectSettings.contextPolicy?.curation ? "project" : "global",
5529
+ learningPolicy: this.settingsManager.getLearningPolicySettings(),
5530
+ learningPolicyScope: projectSettings.learningPolicy ? "project" : "global",
5531
+ modelCapability: this.settingsManager.getModelCapabilitySettings(),
5532
+ modelCapabilityScope: projectSettings.modelCapability ? "project" : "global",
5529
5533
  modelRouter: this.settingsManager.getModelRouterSettings(),
5530
5534
  modelRouterScope: projectSettings.modelRouter ? "project" : "global",
5531
5535
  autoLearn: this.settingsManager.getAutoLearnSettings(),
@@ -5683,6 +5687,14 @@ export class InteractiveMode {
5683
5687
  this.settingsManager.setWorkerDelegationSettings(settings, scope);
5684
5688
  this.showStatus(`Worker delegation settings saved to ${scope}. The delegate tool uses them.`);
5685
5689
  },
5690
+ onLearningPolicyChange: (settings, scope) => {
5691
+ this.settingsManager.setLearningPolicySettings(settings, scope);
5692
+ this.showStatus(`Learning policy saved to ${scope}.`);
5693
+ },
5694
+ onModelCapabilityChange: (settings, scope) => {
5695
+ this.settingsManager.setModelCapabilitySettings(settings, scope);
5696
+ this.showStatus(`Model capability mode saved to ${scope}. Applies on the next model switch or /reload.`);
5697
+ },
5686
5698
  onContextCurationChange: (settings, scope) => {
5687
5699
  this.settingsManager.setContextCurationSettings(settings, scope);
5688
5700
  this.showStatus(`Context curation settings saved to ${scope}. Run /fitness <model> first if the model is unprobed.`);