export * as Tools from "./tools" import { Context, Effect, Scope } from "effect" import { Tool } from "./tool" export type RegisterOptions = Tool.RegisterOptions export interface Interface { readonly register: ( tools: Readonly>, options?: Tool.RegisterOptions, ) => Effect.Effect /** Internal atomic registration capability used by plugin transforms. */ readonly registerBatch: ( registrations: ReadonlyArray<{ readonly tools: Readonly> readonly options?: Tool.RegisterOptions }>, ) => Effect.Effect } /** Narrow registration-only Location capability. */ export class Service extends Context.Service()("@opencode/v2/Tools") {}