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 / hooks / entries / token / token.ts
5 lines · 193 BRaw
1/**
2 * The shape of an event name, a property key and a Choice member: a
3 * snake_case token of at most 64 characters, starting with a letter.
4 */
5export const TOKEN = /^[a-z][a-z0-9_]{0,63}$/