feat(opengap): import section with framework cookbooks#3
Open
stealthwhizz wants to merge 7 commits into
Open
Conversation
… frameworks - New ImportSection with two paths: file system agents (opengap import) and code-based frameworks (cookbook) - Expandable cards showing before/after directory structure for each agent - Cookbook pages for 5 file system agents: Claude Code, Cursor, Gemini CLI, Codex, OpenCode - Cookbook pages for 6 code-based frameworks: LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, Claude SDK, Google ADK - Import page added to sidebar under Features (above Export) - All cookbook pages routed via OpenGAPDocsPage
Updated CrewAI, AutoGen, OpenAI Agents SDK, Claude SDK, Google ADK, Claude Code, Cursor, Gemini CLI, Codex, and OpenCode cookbooks to use PartHeader, CollapsibleCode, and ConversionStep components — matching the LangGraph cookbook design with source files, mapping, and full output.
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds an “Import” docs section and multiple “Cookbook” conversion pages, and updates OpenGAP docs navigation to support nested cookbook pages under the Import section.
Changes:
- Introduces new cookbook pages (Claude Code, Cursor, Gemini CLI, Codex, OpenCode, Framework Translator, LangChain) and an Import section.
- Updates the OpenGAP sidebar/navbar to support expandable nested items and flattens items for prev/next navigation.
- Renames GitClaw references to GitAgent and adds cache-busting to the install curl command shown in docs.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/OpenGAPDocsPage.tsx | Registers the new Import + Cookbook sections and adds a “Back to Import” link for cookbook routes. |
| src/components/opengap/OpenGAPSidebar.tsx | Adds nested sidebar structure (Import → cookbooks), expand/collapse behavior, and exports a flattened item list. |
| src/components/opengap/OpenGAPNavbar.tsx | Updates mobile nav to render nested cookbook links and flattens items for navigation/search. |
| src/components/ImportSection.tsx | Adds a new “Import” section with cards linking to cookbook pages. |
| src/components/opengap/cookbook/CookbookClaudeCode.tsx | Adds Claude Code → OpenGAP cookbook page content. |
| src/components/opengap/cookbook/CookbookCursor.tsx | Adds Cursor → OpenGAP cookbook page content. |
| src/components/opengap/cookbook/CookbookGeminiCLI.tsx | Adds Gemini CLI → OpenGAP cookbook page content. |
| src/components/opengap/cookbook/CookbookCodex.tsx | Adds Codex CLI → OpenGAP cookbook page content. |
| src/components/opengap/cookbook/CookbookOpenCode.tsx | Adds OpenCode → OpenGAP cookbook page content. |
| src/components/opengap/cookbook/CookbookFrameworkTranslator.tsx | Adds framework conversion cookbook page content and a link to the translator repo. |
| src/components/opengap/cookbook/CookbookLangChain.tsx | Adds LangChain → OpenGAP cookbook page content. |
| src/components/gitAgent/GitAgentQuickStartPersonalAssistant.tsx | Updates installer command shown in quickstart to include cache-busting. |
| src/components/gitAgent/GitAgentHeroSection.tsx | Updates displayed + copied installer command to include cache-busting. |
| src/components/CLISection.tsx | Updates adapter/export format lists to use GitAgent instead of GitClaw. |
| src/components/AdaptersSection.tsx | Renames GitClaw adapter entry to GitAgent. |
| src/components/ExportSection.tsx | Renames GitClaw export entry to GitAgent. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+303
to
+307
| <p className="text-[12px] text-muted-foreground font-body leading-relaxed max-w-2xl mb-3"> | ||
| OpenCode writes its model as <code className="text-primary text-[11px]">"provider/model-id"</code>. The importer | ||
| keeps everything <span className="text-foreground font-medium">after</span> the first{" "} | ||
| <code className="text-primary text-[11px]">/</code> and drops the provider prefix: | ||
| </p> |
Comment on lines
+16
to
+20
| label: "Claude Code", | ||
| desc: "Reads CLAUDE.md, memory/, and .claude/ config — imports identity, skills, and rules.", | ||
| cmd: "$ opengap import -f claude-code", | ||
| cookbookId: "cookbook-claude-code", | ||
| before: `my-project/ |
Comment on lines
+182
to
+183
| With <span className="text-foreground font-medium">Gitagent</span> you can convert an agent from any | ||
| code-based framework to any other — no rewriting state, tools, orchestration, and memory by hand. The{" "} |
Comment on lines
+144
to
+151
| <button | ||
| onClick={() => setExpanded((v) => !v)} | ||
| className="p-1 text-muted-foreground/40 hover:text-foreground transition-colors" | ||
| aria-label={`Toggle ${item.label} cookbooks`} | ||
| aria-expanded={expanded} | ||
| > | ||
| <ChevronRight className={`w-3 h-3 transition-transform ${expanded ? "rotate-90" : ""}`} /> | ||
| </button> |
Comment on lines
+142
to
+153
| function PartHeader({ num, label, title, subtitle }: { num: string; label: string; title: string; subtitle: string }) { | ||
| return ( | ||
| <motion.div initial={{ opacity: 0, y: 8 }} whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} className="mb-6 pt-6 border-t border-border first:border-t-0 first:pt-0"> | ||
| <div className="flex items-center gap-2 mb-1"> | ||
| <span className="text-[10px] uppercase tracking-widest text-primary/70 font-body font-semibold">Part {num}</span> | ||
| <span className="text-[10px] uppercase tracking-widest text-muted-foreground/40 font-body">{label}</span> | ||
| </div> | ||
| <h2 className="text-xl font-bold text-foreground font-heading mb-1">{title}</h2> | ||
| <p className="text-sm text-muted-foreground font-body leading-relaxed max-w-2xl">{subtitle}</p> | ||
| </motion.div> | ||
| ); | ||
| } |
|
@stealthwhizz is attempting to deploy a commit to the shreyas-lyzr's projects Team on Vercel. A member of the Team first needs to authorize it. |
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
Test plan