{"_id":"@anthonyhaussman/opencode-copilot-quota","_rev":"2-1753a154cdeaeb4ef6569b5f8028525f","name":"@anthonyhaussman/opencode-copilot-quota","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@anthonyhaussman/opencode-copilot-quota","version":"1.0.0","keywords":["opencode","opencode-plugin","copilot","quota","tui"],"author":{"name":"Anthony Haussman"},"license":"MIT","_id":"@anthonyhaussman/opencode-copilot-quota@1.0.0","maintainers":[{"name":"anthonyhaussman","email":"anthonyhaussmann@gmail.com"}],"homepage":"https://github.com/anthonyhaussman/opencode-copilot-quota#readme","bugs":{"url":"https://github.com/anthonyhaussman/opencode-copilot-quota/issues"},"dist":{"shasum":"0b3ca3ac1b939f0321069b530c35e8edaccbda03","tarball":"https://registry.npmjs.org/@anthonyhaussman/opencode-copilot-quota/-/opencode-copilot-quota-1.0.0.tgz","fileCount":6,"integrity":"sha512-c/JlBlt8T3MOxr6Bo6jLzCETlTpD0xtjKnXRG6ToC7/4snhom2YbAV9oH4jQw68nXqc0eo2KuYRfBJ6/232ycA==","signatures":[{"sig":"MEQCIHzLmZv05wZlseU/1Af55OAPJQVRP0H0OWqo+pzX4PR0AiB3WfijnowyhNzDCyYo87L0XhEC1X0jDeNDmF0CKinPYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15081},"type":"module","exports":{".":"./tui.ts","./tui":"./tui.ts"},"gitHead":"e35d0a96d7ce4ec05dce2f4141750de399c8c55e","_npmUser":{"name":"anthonyhaussman","email":"anthonyhaussmann@gmail.com"},"repository":{"url":"git+https://github.com/anthonyhaussman/opencode-copilot-quota.git","type":"git"},"_npmVersion":"11.17.0","description":"GitHub Copilot quota viewer for the OpenCode TUI sidebar","directories":{},"_nodeVersion":"26.5.0","_hasShrinkwrap":false,"peerDependencies":{"solid-js":"*","@opentui/core":"*","@opencode-ai/plugin":"*"},"_npmOperationalInternal":{"tmp":"tmp/opencode-copilot-quota_1.0.0_1784971260075_0.5725233131177552","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anthonyhaussman/opencode-copilot-quota","version":"1.0.1","type":"module","description":"GitHub Copilot quota viewer for the OpenCode TUI sidebar","license":"MIT","author":{"name":"Anthony Haussman"},"repository":{"type":"git","url":"git+https://github.com/anthonyhaussman/opencode-copilot-quota.git"},"keywords":["opencode","opencode-plugin","copilot","quota","tui"],"exports":{".":"./tui.ts","./tui":"./tui.ts"},"peerDependencies":{"@opencode-ai/plugin":"*","solid-js":"*","@opentui/core":"*","@opentui/solid":"*"},"gitHead":"b6197d0b7b1a966cdea81ae5390db6cd54eeaeed","_id":"@anthonyhaussman/opencode-copilot-quota@1.0.1","bugs":{"url":"https://github.com/anthonyhaussman/opencode-copilot-quota/issues"},"homepage":"https://github.com/anthonyhaussman/opencode-copilot-quota#readme","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-HxRd6qO7nTZhiNjX29MdVyW7R1eG+VgTHMDeUzkI28m8vqZR7IT1fBFfIu0e1Q6kUicYc3DEqKmITQyvr0RQAg==","shasum":"d0d220f8c25ff21e4410f4570061ca9090d5e22f","tarball":"https://registry.npmjs.org/@anthonyhaussman/opencode-copilot-quota/-/opencode-copilot-quota-1.0.1.tgz","fileCount":6,"unpackedSize":15108,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHp/9tGb4uR3hczXleTu47Sb7KWa99Rt2+Donq64fiivAiEA7nrToRqVEAZ8v6kiOcupYP3r/8ok4LU4gxUD7M3yVgM="}]},"_npmUser":{"name":"anthonyhaussman","email":"anthonyhaussmann@gmail.com"},"directories":{},"maintainers":[{"name":"anthonyhaussman","email":"anthonyhaussmann@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-copilot-quota_1.0.1_1785050863363_0.49335561339351064"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T09:20:59.895Z","modified":"2026-07-26T07:27:43.623Z","1.0.0":"2026-07-25T09:21:00.202Z","1.0.1":"2026-07-26T07:27:43.491Z"},"bugs":{"url":"https://github.com/anthonyhaussman/opencode-copilot-quota/issues"},"author":{"name":"Anthony Haussman"},"license":"MIT","homepage":"https://github.com/anthonyhaussman/opencode-copilot-quota#readme","keywords":["opencode","opencode-plugin","copilot","quota","tui"],"repository":{"type":"git","url":"git+https://github.com/anthonyhaussman/opencode-copilot-quota.git"},"description":"GitHub Copilot quota viewer for the OpenCode TUI sidebar","maintainers":[{"name":"anthonyhaussman","email":"anthonyhaussmann@gmail.com"}],"readme":"# @anthonyhaussman/opencode-copilot-quota\n\nGitHub Copilot quota viewer for the [OpenCode](https://opencode.ai) TUI sidebar.\n\nShows your Copilot plan, premium interactions usage (progress bar + count), and days until monthly reset - directly in the OpenCode TUI right sidebar, styled with the active theme.\n\n## Install\n\nAdd to `~/.config/opencode/tui.jsonc`:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/tui.json\",\n  \"plugin\": [\"@anthonyhaussman/opencode-copilot-quota\"]\n}\n```\n\nOpenCode auto-installs npm plugins via Bun at startup. No manual `npm install` needed.\n\n## Requirements\n\n- OpenCode signed in to the GitHub Copilot provider (the plugin reads the stored OAuth token from `~/.local/share/opencode/auth.json`).\n\n## How it works\n\nPolls `GET https://api.github.com/copilot_internal/user` using your stored Copilot OAuth token, then renders a Solid component into the `sidebar_content` TUI slot. Refreshes on `session.idle` events and on a 30s interval while the session is active (both throttled to 15s minimum; polling goes dormant after 5min idle).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}