MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / withMeta

Function withMeta

packages/cli/src/utils/updateCheck.ts:101–103  ·  view source on GitHub ↗
(data: T)

Source from the content-addressed store, hash-verified

99 * Use this in all --json command outputs for consistent agent-friendly metadata.
100 */
101export function withMeta<T extends object>(data: T): T & { _meta: UpdateMeta } {
102 return { ...data, _meta: getUpdateMeta() };
103}
104
105/**
106 * True when update / freshness notices should stay silent — CI, non-TTY, dev

Callers 15

runFunction · 0.85
buildDoctorReportFunction · 0.85
runFunction · 0.85
runFunction · 0.85
resolveMotionSpecFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
emitJsonReportFunction · 0.85
emitFailureReportFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls 1

getUpdateMetaFunction · 0.85

Tested by

no test coverage detected