MCPcopy
hub / github.com/anomalyco/opencode / httpapi-session.test.ts

File httpapi-session.test.ts

packages/opencode/test/server/httpapi-session.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { PermissionV1 } from "@opencode-ai/core/v1/permission"
2import { afterEach, describe, expect } from "bun:test"
3import { NodeHttpServer, NodeServices } from "@effect/platform-node"
4import { SessionV1 } from "@opencode-ai/core/v1/session"

Callers

nothing calls this directly

Calls 15

testEffectFunction · 0.90
disposeAllInstancesFunction · 0.90
resetDatabaseFunction · 0.90
testProviderConfigFunction · 0.90
tmpdirScopedFunction · 0.90
provideInstanceEffectFunction · 0.90
pollWithTimeoutFunction · 0.90
responseJsonFunction · 0.85
createTextMessageFunction · 0.85
requestJsonFunction · 0.85
recordPromptFunction · 0.85

Tested by

no test coverage detected