@meetopenbot/openbot 1.3.0 → 1.3.2
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/dist/context.js +4 -0
- package/dist/images.js +1 -1
- package/dist/tools/storage.js +4 -2
- package/package.json +2 -2
package/dist/context.js
CHANGED
|
@@ -11,12 +11,16 @@ export const MAX_CONTEXT_FILES = 50;
|
|
|
11
11
|
export const getContextBudgetForModel = (modelString) => {
|
|
12
12
|
const budgets = {
|
|
13
13
|
"openai/gpt-6-astra": 1050000,
|
|
14
|
+
"openai/gpt-6.1-sol": 1050000,
|
|
14
15
|
"openai/gpt-6-sol": 1050000,
|
|
15
16
|
"openai/gpt-6-luna": 1050000,
|
|
16
17
|
"anthropic/claude-fable-5-1": 1000000,
|
|
17
18
|
"anthropic/claude-opus-5-5": 1000000,
|
|
19
|
+
"anthropic/claude-sonnet-5-5": 1000000,
|
|
18
20
|
"anthropic/claude-sonnet-5": 1000000,
|
|
21
|
+
"anthropic/claude-haiku-5-5": 1000000,
|
|
19
22
|
"anthropic/claude-haiku-4-5": 200000,
|
|
23
|
+
"google/gemini-4-argon": 1048576,
|
|
20
24
|
"google/gemini-3.1-pro-preview": 1000000,
|
|
21
25
|
"google/gemini-3.8-flash": 1048576,
|
|
22
26
|
"deepseek/deepseek-flash": 128000,
|
package/dist/images.js
CHANGED
|
@@ -42,7 +42,7 @@ export function pickVisionModel(authMode, env = process.env) {
|
|
|
42
42
|
if (hasAnyKey(env, BYOK_ENV_KEYS.zai))
|
|
43
43
|
return 'zai/glm-5.3-flash';
|
|
44
44
|
if (hasAnyKey(env, BYOK_ENV_KEYS.anthropic))
|
|
45
|
-
return 'anthropic/claude-haiku-
|
|
45
|
+
return 'anthropic/claude-haiku-5-5';
|
|
46
46
|
return undefined;
|
|
47
47
|
}
|
|
48
48
|
function invokeRole(role) {
|
package/dist/tools/storage.js
CHANGED
|
@@ -135,13 +135,15 @@ export const storageTools = {
|
|
|
135
135
|
spec: channelSpec,
|
|
136
136
|
initialState: mergedInitial,
|
|
137
137
|
});
|
|
138
|
-
|
|
138
|
+
// The chat already renders the widget as "Created <name> space" with a link,
|
|
139
|
+
// so the model is told not to confirm the creation a second time.
|
|
140
|
+
const output = `Created #${rawChannelId}. The human already sees "Created ${displayName} space" with a link to it in the chat, so do not announce or restate the creation; only reply with a next step if there is one.`;
|
|
139
141
|
await emitCreateChannelWidget(ctx, {
|
|
140
142
|
widgetId,
|
|
141
143
|
channelId: rawChannelId,
|
|
142
144
|
displayName: displayName,
|
|
143
145
|
channelUrl,
|
|
144
|
-
body:
|
|
146
|
+
body: `Created #${rawChannelId}.`,
|
|
145
147
|
state: 'submitted',
|
|
146
148
|
});
|
|
147
149
|
return { success: true, channelId: rawChannelId, channelUrl, output };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/openbot",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "OpenBot coordinator runtime: ask specialists, route work into Spaces, and track todos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
22
|
+
"@ai-sdk/anthropic": "^4.0.79",
|
|
23
23
|
"@ai-sdk/deepseek": "^3.0.50",
|
|
24
24
|
"@ai-sdk/google": "^4.0.58",
|
|
25
25
|
"@ai-sdk/openai": "^4.0.72",
|