Skip to content

v0.5.109: obsidian and evernote integrations, slack fixes, remove memory instrumentation#3493

Merged
waleedlatif1 merged 6 commits intomainfrom
staging
Mar 9, 2026
Merged

v0.5.109: obsidian and evernote integrations, slack fixes, remove memory instrumentation#3493
waleedlatif1 merged 6 commits intomainfrom
staging

Conversation

@waleedlatif1
Copy link
Collaborator

@waleedlatif1 waleedlatif1 commented Mar 9, 2026

waleedlatif1 and others added 5 commits March 6, 2026 23:13
* feat(obsidian): add Obsidian integration with 15 tools

* fix(obsidian): encode path segments individually to preserve slashes

* improvement(obsidian): add type re-exports and improve output descriptions

* fix(obsidian): remove unreachable 404 handling from transformResponse
* feat(evernote): add Evernote integration with 11 tools

* fix(evernote): fix signed integer mismatch in Thrift version check

* fix(evernote): fix exception field mapping and add sandbox support

* fix(evernote): address PR review feedback

* fix(evernote): clamp maxNotes to Evernote's 250 limit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat(hosted keys): Implement serper hosted key

* Handle required fields correctly for hosted keys

* Add rate limiting (3 tries, exponential backoff)

* Add custom pricing, switch to exa as first hosted key

* Add telemetry

* Consolidate byok type definitions

* Add warning comment if default calculation is used

* Record usage to user stats table

* Fix unit tests, use cost property

* Include more metadata in cost output

* Fix disabled tests

* Fix spacing

* Fix lint

* Move knowledge cost restructuring away from generic block handler

* Migrate knowledge unit tests

* Lint

* Fix broken tests

* Add user based hosted key throttling

* Refactor hosted key handling. Add optimistic handling of throttling for custom throttle rules.

* Remove research as hosted key. Recommend BYOK if throtttling occurs

* Make adding api keys adjustable via env vars

* Remove vestigial fields from research

* Make billing actor id required for throttling

* Switch to round robin for api key distribution

* Add helper method for adding hosted key cost

* Strip leading double underscores to avoid breaking change

* Lint fix

* Remove falsy check in favor for explicit null check

* Add more detailed metrics for different throttling types

* Fix _costDollars field

* Handle hosted agent tool calls

* Fail loudly if cost field isn't found

* Remove any type

* Fix type error

* Fix lint

* Fix usage log double logging data

* Fix test

---------

Co-authored-by: Theodore Li <teddy@zenobiapay.com>
)

* fix(webhooks): return empty 200 for Slack to close modals cleanly

* fix(webhooks): add clarifying comment on Slack error path trade-off
@cursor
Copy link

cursor bot commented Mar 9, 2026

PR Summary

Medium Risk
Medium risk: introduces new Evernote API surface (custom Thrift client + routes) and new hosted-key rate limiting/telemetry plus billing metadata changes, which could affect tool execution and usage logging. Also removes SSE connection tracking, reducing observability if streaming issues arise.

Overview
Adds new Evernote and Obsidian tool integrations end-to-end: docs pages, icons, tool registry entries, and new BlockConfigs; Evernote additionally ships new internal API routes plus a custom Thrift-over-HTTP client to support note/notebook/tag operations.

Introduces hosted-key support for Exa: adds exa to BYOK providers/UI, adds hideWhenHosted subblock gating (used to hide API key fields when hosted keys exist), and implements a new HostedKeyRateLimiter (round-robin key selection via {PREFIX}_COUNT, per-workspace request limiting, optional custom dimensions) with new telemetry events.

Refactors monitoring/billing behavior: removes SSE connection counting from multiple streaming endpoints and simplifies memory-telemetry, drops generic tool-output cost reshaping (and its tests), and extends usage logging/cost aggregation to optionally track toolCost and fixed-charge metadata.

Written by Cursor Bugbot for commit f88926a. Configure here.

@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Mar 9, 2026 5:32pm

Request Review

@waleedlatif1 waleedlatif1 changed the title v0.5.109: exa hosted key, obsidian and evernote integrations, slack fixes, remove memory instrumentation v0.5.109: obsidian and evernote integrations, slack fixes, remove memory instrumentation Mar 9, 2026
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

This reverts commit 158d523.

Co-authored-by: Theodore Li <teddy@zenobiapay.com>
@waleedlatif1 waleedlatif1 merged commit ecd3536 into main Mar 9, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants