You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace loaded_profile passthrough with skill_prompt string
Move skill catalog injection from pre-enriched AgentProfile objects to a
simple string passed through the provider chain. The service layer builds
the skill catalog text via _build_skill_catalog() and passes it as
skill_prompt to providers. Each provider appends it to the system prompt
using BaseProvider._apply_skill_prompt() during command construction.
This addresses PR #145 comment 3: providers no longer need to know about
AgentProfile enrichment or skill metadata. The contract is a plain string.
Changes:
- Add skill_prompt param and _apply_skill_prompt() helper to BaseProvider
- Replace loaded_profile with skill_prompt in all 7 providers and manager
- Remove _enrich_profile_with_skills from terminal_service
- Remove AgentProfile imports from providers that no longer need them
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments