Agent Dev Guide
Extend Chronos by adding commands, item modules, or dashboard widgets.
System Overview
- Console:
Modules/Console.pyparses input and dispatches commands. - Commands:
Commands/*.pythin wrappers around modules. - Modules:
Modules/<Type>/main.pyitem-specific logic. - Item Manager:
Modules/ItemManager.pyhandles YAML IO and generic verbs.
Adding an Item Type
- Create
Modules/<Type>/main.pywithITEM_TYPEandhandle_command. - Add defaults in
User/Settings/<type>_defaults.yml. - Document usage in the guides.
Adding a Command
- Create
Commands/<Name>.pywithrun(args, properties). - Prefer ItemManager helpers instead of manual IO.
- Update docs and test via CLI or a
.chsscript.
Dashboard Extensions
- Widgets live in
Utilities/Dashboard/Widgets/<Name>/. - Panels live in
Utilities/Dashboard/Panels/<Name>/and register via the Cockpit manager. - Wizards live in
Utilities/Dashboard/Wizards/<Name>/and exposelaunch().
