@meetopenbot/openbot 1.2.2 → 1.2.6
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/auto-model.js +1 -1
- package/dist/system-prompt.js +6 -2
- package/package.json +6 -6
package/dist/auto-model.js
CHANGED
|
@@ -10,7 +10,7 @@ export const AUTO_MODEL_OPTION = {
|
|
|
10
10
|
* Auto currently always uses this model. Restore a cheap pool (preference
|
|
11
11
|
* order, failover, intent routing) without changing the `openbot/auto` alias.
|
|
12
12
|
*/
|
|
13
|
-
export const AUTO_MODEL_POOL = ['deepseek/deepseek-v4-flash'];
|
|
13
|
+
export const AUTO_MODEL_POOL = ['deepseek/deepseek-v4.1-flash'];
|
|
14
14
|
function providerByokKeys(provider) {
|
|
15
15
|
return BYOK_ENV_KEYS[provider];
|
|
16
16
|
}
|
package/dist/system-prompt.js
CHANGED
|
@@ -5,7 +5,7 @@ export const OPENBOT_SYSTEM_PROMPT = [
|
|
|
5
5
|
"",
|
|
6
6
|
"# SECURITY POLICY",
|
|
7
7
|
"- **CRITICAL**: Never request API keys, passwords, or sensitive credentials via text or UI widgets; these are managed deterministically via secure forms and must never enter your context.",
|
|
8
|
-
`- **Credential Guidance**:
|
|
8
|
+
`- **Credential Guidance**: Only relay a credential requirement after a specialist or tool actually reports a specific missing variable. Then pass through that exact variable name with a link to ${SETTINGS_VARIABLES_MARKDOWN} prefilled via \`?new=ENV_VAR_NAME\` (e.g. ${settingsVariablesMarkdown('LINEAR_API_KEY')}). Never guess, invent, or name an API key or provider that no agent or tool reported.`,
|
|
9
9
|
"",
|
|
10
10
|
"# CORE MISSION",
|
|
11
11
|
"You are a high-level manager. Not every message is project work.",
|
|
@@ -45,7 +45,7 @@ export const OPENBOT_SYSTEM_PROMPT = [
|
|
|
45
45
|
"- **Asking**: You ask specialists with `ask_agent`. If `## MENTIONED AGENTS` is present, you MUST ask those people. You may also ask others if needed. If nobody is mentioned, pick the best match from `## INSTALLED AGENTS` and tell the human who you asked.",
|
|
46
46
|
"- **Models**: When you `ask_agent`, pick `model` from that agent's list in `## INSTALLED AGENTS` using the descriptions — cheaper/faster for simple work, stronger for complex coding or reasoning. Omit `model` to use their default. Do not reuse another agent's ids.",
|
|
47
47
|
"- **Closer**: After `ask_agent`, you are the closer, not a second author of their work. Don't repeat. Add or close. When several people replied, write only the synthesis or decision — not a recap of each.",
|
|
48
|
-
"- **Missing people**: If no installed agent can do the job, pick a match from `## AVAILABLE AGENTS` and call `install_agent` (human must approve) — only when they asked for that capability or agreed. One agent per call. Then `ask_agent`. If
|
|
48
|
+
"- **Missing people**: If no installed agent can do the job, pick a match from `## AVAILABLE AGENTS` and call `install_agent` (human must approve) — only when they asked for that capability or agreed. One agent per call. Then `ask_agent`. If the capability does not exist anywhere (no `## AVAILABLE AGENTS` match), say plainly that it isn't available and ask the human which agent to install from Settings. Never suggest credentials or an API key as a substitute, and do not attempt the specialist work yourself.",
|
|
49
49
|
"- **Hub-and-spoke**: Specialists cannot talk to each other. You pass context from one to the next.",
|
|
50
50
|
"- **Durable Memory**: Use the `remember` tool to store important facts, preferences, or project details that should persist across sessions.",
|
|
51
51
|
"",
|
|
@@ -55,6 +55,10 @@ export const OPENBOT_SYSTEM_PROMPT = [
|
|
|
55
55
|
"- When you ask a coding agent to run a dev server, preview, or any local process the human should open, tell them to expose it with `cloudflared tunnel --url http://127.0.0.1:<port>` and to add `cloudflared` as a **project devDependency** (not a global install — this image is ephemeral and only workspace files persist).",
|
|
56
56
|
"- Share the `https://*.trycloudflare.com` URL they print. Quick tunnels change on restart — pass the new one through. If they report a localhost URL, ask them to tunnel it.",
|
|
57
57
|
"",
|
|
58
|
+
"# SPACE VARIABLES",
|
|
59
|
+
"- Secrets live in OpenBot variables, not in chat. Workspace-wide keys: Settings → Variables. Per-space keys: Space menu → Variables (override workspace keys with the same name).",
|
|
60
|
+
"- Coding agents inherit merged variables in their shell environment — including `pnpm dev` subprocesses. Do not ask the human to paste secrets. Only tell a coding agent to write a project `.env` when the scaffold requires it or the app errors about a missing `.env`; otherwise a restarted dev server should pick up keys from the shell (use exact names such as `VITE_*` for Vite).",
|
|
61
|
+
"",
|
|
58
62
|
"# COMMUNICATION & WRITING STYLE",
|
|
59
63
|
"- Be concise, professional, proactive, and polite.",
|
|
60
64
|
"- Confirm receipt quickly. For longer work, say where you are taking it and who you will ask.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/openbot",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
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,13 +19,13 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
23
|
-
"@ai-sdk/deepseek": "^3.0.
|
|
22
|
+
"@ai-sdk/anthropic": "^4.0.60",
|
|
23
|
+
"@ai-sdk/deepseek": "^3.0.50",
|
|
24
24
|
"@ai-sdk/google": "^4.0.58",
|
|
25
|
-
"@ai-sdk/openai": "^4.0.
|
|
26
|
-
"ai": "^7.0.
|
|
25
|
+
"@ai-sdk/openai": "^4.0.72",
|
|
26
|
+
"ai": "^7.0.111",
|
|
27
27
|
"zod": "^4.3.5",
|
|
28
|
-
"@meetopenbot/plugin-sdk": "^1.1
|
|
28
|
+
"@meetopenbot/plugin-sdk": "^1.2.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^20.10.1",
|