chadtmiller.com/group-host
atmosphere group host
0
0
Release 0.5.0
.changeset/service-proxy.mddeleted+0−9
| @@ -1,9 +0,0 @@ | ||
--- | ||
default: minor | ||
--- | ||
| ||
# An app signed in as a group calls other services through the host | ||
| ||
An app signed in as a group (with OAuth or an app password) calls other services as the group the way it would through any account's PDS: a call with `atproto-proxy: <did>#<service>` to a method the host doesn't serve is sent on to that service with service auth the group signs (`aud` the service's DID, `lxm` the method, a minute), and its answer streamed back. `com.atproto.server.getServiceAuth` gives an app such a token to send itself. A token's scope must hold the call (`rpc:<method>?aud=<did>#<service>`, a permission set that gives it, or `transition:generic`), or it fails `ScopeMissingError`, and its member must still hold `repo:*`. An app password's session calls anything but chat unless it may use chat. The host refuses methods that manage an account directly, itself as the service, and services not at a public address. | ||
| ||
Signing an app in now keeps `transition:generic` and `transition:chat.bsky` for members holding `repo:*`, and other apps' permission sets (`include:social.grain.authFull?aud=…`) as far as the member's roles grant their parts. A set is read as its app publishes it: its `_lexicon` TXT record, read from `DNS_OVER_HTTPS` (Cloudflare's unless set), names the repo holding it. | ||
Cargo.lock+3−3
| @@ -43,7 +43,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "atgrp" | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
dependencies = [ | ||
"anyhow", | ||
"atproto", | ||
| @@ -692,7 +692,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "group-host" | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
dependencies = [ | ||
"anyhow", | ||
"atproto", | ||
| @@ -716,7 +716,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "group-host-mcp" | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
dependencies = [ | ||
"atproto", | ||
"serde_json", | ||
Cargo.toml+1−1
| @@ -3,7 +3,7 @@ members = ["crates/group-host", "crates/group-host-mcp", "crates/atgrp"] | ||
resolver = "3" | ||
| ||
[workspace.package] | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
edition = "2024" | ||
license = "MIT OR Apache-2.0" | ||
rust-version = "1.89" | ||
CHANGELOG.md+10−0
| @@ -4,6 +4,16 @@ What changed in each version of the group host, its console and the | ||
`opensocial` command for those who run and use them, from the change | ||
files in `.changeset/` (see `knope.toml`). | ||
| ||
## 0.5.0 (2026-11-27) | ||
| ||
### Features | ||
| ||
#### An app signed in as a group calls other services through the host | ||
| ||
An app signed in as a group (with OAuth or an app password) calls other services as the group the way it would through any account's PDS: a call with `atproto-proxy: <did>#<service>` to a method the host doesn't serve is sent on to that service with service auth the group signs (`aud` the service's DID, `lxm` the method, a minute), and its answer streamed back. `com.atproto.server.getServiceAuth` gives an app such a token to send itself. A token's scope must hold the call (`rpc:<method>?aud=<did>#<service>`, a permission set that gives it, or `transition:generic`), or it fails `ScopeMissingError`, and its member must still hold `repo:*`. An app password's session calls anything but chat unless it may use chat. The host refuses methods that manage an account directly, itself as the service, and services not at a public address. | ||
| ||
Signing an app in now keeps `transition:generic` and `transition:chat.bsky` for members holding `repo:*`, and other apps' permission sets (`include:social.grain.authFull?aud=…`) as far as the member's roles grant their parts. A set is read as its app publishes it: its `_lexicon` TXT record, read from `DNS_OVER_HTTPS` (Cloudflare's unless set), names the repo holding it. | ||
| ||
## 0.4.1 (2026-11-27) | ||
| ||
### Fixes | ||