openviber 0.5.1 → 0.5.2

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 CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  # OpenViber
6
6
 
7
- ### The Open Source Cowork Desktop for Your AI Workforce
8
-
9
- <!-- SHIELD GROUP -->
7
+ ### You Imagine It. Tasks Build It.
10
8
 
11
9
  [![Download][download-shield]][viber-npm]
12
10
  [![GitHub Stars][github-star]][viber-github]
@@ -19,12 +17,12 @@
19
17
 
20
18
  ---
21
19
 
22
- **Viber** is an open-source Cowork Agent platform that runs AI teammates on your machine. Unlike cloud-based agent frameworks, Viber runs locally with full privacy, connects outbound to your enterprise channels, and automates real work while you sleep.
20
+ **OpenViber** is an open-source platform that turns your machine into a **Viber** — hosting role-scoped AI workers called **tasks** that automate real work. Unlike cloud-based agent frameworks, OpenViber runs locally with full privacy, connects outbound to your enterprise channels, and works autonomously while you sleep.
23
21
 
24
22
  ### ⭐ 100% Open Source · 🥇 Local Deployment · 🏆 MCP Integration
25
23
 
26
24
  - ✅ **Zero Setup** — No servers to host, just `npx openviber start`
27
- - ✅ **Multi-Agent Workforce** — Specialized agents working in parallel
25
+ - ✅ **Task Workforce** — Role-scoped tasks working in parallel
28
26
  - ✅ **Human-in-the-Loop** — Enterprise messaging channels (DingTalk, WeCom)
29
27
  - ✅ **Privacy First** — 100% local execution, data never leaves your machine
30
28
 
@@ -32,115 +30,119 @@
32
30
 
33
31
  ## 🚀 Quick Start
34
32
 
33
+ The fastest way to get started is using `npx`:
34
+
35
35
  ```bash
36
+ # 1. Set your API key (OpenRouter recommended)
37
+ export OPENROUTER_API_KEY="your_api_key_here"
38
+
39
+ # 2. Start OpenViber (Standalone Mode)
36
40
  npx openviber start
37
41
  ```
38
42
 
39
- ## 🧠 Personalization (The Three-File Pattern)
40
-
41
- OpenViber follows the same configuration pattern that has emerged across all serious agent systems (Claude Projects, Custom GPTs, Cursor Rules). Three markdown files define your agent's complete behavior:
42
-
43
- ```
44
- ~/.openviber/
45
- ├── soul.md # How your agent thinks and communicates
46
- ├── user.md # Who you are and what you're working on
47
- ├── memory.md # What your agent remembers over time
43
+ If you prefer to install it globally:
44
+ ```bash
45
+ npm install -g openviber
46
+ viber start
48
47
  ```
49
48
 
50
- | File | Purpose | Update Frequency |
51
- |------|---------|------------------|
52
- | **soul.md** | Communication style, boundaries, operational rules | Monthly |
53
- | **user.md** | Current projects, priorities, preferences | Daily/Weekly |
54
- | **memory.md** | Decisions, learned patterns, corrections | Grows organically |
55
-
56
- These files work as a system — a detailed personality is useless without user context, and memory without personality produces generic responses. The power comes from alignment between all three.
57
-
58
- **The skill transfers**: Time invested in configuring these files isn't locked into OpenViber. The pattern is identical across agent platforms, so your configuration travels with you.
49
+ ---
59
50
 
60
- See [Personalization Architecture](./docs/design/personalization.md) for setup instructions.
51
+ ## 🛠️ Development Setup
61
52
 
62
- ## Features
53
+ If you want to contribute or run from source:
63
54
 
64
- ### 🤖 Multi-Agent Workforce
55
+ ### 1. Prerequisites
56
+ - **Node.js** v18+ and **pnpm** (recommended)
57
+ - **tmux** installed (`brew install tmux` on macOS)
65
58
 
66
- Deploy specialized agents that work in parallel via simple YAML configuration:
59
+ ### 2. Installation
60
+ ```bash
61
+ git clone https://github.com/dustland/openviber.git
62
+ cd openviber
63
+ pnpm install
67
64
 
