Excerpt 1
子书:https://t.me/+WwC4dCWvXRdhOTNh | ID:EPUB_20260428160408 01 一个价值数十亿美元的设计蓝图 A Billion-Dollar Blueprint 2026年3月31日,Anthropic不小心把Claude Code的全部源码打包进了npm发布包。19...
View in text
Excerpt 2
( 'mcp_instructions', ()=> isMcpInstructionsDeltaEnabled() ? null : getMcpInstructionsSection(mcpClients), 'MCP servers connect/disconnect between turns', )...
View in text
Excerpt 3
路径。 关键词搜索模式 :不以 select: 开头时,进入关键词搜索。这时ToolSearch需要理解工具名称的语义。源码中有两个关键的名称解析逻辑: 对于普通工具名(CamelCase格式),按驼峰分词: // Regular tool - split by CamelCase and underscores...
View in text
Excerpt 4
。 一个「允许/拒绝」的弹窗,如果不告诉用户这个操作做什么、为什么要做、可能出什么问题,用户要么盲目允许,要么盲目拒绝。风险评估器生成的结构化解释,让权限确认从「打扰」变成了「informed decision」。 [https://t.me/+WwC4dCWvXRdhOTNh] © 未经授权禁止转载 获取更多电...
View in text
Excerpt 5
f Tool Results 前面讨论的Full Compact和Partial Compact都是对整个对话的大手术。但Claude Code还有一种更精细的「微手术」:Micro Compact,定义在 microCompact.ts 中。 它解决什么问题 在实际使用中,工具返回的结果常常非常大。一次grep...
View in text
Excerpt 6
mit=30) 只读周围的代码。对于几千行的大文件,这省掉了大量上下文。 但Read工具真正让人意外的是它的多模态能力。看prompt模板: - This tool allows Claude Code to read images (eg PNG, JPG, etc). When reading an imag...
View in text
Excerpt 7
/ 'ant' 或 undefined subscriptionType?: string rateLimitTier?: string firstTokenTime?: number email?: string appVersion?: string github?: GitHubActionsMetadat...
View in text
Excerpt 8
['Length limits: keep text between tool calls to ≤25 words. Keep final responses to ≤100 words unless the task requires more detail.'] : []) 注意注释:「research s...
View in text
Loading comments...
Reply to Comment
Edit Comment