| 442 | interface: { |
| 443 | ...manifest.interface, |
| 444 | composerIcon: './assets/icon.svg', |
| 445 | logo: './assets/icon.svg', |
| 446 | screenshots: ['./assets/terminal-demo.svg'], |
| 447 | }, |
| 448 | }; |
| 449 | delete projectedManifest.hooks; |
| 450 | delete projectedManifest.mcpServers; |
| 451 | |
| 452 | writeFile( |
| 453 | path.join(PROJECT_ROOT, '.agents', '.codex-plugin', 'plugin.json'), |
| 454 | JSON.stringify(projectedManifest, null, 2) + '\n' |
| 455 | ); |
| 456 | } |
| 457 | |
| 458 | function syncPluginAssets() { |
| 459 | console.log('Syncing Codex plugin assets to .agents/assets/...'); |
| 460 | copyFile( |
| 461 | path.join(CITADEL_ROOT, 'assets', 'icon.svg'), |