Skip to content

feat(opengap): import section with framework cookbooks#3

Open
stealthwhizz wants to merge 7 commits into
open-gitagent:mainfrom
stealthwhizz:import-frameworks
Open

feat(opengap): import section with framework cookbooks#3
stealthwhizz wants to merge 7 commits into
open-gitagent:mainfrom
stealthwhizz:import-frameworks

Conversation

@stealthwhizz

Copy link
Copy Markdown

Summary

  • Added Import section to OpenGAP docs with two paths: file system agents (opengap import) and code-based frameworks (framework-translator)
  • Built cookbook pages for 5 file system agents: Claude Code, Cursor, Gemini CLI, Codex, OpenCode
  • Built cookbook pages for framework-translator
  • Sidebar updated with nested childGroups for cookbook pages under Import
  • Navbar search updated to include cookbook pages
  • All cookbooks follow a three-part structure: source files → import command / mapping → full OpenGAP output

Test plan

  • Navigate to /opengap/import and verify both paths render
  • Click each framework card and verify before/after trees expand
  • Click "View full conversion cookbook →" and verify it routes correctly
  • Verify sidebar Import item expands to show both sub-groups

stealthwhizz and others added 7 commits June 11, 2026 16:40
… 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.
Copilot AI review requested due to automatic review settings June 12, 2026 08:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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>
);
}
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

@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.

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.

3 participants