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

Function Endpoint3_0

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

Source from the content-addressed store, hash-verified

44 readonly cursor?: Endpoint3_0Request["query"]["cursor"]
45}
46const Endpoint3_0 = (raw: RawClient["server.session"]) => (input?: Endpoint3_0Input) =>
47 raw["session.list"]({
48 query: {
49 workspace: input?.["workspace"],
50 limit: input?.["limit"],
51 order: input?.["order"],
52 search: input?.["search"],
53 directory: input?.["directory"],
54 project: input?.["project"],
55 subpath: input?.["subpath"],
56 cursor: input?.["cursor"],
57 },
58 }).pipe(Effect.mapError(mapClientError))
59
60type Endpoint3_1Request = Parameters<RawClient["server.session"]["session.create"]>[0]
61type Endpoint3_1Input = {

Callers 1

adaptGroup3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected