diff --git a/packages/wl-sdk/src/dolthub/index.ts b/packages/wl-sdk/src/dolthub/index.ts deleted file mode 100644 index 1facb48378..0000000000 --- a/packages/wl-sdk/src/dolthub/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Public DoltHub client surface for `@kilocode/wl-sdk`. Each module - * is independently importable; this barrel re-exports the most - * common types and functions for convenience. - */ - -export { - DOLTHUB_API_BASE, - DOLTHUB_WEB_BASE, - WlDoltHubError, - buildDoltUrl, - doltFetch, - expectOk, -} from './api'; -export type { DoltHubAuth, DoltFetchHooks, DoltFetchOptions, DoltFetchResult } from './api'; - -export { doltRead, shouldRetryAnonymously } from './read'; -export type { DoltReadOptions, DoltReadResult } from './read'; - -export { doltWrite } from './write'; -export type { DoltWriteOptions, DoltWriteResult } from './write'; - -export { pollOperation } from './operation'; -export type { PollOperationOptions, PollOperationResult } from './operation'; - -export { listBranches, branchExists, deleteBranch, createBranch } from './branches'; -export type { - Branch, - ListBranchesOptions, - BranchExistsOptions, - DeleteBranchOptions, - CreateBranchOptions, -} from './branches'; - -export { listPulls, getPull, createPull, closePull, mergePull, commentOnPull } from './pulls'; -export type { - Pull, - PullDetail, - PullState, - ListPullsOptions, - GetPullOptions, - CreatePullOptions, - ClosePullOptions, - MergePullOptions, - CommentOnPullOptions, - MergePullResult, -} from './pulls'; - -export { createDatabase, forkDatabase } from './database'; -export type { - CreateDatabaseOptions, - CreateDatabaseResult, - ForkDatabaseOptions, - ForkDatabaseResult, -} from './database'; diff --git a/packages/wl-sdk/src/ops/index.ts b/packages/wl-sdk/src/ops/index.ts deleted file mode 100644 index 251b8ac8f6..0000000000 --- a/packages/wl-sdk/src/ops/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Public surface for the wl-sdk ops layer. - * - * Each op is a free function returning a `WlResult` envelope. - * Callers wire a `MutationContext` once (auth + upstream + fork + - * rig handle) and reuse it across calls. - */ - -export type { - BranchName, - ForkRef, - MutationContext, - MutationOutcome, - PostOutcome, - DoneOutcome, - AcceptOutcome, - RigHandle, - WastelandRef, - WlErrorCode, - WlResult, -} from './types'; -export { WlError } from './types'; - -export { makeRegisterBranch, makeWlBranch, parseWlBranch, rigBranchPrefix } from './branch'; -export type { ParsedBranch } from './branch'; - -export { browse } from './browse'; -export type { BrowseEntry, BrowseFilter, BrowseOptions } from './browse'; - -export { join } from './join'; -export type { JoinOptions, JoinResult } from './join'; - -export { post } from './post'; -export type { PostOptions } from './post'; - -export { claim } from './claim'; -export type { ClaimOptions } from './claim'; - -export { unclaim } from './unclaim'; -export type { UnclaimOptions } from './unclaim'; - -export { done } from './done'; -export type { DoneOptions } from './done'; - -export { accept } from './accept'; -export type { AcceptOptions } from './accept'; - -export { reject } from './reject'; -export type { RejectOptions } from './reject'; - -export { close } from './close'; -export type { CloseOptions } from './close'; - -export { publish } from './publish'; -export type { PublishOptions, PublishResult } from './publish'; - -export { unpublish } from './unpublish'; -export type { UnpublishOptions, UnpublishResult } from './unpublish'; - -export { listMyBranches, discardBranch } from './workshop'; -export type { DiscardBranchOptions, ListMyBranchesOptions, MyBranchEntry } from './workshop'; - -export { leave } from './leave'; -export type { LeaveOptions, LeaveResult } from './leave';