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 / sent-session.ts
14 lines · 442 BRaw
1import type { Args } from 'claude-code'
2import type { MockClock } from 'claude-code/testing'
3
4/**
5 * What a test reads back of its session: each post to the ingest, each file
6 * read and program run the plugin made, each debug line, and the clock.
7 */
8export type SentSession = {
9 readonly posts: Args<'http.fetch'>[]
10 readonly reads: string[]
11 readonly runs: Args<'process.run'>[]
12 readonly lines: string[]
13 readonly clock: MockClock
14}