Expand description
Migration shim for legacy TOML agent definitions
Provides compatibility layer for transitioning from legacy agent TOML format to the new extension manifest system. Emits deprecation warnings and maps legacy agent_type fields to extension manifests.
Structs§
- Deprecation
Config - Deprecation warning configuration
- Migration
Shim - Migration shim for converting legacy agent formats to extensions
- Migration
Stats - Statistics from migration-aware loading
Functions§
- convert_
legacy_ to_ extension_ toml - Convert a legacy agent TOML string to new extension format string
- is_
legacy_ agent_ file - Utility function to check if a file is in legacy agent format
- is_
legacy_ agent_ format - Utility function to check if content is in legacy agent format
- load_
registry_ with_ migration - Integration with ExtensionRegistry to load legacy agents with warnings
- reset_
deprecation_ warning_ flag - Reset the global deprecation warning flag (useful for tests)