Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: allow Codex node in Sub-Agent Flow#523

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/allow-codex-node-in-subagentflowbreaking-brake/cc-wf-studio:fix/allow-codex-node-in-subagentflowCopy head branch name to clipboard
Jan 31, 2026
Merged

fix: allow Codex node in Sub-Agent Flow#523
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/allow-codex-node-in-subagentflowbreaking-brake/cc-wf-studio:fix/allow-codex-node-in-subagentflowCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

Problem

Sub-Agent Flow AI editing rejected Codex Agent node creation with the error "Sub-Agent Flows prohibit 'codex' node type".

Current Behavior

  1. Open Sub-Agent Flow dialog and request AI to create a Codex Agent flow
  2. ❌ AI returns error: "Cannot add Codex Agent node to Sub-Agent Flow. Allowed node types are: start, end, prompt, ifElse, switch, skill, mcp"

Expected Behavior

  1. Open Sub-Agent Flow dialog and request AI to create a Codex Agent flow
  2. ✅ AI successfully creates a workflow containing Codex nodes

Solution

Added codex to the supported node types for Sub-Agent Flow in all relevant locations.

Changes

File: resources/workflow-schema.json

  • Added codex to subAgentFlowConstraints.supportedNodeTypes

File: resources/workflow-schema.toon

  • Updated supportedNodeTypes[7] to supportedNodeTypes[8] with codex included

File: src/extension/services/refinement-service.ts

  • Added codex to hardcoded "Allowed Node Types" in SubAgentFlow refinement prompt

Impact

  • Codex Agent nodes can now be used in Sub-Agent Flows
  • AI editing for Sub-Agent Flows will correctly recognize Codex as a valid node type

Testing

  • Manual testing completed
  • Build verification passed

🤖 Generated with Claude Code

- Added codex to supportedNodeTypes in subAgentFlowConstraints (schema)
- Updated TOON schema with codex node support
- Fixed hardcoded allowed node types in refinement prompt

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit 4622f88 into main Jan 31, 2026
3 checks passed
@breaking-brake breaking-brake deleted the fix/allow-codex-node-in-subagentflow branch January 31, 2026 12:29
@breaking-brake breaking-brake mentioned this pull request Jan 31, 2026
braking-brake-semantic-release Bot pushed a commit that referenced this pull request Jan 31, 2026
## [3.19.1](v3.19.0...v3.19.1) (2026-01-31)

### Bug Fixes

* allow Codex node in Sub-Agent Flow ([#523](#523)) ([4622f88](4622f88))
@braking-brake-semantic-release
Copy link
Copy Markdown

🎉 This PR is included in version 3.19.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.