MCPcopy Create free account
hub / github.com/anomalyco/opencode / Endpoint3_1

Function Endpoint3_1

packages/client/src/generated-effect/client.ts:67–73  ·  view source on GitHub ↗
(raw: RawClient["server.session"])

Source from the content-addressed store, hash-verified

65 readonly location?: Endpoint3_1Request["payload"]["location"]
66}
67const Endpoint3_1 = (raw: RawClient["server.session"]) => (input?: Endpoint3_1Input) =>
68 raw["session.create"]({
69 payload: { id: input?.["id"], agent: input?.["agent"], model: input?.["model"], location: input?.["location"] },
70 }).pipe(
71 Effect.mapError(mapClientError),
72 Effect.map((value) => value.data),
73 )
74
75const Endpoint3_2 = (raw: RawClient["server.session"]) => () =>
76 raw["session.active"]({}).pipe(

Callers 1

adaptGroup3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected