feat: add ClickUp connector as a knowledge source#317
Open
Himanshu Kumar (himanshu231204) wants to merge 5 commits into
Open
feat: add ClickUp connector as a knowledge source#317Himanshu Kumar (himanshu231204) wants to merge 5 commits into
Himanshu Kumar (himanshu231204) wants to merge 5 commits into
Conversation
added 4 commits
July 14, 2026 00:25
The parseEnv function only handled KEY=value format. If a user manually edited the .openwiki/env file or copied lines from shell scripts, lines like 'export KEY=value' would be silently skipped. Added export prefix handling: lines starting with 'export ' now have the prefix stripped before parsing, so both formats work correctly.
Bare \openwiki --update\ (without specifying personal or code mode) defaulted to personal mode, which targeted ~/.openwiki/wiki instead of the current project's openwiki/ directory. This caused the agent to document a completely different, unrelated project that was previously stored in the global wiki. Make bare --update require an explicit mode (--init already had this requirement). Users must now run either: - \openwiki personal --update\ to update the local brain wiki - \openwiki code --update\ to update repository documentation All CI workflows already use explicit modes (\openwiki code --update --print\), so this is not a breaking change for automation. Fixes langchain-ai#310
Add a direct-API ClickUp connector that ingests workspaces, tasks, subtasks, comments, and docs via the ClickUp API v2. Changes: - Add OPENWIKI_CLICKUP_API_TOKEN env constant - Extend ConnectorId type with 'clickup' - Create connector source with workspace/space/list scoping - Register connector in registry - Update agent-facing tool enums - Add onboarding SOURCE_OPTIONS for ClickUp - Add unit tests Closes langchain-ai#301
Contributor
Author
|
Colin Francis (@colifran) This PR implements the ClickUp connector requested in #301. The PR description has the full breakdown of changes, files, and usage instructions. Would appreciate your review when you get a chance! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a ClickUp connector (direct-API backend) that ingests workspaces, tasks, subtasks, comments, and docs via the ClickUp API v2.
Closes #301
Changes
src/connectors/sources/clickup.ts— direct-API backend using ClickUp API v2OPENWIKI_CLICKUP_API_TOKENfor personal API token authworkspaceIds,spaceIds,listIdsin connector configdate_updatedcursors per listmaxTasksPerListandwindowHoursfor time-windowed ingestionFiles Changed
src/constants.tsOPENWIKI_CLICKUP_API_TOKENenv constantsrc/connectors/types.tsConnectorIdunion with"clickup"src/connectors/sources/clickup.tssrc/connectors/registry.tscreateConnectorRegistry()src/connectors/tools.ts"clickup"to connector ID enumssrc/credentials.tsxSOURCE_OPTIONSand personal templatetest/clickup.test.tsUsage
OPENWIKI_CLICKUP_API_TOKEN=pk_xxxto~/.openwiki/.env~/.openwiki/connectors/clickup/config.json:{ "enabled": true, "workspaceIds": ["your_workspace_id"], "maxTasksPerList": 100, "windowHours": 168, "includeSubtasks": true }openwiki ingest clickuporopenwiki personal --updateTesting
Colin Francis (@colifran) Ready for review