{"_id":"@ctdio/inngest-ctl","_rev":"3-0d94ed514f46f500d9f0fbdd26d6849b","name":"@ctdio/inngest-ctl","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@ctdio/inngest-ctl","version":"0.0.1","keywords":["inngest","cli","events","functions","runs","workflow","serverless"],"author":{"name":"Charlie Duong"},"license":"MIT","_id":"@ctdio/inngest-ctl@0.0.1","maintainers":[{"name":"ctdio","email":"charlie.duong@hey.com"}],"homepage":"https://github.com/ctdio/inngest-ctl#readme","bugs":{"url":"https://github.com/ctdio/inngest-ctl/issues"},"bin":{"inngest-ctl":"cli.ts"},"dist":{"shasum":"bfe599fa96be576f73bbcfe8992f9e195ea521e9","tarball":"https://registry.npmjs.org/@ctdio/inngest-ctl/-/inngest-ctl-0.0.1.tgz","fileCount":9,"integrity":"sha512-kOzK//83wO8M+2FV39DNguC46HdKZQUMvGj9rAnbXlGrNJpB3P1VZaSd8WhO8YLiDIOuJfocuUsl+2Z8dZI3fA==","signatures":[{"sig":"MEUCIQCZGj6OweDFHaWt0OF67GIsEknsM6KaTEj5PLqzyXW3ygIgASMzGQshBVTeXC9t0KrP1t0aBzfV0Vz6D19FCml8sT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39581},"main":"cli.ts","type":"module","module":"cli.ts","engines":{"bun":">=1.0.0"},"gitHead":"afe7dcd18c7ed2249c953235dfb782b21f70cc2d","scripts":{"test":"bun test","build":"bun build --compile ./cli.ts --outfile dist/inngest-ctl","start":"bun run cli.ts","test:watch":"bun test --watch"},"_npmUser":{"name":"ctdio","email":"charlie.duong@hey.com"},"repository":{"url":"git+https://github.com/ctdio/inngest-ctl.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for interacting with Inngest's REST API - list events, send events, check run status, and cancel runs","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/inngest-ctl_0.0.1_1769916028211_0.9174270189837901","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@ctdio/inngest-ctl","version":"0.1.0","keywords":["inngest","cli","events","functions","runs","workflow","serverless"],"author":{"name":"Charlie Duong"},"license":"MIT","_id":"@ctdio/inngest-ctl@0.1.0","maintainers":[{"name":"ctdio","email":"charlie.duong@hey.com"}],"homepage":"https://github.com/ctdio/inngest-ctl#readme","bugs":{"url":"https://github.com/ctdio/inngest-ctl/issues"},"bin":{"inngest-ctl":"cli.ts"},"dist":{"shasum":"37929a871fa8a3fa9e7d3317b79281890b857bf3","tarball":"https://registry.npmjs.org/@ctdio/inngest-ctl/-/inngest-ctl-0.1.0.tgz","fileCount":9,"integrity":"sha512-n5ZzgqVJ2d7nVY60leAzDj7g0B1Z8ltG7EP20pWJkIisTCIeyGgFzVdHn/vrlMl5GhoDwiRFFCfNOuNkAtGEXg==","signatures":[{"sig":"MEUCIGFezBWD/DLuokqfOOD3iATpgKbkPkWo5Y2vhyFs8f+qAiEA9BtAhrf3wXAgLOW4W4yNXQ/ihQv0cqCHuuCfH+0aVkg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39708},"main":"cli.ts","type":"module","module":"cli.ts","engines":{"bun":">=1.0.0"},"gitHead":"059715c5c2059ca3affe2cf2cbec5b2ff4f4a17a","scripts":{"test":"bun test","build":"bun build --compile ./cli.ts --outfile dist/inngest-ctl","start":"bun run cli.ts","test:watch":"bun test --watch"},"_npmUser":{"name":"ctdio","email":"charlie.duong@hey.com"},"repository":{"url":"git+https://github.com/ctdio/inngest-ctl.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for interacting with Inngest's REST API - list events, send events, check run status, and cancel runs","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/inngest-ctl_0.1.0_1769916383455_0.9497460095099719","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ctdio/inngest-ctl","version":"0.2.0","description":"CLI for interacting with Inngest's REST API - list events, send events, check run status, and cancel runs","author":{"name":"Charlie Duong"},"license":"MIT","type":"module","main":"cli.ts","module":"cli.ts","bin":{"inngest-ctl":"cli.ts"},"publishConfig":{"access":"public"},"keywords":["inngest","cli","events","functions","runs","workflow","serverless"],"repository":{"type":"git","url":"git+https://github.com/ctdio/inngest-ctl.git"},"scripts":{"start":"bun run cli.ts","build":"bun build --compile ./cli.ts --outfile dist/inngest-ctl","test":"bun test","test:watch":"bun test --watch"},"engines":{"bun":">=1.0.0"},"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_id":"@ctdio/inngest-ctl@0.2.0","gitHead":"c63f47f443d94e6f4a3bcc0509a29bb42d69a8be","bugs":{"url":"https://github.com/ctdio/inngest-ctl/issues"},"homepage":"https://github.com/ctdio/inngest-ctl#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-2zHuJ1Ke0kqa8yQDHL+g/r1mnMz7rgNlQU5oOcD28Raq5k8M2wPGFiM8RUcs28DkD7ItbUHKJoWHqSGIvbtLAA==","shasum":"3e005d5a66f5aad957ad7d4dc3171a0c19ae112f","tarball":"https://registry.npmjs.org/@ctdio/inngest-ctl/-/inngest-ctl-0.2.0.tgz","fileCount":9,"unpackedSize":40791,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGMpJvULw4ZcIDV+xkWaiJHC8fiVs3I86Oo6D1d22fuvAiAaMnv6yDX8lXzj009PzKd1w7UNGjoYODmhua15utZeUA=="}]},"_npmUser":{"name":"ctdio","email":"charlie.duong@hey.com"},"directories":{},"maintainers":[{"name":"ctdio","email":"charlie.duong@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/inngest-ctl_0.2.0_1770529578987_0.5591425986200249"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-01T03:20:28.123Z","modified":"2026-02-08T05:46:19.262Z","0.0.1":"2026-02-01T03:20:28.361Z","0.1.0":"2026-02-01T03:26:23.594Z","0.2.0":"2026-02-08T05:46:19.133Z"},"bugs":{"url":"https://github.com/ctdio/inngest-ctl/issues"},"author":{"name":"Charlie Duong"},"license":"MIT","homepage":"https://github.com/ctdio/inngest-ctl#readme","keywords":["inngest","cli","events","functions","runs","workflow","serverless"],"repository":{"type":"git","url":"git+https://github.com/ctdio/inngest-ctl.git"},"description":"CLI for interacting with Inngest's REST API - list events, send events, check run status, and cancel runs","maintainers":[{"name":"ctdio","email":"charlie.duong@hey.com"}],"readme":"# inngest-ctl\n\nCommand-line interface for Inngest events and runs.\n\n## Setup\n\n```bash\n# Via bunx (no install needed)\nbunx @ctdio/inngest-ctl <command>\n\n# Or create an alias\nalias inngest-ctl=\"bunx @ctdio/inngest-ctl\"\n```\n\n### Agent Skill\n\nInstall as an agent skill for AI-assisted Inngest operations:\n\n```bash\nnpx skills install ctdio/inngest-ctl\n```\n\nOnce installed, your agent can query events, check run status, and manage Inngest functions directly.\n\n### Environment Variables\n\n```bash\nexport INNGEST_EVENT_KEY=\"your-event-key\"      # Required for sending events\nexport INNGEST_SIGNING_KEY=\"your-signing-key\"  # Required for API queries\n```\n\n## Usage\n\n```\ninngest-ctl <command> [options]\n\nCommands:\n  events    Send and query events\n  runs      Query function runs\n  cancel    Cancel running functions\n\nGlobal Options:\n  --pretty          Human-readable output with colors\n  --output <file>   Write JSON output to file\n  --dev             Use local dev server (default: localhost:8288)\n  --port <port>     Dev server port (default: 8288)\n  --help, -h        Show help\n  --version, -v     Show version\n```\n\n## Events\n\n```\ninngest-ctl events <subcommand> [options]\n\nSubcommands:\n  list    List recent events\n  send    Send an event\n  get     Get event details\n  runs    List runs triggered by an event\n\nList Options:\n  --name <name>     Filter by event name\n  --limit <n>       Max events to return\n\nSend Options:\n  --name <name>     Event name (required)\n  --data <json>     Event data as JSON (required)\n  --id <id>         Deduplication ID\n  --env <env>       Branch environment name\n```\n\n**Examples:**\n```bash\ninngest-ctl events list --pretty\ninngest-ctl events list --name \"user.signup\" --limit 10 --pretty\ninngest-ctl events send --name \"user.signup\" --data '{\"userId\": \"123\"}'\ninngest-ctl events get 01H08W4TMBNKMEWFD0TYC532GG --pretty\ninngest-ctl events runs 01H08W4TMBNKMEWFD0TYC532GG --pretty\n```\n\n## Runs\n\n```\ninngest-ctl runs <subcommand> [options]\n\nSubcommands:\n  status  Get run status and duration\n  get     Get run details (jobs/steps)\n  list    List runs for an event\n\nList Options:\n  --event <id>    Event ID to list runs for\n```\n\n**Examples:**\n```bash\ninngest-ctl runs status 01H08W5TMBNKMEWFD0TYC532GH --pretty\ninngest-ctl runs get 01H08W5TMBNKMEWFD0TYC532GH --pretty\ninngest-ctl runs list --event 01H08W4TMBNKMEWFD0TYC532GG\n```\n\n## Cancel\n\n```\ninngest-ctl cancel --app <app> --function <fn> --started-after <time> --started-before <time> [--if <expr>]\n```\n\n**Example:**\n```bash\ninngest-ctl cancel --app my-app --function my-func --started-after 1h --started-before now\n```\n\n## Dev Server\n\nUse `--dev` flag to target local Inngest dev server:\n\n```bash\n# Start Inngest dev server\nnpx inngest-cli@latest dev\n\n# Query local events\ninngest-ctl events list --dev --pretty\n\n# Send event to local\ninngest-ctl events send --name \"test.event\" --data '{}' --dev\n```\n\nOverride URL with `INNGEST_DEV_URL`:\n```bash\nexport INNGEST_DEV_URL=\"http://localhost:9000\"\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}