@usesocial/cli 0.18.0 → 0.18.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 +12 -0
- package/README.md +10 -8
- package/dist/index.mjs +194 -302
- 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.18.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#104](https://github.com/usesocial/monorepo/pull/104) [`03fbe31`](https://github.com/usesocial/monorepo/commit/03fbe31543fa98604dd4c931b17f8aa1106f2fde) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Make `social account setup` the pollable authentication and base-billing flow, with the former command retained only as a hidden compatibility alias.
|
|
8
|
+
|
|
9
|
+
## 0.18.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#98](https://github.com/usesocial/monorepo/pull/98) [`ec79564`](https://github.com/usesocial/monorepo/commit/ec79564b1840edb08721357a6d9416afeab6350e) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Mark LinkedIn chats read after sending a message.
|
|
14
|
+
|
|
3
15
|
## 0.18.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ fields. It does not authenticate, call providers, or spend usage.
|
|
|
50
50
|
## Quickstart
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
social account
|
|
53
|
+
social account setup
|
|
54
54
|
social account connect linkedin
|
|
55
55
|
social linkedin profile
|
|
56
56
|
social account connect x
|
|
@@ -261,20 +261,22 @@ jq -r '.items[].id' /tmp/recent-posts.json \
|
|
|
261
261
|
| `0` | Success | Continue. |
|
|
262
262
|
| `2` | Usage or validation error | Fix the command, flags, IDs, JSON body, or local input - server-side failures are exit 5. |
|
|
263
263
|
| `3` | Not found | Check the resource ID or pick a different item. |
|
|
264
|
-
| `4` | Auth or scope error | Run `social account
|
|
264
|
+
| `4` | Auth or scope error | Run `social account setup`, or log out and choose the needed scope. |
|
|
265
265
|
| `5` | API, proxy, or unexpected error | Retry later or surface the server error. |
|
|
266
266
|
| `7` | Rate limited | Back off, using `retryAfterSeconds`, `resumeAt`, and `retryCommand` when present. |
|
|
267
267
|
|
|
268
268
|
## Auth
|
|
269
269
|
|
|
270
|
-
`social account
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
`social account setup` authenticates the Social account and establishes base
|
|
271
|
+
billing. In a terminal it guides browser approval; in CI and agent shells it is
|
|
272
|
+
a bounded pollable command with `pending_approval`, `pending_billing`, and
|
|
273
|
+
`ready` states. Both billing states include the authenticated user, normalized
|
|
274
|
+
scope, exact capabilities, and seat summary.
|
|
273
275
|
|
|
274
276
|
Sessions last two years unless revoked. `social account logout` revokes the
|
|
275
|
-
session and removes the stored token.
|
|
276
|
-
|
|
277
|
-
|
|
277
|
+
session and removes the stored token. Non-interactive callers should surface the
|
|
278
|
+
returned approval or checkout URL, then rerun `social account setup` until it is
|
|
279
|
+
`ready`.
|
|
278
280
|
|
|
279
281
|
`social account billing` prints the current seat/subscription snapshot plus
|
|
280
282
|
aggregate usage billing. `social account billing portal` opens the hosted
|