Agent support · Hooks & Lifecycle

Session lifecycle management

Hooks for session start and end — initialize environment, load context, clean up resources, or log session activity

Lifecycle Hooks Hooks & Lifecycle
Supported
Partial
No
Unknown
Claude Code Current · May 2026
Cline Current · May 2026
Codex CLI Current · Apr 2026
Copilot Current · Apr 2026
Cursor Current · Apr 2026
Windsurf Current · Apr 2026
2.1.72 - 2.1.143
3.82.0 - 3.83.0
0.114.0 - 0.128.0
2026.03 - 2026.05
2.5 - 3.2
1.13.3 - 2.1.29
2.1.10 - 2.1.72
3.82.0
0.92.0 - 0.113.0
2026.01 - 2026.03
2.4 - 2.5
1.13.3
2.1.10
3.82.0
0.88.0
2025.10
2.4
1.13.3
1.0.62 - 2.1.10
3.82.0
0.8.0 - 0.88.0
2025.07 - 2025.10
1.2 - 2.0
1.2.1 - 1.13.3
0.2.54 - 1.0.59
3.36.0 - 3.82.0
0.2.0 - 0.8.0
2025.06 - 2025.07
0.45 - 1.2
1.2.1
0.2.31 - 0.2.54
1.5.0 - 3.33.0
0.45
1.0.2 - 1.2.1

Supported by 5 of 6 agents.

HoverTap any cell for version details.

Agent event mapping

  • claude-code SessionStart, SessionEnd
  • cline TaskStart
  • codex-cli SessionStart
  • copilot sessionStart, sessionEnd
  • cursor sessionStart, sessionEnd

Sub-capabilities

  • Session start: initialize env vars, load context, inject configuration
  • Session end: clean up resources, flush logs, save state
  • Claude Code: SessionStart (1.0.62) and SessionEnd (1.0.85) shipped separately
  • Codex CLI: SessionStart only, can distinguish fresh start vs resume vs /clear
  • Cursor: both events, fire-and-forget (non-blocking); sessionEnd includes reason and duration
  • Cline: TaskStart fires at the beginning of each agentic loop (task-level, no session end hook)