@aibranch/llm-meta-widget 0.8.2 → 0.8.3
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.
|
@@ -3272,6 +3272,18 @@ var panel_default = `/* The chat panel's own styles. Extracted from _chat_panel.
|
|
|
3272
3272
|
}
|
|
3273
3273
|
#llm-meta-widget-chat .lmw-title { font-weight: 600; color: #1f2937; }
|
|
3274
3274
|
|
|
3275
|
+
/* Attribution back to the service that answers these chats. The header is
|
|
3276
|
+
* \`space-between\` with two children, so the title and the link travel
|
|
3277
|
+
* together in one group \u2014 otherwise the link lands in the middle of the
|
|
3278
|
+
* bar, visually detached from the title it qualifies. */
|
|
3279
|
+
#llm-meta-widget-chat .lmw-title-group {
|
|
3280
|
+
display: flex; align-items: baseline; gap: 6px; min-width: 0;
|
|
3281
|
+
}
|
|
3282
|
+
#llm-meta-widget-chat .lmw-powered {
|
|
3283
|
+
font-size: 11px; color: #6b7280; text-decoration: none; white-space: nowrap;
|
|
3284
|
+
}
|
|
3285
|
+
#llm-meta-widget-chat .lmw-powered:hover { color: #2563eb; text-decoration: underline; }
|
|
3286
|
+
|
|
3275
3287
|
/* Level-1 model picker \u2014 compact <select> next to the title.
|
|
3276
3288
|
* Populated by JS on widget open from GET /api/llms (anon path
|
|
3277
3289
|
* returns Ollama-only). Hidden entirely if enable_model_picker
|
|
@@ -3557,7 +3569,10 @@ var MARKUP = `
|
|
|
3557
3569
|
|
|
3558
3570
|
<div id="llm-meta-widget-chat" class="llm-meta-conversation">
|
|
3559
3571
|
<div class="lmw-header">
|
|
3560
|
-
<span class="lmw-title">
|
|
3572
|
+
<span class="lmw-title-group">
|
|
3573
|
+
<span class="lmw-title">AI assistant</span>
|
|
3574
|
+
<a class="lmw-powered" href="https://chat.aibranch.org/" target="_blank" rel="noopener noreferrer">(powered by AIbranch)</a>
|
|
3575
|
+
</span>
|
|
3561
3576
|
<div class="lmw-header-right">
|
|
3562
3577
|
<button type="button" class="lmw-clear" title="Clear conversation">clear</button>
|
|
3563
3578
|
<button type="button" class="lmw-hide" title="Hide">\u2212</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aibranch/llm-meta-widget",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"//version": "Must stay in step with lib/llm_meta_widget/version.rb. Two independently versioned copies of the same client is the drift docs/custom-element-distribution.md warns about: bump both, release both.",
|
|
5
5
|
"description": "Embeddable browser chat widget: a custom element that discovers tools at page, origin and hub scope and dispatches each tool call to the right one. Two lines of HTML on any host, Rails or not.",
|
|
6
6
|
"keywords": [
|