Skip to content

Add Slack context source adapter#207

Open
mysubb01 wants to merge 1 commit into
Kaelio:mainfrom
mysubb01:add-slack-context-source
Open

Add Slack context source adapter#207
mysubb01 wants to merge 1 commit into
Kaelio:mainfrom
mysubb01:add-slack-context-source

Conversation

@mysubb01
Copy link
Copy Markdown

@mysubb01 mysubb01 commented May 23, 2026

Summary

  • add a Slack context-source adapter for messages from allowlisted channels via conversations.history
  • require channel_ids so ingest never scans full workspace history, with max_messages_per_channel as a per-channel cap
  • add Slack connection parsing, driver schema support, local pull-config wiring, docs, and focused tests

Verification

  • pnpm --filter @kaelio/ktx exec vitest run src/context/connections/slack-config.test.ts src/context/ingest/adapters/slack/slack-client.test.ts src/context/ingest/adapters/slack/slack.adapter.test.ts src/context/project/driver-schemas.test.ts src/context/ingest/local-adapters.test.ts
  • pnpm --filter @kaelio/ktx run type-check
  • pnpm run dead-code
  • pnpm --filter @kaelio/ktx run test
  • pnpm --filter @kaelio/ktx run build

Closes #170

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

@loyal516 is attempting to deploy a commit to the Kaelio Team on Vercel.

A member of the Team first needs to authorize it.

@mysubb01 mysubb01 force-pushed the add-slack-context-source branch from b95e079 to c608a57 Compare May 23, 2026 15:07
@mysubb01
Copy link
Copy Markdown
Author

Updated this PR to match the latest issue scope: it now ingests messages from configured allowlisted channels via conversations.history, keeps channel_ids required, and adds max_messages_per_channel as a per-channel cap. I also removed the canvas/pins-focused path from the implementation and docs.

Local verification after the update:

  • targeted vitest: 5 files / 52 tests passed
  • type-check passed
  • dead-code passed
  • package test: 338 files / 2388 tests passed
  • build passed

@andreybavt andreybavt added enhancement New feature or request area:connectors packages/connector-* and packages/cli/src/context/ingest/adapters/* area:cli packages/cli area:docs docs-site/, README.md labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli packages/cli area:connectors packages/connector-* and packages/cli/src/context/ingest/adapters/* area:docs docs-site/, README.md enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Slack context source

3 participants