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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user