MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / sX4

Function sX4

package/cli.js:1532–1532  ·  view source on GitHub ↗
(q,K)

Source from the content-addressed store, hash-verified

1530
1531${Y}
1532
1533Label:`,signal:K,options:{querySource:"tool_use_summary_generation",enablePromptCaching:!0,agents:[],isNonInteractiveSession:_,hasAppendSystemPrompt:!1,mcpTools:[]}})).message.content.filter((w)=>w.type==="text").map((w)=>w.type==="text"?w.text:"").join("").trim()||null}catch(Y){let $=x1(Y);return $.cause={errorId:aX4},H6($),null}}function sX4(q,K){try{let _=g6(q);if(_.length<=K)return _;return _.slice(0,K-3)+"..."}catch{return"[unable to serialize]"}}var $a_=`Write a short summary label describing what these tool calls accomplished. It appears as a single-line row in a mobile app and truncates around 30 characters, so think git-commit-subject, not sentence.
1534
1535Keep the verb in past tense and the most distinctive noun. Drop articles, connectors, and long location context first.

Callers 1

tX4Function · 0.85

Calls 2

g6Function · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected