chore: generate

This commit is contained in:
opencode-agent[bot]
2026-03-30 21:49:45 +00:00
parent e6f6f7aff1
commit ea88044f2e
2 changed files with 37 additions and 35 deletions
+3 -1
View File
@@ -70,7 +70,9 @@ export namespace Auth {
const data = yield* all() const data = yield* all()
if (norm !== key) delete data[key] if (norm !== key) delete data[key]
delete data[norm + "/"] delete data[norm + "/"]
yield* fsys.writeJson(file, { ...data, [norm]: info }, 0o600).pipe(Effect.mapError(fail("Failed to write auth data"))) yield* fsys
.writeJson(file, { ...data, [norm]: info }, 0o600)
.pipe(Effect.mapError(fail("Failed to write auth data")))
}) })
const remove = Effect.fn("Auth.remove")(function* (key: string) { const remove = Effect.fn("Auth.remove")(function* (key: string) {