The whole hunk
from line 70, old and new numbered
/
lines
from line 70
7070
7171 try {
7272 for await (const message of query({
73 prompt: "Optimize my React app performance and track progress with todos",
73 prompt: "Create a static website with a home page, an about page, and a shared stylesheet, and track progress with todos",
7474 // Keeps the Task tools on models where Claude Code otherwise doesn't provide them.
7575 options: { maxTurns: 15, permissionMode: "acceptEdits", env: { ...process.env, CLAUDE_CODE_ENABLE_TODO_TOOLS: "1" } },
7676 })) {
from line 106
106106 async def main():
107107 try:
108108 async for message in query(
109 prompt="Optimize my React app performance and track progress with todos",
109 prompt="Create a static website with a home page, an about page, and a shared stylesheet, and track progress with todos",
110110 # Keeps the Task tools on models where Claude Code otherwise doesn't provide them.
111111 options=ClaudeAgentOptions(max_turns=15, permission_mode="acceptEdits", env={"CLAUDE_CODE_ENABLE_TODO_TOOLS": "1"}),
112112 ):