feat(pipeline): support executor subagents for non-CLI targets#804
Merged
feat(pipeline): support executor subagents for non-CLI targets#804
Conversation
Add subagent_mode_allowed field to target definitions so non-CLI providers (openai, claude, copilot, etc.) can be executed via executor subagents in subagent mode. CLI providers always use CLI invocation. Non-CLI providers default to agent mode unless subagent_mode_allowed: false is set in targets.yaml. - Add subagent_mode_allowed to BASE_TARGET_SCHEMA and ResolvedTarget - Extract ResolvedTargetBase interface to reduce duplication in union type - Update pipeline input to write invoke.json kind based on provider + flag - Include subagent_mode_allowed in manifest.json target info Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying agentv with
|
| Latest commit: |
2cb501a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://376468be.agentv.pages.dev |
| Branch Preview URL: | https://feat-797-executor-subagent-m.agentv.pages.dev |
Without this, the validator warns about unknown property and the field gets ignored during target resolution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extract COMMON_TARGET_SETTINGS array from targets.ts and import it in targets-validator.ts. Adding a new cross-provider field to the schema now automatically makes it valid in the validator — no separate update. Also add security comment on resolveOptionalString explaining why literal values are rejected by default (prevents plaintext secrets in targets.yaml). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 28, 2026
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
subagent_mode_allowedfield to target definitions intargets.yamlsubagent_mode_allowed: falseto force CLI invocationResolvedTargetBaseinterface to reduce duplication in theResolvedTargetunion typepipeline inputto writeinvoke.jsonkind andmanifest.jsonbased on provider + flagCloses #797
Test plan
agentv pipeline inputwith CLI and non-CLI targets, verify invoke.json output🤖 Generated with Claude Code