bluesky_cli 0.5.0 copy "bluesky_cli: ^0.5.0" to clipboard
bluesky_cli: ^0.5.0 copied to clipboard

A powerful CLI tool that allows Bluesky Social's APIs to be executed from the command line powered by Dart language.

Release Note #

0.5.0 #

  • feat: All commands, arguments and invocations are now fully aligned with the official lexicon definitions.
    • Added commands for procedures without input body: refresh-session, delete-session, activate-account, request-account-delete, request-email-confirmation, request-email-update, request-plc-operation-signature, chat-bsky-actor delete-account.
    • Added commands for procedures with binary input: com-atproto-repo upload-blob, com-atproto-repo import-repo, app-bsky-video upload-video (use --file=<path>).
    • Added tools-ozone-set upsert-set command (pass the request body with --json).
    • Record get/list subcommands now accept --repo (handle or DID) and work without authentication. Defaults to the authenticated user.
  • fix: Record get/list sent the wrong collection parameter (com.atproto.repo.getRecord/listRecord) instead of the record's collection NSID.
  • fix: Record list used the invalid method com.atproto.repo.listRecord instead of com.atproto.repo.listRecords.
  • fix: Record create sent the literal string "null" as rkey when --rkey was omitted. put and delete now require --rkey as the API does.
  • fix: Created and updated records now include the $type field.
  • fix: Integer parameters (e.g. useCount, limit) are now sent as JSON numbers instead of strings in procedure bodies.
  • fix: Array parameters containing objects (e.g. facets, interactions) are now JSON-decoded instead of being sent as raw strings.
  • fix: Omitted optional parameters are no longer sent as empty arrays or false flags.
  • fix: Unauthenticated procedure calls no longer send an Authorization: Bearer null header.
  • fix: Commands that require authentication now fail with a clear message when credentials are missing.
  • fix: Session is no longer created twice per authenticated command.
  • style: Method names with digits are kebab-cased without splitting (e.g. search-posts-v2 instead of search-posts-v-2).
  • style: Usage lines now show real option syntax (e.g. --actor=<value>) instead of [actor].
  • fix: JSON array options (e.g. --facets) are no longer split on commas, which corrupted JSON values.
  • fix: Command instances are no longer shared across BskyCommandRunner instances (lexCommands is now a getter), which leaked per-runner state such as credentials and sessions.
  • feat: BskyCommandRunner accepts getClient/postClient for injecting mock HTTP clients at test time, and the whole command surface is now covered by offline request-construction tests.

0.4.7 #

  • Bump dependencies.
  • feat: added chat.bsky.convo.getUnreadCounts command.
  • feat: added tools.ozone.report.queryActivities command.
  • feat: added com.germnetwork.declaration command.
  • core: regenerated commands from updated lexicons.

0.4.6 #

0.4.5 #

  • Upgrade at_uri. (#1300)

0.4.4 #

  • Bump SDK constraint to '^3.3.0'.

0.4.3 #

  • Upgraded dependencies. (#1146)

0.4.2 #

  • Add --reply option on post command. Pass the AT URI of the post to which you are replying as an argument. (#1144)

0.4.1 #

  • Upgraded dependencies. (#1112)

0.4.0 #

  • Upgraded dependencies.

0.3.8 #

  • Supported images option on post command. You can specify the paths of images to be attached, separated by commas. (#825)

0.3.7 #

  • Supported hashtag detection. (#839)

0.3.6 #

  • Added list-feed command. (#813)

0.3.5 #

  • Added suggested-follows command. (#800)

0.3.4 #

  • Upgraded bluesky_text.

0.3.3 #

  • Upgraded bluesky_text.

0.3.2 #

  • Supported actor-likes command. (#700)

0.3.1 #

  • Improved documents. (#677)
  • Supported langs and labels options for post command. (#679)
  • Added posts command. (#679)

0.3.0 #

  • Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)

0.2.6 #

  • Upgraded xrpc and bluesky_text. (#636)

0.2.5 #

  • Upgraded bluesky_text. (#574)

0.2.4 #

  • Upgraded xrpc and bluesky_text. (#563)

0.2.3 #

  • Upgraded bluesky_text. (#260)

0.2.2 #

  • Supported popular-feed-generators command. (#458)
  • Added homepage in pubspec.yaml. (#549)

0.2.1 #

  • Supported create-generator command. (#430)
  • Supported actor-feeds command. (#431)
  • Supported feed-generator command. (#433)
  • Supported feed-generators command. (#434)
  • Supported custom-feed command. (#432)
  • Supported generator-info command. (#429)

0.2.0 #

  • Supported preferences command. (#387)
  • Supported put-preferences command. (#388)
  • Supported create-list command. (#392)
  • Supported lists command. (#391)
  • Supported list command. (#389)
  • Supported add-list-item command. (#393)
  • Supported muting-lists command. (#390)
  • Supported mute-list command. (#394)
  • Supported unmute-list command. (#395)

0.1.2 #

  • Fixed to automatically extract mention and link from text and set facet. (#291)

0.1.1 #

  • Added block and blocks commands. (#320)

0.1.0 #

  • Fixed follow command.

0.0.5 #

  • Merged official refactoring. (#52)
    • Renamed global option from handle to identifier
    • Renamed environment variable from BLUESKY_HANDLE to BLUESKY_IDENTIFIER
    • Renamed command from actor-suggestions to suggestions
    • Renamed command from actor-typeahead to actors-typeahead

0.0.4 #

  • Supported the option to prettify JSON. (#193)
    • --pretty
  • Status code and request URI output is now optional and defaults to false. Use following options to enable to output. (#195)
    • --status
    • --request

0.0.3 #

  • Supported app.bsky.feed endpoints. (#180)
    • post.json
    • repost.json
    • vote.json
    • getTimeline.json
    • getAuthorFeed.json
    • getVotes.json
    • getPostThread.json
  • Supported app.bsky.unspecced endpoint. (#181)
    • getPopular.json
  • Supported app.bsky.notification endpoints. (#184)
    • list.json
    • getCount.json
    • updateSeen.json
  • Supported app.bsky.actor endpoints. (#182)
    • search.json
    • getProfile.json
    • getProfiles.json
    • getSuggestions.json
    • searchTypeahead.json
  • Supported app.bsky.graph endpoints. (#183)
    • follow.json
    • getFollows.json
    • getFollowers.json
    • mute.json
    • unmute.json
    • getMutes.json

0.0.2 #

  • Minor fix.

0.0.1 #

  • First Release.
4
likes
160
points
227
downloads

Documentation

API reference

Publisher

verified publisheratprotodart.com

Weekly Downloads

A powerful CLI tool that allows Bluesky Social's APIs to be executed from the command line powered by Dart language.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#atproto #bluesky #api #cli

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

ansi_styles, args, at_primitives, bluesky_text, cli_launcher, cli_util, xrpc

More

Packages that depend on bluesky_cli