@ethosagent/cli 0.3.4 → 0.3.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/README.md +26 -0
- package/dist/index.js +5482 -404
- package/package.json +22 -11
- package/scripts/postinstall.mjs +65 -0
package/README.md
CHANGED
|
@@ -22,6 +22,32 @@ npm install -g @ethosagent/cli
|
|
|
22
22
|
|
|
23
23
|
Requires Node 24+.
|
|
24
24
|
|
|
25
|
+
#### Lean install (CLI mode only, no platform adapters)
|
|
26
|
+
|
|
27
|
+
The default install pulls in **optional** SDKs for the channel adapters
|
|
28
|
+
(Telegram, Slack, Discord, email) and the `playwright` browser used by
|
|
29
|
+
`vision_analyze`. If you only want the CLI / REPL surface, skip them:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install -g @ethosagent/cli --omit=optional
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Roughly **2× faster install** and a fraction of the package count.
|
|
36
|
+
You can install the specific adapter later when you wire it up — e.g.
|
|
37
|
+
`npm install -g @slack/bolt` once you decide to connect Slack. `ethos
|
|
38
|
+
doctor` reports which platform SDKs are present.
|
|
39
|
+
|
|
40
|
+
#### Known install warning
|
|
41
|
+
|
|
42
|
+
You may see a `npm warn deprecated prebuild-install@7.1.3` line during
|
|
43
|
+
install. This comes from `better-sqlite3`'s native-module build chain
|
|
44
|
+
(and, on the default install, `sharp` via the optional ML toolkit) —
|
|
45
|
+
both upstream libraries still rely on it. `prebuild-install` is
|
|
46
|
+
deprecated but functional; install succeeds and Ethos works normally.
|
|
47
|
+
Using `--omit=optional` removes the `sharp` half of the warning;
|
|
48
|
+
removing the `better-sqlite3` half requires upstream changes we don't
|
|
49
|
+
control. Tracked upstream; no action needed on your side.
|
|
50
|
+
|
|
25
51
|
### From source
|
|
26
52
|
|
|
27
53
|
```bash
|