refactor: remove todo tool (#35989)

This commit is contained in:
Aiden Cline 2026-07-09 00:13:48 -05:00 committed by GitHub
commit 7feefb697f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
250 changed files with 237 additions and 4755 deletions

View file

@ -11,7 +11,6 @@ import {
parseDiagnostics,
parseQuestionAnswers,
parseQuestions,
parseTodos,
toolDisplay,
} from "../../../src/routes/session"
@ -163,9 +162,6 @@ describe("TUI inline tool wrapping", () => {
movePath: undefined,
},
])
expect(parseTodos([null, { status: "pending" }, { status: "pending", content: "Safe" }])).toEqual([
{ status: "pending", content: "Safe" },
])
expect(parseQuestions([{}, { question: 1 }, { question: "Continue?" }])).toEqual([{ question: "Continue?" }])
expect(parseQuestionAnswers([null, ["yes", 1], "no"])).toEqual([[], ["yes"], []])
expect(parseQuestionAnswers({})).toBeUndefined()