🎉 Simplified Architecture: Removed history.py, Added Default Logging #11
wu-changxing
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ConnectOnion Just Got Simpler! 🚀
We've completed a major refactoring that simplifies ConnectOnion's architecture while improving the default developer experience.
What Changed
TL;DR: Removed
history.py(119 lines) and consolidated to console-based logging with automatic.co/logs/storage by default.Before ❌
After ✅
Why This Matters
1. Simpler Architecture (-129 lines net)
2. Better Defaults
.co/logs/→ always have an audit trail3. Consistent
.co/Pattern4. Human-Readable Logs
Plain text format, perfect for:
tail -f .co/logs/assistant.log- Monitor in real-timegrep "error" .co/logs/*.log- Quick debuggingMigration Guide
If You Used
HistoryClassBreaking Change:
from connectonion import Historyno longer works.Migration:
Logging Control
Implementation Details
Files Changed: 30 files
Test Results: ✅ 12 tests passing
Commit: 902ebaa
Issue: #10
Benefits Summary
✅ Simpler - One persistence mechanism instead of two
✅ Better defaults - Logging enabled automatically
✅ Consistent - Everything in
.co/directory✅ Debuggable - Plain text logs you can actually read
✅ Zero config - Works out of the box
What's Next
This refactoring sets us up for:
Thoughts? Questions? Drop a comment below! 👇
Following our core principle: "Keep simple things simple, make complicated things possible" ✨
Beta Was this translation helpful? Give feedback.
All reactions