{"_id":"@dartchuk-s/cc-statusline","_rev":"5-9ec016d46d595545957c45d8f1affb67","name":"@dartchuk-s/cc-statusline","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@dartchuk-s/cc-statusline","version":"0.1.0","author":{"url":"https://github.com/sergeymanson","name":"sergeymanson","email":"manson047@gmail.com"},"license":"MIT","_id":"@dartchuk-s/cc-statusline@0.1.0","maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"homepage":"https://github.com/sergeymanson/cc-statusline#readme","bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"bin":{"cc-statusline":"dist/index.js"},"dist":{"shasum":"b2c289a375667c5ee4c5196887b49ed946a53e54","tarball":"https://registry.npmjs.org/@dartchuk-s/cc-statusline/-/cc-statusline-0.1.0.tgz","fileCount":13,"integrity":"sha512-4ZV4alt0gCpdi1CtkNTDQSA+BgLXDr0HFBOhWoqcJMuMs0WlwBO9Yi2hmPkNjUD5nrrqpyaL/RmTcTPsndsNYA==","signatures":[{"sig":"MEYCIQDeXXZxzX4CLxZH7HS75V1YQ+jYpz66hOpSmt9KInO9bAIhAPaJEczV95V2GEjFRxFWPbiXAkp5qJN7GSodnhVwURnV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9347},"engines":{"node":">=24"},"gitHead":"895a29457b3305047abff13303273ed8f80ef28e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dartchuk-s","email":"manson047@gmail.com"},"repository":{"url":"git+https://github.com/sergeymanson/cc-statusline.git","type":"git"},"_npmVersion":"11.12.1","description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cc-statusline_0.1.0_1781698353320_0.36166303498330965","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dartchuk-s/cc-statusline","version":"0.1.1","author":{"url":"https://github.com/sergeymanson","name":"sergeymanson","email":"manson047@gmail.com"},"license":"MIT","_id":"@dartchuk-s/cc-statusline@0.1.1","maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"homepage":"https://github.com/sergeymanson/cc-statusline#readme","bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"bin":{"cc-statusline":"dist/index.js"},"dist":{"shasum":"b2167841a8954c6524f2efa6d01aabde9f4fdf01","tarball":"https://registry.npmjs.org/@dartchuk-s/cc-statusline/-/cc-statusline-0.1.1.tgz","fileCount":13,"integrity":"sha512-k2RynShk7ePATknDy/moU+f4EaXJ5IcU1fb0csuUI2CAdoGu9gWpBx8iwQOzL42DxJLpLImFSNhWETBML7HFbg==","signatures":[{"sig":"MEUCIQDttLI0G84zkR9QcHxKtskFTW2l1QrJnN4i2A1vVapGDwIgcaa8d++n1CES1PxTsvVd7KpHHnDtuF3QqyDKyK+k9JI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dartchuk-s%2fcc-statusline@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9936},"engines":{"node":">=24"},"gitHead":"e7166ed5ad30a8f401dfa518e2d8213110e8149b","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:819811db-857c-4549-86de-afcb4970a8b0"}},"repository":{"url":"git+https://github.com/sergeymanson/cc-statusline.git","type":"git"},"_npmVersion":"11.17.0","description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cc-statusline_0.1.1_1781699269202_0.9322880857746392","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dartchuk-s/cc-statusline","version":"0.1.2","author":{"url":"https://github.com/sergeymanson","name":"sergeymanson","email":"manson047@gmail.com"},"license":"MIT","_id":"@dartchuk-s/cc-statusline@0.1.2","maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"homepage":"https://github.com/sergeymanson/cc-statusline#readme","bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"bin":{"cc-statusline":"dist/index.js"},"dist":{"shasum":"1ac215edd109721500127c74dddcf32a258c906d","tarball":"https://registry.npmjs.org/@dartchuk-s/cc-statusline/-/cc-statusline-0.1.2.tgz","fileCount":13,"integrity":"sha512-0yU+bIQMpGVpP1RQp8iLLN8WzG2VCUQ4LWUmyr8/O/U1Q3SgboC9lt6iHuhoCIbW26gImoAgdHtv7IxQIRPN9g==","signatures":[{"sig":"MEUCIF0z1rzalEbcmsVQfbQT+a4gIpT2k6EwGYo5JE0LG4hAAiEA9TQmnSxwTIXYefjsMrDVvuEQCuC0Ur54jxgK0k+QZMk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dartchuk-s%2fcc-statusline@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10278},"engines":{"node":">=24"},"gitHead":"b28630568371c118e1814a74d86c4fdba724c4e4","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:819811db-857c-4549-86de-afcb4970a8b0"}},"repository":{"url":"git+https://github.com/sergeymanson/cc-statusline.git","type":"git"},"_npmVersion":"11.17.0","description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cc-statusline_0.1.2_1781707685745_0.38493271897718184","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@dartchuk-s/cc-statusline","version":"0.2.0","author":{"url":"https://github.com/sergeymanson","name":"sergeymanson","email":"manson047@gmail.com"},"license":"MIT","_id":"@dartchuk-s/cc-statusline@0.2.0","maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"homepage":"https://github.com/sergeymanson/cc-statusline#readme","bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"bin":{"cc-statusline":"dist/index.js"},"dist":{"shasum":"bd2c825d1c99727a3047d441d7c931b45c4229f1","tarball":"https://registry.npmjs.org/@dartchuk-s/cc-statusline/-/cc-statusline-0.2.0.tgz","fileCount":13,"integrity":"sha512-RRz+BJM/8yY+vpf/KNVknpA8R7E/+NvcpLg6eej9FPIwMh6SV9T7e+7S2CKmT5YRgAzqlgY3FehR5/sw3e0fVQ==","signatures":[{"sig":"MEUCIQCeCNRmyQUbDe51rtLKGlP/mR2wPE2ePlh+s0Jo/ahetAIgMp3ryN/EEuAJfABhbHLY3xdelzQBoWmKKP9Bzp46TYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dartchuk-s%2fcc-statusline@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13854},"engines":{"node":">=24"},"gitHead":"3f7682e03f95474c4b6fb3b6fea96cd3eabbe3d2","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:819811db-857c-4549-86de-afcb4970a8b0"}},"repository":{"url":"git+https://github.com/sergeymanson/cc-statusline.git","type":"git"},"_npmVersion":"11.17.0","description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cc-statusline_0.2.0_1781709082004_0.8602862592649465","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@dartchuk-s/cc-statusline","version":"0.2.1","description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","author":{"name":"sergeymanson","email":"manson047@gmail.com","url":"https://github.com/sergeymanson"},"repository":{"type":"git","url":"git+https://github.com/sergeymanson/cc-statusline.git"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"homepage":"https://github.com/sergeymanson/cc-statusline#readme","bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"bin":{"cc-statusline":"dist/index.js"},"engines":{"node":">=24"},"publishConfig":{"access":"public"},"license":"MIT","devDependencies":{"@types/node":"^24.0.0","typescript":"^5.4.0"},"gitHead":"92607ab1e69c5cfa4f501c80bbca7b640e7d6255","_id":"@dartchuk-s/cc-statusline@0.2.1","_nodeVersion":"24.16.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-uYgw0InGyBVi7wCQkaIvzGTnvFbfBVRzLo86GGQdzV9Hl2qukWSymZuI29y1KjSTfRzkAIfnZ0Rd5m1HiT/j5A==","shasum":"90a472ba49b6377f31f90f4a87e2c319ba2f0ec5","tarball":"https://registry.npmjs.org/@dartchuk-s/cc-statusline/-/cc-statusline-0.2.1.tgz","fileCount":13,"unpackedSize":14126,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dartchuk-s%2fcc-statusline@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGQIfRLnnpKzUL9p3J8FvO7p2JfaObpsLrMjYgZeSdL/AiBYfwg7oFXPnBNHJMsSWu7u5Zt+VhLk3QwZyBLtiRLnDQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:819811db-857c-4549-86de-afcb4970a8b0"}},"directories":{},"maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-statusline_0.2.1_1781709827815_0.4991461880987007"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T12:12:33.105Z","modified":"2026-06-17T15:23:48.252Z","0.1.0":"2026-06-17T12:12:33.467Z","0.1.1":"2026-06-17T12:27:49.341Z","0.1.2":"2026-06-17T14:48:05.881Z","0.2.0":"2026-06-17T15:11:22.140Z","0.2.1":"2026-06-17T15:23:47.953Z"},"bugs":{"url":"https://github.com/sergeymanson/cc-statusline/issues"},"author":{"name":"sergeymanson","email":"manson047@gmail.com","url":"https://github.com/sergeymanson"},"license":"MIT","homepage":"https://github.com/sergeymanson/cc-statusline#readme","repository":{"type":"git","url":"git+https://github.com/sergeymanson/cc-statusline.git"},"description":"Claude Code statusline showing 5-hour and weekly subscription quota usage","maintainers":[{"name":"dartchuk-s","email":"manson047@gmail.com"}],"readme":"# cc-statusline\n\n[![npm](https://img.shields.io/npm/v/@dartchuk-s/cc-statusline)](https://www.npmjs.com/package/@dartchuk-s/cc-statusline)\n[![downloads](https://img.shields.io/npm/dm/@dartchuk-s/cc-statusline)](https://www.npmjs.com/package/@dartchuk-s/cc-statusline)\n[![license](https://img.shields.io/npm/l/@dartchuk-s/cc-statusline)](./LICENSE)\n[![node](https://img.shields.io/node/v/@dartchuk-s/cc-statusline)](https://nodejs.org)\n[![install size](https://packagephobia.com/badge?p=@dartchuk-s/cc-statusline)](https://packagephobia.com/result?p=@dartchuk-s/cc-statusline)\n\nA minimal, zero-config [Claude Code](https://claude.com/claude-code) status line that shows your\nmodel, working directory, context usage, git branch, subscription quota, and session cost — all\ncolour-coded across two compact lines. No setup, no config file, no TUI: point Claude Code at it\nand it just works.\n\nPublished on npm: [`@dartchuk-s/cc-statusline`](https://www.npmjs.com/package/@dartchuk-s/cc-statusline).\n\n```\nModel: Opus 4.8 | Ctx: 44.1k (22%) | 5h: 23% | 7d: 61% | $0.42 · 12m\ncc-statusline | ⎇ main\n```\n\nModel, context, quota and cost go on the first line; the working directory and git branch on the\nsecond.\n\n## Features\n\n- **Model** — current model name, always highlighted.\n- **Directory** — the working directory (folder name).\n- **Context** — live context size with the percentage of the window used; colour-coded by size\n  (green < 100k, yellow 100k–175k, red > 175k tokens).\n- **Git branch** — current branch in the workspace, or a dimmed `no git` outside a repo.\n- **Quota** — 5-hour and weekly subscription usage, colour-coded (green < 50%, yellow 50–79%,\n  red 80%+).\n- **Session cost** — estimated cost in USD and elapsed session time.\n- **Zero config** — two static lines, sensible colours, no settings to maintain. Any segment\n  without data is silently omitted.\n\n## Configure Claude Code\n\nAdd a `statusLine` entry to `~/.claude/settings.json`:\n\n```json\n{\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"npx -y @dartchuk-s/cc-statusline@latest\",\n    \"padding\": 0,\n    \"refreshInterval\": 10\n  }\n}\n```\n\n`npx` fetches and caches the package on first run; `@latest` keeps it up to date.\nClaude Code pipes its status JSON to the command on stdin; the binary prints a single\nformatted line to stdout.\n\n## Segments\n\n| Segment       | Source                                                            |\n|---------------|-------------------------------------------------------------------|\n| `Model`       | `model.display_name`                                              |\n| directory     | folder name of `workspace.current_dir`                            |\n| `Ctx`         | token count from the latest usage entry in the session transcript |\n| `(NN%)`       | `context_window.used_percentage` (when provided)                  |\n| `⎇ branch`     | `git rev-parse --abbrev-ref HEAD` in the workspace dir            |\n| `5h`          | `rate_limits.five_hour.used_percentage`                           |\n| `7d`          | `rate_limits.seven_day.used_percentage`                           |\n| `$cost · time` | `cost.total_cost_usd` and `cost.total_duration_ms`               |\n\nAny segment without data is omitted.\n\n## Requirements\n\n- Node.js >= 24\n\n## Development\n\n```bash\nnpm install\nnpm run build        # tsc -> dist/\n\n# smoke test\necho '{\"model\":{\"display_name\":\"Opus\"},\"workspace\":{\"current_dir\":\".\"},\"context_window\":{\"used_percentage\":22},\"cost\":{\"total_cost_usd\":0.42,\"total_duration_ms\":720000}}' | node dist/index.js\n```\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}