openbot 0.1.10 → 0.1.12
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/agent.js +1 -3
- package/dist/cli.js +1 -1
- package/package.json +4 -4
package/dist/agent.js
CHANGED
|
@@ -54,8 +54,6 @@ export async function createOpenBot(options) {
|
|
|
54
54
|
const resolvedBaseDir = resolvePath(baseDir);
|
|
55
55
|
// Parse model configuration
|
|
56
56
|
const { provider, modelId } = parseModelString(config.model || "gpt-4o-mini");
|
|
57
|
-
// Build dynamic system prompt from identity files and skills
|
|
58
|
-
const systemPrompt = await buildSystemPrompt(resolvedBaseDir);
|
|
59
57
|
// Tool definitions shared by both providers
|
|
60
58
|
const toolDefinitions = {
|
|
61
59
|
...shellToolDefinitions,
|
|
@@ -79,7 +77,7 @@ export async function createOpenBot(options) {
|
|
|
79
77
|
}
|
|
80
78
|
const llmPlugin = aiSDKPlugin({
|
|
81
79
|
model: model,
|
|
82
|
-
system:
|
|
80
|
+
system: (_context) => buildSystemPrompt(resolvedBaseDir),
|
|
83
81
|
toolDefinitions,
|
|
84
82
|
});
|
|
85
83
|
// Use a dedicated directory for the agent's browser data to avoid conflicts with your main Chrome.
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openbot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dotenv": "^16.4.5",
|
|
17
17
|
"express": "^4.19.2",
|
|
18
18
|
"zod": "^4.3.5",
|
|
19
|
-
"@melony/plugin-ai-sdk": "0.1.
|
|
20
|
-
"@melony/plugin-file-system": "0.1.1",
|
|
19
|
+
"@melony/plugin-ai-sdk": "0.1.3",
|
|
21
20
|
"@melony/plugin-browser": "0.1.1",
|
|
22
|
-
"@melony/plugin-
|
|
21
|
+
"@melony/plugin-file-system": "0.1.1",
|
|
22
|
+
"@melony/plugin-meta-agent": "0.1.2",
|
|
23
23
|
"@melony/plugin-shell": "0.1.1",
|
|
24
24
|
"melony": "0.2.5"
|
|
25
25
|
},
|