feat: add Codex and Claude Code components#5090
Open
dkozlov wants to merge 1 commit into
Open
Conversation
|
👋 Commands for maintainers:
|
Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>
611d14a to
bdfe27a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds local coding-agent components for OpenAI Codex CLI and Claude Code:
openai.runCodexAgentto run Codex CLI non-interactively from the SuperPlane app container.claude.runClaudeCodeto run Claude Code non-interactively from the SuperPlane app container.agentclirunner for CLI execution, timeout handling, stdout/stderr capture, and exit-code reporting.@openai/codexand@anthropic-ai/claude-codein the dev app image.Demo
A local demo canvas was created and run for Codex:
Codex CLI Repo Reviewerhttp://10.8.0.2:8000/067def26-347b-4285-83fa-5e8af95f89e8/canvases/75c55881-0d9e-4d4e-aab2-ae721f92d8aaThe canvas triggers
openai.runCodexAgentfrom a Start node and routes success/failure to Display nodes. The test run reached the Codex CLI component; execution failed withQuota exceeded, confirming the component path and failure routing while the local OpenAI API account lacks paid quota.Testing
make format.gomake format.jsmake test PKG_TEST_PACKAGES="./pkg/integrations/openai ./pkg/integrations/claude ./pkg/integrations/agentcli"make lintmake check.build.appmake check.build.ui