#!/usr/bin/env node /** * Install/uninstall the Ory plugin via the `codex` CLI. * * Two-step model that mirrors how every other Codex marketplace plugin works: * * 1. Assemble a Codex marketplace under the shared per-harness data dir. * The marketplace skeleton (manifest, MCP config, plugin metadata) is * copied from `marketplace/` in this package; the dynamic parts * (`hooks.json`, skills, commands, plugin version) are generated / * rendered fresh from the shared `@ory/argus` templates. * * 2. Hand that directory to `codex` via `codex plugin marketplace add` + * `codex plugin add ory-codex@ory`. Codex copies the plugin into its * own cache (`~/.codex/plugins/cache/...`), so once installed the * plugin no longer depends on the assembled marketplace dir for * runtime — but Codex needs it to stay around for `marketplace upgrade`. * * Uninstall reverses both steps: `codex plugin remove` + `codex plugin * marketplace remove`, then we delete the assembled dir. * * Usage: * npx ory-codex-setup Install * npx ory-codex-setup --uninstall Remove * npx ory-codex-setup --help Show this help */ export declare function install(args: string[]): void; export declare function printInstallPlan(): void; export declare function uninstall(_args: string[]): void;