Skip to content

Cursor langchain plugin#4604

Open
Kathryn May (katmayb) wants to merge 4 commits into
mainfrom
cursor-langchain-plugin
Open

Cursor langchain plugin#4604
Kathryn May (katmayb) wants to merge 4 commits into
mainfrom
cursor-langchain-plugin

Conversation

@katmayb

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added internal langsmith For docs changes to LangSmith labels Jun 24, 2026
@katmayb Kathryn May (katmayb) marked this pull request as ready for review June 25, 2026 14:50
)

Two related navigation/IA changes:

1. **Two-column product dropdown.** The lifecycle products were a flat
switcher. This groups them into two labeled columns so the dropdown
reads as a structured map of the platform.
2. **Consolidated Build overview.** The Build overview existed as two
near-duplicate pages (`oss/python/build-overview` and
`oss/javascript/build-overview`). In `custom` mode the native language
switcher is hidden, so there was no clean way to toggle languages. This
consolidates them into one page with per-section Python/TypeScript tabs.

- **Product dropdown** (`docs.json`): the 7 lifecycle products are
wrapped into two products with `menu` arrays — **AGENT DEVELOPMENT
LIFECYCLE** (Home, Build, Test, Deploy, Monitor) and **PLATFORM**
(No-code agents, Govern). All existing tabs/dropdowns under each stage
are preserved.
- **Consolidated Build overview**: new `src/build-overview.mdx` at route
`/build-overview`, custom mode, with each section wrapped in
Python/TypeScript `<Tabs>`. The old language-specific pages are deleted
and **redirect** to the new page; the home Build card points there.
- **Engine link**: removed the LangSmith Engine link from both Build
overview sidebars (it remains in the two Test tabs that still reference
it).

- **`pipeline/core/builder.py`** — one-line addition registering
`build-overview.mdx` as a shared root page. This is required: the page
must live outside `/oss/` because `_rewrite_oss_links` blindly inserts
the build language into every `/oss/` link, which would corrupt the
page's hardcoded cross-language tab links (`/oss/python/...` becomes
`/oss/python/python/...`). Root pages skip the rewriter, matching how
`index.mdx` already hardcodes `/oss/python/` links.
- **Canonical URL is `/build-overview`** (root), not
`/oss/build-overview` — the latter is impossible for the reason above.
- **ALL-CAPS column headers** are baked into `docs.json` as literal text
per design preference.

- `make build` succeeds; `/build-overview` builds, old language routes
are no longer generated (redirects own them), and all 16 cross-language
tab links render clean with no double-language mangling. All link
targets confirmed present in the build.
- `docs.json` valid; `make lint_prose` clean on changed MDX.

Authored with assistance from an AI coding agent (Claude Code).

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added docs-infra javascript langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects labels Jun 25, 2026
@github-actions github-actions Bot removed javascript python For content related to the Python version of LangChain projects oss docs-infra langchain For docs changes to LangChain labels Jun 25, 2026
@katmayb Kathryn May (katmayb) changed the title WIP Cursor langchain plugin Cursor langchain plugin Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-cursor-1782400954-a911419

Site preview: https://langchain-5e9cc07a-preview-cursor-1782400954-a911419.mintlify.app

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

- [Node.js](https://nodejs.org/) 22.13 or later. The hooks use the built-in `node:sqlite` module to recover attachments from Cursor's local database.
- A [LangSmith API key](/langsmith/create-account-api-key).

## Install and enable the plugin

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like pnpm install && pnpm build in the README is not required for users just capturing cursor traces.

I think a fresh clone + node scripts/install.mjs would be enough for most users? (Rather than those contributing who need to build).

Let me know if I should add them back in

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

Labels

internal langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants