Changelog
All notable changes to cloudmesh-ai-common will be documented in this file.
[7.0.6.dev1] - 2026-05-11
Added
- Enhanced DotDict: Significantly expanded
DotDictcapabilities:merge(): Support for deep merging of nested dictionaries.smart_get(): Flexible lookup supporting both direct dot-paths and recursive search.to_dict()and.dictproperty: Recursive conversion to standard Python dictionaries.to_json(): Direct serialization to JSON strings.- Dot-notation
get(): Overrode standardget()to support nested path lookups.
Fixed
- DotDict: Fixed YAML representation to avoid
!!python/object/applytags. - Shell: Improved SSH noise filtering in
Shell.run.
[7.0.5.dev1] - 2026-04-26
Added
- Advanced Console UI: Expanded the
Consoleclass with high-impact visual components:banner(): For creating highlighted information panels.table(): For standardized, professional data presentation.bold(): For semantic text emphasis.
[7.0.4.dev1] - 2026-04-26
Added
- Unified Remote Execution: Introduced
cloudmesh.ai.common.remote.RemoteExecutorfor standardized SSH and SFTP operations.- Support for command execution with exit status capture.
- Simplified file upload and download.
- Direct remote file writing (
write_remote_file).
- Console Enhancements: Added semantic helpers to the
Consoleclass:ok(),error(),warning(), andynchoice(). - Remote Testing: Added
tests/test_remote.pywith comprehensive mocks for verifying remote operations.
Changed
- I/O Utilities: Removed redundant
SSHClientfromcloudmesh.ai.common.ioin favor ofRemoteExecutor.
[7.0.3.dev1] - 2026-04-25
Added
- Enhanced DotDict: Implemented
DotDictincloudmesh.ai.common.utilsupporting recursive nested attribute access (e.g.,d.a.b). - Debug Utilities: Added
HEADINGincloudmesh.ai.common.debugfor formatted output with automatic caller context. - I/O Utilities: Added
readfiletocloudmesh.ai.common.iofor standardized file reading. - Common Tests: Added
tests/test_common_utils.pyto verify new shared utilities.
Changed
- Config System: Refactored
cloudmesh.ai.common.Configto useDotDictfor internal data management, simplifying dot-path access and updates.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[7.0.2.dev1] - 2026-04-19
Added
- Telemetry Module: Introduced a standardized telemetry system for recording performance metrics and events.
- Support for multiple backends including JSONL and SQLite.
- Automatic capture of system context (CPU, GPU, RAM).
- Async-ready design for AI service integration.
- System Diagnostics: Added
cloudmesh.ai.common.sysfor GPU detection and system state monitoring. - Performance Utilities:
- Implemented thread-safe
Stopwatchfor precise timing of AI workloads. - Added
timeutilities for standardized time handling.
- Implemented thread-safe
- I/O & Logging:
- Specialized
ioutilities for AI data handling. - AI-focused
loggingmodule for better traceability of model interactions.
- Specialized
- Data Aggregation: Added
aggregationmodule to handle the combining of AI responses. - User Context: Implemented
usermodule to manage user-specific AI context and preferences. - Comprehensive Documentation: Added detailed user manuals for telemetry, system, time, and I/O modules.
- Test Suite: Added integration and unit tests for all core common utilities.
Changed
- Initial project structure established to provide a shared foundation for all
cloudmesh-aiextensions. - I/O Utilities: Updated
consoleto use semantic methods (console.error,console.msg) instead of color-codedconsole.printfor improved consistency.
Fixed
- StopWatch: Fixed
TypeErrorinprogressfunction by ensuring the progress value is handled as a string and corrected keyword arguments forprogressandtime.