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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dotshare-cli",
|
|
3
3
|
"displayName": "DotShare CLI",
|
|
4
4
|
"description": "Publish posts, images and threads to seven platforms from AI agents, MCP clients or the CLI.",
|
|
5
|
-
"version": "3.1
|
|
5
|
+
"version": "3.2.1",
|
|
6
6
|
"bin": {
|
|
7
7
|
"dotshare": "./bin/dotshare-cli.js",
|
|
8
8
|
"dotshare-mcp": "./bin/dotshare-mcp.js",
|
package/skills/dotshare/SKILL.md
CHANGED
|
@@ -28,7 +28,10 @@ dotshare-agent doctor --check-accounts
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
`accounts connect` opens the browser to sign in. There's nothing to copy, and X
|
|
31
|
-
sign-ins renew themselves.
|
|
31
|
+
sign-ins renew themselves. When X is connected **through DotSuite** (the account's
|
|
32
|
+
credentials are only `via: dotsuite`), the X token stays on DotSuite: X posts go
|
|
33
|
+
through the user's DotSuite account (`dotshare cloud login` required) and each one is
|
|
34
|
+
charged to the plan's monthly X budget. `accounts add` prompts for the other platforms'
|
|
32
35
|
credentials with hidden input. Everything is stored in the OS keyring. Fields:
|
|
33
36
|
Mastodon `instance`, `accessToken`; Bluesky `identifier`, `password` (an app
|
|
34
37
|
password); Telegram `botToken`, `chatId`; Discord `webhookUrl`; Dev.to `apiKey`. After an upgrade the
|
|
@@ -94,7 +97,7 @@ capabilities, and Mastodon's limit is read from the user's instance.
|
|
|
94
97
|
|
|
95
98
|
| Platform | Text limit | Threads | Images per post | Notes |
|
|
96
99
|
|---|---|---|---|---|
|
|
97
|
-
| X | 280 (URLs count as 23) | yes | 4 | Hook in the first part. |
|
|
100
|
+
| X | 280 (URLs count as 23) | yes | 4 | Hook in the first part. Through DotSuite, each post costs budget (a link costs much more); preview shows it. |
|
|
98
101
|
| Bluesky | 300 | yes | 4, ≤1 MB each, WebP ok | Links, #hashtags and @handle.domain mentions become clickable (unknown handles stay plain text). |
|
|
99
102
|
| Mastodon | instance limit (default 500; URLs count as 23) | yes | 4, WebP ok | Hashtags drive discovery; use CamelCase (#OpenSource). |
|
|
100
103
|
| LinkedIn | 3,000 | no | 1 | Put the link in `firstComment` (≤1,250 chars), not the body. |
|
|
@@ -162,6 +165,18 @@ Every publish, schedule and cancel is recorded on disk by `requestId`.
|
|
|
162
165
|
- Errors before publishing (preview errors, missing credentials) publish nothing.
|
|
163
166
|
Fix the cause, re-preview and ask again.
|
|
164
167
|
|
|
168
|
+
### X through DotSuite: costs
|
|
169
|
+
|
|
170
|
+
DotSuite pays X per post, so an X account connected through DotSuite has a monthly X
|
|
171
|
+
budget. Preview warns with the most that will be held and what's left, for example
|
|
172
|
+
`up to $0.215 of your X budget will be held for 2 post(s), 1 with a link. You pay what
|
|
173
|
+
X actually deducts and the rest is released ...`, and refuses posts the budget can't
|
|
174
|
+
cover. After posting, the user pays exactly what X deducted (often less than the hold).
|
|
175
|
+
A link is held at about 13 times a plain post, so when the user asks you to save
|
|
176
|
+
budget, put the link in a reply only if they want it, or leave it out. Tell the user
|
|
177
|
+
the most it can cost before asking for approval. Images and GIFs
|
|
178
|
+
work; videos don't (yet). Stats aren't available for these accounts.
|
|
179
|
+
|
|
165
180
|
## 6. How did it do? (stats)
|
|
166
181
|
|
|
167
182
|
`get_post_stats { requestId }` or `{ draftId }` reads current engagement for something
|