Cursor langchain plugin#4604
Open
Kathryn May (katmayb) wants to merge 4 commits into
Open
Conversation
51eb4be to
84a0d2e
Compare
) 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>
Contributor
|
Mintlify preview branch generated: 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 |
Contributor
Author
There was a problem hiding this comment.
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
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.
No description provided.