refactor(client): split package into promise and effect entrypoints

This commit is contained in:
Dax Raad 2026-07-03 01:42:50 -04:00
commit af5eabcb26
46 changed files with 5211 additions and 2332 deletions

View file

@ -1,4 +1,4 @@
import type { OpenCodeClient } from "@opencode-ai/client"
import type { OpenCodeClient } from "@opencode-ai/client/promise"
import type { OpencodeClient, V2Event } from "@opencode-ai/sdk/v2"
import { createGlobalEmitter } from "@solid-primitives/event-bus"
import { onCleanup, onMount } from "solid-js"