The best way to control Claude Code, Codex and more from any computer or phone

main
ts 17 lines 581 Bytes
Raw
1 import * as Layer from "effect/Layer";
2 import * as BindingLocal from "./BindingLocal.ts";
3 import { CreatePullRequest } from "./CreatePullRequest.ts";
4 import { createPullRequestOperation } from "./CreatePullRequestHttp.ts";
5
6 /**
7 * Implementation of {@link CreatePullRequest} with the provider's current credentials.
8 * Provide it on an `Action` or another deploy-time Effect.
9 *
10 * @layer
11 * @product Pull Request
12 * @provides GitHub.CreatePullRequest
13 */
14 export const CreatePullRequestLocal = Layer.effect(
15 CreatePullRequest,
16 BindingLocal.make(createPullRequestOperation),
17 );