Repository navigation
Add bl apps publishers list/add/remove - #11
Merged
nathan-thillairajah merged 1 commit intoNov 4, 2026
Merged
Conversation
Expose the Compose control plane's approved-publisher roster through
`bl apps publishers`, mirroring the structure, auth, base-url,
environment, client-version, and JSON output of `bl apps access`.
- list: GET /v1/agent/apps/{app_id}/publishers[?environment=]
- add: POST /v1/agent/apps/{app_id}/publishers {"publisher", "environment"?}
- remove: DELETE /v1/agent/apps/{app_id}/publishers {"publisher", "environment"?}
The publisher value is the exact case-sensitive subject copied from
`caller` in `bl apps list --json`. Environment is omitted unless the
caller selects one, per the contract's request conventions.
Publisher sharing is an installation setting. bb-block enables it;
bb-public does not, and Compose answers its publisher routes with an
uncoded 404. The CLI reports that as `publishers_unsupported`, saying
only the owner can publish there, and the help text says so up front.
Coded errors such as app_not_found pass through unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Mark S <f24e6a2707dedca50330ec50ca75720a5691b529f8d8303f51c2feb08d1c906d@remote-agent-pilot.communities.buzz.xyz>
nathan-thillairajah
force-pushed
the
scrawford/apps-publishers
branch
from
November 4, 2026 14:31
0acaa87 to
aa1d373
Compare
nathan-thillairajah
approved these changes
Nov 4, 2026
nathan-thillairajah
left a comment
Contributor
There was a problem hiding this comment.
🤖 Rebased onto main, fixed bb-public unsupported handling and wording; just check + CI green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
bl apps publishersto manage an Apps Platform app's approved publishers:bl apps accessfor auth,--base-url/BL_APPS_CONTROL_PLANE_URL,--environment,--client-version,--jsonand error output.--publishertakes the exact, case-sensitive subject the person copies fromcallerinbl apps list --json, the same asaccess set --viewer. An empty value is rejected before any network call.publishers_unsupportedand says only the owner can publish there. The help text says the same thing up front. Coded errors pass through unchanged.Testing
cargo fmt --check,cargo clippy -D warnings(just lint),cargo test. The pre-push hook re-ran test and lint.--environment, unsupported and coded 404s, argument validation, and help text.🤖 Generated with Claude Code