Skip to content

feat(plugins): add Context7 plugin for DeepSeek Harness - #3033

Open
fahreddinozcan wants to merge 5 commits into
masterfrom
ctx7-1985-deepseek-plugin
Open

feat(plugins): add Context7 plugin for DeepSeek Harness#3033
fahreddinozcan wants to merge 5 commits into
masterfrom
ctx7-1985-deepseek-plugin

Conversation

@fahreddinozcan

@fahreddinozcan fahreddinozcan commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add the official @upstash/context7-deepseek-harness bundle with native resolve-library-id and query-docs tools
  • add system-prompt guidance that invokes Context7 for library and API documentation questions
  • resolve CONTEXT7_API_KEY through the Harness credential provider on every request so credential changes apply immediately
  • add npx ctx7 setup --deepseek [profile] to install the plugin and securely update $DSH_HOME/.credentials.yaml
  • preserve credential comments and unrelated entries through an owner-only, atomic, cross-process locked write
  • preserve Context7 search metadata, allow safe parallel calls, and enforce 60-second cooperative tool timeouts

Validation

  • pnpm --filter @upstash/context7-deepseek-harness typecheck
  • pnpm --filter @upstash/context7-deepseek-harness lint:check
  • pnpm --filter @upstash/context7-deepseek-harness format:check
  • pnpm --filter @upstash/context7-deepseek-harness test (6 tests)
  • pnpm --filter @upstash/context7-deepseek-harness build
  • pnpm --filter ctx7 typecheck
  • pnpm --filter ctx7 lint:check
  • pnpm --filter ctx7 format:check
  • pnpm --filter ctx7 test (266 tests)
  • pnpm --filter ctx7 build
  • packed both publishable packages and inspected their contents
  • final thermo-nuclear code-quality review approved with no remaining blocker

End-to-end

Packed the plugin and installed its tarball into a fresh isolated dsh@0.1.0-rc.6 headless profile. Both DeepSeek and Context7 keys were stored only in $DSH_HOME/.credentials.yaml, then removed from the launching environment. The composed config contained no credential values. A live Harness turn invoked both resolve-library-id and query-docs, returned current Next.js middleware matcher documentation, and exited successfully. The compressed session log records both tool calls.

@linear-code

linear-code Bot commented Aug 14, 2026

Copy link
Copy Markdown

CTX7-1985

@mintlify

mintlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
context7 🟢 Ready View Preview Aug 14, 2026, 8:35 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant