Component Activator - Runtime Component Management System
Loads components from JSON registries and makes them callable at runtime. Bridges the gap between component files (documentation) and runtime execution.
Part of Component Activation Infrastructure (Phase 2) Created: 2025-11-29
File: component_activator.py
Classes
AgentConfig
Configuration for an agent
SkillConfig
Configuration for a skill
CommandConfig
Configuration for a command
ScriptConfig
Configuration for a script
HookConfig
Configuration for a git hook
PromptConfig
Configuration for a prompt template
ComponentActivator
Component Activation System
Functions
activate_framework(framework_root)
Quick activation of CODITECT framework
load_registry(registry_path)
Load components from a JSON registry file
load_all_registries()
Load all standard CODITECT registries
get_agent(name)
Get agent configuration by name
get_skill(name)
Get skill configuration by name
get_command(name)
Get command configuration by name
get_script(name)
Get script configuration by name
get_hook(name)
Get hook configuration by name
get_prompt(name)
Get prompt configuration by name
get_component(component_type, name)
Get component of any type by name
list_agents(category, tag)
List all agents, optionally filtered by category or tag
list_skills(tag)
List all skills, optionally filtered by tag
list_commands(tag)
List all commands, optionally filtered by tag
list_scripts(category)
List all scripts, optionally filtered by category
list_hooks(category)
List all hooks, optionally filtered by category (hook phase)
Usage
python component_activator.py