Skip to content

v0.6.5: Trust System Redesign

Choose a tag to compare

@wu-changxing wu-changxing released this 05 Feb 23:29

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 TrustAgent class 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 /info endpoint
  • ONBOARD_REQUIRED WebSocket event with payment address

DiffWriter

  • Mode-based permissions: normal, auto, plan
  • IO-channel based approval for web usage

CLI

  • New co trust show command
  • New co trust list command

Installation

pip install --upgrade connectonion

Breaking Changes

  • Removed result_ttl parameter from HTTP handlers
  • DiffWriter API changed from auto_approve to mode

Full Changelog: v0.6.4...v0.6.5