MCPcopy Create free account
hub / github.com/agent-tower/core / createClaudeCodeParser

Function createClaudeCodeParser

packages/server/src/output/claude-code-parser.ts:830–832  ·  view source on GitHub ↗
(msgStore: MsgStore)

Source from the content-addressed store, hash-verified

828 /**
829 * 处理结果消息
830 */
831 private handleResultMessage(msg: ClaudeCodeMessage): void {
832 if (msg.subtype === 'tool_result') {
833 if (msg.tool_use_id) {
834 this.updateToolResultStatus(msg.tool_use_id, msg.tool_result?.is_error)
835 this.appendToolResultContent(msg.tool_use_id, msg.tool_result?.content)

Callers 2

demoRoutesFunction · 0.85
createParserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected