@whalent/agent 0.1.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/README.md +29 -0
- package/dist/index.cjs +2 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @whalent/agent
|
|
2
|
+
|
|
3
|
+
Unified CLI agent for [Whalent Memory](https://memory.whalent.com).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @whalent/agent
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Requires Node.js >= 18 and C++ build tools for `node-pty` (`build-essential` on Linux).
|
|
12
|
+
|
|
13
|
+
## Start Daemon
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
whalent --token <YOUR_TOKEN>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The daemon connects to the Whalent Memory platform, fetches agent configurations, and auto-starts workers marked with `auto_restart`. It also accepts remote commands (upgrade, restart) via the gateway.
|
|
20
|
+
|
|
21
|
+
To specify a custom gateway:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
whalent --token <YOUR_TOKEN> --gateway wss://your-server/gw/sdk/ws
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
Copyright © 2025 Whalent. All rights reserved.
|