@egoai/platform 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +14 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,6 +5,12 @@
5
5
 
6
6
  An OpenClaw channel plugin that connects an OpenClaw agent to SideClaw for real-time AI voice conversations.
7
7
 
8
+ > Package/repo naming note:
9
+ > - npm package: `@egoai/platform`
10
+ > - GitHub repository / source checkout: `character-platform-plugin`
11
+ >
12
+ > The package was renamed for publishing, but the source repository still lives under the `character-platform-plugin` repo name.
13
+
8
14
  ## Install
9
15
 
10
16
  ### From npm
@@ -16,7 +22,7 @@ openclaw plugins install @egoai/platform
16
22
  ### From source
17
23
 
18
24
  ```bash
19
- git clone https://github.com/egotv/sideclaw-plugin.git
25
+ git clone https://github.com/egotv/character-platform-plugin.git
20
26
  cd character-platform-plugin
21
27
  npm install
22
28
  openclaw plugins install .
@@ -24,15 +30,15 @@ openclaw plugins install .
24
30
 
25
31
  ## Configuration
26
32
 
27
- Add the following to your `openclaw.json` under `channels.sideclaw`:
33
+ Add the following to your `openclaw.json` under `channels.platform`:
28
34
 
29
35
  ```jsonc
30
36
  {
31
37
  "channels": {
32
- "sideclaw": {
38
+ "platform": {
33
39
  "enabled": true,
34
- "platformUrl": "ws://sideclaw-host:19999",
35
- "platformKey": "sk_pair_YOUR_TOKEN_HERE"
40
+ "platformKey": "sk_pai...HERE",
41
+ "platformUrl": "ws://sideclaw-host:19999"
36
42
  }
37
43
  }
38
44
  }
@@ -41,9 +47,9 @@ Add the following to your `openclaw.json` under `channels.sideclaw`:
41
47
  Or use the CLI:
42
48
 
43
49
  ```bash
44
- openclaw config set channels.sideclaw.enabled true
45
- openclaw config set channels.sideclaw.platformUrl "ws://sideclaw-host:19999"
46
- openclaw config set channels.sideclaw.platformKey "sk_pair_YOUR_TOKEN_HERE"
50
+ openclaw config set channels.platform.enabled true
51
+ openclaw config set channels.platform.platformKey "<key>"
52
+ openclaw config set channels.platform.platformUrl "<url>"
47
53
  ```
48
54
 
49
55
  ### Config fields
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egoai/platform",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin character platform",
6
6
  "main": "./src/index.ts",