@theopenbee/cli 0.0.5 β 0.0.6
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 +146 -0
- package/package.json +9 -8
package/README.md
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1>π OpenBee</h1>
|
|
3
|
+
<p><strong>Run Claude AI as your digital employee β command via Lark, DingTalk, WeCom, WeChat, or Telegram</strong></p>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
<div align="center">
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/@theopenbee/cli)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](https://github.com/theopenbee/openbee/releases)
|
|
11
|
+
[](https://github.com/theopenbee/openbee)
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
[δΈζ](README.zh.md)
|
|
16
|
+
|
|
17
|
+
**OpenBee** is a digital employee solution that runs on your personal computer or server. You can communicate with it via Lark / DingTalk / WeCom / WeChat / Telegram to create workers, assign tasks, and much more β let your imagination run wild!
|
|
18
|
+
|
|
19
|
+
## β¨ Features
|
|
20
|
+
|
|
21
|
+
<div align="center">
|
|
22
|
+
|
|
23
|
+
| | | |
|
|
24
|
+
|:---:|:---:|:---:|
|
|
25
|
+
| π€ **AI Workers** | π¬ **Multi-IM Support** | π§ **Persistent Memory** |
|
|
26
|
+
| Each Worker is a Claude AI agent capable of multi-step task planning and independent execution | Native support for Lark, DingTalk, WeCom, WeChat, and Telegram β receive and reply in the same conversation | Workers retain long-term memory across sessions, knowing context just like a real employee |
|
|
27
|
+
| π§ **MCP Tool Invocation** | β° **Scheduled Tasks** | π₯οΈ **Web Console** |
|
|
28
|
+
| Extend capabilities via MCP protocol β read files, call APIs, query databases | Cron-based scheduling for automatic, hands-free triggering | Visual interface for Worker management, task history, and real-time logs |
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
## π Quick Start
|
|
33
|
+
|
|
34
|
+
### Step 1: Install
|
|
35
|
+
|
|
36
|
+
<details open>
|
|
37
|
+
<summary>π¦ npm (Recommended)</summary>
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm install -g @theopenbee/cli
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The platform-specific binary is downloaded automatically. Supports Linux / macOS / Windows (amd64 & arm64).
|
|
44
|
+
|
|
45
|
+
</details>
|
|
46
|
+
|
|
47
|
+
<details>
|
|
48
|
+
<summary>π§ One-click Script</summary>
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
curl -fsSL https://raw.githubusercontent.com/theopenbee/openbee/main/install.sh | bash
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
</details>
|
|
55
|
+
|
|
56
|
+
<details>
|
|
57
|
+
<summary>πΊ brew (macOS) / scoop (Windows)</summary>
|
|
58
|
+
|
|
59
|
+
**macOS (Homebrew):**
|
|
60
|
+
```bash
|
|
61
|
+
brew install theopenbee/tap/openbee
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Windows (Scoop):**
|
|
65
|
+
```bash
|
|
66
|
+
scoop bucket add theopenbee https://github.com/theopenbee/scoop-bucket
|
|
67
|
+
scoop install theopenbee/openbee
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</details>
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>π₯ Manual Binary Download</summary>
|
|
74
|
+
|
|
75
|
+
Visit [GitHub Releases](https://github.com/theopenbee/openbee/releases), download the archive for your platform, extract it, and place the `openbee` executable in your PATH.
|
|
76
|
+
|
|
77
|
+
</details>
|
|
78
|
+
|
|
79
|
+
### Step 2: Generate a config file
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
openbee config
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
The wizard will guide you through:
|
|
86
|
+
- Server port / host
|
|
87
|
+
- Claude executable path
|
|
88
|
+
- MCP API Key (can be randomly generated)
|
|
89
|
+
- IM platform(s) to enable (Lark / DingTalk / WeCom / WeChat / Telegram) and their credentials
|
|
90
|
+
- Advanced options (can be skipped to use defaults)
|
|
91
|
+
|
|
92
|
+
The config file is written to `config.yaml` in the current directory by default. Use `-o` to specify a custom path:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
openbee config -o /path/to/config.yaml
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Step 3: Start the service
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
openbee server -d
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Step 4: Start using
|
|
105
|
+
|
|
106
|
+
- Open the Web Console (default [http://localhost:8080](http://localhost:8080)) to manage Workers and view task status
|
|
107
|
+
- Send messages directly in any configured IM platform (Lark / DingTalk / WeCom / WeChat / Telegram) to interact with OpenBee
|
|
108
|
+
|
|
109
|
+
## βοΈ How It Works
|
|
110
|
+
|
|
111
|
+
```mermaid
|
|
112
|
+
graph TD
|
|
113
|
+
A["π¬ IM Platforms\nLark / DingTalk / WeCom / WeChat / Telegram"] --> B["π Platform Integration Layer"]
|
|
114
|
+
B --> C["π¨ Message Ingestion & Task Scheduling"]
|
|
115
|
+
C --> D["π€ Workers β Digital Employees\nClaude AI Agents"]
|
|
116
|
+
D --> C
|
|
117
|
+
D -. "Status" .-> E["π₯οΈ Web Console"]
|
|
118
|
+
C -. "Logs" .-> E
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
OpenBee consists of four core layers:
|
|
122
|
+
|
|
123
|
+
**1. Platform Integration Layer**
|
|
124
|
+
Connects to IM platforms such as Lark, DingTalk, WeCom, WeChat, and Telegram to receive user messages in real time and reply with results in the same conversation.
|
|
125
|
+
|
|
126
|
+
**2. Message Ingestion & Task Scheduling**
|
|
127
|
+
Debounces and aggregates incoming messages, then routes them to the appropriate Worker for execution. Scheduled tasks are also supported for automatic, time-based triggering.
|
|
128
|
+
|
|
129
|
+
**3. Workers (Digital Employees)**
|
|
130
|
+
Each Worker is an intelligent agent powered by Claude AI, equipped with persistent memory, tool invocation (MCP), and multi-step task planning. Workers can be created, configured, and assigned tasks to complete independently β just like real employees.
|
|
131
|
+
|
|
132
|
+
**4. Web Console**
|
|
133
|
+
Provides a visual interface for Worker management, task execution history, and real-time logs, making monitoring and debugging straightforward.
|
|
134
|
+
|
|
135
|
+
## π Star History
|
|
136
|
+
|
|
137
|
+
<div align="center">
|
|
138
|
+
|
|
139
|
+
[](https://star-history.com/#theopenbee/openbee&Date)
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
## π€ Community
|
|
144
|
+
|
|
145
|
+
- π **Bug reports / Feature requests** β [GitHub Issues](https://github.com/theopenbee/openbee/issues)
|
|
146
|
+
- π€ **Contributing** β Please read the [Contributing Guide](CONTRIBUTING.md). You must agree to the [Contributor License Agreement (CLA)](CLA.md) before submitting.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theopenbee/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "openbee CLI",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
|
11
|
-
"lib/"
|
|
11
|
+
"lib/",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
13
14
|
"optionalDependencies": {
|
|
14
|
-
"@theopenbee/cli-linux-x64": "0.0.
|
|
15
|
-
"@theopenbee/cli-linux-arm64": "0.0.
|
|
16
|
-
"@theopenbee/cli-darwin-x64": "0.0.
|
|
17
|
-
"@theopenbee/cli-darwin-arm64": "0.0.
|
|
18
|
-
"@theopenbee/cli-win32-x64": "0.0.
|
|
19
|
-
"@theopenbee/cli-win32-arm64": "0.0.
|
|
15
|
+
"@theopenbee/cli-linux-x64": "0.0.6",
|
|
16
|
+
"@theopenbee/cli-linux-arm64": "0.0.6",
|
|
17
|
+
"@theopenbee/cli-darwin-x64": "0.0.6",
|
|
18
|
+
"@theopenbee/cli-darwin-arm64": "0.0.6",
|
|
19
|
+
"@theopenbee/cli-win32-x64": "0.0.6",
|
|
20
|
+
"@theopenbee/cli-win32-arm64": "0.0.6"
|
|
20
21
|
},
|
|
21
22
|
"engines": {
|
|
22
23
|
"node": ">=14"
|