(raw: RawClient)
| 682 | }) |
| 683 | |
| 684 | const adaptClient = (raw: RawClient) => ({ |
| 685 | health: adaptGroup0(raw["server.health"]), |
| 686 | location: adaptGroup1(raw["server.location"]), |
| 687 | agents: adaptGroup2(raw["server.agent"]), |
| 688 | sessions: adaptGroup3(raw["server.session"]), |
| 689 | messages: adaptGroup4(raw["server.message"]), |
| 690 | models: adaptGroup5(raw["server.model"]), |
| 691 | providers: adaptGroup6(raw["server.provider"]), |
| 692 | integrations: adaptGroup7(raw["server.integration"]), |
| 693 | credentials: adaptGroup8(raw["server.credential"]), |
| 694 | permissions: adaptGroup9(raw["server.permission"]), |
| 695 | files: adaptGroup10(raw["server.fs"]), |
| 696 | commands: adaptGroup11(raw["server.command"]), |
| 697 | skills: adaptGroup12(raw["server.skill"]), |
| 698 | events: adaptGroup13(raw["server.event"]), |
| 699 | ptys: adaptGroup14(raw["server.pty"]), |
| 700 | questions: adaptGroup15(raw["server.question"]), |
| 701 | references: adaptGroup16(raw["server.reference"]), |
| 702 | projectCopies: adaptGroup17(raw["server.projectCopy"]), |
| 703 | }) |
| 704 | |
| 705 | export const make = (options?: { readonly baseUrl?: URL | string }) => |
| 706 | HttpApiClient.make(ClientApi, options).pipe(Effect.map(adaptClient)) |
nothing calls this directly
no test coverage detected