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.
TypeScript
import type { Args } from 'claude-code'
import type { MockClock } from 'claude-code/testing'
/**
* What a test reads back of its session: each post to the ingest, each file
* read and program run the plugin made, each debug line, and the clock.
*/
export type SentSession = {
readonly posts: Args<'http.fetch'>[]
readonly reads: string[]
readonly runs: Args<'process.run'>[]
readonly lines: string[]
readonly clock: MockClock
}