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

Function redactManifest

apps/sim/lib/logs/execution/pii-large-values.ts:186–196  ·  view source on GitHub ↗
(
  manifest: LargeArrayManifest,
  options: RedactLargeValueRefsOptions
)

Source from the content-addressed store, hash-verified

184}
185
186async function redactManifest(
187 manifest: LargeArrayManifest,
188 options: RedactLargeValueRefsOptions
189): Promise<unknown> {
190 try {
191 const materialized = await materializeLargeArrayManifest(manifest, { ...options.store })
192 return await maskAndReStore(materialized, options)
193 } catch (error) {
194 return onRefFailure(error, options, 'Failed to redact large array manifest')
195 }
196}

Callers 1

replaceRefFunction · 0.85

Calls 3

maskAndReStoreFunction · 0.85
onRefFailureFunction · 0.85

Tested by

no test coverage detected