{"id":48525007,"url":"https://github.com/delexw/rollbar-cli","last_synced_at":"2026-04-07T22:03:56.893Z","repository":{"id":343809249,"uuid":"1171995708","full_name":"delexw/rollbar-cli","owner":"delexw","description":"CLI tool wrapping the full Rollbar API v1","archived":false,"fork":false,"pushed_at":"2026-03-11T20:50:39.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T01:33:19.823Z","etag":null,"topics":["agentic","cli","rollbar","skill"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delexw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-03T20:50:04.000Z","updated_at":"2026-03-11T20:50:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/delexw/rollbar-cli","commit_stats":null,"previous_names":["delexw/rollbar-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/delexw/rollbar-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delexw%2Frollbar-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delexw%2Frollbar-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delexw%2Frollbar-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delexw%2Frollbar-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delexw","download_url":"https://codeload.github.com/delexw/rollbar-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delexw%2Frollbar-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31530647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic","cli","rollbar","skill"],"created_at":"2026-04-07T22:02:49.911Z","updated_at":"2026-04-07T22:03:56.887Z","avatar_url":"https://github.com/delexw.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollbar-cli\n\nA TypeScript CLI tool wrapping the full Rollbar API v1 (93 endpoints across 24 categories). Designed for easy use by both humans and AI agents.\n\n## Prerequisites\n\n- [Bun](https://bun.sh/) v1.x+\n\n## Installation\n\n```bash\nnpm install -g @delexw/rollbar-cli\n```\n\n### From source\n\n```bash\nbun install\nbun run build\n```\n\nThe built CLI will be at `dist/rollbar.js`. You can also run directly with:\n\n```bash\nbun run dev -- \u003ccommand\u003e\n```\n\n## Setup\n\nConfigure a project access token before using API commands:\n\n```bash\nrollbar config set-token \u003cproject-name\u003e \u003caccess-token\u003e\nrollbar config set-default \u003cproject-name\u003e\n\n# For account-level commands (teams, users, projects) — one global token\nrollbar config set-account-token \u003caccount-token\u003e\n```\n\nTokens are stored securely in your OS keychain via [`@napi-rs/keyring`](https://www.npmjs.com/package/@napi-rs/keyring) (macOS Keychain, Windows Credential Manager, Linux Secret Service). Only project names and the default project setting are stored in `~/.rollbar-cli/config.json` — no tokens are written to disk.\n\nYou can also pass tokens inline:\n\n```bash\nrollbar --token \u003ctoken\u003e items list\n```\n\n## Global Options\n\n| Option | Description |\n|---|---|\n| `--project \u003cname\u003e` | Use a specific project's token |\n| `--token \u003ctoken\u003e` | Override with an explicit access token |\n| `--account-token \u003ctoken\u003e` | Override with an explicit account-level token |\n| `--format \u003cjson\\|table\\|plain\u003e` | Output format (default: `json`) |\n\n## Commands\n\n| Command | Description | Endpoints |\n|---|---|---|\n| `rollbar config` | Token and project configuration | - |\n| `rollbar items` | Error groups (items) | 6 |\n| `rollbar occurrences` | Individual error events | 4 |\n| `rollbar metrics` | Item, occurrence, and TTR metrics | 3 |\n| `rollbar deploys` | Deploy tracking | 4 |\n| `rollbar environments` | Environment listing | 1 |\n| `rollbar sourcemaps` | Source map / symbol file uploads | 4 |\n| `rollbar rql` | Rollbar Query Language jobs | 5 |\n| `rollbar reports` | Top active items and counts | 3 |\n| `rollbar projects` | Project management (account token) | 4 |\n| `rollbar tokens` | Project access token management | 6 |\n| `rollbar teams` | Team management (account token) | 4 |\n| `rollbar users` | User listing (account token) | 2 |\n| `rollbar team-users` | Team-user relationships | 9 |\n| `rollbar team-projects` | Team-project relationships | 5 |\n| `rollbar user-projects` | User-project listing | 1 |\n| `rollbar people` | People / GDPR data deletion | 2 |\n| `rollbar notifications` | Notification channels and rules | 28 |\n| `rollbar replays` | Session replay management | 2 |\n| `rollbar service-links` | Service link management | 5 |\n| `rollbar versions` | Version info and items | 2 |\n| `rollbar agent` | Output AI agent prompt | - |\n\nUse `rollbar \u003ccommand\u003e --help` for subcommand details.\n\n## AI Agent Integration\n\nThe `rollbar agent` command outputs a structured prompt that describes all available commands, expected input/output formats, authentication setup, and common workflows:\n\n```bash\nrollbar agent          # Full prompt\nrollbar agent --compact # Compact version\n```\n\n## Examples\n\n```bash\n# Investigate active errors\nrollbar items list --status active --level error --environment production\nrollbar occurrences list-by-item \u003citem-id\u003e\nrollbar occurrences get \u003coccurrence-id\u003e\n\n# Resolve an item\nrollbar items update \u003cid\u003e --data '{\"status\":\"resolved\"}'\n\n# Track a deploy\nrollbar deploys create --data '{\"environment\":\"production\",\"revision\":\"abc123\"}'\n\n# Run an RQL query\nrollbar rql create --query \"SELECT * FROM item_occurrence WHERE item.counter = 1\"\nrollbar rql results \u003cjob-id\u003e\n\n# Get project health\nrollbar reports top-active --hours 24\n\n# Manage notifications\nrollbar notifications rules list slack\nrollbar notifications rules create webhook --data '{\"trigger\":\"new_item\",\"config\":{\"url\":\"https://example.com/hook\"}}'\n```\n\n## Development\n\n```bash\nbun run dev -- --help    # Run in development mode\nbun run build            # Build to dist/rollbar.js\nbun run test             # Run tests\nbun run lint             # Run oxlint\nbun run format           # Format with oxfmt\n```\n\n## Project Structure\n\n```\nsrc/\n  index.ts           Entry point, CLI setup\n  client.ts          HTTP client (fetch-based, auth handling)\n  config.ts          Config management (OS keychain + ~/.rollbar-cli/config.json)\n  output.ts          Output formatting (JSON, table, plain)\n  agent.ts           AI agent prompt generator\n  commands/          One file per API category (20 files)\ntests/\n  config.test.ts     Config module unit tests\n  client.test.ts     HTTP client unit tests\n  output.test.ts     Output formatting unit tests\n  cli.test.ts        CLI integration tests\n  agent.test.ts      Agent command tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelexw%2Frollbar-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelexw%2Frollbar-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelexw%2Frollbar-cli/lists"}