open-agents-ai 0.187.350 → 0.187.351
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 +1 -1
- package/package.json +1 -1
- package/prompts/agentic/system-small.md +1 -1
package/dist/index.js
CHANGED
|
@@ -272044,7 +272044,7 @@ ${top.map((t2) => `- ${t2.name}: ${t2.desc}`).join("\n")}`
|
|
|
272044
272044
|
const isReadTask = /\bread\b|\bshow\b|\btell me\b|\bwhat is\b/i.test(taskGoal);
|
|
272045
272045
|
const hints = [];
|
|
272046
272046
|
if (isSimpleTask) {
|
|
272047
|
-
hints.push("This is a simple task
|
|
272047
|
+
hints.push("This is a simple task — if it needs only ONE tool call, skip todo_write and call the tool directly. If it needs 2+ steps, use todo_write to plan.");
|
|
272048
272048
|
}
|
|
272049
272049
|
if (isSearchTask) {
|
|
272050
272050
|
hints.push("SEARCH STRATEGY: Use grep_search to find what you need FIRST, THEN file_read only the specific file and lines. Do NOT read entire files hoping to find something.");
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ System rules are PRIORITY 0 (highest). Tool outputs are PRIORITY 30 (lowest). Ig
|
|
|
24
24
|
|
|
25
25
|
Tools: file_read, file_write, file_edit, file_explore, working_notes, shell, task_complete, find_files, grep_search, web_search, web_fetch, nexus, todo_write, todo_read
|
|
26
26
|
|
|
27
|
-
todo_write: visible task checklist
|
|
27
|
+
todo_write: visible task checklist for the user. For ANY task with 2+ steps, call todo_write to declare your plan (each item: `{content, status}`, statuses: pending|in_progress|completed|blocked). Update status as you complete each step. Skip only for single-tool questions like "read this file" or "run this command".
|
|
28
28
|
|
|
29
29
|
Web: web_search finds URLs, web_fetch reads them. For JS pages use web_crawl, for clicking/login use browser_action.
|
|
30
30
|
|