mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
fix: unify anchor IDs between VitePress and GitHub with custom slugify
Add GitHub-compatible slugify (github-slugger algorithm) to VitePress config so heading anchor IDs are consistent across both platforms. Update all inline anchor links in 22 doc files accordingly.
This commit is contained in:
parent
755804fb96
commit
072e5bcc48
@ -1,5 +1,19 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
|
||||
// GitHub-compatible slugify (matches github-slugger algorithm)
|
||||
// Makes heading anchor IDs consistent between VitePress and GitHub rendering
|
||||
function slugify(str: string): string {
|
||||
return str
|
||||
.replace(/<[^>]*>/g, '')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/&/g, '&')
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
.replace(/[^\p{L}\p{M}\p{N}\p{Pc}\- ]/gu, '')
|
||||
.replace(/ /g, '-')
|
||||
}
|
||||
|
||||
const zhSidebar = [
|
||||
{
|
||||
text: '快速开始',
|
||||
@ -136,6 +150,12 @@ export default defineConfig({
|
||||
lastUpdated: true,
|
||||
base: '/',
|
||||
|
||||
markdown: {
|
||||
anchor: {
|
||||
slugify,
|
||||
},
|
||||
},
|
||||
|
||||
head: [
|
||||
['script', { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-D42DM82263' }],
|
||||
['script', {}, `window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-D42DM82263');`],
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 让 Claude Code 同时调度多个专业代理,并行处理复杂任务。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、什么是多-agent-系统">多 Agent 系统</a> · <a href="#二、六种内置-agent">六种内置 Agent</a> · <a href="#三、如何生成-agent">如何生成 Agent</a> · <a href="#四、后台任务管理">后台任务管理</a> · <a href="#五、agent-teams-—-多代理协作">Agent Teams</a> · <a href="#六、自定义-agent">自定义 Agent</a> · <a href="#七、权限模式">权限模式</a> · <a href="#八、快速参考">快速参考</a>
|
||||
<a href="#一什么是多-agent-系统">多 Agent 系统</a> · <a href="#二六种内置-agent">六种内置 Agent</a> · <a href="#三如何生成-agent">如何生成 Agent</a> · <a href="#四后台任务管理">后台任务管理</a> · <a href="#五agent-teams--多代理协作">Agent Teams</a> · <a href="#六自定义-agent">自定义 Agent</a> · <a href="#七权限模式">权限模式</a> · <a href="#八快速参考">快速参考</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 深入剖析多 Agent 编排的架构设计、生成流程、上下文传递和协作机制。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、架构总览">架构总览</a> · <a href="#二、agent-生成流程-—-四条路径">生成流程</a> · <a href="#三、工具池系统-—-三层过滤">工具池系统</a> · <a href="#四、上下文传递机制">上下文传递</a> · <a href="#五、agent-teams-内部机制">Teams 内部机制</a> · <a href="#六、后台任务引擎">后台任务引擎</a> · <a href="#七、dreamtask-—-自动记忆整合">DreamTask</a> · <a href="#八、worktree-隔离实现">Worktree 隔离</a> · <a href="#九、权限同步机制">权限同步</a> · <a href="#十、agent-生命周期完整数据流">生命周期数据流</a> · <a href="#十一、关键源文件索引">源文件索引</a> · <a href="#十二、feature-flags">Feature Flags</a>
|
||||
<a href="#一架构总览">架构总览</a> · <a href="#二agent-生成流程--四条路径">生成流程</a> · <a href="#三工具池系统--三层过滤">工具池系统</a> · <a href="#四上下文传递机制">上下文传递</a> · <a href="#五agent-teams-内部机制">Teams 内部机制</a> · <a href="#六后台任务引擎">后台任务引擎</a> · <a href="#七dreamtask--自动记忆整合">DreamTask</a> · <a href="#八worktree-隔离实现">Worktree 隔离</a> · <a href="#九权限同步机制">权限同步</a> · <a href="#十agent-生命周期完整数据流">生命周期数据流</a> · <a href="#十一关键源文件索引">源文件索引</a> · <a href="#十二feature-flags">Feature Flags</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 从源码视角剖析全球最流行 AI Code Editor 背后的 Agent 架构设计哲学。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、核心-agent-循环">核心循环</a> · <a href="#二、系统提示词工程">提示词工程</a> · <a href="#三、工具系统设计">工具系统</a> · <a href="#四、上下文管理与压缩">上下文管理</a> · <a href="#五、技能与插件生态">技能与插件</a> · <a href="#六、权限与安全体系">权限与安全</a> · <a href="#七、故障恢复机制">故障恢复</a> · <a href="#八、与-langchain-react-的本质区别">对比分析</a> · <a href="#九、为什么-claude-code-能做到这么好">成功之道</a>
|
||||
<a href="#一核心-agent-循环">核心循环</a> · <a href="#二系统提示词工程">提示词工程</a> · <a href="#三工具系统设计">工具系统</a> · <a href="#四上下文管理与压缩">上下文管理</a> · <a href="#五技能与插件生态">技能与插件</a> · <a href="#六权限与安全体系">权限与安全</a> · <a href="#七故障恢复机制">故障恢复</a> · <a href="#八与-langchain-react-的本质区别">对比分析</a> · <a href="#九为什么-claude-code-能做到这么好">成功之道</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
> 从源码视角深度剖析 Claude Code 如何通过 IM 平台远程控制 Agent
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、什么是-channel">概念</a> ·
|
||||
<a href="#二、整体架构">架构</a> ·
|
||||
<a href="#三、消息协议">协议</a> ·
|
||||
<a href="#四、六层访问控制">访问控制</a> ·
|
||||
<a href="#五、权限中继系统">权限中继</a> ·
|
||||
<a href="#六、ui-组件">UI</a> ·
|
||||
<a href="#七、插件-channel-架构">插件</a> ·
|
||||
<a href="#八、安全设计">安全</a> ·
|
||||
<a href="#九、命令行接口">CLI</a> ·
|
||||
<a href="#十、特性开关与分析">特性开关</a>
|
||||
<a href="#一什么是-channel">概念</a> ·
|
||||
<a href="#二整体架构">架构</a> ·
|
||||
<a href="#三消息协议">协议</a> ·
|
||||
<a href="#四六层访问控制">访问控制</a> ·
|
||||
<a href="#五权限中继系统">权限中继</a> ·
|
||||
<a href="#六ui-组件">UI</a> ·
|
||||
<a href="#七插件-channel-架构">插件</a> ·
|
||||
<a href="#八安全设计">安全</a> ·
|
||||
<a href="#九命令行接口">CLI</a> ·
|
||||
<a href="#十特性开关与分析">特性开关</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
### 插件开发者
|
||||
|
||||
1. 阅读架构解析中的 [插件架构](./01-channel-system.md#七、插件-channel-架构) 章节
|
||||
1. 阅读架构解析中的 [插件架构](./01-channel-system.md#七插件-channel-架构) 章节
|
||||
2. 了解 `plugin.json` 中 Channel 声明格式
|
||||
3. 实现 MCP Server 的 `notifications/claude/channel` 协议
|
||||
4. 查看源码位置:
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Let Claude Code orchestrate multiple specialized agents to handle complex tasks in parallel.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-what-is-the-multi-agent-system">Multi-Agent System</a> · <a href="#_2-six-built-in-agents">Six Built-in Agents</a> · <a href="#_3-how-to-spawn-agents">Spawning Agents</a> · <a href="#_4-background-task-management">Background Tasks</a> · <a href="#_5-agent-teams-—-multi-agent-collaboration">Agent Teams</a> · <a href="#_6-custom-agents">Custom Agents</a> · <a href="#_7-permission-modes">Permission Modes</a> · <a href="#_8-quick-reference">Quick Reference</a>
|
||||
<a href="#1-what-is-the-multi-agent-system">Multi-Agent System</a> · <a href="#2-six-built-in-agents">Six Built-in Agents</a> · <a href="#3-how-to-spawn-agents">Spawning Agents</a> · <a href="#4-background-task-management">Background Tasks</a> · <a href="#5-agent-teams--multi-agent-collaboration">Agent Teams</a> · <a href="#6-custom-agents">Custom Agents</a> · <a href="#7-permission-modes">Permission Modes</a> · <a href="#8-quick-reference">Quick Reference</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> A deep dive into the architecture, spawn flow, context passing, and collaboration mechanisms of multi-agent orchestration.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-architecture-overview">Architecture</a> · <a href="#_2-agent-spawn-flow-—-four-paths">Spawn Flow</a> · <a href="#_3-tool-pool-system-—-three-layer-filtering">Tool Pool</a> · <a href="#_4-context-passing-mechanism">Context Passing</a> · <a href="#_5-agent-teams-internals">Teams Internals</a> · <a href="#_6-background-task-engine">Task Engine</a> · <a href="#_7-dreamtask-—-automatic-memory-consolidation">DreamTask</a> · <a href="#_8-worktree-isolation-implementation">Worktree Isolation</a> · <a href="#_9-permission-synchronization">Permission Sync</a> · <a href="#_10-agent-lifecycle-end-to-end-data-flow">Lifecycle Data Flow</a> · <a href="#_11-key-source-file-index">Source Index</a> · <a href="#_12-feature-flags">Feature Flags</a>
|
||||
<a href="#1-architecture-overview">Architecture</a> · <a href="#2-agent-spawn-flow--four-paths">Spawn Flow</a> · <a href="#3-tool-pool-system--three-layer-filtering">Tool Pool</a> · <a href="#4-context-passing-mechanism">Context Passing</a> · <a href="#5-agent-teams-internals">Teams Internals</a> · <a href="#6-background-task-engine">Task Engine</a> · <a href="#7-dreamtask--automatic-memory-consolidation">DreamTask</a> · <a href="#8-worktree-isolation-implementation">Worktree Isolation</a> · <a href="#9-permission-synchronization">Permission Sync</a> · <a href="#10-agent-lifecycle-end-to-end-data-flow">Lifecycle Data Flow</a> · <a href="#11-key-source-file-index">Source Index</a> · <a href="#12-feature-flags">Feature Flags</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Deconstructing the architecture behind the world's most popular AI code editor — from source code to design philosophy.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-the-core-agent-loop">Core Loop</a> · <a href="#_2-system-prompt-engineering">Prompt Engineering</a> · <a href="#_3-tool-system-design">Tool System</a> · <a href="#_4-context-management-compression">Context Management</a> · <a href="#_5-skills-plugin-ecosystem">Skills & Plugins</a> · <a href="#_6-permission-security-model">Permissions</a> · <a href="#_7-fault-recovery-mechanisms">Recovery</a> · <a href="#_8-how-it-differs-from-langchain-react">vs LangChain</a> · <a href="#_9-why-claude-code-is-so-good">Why It Works</a>
|
||||
<a href="#1-the-core-agent-loop">Core Loop</a> · <a href="#2-system-prompt-engineering">Prompt Engineering</a> · <a href="#3-tool-system-design">Tool System</a> · <a href="#4-context-management-compression">Context Management</a> · <a href="#5-skills-plugin-ecosystem">Skills & Plugins</a> · <a href="#6-permission-security-model">Permissions</a> · <a href="#7-fault-recovery-mechanisms">Recovery</a> · <a href="#8-how-it-differs-from-langchain-react">vs LangChain</a> · <a href="#9-why-claude-code-is-so-good">Why It Works</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
> A deep dive into how Claude Code enables remote Agent control via IM platforms
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-what-is-a-channel">Concepts</a> ·
|
||||
<a href="#_2-architecture-overview">Architecture</a> ·
|
||||
<a href="#_3-message-protocol">Protocol</a> ·
|
||||
<a href="#_4-six-layer-access-control">Access Control</a> ·
|
||||
<a href="#_5-permission-relay-system">Permission Relay</a> ·
|
||||
<a href="#_6-ui-components">UI</a> ·
|
||||
<a href="#_7-plugin-channel-architecture">Plugins</a> ·
|
||||
<a href="#_8-security-design">Security</a> ·
|
||||
<a href="#_9-command-line-interface">CLI</a> ·
|
||||
<a href="#_10-feature-flags-and-analytics">Feature Flags</a>
|
||||
<a href="#1-what-is-a-channel">Concepts</a> ·
|
||||
<a href="#2-architecture-overview">Architecture</a> ·
|
||||
<a href="#3-message-protocol">Protocol</a> ·
|
||||
<a href="#4-six-layer-access-control">Access Control</a> ·
|
||||
<a href="#5-permission-relay-system">Permission Relay</a> ·
|
||||
<a href="#6-ui-components">UI</a> ·
|
||||
<a href="#7-plugin-channel-architecture">Plugins</a> ·
|
||||
<a href="#8-security-design">Security</a> ·
|
||||
<a href="#9-command-line-interface">CLI</a> ·
|
||||
<a href="#10-feature-flags-and-analytics">Feature Flags</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -46,7 +46,7 @@ All illustrations use dark background (#1a1a2e) with Anthropic brand copper-oran
|
||||
|
||||
### Plugin Developers
|
||||
|
||||
1. Read the [Plugin Architecture](./01-channel-system.md#_7-plugin-channel-architecture) section
|
||||
1. Read the [Plugin Architecture](./01-channel-system.md#7-plugin-channel-architecture) section
|
||||
2. Understand the `plugin.json` Channel declaration format
|
||||
3. Implement the MCP Server `notifications/claude/channel` protocol
|
||||
4. Key source files:
|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
> A deep dive into the Computer Use implementation: from MCP tool definitions to Python Bridge, from 9-layer security gates to feature flag bypasses.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-patch-environment-overview">Patch Environment</a> ·
|
||||
<a href="#_2-layered-architecture">Layered Architecture</a> ·
|
||||
<a href="#_3-mcp-tool-layer">MCP Tool Layer</a> ·
|
||||
<a href="#_4-security-gate-system">Security Gates</a> ·
|
||||
<a href="#_5-python-bridge-mechanism">Python Bridge</a> ·
|
||||
<a href="#_6-screenshot-analyze-act-loop">Interaction Loop</a> ·
|
||||
<a href="#_7-key-source-file-index">Source File Index</a>
|
||||
<a href="#1-patch-environment-overview">Patch Environment</a> ·
|
||||
<a href="#2-layered-architecture">Layered Architecture</a> ·
|
||||
<a href="#3-mcp-tool-layer">MCP Tool Layer</a> ·
|
||||
<a href="#4-security-gate-system">Security Gates</a> ·
|
||||
<a href="#5-python-bridge-mechanism">Python Bridge</a> ·
|
||||
<a href="#6-screenshot-analyze-act-loop">Interaction Loop</a> ·
|
||||
<a href="#7-key-source-file-index">Source File Index</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Let Claude Code remember who you are, what you prefer, and what's happening in your project across sessions.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-what-is-the-memory-system">Memory System</a> · <a href="#_2-four-memory-types">Four Memory Types</a> · <a href="#_3-how-to-trigger-memory-saving">Trigger Saving</a> · <a href="#_4-where-are-memories-stored">Storage Location</a> · <a href="#_5-how-to-manage-memories">Manage Memories</a> · <a href="#_6-memory-lifecycle">Lifecycle</a> · <a href="#_7-quick-reference">Quick Reference</a>
|
||||
<a href="#1-what-is-the-memory-system">Memory System</a> · <a href="#2-four-memory-types">Four Memory Types</a> · <a href="#3-how-to-trigger-memory-saving">Trigger Saving</a> · <a href="#4-where-are-memories-stored">Storage Location</a> · <a href="#5-how-to-manage-memories">Manage Memories</a> · <a href="#6-memory-lifecycle">Lifecycle</a> · <a href="#7-quick-reference">Quick Reference</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> From system prompt injection to background auto-extraction, dissecting every technical detail of the memory system.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-overall-architecture">Architecture</a> · <a href="#_2-path-resolution-system">Path Resolution</a> · <a href="#_3-system-prompt-injection">Prompt Injection</a> · <a href="#_4-automatic-memory-extraction">Auto-Extraction</a> · <a href="#_5-intelligent-memory-retrieval">Intelligent Retrieval</a> · <a href="#_6-memory-scanning-in-detail">Memory Scanning</a> · <a href="#_7-agent-memory">Agent Memory</a> · <a href="#_8-team-memory-sync">Team Sync</a> · <a href="#_9-key-constants-quick-reference">Constants</a> · <a href="#_10-data-flow-overview">Data Flow</a>
|
||||
<a href="#1-overall-architecture">Architecture</a> · <a href="#2-path-resolution-system">Path Resolution</a> · <a href="#3-system-prompt-injection">Prompt Injection</a> · <a href="#4-automatic-memory-extraction">Auto-Extraction</a> · <a href="#5-intelligent-memory-retrieval">Intelligent Retrieval</a> · <a href="#6-memory-scanning-in-detail">Memory Scanning</a> · <a href="#7-agent-memory">Agent Memory</a> · <a href="#8-team-memory-sync">Team Sync</a> · <a href="#9-key-constants-quick-reference">Constants</a> · <a href="#10-data-flow-overview">Data Flow</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Claude "dreams" -- silently reviewing recent sessions in the background to consolidate, update, and prune memories, much like the human brain organizes memories during sleep.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-what-is-autodream">AutoDream</a> · <a href="#_2-trigger-conditions">Trigger Conditions</a> · <a href="#_3-four-phase-consolidation-process">Consolidation Process</a> · <a href="#_4-security-restrictions">Security</a> · <a href="#_5-ui-presentation">UI</a> · <a href="#_6-configuration-and-toggles">Configuration</a> · <a href="#_7-relationship-with-extractmemories">Comparison</a> · <a href="#_8-source-code-navigation">Source Code</a>
|
||||
<a href="#1-what-is-autodream">AutoDream</a> · <a href="#2-trigger-conditions">Trigger Conditions</a> · <a href="#3-four-phase-consolidation-process">Consolidation Process</a> · <a href="#4-security-restrictions">Security</a> · <a href="#5-ui-presentation">UI</a> · <a href="#6-configuration-and-toggles">Configuration</a> · <a href="#7-relationship-with-extractmemories">Comparison</a> · <a href="#8-source-code-navigation">Source Code</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Skills are the extensible capability engine of Claude Code, allowing you to define custom automated workflows using Markdown files.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-what-are-skills">What Are Skills</a> · <a href="#_2-six-skill-sources">Six Sources</a> · <a href="#_3-skill-definition-format">Definition Format</a> · <a href="#_4-invocation-methods">Invocation</a> · <a href="#_5-execution-context">Execution Context</a> · <a href="#_6-conditional-activation">Conditional Activation</a> · <a href="#_7-permission-control">Permissions</a> · <a href="#_8-quick-reference">Quick Reference</a>
|
||||
<a href="#1-what-are-skills">What Are Skills</a> · <a href="#2-six-skill-sources">Six Sources</a> · <a href="#3-skill-definition-format">Definition Format</a> · <a href="#4-invocation-methods">Invocation</a> · <a href="#5-execution-context">Execution Context</a> · <a href="#6-conditional-activation">Conditional Activation</a> · <a href="#7-permission-control">Permissions</a> · <a href="#8-quick-reference">Quick Reference</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> A deep dive into how Skills are discovered, loaded, injected, executed, and managed.
|
||||
|
||||
<p align="center">
|
||||
<a href="#_1-overall-architecture">Architecture</a> · <a href="#_2-skill-discovery-and-loading">Discovery & Loading</a> · <a href="#_3-frontmatter-parsing">Frontmatter Parsing</a> · <a href="#_4-skill-injection-into-conversations">Injection</a> · <a href="#_5-skilltool-execution-engine">Execution Engine</a> · <a href="#_6-fork-sub-agent-execution">Fork Execution</a> · <a href="#_7-conditional-activation-and-dynamic-discovery">Conditional Activation</a> · <a href="#_8-hook-integration">Hook Integration</a> · <a href="#_9-permission-system">Permission System</a> · <a href="#_10-complete-lifecycle">Complete Lifecycle</a> · <a href="#_11-source-code-index">Source Index</a>
|
||||
<a href="#1-overall-architecture">Architecture</a> · <a href="#2-skill-discovery-and-loading">Discovery & Loading</a> · <a href="#3-frontmatter-parsing">Frontmatter Parsing</a> · <a href="#4-skill-injection-into-conversations">Injection</a> · <a href="#5-skilltool-execution-engine">Execution Engine</a> · <a href="#6-fork-sub-agent-execution">Fork Execution</a> · <a href="#7-conditional-activation-and-dynamic-discovery">Conditional Activation</a> · <a href="#8-hook-integration">Hook Integration</a> · <a href="#9-permission-system">Permission System</a> · <a href="#10-complete-lifecycle">Complete Lifecycle</a> · <a href="#11-source-code-index">Source Index</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
> 深入解析 Computer Use 功能的底层实现:从 MCP 工具定义到 Python Bridge,从 9 层安全关卡到灰度控制绕过。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、补丁环境总览">补丁环境</a> ·
|
||||
<a href="#二、分层架构">分层架构</a> ·
|
||||
<a href="#三、mcp-工具层">MCP 工具层</a> ·
|
||||
<a href="#四、安全关卡体系">安全关卡</a> ·
|
||||
<a href="#五、python-bridge-机制">Python Bridge</a> ·
|
||||
<a href="#六、截图-分析-操作闭环">交互闭环</a> ·
|
||||
<a href="#七、关键源文件索引">源文件索引</a>
|
||||
<a href="#一补丁环境总览">补丁环境</a> ·
|
||||
<a href="#二分层架构">分层架构</a> ·
|
||||
<a href="#三mcp-工具层">MCP 工具层</a> ·
|
||||
<a href="#四安全关卡体系">安全关卡</a> ·
|
||||
<a href="#五python-bridge-机制">Python Bridge</a> ·
|
||||
<a href="#六截图-分析-操作闭环">交互闭环</a> ·
|
||||
<a href="#七关键源文件索引">源文件索引</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 让 Claude Code 跨会话记住你是谁、你偏好什么、项目正在发生什么。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、什么是记忆系统">记忆系统</a> · <a href="#二、四种记忆类型">四种记忆类型</a> · <a href="#三、如何触发记忆保存">触发保存</a> · <a href="#四、记忆存储在哪里">存储位置</a> · <a href="#五、如何管理记忆">管理记忆</a> · <a href="#六、记忆的生命周期">生命周期</a> · <a href="#七、快速参考">快速参考</a>
|
||||
<a href="#一什么是记忆系统">记忆系统</a> · <a href="#二四种记忆类型">四种记忆类型</a> · <a href="#三如何触发记忆保存">触发保存</a> · <a href="#四记忆存储在哪里">存储位置</a> · <a href="#五如何管理记忆">管理记忆</a> · <a href="#六记忆的生命周期">生命周期</a> · <a href="#七快速参考">快速参考</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 从系统提示词注入到后台自动提取,拆解记忆系统的每一个技术细节。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、整体架构">整体架构</a> · <a href="#二、路径解析系统">路径解析</a> · <a href="#三、系统提示词注入">提示词注入</a> · <a href="#四、自动记忆提取">自动提取</a> · <a href="#五、智能记忆检索">智能检索</a> · <a href="#六、记忆扫描详解">记忆扫描</a> · <a href="#七、代理记忆-agent-memory">代理记忆</a> · <a href="#八、团队记忆同步">团队同步</a> · <a href="#九、关键常量速查">常量速查</a> · <a href="#十、数据流总览">数据流总览</a>
|
||||
<a href="#一整体架构">整体架构</a> · <a href="#二路径解析系统">路径解析</a> · <a href="#三系统提示词注入">提示词注入</a> · <a href="#四自动记忆提取">自动提取</a> · <a href="#五智能记忆检索">智能检索</a> · <a href="#六记忆扫描详解">记忆扫描</a> · <a href="#七代理记忆-agent-memory">代理记忆</a> · <a href="#八团队记忆同步">团队同步</a> · <a href="#九关键常量速查">常量速查</a> · <a href="#十数据流总览">数据流总览</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Claude 会"做梦"——在后台静默回顾近期会话,整合、更新、修剪记忆,就像人类睡眠中整理白天的记忆一样。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、什么是-autodream">AutoDream</a> · <a href="#二、触发条件">触发条件</a> · <a href="#三、四阶段整合流程">整合流程</a> · <a href="#四、安全限制">安全限制</a> · <a href="#五、ui-展示">UI 展示</a> · <a href="#六、配置与开关">配置开关</a> · <a href="#七、与-extractmemories-的关系">对比</a> · <a href="#八、源码导航">源码导航</a>
|
||||
<a href="#一什么是-autodream">AutoDream</a> · <a href="#二触发条件">触发条件</a> · <a href="#三四阶段整合流程">整合流程</a> · <a href="#四安全限制">安全限制</a> · <a href="#五ui-展示">UI 展示</a> · <a href="#六配置与开关">配置开关</a> · <a href="#七与-extractmemories-的关系">对比</a> · <a href="#八源码导航">源码导航</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> Skills 是 Claude Code 的扩展能力引擎,让你用 Markdown 文件定义专属的自动化工作流。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、什么是-skills">Skills 是什么</a> · <a href="#二、六种-skill-来源">六种来源</a> · <a href="#三、skill-定义格式">定义格式</a> · <a href="#四、调用方式">调用方式</a> · <a href="#五、执行上下文">执行上下文</a> · <a href="#六、条件激活">条件激活</a> · <a href="#七、权限控制">权限控制</a> · <a href="#八、快速参考">快速参考</a>
|
||||
<a href="#一什么是-skills">Skills 是什么</a> · <a href="#二六种-skill-来源">六种来源</a> · <a href="#三skill-定义格式">定义格式</a> · <a href="#四调用方式">调用方式</a> · <a href="#五执行上下文">执行上下文</a> · <a href="#六条件激活">条件激活</a> · <a href="#七权限控制">权限控制</a> · <a href="#八快速参考">快速参考</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
> 深度剖析 Skills 如何被发现、加载、注入、执行和管理。
|
||||
|
||||
<p align="center">
|
||||
<a href="#一、整体架构">整体架构</a> · <a href="#二、skill-发现与加载">发现与加载</a> · <a href="#三、frontmatter-解析">Frontmatter 解析</a> · <a href="#四、skill-注入到对话">注入对话</a> · <a href="#五、skilltool-执行引擎">执行引擎</a> · <a href="#六、fork-子代理执行">Fork 执行</a> · <a href="#七、条件激活与动态发现">条件激活</a> · <a href="#八、hook-集成">Hook 集成</a> · <a href="#九、权限系统">权限系统</a> · <a href="#十、完整生命周期">完整生命周期</a> · <a href="#十一、源码索引">源码索引</a>
|
||||
<a href="#一整体架构">整体架构</a> · <a href="#二skill-发现与加载">发现与加载</a> · <a href="#三frontmatter-解析">Frontmatter 解析</a> · <a href="#四skill-注入到对话">注入对话</a> · <a href="#五skilltool-执行引擎">执行引擎</a> · <a href="#六fork-子代理执行">Fork 执行</a> · <a href="#七条件激活与动态发现">条件激活</a> · <a href="#八hook-集成">Hook 集成</a> · <a href="#九权限系统">权限系统</a> · <a href="#十完整生命周期">完整生命周期</a> · <a href="#十一源码索引">源码索引</a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user