Skip to content

feat: add iFlow CLI support#1875

Open
fuyongde wants to merge 1 commit intogithub:mainfrom
fuyongde:feat/add-iflow-cli-support
Open

feat: add iFlow CLI support#1875
fuyongde wants to merge 1 commit intogithub:mainfrom
fuyongde:feat/add-iflow-cli-support

Conversation

@fuyongde
Copy link
Contributor

@fuyongde fuyongde commented Mar 17, 2026

Add iflow as a supported AI agent across all relevant configuration files, release scripts, and agent context scripts. Includes consistency tests following the same pattern as kimi/tabnine additions.

Description

Testing

  • Tested locally with uv run specify --help
  • Ran existing tests with uv sync && uv run pytest
  • Tested with a sample project (if applicable)

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds iFlow CLI as a supported AI agent in Specify CLI, keeping runtime configuration, command registration, packaging/release scripts, and agent-context update scripts aligned (with new consistency tests).

Changes:

  • Register new iflow agent in runtime agent config and command registrar.
  • Extend release packaging + GitHub release scripts to build/publish iFlow template zips.
  • Update agent context update scripts and add test coverage to ensure cross-surface consistency.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/specify_cli/__init__.py Adds iflow to AGENT_CONFIG, which also drives --ai help text.
src/specify_cli/agents.py Adds iflow to CommandRegistrar.AGENT_CONFIGS to emit Markdown commands under .iflow/commands.
tests/test_agent_config_consistency.py Adds consistency tests asserting iflow is present across config, registrar, scripts, and help text.
scripts/bash/update-agent-context.sh Adds iflow support and IFLOW_FILE handling for context updates.
scripts/powershell/update-agent-context.ps1 Adds iflow to ValidateSet, file paths, and update flows for context updates.
.github/workflows/scripts/create-release-packages.sh Builds iFlow release variants under .iflow/commands and includes iflow in ALL_AGENTS.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent: adds iFlow build variant and includes iflow in $AllAgents.
.github/workflows/scripts/create-github-release.sh Uploads iFlow template zip artifacts to GitHub releases.
AGENTS.md Documents iFlow CLI in the supported agents table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. Note agent must reflect CLI binary name.

@fuyongde fuyongde force-pushed the feat/add-iflow-cli-support branch 4 times, most recently from 86652f0 to 90a8a6d Compare March 18, 2026 08:04
Add `iflow` as a supported AI agent (the key users pass to --ai) across
all relevant configuration files, release scripts, agent context
scripts, and README. Includes consistency tests following the same
pattern as kimi/tabnine additions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds iFlow CLI as a supported agent in the Specify CLI ecosystem, keeping runtime config, command registration, packaging/release artifacts, and agent-context update scripts aligned, and extending the existing consistency test suite to cover the new agent.

Changes:

  • Register new iflow agent in AGENT_CONFIG and CommandRegistrar.AGENT_CONFIGS.
  • Extend release packaging scripts (bash + PowerShell) and GitHub release asset list to produce/publish iflow template zips.
  • Update agent context update scripts and add consistency tests verifying iflow appears across all key surfaces.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/test_agent_config_consistency.py Adds end-to-end consistency assertions for iflow across config, scripts, and help text.
src/specify_cli/agents.py Adds iflow to command registration config (dir/format/args/extension).
src/specify_cli/init.py Adds iflow to the runtime AGENT_CONFIG used by CLI features/help/check.
scripts/powershell/update-agent-context.ps1 Adds iflow support (ValidateSet, file path, switch cases, usage/error text).
scripts/bash/update-agent-context.sh Adds iflow support (usage docs, IFLOW.md target, switch cases).
README.md Documents iFlow support and updates CLI option descriptions to include iflow.
AGENTS.md Adds iFlow to the “Current Supported Agents” table.
.github/workflows/scripts/create-release-packages.sh Builds iflow template variant and includes it in agent lists.
.github/workflows/scripts/create-release-packages.ps1 Builds iflow template variant and includes it in agent lists.
.github/workflows/scripts/create-github-release.sh Publishes iflow template zip assets in GitHub releases.
Comments suppressed due to low confidence (1)

README.md:212

  • The --ai option description is now out of sync with the actual supported agent keys derived from AGENT_CONFIG (it omits at least tabnine and trae, which are listed as supported elsewhere and appear in CLI help). Please update the list or point readers to specify --help/the Supported AI Agents table so documentation doesn’t drift as agents are added.
| `--ai`                 | Option   | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, `vibe`, `kimi`, `iflow`, `pi`, or `generic` (requires `--ai-commands-dir`) |

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `init` | Initialize a new Specify project from the latest template |
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`, `vibe`, `kimi`, `pi`) |
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`, `vibe`, `kimi`, `iflow`, `pi`) |
@mnriem mnriem self-requested a review March 18, 2026 13:18
Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. You are almost there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants