dotshare-cli 3.2.2 โ†’ 3.2.3

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 CHANGED
@@ -24,15 +24,15 @@
24
24
 
25
25
  ---
26
26
 
27
- ## ๐Ÿ†• What's New in 3.8.2 โ€” Skilled Agents
27
+ ## ๐Ÿ†• What's New in 3.8.3 โ€” Safe Retries
28
28
 
29
- - **A much better agent skill:** your AI agent writes native posts for each platform, compares choices and previews in small tables, and talks at your level. [What it changes](docs/AGENT_SKILL.md).
30
- - **Setup installs it for you** in Claude Code, Codex, Cursor and now **Antigravity**, or anywhere with `--skills-dir`. Run setup again after an upgrade to update it.
31
- - **Fair X 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.
29
+ - **Retry what never went out:** when nothing was posted (no internet, the platform refused, an upload failed), the post is marked **Failed** with the reason, and publishing again retries only what wasn't sent. Threads continue from the part that stopped. Anything that may have been posted is still never resent.
30
+ - **A saved footer per account:** `dotshare-agent accounts footer <id> "#YourTag"` adds your hashtags or signature line to every post, and the preview shows it.
31
+ - **No more hanging publishes:** posts time out after 60 seconds and uploads after 5 minutes.
32
32
 
33
- Builds on 3.8: X posts through DotSuite with a monthly X budget. And on 3.7: sign-in on dotsuite.dev, browser sign-in for agents, `schedule_draft`, video and GIFs, Bluesky mentions and post stats.
33
+ Builds on 3.8.2: an agent skill that setup installs for Claude Code, Codex, Cursor and Antigravity. And on 3.8: X posts through DotSuite with a monthly X budget, held and settled at what X actually charges.
34
34
 
35
- [Download VS Code 3.8.2 (.vsix)](https://github.com/kareem2099/DotShare/releases/download/v3.8.2/dotshare-3.8.2.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.2)
35
+ [Download VS Code 3.8.3 (.vsix)](https://github.com/kareem2099/DotShare/releases/download/v3.8.3/dotshare-3.8.3.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.3)
36
36
 
37
37
  ---
38
38
 
@@ -109,7 +109,7 @@ composer drafts remain in their existing screen; no automatic migration occurs.
109
109
  code --install-extension freerave.dotshare
110
110
  ```
111
111
 
112
- **From GitHub:** download the `v3.8.2` VSIX above and run `code --install-extension ./dotshare-3.8.2.vsix`.
112
+ **From GitHub:** download the `v3.8.3` VSIX above and run `code --install-extension ./dotshare-3.8.3.vsix`.
113
113
  For the shared Publishing Library, also complete the [MCP quick start](#quick-start-for-ai-agents).
114
114
 
115
115
  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.2.2.tgz`. [GitHub release](https://github.com/kareem2099/DotShare/releases/tag/v3.8.2)
27
+ You can also download the tarball and install it with `npm install -g ./dotshare-cli-3.2.3.tgz`. [GitHub release](https://github.com/kareem2099/DotShare/releases/tag/v3.8.3)
28
28
 
29
29
  To build and configure from source instead:
30
30
 
@@ -42,6 +42,12 @@ Account setup prompts hide typed credentials. Enter platform secrets in your
42
42
  terminal prompts. Existing VS Code accounts are not automatically copied.
43
43
  Multiple accounts on one platform use
44
44
  different IDs. To replace an account's credentials, run `accounts add` with its ID.
45
+ `accounts footer <id> "<text>"` saves text added to the end of every post from that
46
+ account, such as hashtags or a signature line; `accounts footer <id> --clear` removes
47
+ it. Preview adds the footer to the last post (or before an automatic split), counts it
48
+ toward the limit and shows it, so the approved text is what gets published. It's
49
+ skipped when the text already contains it, for Dev.to articles, and when a post sets
50
+ `addFooter: false`. Reconnecting an account keeps its footer.
45
51
  `accounts remove <id>` removes the local account and deletes its credential from the OS keyring.
46
52
  It does not revoke the token on the platform. Expired/revoked platform tokens must
47
53
  be replaced using `accounts add`, or `accounts connect` for LinkedIn and X.
@@ -602,6 +608,18 @@ not platform credentials or full post bodies.
602
608
  - A timeout can occur after a platform accepted a post. `needs_review`, `uncertain`,
603
609
  and stale `running` operations require inspection of the destination, not an
604
610
  automatic retry with a new ID. Already published parts are not rolled back.
611
+ - Some failures prove nothing was sent: the connection never opened (DNS failure, no
612
+ network route, connection refused, a connect timeout, a bad TLS certificate), the
613
+ platform refused the request (400, 401, 403, 404, 413, 422, 429), or the step that
614
+ failed came before the post itself (signing in, uploading media). Those accounts are
615
+ `not_sent` and the operation is `failed` (draft status `Failed`), with a plain reason
616
+ in each account's `error`. Publishing again with the **same** requestId retries only
617
+ those accounts and continues a thread after its last published part (Mastodon,
618
+ Bluesky and X with your own token; a partial Telegram, LinkedIn first comment or
619
+ Discord delivery stays `needs_review`). A `Failed` draft that posted nothing anywhere
620
+ can also be edited, previewed again and published with a new requestId.
621
+ - Every request that creates a post times out after 60 seconds, and each media upload
622
+ after 5 minutes, so a dead connection can't hang a publish.
605
623
  - To intentionally publish the same content again, provide a new user-authorized ID.
606
624
  - `operation <requestId>` and `history` recover local results. Credentials must be
607
625
  available for all target accounts before the first publication starts.