MCPcopy Index your code
hub / github.com/anomalyco/opencode / session.ts

File session.ts

packages/server/src/handlers/session.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { SessionV2 } from "@opencode-ai/core/session"
2import { DateTime, Effect, Stream } from "effect"
3import { HttpApiBuilder, HttpApiSchema } from "effect/unstable/httpapi"
4import { Api } from "../api"

Callers

nothing calls this directly

Calls 15

atMethod · 0.80
switchAgentMethod · 0.80
switchModelMethod · 0.80
compactMethod · 0.80
stageMethod · 0.80
contextMethod · 0.80
interruptMethod · 0.80
listMethod · 0.65
createMethod · 0.65
cwdMethod · 0.65
getMethod · 0.65
promptMethod · 0.65

Tested by

no test coverage detected