MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSystemCharCount

Function getSystemCharCount

src/services/api/promptCacheBreakDetection.ts:198–204  ·  view source on GitHub ↗
(system: TextBlockParam[])

Source from the content-addressed store, hash-verified

196}
197
198function getSystemCharCount(system: TextBlockParam[]): number {
199 let total = 0
200 for (const block of system) {
201 total += block.text.length
202 }
203 return total
204}
205
206function buildDiffableContent(
207 system: TextBlockParam[],

Callers 1

recordPromptStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected