@caupulican/pi-adaptative 0.80.53 → 0.80.55

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.80.55] - 2026-06-27
2
+
3
+ ## [0.80.54] - 2026-06-27
4
+
1
5
  ## [0.80.53] - 2026-06-27
2
6
 
3
7
  ## [0.80.52] - 2026-06-26
@@ -105,6 +105,13 @@ export interface AgentSessionConfig {
105
105
  excludedToolNames?: string[];
106
106
  /** Optional resource-profile allow/block filters for tool names. */
107
107
  toolProfileFilter?: ResourceProfileFilterSettings;
108
+ /**
109
+ * Whether the model/thinking level came from an explicit launch flag. When false, the active
110
+ * profile's model/thinking is re-applied on reload() so live profile edits take effect; when
111
+ * true, the explicit launch-time choice is preserved.
112
+ */
113
+ isExplicitModel?: boolean;
114
+ isExplicitThinking?: boolean;
108
115
  /**
109
116
  * Override base tools (useful for custom runtimes).
110
117
  *
@@ -207,6 +214,8 @@ export declare class AgentSession {
207
214
  private _allowedToolNames?;
208
215
  private _excludedToolNames?;
209
216
  private _toolProfileFilter?;
217
+ private readonly _isExplicitModel;
218
+ private readonly _isExplicitThinking;
210
219
  private _baseToolsOverride?;
211
220
  private _sessionStartEvent;
212
221
  private _extensionUIContext?;
@@ -538,6 +547,7 @@ export declare class AgentSession {
538
547
  * so reload() can re-apply it after a live settings/profile edit.
539
548
  */
540
549
  private _deriveToolProfileFilter;
550
+ private _reapplyActiveProfileModelSettings;
541
551
  private _refreshToolRegistry;
542
552
  private _createReloadRuntimeSnapshot;
543
553
  private _restoreReloadRuntimeSnapshot;