open-agents-ai 0.187.21 → 0.187.22
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/index.js +13 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -295211,16 +295211,12 @@ var init_dmn_engine = __esm({
|
|
|
295211
295211
|
this.gatherMemoryTopics()
|
|
295212
295212
|
]);
|
|
295213
295213
|
const capabilities = [
|
|
295214
|
-
"file_read
|
|
295215
|
-
"shell \u2014 run shell commands",
|
|
295216
|
-
"grep_search, find_files \u2014 search codebase",
|
|
295214
|
+
"file_read \u2014 read files",
|
|
295215
|
+
"shell \u2014 run shell commands (read-only queries, system checks)",
|
|
295216
|
+
"grep_search, find_files, list_directory \u2014 search and browse codebase",
|
|
295217
295217
|
"web_search, web_fetch \u2014 search and read the web",
|
|
295218
|
-
"memory_read, memory_write, memory_search \u2014 persistent memory",
|
|
295219
|
-
"
|
|
295220
|
-
"scheduler, reminder, agenda \u2014 temporal agency",
|
|
295221
|
-
"codebase_map, diagnostic, git_info \u2014 project analysis",
|
|
295222
|
-
"sub_agent \u2014 delegate subtasks to independent agents",
|
|
295223
|
-
"autoresearch \u2014 autonomous GPU ML experiment loop (modify architecture/hyperparams, train 5min, keep/discard)"
|
|
295218
|
+
"memory_read, memory_write, memory_search \u2014 persistent memory (consolidate insights here)",
|
|
295219
|
+
"codebase_map \u2014 project structure overview"
|
|
295224
295220
|
];
|
|
295225
295221
|
const prompt = buildDMNGatherPrompt(this.recentTaskSummaries, reminders, attention, memoryTopics, capabilities, this.state.competence, this.state.reflectionBuffer);
|
|
295226
295222
|
const modelTier = getModelTier(this.config.model);
|
|
@@ -295302,7 +295298,7 @@ DMN state directory: ${this.stateDir}`);
|
|
|
295302
295298
|
turns: result.turns
|
|
295303
295299
|
};
|
|
295304
295300
|
}
|
|
295305
|
-
/** Build the tool set for the DMN agent —
|
|
295301
|
+
/** Build the tool set for the DMN agent — exploration + memory + shell */
|
|
295306
295302
|
buildDMNTools() {
|
|
295307
295303
|
const tools = [
|
|
295308
295304
|
new FileReadTool(this.repoRoot),
|
|
@@ -295314,7 +295310,8 @@ DMN state directory: ${this.stateDir}`);
|
|
|
295314
295310
|
new MemorySearchTool(this.repoRoot),
|
|
295315
295311
|
new CodebaseMapTool(this.repoRoot),
|
|
295316
295312
|
new WebFetchTool(),
|
|
295317
|
-
new WebSearchTool()
|
|
295313
|
+
new WebSearchTool(),
|
|
295314
|
+
new ShellTool(this.repoRoot)
|
|
295318
295315
|
];
|
|
295319
295316
|
return [
|
|
295320
295317
|
...tools.map(adaptTool3),
|
|
@@ -295586,7 +295583,11 @@ OUTPUT: Call task_complete with JSON:
|
|
|
295586
295583
|
new GlobFindTool(this.repoRoot),
|
|
295587
295584
|
new ListDirectoryTool(this.repoRoot),
|
|
295588
295585
|
new MemoryReadTool(this.repoRoot),
|
|
295589
|
-
new MemorySearchTool(this.repoRoot)
|
|
295586
|
+
new MemorySearchTool(this.repoRoot),
|
|
295587
|
+
new ShellTool(this.repoRoot),
|
|
295588
|
+
new WebSearchTool(),
|
|
295589
|
+
new WebFetchTool(),
|
|
295590
|
+
new CodebaseMapTool(this.repoRoot)
|
|
295590
295591
|
];
|
|
295591
295592
|
tools.push(new MemoryWriteTool(this.repoRoot));
|
|
295592
295593
|
runner.registerTools([
|
package/package.json
CHANGED