dotshare-cli 3.1.0 โ 3.2.1
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/README.md +8 -8
- package/docs/AGENT_INTEGRATION.md +23 -1
- package/out/agent/commands.js +23 -22
- package/out/agent/server.js +15 -14
- package/out/cli/commands.js +37 -36
- package/package.json +1 -1
- package/skills/dotshare/SKILL.md +17 -2
package/README.md
CHANGED
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## ๐ What's New in 3.
|
|
27
|
+
## ๐ What's New in 3.8.1 โ Fair X
|
|
28
28
|
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
- **Videos and GIFs from agents**, clickable **Bluesky mentions**, and **post stats** with `get_post_stats`.
|
|
33
|
-
- **One-command setup for Claude Code and Cursor.**
|
|
29
|
+
- **X posts go through DotSuite** and count against your plan's monthly X budget (X charges per post). Your X token stays on DotSuite.
|
|
30
|
+
- **See the cost before you post:** agents show the exact X charge and what's left, and the DotSuite dashboard lists every charge.
|
|
31
|
+
- **Fair charges:** the most a post can cost is held while it's pending, then you pay what X actually took and the rest is released.
|
|
34
32
|
|
|
35
|
-
|
|
33
|
+
Builds on 3.7.0: sign-in on dotsuite.dev, browser sign-in for agents, `schedule_draft`, video and GIFs, Bluesky mentions, post stats and setup for Claude Code and Cursor.
|
|
34
|
+
|
|
35
|
+
[Download VS Code 3.8.1 (.vsix)](https://github.com/kareem2099/DotShare/releases/download/v3.8.1/dotshare-3.8.1.vsix) ยท [CLI and MCP on npm](https://www.npmjs.com/package/dotshare-cli) ยท [Release notes and tarball](https://github.com/kareem2099/DotShare/releases/tag/v3.8.1)
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -106,7 +106,7 @@ composer drafts remain in their existing screen; no automatic migration occurs.
|
|
|
106
106
|
code --install-extension freerave.dotshare
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
**From GitHub:** download the `v3.
|
|
109
|
+
**From GitHub:** download the `v3.8.1` VSIX above and run `code --install-extension ./dotshare-3.8.1.vsix`.
|
|
110
110
|
For the shared Publishing Library, also complete the [MCP quick start](#quick-start-for-ai-agents).
|
|
111
111
|
|
|
112
112
|
Also available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=freerave.dotshare) and [Open VSX](https://open-vsx.org/extension/freerave/dotshare) (VSCodium, Cursor, Windsurf and other compatible editors). Requires VS Code **1.90** or later.
|
|
@@ -24,7 +24,7 @@ Restart or reconnect your MCP client after setup. In Codex, ask DotShare to list
|
|
|
24
24
|
accounts, save a draft for one of them and prepare its preview. To review that draft
|
|
25
25
|
in VS Code, follow the [Publishing Library guide](PUBLISHING_LIBRARY.md).
|
|
26
26
|
|
|
27
|
-
You can also download the tarball and install it with `npm install -g ./dotshare-cli-3.1.
|
|
27
|
+
You can also download the tarball and install it with `npm install -g ./dotshare-cli-3.2.1.tgz`. [GitHub release](https://github.com/kareem2099/DotShare/releases/tag/v3.8.1)
|
|
28
28
|
|
|
29
29
|
To build and configure from source instead:
|
|
30
30
|
|
|
@@ -46,6 +46,28 @@ different IDs. To replace an account's credentials, run `accounts add` with its
|
|
|
46
46
|
It does not revoke the token on the platform. Expired/revoked platform tokens must
|
|
47
47
|
be replaced using `accounts add`, or `accounts connect` for LinkedIn and X.
|
|
48
48
|
|
|
49
|
+
### X through DotSuite (metered)
|
|
50
|
+
|
|
51
|
+
X charges DotSuite for every post made through DotShare's X app, so once X posting
|
|
52
|
+
moves to DotSuite (DotSuite's `X_SERVER_ONLY` setting), an X sign-in saves the X
|
|
53
|
+
connection to the user's DotSuite account. The X token never reaches the device. The
|
|
54
|
+
local account stores only `{"via": "dotsuite"}`, and posts go through
|
|
55
|
+
`POST /v1/x/posts` with the DotSuite key from `dotshare cloud login`:
|
|
56
|
+
|
|
57
|
+
- Each plan has a monthly X budget. Preview calls `POST /v1/x/estimate` and shows the
|
|
58
|
+
exact charge and what's left, and refuses posts the budget can't cover.
|
|
59
|
+
- Prices follow X's list ($0.015 per post, $0.20 with a link, plus images). Anything
|
|
60
|
+
that might be a link is priced as one, and if X deducts more than the estimate
|
|
61
|
+
(measured from DotSuite's X balance before and after each post), the actual amount
|
|
62
|
+
is charged.
|
|
63
|
+
- Publishing is idempotent by request ID, so retries never post or charge twice. A post
|
|
64
|
+
X doesn't confirm is charged and never resent automatically.
|
|
65
|
+
- Images and GIFs are uploaded to DotSuite first; videos aren't supported this way yet.
|
|
66
|
+
Stats aren't available for these accounts.
|
|
67
|
+
|
|
68
|
+
To post with your own X developer app instead (X bills you directly, DotSuite isn't
|
|
69
|
+
involved), add its access token with `dotshare-agent accounts add <id> --platform x`.
|
|
70
|
+
|
|
49
71
|
### Browser sign-in for LinkedIn and X
|
|
50
72
|
|
|
51
73
|
`dotshare-agent accounts connect <id> --platform linkedin|x [--name ...] [--no-open]`
|