refactor: remove remaining default layer aliases (#34660)

This commit is contained in:
James Long 2026-06-30 13:17:34 -04:00 committed by GitHub
commit 6636683323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 10 deletions

View file

@ -18,11 +18,11 @@ export type Info = {
}
export class Config extends Context.Service<Config, Info>()("@opencode/ServerAuthConfig") {
static layer(input: Info) {
static configLayer(input: Info) {
return Layer.succeed(this, this.of(input))
}
static get defaultLayer() {
static get layer() {
return Layer.effect(
this,
Effect.gen(function* () {