@usesocial/cli 0.1.3 → 0.2.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 +36 -0
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @usesocial/cli
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`26ca563`](https://github.com/usesocial/monorepo/commit/26ca5635ef5947a08f79d1ffc71fa926571ab0e0) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Add hidden `social <x|linkedin> sync <collection>` and `social <x|linkedin> sql` commands for a per-account local SQLite mirror. `sync` page-walks one collection (cost-estimated, gated by `--billing-limit`, default $10; `--since` windows incremental collections), `sql` runs read-only SQL or prints the schema. The commands remain invokable directly, but stay out of provider help while the cache surface settles. Live reads are unchanged.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Price every proxy call from the scraped X price list (mirrored for LinkedIn) against a single `usage_credits` balance, fixing a 10–40× write overcharge that mapped non-DM writes to the most expensive category. `account usage` and `account logs` now report cost in credits, and repeated X reads served from cache no longer recharge.
|
|
12
|
+
|
|
13
|
+
- [`df52bf7`](https://github.com/usesocial/monorepo/commit/df52bf795e39c333d25b0618cedc047ad6f14b24) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Limit `--no-cache` to generated commands backed by cacheable proxy reads so non-cacheable DM, message, timeline, bookmark, and write commands no longer send misleading cache-control headers.
|
|
14
|
+
|
|
15
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Reshape the root command surface to `account · schema · x · linkedin` and fold the old `auth` and `accounts` groups into one `account` command: bare `social account` prints the auth state plus connected accounts, with `login`, `logout`, `connect`, `reconnect`, `disconnect`, `usage`, `logs`, and `config` (including `config cache mode|ttl`) as subcommands. `account usage` shows the billing overview and `account logs` lists recent proxy calls. Own-account commands now infer the X account ID instead of requiring it, and account selectors carry reconnect hints.
|
|
16
|
+
|
|
17
|
+
- [`1a6461e`](https://github.com/usesocial/monorepo/commit/1a6461e39dc02640948de49b26b13e3ba3c1bc4b) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Rewrite generated provider help and schema descriptions to show summary, capability, and runnable usage instead of internal HTTP routes.
|
|
18
|
+
|
|
19
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Unify identifier positionals across X and LinkedIn into one explicit `target` grammar: every command accepts an `@handle`, a profile/post/status URL, a typed `kind:id` reference (e.g. `chat_id:…`, `request_id:…`), or `me`. Pure-parse targets resolve for free; `@handle` lookups are cached and reported under `meta.resolved` with a `source`. Writes return openable URLs and audit-friendly IDs, and read envelopes carry richer default payloads.
|
|
20
|
+
|
|
21
|
+
- [`a93af9c`](https://github.com/usesocial/monorepo/commit/a93af9cdbde74f6552cba9e465425526d4f5ddcc) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Limit account connect and reconnect JSON output to the connected account details.
|
|
22
|
+
|
|
23
|
+
- [`26ca563`](https://github.com/usesocial/monorepo/commit/26ca5635ef5947a08f79d1ffc71fa926571ab0e0) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Hide the LinkedIn `search` group from `social linkedin --help` (still invokable).
|
|
24
|
+
|
|
25
|
+
- [`1893cc5`](https://github.com/usesocial/monorepo/commit/1893cc5d715ffde41b83f7f9822f7b3aca0a305a) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Send LinkedIn inbox mark-read and mark-unread writes with Unipile's current `read_status` body, and keep legacy installed CLIs working through a proxy-side body transform.
|
|
26
|
+
|
|
27
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Add edit and delete write verbs to the LinkedIn inbox — `linkedin message <chat> edit message_id:<id> <text>` and `linkedin message <chat> delete message_id:<id>` — alongside `linkedin messages <chat> mark <status>` for read-status. Delete requires confirmation and now correctly meters its `204 No Content` response as one billed write instead of advertising a cost it never charged.
|
|
28
|
+
|
|
29
|
+
- [`5278a68`](https://github.com/usesocial/monorepo/commit/5278a68e436523d2f910b1e9e065efc3f20fbfc3) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Cap `linkedin messages --limit` at 20 for inbox conversation lists so the CLI fails locally instead of sending provider-rejected LinkedIn inbox requests.
|
|
30
|
+
|
|
31
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Add the full LinkedIn relation-request lifecycle under a `requests` group: `requests send <target> [message]` (renamed from the old root `connect`), `requests sent`, `requests received`, `requests accept request_id:<id>`, and `requests cancel request_id:<id>`.
|
|
32
|
+
|
|
33
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Refresh the LinkedIn surface with richer profiles: `linkedin profile` defaults to `about,experience,education`, reads embed inline author cards, `linkedin connections` routes through the supported connections endpoint, and cache-control flags are honored on cacheable reads.
|
|
34
|
+
|
|
35
|
+
- [`2483598`](https://github.com/usesocial/monorepo/commit/2483598ba0e471a1a0bb7c8819dae158005d0b28) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Replace cacheable-read `--no-cache` with repeatable `--header`/`-H` request headers, including `Cache-Control` overrides for proxy cache freshness.
|
|
36
|
+
|
|
37
|
+
- [`83650e6`](https://github.com/usesocial/monorepo/commit/83650e6f77b94d5cd4a3a5ec673164ff103d6573) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Expand the X read surface with six new commands — `x likers`, `x quotes`, `x reposters`, `x liked`, `x mentions`, and `x profile` (fetch any profile by target, not just your own) — and unify direct messages into `x messages` (list or read a thread) plus a single `x message <target> <text>` send verb. Read payloads now inline data already paid for, including DM sender identity, via default field presets.
|
|
38
|
+
|
|
3
39
|
## 0.1.2
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
package/dist/index.mjs
CHANGED
|
@@ -20756,8 +20756,8 @@ const env = createEnv({
|
|
|
20756
20756
|
SOCIAL_WEB_URL: process.env.SOCIAL_WEB_URL,
|
|
20757
20757
|
WSL_DISTRO_NAME: process.env.WSL_DISTRO_NAME,
|
|
20758
20758
|
WSL_INTEROP: process.env.WSL_INTEROP,
|
|
20759
|
-
NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN:
|
|
20760
|
-
NEXT_PUBLIC_POSTHOG_HOST:
|
|
20759
|
+
NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN: process.env.NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN,
|
|
20760
|
+
NEXT_PUBLIC_POSTHOG_HOST: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
|
20761
20761
|
CI: process.env.CI,
|
|
20762
20762
|
DO_NOT_TRACK: process.env.DO_NOT_TRACK,
|
|
20763
20763
|
SOCIAL_DO_NOT_TRACK: process.env.SOCIAL_DO_NOT_TRACK
|
|
@@ -20775,7 +20775,7 @@ const env = createEnv({
|
|
|
20775
20775
|
}
|
|
20776
20776
|
});
|
|
20777
20777
|
const SERVICE_NAME = "social-cli";
|
|
20778
|
-
const VERSION = "0.
|
|
20778
|
+
const VERSION = "0.2.0";
|
|
20779
20779
|
const apiURL = (path) => createAbsoluteURL(env.SOCIAL_API_URL, path);
|
|
20780
20780
|
//#endregion
|
|
20781
20781
|
//#region src/lib/bearer.ts
|