From 1aaf21256174f9d6392b036d2bb047eeae4c3ca6 Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 7 Feb 2026 16:25:09 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: feature/codex-integration - Timestamp: 2026-02-07T16:25:09Z - Changes: 1 file(s) šŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/codex/src/cli.ts | 318 +++++++++++++++++++++++++++++++ 1 file changed, 318 insertions(+) create mode 100644 v3/@claude-flow/codex/src/cli.ts diff --git a/v3/@claude-flow/codex/src/cli.ts b/v3/@claude-flow/codex/src/cli.ts new file mode 100644 index 0000000000..2b14eda1d0 --- /dev/null +++ b/v3/@claude-flow/codex/src/cli.ts @@ -0,0 +1,318 @@ +#!/usr/bin/env node +/** + * @claude-flow/codex - CLI + * + * Command-line interface for Codex integration + * Part of the coflow rebranding initiative + */ + +import { Command } from 'commander'; +import chalk from 'chalk'; +import { CodexInitializer } from './initializer.js'; +import { validateAgentsMd, validateSkillMd, validateConfigToml } from './validators/index.js'; +import { migrateFromClaudeCode, analyzeClaudeMd, generateMigrationReport } from './migrations/index.js'; +import { listTemplates, BUILT_IN_SKILLS } from './templates/index.js'; +import { generateSkillMd } from './generators/skill-md.js'; +import { VERSION, PACKAGE_INFO } from './index.js'; +import fs from 'fs-extra'; +import path from 'path'; + +const program = new Command(); + +program + .name('claude-flow-codex') + .description('OpenAI Codex integration for Claude Flow - Part of the coflow ecosystem') + .version(VERSION); + +// Init command +program + .command('init') + .description('Initialize a new Codex project with AGENTS.md and skills') + .option('-t, --template