@columenlabs/lumen-ui 0.1.229 → 0.1.230
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.
|
@@ -115,7 +115,8 @@ export function LumenAssistant({ client, context, onSettings, keepDays = 30, cha
|
|
|
115
115
|
},
|
|
116
116
|
}
|
|
117
117
|
: null;
|
|
118
|
-
|
|
118
|
+
// The app picks the tier itself (pick_tier false): no tier menu, `#`, /model or /escalate.
|
|
119
|
+
const tiers = s?.pick_tier === false ? [] : (s?.tiers ?? []);
|
|
119
120
|
const above = tiers.slice(tiers.findIndex((t) => t.id === s?.tier) + 1);
|
|
120
121
|
// The kit's commands; the app's own (`commands`, then the server's) come first and win a name.
|
|
121
122
|
const builtIns = [
|
|
@@ -185,7 +186,7 @@ export function LumenAssistant({ client, context, onSettings, keepDays = 30, cha
|
|
|
185
186
|
allCommands.push(c);
|
|
186
187
|
const shown = useShownAssistantSources();
|
|
187
188
|
const allSources = [...shown, ...sources.filter((x) => !shown.some((y) => y.id === x.id))];
|
|
188
|
-
return (_jsxs("div", { "data-assistant": "", className: "flex h-full min-h-0 flex-col", children: [_jsxs("div", { className: "flex h-12 shrink-0 items-center gap-1 border-b px-3", children: [_jsx(SparklesIcon, { className: "size-4 text-edge" }), _jsx("span", { className: "min-w-0 flex-1 truncate font-medium", children: chat.title || s?.name || 'Assistant' }), s &&
|
|
189
|
+
return (_jsxs("div", { "data-assistant": "", className: "flex h-full min-h-0 flex-col", children: [_jsxs("div", { className: "flex h-12 shrink-0 items-center gap-1 border-b px-3", children: [_jsx(SparklesIcon, { className: "size-4 text-edge" }), _jsx("span", { className: "min-w-0 flex-1 truncate font-medium", children: chat.title || s?.name || 'Assistant' }), s && tiers.length > 1 && (_jsx(LumenSelector, { trigger: "chip", size: "sm", label: "Tier", value: s.tier, options: tiers.map((t) => ({ value: t.id, label: t.label, detail: t.model_label })), onChange: (t) => void setTier(t) })), _jsx(LumenAssistantChats, { chats: chats.data
|
|
189
190
|
?.filter((c) => !chatScope || allScopes || c.scope === chatScope.current)
|
|
190
191
|
.map((c) => ({
|
|
191
192
|
id: c.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@columenlabs/lumen-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.230",
|
|
4
4
|
"description": "Lumen: shared React components (frame, views, widgets, charts, drawers).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@codemirror/lang-javascript": "6.2.5",
|
|
50
50
|
"@codemirror/lang-json": "6.0.2",
|
|
51
51
|
"@codemirror/lang-sql": "6.10.0",
|
|
52
|
-
"@columenlabs/lumen-ui-types": "0.1.
|
|
52
|
+
"@columenlabs/lumen-ui-types": "0.1.230",
|
|
53
53
|
"@dnd-kit/core": "6.3.1",
|
|
54
54
|
"@dnd-kit/sortable": "10.0.0",
|
|
55
55
|
"@dnd-kit/utilities": "3.2.2",
|