{"version":1,"pages":[{"id":"nhuum8RhdZLXcIVf6yzt","title":"Deep Dive into OpenCode — Table of Contents and Outline","pathname":"/","siteSpaceId":"sitesp_DwYFC","lang":"en","description":""},{"id":"2nYjBRIy0JCEv6KQybeg","title":"《深入 OpenCode》——目录与纲要","pathname":"/readme-zh","siteSpaceId":"sitesp_DwYFC","lang":"en","description":""},{"id":"neu2ryf50HfVvHrTIlV2","title":"EN","pathname":"/en","siteSpaceId":"sitesp_DwYFC","lang":"en"},{"id":"5eKaFxgfmBVkOHLHbgQv","title":"Chapter_01_AI_Programming_Assistant_Background","pathname":"/en/chapter_01_ai_programming_assistant_background","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"xmqbvAxRCgN6KPTUrmNX","title":"1.1 From Auto-Completion to Agentic Coding","pathname":"/en/chapter_01_ai_programming_assistant_background/1.1_from_auto-completion_to_agentic_coding","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_01_AI_Programming_Assistant_Background"}]},{"id":"vevTbOZ8LwQSiijEfgkL","title":"1.2 AI Programming Assistant Product Landscape","pathname":"/en/chapter_01_ai_programming_assistant_background/1.2_ai_programming_assistant_product_landscape","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_01_AI_Programming_Assistant_Background"}]},{"id":"suv9onIe7vWQrpMOguWa","title":"1.3 OpenCode's Positioning and Design Philosophy","pathname":"/en/chapter_01_ai_programming_assistant_background/1.3_opencode_positioning_and_design_philosophy","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_01_AI_Programming_Assistant_Background"}]},{"id":"wGjh4jRN8pazs9La7aYm","title":"Chapter_02_Project_Structure_and_Development_Environment","pathname":"/en/chapter_02_project_structure_and_development_environment","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"75Ws5QuhuP7FgHXXowtv","title":"2.1 Obtaining Source Code and Environment Setup","pathname":"/en/chapter_02_project_structure_and_development_environment/2.1_obtaining_source_code_and_environment_setup","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_02_Project_Structure_and_Development_Environment"}]},{"id":"1Y3UPRhus5SdSzf0cXgz","title":"2.2 Monorepo Structure Analysis","pathname":"/en/chapter_02_project_structure_and_development_environment/2.2_monorepo_structure_analysis","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_02_Project_Structure_and_Development_Environment"}]},{"id":"P7apYS13W6fLZHck3703","title":"2.3 Core Package packages/opencode/src/ Module Map","pathname":"/en/chapter_02_project_structure_and_development_environment/2.3_core_package_module_map","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_02_Project_Structure_and_Development_Environment"}]},{"id":"xhjiMmVgHtXinOeAJwhm","title":"Chapter_03_Overall_Architecture_Design","pathname":"/en/chapter_03_overall_architecture_design","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"LTPeACQsSC16IMNOtssa","title":"3.1 Client-Server Architecture","pathname":"/en/chapter_03_overall_architecture_design/3.1_client-server_architecture","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_03_Overall_Architecture_Design"}]},{"id":"XAAV2JJO0MSM0YqzCcM1","title":"3.2 Core Data Flow: From User Input to AI Response","pathname":"/en/chapter_03_overall_architecture_design/3.2_core_data_flow","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_03_Overall_Architecture_Design"}]},{"id":"SOsa2YwM185PFLfGP1uC","title":"3.3 Multi-Project and Multi-Worktree Support","pathname":"/en/chapter_03_overall_architecture_design/3.3_multi-project_and_multi-worktree_support","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_03_Overall_Architecture_Design"}]},{"id":"kNcsISOqxVGDpsZKeV7r","title":"3.4 Layered Configuration System Design","pathname":"/en/chapter_03_overall_architecture_design/3.4_layered_configuration_system_design","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_03_Overall_Architecture_Design"}]},{"id":"oQVkm9CKPsOaD1IgDxNf","title":"Chapter_04_Session_System","pathname":"/en/chapter_04_session_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"w0FVJ2YIddVbRXLEYcaG","title":"4.1 Session Data Model","pathname":"/en/chapter_04_session_system/4.1_session_data_model","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"xP0ovjYaHjzZTo3Ym8SI","title":"4.2 Message Model","pathname":"/en/chapter_04_session_system/4.2_message_model","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"jSpUlk4WFO94FIABvvx3","title":"4.3 SessionPrompt: The Entry Point of a Session","pathname":"/en/chapter_04_session_system/4.3_sessionprompt_entry_point","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"tUfKE5b4mvj0KiooZxCk","title":"4.4 SessionProcessor: The Core of the Agentic Loop","pathname":"/en/chapter_04_session_system/4.4_sessionprocessor_core_loop","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"KhTJHuG05iK3pibJG1ZQ","title":"4.5 Compaction: Context Window Management","pathname":"/en/chapter_04_session_system/4.5_compaction_context_window_management","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"sYJzyXIxwwxyWrmRVJ9O","title":"4.6 Session State Management","pathname":"/en/chapter_04_session_system/4.6_session_state_management","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_04_Session_System"}]},{"id":"EwXf7Jtr1gaAZ25PUfub","title":"Chapter_05_Tool_System","pathname":"/en/chapter_05_tool_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"7dlXV7hLsHvA482MRZZs","title":"5.1 Tool Abstraction Layer Design","pathname":"/en/chapter_05_tool_system/5.1_tool_abstraction_layer_design","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_05_Tool_System"}]},{"id":"pwJFsDahh6IhiCy9WaiL","title":"5.2 ToolRegistry: Registration and Discovery","pathname":"/en/chapter_05_tool_system/5.2_toolregistry_registration_and_discovery","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_05_Tool_System"}]},{"id":"HCgPxpuWtU8x2Lv29Eup","title":"5.3 Built-in Tools: Source Code Analysis","pathname":"/en/chapter_05_tool_system/5.3_built-in_tools_source_code_analysis","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_05_Tool_System"}]},{"id":"LaT9rNiwbPverJcMFnuC","title":"5.4 Permission Checks in Tool Invocations","pathname":"/en/chapter_05_tool_system/5.4_permission_checks_in_tool_invocations","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_05_Tool_System"}]},{"id":"HKFIcGOTxyJdWvqj8hq1","title":"Chapter_06_Agent_System","pathname":"/en/chapter_06_agent_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"aeO37NBCnEyXbe3Ohkg3","title":"6.1 Agent Data Model","pathname":"/en/chapter_06_agent_system/6.1_agent_data_model","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_06_Agent_System"}]},{"id":"1H2wwU3QDc254Iv6Ro8e","title":"6.2 Built-in Agent: build","pathname":"/en/chapter_06_agent_system/6.2_built-in_agent_build","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_06_Agent_System"}]},{"id":"aqMGPWwxEfTktWTLtkrK","title":"6.3 Agent Auxiliary Functions","pathname":"/en/chapter_06_agent_system/6.3_agent_auxiliary_functions","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_06_Agent_System"}]},{"id":"pBSZSchHdr4Qo71yLeI6","title":"6.4 System Prompt Architecture","pathname":"/en/chapter_06_agent_system/6.4_system_prompt_architecture","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_06_Agent_System"}]},{"id":"cmEkjc4uCqvyLJjFjGgv","title":"6.5 Custom Agent Configuration","pathname":"/en/chapter_06_agent_system/6.5_custom_agent_configuration","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_06_Agent_System"}]},{"id":"npg4xkwK8Rr2T2mIZONt","title":"Chapter_07_Provider_Multi_Model_Adaptation_Layer","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"Di3Td3Ta2YnM7uycT9GR","title":"7.1 Vercel AI SDK Integration","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer/7.1_vercel_ai_sdk_integration","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_07_Provider_Multi_Model_Adaptation_Layer"}]},{"id":"bpHI64WOKsn7Sj8RHrVL","title":"7.2 Provider Registration and Resolution","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer/7.2_provider_registration_and_resolution","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_07_Provider_Multi_Model_Adaptation_Layer"}]},{"id":"JLIVH1gWswQb36JMBF9f","title":"7.3 Model Metadata System","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer/7.3_model_metadata_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_07_Provider_Multi_Model_Adaptation_Layer"}]},{"id":"A6PZhTahJ3u6PG795kPn","title":"7.4 ProviderTransform: Differentiated Model Adaptation","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer/7.4_providertransform_differentiated_adaptation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_07_Provider_Multi_Model_Adaptation_Layer"}]},{"id":"uUSy66MsdinqSbM8kqCM","title":"7.5 The LLM Module: Streaming Call Implementation","pathname":"/en/chapter_07_provider_multi_model_adaptation_layer/7.5_llm_module_streaming_call_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_07_Provider_Multi_Model_Adaptation_Layer"}]},{"id":"vBAeuUt4apVnYEtiX5uA","title":"Chapter_08_MCP","pathname":"/en/chapter_08_mcp","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"jUVgWg0a3VvBbErL83xY","title":"8.1 Introduction to the MCP Protocol","pathname":"/en/chapter_08_mcp/8.1_mcp_protocol_introduction","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_08_MCP"}]},{"id":"GQPvAU1lvV7Nn6JzGrLz","title":"8.2 MCP Client Implementation","pathname":"/en/chapter_08_mcp/8.2_mcp_client_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_08_MCP"}]},{"id":"o10fZBimk4QJuNLxV990","title":"8.3 MCP OAuth Authentication","pathname":"/en/chapter_08_mcp/8.3_mcp_oauth_authentication","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_08_MCP"}]},{"id":"ni2M9pZxYlLGeu9oYzH4","title":"8.4 MCP Configuration","pathname":"/en/chapter_08_mcp/8.4_mcp_configuration","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_08_MCP"}]},{"id":"vWBVyCPdTZolMPKMn73n","title":"Chapter_09_Permission_Control_System","pathname":"/en/chapter_09_permission_control_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"RVRGuDRT8wwAQEF0Pw1n","title":"9.1 Permission Model Design","pathname":"/en/chapter_09_permission_control_system/9.1_permission_model_design","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_09_Permission_Control_System"}]},{"id":"Ey2Zqqolwwed0Is2YP9D","title":"9.2 Permission Evaluation Engine","pathname":"/en/chapter_09_permission_control_system/9.2_permission_evaluation_engine","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_09_Permission_Control_System"}]},{"id":"FjmJQmLb6gqOZAEz0MMO","title":"9.3 Permission Configuration Hierarchy","pathname":"/en/chapter_09_permission_control_system/9.3_permission_configuration_hierarchy","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_09_Permission_Control_System"}]},{"id":"TK8VWejDlb3kAMf6dVvy","title":"9.4 Permission Request Interaction Flow","pathname":"/en/chapter_09_permission_control_system/9.4_permission_request_interaction_flow","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_09_Permission_Control_System"}]},{"id":"vd0LaU8wB0BMRA6HEsku","title":"9.5 Permission Strategies for Each Tool","pathname":"/en/chapter_09_permission_control_system/9.5_permission_strategies_for_each_tool","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_09_Permission_Control_System"}]},{"id":"IUeg0Grc934xQAfibH46","title":"Chapter_10_Snapshot_and_File_System","pathname":"/en/chapter_10_snapshot_and_file_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"7gws5afJXcdrE4nJnDm9","title":"10.1 Git Snapshot System","pathname":"/en/chapter_10_snapshot_and_file_system/10.1_git_snapshot_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_10_Snapshot_and_File_System"}]},{"id":"97cdK0LHGg2AMlP8Aake","title":"10.2 File System Tools","pathname":"/en/chapter_10_snapshot_and_file_system/10.2_file_system_tools","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_10_Snapshot_and_File_System"}]},{"id":"VKhoeOyFJJt3ndnZyxFA","title":"10.3 Patch System","pathname":"/en/chapter_10_snapshot_and_file_system/10.3_patch_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_10_Snapshot_and_File_System"}]},{"id":"1l8k2sGnQLxJ1HhfAdGd","title":"10.4 Worktree Management","pathname":"/en/chapter_10_snapshot_and_file_system/10.4_worktree_management","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_10_Snapshot_and_File_System"}]},{"id":"ntoHOeQJQrflGhyuX6mP","title":"Chapter_11_Event_Bus_and_Scheduler","pathname":"/en/chapter_11_event_bus_and_scheduler","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"1LcscWgb65214UcXiWH0","title":"11.1 Event Bus (Bus)","pathname":"/en/chapter_11_event_bus_and_scheduler/11.1_event_bus","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_11_Event_Bus_and_Scheduler"}]},{"id":"7RjpUltqverolSTQrZoZ","title":"11.2 Key Event List","pathname":"/en/chapter_11_event_bus_and_scheduler/11.2_key_event_list","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_11_Event_Bus_and_Scheduler"}]},{"id":"o2RkoRtzAkTNKPPg6Kjd","title":"11.3 Scheduler: Timed Task Scheduling","pathname":"/en/chapter_11_event_bus_and_scheduler/11.3_scheduler_timed_task_scheduling","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_11_Event_Bus_and_Scheduler"}]},{"id":"TrzJyEUBXf8Zojr3ePNu","title":"Chapter_12_CLI_and_TUI","pathname":"/en/chapter_12_cli_and_tui","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"PwBRD1UK4UkMmjxN79qa","title":"12.1 CLI Startup Flow","pathname":"/en/chapter_12_cli_and_tui/12.1_cli_startup_flow","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_12_CLI_and_TUI"}]},{"id":"6LuYSc8CPvNzsHkH7RqX","title":"12.2 TUI Implementation","pathname":"/en/chapter_12_cli_and_tui/12.2_tui_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_12_CLI_and_TUI"}]},{"id":"Vs91Odj3bYd4hmq71TOz","title":"12.3 Web UI","pathname":"/en/chapter_12_cli_and_tui/12.3_web_ui","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_12_CLI_and_TUI"}]},{"id":"9HqePfcRuJ49UpCJ3WwW","title":"12.4 Non-Interactive Mode","pathname":"/en/chapter_12_cli_and_tui/12.4_non-interactive_mode","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_12_CLI_and_TUI"}]},{"id":"soqkPYpdGzdrWDjs0t1j","title":"Chapter_13_Plugin_System","pathname":"/en/chapter_13_plugin_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"2qXJAD2TBCHp7Z4qpn21","title":"13.1 Plugin Interface Definition","pathname":"/en/chapter_13_plugin_system/13.1_plugin_interface_definition","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_13_Plugin_System"}]},{"id":"JCbB7ijoImyf2DdSA65I","title":"13.2 Plugin Lifecycle Hooks","pathname":"/en/chapter_13_plugin_system/13.2_plugin_lifecycle_hooks","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_13_Plugin_System"}]},{"id":"CVcdoDH0TsryC4tcGeew","title":"13.3 Plugin Loading Mechanism","pathname":"/en/chapter_13_plugin_system/13.3_plugin_loading_mechanism","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_13_Plugin_System"}]},{"id":"F6vaMSAr5eTanrxuGj3E","title":"13.4 OpenCode SDK","pathname":"/en/chapter_13_plugin_system/13.4_opencode_sdk","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_13_Plugin_System"}]},{"id":"HKVt1RI3NGNOCEtZRyld","title":"Chapter_14_Skill_System","pathname":"/en/chapter_14_skill_system","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"5Yvf8054xLiFLxldJfh8","title":"14.1 Skill Definition and Structure","pathname":"/en/chapter_14_skill_system/14.1_skill_definition_and_structure","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_14_Skill_System"}]},{"id":"o7gvdnSdzoG8f9YDGuXS","title":"14.2 Skill Loading Flow","pathname":"/en/chapter_14_skill_system/14.2_skill_loading_flow","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_14_Skill_System"}]},{"id":"y4xNVSfqVMoN8aiRFj9k","title":"14.3 Command System","pathname":"/en/chapter_14_skill_system/14.3_command_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_14_Skill_System"}]},{"id":"ogP3xk7eou8w7E7rdI6d","title":"Chapter_15_oh-my-opencode_Deep_Dive","pathname":"/en/chapter_15_oh-my-opencode_deep_dive","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"zWCQ52EP5QxyTLYcIv8k","title":"15.1 Project Overview and Architecture","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.1_project_overview_and_architecture","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"d6j7D1Ra48KoAZvtDZor","title":"15.2 Plugin Entry Point and Initialization","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.2_plugin_entry_point_and_initialization","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"u60tyhs0Jkrw26IB0lmy","title":"15.3 Multi-Agent System","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.3_multi-agent_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"pf3DgH1WeqdjcKJXf9h0","title":"15.4 Custom Tool System","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.4_custom_tool_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"9mzXAJFEaCyrpp5uHihk","title":"15.5 Hook System (53 Hooks in Detail)","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.5_hook_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"h9MdIBpLDWCv9kh53SWQ","title":"15.6 Feature Modules","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.6_feature_modules","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"zTSW4pKXaX8Hs1zRaSnQ","title":"15.7 Plugin Interface Implementation","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.7_plugin_interface_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"KttQlP4ZCIUp34oRKu65","title":"15.8 Embedded MCP Services","pathname":"/en/chapter_15_oh-my-opencode_deep_dive/15.8_embedded_mcp_services","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_15_oh-my-opencode_Deep_Dive"}]},{"id":"jkM51nPaf9nCPg42zYce","title":"Chapter_16_IDE_Extensions_and_ACP","pathname":"/en/chapter_16_ide_extensions_and_acp","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"1O0uxMwGtk7pkOv32E5b","title":"16.1 VSCode Extension Implementation","pathname":"/en/chapter_16_ide_extensions_and_acp/16.1_vscode_extension_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_16_IDE_Extensions_and_ACP"}]},{"id":"j5Jgl7wr3dc6F8sWqRrB","title":"16.2 Zed Extension Implementation","pathname":"/en/chapter_16_ide_extensions_and_acp/16.2_zed_extension_implementation","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_16_IDE_Extensions_and_ACP"}]},{"id":"kDDUqEaZWZwBJiZKlK0M","title":"16.3 ACP Protocol Deep Analysis","pathname":"/en/chapter_16_ide_extensions_and_acp/16.3_acp_protocol_deep_analysis","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_16_IDE_Extensions_and_ACP"}]},{"id":"opZvQwAQQA4l3nUSJzOJ","title":"Chapter_17_Hands-on_Labs","pathname":"/en/chapter_17_hands-on_labs","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"vuGBXd1UPMqtzDbe9mFr","title":"17.1 Lab 1: Building a Simple LLM CLI Chat Tool","pathname":"/en/chapter_17_hands-on_labs/17.1_lab1_llm_cli_chat_tool","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_17_Hands-on_Labs"}]},{"id":"WcTTo88UWvFZEnsw8DCF","title":"17.2 Lab 2: Adding Tool Use Capability to the CLI Tool","pathname":"/en/chapter_17_hands-on_labs/17.2_lab2_tool_use_capability","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_17_Hands-on_Labs"}]},{"id":"G0LkpRrA0iby7EEJc73j","title":"17.3 Lab 3: Building an MCP Server","pathname":"/en/chapter_17_hands-on_labs/17.3_lab3_building_mcp_server","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_17_Hands-on_Labs"}]},{"id":"jBa27Rf6wLQOpLNay2ka","title":"17.4 Lab 4: Writing an OpenCode Plugin","pathname":"/en/chapter_17_hands-on_labs/17.4_lab4_writing_opencode_plugin","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_17_Hands-on_Labs"}]},{"id":"0odZC4Acft3Y95VXBaFi","title":"17.5 Lab 5: Implementing a Simplified Multi-Agent Orchestration System","pathname":"/en/chapter_17_hands-on_labs/17.5_lab5_simplified_multi-agent_orchestration_system","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_17_Hands-on_Labs"}]},{"id":"b9qR03Gfd6wYv93sqR3V","title":"Chapter_18_Design_Philosophy_and_Best_Practices","pathname":"/en/chapter_18_design_philosophy_and_best_practices","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"EN"}]},{"id":"vqMuyYLkyuPLcfsZ2zOZ","title":"18.1 Review of OpenCode's Key Design Decisions","pathname":"/en/chapter_18_design_philosophy_and_best_practices/18.1_review_of_opencode_key_design_decisions","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_18_Design_Philosophy_and_Best_Practices"}]},{"id":"lCfVwW8Nlz4nr9HgK4vX","title":"18.2 Design Insights from oh-my-opencode","pathname":"/en/chapter_18_design_philosophy_and_best_practices/18.2_design_insights_from_oh-my-opencode","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_18_Design_Philosophy_and_Best_Practices"}]},{"id":"rVaQoA3zHkpBZloWcmdh","title":"18.3 Best Practices for Building AI Programming Assistants","pathname":"/en/chapter_18_design_philosophy_and_best_practices/18.3_best_practices_for_building_ai_programming_assistants","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_18_Design_Philosophy_and_Best_Practices"}]},{"id":"J4f9Ym3pLuJFg4enbDJ8","title":"18.4 Future Outlook","pathname":"/en/chapter_18_design_philosophy_and_best_practices/18.4_future_outlook","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"EN"},{"label":"Chapter_18_Design_Philosophy_and_Best_Practices"}]},{"id":"bl81kANB5n31EABsCCIO","title":"ZH","pathname":"/zh","siteSpaceId":"sitesp_DwYFC","lang":"en"},{"id":"sotFELSGbOdTcAo9fIha","title":"第01章_AI编程助手的时代背景","pathname":"/zh/di-01-zhang-ai-bian-cheng-zhu-shou-de-shi-dai-bei-jing","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"gcs9OTx7Ser7PgS4fpDw","title":"1.1 从自动补全到 Agentic Coding","pathname":"/zh/di-01-zhang-ai-bian-cheng-zhu-shou-de-shi-dai-bei-jing/1.1-cong-zi-dong-bu-quan-dao-agenticcoding","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第01章_AI编程助手的时代背景"}]},{"id":"Fs9YXfewnAMpqTETV4fk","title":"1.2 AI 编程助手产品格局","pathname":"/zh/di-01-zhang-ai-bian-cheng-zhu-shou-de-shi-dai-bei-jing/1.2ai-bian-cheng-zhu-shou-chan-pin-ge-ju","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第01章_AI编程助手的时代背景"}]},{"id":"sqn4EQypNos6EbSrigLM","title":"1.3 OpenCode 的定位与设计哲学","pathname":"/zh/di-01-zhang-ai-bian-cheng-zhu-shou-de-shi-dai-bei-jing/1.3opencode-de-ding-wei-yu-she-ji-zhe-xue","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第01章_AI编程助手的时代背景"}]},{"id":"7dYqE43b29mdcl3HmISW","title":"第02章_项目结构与开发环境","pathname":"/zh/di-02-zhang-xiang-mu-jie-gou-yu-kai-fa-huan-jing","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"JUUCfOnANLELvjplq1RI","title":"2.1 获取源码与环境搭建","pathname":"/zh/di-02-zhang-xiang-mu-jie-gou-yu-kai-fa-huan-jing/2.1-huo-qu-yuan-ma-yu-huan-jing-da-jian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第02章_项目结构与开发环境"}]},{"id":"fulzmo9Jynqt6Tv6xvoh","title":"2.2 Monorepo 结构剖析","pathname":"/zh/di-02-zhang-xiang-mu-jie-gou-yu-kai-fa-huan-jing/2.2monorepo-jie-gou-pou-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第02章_项目结构与开发环境"}]},{"id":"Z1pNbwBDFRMbYrCNjMp7","title":"2.3 核心包 packages/opencode/src/ 的模块地图","pathname":"/zh/di-02-zhang-xiang-mu-jie-gou-yu-kai-fa-huan-jing/2.3-he-xin-bao-de-mo-kuai-di-tu","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第02章_项目结构与开发环境"}]},{"id":"L73dcBUyTEFgOZhcQzkz","title":"第03章_整体架构设计","pathname":"/zh/di-03-zhang-zheng-ti-jia-gou-she-ji","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"XHFO9JmAHTxuu5Ggi3rk","title":"3.1 客户端-服务端架构","pathname":"/zh/di-03-zhang-zheng-ti-jia-gou-she-ji/3.1-ke-hu-duan-fu-wu-duan-jia-gou","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第03章_整体架构设计"}]},{"id":"2zEyF3ucVn6ZcjrFDlw3","title":"3.2 核心数据流：从用户输入到 AI 响应","pathname":"/zh/di-03-zhang-zheng-ti-jia-gou-she-ji/3.2-he-xin-shu-ju-liu","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第03章_整体架构设计"}]},{"id":"PQ8soNxqYubSldSvz9BZ","title":"3.3 多项目与多 Worktree 支持","pathname":"/zh/di-03-zhang-zheng-ti-jia-gou-she-ji/3.3-duo-xiang-mu-yu-duo-worktree-zhi-chi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第03章_整体架构设计"}]},{"id":"zeNdvdWgmf0zOrCjFLsn","title":"3.4 配置系统的分层设计","pathname":"/zh/di-03-zhang-zheng-ti-jia-gou-she-ji/3.4-pei-zhi-xi-tong-de-fen-ceng-she-ji","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第03章_整体架构设计"}]},{"id":"UkOHWYYoPypSc5RU2gxG","title":"第04章_Session会话系统","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"fGwR0sB6rXKjZl1sdWn1","title":"4.1 Session 数据模型","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.1session-shu-ju-mo-xing","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"pYonBa7l4VhyqqQfDAHG","title":"4.2 消息模型（Message）","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.2-xiao-xi-mo-xing","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"sL12bQXdrXICntSOEOz6","title":"4.3 SessionPrompt：会话的入口","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.3sessionprompt-ru-kou","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"a1vh1q7op3h1sURqAXqp","title":"4.4 SessionProcessor：Agentic Loop 的核心","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.4sessionprocessor-he-xin-xun-huan","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"YWUVQPwTwcvAMGTe3MzC","title":"4.5 Compaction：上下文窗口管理","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.5compaction-shang-xia-wen-chuang-kou-guan-li","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"93YHQ3ODjEYUu4mDoRQi","title":"4.6 Session 的状态管理","pathname":"/zh/di-04-zhang-session-hui-hua-xi-tong/4.6session-zhuang-tai-guan-li","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第04章_Session会话系统"}]},{"id":"Ox6Ztidl687qvXfDpPDX","title":"第05章_Tool工具系统","pathname":"/zh/di-05-zhang-tool-gong-ju-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"0QEUXyavtuVdgFeJMidz","title":"5.1 工具抽象层设计","pathname":"/zh/di-05-zhang-tool-gong-ju-xi-tong/5.1-gong-ju-chou-xiang-ceng-she-ji","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第05章_Tool工具系统"}]},{"id":"msO2CsWPrwWrmNmtStIi","title":"5.2 ToolRegistry：工具注册与发现","pathname":"/zh/di-05-zhang-tool-gong-ju-xi-tong/5.2toolregistry-zhu-ce-yu-fa-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第05章_Tool工具系统"}]},{"id":"oLaK8wNvdsBsZRJJhCzh","title":"5.3 内置工具源码逐个剖析","pathname":"/zh/di-05-zhang-tool-gong-ju-xi-tong/5.3-nei-zhi-gong-ju-yuan-ma-pou-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第05章_Tool工具系统"}]},{"id":"qMVQ87Uq6IJly8TDcceB","title":"5.4 工具调用中的权限检查","pathname":"/zh/di-05-zhang-tool-gong-ju-xi-tong/5.4-gong-ju-diao-yong-zhong-de-quan-xian-jian-cha","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第05章_Tool工具系统"}]},{"id":"Ua04lpdbjJ4M9TxyxFU9","title":"第06章_Agent系统","pathname":"/zh/di-06-zhang-agent-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"ASBb9jzjSOOA1jvR64vg","title":"6.1 Agent 数据模型","pathname":"/zh/di-06-zhang-agent-xi-tong/6.1agent-shu-ju-mo-xing","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第06章_Agent系统"}]},{"id":"NBh3roz5i1KtvLEn1BK5","title":"6.2 内置 Agent：build","pathname":"/zh/di-06-zhang-agent-xi-tong/6.2-nei-zhi-agentbuild","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第06章_Agent系统"}]},{"id":"TXrOYzOsjHNKKy9eaJGW","title":"6.3 Agent 的辅助功能","pathname":"/zh/di-06-zhang-agent-xi-tong/6.3agent-de-fu-zhu-gong-neng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第06章_Agent系统"}]},{"id":"VRrOnkEb1x6rxVUGH2Ym","title":"6.4 System Prompt 架构","pathname":"/zh/di-06-zhang-agent-xi-tong/6.4systemprompt-jia-gou","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第06章_Agent系统"}]},{"id":"ErTlttk6QhtDLLk6wOwP","title":"6.5 自定义 Agent 配置","pathname":"/zh/di-06-zhang-agent-xi-tong/6.5-zi-ding-yi-agent-pei-zhi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第06章_Agent系统"}]},{"id":"XYHH9EBMf5C92FZqUaUr","title":"第07章_Provider多模型适配层","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"kbDUrW8n5nDiVYhA7QIS","title":"7.1 Vercel AI SDK 集成","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng/7.1vercelaisdk-ji-cheng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第07章_Provider多模型适配层"}]},{"id":"xwnvKXKuPgdj9jkxNSl3","title":"7.2 Provider 注册与解析","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng/7.2provider-zhu-ce-yu-jie-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第07章_Provider多模型适配层"}]},{"id":"ScmRqH1mUC2oQKiE8Mzc","title":"7.3 模型元数据系统","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng/7.3-mo-xing-yuan-shu-ju-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第07章_Provider多模型适配层"}]},{"id":"3QPnksj6AttZlKxCWjP0","title":"7.4 ProviderTransform：模型差异化适配","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng/7.4providertransform-cha-yi-hua-shi-pei","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第07章_Provider多模型适配层"}]},{"id":"Vir2ODyUo7NM6Wv9IY2d","title":"7.5 LLM 模块：流式调用的实现","pathname":"/zh/di-07-zhang-provider-duo-mo-xing-shi-pei-ceng/7.5llm-mo-kuai-liu-shi-diao-yong-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第07章_Provider多模型适配层"}]},{"id":"BLDyoclzO2cYR11g6779","title":"第08章_MCP","pathname":"/zh/di-08-zhang-mcp","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"XKregx3nM2TLWLCsvAqX","title":"8.1 MCP 协议简介","pathname":"/zh/di-08-zhang-mcp/8.1mcp-xie-yi-jian-jie","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第08章_MCP"}]},{"id":"jabNAxmwGyk67rb9CbAU","title":"8.2 MCP Client 实现","pathname":"/zh/di-08-zhang-mcp/8.2mcpclient-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第08章_MCP"}]},{"id":"ceeoqDuizuEFKPw78VJ5","title":"8.3 MCP OAuth 认证","pathname":"/zh/di-08-zhang-mcp/8.3mcpoauth-ren-zheng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第08章_MCP"}]},{"id":"iDAwooKNDeFKtKtDpkXE","title":"8.4 MCP 配置","pathname":"/zh/di-08-zhang-mcp/8.4mcp-pei-zhi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第08章_MCP"}]},{"id":"nKV3rMtcRoikvisjrcOm","title":"第09章_权限控制系统","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"L7JPLeZ3QaGUjGeDqUSJ","title":"9.1 权限模型设计","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong/9.1-quan-xian-mo-xing-she-ji","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第09章_权限控制系统"}]},{"id":"0L77ZsciX4JHjqb9HaJQ","title":"9.2 权限评估引擎","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong/9.2-quan-xian-ping-gu-yin-qing","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第09章_权限控制系统"}]},{"id":"BPSNaVcdEQ8d10KHM2Km","title":"9.3 权限配置层级","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong/9.3-quan-xian-pei-zhi-ceng-ji","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第09章_权限控制系统"}]},{"id":"UgvidSTvmhZn3pKvC5mG","title":"9.4 权限请求的交互流程","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong/9.4-quan-xian-qing-qiu-de-jiao-hu-liu-cheng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第09章_权限控制系统"}]},{"id":"q6uUFGYt6OpSRoT5WsRx","title":"9.5 各工具的权限策略","pathname":"/zh/di-09-zhang-quan-xian-kong-zhi-xi-tong/9.5-ge-gong-ju-de-quan-xian-ce-le","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第09章_权限控制系统"}]},{"id":"W6pzvyN8v969kiU2BsMh","title":"第10章_Snapshot与文件系统","pathname":"/zh/di-10-zhang-snapshot-yu-wen-jian-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"bHTTobqHChudWropBzky","title":"10.1 Git 快照系统","pathname":"/zh/di-10-zhang-snapshot-yu-wen-jian-xi-tong/10.1git-kuai-zhao-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第10章_Snapshot与文件系统"}]},{"id":"yppTI4lCOzkzrn4isPS6","title":"10.2 文件系统工具","pathname":"/zh/di-10-zhang-snapshot-yu-wen-jian-xi-tong/10.2-wen-jian-xi-tong-gong-ju","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第10章_Snapshot与文件系统"}]},{"id":"qUzbborB448ZO20joY9i","title":"10.3 Patch 系统","pathname":"/zh/di-10-zhang-snapshot-yu-wen-jian-xi-tong/10.3patch-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第10章_Snapshot与文件系统"}]},{"id":"4ZTxslnYhoCbxDcLw1ve","title":"10.4 Worktree 管理","pathname":"/zh/di-10-zhang-snapshot-yu-wen-jian-xi-tong/10.4worktree-guan-li","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第10章_Snapshot与文件系统"}]},{"id":"43gl7eUW6idxyioThFvq","title":"第11章_事件总线与调度器","pathname":"/zh/di-11-zhang-shi-jian-zong-xian-yu-diao-du-qi","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"kMELC2O3n13GClACMRTb","title":"11.1 事件总线（Bus）","pathname":"/zh/di-11-zhang-shi-jian-zong-xian-yu-diao-du-qi/11.1-shi-jian-zong-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第11章_事件总线与调度器"}]},{"id":"ktlY5Fm9qHNnzQsly6l0","title":"11.2 关键事件列表","pathname":"/zh/di-11-zhang-shi-jian-zong-xian-yu-diao-du-qi/11.2-guan-jian-shi-jian-lie-biao","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第11章_事件总线与调度器"}]},{"id":"XSaOPEtvCiyD7bl1EHsu","title":"11.3 Scheduler：定时任务调度","pathname":"/zh/di-11-zhang-shi-jian-zong-xian-yu-diao-du-qi/11.3scheduler-ding-shi-ren-wu-diao-du","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第11章_事件总线与调度器"}]},{"id":"WqbskdW7ckpczDUZDRN6","title":"第12章_命令行界面与TUI","pathname":"/zh/di-12-zhang-ming-ling-xing-jie-mian-yu-tui","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"McI53NH6Oux7cZsSk7J9","title":"12.1 CLI 启动流程","pathname":"/zh/di-12-zhang-ming-ling-xing-jie-mian-yu-tui/12.1cli-qi-dong-liu-cheng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第12章_命令行界面与TUI"}]},{"id":"GqQUS85CC07RWJ2hXdMX","title":"12.2 TUI 实现","pathname":"/zh/di-12-zhang-ming-ling-xing-jie-mian-yu-tui/12.2tui-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第12章_命令行界面与TUI"}]},{"id":"bKt4aeB0qsTdPRxiArFK","title":"12.3 Web UI","pathname":"/zh/di-12-zhang-ming-ling-xing-jie-mian-yu-tui/12.3_web_ui","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第12章_命令行界面与TUI"}]},{"id":"Wi3m6oglH1PbOFSJe79C","title":"12.4 非交互模式","pathname":"/zh/di-12-zhang-ming-ling-xing-jie-mian-yu-tui/12.4-fei-jiao-hu-mo-shi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第12章_命令行界面与TUI"}]},{"id":"D6TZGEkhbT7IVYwjT7ep","title":"第13章_Plugin系统","pathname":"/zh/di-13-zhang-plugin-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"N3B1SuzjOb6cUngFAzB1","title":"13.1 Plugin 接口定义","pathname":"/zh/di-13-zhang-plugin-xi-tong/13.1plugin-jie-kou-ding-yi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第13章_Plugin系统"}]},{"id":"X4DcLH6nHZrBpZW39naE","title":"13.2 Plugin 生命周期钩子","pathname":"/zh/di-13-zhang-plugin-xi-tong/13.2plugin-sheng-ming-zhou-qi-gou-zi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第13章_Plugin系统"}]},{"id":"h6KD2hGaq51dzjaCtH8m","title":"13.3 Plugin 加载机制","pathname":"/zh/di-13-zhang-plugin-xi-tong/13.3plugin-jia-zai-ji-zhi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第13章_Plugin系统"}]},{"id":"2TbP2I7XaJ1sPpsbh1kG","title":"13.4 OpenCode SDK","pathname":"/zh/di-13-zhang-plugin-xi-tong/13.4_opencode_sdk","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第13章_Plugin系统"}]},{"id":"AEJtf1qRtiFpMYC9i3Kb","title":"第14章_Skill系统","pathname":"/zh/di-14-zhang-skill-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"BbURDaaj46TWbOt48Jep","title":"14.1 Skill 的定义与结构","pathname":"/zh/di-14-zhang-skill-xi-tong/14.1skill-de-ding-yi-yu-jie-gou","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第14章_Skill系统"}]},{"id":"Vn0YogF4Bq7pJ2rPtwDC","title":"14.2 Skill 加载流程","pathname":"/zh/di-14-zhang-skill-xi-tong/14.2skill-jia-zai-liu-cheng","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第14章_Skill系统"}]},{"id":"Uetykehc3XsHHS01NUfg","title":"14.3 Command 系统","pathname":"/zh/di-14-zhang-skill-xi-tong/14.3command-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第14章_Skill系统"}]},{"id":"3S5zhoslX0wwUBGbetpB","title":"第15章_oh-my-opencode深度剖析","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"R93iXwUtL61Oj69ctMN6","title":"15.1 项目概述与架构","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.1-xiang-mu-gai-shu-yu-jia-gou","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"fY68CRiymzv9uaMyXbHu","title":"15.2 插件入口与初始化","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.2-cha-jian-ru-kou-yu-chu-shi-hua","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"KYYtsTEo7RR3k4ArnQgw","title":"15.3 多 Agent 体系","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.3-duo-agent-ti-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"8ZWGngDTa7w9fB0fUwh1","title":"15.4 自定义工具系统","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.4-zi-ding-yi-gong-ju-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"NEKS4O00AoBINqCzMhvH","title":"15.5 Hook 系统（53 个 Hook 详解）","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.5hook-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"VutXpF6aKOmxqaILUPpm","title":"15.6 Feature 模块","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.6feature-mo-kuai","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"MOpORomNdYpQNhcnDSz2","title":"15.7 Plugin Interface 实现","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.7plugininterface-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"RjJ86SrEowBn2EeYbfdh","title":"15.8 内嵌 MCP 服务","pathname":"/zh/di-15-zhang-ohmyopencode-shen-du-pou-xi/15.8-nei-qian-mcp-fu-wu","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第15章_oh-my-opencode深度剖析"}]},{"id":"8Dt3QcQGQodT01fenmxb","title":"第16章_IDE扩展与ACP","pathname":"/zh/di-16-zhang-ide-kuo-zhan-yu-acp","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"sDIpldZbQBm0tE4fsOdq","title":"16.1 VSCode 扩展实现","pathname":"/zh/di-16-zhang-ide-kuo-zhan-yu-acp/16.1vscode-kuo-zhan-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第16章_IDE扩展与ACP"}]},{"id":"4ce1Up152idiIHnQnFW6","title":"16.2 Zed 扩展实现","pathname":"/zh/di-16-zhang-ide-kuo-zhan-yu-acp/16.2zed-kuo-zhan-shi-xian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第16章_IDE扩展与ACP"}]},{"id":"aUKuMnmljKM9LhZSUElf","title":"16.3 ACP 协议深度解析","pathname":"/zh/di-16-zhang-ide-kuo-zhan-yu-acp/16.3acp-xie-yi-shen-du-jie-xi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第16章_IDE扩展与ACP"}]},{"id":"LO9Qk7dmysvu5FAwdnTZ","title":"第17章_动手实验","pathname":"/zh/di-17-zhang-dong-shou-shi-yan","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"4l019xuYP6MtHMXBMaLU","title":"17.1 实验一：实现一个简单的 LLM CLI 对话工具","pathname":"/zh/di-17-zhang-dong-shou-shi-yan/17.1-shi-yan-yi-llmcli-dui-hua-gong-ju","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第17章_动手实验"}]},{"id":"FnsUL9jwOvrMJq34Edgn","title":"17.2 实验二：为 CLI 工具添加 Tool Use 能力","pathname":"/zh/di-17-zhang-dong-shou-shi-yan/17.2-shi-yan-er-tooluse-neng-li","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第17章_动手实验"}]},{"id":"PQ8dGeSeqM4BfTnO154j","title":"17.3 实验三：构建一个 MCP Server","pathname":"/zh/di-17-zhang-dong-shou-shi-yan/17.3-shi-yan-san-gou-jian-mcpserver","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第17章_动手实验"}]},{"id":"K398DS8fugXVrDmKKbsV","title":"17.4 实验四：编写 OpenCode Plugin","pathname":"/zh/di-17-zhang-dong-shou-shi-yan/17.4-shi-yan-si-bian-xie-opencodeplugin","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第17章_动手实验"}]},{"id":"rDO4HZNNHSzAYAz4f0iQ","title":"17.5 实验五：实现一个简化版多 Agent 编排系统","pathname":"/zh/di-17-zhang-dong-shou-shi-yan/17.5-shi-yan-wu-jian-hua-ban-duo-agent-bian-pai-xi-tong","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第17章_动手实验"}]},{"id":"Jlhv9rFaVfIBeWXKhnHb","title":"第18章_设计哲学与最佳实践","pathname":"/zh/di-18-zhang-she-ji-zhe-xue-yu-zui-jia-shi-jian","siteSpaceId":"sitesp_DwYFC","lang":"en","breadcrumbs":[{"label":"ZH"}]},{"id":"3UbTSi76EhhfcxZx8cup","title":"18.1 OpenCode 的关键设计决策回顾","pathname":"/zh/di-18-zhang-she-ji-zhe-xue-yu-zui-jia-shi-jian/18.1opencode-de-guan-jian-she-ji-jue-ce-hui-gu","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第18章_设计哲学与最佳实践"}]},{"id":"elrbWCxCgcg272qT7rcI","title":"18.2 oh-my-opencode 的设计启示","pathname":"/zh/di-18-zhang-she-ji-zhe-xue-yu-zui-jia-shi-jian/18.2ohmyopencode-de-she-ji-qi-shi","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第18章_设计哲学与最佳实践"}]},{"id":"UbkneBAfLtg1GXZ8q4WB","title":"18.3 构建 AI 编程助手的最佳实践","pathname":"/zh/di-18-zhang-she-ji-zhe-xue-yu-zui-jia-shi-jian/18.3-gou-jian-ai-bian-cheng-zhu-shou-de-zui-jia-shi-jian","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第18章_设计哲学与最佳实践"}]},{"id":"IuevBEkj8E35RtKl8etJ","title":"18.4 未来展望","pathname":"/zh/di-18-zhang-she-ji-zhe-xue-yu-zui-jia-shi-jian/18.4-wei-lai-zhan-wang","siteSpaceId":"sitesp_DwYFC","lang":"en","description":"","breadcrumbs":[{"label":"ZH"},{"label":"第18章_设计哲学与最佳实践"}]}]}