Skip to content

feat: support provider target maps#86

Merged
N4M3Z merged 1 commit into
mainfrom
codex-targets
Jul 13, 2026
Merged

feat: support provider target maps#86
N4M3Z merged 1 commit into
mainfrom
codex-targets

Conversation

@N4M3Z

@N4M3Z N4M3Z commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Problem

A provider's target is a single directory, but some harnesses split content by kind — codex reads agents from .codex while its skills belong in .agents. One root per provider cannot express that, so per-kind placement required a second fake provider entry.

Approach

target also accepts a map keyed by content kind with a required default and unknown keys rejected (ProviderTarget::Single | Map). Deploy, drift scoping, release staging, the dashboard, and the TUI resolve through default_target() / target_for_kind().

Test plan

  • cargo test --all-features (641 tests, includes new tests/deploy.rs map coverage and provider parsing tests)
  • cargo clippy --all-features --all-targets -- -D warnings
  • cargo fmt --check

🤖 Generated with Claude Code

@N4M3Z
N4M3Z merged commit b9b2d58 into main Jul 13, 2026
4 checks passed
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.

1 participant