feat: implemented provider wire codecs and optimized telemetry and parsing

- Added internal protobuf wire codecs, message builders, and protocol definitions for Cursor and Devin providers.
- Deferred loading of OTel SDK and OTLP exporters and added bounded caches to optimize startup and lookup performance.
- Added SQLite-backed parse caching for legacy extension source analysis and streaming file chunk parsing for changelogs.
- Added support for rendering context usage overflow above 100% in the status line component.
This commit is contained in:
can1357
2026-08-20 07:18:19 +02:00
parent d820cf75bb
commit df0bb6e31a
90 changed files with 198107 additions and 92186 deletions
+5
View File
@@ -678,6 +678,11 @@ export function getGithubCacheDbPath(): string {
return dirs.rootSubdir(path.join("cache", "github-cache.db"), "cache");
}
/** Get the legacy Pi extension parse cache database path. */
export function getLegacyPiExtensionCacheDbPath(): string {
return dirs.rootSubdir(path.join("cache", "legacy-pi-extension-cache.db"), "cache");
}
/**
* Get the encrypted auth-broker snapshot cache path (~/.omp/cache/auth-broker-snapshot.enc).
* Honors the `OMP_AUTH_BROKER_SNAPSHOT_CACHE` env var when set so tests and