GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/packages/plugin/src/effect/worktree.ts at dev · yusha/opencode Expand file tree/ Copy pathworktree.tsMore file actions 21 lines (18 loc) · 929 Bytes / Copy pathworktree.tsFile metadata and controls21 lines (18 loc) · 929 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 import type { WorktreeApi } from "@opencode/client/effect/api" import type { Effect } from "effect" import type { WorktreeCreateInput, WorktreeEntry, WorktreeRemoveInput, WorktreeResult } from "../worktree.js" import type { Transform } from "./registration.js" export interface WorktreeDefinition { readonly id: string readonly create: (input: WorktreeCreateInput) => Effect.Effect<WorktreeResult, unknown> readonly remove: (input: WorktreeRemoveInput) => Effect.Effect<void, unknown> readonly list: (sourceDirectory: string) => Effect.Effect<readonly WorktreeEntry[], unknown> } export interface WorktreeEditor { /** Registers an implementation and selects it as the default. Later active registrations win. */ add(definition: WorktreeDefinition): void } export interface WorktreeDomain extends WorktreeApi<unknown> { readonly transform: Transform<WorktreeEditor> readonly reload: () => Effect.Effect<void> } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |