bunnyquery 1.14.0 → 1.15.0

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.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "Embeddable BunnyQuery AI chat widget + its framework-agnostic chat engine",
5
5
  "main": "bunnyquery.js",
6
6
  "exports": {
@@ -32,6 +32,9 @@ export var CONTEXT_WINDOW_BY_MODEL: Record<string, number> = {
32
32
  'claude-sonnet-4-5': 1000000, 'claude-sonnet-4': 200000,
33
33
  'claude-haiku-4-5': 200000, 'claude-3-5-sonnet': 200000,
34
34
  // openai, exact ids
35
+ // gpt-6.1: OpenAI's listing carries no window; taken as the gpt-6 family's until a
36
+ // published figure says otherwise (2026-10-12, the default model).
37
+ 'gpt-6.1-sol': 1050000,
35
38
  'gpt-6-astra': 1050000, 'gpt-6-sol': 1050000, 'gpt-6-luna': 1050000,
36
39
  'gpt-5.6-sol': 1050000, 'gpt-5.6-terra': 1050000, 'gpt-5.6-luna': 1050000,
37
40
  'gpt-5.5': 1000000, 'gpt-5.4': 1050000,
@@ -39,7 +42,7 @@ export var CONTEXT_WINDOW_BY_MODEL: Record<string, number> = {
39
42
  'gpt-4.1': 1040000, 'gpt-4o': 128000, 'o1': 200000, 'o1-pro': 200000,
40
43
  // family keys
41
44
  'claude-fable': 1000000, 'claude-opus': 1000000, 'claude-sonnet': 1000000,
42
- 'claude-haiku': 200000, 'gpt-6': 1050000, 'gpt-5.6': 1050000, 'gpt-5': 128000,
45
+ 'claude-haiku': 200000, 'gpt-6.1': 1050000, 'gpt-6': 1050000, 'gpt-5.6': 1050000, 'gpt-5': 128000,
43
46
  };
44
47
  // Two rows above are load-bearing rather than redundant, both because the family
45
48
  // walk drops trailing segments:
@@ -76,6 +79,7 @@ export var MAX_OUTPUT_BY_MODEL: Record<string, number> = {
76
79
  'claude-sonnet-4-6': 64000, 'claude-haiku-4-5': 64000,
77
80
  'claude-3-5-sonnet': 8000,
78
81
  // openai
82
+ 'gpt-6.1-sol': 128000,
79
83
  'gpt-6-astra': 128000, 'gpt-6-sol': 128000, 'gpt-6-luna': 128000,
80
84
  'gpt-5.6-sol': 128000, 'gpt-5.6-terra': 128000, 'gpt-5.6-luna': 128000,
81
85
  'gpt-5.5': 128000, 'gpt-5.4': 128000,
@@ -83,7 +87,7 @@ export var MAX_OUTPUT_BY_MODEL: Record<string, number> = {
83
87
  'gpt-4.1': 16000, 'gpt-4o': 4000, 'o1': 100000, 'o1-pro': 100000,
84
88
  // family keys
85
89
  'claude-fable': 128000, 'claude-opus': 128000, 'claude-sonnet': 64000,
86
- 'claude-haiku': 64000, 'gpt-6': 128000, 'gpt-5.6': 128000, 'gpt-5': 128000,
90
+ 'claude-haiku': 64000, 'gpt-6.1': 128000, 'gpt-6': 128000, 'gpt-5.6': 128000, 'gpt-5': 128000,
87
91
  };
88
92
 
89
93
  // The window a project runs at when nobody has touched the setting, clamped per
@@ -66,8 +66,11 @@ const webToolsForChat = (platform: 'claude' | 'openai', webAccess: boolean | und
66
66
  };
67
67
  export const MCP_NAME = 'BunnyQuery';
68
68
 
69
- export const DEFAULT_CLAUDE_MODEL = 'claude-sonnet-5';
70
- export const DEFAULT_OPENAI_MODEL = 'gpt-5.6-luna';
69
+ // The model a project uses when it never picked one (the settings page shows the same
70
+ // constants). Owner's choice 2026-10-12: Sonnet 5.5 on Claude, GPT-6.1 Sol on OpenAI (both
71
+ // have rows in budget.ts: 1,000,000 / 1,050,000 context, 128,000 output).
72
+ export const DEFAULT_CLAUDE_MODEL = 'claude-sonnet-5-5';
73
+ export const DEFAULT_OPENAI_MODEL = 'gpt-6.1-sol';
71
74
 
72
75
  const mcpUrl = () => chatEngineConfig().mcpBaseUrl;
73
76