@zerone-agent/open-agent-sdk 0.5.6 → 0.5.8
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.d.ts +24 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +85 -0
- package/dist/agent.js.map +1 -1
- package/dist/engine.d.ts +20 -1
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +45 -38
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/tools/todo-tool.d.ts +18 -8
- package/dist/tools/todo-tool.d.ts.map +1 -1
- package/dist/tools/todo-tool.js +76 -138
- package/dist/tools/todo-tool.js.map +1 -1
- package/dist/types.d.ts +0 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/compact.d.ts +16 -0
- package/dist/utils/compact.d.ts.map +1 -1
- package/dist/utils/compact.js +66 -1
- package/dist/utils/compact.js.map +1 -1
- package/dist/utils/tokens.d.ts +4 -2
- package/dist/utils/tokens.d.ts.map +1 -1
- package/dist/utils/tokens.js +7 -3
- package/dist/utils/tokens.js.map +1 -1
- package/package.json +1 -1
- package/dist/tools/todowrite.txt +0 -25
package/dist/tools/todowrite.txt
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Use this tool to create and manage a structured task list for your current session. It helps track progress and surface status to the user.
|
|
2
|
-
|
|
3
|
-
## When to Use
|
|
4
|
-
1. Multi-step tasks requiring 3+ distinct steps or careful planning
|
|
5
|
-
2. User provides multiple tasks (numbered or comma-separated)
|
|
6
|
-
3. After receiving new instructions — capture as todos immediately
|
|
7
|
-
4. After completing a task — mark complete, add follow-ups
|
|
8
|
-
|
|
9
|
-
## When NOT to Use
|
|
10
|
-
1. Single straightforward task (< 3 trivial steps)
|
|
11
|
-
2. Purely conversational or informational requests
|
|
12
|
-
3. One trivial action — just do it directly
|
|
13
|
-
|
|
14
|
-
## Task States
|
|
15
|
-
- **pending**: Not yet started
|
|
16
|
-
- **in_progress**: Currently working on (limit to ONE at a time)
|
|
17
|
-
- **completed**: Finished successfully
|
|
18
|
-
- **cancelled**: No longer needed
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
- Only ONE task should be `in_progress` at any time
|
|
22
|
-
- Mark tasks `completed` IMMEDIATELY after finishing (don't batch)
|
|
23
|
-
- Cancel tasks that become irrelevant
|
|
24
|
-
- Create specific, actionable items with clear descriptions
|
|
25
|
-
- Break complex tasks into smaller steps
|