feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721)

This commit is contained in:
Kit Langton
2026-04-15 22:45:45 -04:00
committed by GitHub
parent 6c7e9f6f3a
commit 379e40d772
40 changed files with 152 additions and 154 deletions

View File

@@ -3,7 +3,7 @@ import { Effect, Exit, Layer, Option, Schema, Scope, Context, Stream } from "eff
import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http"
import { Account } from "@/account"
import { Bus } from "@/bus"
import { InstanceState } from "@/effect/instance-state"
import { InstanceState } from "@/effect"
import { Provider } from "@/provider"
import { ModelID, ProviderID } from "@/provider/schema"
import { Session } from "@/session"
@@ -142,7 +142,7 @@ export namespace ShareNext {
})
}
const state: InstanceState<State> = yield* InstanceState.make<State>(
const state: InstanceState.InstanceState<State> = yield* InstanceState.make<State>(
Effect.fn("ShareNext.state")(function* (_ctx) {
const cache: State = { queue: new Map(), scope: yield* Scope.make() }