(value)
| 6 | import { pathExists, readJson, relativePath } from "../lib/files.js"; |
| 7 | |
| 8 | function isHyphenCase(value) { |
| 9 | return /^[a-z0-9-]+$/.test(value) && !value.startsWith("-") && !value.endsWith("-") && !value.includes("--"); |
| 10 | } |
| 11 | |
| 12 | export async function evaluatePlugin(pluginRoot) { |
| 13 | const manifestPath = path.join(pluginRoot, ".codex-plugin", "plugin.json"); |