import { isUltrareviewEnabled } from './review/ultrareviewEnabled.js' import type { Command } from '../commands.js' // Legal wants the explicit surface name plus a docs link visible before the // user triggers, so the description carries "Claude Code on the web" + URL. const CCR_TERMS_URL = 'https://costrict.ai/docs/en/claude-code-on-the-web' // /review is registered as a bundled skill via registerReviewSkills() in // src/costrict/skills/reviewSkills.ts, which provides the full SKILL.md // content and reference files. This file only provides /ultrareview. // /ultrareview is the ONLY entry point to the remote bughunter path — // /review stays purely local. local-jsx type renders the overage permission // dialog when free reviews are exhausted. const ultrareview: Command = { type: 'local-jsx', name: 'ultrareview', description: `~10–20 min · Finds and verifies bugs in your branch. Runs in CoStrict on the web. See ${CCR_TERMS_URL}`, isEnabled: () => isUltrareviewEnabled(), load: () => import('./review/ultrareviewCommand.js'), } export { ultrareview }