{"_id":"@ahmadforhat/sentry-cli","_rev":"11-44e08617ab1b74fa195f4ea3fa8822ae","name":"@ahmadforhat/sentry-cli","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@ahmadforhat/sentry-cli","version":"0.0.1","keywords":["sentry","cli"],"author":"","license":"ISC","_id":"@ahmadforhat/sentry-cli@0.0.1","maintainers":[{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"}],"bin":{"sentry-cli":"dist/index.js"},"dist":{"shasum":"abab7e3cb44bbfdf25ee1ffd787c55489083654d","tarball":"https://registry.npmjs.org/@ahmadforhat/sentry-cli/-/sentry-cli-0.0.1.tgz","fileCount":7,"integrity":"sha512-5VqahLT33fVCc0Z6yEQpWHkV9Ris7eTk+V6xiXXS1J8ZkYLBH3I7Zm6K2oOXqa8l9anw9cVcRpCX00G78OVJlQ==","signatures":[{"sig":"MEUCIHrmTjhWs/Z2cl94FKvkBPbUWi5phfnwIBzGlnFa6qRMAiEAi2cmyFVigl7X29zpAgAjvPHUrq7CcoKulGBXmDl+UAA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12712},"main":"dist/index.js","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"},"_npmVersion":"10.9.2","description":"Simple CLI for Sentry issue management","directories":{},"_nodeVersion":"22.13.0","dependencies":{"axios":"^1.6.0","@ahmadforhat/sentry-cli":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry-cli_0.0.1_1761983916002_0.18597024179155608","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@ahmadforhat/sentry-cli","version":"0.0.2","keywords":["sentry","cli"],"author":"","license":"ISC","_id":"@ahmadforhat/sentry-cli@0.0.2","maintainers":[{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"}],"bin":{"sentry-cli":"dist/index.js"},"dist":{"shasum":"b0472eef1d89616f64648f33e5f7f02c08a76116","tarball":"https://registry.npmjs.org/@ahmadforhat/sentry-cli/-/sentry-cli-0.0.2.tgz","fileCount":7,"integrity":"sha512-+RdMJD0zbh+XrK5kkc/0lEW1w8bqNhnJjqyPy0DbD1V9dGQDdTe2ag14D+HssdtmLFx5LukHmt/NzjOyt4ujSA==","signatures":[{"sig":"MEQCIBaWQ6WIt+6zt3G+YDd6nf9HbCdpuDMpIHIi7XSy7dybAiBdBqYMi4fkaCLz7GJ7Sc7WywN0kXw4LaHMfcFdSnJkHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12712},"main":"dist/index.js","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"},"_npmVersion":"10.9.2","description":"Simple CLI for Sentry issue management","directories":{},"_nodeVersion":"22.13.0","dependencies":{"axios":"^1.6.0","@ahmadforhat/sentry-cli":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry-cli_0.0.2_1761983975113_0.3206249327486459","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@ahmadforhat/sentry-cli","version":"0.0.3","keywords":["sentry","cli"],"author":"","license":"ISC","_id":"@ahmadforhat/sentry-cli@0.0.3","maintainers":[{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"}],"bin":{"sentry-cli":"dist/index.js"},"dist":{"shasum":"ad534b2c9492ac76333349e1836ec1dbe005bc04","tarball":"https://registry.npmjs.org/@ahmadforhat/sentry-cli/-/sentry-cli-0.0.3.tgz","fileCount":7,"integrity":"sha512-tlhPTqAuCxaEEhcxD3WAjnwTXg929u09azknJCU59zb69N/ubMr3br6QuCPkNoYuBCOe+i3BOPNvjzMLh/4z4g==","signatures":[{"sig":"MEUCIQDl8MxX4+ZSz06ivsZmmXJlTq9MsT9MbQr0GGXoEgE3yQIgTgZplGX5HlJ9oyTy55edrbtyjvEb4KQFB2jHWL0qvs8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12671},"main":"dist/index.js","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"},"_npmVersion":"10.9.2","description":"Simple CLI for Sentry issue management","directories":{},"_nodeVersion":"22.13.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry-cli_0.0.3_1761984330009_0.22022400437769152","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@ahmadforhat/sentry-cli","version":"0.0.4","description":"Simple CLI for Sentry issue management","main":"dist/index.js","bin":{"sentry-cli":"dist/index.js"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build"},"keywords":["sentry","cli"],"author":"","license":"ISC","dependencies":{"axios":"^1.6.0"},"devDependencies":{"@types/node":"^20.10.0","typescript":"^5.3.0"},"_id":"@ahmadforhat/sentry-cli@0.0.4","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-dDo0jcSdpZufxmQUN/WhbFuw89hqoeOmhQ1h4mFUaruExHS9CJGkoAOah08JvAZrxSTUkfFsAZ//JMm9YDiQng==","shasum":"559fcb625c0932a8e97a6b91a9ef3171ccb89eb4","tarball":"https://registry.npmjs.org/@ahmadforhat/sentry-cli/-/sentry-cli-0.0.4.tgz","fileCount":7,"unpackedSize":14429,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEMOkwkWUnKgs+uUbd/2Q9z0/3jz30rzQX1EyKAb3GVcAiBokPvyCTIS7SdwWKSgXFOA+x3BI5OSDea21FY8v2OgMw=="}]},"_npmUser":{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sentry-cli_0.0.4_1761984684178_0.09992632616788155"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-01T07:58:35.940Z","modified":"2025-11-01T08:11:24.583Z","1.0.0":"2025-11-01T07:14:40.671Z","1.0.1":"2025-11-01T07:39:18.234Z","1.0.2":"2025-11-01T07:52:40.833Z","1.0.3":"2025-11-01T07:53:30.516Z","1.0.4":"2025-11-01T07:56:35.774Z","0.0.1":"2025-11-01T07:58:36.229Z","0.0.2":"2025-11-01T07:59:35.336Z","0.0.3":"2025-11-01T08:05:30.209Z","0.0.4":"2025-11-01T08:11:24.400Z"},"license":"ISC","keywords":["sentry","cli"],"description":"Simple CLI for Sentry issue management","maintainers":[{"name":"ahmadforhat","email":"ahmad.forhat@gmail.com"}],"readme":"# Sentry CLI\n\nA simple command-line tool for managing and monitoring Sentry issues. Perfect for integrating Sentry into your workflows or AI-powered debugging assistants.\n\n## Features\n\n- 🔐 Secure credential storage\n- 📊 Fetch detailed issue information with latest events\n- 🎯 Get prioritized unresolved issues sorted by frequency\n\n## Installation\n\n### Global Installation (Recommended)\n\n```bash\nnpm install -g @ahmadforhat/sentry-cli\n```\n\n### From Source\n\n```bash\ngit clone <repository-url>\ncd sentry-cli\nnpm install\nnpm run build\nnpm install -g .\n```\n\n## Quick Start\n\n### 1. Login\n\nSave your Sentry credentials (you'll be prompted):\n\n```bash\nsentry-cli login\n```\n\nYou'll need:\n- **API Token**: Generate from Sentry → Settings → Account → API → Auth Tokens\n- **Organization Slug**: Found in your Sentry URL (e.g., `my-org` from `https://sentry.io/organizations/my-org/`)\n\n### 2. Get Issue Details\n\nFetch a specific issue by ID with its latest event:\n\n```bash\nsentry-cli get-issue 123456\n```\n\n**Output includes:**\n- Issue metadata (title, status, counts, etc.)\n- Latest event details (stack trace, context, breadcrumbs)\n\n### 3. Get Recent Issues\n\nFetch unresolved issues that occurred in the last N hours, sorted by frequency:\n\n```bash\nsentry-cli get-last-issues --24\n```\n\n**Examples:**\n```bash\nsentry-cli get-last-issues --1    # Last hour (quick check)\nsentry-cli get-last-issues --24   # Last 24 hours (daily review)\nsentry-cli get-last-issues --168  # Last week\n```\n\n**Returns:**\n- Up to 50 unresolved issues\n- Sorted by event frequency (most critical first)\n- Includes 24h statistics\n- Perfect for AI prioritization and grouping\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `sentry-cli login` | Configure API credentials |\n| `sentry-cli get-issue <id>` | Get issue details + latest event |\n| `sentry-cli get-last-issues --<hours>` | Get recent issues by frequency |\n| `sentry-cli --help` | Show help information |\n| `sentry-cli --version` | Show version number |\n\n## Configuration\n\nCredentials are securely stored in `~/.sentry-cli/config.json`\n\nTo update credentials, simply run `sentry-cli login` again.\n\n## Use Cases\n\n- **AI Debugging**: Feed issue data to Claude or other AI assistants for analysis\n- **Daily Standups**: Quickly review top issues from the last 24 hours\n- **CI/CD**: Automate issue monitoring in your pipelines\n- **Scripting**: Parse JSON output for custom workflows\n\n## Development\n\n```bash\nnpm run dev    # Watch mode for development\nnpm run build  # Build TypeScript to JavaScript\n```\n\n## Publishing\n\n```bash\nnpm run build\nnpm publish\n```\n\n## License\n\nISC\n","readmeFilename":"README.md"}