MCPcopy Create free account
hub / github.com/SethGammon/Citadel / quoteNodeCommand

Function quoteNodeCommand

core/hooks/install.js:23–28  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

21 return fallback;
22 }
23}
24
25function isPlainObject(value) {
26 return Boolean(value) && typeof value === 'object' && !Array.isArray(value);
27}
28
29function validateHookConfig(data) {
30 if (!isPlainObject(data)) throw new Error('Hook config must be a JSON object');
31 if (!Object.prototype.hasOwnProperty.call(data, 'hooks')) return true;

Callers 2

resolveClaudeHooksFunction · 0.85
translateCodexHooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected