botschat 0.1.21 → 0.1.23
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 +68 -1
- package/package.json +1 -1
- package/packages/plugin/package.json +6 -3
- package/packages/web/dist/assets/{index-STIPTMK8.js → index-BaRi2ZPe.js} +112 -111
- package/packages/web/dist/assets/index-Be-wHtaM.js +1 -0
- package/packages/web/dist/assets/index-C8XPcaR1.js +2 -0
- package/packages/web/dist/assets/index-CyXci1aU.js +2 -0
- package/packages/web/dist/assets/{index-MyoWvQAH.js → index-DVvunB1I.js} +1 -1
- package/packages/web/dist/assets/{index-C_GamcQc.js → index-SvEo7uGi.js} +1 -1
- package/packages/web/dist/assets/{index.esm-BpQAwtdR.js → index.esm-DAPLRyFT.js} +1 -1
- package/packages/web/dist/assets/{web-BbTzVNLt.js → web-C6s08DDW.js} +1 -1
- package/packages/web/dist/assets/{web-cnzjgNfD.js → web-K88lR3JA.js} +1 -1
- package/packages/web/dist/index.html +1 -1
- package/packages/web/src/App.tsx +36 -2
- package/packages/web/src/components/LoginPage.tsx +19 -0
- package/packages/web/dist/assets/index-BtpsFe4Z.js +0 -2
- package/packages/web/dist/assets/index-CQbIYr6_.js +0 -2
- package/packages/web/dist/assets/index-LiBjPMg2.js +0 -1
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
[](https://github.com/botschat-app/botsChat/releases/latest/download/BotsChat-mac.dmg)
|
|
7
7
|
[](https://apps.apple.com/app/botschat-chat-with-agent/id6759292058)
|
|
8
|
+
[](https://play.google.com/store/apps/details?id=app.botschat.console)
|
|
8
9
|
|
|
9
10
|
A self-hosted, **end-to-end encrypted** chat interface for [OpenClaw](https://github.com/openclaw/openclaw) AI agents.
|
|
10
11
|
|
|
@@ -105,7 +106,7 @@ BotsChat is **100% open source** — the [same code](https://github.com/botschat
|
|
|
105
106
|
| **B. Run Locally** | Development, no cloud account | Yes |
|
|
106
107
|
| **C. Deploy to Cloudflare** | Remote access (e.g. from phone) | Yes |
|
|
107
108
|
|
|
108
|
-
> **Native Apps**: A macOS client is available — [download the latest DMG](https://github.com/botschat-app/botsChat/releases/latest/download/BotsChat-mac.dmg) (signed and notarized, Apple Silicon + Intel). An iOS app is
|
|
109
|
+
> **Native Apps**: A macOS client is available — [download the latest DMG](https://github.com/botschat-app/botsChat/releases/latest/download/BotsChat-mac.dmg) (signed and notarized, Apple Silicon + Intel). An iOS app is available on the [App Store](https://apps.apple.com/app/botschat-chat-with-agent/id6759292058). An Android app is available on [Google Play](https://play.google.com/store/apps/details?id=app.botschat.console).
|
|
109
110
|
|
|
110
111
|
Pick one below and follow its steps, then continue to [Install the OpenClaw Plugin](#install-the-openclaw-plugin).
|
|
111
112
|
|
|
@@ -252,6 +253,72 @@ Open the BotsChat web UI in your browser, sign in, and start chatting with your
|
|
|
252
253
|
4. Your API keys, agent configs, and data never leave your machine — only chat messages travel through the relay.
|
|
253
254
|
5. With **E2E encryption** enabled, messages are encrypted **before** step 3 and decrypted **after** — the ConnectionDO and database only ever see ciphertext.
|
|
254
255
|
|
|
256
|
+
## CLI
|
|
257
|
+
|
|
258
|
+
BotsChat includes a command-line client with full E2E encryption support. No install needed — use `npx`:
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
npx @botschat/botschat login # Login via browser (Google/GitHub/Apple)
|
|
262
|
+
npx @botschat/botschat chat "Hello" # Send a message
|
|
263
|
+
npx @botschat/botschat chat -i # Interactive chat
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
Or install globally for shorter commands:
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
npm i -g @botschat/botschat
|
|
270
|
+
botschat login
|
|
271
|
+
botschat chat "Hello"
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Login
|
|
275
|
+
|
|
276
|
+
```bash
|
|
277
|
+
npx @botschat/botschat login # Browser OAuth (recommended)
|
|
278
|
+
npx @botschat/botschat --url http://localhost:8787 login --dev --secret <secret> # Local dev
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
Running `login` opens your browser, you sign in normally, and credentials are saved to `~/.botschat/config.json`.
|
|
282
|
+
|
|
283
|
+
### Chat
|
|
284
|
+
|
|
285
|
+
```bash
|
|
286
|
+
npx @botschat/botschat chat "What can you do?" # Single-shot
|
|
287
|
+
npx @botschat/botschat chat -i # Interactive REPL
|
|
288
|
+
echo "Summarize this log" | npx @botschat/botschat chat --pipe # Pipe from stdin
|
|
289
|
+
npx @botschat/botschat --json chat "Hello" # JSON output
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Management
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
npx @botschat/botschat whoami # Current user info
|
|
296
|
+
npx @botschat/botschat channels # List channels
|
|
297
|
+
npx @botschat/botschat sessions <channelId> # List sessions
|
|
298
|
+
npx @botschat/botschat models # List available models
|
|
299
|
+
npx @botschat/botschat models set <modelId> # Set default model
|
|
300
|
+
npx @botschat/botschat tasks # List background tasks
|
|
301
|
+
npx @botschat/botschat tasks run <channelId> <taskId> # Run a task now
|
|
302
|
+
npx @botschat/botschat jobs <taskId> # Job execution history
|
|
303
|
+
npx @botschat/botschat messages <sessionKey> # Message history
|
|
304
|
+
npx @botschat/botschat tokens # Manage pairing tokens
|
|
305
|
+
npx @botschat/botschat status # OpenClaw connection status
|
|
306
|
+
npx @botschat/botschat config # View config
|
|
307
|
+
npx @botschat/botschat config e2e --password <pwd> # Set E2E encryption password
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### Agent Skill
|
|
311
|
+
|
|
312
|
+
Install BotsChat as a skill for your AI coding agent (Claude Code, Cursor, Codex, Amp, Cline, and [40+ more](https://github.com/nichochar/skills)):
|
|
313
|
+
|
|
314
|
+
```bash
|
|
315
|
+
npx skills add botschat-app/botsChat
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
This gives your agent access to `botschat chat`, `botschat channels`, `botschat status`, and other commands — letting it interact with BotsChat directly.
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
255
322
|
## Plugin Reference
|
|
256
323
|
|
|
257
324
|
### Configuration
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botschat/botschat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "BotsChat channel plugin for OpenClaw — connects your OpenClaw agent to the BotsChat cloud platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
|
-
"botschat-setup": "./bin/botschat-setup.mjs"
|
|
9
|
+
"botschat-setup": "./bin/botschat-setup.mjs",
|
|
10
|
+
"botschat": "./bin/botschat-cli.mjs"
|
|
10
11
|
},
|
|
11
12
|
"openclaw": {
|
|
12
13
|
"extensions": [
|
|
@@ -37,7 +38,8 @@
|
|
|
37
38
|
"files": [
|
|
38
39
|
"dist/",
|
|
39
40
|
"bin/",
|
|
40
|
-
"openclaw.plugin.json"
|
|
41
|
+
"openclaw.plugin.json",
|
|
42
|
+
"SKILL.md"
|
|
41
43
|
],
|
|
42
44
|
"publishConfig": {
|
|
43
45
|
"access": "public"
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
"openclaw": "*"
|
|
47
49
|
},
|
|
48
50
|
"dependencies": {
|
|
51
|
+
"commander": "^12",
|
|
49
52
|
"ws": "^8.18.0"
|
|
50
53
|
},
|
|
51
54
|
"devDependencies": {
|