claude-code-best/tests/mocks/fixtures/sample-messages.json
y574444354 d59d1f590a chore: 合并社区 upstream/main 代码至 v2.4.2
合并 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 版本为主,选择性合并上游功能改进
2026-05-12 11:55:04 +08:00

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"
}
]
}
}