Syd→Bry reverse bridge + spreadsheet document support

↗ view on GitHub · emileriksenkeev · 2026-07-16 · 98f01cf2

Lands the pending work built in the finance-os sessions on 2026-07-16:

- lib/bryBridge.ts: ask_bry (POST ${BRY_AGENT_URL}/api/bry/ask, shared
  AGENT_ASK_KEY, depth guard - Bry strips its own ask_syd at depth>=1)
  plus list/search/read_bry_documents direct reads of Finance OS's
  document register. Wired into global and project chat only;
  routes/agentAsk.ts deliberately excludes BRY_TOOLS so a Bry-initiated
  hop can never ping-pong back. All fail soft when env is unset.
- xlsx/xls/csv uploads: ALLOWED_TYPES + content types + LibreOffice PDF
  renditions; lib/xlsxText.ts extracts sheet text for chunking/embedding
  (legacy .xls goes through the PDF rendition like .doc).
- .env.example documents the new droplet vars: BRY_AGENT_URL,
  FINANCE_SUPABASE_URL, FINANCE_SUPABASE_KEY.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 910e6346
Stats 16 files changed , +1010 , -47
Part of Agent-to-agent bridge to Bry (Finance OS)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-98f01cf2.md from inside the repo you want the change in.

⬇ Download capture-commit-98f01cf2.md