合并 claude-code-best/claude-code 社区最新代码,包含: - 配置文件更新:precheck/lint-staged/overrides 等 - 新 feature flags:EXPERIMENTAL_SEARCH_EXTRA_TOOLS、AUTOFIX_PR - 工具系统架构更新:Tool Search、ACP 协议支持 - 文档更新:CLAUDE.md 同步架构变更 - 依赖更新:SDK 版本升级、lint-staged 加入 冲突处理策略:以 costrict 版本为主,选择性合并上游功能改进
32 lines
630 B
JSON
32 lines
630 B
JSON
{
|
|
"userMessage": {
|
|
"role": "user",
|
|
"content": "Hello, CoStrict"
|
|
},
|
|
"assistantMessage": {
|
|
"role": "assistant",
|
|
"content": [{ "type": "text", "text": "Hello! How can I help?" }]
|
|
},
|
|
"toolUseMessage": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool_use",
|
|
"id": "toolu_test_001",
|
|
"name": "Read",
|
|
"input": { "file_path": "/tmp/test.txt" }
|
|
}
|
|
]
|
|
},
|
|
"toolResultMessage": {
|
|
"role": "user",
|
|
"content": [
|
|
{
|
|
"type": "tool_result",
|
|
"tool_use_id": "toolu_test_001",
|
|
"content": "file contents here"
|
|
}
|
|
]
|
|
}
|
|
}
|