@usesocial/cli 0.10.0 → 0.10.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 +18 -1
- package/dist/index.mjs +425 -55
- 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.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40](https://github.com/usesocial/monorepo/pull/40) [`0610fe0`](https://github.com/usesocial/monorepo/commit/0610fe0ba75e551a3c927064cf5302a125a03d34) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Update account login pricing copy for the $20 plan.
|
|
8
|
+
|
|
9
|
+
## 0.10.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#39](https://github.com/usesocial/monorepo/pull/39) [`1251f10`](https://github.com/usesocial/monorepo/commit/1251f10ec78b759109cd40f159b9933be7326133) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Add LinkedIn company Page analytics, Page invite, and raw proxy commands.
|
|
14
|
+
|
|
3
15
|
## 0.10.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -50,6 +50,7 @@ social x profile
|
|
|
50
50
|
| "Read this creator's recent posts and break down what makes them land." | `linkedin posts <target>`, `x tweets <target>` |
|
|
51
51
|
| "Find what people are saying about AI agents this week and summarize the themes." | `linkedin search posts`, `x sync timeline`, `x sql` |
|
|
52
52
|
| "Triage my inbox and draft replies for approval." | `sync messages`, `sql`, `linkedin message`, `x message` |
|
|
53
|
+
| "Show this week's company Page visitors and invite the approved prospects." | `linkedin page visitors`, `linkedin page invite` |
|
|
53
54
|
| "Draft a reply to this thread and post it once I approve." | `linkedin comment`, `x post` |
|
|
54
55
|
|
|
55
56
|
## Commands
|
|
@@ -78,7 +79,12 @@ social linkedin post < draft.md
|
|
|
78
79
|
social linkedin requests send @username < note.txt
|
|
79
80
|
```
|
|
80
81
|
|
|
81
|
-
Pipe a JSON object for advanced payload fields.
|
|
82
|
+
Pipe a JSON object for advanced payload fields. Raw LinkedIn proxy calls also
|
|
83
|
+
read a JSON envelope from stdin:
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
social linkedin proxy < request.json
|
|
87
|
+
```
|
|
82
88
|
|
|
83
89
|
### Pagination
|
|
84
90
|
|
|
@@ -146,6 +152,8 @@ profile lookup is needed.
|
|
|
146
152
|
| `billing portal` | Open the hosted billing portal and print its URL. | |
|
|
147
153
|
| `usage` | Aggregate proxy calls and credits. | |
|
|
148
154
|
| `logs` | Recent proxy calls. | |
|
|
155
|
+
| `config account` | Read or set the default connected account selector. | local |
|
|
156
|
+
| `config page` | Read or set the default LinkedIn company Page selector. | local |
|
|
149
157
|
| `config cache ttl` | Read or set the live-read proxy cache TTL in seconds. | |
|
|
150
158
|
|
|
151
159
|
### `social linkedin`
|
|
@@ -160,6 +168,9 @@ profile lookup is needed.
|
|
|
160
168
|
| `company <target>` | Fetch a company profile. | |
|
|
161
169
|
| `jobs <target>` | List a company's job postings. | |
|
|
162
170
|
| `search people\|posts\|jobs\|companies <keywords>` | Search LinkedIn. | |
|
|
171
|
+
| `page visitors` | Read company Page visitor analytics; pass `--page` or configure a default Page. Costs credits. | |
|
|
172
|
+
| `page invite <user...>` | Invite one or more users to follow the company Page selected by `--page` or default config. | write |
|
|
173
|
+
| `proxy` | Forward a raw LinkedIn JSON envelope from stdin via Unipile. | write |
|
|
163
174
|
| `sync [collection]` | Pull your own `connections`, `posts`, `messages`, or `requests` into the local mirror; costs credits. | local |
|
|
164
175
|
| `sql [query]` | Query your local mirror with read-only SQL - free; bare `sql` prints compact schema metadata. | |
|
|
165
176
|
| `post` | Create a post (body from stdin). | write |
|
|
@@ -294,6 +305,7 @@ social linkedin sql "SELECT user_name, user_username FROM li_requests WHERE type
|
|
|
294
305
|
|
|
295
306
|
# LinkedIn live reads.
|
|
296
307
|
social linkedin profile
|
|
308
|
+
social linkedin page visitors --page company_id:<company-id> --since 2026-05-01T00:00:00Z
|
|
297
309
|
PAGE1=$(social linkedin posts profile_id:<profile-id> --limit 25)
|
|
298
310
|
NEXT=$(echo "$PAGE1" | jq -r '.meta.cursor // empty')
|
|
299
311
|
[ -n "$NEXT" ] && social linkedin posts profile_id:<profile-id> --limit 25 --cursor "$NEXT"
|
|
@@ -314,8 +326,13 @@ social x replies post_id:<post-id> --limit 25
|
|
|
314
326
|
# Writes (body via stdin).
|
|
315
327
|
echo "gm" | social x post
|
|
316
328
|
social linkedin post < draft.md
|
|
329
|
+
social linkedin page invite profile_id:<profile-id> @username --page company_id:<company-id>
|
|
317
330
|
echo "Loved your launch notes." | social linkedin requests send profile_id:<profile-id>
|
|
318
331
|
|
|
332
|
+
# LinkedIn raw proxy.
|
|
333
|
+
social account config page company_id:<company-id>
|
|
334
|
+
social linkedin proxy < request.json
|
|
335
|
+
|
|
319
336
|
# Usage / billing.
|
|
320
337
|
social account billing
|
|
321
338
|
social account billing portal
|