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 Scripted from '../scripted'
import { GIT_WORKTREE } from './git-worktree.js'
import { recordingBackendHostOf } from './recording-backend-host-of.js'
import type { RecordingBackendHost } from './recording-backend-host.js'
/**
* A recording backend host inside a git working tree: `rev-parse` answers
* the three lines, nothing else is scripted.
*
* @returns the host and the programs it ran
*/
export const gitHostOf = (): RecordingBackendHost =>
recordingBackendHostOf({ 'rev-parse': Scripted.ok(GIT_WORKTREE) })