68
- ```yaml
69
- # examples/jobs/morning-standup.yaml
70
- name: morning-standup
71
- schedule: "0 9 * * 1-5"
72
- prompt: "Check my GitHub notifications and Slack mentions, summarize what needs my attention"
73
- model: anthropic/claude-sonnet-4-20250514
65
+ # Configure environment
66
+ cp .env.example .env
67
+ # Add your OPENROUTER_API_KEY to .env
74
68
  ```
75
69
 
76
- ### 🔧 Zero Configuration Skills
77
-
78
- Capabilities defined in `SKILL.md` files no code required:
70
+ ### 3. Launch full stack
71
+ ```bash
72
+ # Starts Gateway + Viber runtime (port 6009) and Web UI (port 6006)
73
+ pnpm dev
74
+ ```
75
+ - **Viber Board (Web UI)**: [http://localhost:6006](http://localhost:6006)
76
+ - **Viber Gateway**: [http://localhost:6009](http://localhost:6009)
79
77
 
80
- ```markdown
81
- ---
82
- name: git-commit
83
- description: Stage and commit changes
84
78
  ---
85
79
 
86
- git add . && git commit -m "$message"
87
- ```
80
+ ## 🧵 Interactive Experience
88
81
 
89
- ### 🌐 MCP Integration
82
+ OpenViber provides multiple ways to interact with your vibers, designed for both developers and teams.
90
83
 
91
- Connect to any Model Context Protocol server for extended capabilities:
84
+ ### 💻 Terminal Chat (tmux-friendly)
85
+ Use OpenViber from any terminal. It integrates deeply with tmux for streaming output and managing long-running tasks.
92
86
 
93
- ```yaml
94
- mcp_servers:
95
- - name: github
96
- command: npx -y @modelcontextprotocol/server-github
87
+ ```bash
88
+ # Start an interactive chat
89
+ viber chat
97
90
  ```
98
91
 
99
- ### 👤 Human-in-the-Loop
100
-
101
- Critical for long-running vibe-working tasks like vibe-coding:
92
+ ### 🌐 Viber Board (Web UI)
93
+ A modern, visual interface to manage your tasks, monitor jobs, and chat in real-time. Accessible at `http://localhost:6006` when running `pnpm dev`.
102
94
 
103
- - **Approval Gates** — Pause for human review before critical actions
104
- - **Interactive Channels** Real-time collaboration via DingTalk/WeCom
105
- - **Progressive Autonomy** — Start supervised, gradually increase agent freedom
106
- - **Context Handoff** — Seamlessly transfer context between human and agent
95
+ ### 🏢 Enterprise Channels
96
+ Deploy your tasks to where your team works. Support for **DingTalk** and **WeCom** is built-in.
107
97
 
108
- ```yaml
109
- # Example: Require approval for deployments
110
- approval_required:
111
- - deploy
112
- - delete
113
- - billing
98
+ ```bash
99
+ # Start the enterprise channel server
100
+ # Note: Defaults to port 6009. If running alongside 'viber start' (which also uses 6009), use a different port:
101
+ viber channels --port 6010
114
102
  ```
115
103
 
116
- ### 💬 Enterprise Channels
104
+ ---
117
105
 
118
- Native integrations for DingTalk (钉钉) and WeCom (企业微信):
106
+ ## 🧠 Personalization (The Three-File Pattern)
119
107
 
120
- ```bash
121
- openviber start --channel dingtalk --token YOUR_TOKEN
122
- openviber start --channel wecom --corpid YOUR_CORP
123
- ```
108
+ OpenViber follows a standardized configuration pattern for AI personality. Three markdown files define your task's complete behavior:
124
109
 
125
- ---
110
+ | File | Scope | Purpose | Update Frequency |
111
+ |------|-------|---------|------------------|
112
+ | **`user.md`** | Shared | Who you are, current projects, priorities | Daily/Weekly |
113
+ | **`soul.md`** | Per-task | Communication style, boundaries, rules | Monthly |
114
+ | **`memory.md`** | Per-task | Decisions, learned patterns, corrections | Grows organically |
126
115
 
127
- ## 📚 Examples
116
+ Location: `~/.openviber/vibers/default/`
128
117
 
129
- ### 🩹 Antigravity — Self-Healing for AI Coding Tools
118
+ ---
130
119
 
131
- A built-in skill example that monitors and recovers AI coding tools:
120
+ ## Key Features
132
121
 
122
+ ### 🤖 Task Workforce (Jobs)
123
+ Deploy autonomous workers via simple YAML cron jobs.
133
124
  ```yaml
134
- # examples/jobs/antigravity-healer.yaml
135
- name: antigravity-healer
136
- schedule: "*/3 * * * * *" # every 3 seconds
137
- skill: antigravity
138
- prompt: "Check Antigravity IDE status and auto-recover if errors found"
125
+ # examples/jobs/morning-standup.yaml
126
+ name: morning-standup
127
+ schedule: "0 9 * * 1-5" # Every weekday at 9 AM
128
+ prompt: "Check GitHub notifications, summarize what needs my attention."
129
+ ```
130
+
131
+ ### 🔧 Zero Configuration Skills
132
+ Capabilities are defined in `SKILL.md` files. No complex code required to extend your tasks.
133
+ ```markdown
134
+ ---
135
+ name: git-commit
136
+ description: Stage and commit changes
137
+ ---
138
+ git add . && git commit -m "$message"
139
139
  ```
140
140
 
141
- - **Monitors** all IDE windows for agent crashes
142
- - **Auto-recovers** by clicking Retry across multiple windows
143
- - **Keeps** your flow uninterrupted
141
+ ### 🌐 Model Context Protocol (MCP)
142
+ Seamlessly connect to any MCP server to give your tasks access to external tools like Google Maps, Slack, or custom internal APIs.
143
+
144
+ ### 👤 Human-in-the-Loop
145
+ Maintain control with approval gates. Tasks can be configured to pause and ask for permission before executing sensitive actions (e.g., deleting files, making payments).
144
146
 
145
147
  ---
146
148
 
@@ -148,73 +150,54 @@ prompt: "Check Antigravity IDE status and auto-recover if errors found"
148
150
 
149
151
  ```
150
152
  ┌─────────────────────────────────────────────────┐
151
- Viber Cowork Desktop
153
+ Viber
152
154
  │ │
153
- ┌──────────┐ ┌────────┐ ┌────────────────┐
154
- │ │ViberAgent│──│ Agents │──│ Tools
155
- │ (Leader) │(Workers)│ │(Browser/File) │ │
156
- └──────────┘ └────────┘ └────────────────┘
155
+ ┌────────────────────────────────────────────┐
156
+ │ │ dev-task │ researcher-task │ pm-task
157
+ └────────────────────────────────────────────┘
158
+
159
+ │ ┌────┴─────────────────────┐ │
160
+ │ │ Gateway (REST + WS) │ │
161
+ │ │ Scheduler + Dispatcher │ │
162
+ │ └──────────────────────────┘ │
157
163
  │ │ │
158
164
  │ ┌────┴─────────────────────┐ │
159
- │ │ Scheduler │ │
160
- │ │ (YAML Cron Jobs) │ │
165
+ │ │ Worker (Agent Engine) │ │
166
+ │ │ Tools + Skills + MCP │ │
161
167
  │ └──────────────────────────┘ │
162
168
  │ │ │
163
169
  │ ┌────┴─────────────────────┐ │
164
170
  │ │ Channels │ │
165
- │ │ DingTalk | WeCom | Web │ │
171
+ │ │ Board DingTalk CLI │ │
166
172
  │ └──────────────────────────┘ │
167
173
  └─────────────────────────────────────────────────┘
168
174
  ↓ ↓
169
175
  Outbound Only Local Execution
170
176
  ```
171
177
 
172
- ## 📦 Three Pillars
173
-
174
- | Component | What | Where |
175
- | ---------- | --------------------------- | ---------------- |
176
- | **Jobs** | Scheduled tasks (YAML cron) | `examples/jobs/` |
177
- | **Skills** | Capabilities (SKILL.md) | `skills/` |
178
- | **Tools** | Low-level primitives | `src/tools/` |
179
-
180
178
  ## 📊 Comparison
181
179
 
182
- | | Viber | Cloud Agents | IDE Plugins |
183
- | ---------- | :------------: | :---------------: | :---------: |
184
- | Deployment | Local app | Cloud server | Editor only |
185
- | Connection | Outbound | Inbound | None |
186
- | Jobs | YAML cron | Complex code | Manual |
187
- | Privacy | 100% local | Data leaves | Varies |
188
- | Channels | DingTalk/WeCom | WhatsApp/Telegram | None |
180
+ | Feature | OpenViber | Cloud Agents | IDE Plugins |
181
+ | :--- | :---: | :---: | :---: |
182
+ | **Deployment** | Local Viber | Cloud Server | Editor Only |
183
+ | **Connectivity** | Outbound | Inbound/Cloud | None |
184
+ | **Autonomy** | Full (Jobs/Cron) | Managed | Manual Trigger |
185
+ | **Privacy** | 100% Local | Data Leaves | Limited |
186
+ | **Channels** | Multi-channel | Web only | Chat only |
189
187
 
190
188
  ---
191
189
 
192
190
  ## 🤝 Contributing
193
191
 
194
- We welcome contributions! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
195
-
196
- ## 📄 License
197
-
198
- This project is licensed under the [Apache License 2.0](./LICENSE).
199
-
200
- ```
201
- Copyright 2024-2026 Dustland
202
-
203
- Licensed under the Apache License, Version 2.0 (the "License");
204
- you may not use this file except in compliance with the License.
205
- You may obtain a copy of the License at
192
+ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
206
193
 
207
- http://www.apache.org/licenses/LICENSE-2.0
208
- ```
194
+ ## Thanks
209
195
 
210
- ### 🙏 Acknowledgments
196
+ Special thanks to the maintainers and contributors of [awesome-openclaw-skills][awesome-openclaw-skills] for curating a high-quality OpenClaw skill catalog that helps power skill discovery in OpenViber.
211
197
 
212
- Viber is built on the shoulders of amazing open-source projects:
198
+ ## 📄 License
213
199
 
214
- - [Vercel AI SDK](https://sdk.vercel.ai) — Unified LLM interface
215
- - [Model Context Protocol](https://modelcontextprotocol.io) — Standardized tool integration
216
- - [Croner](https://github.com/hexagon/croner) — Lightweight cron scheduling
217
- - [Zod](https://zod.dev) — TypeScript-first schema validation
200
+ Licensed under the [Apache License 2.0](./LICENSE).
218
201
 
219
202
  ---
220
203
 
@@ -229,17 +212,16 @@ If you find Viber helpful, please ⭐ star us on GitHub!
229
212
  </div>
230
213
 
231
214
  <!-- LINKS -->
232
-
233
215
  [viber-site]: https://viber.dustland.ai
234
- [viber-github]: https://github.com/dustland/viber
216
+ [viber-github]: https://github.com/dustland/openviber
235
217
  [viber-npm]: https://www.npmjs.com/package/openviber
236
218
  [docs-site]: https://viber.dustland.ai/docs
237
- [github-issues]: https://github.com/dustland/viber/issues
238
- [license-link]: https://github.com/dustland/viber/blob/main/LICENSE
219
+ [github-issues]: https://github.com/dustland/openviber/issues
220
+ [license-link]: https://github.com/dustland/openviber/blob/main/LICENSE
221
+ [awesome-openclaw-skills]: https://github.com/VoltAgent/awesome-openclaw-skills
239
222
 
240
223
  <!-- SHIELDS -->
241
-
242
224
  [download-shield]: https://img.shields.io/badge/Download-Viber-blue?style=flat-square
243
- [github-star]: https://img.shields.io/github/stars/dustland/viber?style=flat-square&logo=github
225
+ [github-star]: https://img.shields.io/github/stars/dustland/openviber?style=flat-square&logo=github
244
226
  [npm-shield]: https://img.shields.io/npm/v/openviber?style=flat-square&logo=npm
245
- [license-shield]: https://img.shields.io/badge/License-Apache%202.0-green?style=flat-square
227
+ [license-shield]: https://img.shields.io/badge/License-Apache%202.0-green?style=flat-square