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 / agents-md / hooks / modes / default-mode.ts
8 lines · 266 BRaw
1import type { Mode } from './types'
2
3/**
4 * The mode an unset option reads as: AGENTS.md where the project has no
5 * CLAUDE.md of its own, the engine's CLAUDE.md walk standing alone where it
6 * has one.
7 */
8export const DEFAULT_MODE: Mode = 'claude-md-or-agents-md'