@openctx/provider-linear-issues
v0.0.10
Published
Linear Issues context for code AI and editors (OpenCtx provider)
Downloads
1,182
Readme
Linear Issues context provider for OpenCtx
This is a context provider for OpenCtx that brings Linear Issues context to code AI and editors. Only items, not annotations, are supported.
Status: Experimental
Configuration for Sourcegraph teammates
- Find "OpenCtx Linear Issues provider config" in 1Password and add it to your user settings.
- Start using the provider!
"openctx.providers": {
// ...other providers...
"https://openctx.org/npm/@openctx/provider-linear-issues": {
"accessToken": "YOUR_ACCESS_TOKEN",
}
},
Configuration outside of Sourcegraph
To create Linear API credentials:
- Create an OAuth2 application in Linear.
- Save the client configuration JSON file (
linear_client_config.json
). - Obtain an access token for your user account: run
LINEAR_OAUTH_CLIENT_FILE=path/to/linear_client_config.json pnpm auth
and continue in your web browser. - The access token will be saved in a JSON file with a path printed to the console.
Then use the following OpenCtx provider configuration:
"openctx.providers": {
// ...other providers...
"https://openctx.org/npm/@openctx/provider-linear-issues": {
"userCredentialsPath": "path/to/access_token_file_printed.json",
}
},
Development
- Source code
- Docs
- License: Apache 2.0