bsky-cli 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -122,6 +122,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
122
122
  - Minimal dependency footprint
123
123
  - Optimized image upload process
124
124
 
125
+ ## [1.0.1] - 2026-02-07
126
+
127
+ ### Changed
128
+ - Renamed npm package from `bluesky-cli` to `bsky-cli` (name availability)
129
+ - Published to npm registry: `npm install -g bsky-cli`
130
+ - Added npx support: `npx bsky-cli <command>`
131
+ - Updated badges to show npm version and downloads
132
+
125
133
  ## [Unreleased]
126
134
 
127
135
  ### Planned Features
@@ -138,4 +146,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
138
146
 
139
147
  ---
140
148
 
141
- [1.0.0]: https://github.com/yourusername/bluesky-cli/releases/tag/v1.0.0
149
+ [1.0.1]: https://github.com/agileguy/bluesky-cli/releases/tag/v1.0.1
150
+ [1.0.0]: https://github.com/agileguy/bluesky-cli/releases/tag/v1.0.0
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # Bluesky CLI
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/bsky-cli.svg)](https://www.npmjs.com/package/bsky-cli)
4
+ [![npm downloads](https://img.shields.io/npm/dm/bsky-cli.svg)](https://www.npmjs.com/package/bsky-cli)
3
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](https://github.com/agileguy/bluesky-cli)
5
6
 
6
7
  A powerful command-line interface for the Bluesky social network, built on the AT Protocol. Post, interact, and manage your Bluesky presence directly from your terminal.
7
8
 
@@ -17,16 +18,23 @@ A powerful command-line interface for the Bluesky social network, built on the A
17
18
 
18
19
  ## Installation
19
20
 
20
- ### Using Bun (Recommended)
21
+ ### Using npm
22
+
23
+ ```bash
24
+ npm install -g bsky-cli
25
+ ```
26
+
27
+ ### Using Bun
21
28
 
22
29
  ```bash
23
30
  bun install -g bsky-cli
24
31
  ```
25
32
 
26
- ### Using npm
33
+ ### Using npx (no install)
27
34
 
28
35
  ```bash
29
- npm install -g bsky-cli
36
+ npx bsky-cli login
37
+ npx bsky-cli post "Hello world!"
30
38
  ```
31
39
 
32
40
  ## Quick Start
package/dist/index.js CHANGED
@@ -56580,16 +56580,19 @@ var SUPPORTED_IMAGE_TYPES = {
56580
56580
  ".webp": "image/webp",
56581
56581
  ".gif": "image/gif"
56582
56582
  };
56583
+ function unescapeShellText(text) {
56584
+ return text.replace(/\\!/g, "!").replace(/\\\$/g, "$").replace(/\\`/g, "`").replace(/\\"/g, '"').replace(/\\\\/g, "\\");
56585
+ }
56583
56586
  async function readPostText(text) {
56584
56587
  if (text) {
56585
- return text;
56588
+ return unescapeShellText(text);
56586
56589
  }
56587
56590
  if (!process.stdin.isTTY) {
56588
56591
  const chunks = [];
56589
56592
  for await (const chunk of process.stdin) {
56590
56593
  chunks.push(chunk);
56591
56594
  }
56592
- return Buffer.concat(chunks).toString("utf8").trim();
56595
+ return unescapeShellText(Buffer.concat(chunks).toString("utf8").trim());
56593
56596
  }
56594
56597
  throw new Error('No post text provided. Use: bsky post "text" or echo "text" | bsky post');
56595
56598
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bsky-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Command-line interface for Bluesky/ATProto social networking",
5
5
  "keywords": [
6
6
  "bluesky",