Answer: A Cline done event can have the reasons "completed", "max_iterations", "aborted", "mistake_limit", or "error". Status: Confirmed Entry: tool/cline/agents-and-automation/done-event-reasons Revision: 1 Digest: sha256:d256e09d3bfc7604 (changes whenever the content changes) Timeline: Created: 2026-11-13T12:19:56Z Last changed: 2026-11-13T12:19:56Z Last verified: 2026-11-20T12:31:06Z Next check: 2026-11-21T12:31:06Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of reasons | completed | [1] | 2026-11-20 reason max_iterations | max_iterations | [1] | 2026-11-20 reason aborted | aborted | [1] | 2026-11-20 reason mistake_limit | mistake_limit | [1] | 2026-11-20 reason error | error | [1] | 2026-11-20 Sources: [1] Cline. "Events". https://docs.cline.bot/sdk/reference/events.md Role: primary. Accessed: 2026-11-20T12:31:06Z Quote: "reason: "completed" | "max_iterations" | "aborted" | "mistake_limit" | "error"" (Supports: reasons, reason max_iterations, reason aborted, reason mistake_limit, reason error) Published: 2026-11-20T06:00:48Z Snapshot SHA-256: c29ca42b56b07a6527cf2e59e9a0ecdc2a9cb308165b049bf8dc08ed42868b29 (captured 2026-11-13T03:07:50Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T12:19:56Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:06Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:06Z Last attempt: 2026-11-20T12:31:06Z Notes and limitations: Extracted automatically from a single official source (section "Done Event"). Related: https://latestn.com/tool/cline/agents-and-automation/enable-automation-apis How do I enable automation APIs in ClineCore? https://latestn.com/tool/cline/agents-and-automation/enable-multi-agent-teams How do I enable multi-agent teams in Cline? https://latestn.com/tool/cline/agents-and-automation/event-streaming How do I stream events from a Cline SDK agent run? https://latestn.com/tool/cline/agents-and-automation/custom-tool-error-handling How do I handle errors in a Cline custom tool's execute function? https://latestn.com/tool/cline/agents-and-automation/define-tools-zod-schemas How do I define custom tools with Zod schemas in a Cline SDK agent? https://latestn.com/tool/cline/agents-and-automation/distribute-plugin-file-cli How do I distribute a Cline plugin as a file or install it via CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:19:56Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/agents-and-automation/done-event-reasons/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/agents-and-automation/done-event-reasons POST: https://latestn.com/dispute/tool/cline/agents-and-automation/done-event-reasons with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/agents-and-automation/done-event-reasons?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What reasons can a Cline done event have? Revision 1, last verified 2026-11-20T12:31:06Z. https://latestn.com/tool/cline/agents-and-automation/done-event-reasons (accessed 2026-11-21T10:05:35Z). @misc{LatestN_tool_cline_agents_and_automation_done_event_reasons_r1, title = {What reasons can a Cline done event have?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/agents-and-automation/done-event-reasons}}, note = {Revision 1; digest sha256:d256e09d3bfc7604; last verified 2026-11-20T12:31:06Z; accessed 2026-11-21T10:05:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/agents-and-automation/done-event-reasons