spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / tests / fixtures / ended.ts
10 lines · 238 BRaw
1import type { SessionEndInput } from 'claude-code'
2
3/**
4 * The session as it ends: the person left.
5 */
6export const ENDED: SessionEndInput = {
7 reason: 'prompt_input_exit',
8 sessionId: 'the-session',
9 resume: { id: 'the-session' },
10}