Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(usage): Cursor account usage comes from provider-cursor #17578

Mergedjuliusmarmingemerged 1 commit intot3/usage-opencode-reader fromrefs/pull/17578/headmerged by juliusmarminge View on GitHub

Showing 25 changed files with 46 additions and 20 deletions (loading 22).

x
0 of 25 viewed, 25 left
3 additions and 0 deletionsapps/server/src/provider/ProviderOrchestrationAdapterInfrastructure.tsModified
View file
@@ -4,6 +4,7 @@
import * as CodexAdapterV2 from "../orchestration-v2/Adapters/CodexAdapterV2.ts";
import * as CursorAgentSdk from "@t3tools/provider-cursor/server/CursorAgentSdk";
import * as CursorSdk from "@t3tools/provider-cursor/server/CursorSdk";
+import * as CursorKeychain from "@t3tools/provider-cursor/server/CursorKeychain";
import * as IdAllocator from "@t3tools/provider-core/server/IdAllocator";
import * as ProviderContinuationRequests from "@t3tools/provider-core/server/ProviderContinuationRequests";
​
@@ -12,6 +13,7 @@
| CodexAdapterV2.CodexAppServerClientFactory
| CursorAgentSdk.CursorAgentSdkRunner
| CursorSdk.CursorSdk
+ | CursorKeychain.CursorKeychain
| IdAllocator.IdAllocatorV2;
​
/**
@@ -24,6 +26,7 @@
ClaudeAdapterV2.layerQueryRunner,
CodexAdapterV2.layerAppServerClientFactory,
CursorAgentSdk.layer.pipe(Layer.provideMerge(CursorSdk.layer)),
+ CursorKeychain.layer,
IdAllocator.layer,
ProviderContinuationRequests.layer,
);
3 additions and 2 deletionsapps/server/src/provider/builtInDrivers.tsModified
View file