bunnyquery 1.15.2 → 1.15.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunnyquery",
3
- "version": "1.15.2",
3
+ "version": "1.15.4",
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"
@@ -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,
@@ -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-12: Sonnet 5.5 on Claude, GPT-6.1 Sol on OpenAI (both
72
- // have rows in budget.ts: 1,000,000 / 1,050,000 context, 128,000 output).
73
- export const DEFAULT_CLAUDE_MODEL = 'claude-sonnet-5-5';
74
- export const DEFAULT_OPENAI_MODEL = 'gpt-6.1-sol';
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