MCPcopy Create free account
hub / github.com/anomalyco/opencode / server-session.test.ts

File server-session.test.ts

packages/app/src/context/server-session.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "bun:test"
2import type { retry } from "@opencode-ai/core/util/retry"
3import type { Message, OpencodeClient, Part, Session } from "@opencode-ai/sdk/v2/client"
4import { createServerSession } from "./server-session"

Callers

nothing calls this directly

Calls 15

createServerSessionFunction · 0.90
testFunction · 0.85
deferredResponseFunction · 0.85
messageClientFunction · 0.85
syncMethod · 0.80
applyMethod · 0.80
setupFunction · 0.70
sessionFunction · 0.70
userMessageFunction · 0.70
textPartFunction · 0.70
responseFunction · 0.70
addMethod · 0.65

Tested by

no test coverage detected