feat: add mixpanel and openstatus integrations and railway cloud connect - #55
Open
claude[bot] wants to merge 1 commit into
Open
feat: add mixpanel and openstatus integrations and railway cloud connect#55claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
OpenStatus and Mixpanel are live in the platform's integration catalog and their connect payloads are in the production OpenAPI spec, but neither was offered by the CLI picker. Railway cloud accounts were likewise connectable through the API's token path but missing from the cloud provider list. - openstatus: observability picker entry, single workspace API key (write access), reusing --api-key - mixpanel: new product-analytics category; region (us|eu|in), service account username/secret, and numeric project ID (the console's project auto-discovery route is hidden from the public API, so the CLI asks for the project ID directly and validates it parses as a positive integer) - railway: token-path connect mirroring Fly (the console's OAuth flow is console-only), with optional --railway-workspace to narrow the connect Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DJ1B1PfT5wKMjZAkasFLq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by boris · Slack thread
Before: OpenStatus and Mixpanel are live integrations on the platform, and Railway is a live cloud provider, but none of them could be connected from the CLI —
polylane integration connectandpolylane cloud connectsimply did not offer them. After: all three are first-class picker entries with guided credential prompts and flags for non-interactive use.This adds the two integrations the CLI was missing relative to the platform's live catalog (OpenStatus and Mixpanel) plus Railway cloud connect, mirroring the shape of the Conductor addition in #48.
How:
openstatusjoins the observability picker group with a single--api-keystep (OpenStatus Settings → API Token, workspace-scoped key with write access, no prefix); it gets its own branch inconnectWithCredentialsso it does not print the code-agent autofix-executor note.mixpanelintroduces a newproduct-analyticscategory and prompts for region (us|eu|in, matching the Mixpanel URL), service-account username and secret (Organization Settings → Service Accounts, Admin role; secret masked like other credentials), and a numeric project ID validated as a positive integer — the console's project auto-discovery route is hidden from the public API, so the CLI asks for the ID directly.railwayjoins the cloud provider list on the token path mirroring Fly: the production spec'scloud_accounts.connectunion accepts{provider: "railway", token, railwayWorkspaceId?}(the console's OAuth flow relies on a hidden generate route and console callback, so it is not usable from the CLI); an optional--railway-workspacenarrows the connect to one Railway workspace.Analysis basis: compared the platform's integrations catalog at nominal
4f91b45against the CLI at36c6b0f. Missing-and-live:openstatusandmixpanel(bothcomingSoon: falsewith working connect handlers, and both payload variants already in the production OpenAPI spec / regenerated client), plusrailwayon the cloud surface. Excluded ascomingSoon: true(no connect route, not in the spec): jira, pagerduty, triggerdev, hatchet, splunk, grafana, logfire, signoz, langsmith, braintrust, arize, linear, microsoft-teams, confluence, notion, gitlab, incident-io, circleci, amplitude, posthog, amp, and the coming-soon cloud providers (gcp, azure, runpod, and others).coding_agentstays excluded (comingSoon despite a live route).Verification:
npm run codegen,npm run typecheck,npm run lint,npm test(284 tests, all passing; category counts updated 12 → 14, observability list gains openstatus, new product-analytics category covered), plus a production build andnode dist/polylane.mjs --versionsmoke test with--helpoutput checks for both commands.🤖 Generated with Claude Code
https://claude.ai/code/session_015DJ1B1PfT5wKMjZAkasFLq
Generated by Claude Code