0.0.9 • Published 10 months ago

@openctx/provider-slack v0.0.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Slack context provider for OpenCtx

This is a context provider for OpenCtx that brings Slack context to code AI and editors. Slack context provider allows to search for relevant threads when mentioning a slack channel and use all the messages in the thread as the context to AI.

Status: Experimental

Configuration

To create Slack User Auth token:

  1. Create a slack app for you workspace from scratch using slack api - Click on "Create New App" button..
  2. Go to the "OAuth & Permissions" tab and add the following permission in the User Token Scopes.
  • channels:history
  • channels:read
  • search:read
  • users:read
  1. Click on "Install to workspace".
  2. Copy the "User OAuth Token" and use it as the slackAuthToken in the OpenCtx provider configuration.
  3. Use the following OpenCtx provider configuration:
"openctx.providers": {
    // ...other providers...
    "https://openctx.org/npm/@openctx/provider-slack": {
      "slackAuthToken": "<USER OAuth Token>"
    }
},

Development

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

11 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago