Subtract dead agent husks and unify the gateway executor path.

Remove SpecialistAgentRunner, plan_agent_v2 re-export shims, empty runtime husks, and disconnected Admin knobs. Fold ops into build_gateway_executor, align AIA_ENABLE_PLUGIN_TOOLS with catalog, and allow ops on the default MCP specialist list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-11 01:02:29 +08:00
parent e2fc72607e
commit 628a9dffd2
32 changed files with 127 additions and 870 deletions

View file

@ -21,6 +21,15 @@ class SpecialistConfig:
default_tool_tags: frozenset[str] | None
@dataclass(frozen=True)
class SpecialistProfile:
"""Prompt/tool surface for a specialist id (gateway executor factory)."""
name: str
system_prefix: str
tool_tags: frozenset[str] | None = None
SPECIALISTS: dict[SpecialistId, SpecialistConfig] = {
"ops": SpecialistConfig(
specialist_id="ops",
@ -140,6 +149,7 @@ __all__ = [
"MANAGER_AGENT_ID",
"SpecialistConfig",
"SpecialistId",
"SpecialistProfile",
"SPECIALISTS",
"specialist_ids",
"default_system_prefix_for_specialist",