bunnyquery 1.15.2 → 1.15.5
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/bunnyquery.css +3 -1
- package/bunnyquery.js +5 -3
- package/dist/engine.cjs +4 -2
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.mts +2 -2
- package/dist/engine.d.ts +2 -2
- package/dist/engine.mjs +4 -2
- package/dist/engine.mjs.map +1 -1
- package/package.json +2 -3
- package/src/engine/budget.ts +2 -2
- package/src/engine/requests.ts +5 -4
- package/src/widget.css +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunnyquery",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.5",
|
|
4
4
|
"description": "Embeddable BunnyQuery AI chat widget + its framework-agnostic chat engine",
|
|
5
5
|
"main": "bunnyquery.js",
|
|
6
6
|
"exports": {
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsup && node scripts/build-css.mjs",
|
|
34
34
|
"build:css": "node scripts/build-css.mjs",
|
|
35
|
-
"dev": "npx bns port=3333"
|
|
36
|
-
"test": "for f in ./tests/*.cjs; do echo \"--- $f\"; node \"$f\" || exit 1; done"
|
|
35
|
+
"dev": "npx bns port=3333"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
38
|
"basic-node-server": "^1.1.1"
|
package/src/engine/budget.ts
CHANGED
|
@@ -24,7 +24,7 @@ export var CONTEXT_WINDOW_DEFAULT: Record<string, number> = { claude: 200000, op
|
|
|
24
24
|
export var CONTEXT_WINDOW_BY_MODEL: Record<string, number> = {
|
|
25
25
|
// claude, exact ids
|
|
26
26
|
'claude-fable-5-1': 1000000, 'claude-opus-5-5': 1000000,
|
|
27
|
-
'claude-sonnet-5-5': 1000000,
|
|
27
|
+
'claude-sonnet-5-5': 1000000, 'claude-haiku-5-5': 1000000,
|
|
28
28
|
'claude-fable-5': 1000000, 'claude-opus-5': 1000000,
|
|
29
29
|
'claude-opus-4-8': 1000000, 'claude-opus-4-7': 1000000,
|
|
30
30
|
'claude-opus-4-6': 1000000, 'claude-opus-4-5': 200000,
|
|
@@ -73,7 +73,7 @@ export var CONTEXT_WINDOW_BY_MODEL: Record<string, number> = {
|
|
|
73
73
|
export var MAX_OUTPUT_BY_MODEL: Record<string, number> = {
|
|
74
74
|
// claude
|
|
75
75
|
'claude-fable-5-1': 128000, 'claude-opus-5-5': 128000,
|
|
76
|
-
'claude-sonnet-5-5': 128000,
|
|
76
|
+
'claude-sonnet-5-5': 128000, 'claude-haiku-5-5': 128000,
|
|
77
77
|
'claude-fable-5': 128000, 'claude-opus-5': 128000,
|
|
78
78
|
'claude-opus-4-8': 128000, 'claude-sonnet-5': 128000,
|
|
79
79
|
'claude-sonnet-4-6': 64000, 'claude-haiku-4-5': 64000,
|
package/src/engine/requests.ts
CHANGED
|
@@ -68,10 +68,11 @@ const webToolsForChat = (platform: 'claude' | 'openai', webAccess: boolean | und
|
|
|
68
68
|
export const MCP_NAME = 'BunnyQuery';
|
|
69
69
|
|
|
70
70
|
// The model a project uses when it never picked one (the settings page shows the same
|
|
71
|
-
// constants). Owner's choice 2026-10-
|
|
72
|
-
// have rows in budget.ts: 1,000,000 / 1,050,000 context, 128,000 output).
|
|
73
|
-
|
|
74
|
-
export const
|
|
71
|
+
// constants). Owner's choice 2026-10-19: Haiku 5.5 on Claude, GPT-6 Luna on OpenAI (both
|
|
72
|
+
// have rows in budget.ts: 1,000,000 / 1,050,000 context, 128,000 output). Before that,
|
|
73
|
+
// 2026-10-12 to 2026-10-19: Sonnet 5.5 and GPT-6.1 Sol.
|
|
74
|
+
export const DEFAULT_CLAUDE_MODEL = 'claude-haiku-5-5';
|
|
75
|
+
export const DEFAULT_OPENAI_MODEL = 'gpt-6-luna';
|
|
75
76
|
|
|
76
77
|
const mcpUrl = () => chatEngineConfig().mcpBaseUrl;
|
|
77
78
|
|
package/src/widget.css
CHANGED
|
@@ -674,7 +674,9 @@
|
|
|
674
674
|
padding: 0.5rem 0 1rem;
|
|
675
675
|
font-size: 0.8rem;
|
|
676
676
|
color: var(--bq-muted);
|
|
677
|
-
|
|
677
|
+
/* a translucent band, not a solid one: the newest rows keep showing through
|
|
678
|
+
while the strip is up (mirrors agent.vue, 2026-10-21) */
|
|
679
|
+
background: linear-gradient(to bottom, color-mix(in srgb, var(--bq-paper) 78%, transparent) 70%, transparent);
|
|
678
680
|
}
|
|
679
681
|
/* initial first-page load: center it in the (empty) messages area. A full-box
|
|
680
682
|
overlay rather than a top strip, so it takes its height back - and it replaces
|