MCPcopy
hub / github.com/simstudioai/sim / shouldSkipEntry

Function shouldSkipEntry

apps/sim/stores/terminal/console/store.ts:59–73  ·  view source on GitHub ↗
(output: any)

Source from the content-addressed store, hash-verified

57}
58
59const shouldSkipEntry = (output: any): boolean => {
60 if (typeof output !== 'object' || !output) {
61 return false
62 }
63
64 if ('stream' in output && 'executionData' in output) {
65 return true
66 }
67
68 if ('stream' in output && 'execution' in output) {
69 return true
70 }
71
72 return false
73}
74
75const getBlockExecutionKey = (blockId: string, executionId?: string): string =>
76 `${executionId ?? 'no-execution'}:${blockId}`

Callers 1

store.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected