@usesocial/cli 0.2.3 → 0.2.5

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @usesocial/cli
2
2
 
3
+ ## 0.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7](https://github.com/usesocial/monorepo/pull/7) [`28a46ee`](https://github.com/usesocial/monorepo/commit/28a46ee3330a83b806cfcb95684d4b4493bcb2b5) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Inline PostHog release environment variables into the published CLI bundle.
8
+
9
+ ## 0.2.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ef4d221`](https://github.com/usesocial/monorepo/commit/ef4d221adc93f52a7afd3cbcfbc35d5d4d5b6131) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Bundle the CLI environment helper so the npm tarball can run directly from Homebrew.
14
+
3
15
  ## 0.2.3
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <h1 align="center">@usesocial/cli</h1>
9
9
 
10
- **Agent-run distribution.** One install, one login, and your agent can run
10
+ **LinkedIn & X CLI.** One install, one login, and your agent can run
11
11
  distribution work across X and LinkedIn — outreach, posting, audience insights,
12
12
  and the follow-up loops between them — from any shell.
13
13
 
@@ -95,7 +95,7 @@ connected account.
95
95
  | `config cache mode` | Read or set the cache mode preset. | |
96
96
  | `config cache ttl` | Set a custom cache TTL in seconds. | |
97
97
 
98
- `social account` returns compact JSON with the signed-in user and connected accounts.
98
+ `social account` returns compact JSON with the authenticated user and connected accounts.
99
99
 
100
100
  ### `social linkedin`
101
101
 
package/bin/social.mjs CHANGED
@@ -5,7 +5,9 @@ import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  const packageRoot = dirname(dirname(fileURLToPath(import.meta.url)));
6
6
  const entryURL = pathToFileURL(join(packageRoot, "dist", "index.mjs")).href;
7
7
 
8
- import(entryURL).catch((error) => {
9
- console.error(error);
10
- process.exit(1);
11
- });
8
+ import(entryURL)
9
+ .then(({ main }) => main())
10
+ .catch((error) => {
11
+ console.error(error);
12
+ process.exit(1);
13
+ });