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

Function generatePluginHooks

scripts/codex-compat.js:412–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410 'Use Citadel to continue the active campaign and report current state.',
411 ],
412 },
413 };
414
415 const content = JSON.stringify(manifest, null, 2) + '\n';
416
417 writeFile(path.join(PROJECT_ROOT, '.codex-plugin', 'plugin.json'), content);
418
419 const projectedManifest = {
420 ...manifest,
421 skills: './skills/',
422 interface: {
423 ...manifest.interface,
424 composerIcon: './assets/icon.svg',
425 logo: './assets/icon.svg',
426 screenshots: ['./assets/terminal-demo.svg'],
427 },
428 };

Callers 1

mainFunction · 0.85

Calls 3

readJSONFunction · 0.85
writeFileFunction · 0.70

Tested by

no test coverage detected