Kind: Class
Source: atloria-monorepo/libs/agent-core/src/context/todo-manager.ts
Methods
| Method | Signature | Returns |
|---|---|---|
add | add(description: string) | TodoItem |
addBatch | addBatch(descriptions: string[]) | TodoItem[] |
start | start(id: string) | void |
complete | complete(id: string, result: string) | void |
skip | skip(id: string, reason: string) | void |
getAll | getAll() | ReadonlyArray<TodoItem> |
getPending | getPending() | TodoItem[] |
getCurrent | getCurrent() | `TodoItem |
getStats | getStats() | { total: number; completed: number; pending: number; inProgress: number; skipped: number } |
toContextString | toContextString() | string |
serialize | serialize() | string |
deserialize | deserialize(json: string) | TodoManager |
Where it refuses work
TodoManagerstops the work with an early return whenthis.items.length === 0.
Was this page helpful?