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

Function UC

package/cli.js:1764–1765  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

1762`),z=[];for(let $ of _){let A=O1($);if(A<=K)z.push($.trimEnd());else{let O=0;while(O<A){let w=of($,O,O+K);z.push(w.trimEnd()),O+=K}}}let Y=z.length-KN6;if(Y===1)return{aboveTheFold:z.slice(0,KN6+1).join(`
1763`).trimEnd(),remainingLines:0};return{aboveTheFold:z.slice(0,KN6).join(`
1764`).trimEnd(),remainingLines:Math.max(0,Y)}}function rE4(q,K,_=!1){let z=q.trimEnd();if(!z)return"";let Y=Math.max(K-v$z,10),$=KN6*Y*4,A=z.length>$,O=A?z.slice(0,$):z,{aboveTheFold:w,remainingLines:j}=k$z(O,Y),H=A?Math.max(j,Math.ceil(z.length/Y)-KN6):j;return[w,H>0?$8.dim(`… +${H} lines${_?"":` ${iE4()}`}`):""].filter(Boolean).join(`
1765`)}function UC(q){let K=0;for(let _=0;_<=KN6;_++){if(K=q.indexOf(`
1766`,K),K===-1)return!1;K++}return K<q.length}var KN6=3,v$z=10;var kw6=y(()=>{x3();rv();Q5();$A6()});var no6="ListMcpResourcesTool",oE4=`
1767Lists available resources from configured MCP servers.
1768Each resource object includes a 'server' field indicating which server it's from.

Callers 1

isResultTruncatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected