Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ xai.test.ts
File
xai.test.ts
packages/opencode/test/plugin/xai.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
2
import
{
3
accessTokenIsExpiring,
4
buildAuthorizeUrl,
Callers
nothing calls this directly
Calls
15
accessTokenIsExpiring
Function · 0.90
buildAuthorizeUrl
Function · 0.90
XaiAuthPlugin
Function · 0.90
requestDeviceCode
Function · 0.90
pollDeviceCodeToken
Function · 0.90
test
Function · 0.85
makeJwt
Function · 0.85
makeServer
Function · 0.85
serverOptions
Function · 0.85
push
Method · 0.80
makeInput
Function · 0.70
get
Method · 0.65
Tested by
no test coverage detected