Files
orca/src
Jinwoo Hong 0c7efcb3ff Derive skill discovery folders and home env overrides from the agent provider table (#29022)
* Derive per-agent skill discovery folders and home env overrides from the provider table

Skill discovery and the env-var home overrides now read the skill install
provider table instead of repeating each agent's folders by hand. Output is
unchanged: same sources, labels, ids, paths and scan order. A drift test fails
when a table entry lacks discovery coverage or is not an Orca agent id.

* Simplify provider-table discovery: table order, no pinned slots, Muse hand-written

Provider home folders now follow the table order right after the shared
.agents root, with the one-off folders after them. Drops the pinned scan
slots and the discovery-only field; the provider id list is checked against
Orca agent ids at compile time.

* Derive provider ids from the table; scan the Codex plugin cache before agent homes

The provider id union now comes from the table itself, checked against Orca
agent ids, so adding an agent is one edit. The plugin cache is scanned before
agent homes so a skill reachable from both keeps its plugin source kind.

* Type the provider table by inference and drop the id cast

The provider definition and id types are read straight off the frozen
table, and the id guard compares ids without a type assertion.

* Label skill sources with the agent display name

Claude and Gemini skill sources now read "Claude Code home" and "Gemini CLI
home", matching the install picker; the separate short-name field is gone.
2026-10-15 14:04:36 -04:00
..