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

Function Endpoint14_1

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

Source from the content-addressed store, hash-verified

533 readonly env?: Endpoint14_1Request["payload"]["env"]
534}
535const Endpoint14_1 = (raw: RawClient["server.pty"]) => (input?: Endpoint14_1Input) =>
536 raw["pty.create"]({
537 query: { location: input?.["location"] },
538 payload: {
539 command: input?.["command"],
540 args: input?.["args"],
541 cwd: input?.["cwd"],
542 title: input?.["title"],
543 env: input?.["env"],
544 },
545 }).pipe(Effect.mapError(mapClientError))
546
547type Endpoint14_2Request = Parameters<RawClient["server.pty"]["pty.get"]>[0]
548type Endpoint14_2Input = {

Callers 1

adaptGroup14Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected