MCPcopy Index your code
hub / github.com/simstudioai/sim / serializedResultSize

Function serializedResultSize

apps/sim/lib/copilot/tools/handlers/vfs.ts:43–49  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

41}
42
43function serializedResultSize(value: unknown): number {
44 try {
45 return JSON.stringify(value).length
46 } catch {
47 return String(value).length
48 }
49}
50
51function isOversizedReadPlaceholder(content: string): boolean {
52 return (

Callers 2

executeVfsGrepFunction · 0.85
executeVfsReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected