MCPcopy
hub / github.com/anomalyco/opencode / createSession

Function createSession

packages/opencode/test/server/httpapi-session.test.ts:67–69  ·  view source on GitHub ↗
(input?: Session.CreateInput)

Source from the content-addressed store, hash-verified

65}
66
67function createSession(input?: Session.CreateInput) {
68 return Session.use.create(input)
69}
70
71function createTextMessage(sessionID: SessionIDType, text: string) {
72 return Effect.gen(function* () {

Callers 1

Calls 1

createMethod · 0.65

Tested by

no test coverage detected