v0.6.5: Trust System Redesign
Highlights
- New TrustAgent class for managing client trust levels and onboarding
- Fast rules engine for YAML-based policy parsing without LLM calls
- Payment verification via oo-api for onboarding
- CLI trust commands (
co trust show,co trust list) - WebSocket onboarding flow with payment address support
What's Changed
Trust System
- New
TrustAgentclass with promote/demote/block methods - Fast rules engine parses YAML policies without LLM calls
- Payment verification via oo-api
/api/v1/onboard/verify - Invite code verification with configurable codes
- Trust policy files in
prompts/trust/{open,careful,strict}.md
Network
- Simplified HTTP/WebSocket routing
- Better CORS handling
- Trust config passed to
/infoendpoint ONBOARD_REQUIREDWebSocket event with payment address
DiffWriter
- Mode-based permissions:
normal,auto,plan - IO-channel based approval for web usage
CLI
- New
co trust showcommand - New
co trust listcommand
Installation
pip install --upgrade connectonionBreaking Changes
- Removed
result_ttlparameter from HTTP handlers - DiffWriter API changed from
auto_approvetomode
Full Changelog: v0.6.4...v0.6.5