1.9.7rc28
Release candidate for 1.9.7. Stable remains 1.9.6.
REM SQLite store v2, Agent Host boundaries, devices, and reader speed (#3458, #3453)
- Derived SQLite store v2 (
store.py,store_build.py):.state/rem.dbadds a universalrecordstable with covering B-tree indexes,rowid-linkedrecords_ftsfull-text search (with CJK substring fallback and exact tag filtering), and incrementalsync_pagesupdates that re-index only modified Markdown files. - Single-Host local and remote query doors:
GET /rem/queryserves loopback browser queries andWIKI_READserves Ed25519-authenticated admin queries over Connect Relay (records,record,search,people) without hitting whole-HTML frame limits. - Boundary and privacy hardening:
/rem/*runs before genericOPTIONSpreflight (405), loopback HTTP enforcesHostplus same-origin/portOrigin/Sec-Fetch-SiteandHttpOnly; SameSite=Strictcookies,session_sync_onlyrelay peers are rejected, andprivacy="public"strips[personal]/[sensitive]sections and private pages in Python before serialization. - First-class
devicescategory:devices/pages work acrossNotebook.stub_device,co rem list devices, SQLiterecords, wikilink/tag resolution, and the REM reader sidebar, list, and detail views. - Build and reader de-bottlenecking:
repair_titles()runs inside thread-safewith held(root):build caching, andreader.htmlmemoizes record lookups and language-keyed parsed structures. PR #3458

Microsoft Teams CLI and Teams tool (#3459, #1907)
co teamsandfrom connectonion import Teams: Reuses the existingco auth microsoftsign-in forco teams check,co teams chats(ls),co teams read,co teams send,co teams teams, andco teams channels, with 15-minute account-bound row numbers under~/.co/teams-listings.- Honest Graph account and consent boundaries: Inspects token
tidand consumer compact tickets locally before calling Microsoft Graph, refusing personaloutlook.comMSA tokens with clear guidance while preserving B2B guests; reports theChannelMessage.Read.Alltenant-admin boundary on channel reads. - Safe sends:
co teams sendpreviews the target chat and message body until--yes, avoids blind retry prompts on post-submit timeouts, and registersTeams.send_message/co teams sendunder tool approval (external_effect,as_owner). PR #3459
Install this preview with an exact version pin.
python -m pip install --upgrade 'connectonion==1.9.7rc28'
ConnectOnion