@aibranch/llm-meta-widget 0.8.2 → 0.8.4
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,21 @@ 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
|
+
/* The wrapper is plain text; only the service NAME is clickable, so the
|
|
3283
|
+
* link target is the word a reader would aim at. */
|
|
3284
|
+
#llm-meta-widget-chat .lmw-powered {
|
|
3285
|
+
font-size: 11px; color: #6b7280; white-space: nowrap;
|
|
3286
|
+
}
|
|
3287
|
+
#llm-meta-widget-chat .lmw-powered a { color: inherit; text-decoration: underline; }
|
|
3288
|
+
#llm-meta-widget-chat .lmw-powered a:hover { color: #2563eb; }
|
|
3289
|
+
|
|
3275
3290
|
/* Level-1 model picker \u2014 compact <select> next to the title.
|
|
3276
3291
|
* Populated by JS on widget open from GET /api/llms (anon path
|
|
3277
3292
|
* returns Ollama-only). Hidden entirely if enable_model_picker
|
|
@@ -3557,7 +3572,10 @@ var MARKUP = `
|
|
|
3557
3572
|
|
|
3558
3573
|
<div id="llm-meta-widget-chat" class="llm-meta-conversation">
|
|
3559
3574
|
<div class="lmw-header">
|
|
3560
|
-
<span class="lmw-title">
|
|
3575
|
+
<span class="lmw-title-group">
|
|
3576
|
+
<span class="lmw-title">AI assistant</span>
|
|
3577
|
+
<span class="lmw-powered">(powered by <a href="https://chat.aibranch.org/" target="_blank" rel="noopener noreferrer">AIbranch</a>)</span>
|
|
3578
|
+
</span>
|
|
3561
3579
|
<div class="lmw-header-right">
|
|
3562
3580
|
<button type="button" class="lmw-clear" title="Clear conversation">clear</button>
|
|
3563
3581
|
<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.4",
|
|
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": [
|