Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/7836246/cursor2api
/ getConfig
Function
getConfig
test/unit-proxy-agent.mjs:45–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
let
mockConfig = {};
44
45
function
getConfig() {
46
return
mockConfig;
47
}
48
49
// 模拟 ProxyAgent(轻量级)
50
class
MockProxyAgent {
Callers
15
index.ts
File · 0.90
logViewerAuth
Function · 0.90
apiGetConfig
Function · 0.90
getChromeHeaders
Function · 0.90
sendCursorRequestInner
Function · 0.90
buildToolInstructions
Function · 0.90
convertToCursorRequest
Function · 0.90
extractToolResultNatural
Function · 0.90
preprocessImages
Function · 0.90
convertToAnthropicRequest
Function · 0.90
getLogDir
Function · 0.90
getPersistMode
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected