File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export const CURSOR_PLUGIN_ID = "@playwo/opencode-cursor-oauth" as const ;
2+
13export const CURSOR_PROVIDER_ID = "cursor" as const ;
24
35export const OPENCODE_TITLE_REQUEST_MARKER =
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111 pollCursorAuth ,
1212 refreshCursorToken ,
1313} from "../auth" ;
14- import { CURSOR_PROVIDER_ID } from "../constants" ;
14+ import { CURSOR_PLUGIN_ID , CURSOR_PROVIDER_ID } from "../constants" ;
1515import {
1616 configurePluginLogger ,
1717 errorDetails ,
@@ -28,7 +28,6 @@ import {
2828import { startProxy , stopProxy } from "../proxy" ;
2929
3030let lastModelDiscoveryError : string | null = null ;
31- const PLUGIN_ID = "@playwo/opencode-cursor-oauth" ;
3231
3332export const server : Plugin = async (
3433 input : PluginInput ,
@@ -169,7 +168,7 @@ export const server: Plugin = async (
169168export const CursorAuthPlugin = server ;
170169
171170export const CursorAuthPluginModule : PluginModule = {
172- id : PLUGIN_ID ,
171+ id : CURSOR_PLUGIN_ID ,
173172 server,
174173} ;
175174
You can’t perform that action at this time.
0 commit comments