fix(tools): update background-task and session-manager

Minor improvements to background task handling and session manager utilities.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-22 22:48:21 +09:00
parent 061dbcbca8
commit 1bd0db5735
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export function formatSessionMessages(
if (includeTodos && todos && todos.length > 0) {
lines.push("\n\n=== Todos ===")
for (const todo of todos) {
const status = todo.status === "completed" ? "" : todo.status === "in_progress" ? "" : ""
const status = todo.status === "completed" ? "[x]" : todo.status === "in_progress" ? "[-]" : "[ ]"
lines.push(`${status} [${todo.status}] ${todo.content}`)
}
}