@tangle-network/sandbox-ui 0.95.1 → 0.97.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.
- package/dist/{WorkflowGraph-MPNVC5FE.js → WorkflowGraph-OPLQFAJK.js} +1 -1
- package/dist/chat.d.ts +27 -2
- package/dist/chat.js +2 -2
- package/dist/{chunk-GUULFESL.js → chunk-A4AABEX4.js} +463 -330
- package/dist/{chunk-O7MHUR4U.js → chunk-LHUBJPZR.js} +28 -1
- package/dist/{chunk-FWSBQLFG.js → chunk-WMVUJ5SA.js} +69 -34
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +17 -8
- package/dist/index.js +2 -2
- package/dist/pages.js +1 -1
- package/dist/styles.css +17 -8
- package/dist/workbench.js +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +1 -1
package/dist/chat.d.ts
CHANGED
|
@@ -106,7 +106,17 @@ interface AgentProfilePickerProps {
|
|
|
106
106
|
onUpdate?: (id: string, draft: AgentProfileDraft) => void | Promise<void>;
|
|
107
107
|
onDelete?: (id: string) => void | Promise<void>;
|
|
108
108
|
disabled?: boolean;
|
|
109
|
+
/** Keep the pinned profile visible while preventing profile selection. */
|
|
110
|
+
locked?: boolean;
|
|
111
|
+
/** Tooltip shown on the locked trigger when no `onNewChat` is provided. */
|
|
112
|
+
lockReason?: string;
|
|
113
|
+
/** Offer a fresh chat from the informative lock popover. */
|
|
114
|
+
onNewChat?: () => void;
|
|
109
115
|
className?: string;
|
|
116
|
+
/** Additional classes for the picker trigger. */
|
|
117
|
+
triggerClassName?: string;
|
|
118
|
+
/** Additional classes for the profile popover. */
|
|
119
|
+
popoverClassName?: string;
|
|
110
120
|
/** Side the menu opens toward. Defaults to up (composer-anchored). */
|
|
111
121
|
side?: "top" | "bottom";
|
|
112
122
|
}
|
|
@@ -119,7 +129,7 @@ interface AgentProfilePickerProps {
|
|
|
119
129
|
* because the inline form needs its own focus and typing without the menu
|
|
120
130
|
* stealing keystrokes.
|
|
121
131
|
*/
|
|
122
|
-
declare function AgentProfilePicker({ value, onChange, profiles, capabilities, onCreate, onUpdate, onDelete, disabled, className, side, }: AgentProfilePickerProps): React.JSX.Element;
|
|
132
|
+
declare function AgentProfilePicker({ value, onChange, profiles, capabilities, onCreate, onUpdate, onDelete, disabled, locked, lockReason, onNewChat, className, triggerClassName, popoverClassName, side, }: AgentProfilePickerProps): React.JSX.Element;
|
|
123
133
|
|
|
124
134
|
interface AgentSessionHarnessControl {
|
|
125
135
|
value: HarnessType;
|
|
@@ -160,6 +170,15 @@ interface AgentSessionModelControl {
|
|
|
160
170
|
popular?: ReadonlyArray<string>;
|
|
161
171
|
recents?: ReadonlyArray<string>;
|
|
162
172
|
disabled?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Restrict the catalog to these architecture modalities (forwarded to
|
|
175
|
+
* `ModelPicker`'s `modalities`). Supplying this — even `[]` — replaces the
|
|
176
|
+
* chat surface's default text-chat filter: the caller owns modality
|
|
177
|
+
* filtering entirely.
|
|
178
|
+
*/
|
|
179
|
+
modalities?: ReadonlyArray<string>;
|
|
180
|
+
/** Drop providers from the picker entirely (forwarded to `ModelPicker`). */
|
|
181
|
+
excludeProviders?: ReadonlyArray<string>;
|
|
163
182
|
}
|
|
164
183
|
interface AgentSessionReasoningControl {
|
|
165
184
|
value: ReasoningLevel;
|
|
@@ -175,7 +194,7 @@ interface AgentSessionReasoningControl {
|
|
|
175
194
|
/**
|
|
176
195
|
* Agent-profile (mode / toolset / persona) selection. Backend-agnostic — it
|
|
177
196
|
* sits beside the model in both router-backed and sandbox-backed modes, so the
|
|
178
|
-
*
|
|
197
|
+
* profile binding remains independent of harness selection.
|
|
179
198
|
*/
|
|
180
199
|
interface AgentSessionProfileControl {
|
|
181
200
|
value: string;
|
|
@@ -187,6 +206,12 @@ interface AgentSessionProfileControl {
|
|
|
187
206
|
onUpdate?: (id: string, draft: AgentProfileDraft) => void | Promise<void>;
|
|
188
207
|
onDelete?: (id: string) => void | Promise<void>;
|
|
189
208
|
disabled?: boolean;
|
|
209
|
+
/** Keep the profile pinned once this conversation has started. */
|
|
210
|
+
locked?: boolean;
|
|
211
|
+
/** Tooltip shown on the locked trigger when no `onNewChat` is provided. */
|
|
212
|
+
lockReason?: string;
|
|
213
|
+
/** Start a fresh chat where the user can select another profile. */
|
|
214
|
+
onNewChat?: () => void;
|
|
190
215
|
}
|
|
191
216
|
interface AgentSessionControlsProps {
|
|
192
217
|
/**
|
package/dist/chat.js
CHANGED
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
snapHarnessToModel,
|
|
20
20
|
snapModelToHarness,
|
|
21
21
|
validateComposerFiles
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-A4AABEX4.js";
|
|
23
23
|
import "./chunk-TK46XFLM.js";
|
|
24
24
|
import {
|
|
25
25
|
MENTION_PILL_CLASS
|
|
26
26
|
} from "./chunk-WGOOQAW3.js";
|
|
27
27
|
import "./chunk-WSN2RZC6.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WMVUJ5SA.js";
|
|
29
29
|
import "./chunk-5XRAKVIV.js";
|
|
30
30
|
import "./chunk-EI44GEQ5.js";
|
|
31
31
|
import "./chunk-CZ7CSFO4.js";
|