@usesocial/cli 0.20.0 → 0.21.0
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 +12 -0
- package/README.md +12 -12
- package/dist/index.mjs +2882 -2838
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @usesocial/cli
|
|
2
2
|
|
|
3
|
+
## 0.21.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#265](https://github.com/usesocial/monorepo/pull/265) [`a4473db`](https://github.com/usesocial/monorepo/commit/a4473dbe0efbe4befac2878bb7371b3a65d18254) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Show the seat price before any charge. `account setup` now only authenticates; `account connect` returns a checkout that shows the price when a new plan needs a card, or otherwise quotes the price and charges only after `--confirm <quote>` for that same connection (a terminal connect asks first).
|
|
8
|
+
|
|
9
|
+
## 0.20.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#198](https://github.com/usesocial/monorepo/pull/198) [`14b9d19`](https://github.com/usesocial/monorepo/commit/14b9d199a4befaf585e929b08848926f8ddef3f2) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Send an empty `text` on media-only and quote-only LinkedIn posts, as Unipile requires it, and update the skill for hosted MCP image inputs.
|
|
14
|
+
|
|
3
15
|
## 0.20.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -270,23 +270,23 @@ jq -r '.items[].id' /tmp/recent-posts.json \
|
|
|
270
270
|
|
|
271
271
|
## Auth
|
|
272
272
|
|
|
273
|
-
`social account setup` authenticates the Social account
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
`pending_approval`, `pending_billing`, and `ready` states. While the payment
|
|
277
|
-
method is not ready, setup returns `checkoutURL`. The hosted page authorizes the
|
|
278
|
-
card; setup never selects or purchases a provider plan.
|
|
273
|
+
`social account setup` authenticates the Social account. In a terminal it
|
|
274
|
+
guides browser approval; in CI and agent shells it is a bounded pollable command
|
|
275
|
+
with `pending_approval` and `ready` states. Setup never touches billing.
|
|
279
276
|
|
|
280
277
|
Sessions last two years unless revoked. `social account logout` revokes the
|
|
281
278
|
session and removes the stored token. Non-interactive callers should surface the
|
|
282
|
-
returned approval
|
|
283
|
-
`ready`.
|
|
279
|
+
returned approval URL, then rerun `social account setup` until it is `ready`.
|
|
284
280
|
|
|
285
281
|
`social account connect <platform>` starts or resumes a server-owned partial
|
|
286
|
-
account
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
282
|
+
account, and shows the price before any charge. When a new plan needs a card,
|
|
283
|
+
`pending_billing.paymentURL` is a checkout that shows the price. Otherwise, a
|
|
284
|
+
call that would buy a seat charges nothing and returns `pending_billing` with
|
|
285
|
+
`requiredAction.code` `purchase_confirmation_required`, the price in
|
|
286
|
+
`requiredAction.reason`, and `requiredAction.quote`. In a terminal, connect asks
|
|
287
|
+
before it buys. In a non-TTY shell, get the human's approval, then retry with
|
|
288
|
+
the same `--account-id` and `--confirm <requiredAction.quote>`. X runs OAuth
|
|
289
|
+
first and shows the price on its done page.
|
|
290
290
|
In a non-TTY shell, omit `--account-id` on the first call, capture the returned
|
|
291
291
|
`accountId`, and pass it back as `--account-id <accountId>` on every poll.
|
|
292
292
|
Surface `connectURL` for `pending_approval` and `paymentURL` for `pending_billing`.
|