@pompeii-labs/emulate-linear
v0.9.0
Published
Stateful Linear GraphQL API emulator for local development and CI.
Readme
@pompeii-labs/emulate-linear
Stateful Linear GraphQL API emulator for local development and CI.
Part of emulate, local drop-in replacement services for CI and no-network sandboxes.
Install
npm install @pompeii-labs/emulate-linearMost users should run it through the main CLI:
npx @pompeii-labs/emulate --service linearSupported Surface
POST /graphqlfor a focused Linear GraphQL subset.- Queries for viewer, organization, users, teams, workflow states, issues, comments, labels, projects, cycles, webhooks, and agent sessions.
- Mutations for issues, comments, labels, webhooks, and basic agent sessions and activities.
- OAuth authorize, token, refresh, revoke, PKCE, client credentials, and app actor tokens.
- Personal API key and OAuth bearer token auth.
- Linear-shaped webhook delivery with
Linear-Delivery,Linear-Event, andLinear-Signatureheaders. - Local inspector at
/.
OAuth app actor config is authoritative. Apps configured with actor: user use authorization code flows. Apps configured with actor: app use the app install flow and can request client credentials tokens.
This is not a complete Linear clone. Unsupported GraphQL fields return GraphQL errors.
