feat(web): render docs from repo-root docs/ as MDX SoT at build time
Replace the bespoke 16-section /docs page that pulled prose from
`messages/{locale}.json` with a build-time MDX renderer that reads the
canonical markdown in repo-root `docs/`. Each markdown file becomes
one section of the docs page, scrolled-to via the existing DocsShell
sidebar. Section data structure stays in `lib/docs-sections.ts` so the
sidebar / scroll-spy keeps working with no client changes.
Why this layout:
- One source of truth: `docs/guide/*.md`, `docs/reference/*.md`,
`docs/manifesto.md`. Edits land in one place; the website redeploys
pick them up automatically via the existing web-deploy workflow.
- Build-time only: `MDXRemote` is rendered inside an RSC and the page
is statically generated (`●` SSG). Cloudflare Workers serves the
rendered HTML; no MDX compiler runs at request time.
- next-intl unchanged for everything else: only the docs prose moves
out. `mobileHeader` and `searchPlaceholder` strings stay in
`messages/{locale}.json`; the 18 stale section keys are removed.
Files:
- web/lib/docs-sections.ts: 9 sections matching docs/ files, typed
`DocSection` with `{ id, title, file }`.
- web/lib/docs-source.ts: `loadDocSource(file)` reads
`<repo-root>/docs/<file>` at build time via `node:fs/promises`.
- web/components/docs/mdx-components.tsx: shadcn-styled overrides for
every markdown element (h1-h4, p, a, ul/ol/li, blockquote, code, pre,
table, hr, strong) so the rendered output matches the rest of the
site.
- web/app/[locale]/docs/page.tsx: rewritten as an async RSC that loads
every section's source in parallel and renders one MDXRemote per
section inside DocsShell.
- web/messages/{en,ja,ko,zh}.json: `docs` key trimmed from 20 entries
to 2 (mobileHeader, searchPlaceholder).
- web/package.json: + next-mdx-remote, + gray-matter.
Local verification: `bun run format:check`, `bun run lint`,
`bun run type-check`, `bun run build`, `bunx opennextjs-cloudflare
build` all pass; `/[locale]/docs` builds as static for all 4 locales
at 4.12 kB / 132 kB First Load.
This commit is contained in:
+1
-172
@@ -247,178 +247,7 @@
|
||||
},
|
||||
"docs": {
|
||||
"mobileHeader": "Oh My OpenAgent Docs",
|
||||
"searchPlaceholder": "Search docs...",
|
||||
"sections": {
|
||||
"overview": "Overview",
|
||||
"quickStart": "Quick Start",
|
||||
"configLocations": "Config File Locations",
|
||||
"agents": "Agents",
|
||||
"categories": "Categories",
|
||||
"skills": "Skills",
|
||||
"backgroundTasks": "Background Tasks",
|
||||
"hooks": "Hooks",
|
||||
"mcps": "MCPs",
|
||||
"browserAutomation": "Browser Automation",
|
||||
"tmux": "Tmux Integration",
|
||||
"gitMaster": "Git Master",
|
||||
"commentChecker": "Comment Checker",
|
||||
"experimental": "Experimental Features",
|
||||
"lsp": "LSP Configuration",
|
||||
"envVars": "Environment Variables"
|
||||
},
|
||||
"overview": {
|
||||
"title": "Configuration Reference",
|
||||
"description": "Oh My OpenAgent is highly opinionated but adjustable to taste. Most users don't need to configure anything — run {command} and go."
|
||||
},
|
||||
"quickStart": {
|
||||
"title": "Quick Start"
|
||||
},
|
||||
"configLocations": {
|
||||
"title": "Config File Locations",
|
||||
"projectLevel": "(Project level)",
|
||||
"userLevel": "(User level)",
|
||||
"jsonc": "JSONC is supported, allowing comments and trailing commas."
|
||||
},
|
||||
"agentsSection": {
|
||||
"title": "Agents",
|
||||
"description": "Configure specific behaviors for the built-in agents: Sisyphus, Hephaestus, Oracle, Librarian, Explore, Multimodal Looker, Prometheus, Metis, Momus, Atlas, and Sisyphus Junior.",
|
||||
"overrideOptions": "Override Options",
|
||||
"permissions": "Permissions",
|
||||
"options": {
|
||||
"model": "Model identifier (e.g., openai/gpt-4o)",
|
||||
"variant": "Model variant (max, high, medium, low)",
|
||||
"category": "Inherit configuration from a category",
|
||||
"temperature": "Sampling temperature (0-2)",
|
||||
"topP": "Top-p sampling (0-1)",
|
||||
"prompt": "Override the system prompt completely",
|
||||
"promptAppend": "Append text to the system prompt",
|
||||
"tools": "Enable or disable specific tools",
|
||||
"disable": "Disable this agent",
|
||||
"maxTokens": "Maximum tokens for response",
|
||||
"thinking": "Extended thinking configuration",
|
||||
"reasoningEffort": "Reasoning effort: low, medium, high, xhigh"
|
||||
},
|
||||
"permissionValues": "ask / allow / deny",
|
||||
"permissionDescriptions": {
|
||||
"edit": "File editing capabilities",
|
||||
"bash": "Bash command execution",
|
||||
"webfetch": "Web request capabilities",
|
||||
"doomLoop": "Infinite loop override",
|
||||
"externalDirectory": "Access files outside project"
|
||||
}
|
||||
},
|
||||
"categoriesSection": {
|
||||
"title": "Categories",
|
||||
"description": "Categories allow you to define shared configurations that agents can inherit from.",
|
||||
"availableOptions": "Available options for categories: {options}.",
|
||||
"categories": {
|
||||
"visualEngineering": "Frontend, UI/UX, design tasks",
|
||||
"ultrabrain": "Deep logical reasoning",
|
||||
"deep": "Autonomous problem-solving, thorough research",
|
||||
"artistry": "Creative tasks",
|
||||
"quick": "Trivial, fast tasks",
|
||||
"unspecifiedLow": "Low effort general tasks",
|
||||
"unspecifiedHigh": "High effort general tasks",
|
||||
"writing": "Documentation and prose"
|
||||
}
|
||||
},
|
||||
"skillsSection": {
|
||||
"title": "Skills",
|
||||
"description": "Built-in skills include {playwright}, {agentBrowser}, and {gitMaster}. You can also define custom skills."
|
||||
},
|
||||
"backgroundTasksSection": {
|
||||
"title": "Background Tasks",
|
||||
"priority": "Priority:",
|
||||
"options": {
|
||||
"defaultConcurrency": "Default max concurrent tasks",
|
||||
"staleTimeoutMs": "Timeout for stale tasks in ms",
|
||||
"providerConcurrency": "Concurrency limit per provider",
|
||||
"modelConcurrency": "Concurrency limit per model"
|
||||
}
|
||||
},
|
||||
"hooksSection": {
|
||||
"title": "Hooks",
|
||||
"description": "Hooks allow you to extend functionality at various lifecycle points."
|
||||
},
|
||||
"mcpsSection": {
|
||||
"title": "MCPs",
|
||||
"websearch": {
|
||||
"title": "websearch",
|
||||
"description": "Powered by Exa for high-quality search results."
|
||||
},
|
||||
"context7": {
|
||||
"title": "context7",
|
||||
"description": "Documentation retrieval and context management."
|
||||
},
|
||||
"grepApp": {
|
||||
"title": "grep_app",
|
||||
"description": "GitHub code search integration."
|
||||
}
|
||||
},
|
||||
"browserAutomationSection": {
|
||||
"title": "Browser Automation",
|
||||
"playwright": {
|
||||
"tool": "playwright",
|
||||
"description": "Full browser automation (default)",
|
||||
"useCase": "Testing, complex interactions"
|
||||
},
|
||||
"agentBrowser": {
|
||||
"tool": "agent-browser",
|
||||
"description": "Lightweight browser agent",
|
||||
"useCase": "Quick lookups, simple scraping"
|
||||
}
|
||||
},
|
||||
"tmuxSection": {
|
||||
"title": "Tmux Integration",
|
||||
"options": {
|
||||
"enabled": "Enable Tmux integration",
|
||||
"layout": "Tmux window layout",
|
||||
"mainPaneSize": "Size of the main pane"
|
||||
}
|
||||
},
|
||||
"gitMasterSection": {
|
||||
"title": "Git Master",
|
||||
"options": {
|
||||
"commitFooter": "Text to append to commit messages",
|
||||
"includeCoAuthoredBy": "Add Co-authored-by trailer"
|
||||
}
|
||||
},
|
||||
"commentCheckerSection": {
|
||||
"title": "Comment Checker",
|
||||
"description": "Validates comments in your code. Use the {placeholder} placeholder in your custom prompt."
|
||||
},
|
||||
"experimentalSection": {
|
||||
"title": "Experimental Features",
|
||||
"options": {
|
||||
"aggressiveTruncation": "Aggressively truncate outputs",
|
||||
"autoResume": "Automatically resume interrupted tasks",
|
||||
"preemptiveCompaction": "Compact context before limits",
|
||||
"truncateAllToolOutputs": "Truncate all tool outputs"
|
||||
},
|
||||
"dynamicPruning": {
|
||||
"trigger": "dynamic_context_pruning",
|
||||
"description": "Configure dynamic pruning rules to manage context window usage efficiently."
|
||||
}
|
||||
},
|
||||
"lspSection": {
|
||||
"title": "LSP Configuration",
|
||||
"options": {
|
||||
"command": "LSP server command",
|
||||
"extensions": "File extensions to match",
|
||||
"priority": "Server priority",
|
||||
"env": "Environment variables",
|
||||
"initialization": "Initialization options",
|
||||
"disabled": "Disable this LSP"
|
||||
}
|
||||
},
|
||||
"envVarsSection": {
|
||||
"title": "Environment Variables",
|
||||
"opencodeConfigDir": {
|
||||
"name": "OPENCODE_CONFIG_DIR",
|
||||
"description": "Override the default configuration directory path."
|
||||
}
|
||||
},
|
||||
"footer": "Oh My OpenAgent Documentation © {year}"
|
||||
"searchPlaceholder": "Search docs..."
|
||||
},
|
||||
"manifesto": {
|
||||
"badge": "Manifesto",
|
||||
|
||||
+1
-172
@@ -247,178 +247,7 @@
|
||||
},
|
||||
"docs": {
|
||||
"mobileHeader": "Oh My OpenAgentドキュメント",
|
||||
"searchPlaceholder": "ドキュメントを検索...",
|
||||
"sections": {
|
||||
"overview": "概要",
|
||||
"quickStart": "クイックスタート",
|
||||
"configLocations": "設定ファイルの場所",
|
||||
"agents": "エージェント",
|
||||
"categories": "カテゴリ",
|
||||
"skills": "スキル",
|
||||
"backgroundTasks": "バックグラウンドタスク",
|
||||
"hooks": "フック",
|
||||
"mcps": "MCP",
|
||||
"browserAutomation": "ブラウザ自動化",
|
||||
"tmux": "Tmux統合",
|
||||
"gitMaster": "Git Master",
|
||||
"commentChecker": "コメントチェッカー",
|
||||
"experimental": "実験的機能",
|
||||
"lsp": "LSP設定",
|
||||
"envVars": "環境変数"
|
||||
},
|
||||
"overview": {
|
||||
"title": "設定リファレンス",
|
||||
"description": "Oh My OpenAgentは意見を持っていますが、好みに応じて調整可能です。ほとんどのユーザーは何も設定する必要はありません — {command}を実行して始めてください。"
|
||||
},
|
||||
"quickStart": {
|
||||
"title": "クイックスタート"
|
||||
},
|
||||
"configLocations": {
|
||||
"title": "設定ファイルの場所",
|
||||
"projectLevel": "(プロジェクトレベル)",
|
||||
"userLevel": "(ユーザーレベル)",
|
||||
"jsonc": "JSONCがサポートされており、コメントと末尾のカンマを使用できます。"
|
||||
},
|
||||
"agentsSection": {
|
||||
"title": "エージェント",
|
||||
"description": "Sisyphus、Hephaestus、Oracle、Librarian、Explore、Multimodal Looker、Prometheus、Metis、Momus、Atlas、Sisyphus Juniorなど、組み込みエージェントの動作を設定します。",
|
||||
"overrideOptions": "オーバーライドオプション",
|
||||
"permissions": "権限",
|
||||
"options": {
|
||||
"model": "モデル識別子(例:openai/gpt-4o)",
|
||||
"variant": "モデルバリアント(max, high, medium, low)",
|
||||
"category": "カテゴリから設定を継承",
|
||||
"temperature": "サンプリング温度(0-2)",
|
||||
"topP": "Top-pサンプリング(0-1)",
|
||||
"prompt": "システムプロンプトを完全にオーバーライド",
|
||||
"promptAppend": "システムプロンプトにテキストを追加",
|
||||
"tools": "特定のツールを有効または無効にする",
|
||||
"disable": "このエージェントを無効にする",
|
||||
"maxTokens": "レスポンスの最大トークン数",
|
||||
"thinking": "拡張思考設定",
|
||||
"reasoningEffort": "推論努力:low, medium, high, xhigh"
|
||||
},
|
||||
"permissionValues": "ask / allow / deny",
|
||||
"permissionDescriptions": {
|
||||
"edit": "ファイル編集機能",
|
||||
"bash": "Bashコマンド実行",
|
||||
"webfetch": "Webリクエスト機能",
|
||||
"doomLoop": "無限ループオーバーライド",
|
||||
"externalDirectory": "プロジェクト外のファイルへのアクセス"
|
||||
}
|
||||
},
|
||||
"categoriesSection": {
|
||||
"title": "カテゴリ",
|
||||
"description": "カテゴリを使用すると、エージェントが継承できる共有設定を定義できます。",
|
||||
"availableOptions": "カテゴリで利用可能なオプション:{options}。",
|
||||
"categories": {
|
||||
"visualEngineering": "フロントエンド、UI/UX、デザインタスク",
|
||||
"ultrabrain": "深い論理的推論",
|
||||
"deep": "自律的な問題解決と徹底したリサーチ",
|
||||
"artistry": "クリエイティブタスク",
|
||||
"quick": "些細で高速なタスク",
|
||||
"unspecifiedLow": "低労力の一般的タスク",
|
||||
"unspecifiedHigh": "高労力の一般的タスク",
|
||||
"writing": "ドキュメントと散文"
|
||||
}
|
||||
},
|
||||
"skillsSection": {
|
||||
"title": "スキル",
|
||||
"description": "組み込みスキルには{playwright}、{agentBrowser}、{gitMaster}が含まれます。カスタムスキルを定義することもできます。"
|
||||
},
|
||||
"backgroundTasksSection": {
|
||||
"title": "バックグラウンドタスク",
|
||||
"priority": "優先度:",
|
||||
"options": {
|
||||
"defaultConcurrency": "デフォルトの最大並列タスク数",
|
||||
"staleTimeoutMs": "古いタスクのタイムアウト(ミリ秒)",
|
||||
"providerConcurrency": "プロバイダーごとの並列制限",
|
||||
"modelConcurrency": "モデルごとの並列制限"
|
||||
}
|
||||
},
|
||||
"hooksSection": {
|
||||
"title": "フック",
|
||||
"description": "フックを使用すると、さまざまなライフサイクルポイントで機能を拡張できます。"
|
||||
},
|
||||
"mcpsSection": {
|
||||
"title": "MCP",
|
||||
"websearch": {
|
||||
"title": "websearch",
|
||||
"description": "Exa提供の高品質検索結果。"
|
||||
},
|
||||
"context7": {
|
||||
"title": "context7",
|
||||
"description": "ドキュメント取得とコンテキスト管理。"
|
||||
},
|
||||
"grepApp": {
|
||||
"title": "grep_app",
|
||||
"description": "GitHubコード検索統合。"
|
||||
}
|
||||
},
|
||||
"browserAutomationSection": {
|
||||
"title": "ブラウザ自動化",
|
||||
"playwright": {
|
||||
"tool": "playwright",
|
||||
"description": "フルブラウザ自動化(デフォルト)",
|
||||
"useCase": "テスト、複雑なインタラクション"
|
||||
},
|
||||
"agentBrowser": {
|
||||
"tool": "agent-browser",
|
||||
"description": "軽量ブラウザエージェント",
|
||||
"useCase": "クイックルックアップ、簡単なスクレイピング"
|
||||
}
|
||||
},
|
||||
"tmuxSection": {
|
||||
"title": "Tmux統合",
|
||||
"options": {
|
||||
"enabled": "Tmux統合を有効にする",
|
||||
"layout": "Tmuxウィンドウレイアウト",
|
||||
"mainPaneSize": "メインペインのサイズ"
|
||||
}
|
||||
},
|
||||
"gitMasterSection": {
|
||||
"title": "Git Master",
|
||||
"options": {
|
||||
"commitFooter": "コミットメッセージに追加するテキスト",
|
||||
"includeCoAuthoredBy": "Co-authored-byトレーラーを追加"
|
||||
}
|
||||
},
|
||||
"commentCheckerSection": {
|
||||
"title": "コメントチェッカー",
|
||||
"description": "コード内のコメントを検証します。カスタムプロンプトには{placeholder}プレースホルダーを使用してください。"
|
||||
},
|
||||
"experimentalSection": {
|
||||
"title": "実験的機能",
|
||||
"options": {
|
||||
"aggressiveTruncation": "出力を積極的に切り詰める",
|
||||
"autoResume": "中断されたタスクを自動的に再開",
|
||||
"preemptiveCompaction": "制限前にコンテキストを圧縮",
|
||||
"truncateAllToolOutputs": "すべてのツール出力を切り詰める"
|
||||
},
|
||||
"dynamicPruning": {
|
||||
"trigger": "dynamic_context_pruning",
|
||||
"description": "コンテキストウィンドウの使用量を効率的に管理するための動的プルーニングルールを設定します。"
|
||||
}
|
||||
},
|
||||
"lspSection": {
|
||||
"title": "LSP設定",
|
||||
"options": {
|
||||
"command": "LSPサーバーコマンド",
|
||||
"extensions": "一致させるファイル拡張子",
|
||||
"priority": "サーバーの優先度",
|
||||
"env": "環境変数",
|
||||
"initialization": "初期化オプション",
|
||||
"disabled": "このLSPを無効にする"
|
||||
}
|
||||
},
|
||||
"envVarsSection": {
|
||||
"title": "環境変数",
|
||||
"opencodeConfigDir": {
|
||||
"name": "OPENCODE_CONFIG_DIR",
|
||||
"description": "デフォルトの設定ディレクトリパスを上書きします。"
|
||||
}
|
||||
},
|
||||
"footer": "Oh My OpenAgentドキュメント © {year}"
|
||||
"searchPlaceholder": "ドキュメントを検索..."
|
||||
},
|
||||
"manifesto": {
|
||||
"badge": "マニフェスト",
|
||||
|
||||
+1
-172
@@ -247,178 +247,7 @@
|
||||
},
|
||||
"docs": {
|
||||
"mobileHeader": "Oh My OpenAgent Docs",
|
||||
"searchPlaceholder": "문서 검색...",
|
||||
"sections": {
|
||||
"overview": "Overview",
|
||||
"quickStart": "Quick Start",
|
||||
"configLocations": "Config File Locations",
|
||||
"agents": "Agents",
|
||||
"categories": "Categories",
|
||||
"skills": "Skills",
|
||||
"backgroundTasks": "Background Tasks",
|
||||
"hooks": "Hooks",
|
||||
"mcps": "MCPs",
|
||||
"browserAutomation": "Browser Automation",
|
||||
"tmux": "Tmux Integration",
|
||||
"gitMaster": "Git Master",
|
||||
"commentChecker": "Comment Checker",
|
||||
"experimental": "Experimental Features",
|
||||
"lsp": "LSP Configuration",
|
||||
"envVars": "Environment Variables"
|
||||
},
|
||||
"overview": {
|
||||
"title": "Configuration Reference",
|
||||
"description": "Oh My OpenAgent는 강력한 의견을 가지고 있지만 취향에 맞게 조정할 수 있습니다. 대부분의 사용자는 설정할 필요가 없습니다. {command}를 실행하고 바로 시작하세요."
|
||||
},
|
||||
"quickStart": {
|
||||
"title": "Quick Start"
|
||||
},
|
||||
"configLocations": {
|
||||
"title": "Config File Locations",
|
||||
"projectLevel": "(프로젝트 레벨)",
|
||||
"userLevel": "(사용자 레벨)",
|
||||
"jsonc": "JSONC가 지원되어 주석과 후행 쉼표를 사용할 수 있습니다."
|
||||
},
|
||||
"agentsSection": {
|
||||
"title": "Agents",
|
||||
"description": "내장된 Agent의 특정 동작을 설정합니다: Sisyphus, Hephaestus, Oracle, Librarian, Explore, Multimodal Looker, Prometheus, Metis, Momus, Atlas, Sisyphus Junior.",
|
||||
"overrideOptions": "Override 옵션",
|
||||
"permissions": "Permissions",
|
||||
"options": {
|
||||
"model": "모델 식별자 (예: openai/gpt-4o)",
|
||||
"variant": "모델 변형 (max, high, medium, low)",
|
||||
"category": "카테고리에서 설정 상속",
|
||||
"temperature": "샘플링 온도 (0-2)",
|
||||
"topP": "Top-p 샘플링 (0-1)",
|
||||
"prompt": "시스템 프롬프트 완전히 재정의",
|
||||
"promptAppend": "시스템 프롬프트에 텍스트 추가",
|
||||
"tools": "특정 도구 활성화 또는 비활성화",
|
||||
"disable": "이 Agent 비활성화",
|
||||
"maxTokens": "응답의 최대 토큰 수",
|
||||
"thinking": "확장 사고 설정",
|
||||
"reasoningEffort": "추론 노력: low, medium, high, xhigh"
|
||||
},
|
||||
"permissionValues": "ask / allow / deny",
|
||||
"permissionDescriptions": {
|
||||
"edit": "파일 편집 기능",
|
||||
"bash": "Bash 명령어 실행",
|
||||
"webfetch": "웹 요청 기능",
|
||||
"doomLoop": "무한 루프 재정의",
|
||||
"externalDirectory": "프로젝트 외부 파일 접근"
|
||||
}
|
||||
},
|
||||
"categoriesSection": {
|
||||
"title": "Categories",
|
||||
"description": "Categories를 사용하면 Agent가 상속할 수 있는 공유 설정을 정의할 수 있습니다.",
|
||||
"availableOptions": "Categories 사용 가능 옵션: {options}.",
|
||||
"categories": {
|
||||
"visualEngineering": "프론트엔드, UI/UX, 디자인 작업",
|
||||
"ultrabrain": "심층 논리적 추론",
|
||||
"deep": "자율 문제 해결, 철저한 리서치",
|
||||
"artistry": "창의적 작업",
|
||||
"quick": "간단하고 빠른 작업",
|
||||
"unspecifiedLow": "저노력 일반 작업",
|
||||
"unspecifiedHigh": "고노력 일반 작업",
|
||||
"writing": "문서 및 산문"
|
||||
}
|
||||
},
|
||||
"skillsSection": {
|
||||
"title": "Skills",
|
||||
"description": "내장된 스킬에는 {playwright}, {agentBrowser}, {gitMaster}가 포함됩니다. 커스텀 스킬도 정의할 수 있습니다."
|
||||
},
|
||||
"backgroundTasksSection": {
|
||||
"title": "Background Tasks",
|
||||
"priority": "우선순위:",
|
||||
"options": {
|
||||
"defaultConcurrency": "기본 최대 동시 작업 수",
|
||||
"staleTimeoutMs": "오래된 작업 타임아웃 (ms)",
|
||||
"providerConcurrency": "프로바이더당 동시성 제한",
|
||||
"modelConcurrency": "모델당 동시성 제한"
|
||||
}
|
||||
},
|
||||
"hooksSection": {
|
||||
"title": "Hooks",
|
||||
"description": "Hooks를 사용하면 다양한 라이프사이클 지점에서 기능을 확장할 수 있습니다."
|
||||
},
|
||||
"mcpsSection": {
|
||||
"title": "MCPs",
|
||||
"websearch": {
|
||||
"title": "websearch",
|
||||
"description": "Exa로 구동되는 고품질 검색 결과."
|
||||
},
|
||||
"context7": {
|
||||
"title": "context7",
|
||||
"description": "문서 검색 및 컨텍스트 관리."
|
||||
},
|
||||
"grepApp": {
|
||||
"title": "grep_app",
|
||||
"description": "GitHub 코드 검색 통합."
|
||||
}
|
||||
},
|
||||
"browserAutomationSection": {
|
||||
"title": "Browser Automation",
|
||||
"playwright": {
|
||||
"tool": "playwright",
|
||||
"description": "풀 브라우저 자동화 (기본값)",
|
||||
"useCase": "테스트, 복잡한 상호작용"
|
||||
},
|
||||
"agentBrowser": {
|
||||
"tool": "agent-browser",
|
||||
"description": "가벼운 브라우저 Agent",
|
||||
"useCase": "빠른 조회, 간단한 스크래핑"
|
||||
}
|
||||
},
|
||||
"tmuxSection": {
|
||||
"title": "Tmux Integration",
|
||||
"options": {
|
||||
"enabled": "Tmux 통합 활성화",
|
||||
"layout": "Tmux 창 레이아웃",
|
||||
"mainPaneSize": "메인 창 크기"
|
||||
}
|
||||
},
|
||||
"gitMasterSection": {
|
||||
"title": "Git Master",
|
||||
"options": {
|
||||
"commitFooter": "커밋 메시지에 추가할 텍스트",
|
||||
"includeCoAuthoredBy": "Co-authored-by 트레일러 추가"
|
||||
}
|
||||
},
|
||||
"commentCheckerSection": {
|
||||
"title": "Comment Checker",
|
||||
"description": "코드의 주석을 검증합니다. 커스텀 프롬프트에서 {placeholder} 자리 표시자를 사용하세요."
|
||||
},
|
||||
"experimentalSection": {
|
||||
"title": "Experimental Features",
|
||||
"options": {
|
||||
"aggressiveTruncation": "출력을 적극적으로 잘라내기",
|
||||
"autoResume": "중단된 작업 자동 재개",
|
||||
"preemptiveCompaction": "제한 전 컨텍스트 압축",
|
||||
"truncateAllToolOutputs": "모든 도구 출력 잘라내기"
|
||||
},
|
||||
"dynamicPruning": {
|
||||
"trigger": "dynamic_context_pruning",
|
||||
"description": "컨텍스트 윈도우 사용량을 효율적으로 관리하기 위한 동적 가지치기 규칙을 설정합니다."
|
||||
}
|
||||
},
|
||||
"lspSection": {
|
||||
"title": "LSP Configuration",
|
||||
"options": {
|
||||
"command": "LSP 서버 명령어",
|
||||
"extensions": "매칭할 파일 확장자",
|
||||
"priority": "서버 우선순위",
|
||||
"env": "환경 변수",
|
||||
"initialization": "초기화 옵션",
|
||||
"disabled": "이 LSP 비활성화"
|
||||
}
|
||||
},
|
||||
"envVarsSection": {
|
||||
"title": "Environment Variables",
|
||||
"opencodeConfigDir": {
|
||||
"name": "OPENCODE_CONFIG_DIR",
|
||||
"description": "기본 설정 디렉토리 경로를 재정의합니다."
|
||||
}
|
||||
},
|
||||
"footer": "Oh My OpenAgent Documentation © {year}"
|
||||
"searchPlaceholder": "문서 검색..."
|
||||
},
|
||||
"manifesto": {
|
||||
"badge": "Manifesto",
|
||||
|
||||
+1
-172
@@ -247,178 +247,7 @@
|
||||
},
|
||||
"docs": {
|
||||
"mobileHeader": "Oh My OpenAgent 文档",
|
||||
"searchPlaceholder": "搜索文档...",
|
||||
"sections": {
|
||||
"overview": "概览",
|
||||
"quickStart": "快速开始",
|
||||
"configLocations": "配置文件位置",
|
||||
"agents": "Agents",
|
||||
"categories": "分类",
|
||||
"skills": "Skills",
|
||||
"backgroundTasks": "后台任务",
|
||||
"hooks": "钩子",
|
||||
"mcps": "MCPs",
|
||||
"browserAutomation": "浏览器自动化",
|
||||
"tmux": "Tmux 集成",
|
||||
"gitMaster": "Git Master",
|
||||
"commentChecker": "注释检查器",
|
||||
"experimental": "实验性功能",
|
||||
"lsp": "LSP 配置",
|
||||
"envVars": "环境变量"
|
||||
},
|
||||
"overview": {
|
||||
"title": "配置参考",
|
||||
"description": "Oh My OpenAgent 高度自有主张,但可根据个人喜好调整。大多数用户无需配置——运行 {command} 即可开始。"
|
||||
},
|
||||
"quickStart": {
|
||||
"title": "快速开始"
|
||||
},
|
||||
"configLocations": {
|
||||
"title": "配置文件位置",
|
||||
"projectLevel": "(项目级)",
|
||||
"userLevel": "(用户级)",
|
||||
"jsonc": "支持 JSONC 格式,允许注释和尾随逗号。"
|
||||
},
|
||||
"agentsSection": {
|
||||
"title": "Agents",
|
||||
"description": "为内置 Agent 配置特定行为:Sisyphus、Hephaestus、Oracle、Librarian、Explore、Multimodal Looker、Prometheus、Metis、Momus、Atlas 和 Sisyphus Junior。",
|
||||
"overrideOptions": "覆盖选项",
|
||||
"permissions": "权限",
|
||||
"options": {
|
||||
"model": "模型标识符(例如 openai/gpt-4o)",
|
||||
"variant": "模型变体(max、high、medium、low)",
|
||||
"category": "从分类继承配置",
|
||||
"temperature": "采样温度(0-2)",
|
||||
"topP": "Top-p 采样(0-1)",
|
||||
"prompt": "完全覆盖系统提示词",
|
||||
"promptAppend": "在系统提示词后追加文本",
|
||||
"tools": "启用或禁用特定工具",
|
||||
"disable": "禁用此 Agent",
|
||||
"maxTokens": "响应的最大 token 数",
|
||||
"thinking": "扩展思考配置",
|
||||
"reasoningEffort": "推理强度:low、medium、high、xhigh"
|
||||
},
|
||||
"permissionValues": "ask / allow / deny",
|
||||
"permissionDescriptions": {
|
||||
"edit": "文件编辑能力",
|
||||
"bash": "Bash 命令执行",
|
||||
"webfetch": "网络请求能力",
|
||||
"doomLoop": "无限循环覆盖",
|
||||
"externalDirectory": "访问项目外部文件"
|
||||
}
|
||||
},
|
||||
"categoriesSection": {
|
||||
"title": "分类",
|
||||
"description": "分类允许你定义 Agent 可以继承的共享配置。",
|
||||
"availableOptions": "分类可用选项:{options}。",
|
||||
"categories": {
|
||||
"visualEngineering": "前端、UI/UX、设计任务",
|
||||
"ultrabrain": "深度逻辑推理",
|
||||
"deep": "自主解决问题与深入研究",
|
||||
"artistry": "创意任务",
|
||||
"quick": "简单、快速任务",
|
||||
"unspecifiedLow": "低投入一般任务",
|
||||
"unspecifiedHigh": "高投入一般任务",
|
||||
"writing": "文档和写作"
|
||||
}
|
||||
},
|
||||
"skillsSection": {
|
||||
"title": "Skills",
|
||||
"description": "内置技能包括 {playwright}、{agentBrowser} 和 {gitMaster}。你也可以定义自定义技能。"
|
||||
},
|
||||
"backgroundTasksSection": {
|
||||
"title": "后台任务",
|
||||
"priority": "优先级:",
|
||||
"options": {
|
||||
"defaultConcurrency": "默认最大并发任务数",
|
||||
"staleTimeoutMs": "过时任务超时时间(毫秒)",
|
||||
"providerConcurrency": "每个提供商的并发限制",
|
||||
"modelConcurrency": "每个模型的并发限制"
|
||||
}
|
||||
},
|
||||
"hooksSection": {
|
||||
"title": "钩子",
|
||||
"description": "钩子允许你在各个生命周期点扩展功能。"
|
||||
},
|
||||
"mcpsSection": {
|
||||
"title": "MCPs",
|
||||
"websearch": {
|
||||
"title": "websearch",
|
||||
"description": "由 Exa 驱动,提供高质量搜索结果。"
|
||||
},
|
||||
"context7": {
|
||||
"title": "context7",
|
||||
"description": "文档检索和上下文管理。"
|
||||
},
|
||||
"grepApp": {
|
||||
"title": "grep_app",
|
||||
"description": "GitHub 代码搜索集成。"
|
||||
}
|
||||
},
|
||||
"browserAutomationSection": {
|
||||
"title": "浏览器自动化",
|
||||
"playwright": {
|
||||
"tool": "playwright",
|
||||
"description": "完整的浏览器自动化(默认)",
|
||||
"useCase": "测试、复杂交互"
|
||||
},
|
||||
"agentBrowser": {
|
||||
"tool": "agent-browser",
|
||||
"description": "轻量级浏览器 Agent",
|
||||
"useCase": "快速查询、简单抓取"
|
||||
}
|
||||
},
|
||||
"tmuxSection": {
|
||||
"title": "Tmux 集成",
|
||||
"options": {
|
||||
"enabled": "启用 Tmux 集成",
|
||||
"layout": "Tmux 窗口布局",
|
||||
"mainPaneSize": "主面板大小"
|
||||
}
|
||||
},
|
||||
"gitMasterSection": {
|
||||
"title": "Git Master",
|
||||
"options": {
|
||||
"commitFooter": "追加到提交消息的文本",
|
||||
"includeCoAuthoredBy": "添加 Co-authored-by 标记"
|
||||
}
|
||||
},
|
||||
"commentCheckerSection": {
|
||||
"title": "注释检查器",
|
||||
"description": "验证代码中的注释。在自定义提示词中使用 {placeholder} 占位符。"
|
||||
},
|
||||
"experimentalSection": {
|
||||
"title": "实验性功能",
|
||||
"options": {
|
||||
"aggressiveTruncation": "积极截断输出",
|
||||
"autoResume": "自动恢复中断的任务",
|
||||
"preemptiveCompaction": "在达到限制前压缩上下文",
|
||||
"truncateAllToolOutputs": "截断所有工具输出"
|
||||
},
|
||||
"dynamicPruning": {
|
||||
"trigger": "dynamic_context_pruning",
|
||||
"description": "配置动态剪枝规则,高效管理上下文窗口使用。"
|
||||
}
|
||||
},
|
||||
"lspSection": {
|
||||
"title": "LSP 配置",
|
||||
"options": {
|
||||
"command": "LSP 服务器命令",
|
||||
"extensions": "匹配的文件扩展名",
|
||||
"priority": "服务器优先级",
|
||||
"env": "环境变量",
|
||||
"initialization": "初始化选项",
|
||||
"disabled": "禁用此 LSP"
|
||||
}
|
||||
},
|
||||
"envVarsSection": {
|
||||
"title": "环境变量",
|
||||
"opencodeConfigDir": {
|
||||
"name": "OPENCODE_CONFIG_DIR",
|
||||
"description": "覆盖默认配置目录路径。"
|
||||
}
|
||||
},
|
||||
"footer": "Oh My OpenAgent 文档 © {year}"
|
||||
"searchPlaceholder": "搜索文档..."
|
||||
},
|
||||
"manifesto": {
|
||||
"badge": "宣言",
|
||||
|
||||
Reference in New Issue
Block a user