{"_id":"@botaoxyz/claude-statusline","name":"@botaoxyz/claude-statusline","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@botaoxyz/claude-statusline","version":"1.0.0","description":"My Claude Code Status Line","bin":{"claude-statusline":"dist/index.mjs"},"scripts":{"build":"tsdown src/index.ts --outDir dist --minify","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"keywords":["claude","status","line"],"author":{"name":"BoTao","email":"botaoxyz@gmail.com"},"license":"ISC","type":"module","publishConfig":{"access":"public"},"packageManager":"pnpm@10.33.0","devDependencies":{"@types/node":"^25.5.0","tsdown":"^0.21.7","typescript":"^6.0.2","vitest":"^4.1.2"},"gitHead":"081f07a385e6b19ddfbf092e2a310e5bda27d6dc","_id":"@botaoxyz/claude-statusline@1.0.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-Ngd75dpBsA6rLaQ52N7F1RDQFburSa1dbnEP5/mZth0d42UAUhKKh9ujTlT158taPcpm2vHFOgQBkIaNRjzO8g==","shasum":"a012fd01961fd14c3a4a5e614ce52122363528bc","tarball":"https://registry.npmjs.org/@botaoxyz/claude-statusline/-/claude-statusline-1.0.0.tgz","fileCount":3,"unpackedSize":6478,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCRoX81R2YMyqtyh/Tggj5OPu18ltgFWNKuxq3Mv8rfVAIgduGAGzZUCt57ex/oB/QMVY4chEtJvrbFmeDWdea+JCs="}]},"_npmUser":{"name":"melody0z","email":"botaoxyz@gmail.com"},"directories":{},"maintainers":[{"name":"melody0z","email":"botaoxyz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-statusline_1.0.0_1775023970691_0.5141281439620722"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T06:12:50.617Z","1.0.0":"2026-04-01T06:12:50.815Z","modified":"2026-04-01T06:12:51.035Z"},"maintainers":[{"name":"melody0z","email":"botaoxyz@gmail.com"}],"description":"My Claude Code Status Line","keywords":["claude","status","line"],"author":{"name":"BoTao","email":"botaoxyz@gmail.com"},"license":"ISC","readme":"# @botaoxyz/claude-statusline\n\nA custom status line for [Claude Code](https://docs.anthropic.com/en/docs/claude-code), displaying model info, working directory, git status, and context window usage — all in your terminal.\n\n```\n Opus |  my-project |  main ⇡2 [+!?] |  █████░░░░░░░░░░ 32.5%\n```\n\n## Prerequisites\n\n### Nerd Fonts\n\nThis status line uses [Nerd Fonts](https://www.nerdfonts.com/) icons. You **must** install a Nerd Font and configure your terminal to use it, otherwise icons will not render correctly.\n\n1. Download a patched font from [nerdfonts.com](https://www.nerdfonts.com/font-downloads) (recommended: `JetBrainsMono Nerd Font`, `FiraCode Nerd Font`, or `MesloLGS Nerd Font`)\n2. Install the font on your system\n3. Set your terminal emulator's font to the installed Nerd Font\n\n### Node.js\n\nRequires Node.js >= 18.\n\n## Installation & Usage\n\n### Option 1: Global Install\n\n```bash\nnpm install -g @botaoxyz/claude-statusline\n```\n\nThen add to your Claude Code configuration (`~/.claude/settings.json`):\n\n```json\n{\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"claude-statusline\"\n  }\n}\n```\n\n### Option 2: npx / bunx (No Install)\n\nNo global installation needed — just reference the package directly:\n\n```json\n{\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"npx @botaoxyz/claude-statusline\"\n  }\n}\n```\n\nOr with [Bun](https://bun.sh/):\n\n```json\n{\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"bunx @botaoxyz/claude-statusline\"\n  }\n}\n```\n\n## What It Shows\n\n| Section | Icon | Description |\n| ------- | ---- | ----------- |\n| Model | `` | Current Claude model name (e.g. Opus, Sonnet) |\n| Directory | `` | Basename of the working directory |\n| Git | `` | Branch name + file status + ahead/behind |\n| Context | `` | Context window usage bar with percentage |\n\n## Git Status Symbols\n\nThe git status section follows [Starship](https://starship.rs/config/#git-status) conventions:\n\n### Ahead / Behind\n\n| Symbol | Meaning |\n| ------ | ------- |\n| `⇡N` | Ahead of remote by N commits |\n| `⇣N` | Behind remote by N commits |\n| `⇕N/M` | Diverged — ahead by N, behind by M |\n\n### File Status\n\nDisplayed inside `[...]` brackets. Multiple symbols can appear simultaneously.\n\n| Symbol | Meaning |\n| ------ | ------- |\n| `=` | Merge conflicts exist |\n| `+` | Staged changes (added to index) |\n| `!` | Modified files (unstaged) |\n| `»` | Renamed files |\n| `✘` | Deleted files |\n| `?` | Untracked files |\n| `$` | Stashed changes |\n\n### Examples\n\n| Output | Meaning |\n| ------ | ------- |\n| `main` | Clean, up to date |\n| `main ⇡2` | 2 commits ahead of remote |\n| `main ⇣1` | 1 commit behind remote |\n| `main ⇕3/1` | 3 ahead, 1 behind (diverged) |\n| `main [!?]` | Has modified and untracked files |\n| `main ⇡1 [+!?$]` | 1 ahead, with staged, modified, untracked, and stashed changes |\n| `main [=+!»✘?$]` | All status types present |\n\n## License\n\nISC\n","readmeFilename":"README.md","_rev":"1-b77849a61852f862cbb867448bd76ce1"}