@caupulican/pi-adaptative 0.80.54 → 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 +2 -0
- package/dist/core/agent-session.d.ts +10 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +44 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/sdk.d.ts +8 -0
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +2 -0
- package/dist/core/sdk.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +5 -0
- package/dist/main.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
package/CHANGELOG.md
CHANGED
|
@@ -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;
|