@angelmsger/wecom-channel-cli 0.1.0 → 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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +40 -10
package/README.md CHANGED
@@ -4,14 +4,20 @@ An independent channel connector for agents. Named channel contexts, a protected
4
4
  credential broker, polling without public ingress, optional authenticated
5
5
  callbacks, native emoji reactions, and exact-intent operator approvals.
6
6
 
7
- After the first release:
7
+ Install or upgrade:
8
8
 
9
9
  ```sh
10
- npm install -g @angelmsger/wecom-channel-cli
10
+ npm install -g @angelmsger/wecom-channel-cli@0.2.0
11
11
  wecom-channel-cli auth guide
12
12
  wecom-channel-cli skill install
13
13
  ```
14
14
 
15
+ For initial operator setup, supply `WECOM_CHANNEL_BOT_SECRET` locally and run
16
+ `wecom-channel-cli channel list --bot-id BOT_ID` before configuring a channel.
17
+ Choose `data.topic_id`, generate policy with `config example --bot-id BOT_ID
18
+ --channel CHANNEL_ID`, then provision the broker and matching client context.
19
+ Normal `channel list` uses the configured broker socket.
20
+
15
21
  Reload the agent context after refreshing the Skill. Operator provisioning and
16
22
  OS isolation are required before unattended use. Installation downloads the
17
23
  matching Linux/macOS binary and requires a valid SHA-256 checksum manifest.
package/package.json CHANGED
@@ -1,16 +1,46 @@
1
1
  {
2
2
  "name": "@angelmsger/wecom-channel-cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "WeCom channel connector for agents: isolated contexts, callback-free polling and operator-approved drafts.",
5
5
  "license": "MIT",
6
- "repository": {"type": "git", "url": "git+https://github.com/AngelMsger/wecom-channel-cli.git"},
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/AngelMsger/wecom-channel-cli.git"
9
+ },
7
10
  "homepage": "https://angelmsger.github.io/wecom-channel-cli/",
8
- "bin": {"wecom-channel-cli": "bin/wecom-channel-cli.js"},
9
- "scripts": {"postinstall": "node install.js", "test": "node --test install.test.js"},
10
- "files": ["bin/", "install.js", "README.md", "LICENSE"],
11
- "engines": {"node": ">=20"},
12
- "os": ["darwin", "linux"],
13
- "cpu": ["x64", "arm64"],
14
- "keywords": ["wecom", "channels", "agents", "cli", "security"],
15
- "publishConfig": {"access": "public", "provenance": true}
11
+ "bin": {
12
+ "wecom-channel-cli": "bin/wecom-channel-cli.js"
13
+ },
14
+ "scripts": {
15
+ "postinstall": "node install.js",
16
+ "test": "node --test install.test.js"
17
+ },
18
+ "files": [
19
+ "bin/",
20
+ "install.js",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "engines": {
25
+ "node": ">=20"
26
+ },
27
+ "os": [
28
+ "darwin",
29
+ "linux"
30
+ ],
31
+ "cpu": [
32
+ "x64",
33
+ "arm64"
34
+ ],
35
+ "keywords": [
36
+ "wecom",
37
+ "channels",
38
+ "agents",
39
+ "cli",
40
+ "security"
41
+ ],
42
+ "publishConfig": {
43
+ "access": "public",
44
+ "provenance": true
45
+ }
16
46
  }