refactor: rename droid to agent throughout codebase#212
Conversation
- Rename cortex-agents/src/droid/ to cortex-agents/src/custom/ - Rename DroidConfig to CustomAgentConfig - Rename DroidLoader to CustomAgentLoader - Rename DroidRegistry to CustomAgentRegistry - Rename DroidError to CustomAgentError - Rename droids_cmd.rs to agents_cmd.rs - Rename DroidsCommand to AgentsCommand - Rename DroidsResult to AgentsResult - Rename DroidInfo to CustomAgentInfo - Update all directory paths from .cortex/droids and .factory/droids to .cortex/agents and .factory/agents - Update /droids command to /agents command - Update import.rs to use Agent terminology - Update cortex-app-server API paths This refactor replaces the reserved 'Droid' name with 'Agent' terminology throughout.
Blacksmith Account SuspendedThis Blacksmith account requires additional verification. Jobs targeting Blacksmith runners will not be picked up and will remain queued until they timeout. Please contact Blacksmith Support for assistance. |
3 similar comments
Blacksmith Account SuspendedThis Blacksmith account requires additional verification. Jobs targeting Blacksmith runners will not be picked up and will remain queued until they timeout. Please contact Blacksmith Support for assistance. |
Blacksmith Account SuspendedThis Blacksmith account requires additional verification. Jobs targeting Blacksmith runners will not be picked up and will remain queued until they timeout. Please contact Blacksmith Support for assistance. |
Blacksmith Account SuspendedThis Blacksmith account requires additional verification. Jobs targeting Blacksmith runners will not be picked up and will remain queued until they timeout. Please contact Blacksmith Support for assistance. |
Summary
This PR renames all references from "droid" to "agent" throughout the codebase, as "Droid" is a reserved name.
Changes
Module Renames
cortex-agents/src/droid/→cortex-agents/src/custom/cortex-commands/src/builtin/droids_cmd.rs→cortex-commands/src/builtin/agents_cmd.rsType Renames
DroidConfig→CustomAgentConfigDroidLoader→CustomAgentLoaderDroidRegistry→CustomAgentRegistryDroidError→CustomAgentErrorDroidsCommand→AgentsCommandDroidsResult→AgentsResultDroidInfo→CustomAgentInfoPath Updates
.cortex/droids/→.cortex/agents/.factory/droids/→.factory/agents/~/.config/cortex/droids/→~/.config/cortex/agents/Command Updates
/droidsbuilt-in command →/agentsbuilt-in commandTesting
Verified with
cargo check --package cortex-agents --package cortex-commands --package cortex-app-server