File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export function parseMacOsAppLeaseKey(deviceKey: string | undefined): MacOsAppLe
3838
3939/**
4040 * The requests that run without the leased app's session: `open` creates it, each `batch` step is
41- * admitted again when it runs, and a heartbeat or release acts on the lease alone.
41+ * admitted again when it runs, and a heartbeat acts on the lease alone, and a release is refused (the host ends the lease) .
4242 */
4343const SESSIONLESS_COMMANDS : ReadonlySet < string > = new Set ( [
4444 'open' ,
Original file line number Diff line number Diff line change @@ -141,7 +141,9 @@ The lease id is 16 to 128 hex characters the host chooses. Repeating the PUT ren
141141that names another scope for an existing id is refused. The lease stays allocated across the
142142client's ` close ` unless the body sets ` retainOnClose: false ` , and DELETE revokes it at once. It
143143expires after ` ttlMs ` without a renewal or a client request, like any lease. A client heartbeat can
144- shorten that window but never extend it past the ` ttlMs ` of the last PUT.
144+ shorten that window but never extend it past the ` ttlMs ` of the last PUT. A client cannot release
145+ it: ` disconnect ` drops only its local connection state, and a tenant ` lease_release ` is refused
146+ with ` MACOS_APP_LEASE_HOST_OWNED ` .
145147
146148The client connects with a remote config that names the lease, and runs ` open <bundleId> ` :
147149
You can’t perform that action at this time.
0 commit comments