fix(cli): simplify service registration lease (#37576)

Co-authored-by: Dax Raad <826656+thdxr@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-07-17 19:47:17 -04:00
committed by GitHub
co-authored by Dax Raad
parent 6ea8247e0f
commit 60ce33cde8
5 changed files with 173 additions and 77 deletions
-1
View File
@@ -161,7 +161,6 @@ export const Info = Schema.Struct({
url: Schema.String,
pid: Schema.Int.check(Schema.isGreaterThan(0)),
password: Schema.optional(Schema.String),
startedAt: Schema.optional(Schema.Int.check(Schema.isGreaterThan(0))),
})
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Info))
-2
View File
@@ -50,6 +50,4 @@ export type Info = {
readonly pid: number
/** Private service password, when authentication is enabled. */
readonly password?: string
/** Registration generation used to resolve owner write races. */
readonly startedAt?: number
}