@openctx/provider-linear-docs
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Linear Docs context provider for OpenCtx

This is a context provider for OpenCtx that brings Linear Docs context to code AI and editors. Only items, not annotations, are supported.

Status: Experimental

Configuration for Sourcegraph teammates

  1. Find "OpenCtx Linear Docs provider config" in 1Password and add it to your user settings.
  2. Start using the provider!
"openctx.providers": {
    // ...other providers...
    "https://openctx.org/npm/@openctx/provider-linear-docs": {
        "accessToken": "YOUR_ACCESS_TOKEN",
    }
},

Configuration outside of Sourcegraph

To create Linear API credentials:

  1. Create an OAuth2 application in Linear.
  2. Save the client configuration JSON file (linear_client_config.json).
  3. 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.
  4. 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-docs": {
        "userCredentialsPath": "path/to/access_token_file_printed.json",
    }
},

Development

Dependencies (5)

Dev Dependencies (1)

Package Sidebar

Install

npm i @openctx/provider-linear-docs

Weekly Downloads

7

Version

0.0.5

License

Apache-2.0

Unpacked Size

88.6 kB

Total Files

4

Last publish

Collaborators

  • mualam
  • sourcegraph-bot
  • keegan-src
  • sqs