clisbot 0.1.39 → 0.1.41
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 +55 -7
- package/config/clisbot.json.template +12 -22
- package/config/clisbot.json.v0.1.39.template +1 -1
- package/dist/main.js +3137 -1758
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,6 +40,24 @@ The challenge is not whether AI is useful. It is how to make it work at enterpri
|
|
|
40
40
|
- Slack and Telegram are not treated as plain-text sinks: routed conversations can carry thread or topic identity, pairing, and file-aware workflows.
|
|
41
41
|
- Advanced multi-agent setup is available later, but it is not required for day one.
|
|
42
42
|
|
|
43
|
+
## CLI Compatibility Snapshot
|
|
44
|
+
|
|
45
|
+
`clisbot` currently works best with `codex`.
|
|
46
|
+
|
|
47
|
+
`claude` and `gemini` are both usable, but they need a bit more operator awareness today.
|
|
48
|
+
|
|
49
|
+
| CLI | Current Stability | Short Take |
|
|
50
|
+
| ----------| ---------------------| -------------------------------------------------------------------------------------------------------------|
|
|
51
|
+
| `codex` | Best today | Strongest default for routed coding work. |
|
|
52
|
+
| `claude` | Usable with caveats | Claude can surface its own plan-approval and auto-mode behavior even when launched with bypass-permissions. |
|
|
53
|
+
| `gemini` | Usable with caveats | Runner support is solid, but auth/setup gating and routed reply behavior still need more care. |
|
|
54
|
+
|
|
55
|
+
CLI-specific operator notes:
|
|
56
|
+
|
|
57
|
+
- [Codex CLI Guide](docs/user-guide/codex-cli.md)
|
|
58
|
+
- [Claude CLI Guide](docs/user-guide/claude-cli.md)
|
|
59
|
+
- [Gemini CLI Guide](docs/user-guide/gemini-cli.md)
|
|
60
|
+
|
|
43
61
|
## Quick Start
|
|
44
62
|
|
|
45
63
|
Platform support:
|
|
@@ -61,14 +79,16 @@ clisbot start \
|
|
|
61
79
|
|
|
62
80
|
If you want to try first without persisting the token yet, just remove `--persist`.
|
|
63
81
|
|
|
64
|
-
|
|
82
|
+
Next steps:
|
|
65
83
|
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
84
|
+
- For security, just as openclaw, direct message with the bot currently requires pairing and groups need explicit specified in allowlist by default.
|
|
85
|
+
- However, `clisbot` has smart autopairing feature to help you get started frictionless. Just send direct message to your bot (through telegram or slack) within 30 minutes so you can claim owner role automatically, and use the bot right away without pairing. After this 30 minutes window you need to approve pairing following instructions by the bot in direct message.
|
|
86
|
+
- To chat with the bot in a group:
|
|
87
|
+
- telegram: Add bot to group, then use slash command in that group /start, you will be guided with command to add a group. Run that command directly or copy that command and chat directly with the bot in DM to ask it do for you (since you are the owner, you are authorized to run that command). After completed, come back to the group and start talk with the bot.
|
|
88
|
+
- Notice that group has require mention (or tag the bot) enabled by default to avoid abuse. But it also has smart follow up within 5 minutes by default so you dont need to tag it again. You could change the mode by asking the bot to do for you.
|
|
89
|
+
- For long running task such as coding, you might want to toggle streaming mode on with slash command inside the chat "/streaming on", check streaming status anytime with "/streaming status". In slack, native slash command is unconventional so you can get around to use slash command with a space prefix such as " /streaming on", or use alias "\streaming on". This is also true for any other slash command supported by `clisbot`.
|
|
90
|
+
- slack:
|
|
91
|
+
- If you want to add more owner or app admin, grant that principal explicitly with the platform prefix plus the channel-native user id, for example `clisbot auth add-user app --role owner --user telegram:1276408333` or `clisbot auth add-user app --role admin --user slack:U123ABC456`.
|
|
72
92
|
- `clisbot auth --help` now covers role scopes, permission sets, and add/remove flows for users and permissions.
|
|
73
93
|
- App-level auth and owner-claim semantics in [Authorization And Roles](docs/user-guide/auth-and-roles.md) describe both the current runtime reality and the remaining target-model gaps.
|
|
74
94
|
|
|
@@ -76,6 +96,7 @@ Need the step-by-step setup docs instead of the shortest path?
|
|
|
76
96
|
|
|
77
97
|
- Telegram: [Telegram Bot Setup](docs/user-guide/telegram-setup.md)
|
|
78
98
|
- Slack: [Slack App Setup](docs/user-guide/slack-setup.md)
|
|
99
|
+
- Release notes: [CHANGELOG.md](CHANGELOG.md) and [docs/releases/](docs/releases/README.md)
|
|
79
100
|
- Slack app manifest template: [app-manifest.json](templates/slack/default/app-manifest.json)
|
|
80
101
|
- Slack app manifest guide: [app-manifest-guide.md](templates/slack/default/app-manifest-guide.md)
|
|
81
102
|
|
|
@@ -88,6 +109,20 @@ What happens next:
|
|
|
88
109
|
- fresh bootstrap only enables the channels you name explicitly
|
|
89
110
|
- after the persisted first run, later restarts can use plain `clisbot start`
|
|
90
111
|
|
|
112
|
+
## Big Upgrades In v0.1.39
|
|
113
|
+
|
|
114
|
+
- Much better native Slack and Telegram rendering, so replies are easier to read and feel far less like pasted terminal output.
|
|
115
|
+
- A much cleaner first-run path, with a clearer bot-first setup story and better setup docs.
|
|
116
|
+
- Stronger pairing, auth, and safer shared-channel behavior by default.
|
|
117
|
+
- More trustworthy long-running work, with better attach, detach, recovery, and operator visibility.
|
|
118
|
+
- Real recurring automation with `/loop`.
|
|
119
|
+
|
|
120
|
+
Read the full notes here:
|
|
121
|
+
|
|
122
|
+
- [CHANGELOG.md](CHANGELOG.md)
|
|
123
|
+
- [Release Notes Index](docs/releases/README.md)
|
|
124
|
+
- [v0.1.39 Release Notes](docs/releases/v0.1.39.md)
|
|
125
|
+
|
|
91
126
|
If you prefer Slack first:
|
|
92
127
|
|
|
93
128
|
```bash
|
|
@@ -113,6 +148,19 @@ bun run start --cli codex --bot-type personal --telegram-bot-token <your-telegra
|
|
|
113
148
|
|
|
114
149
|
Repo-local `bun run start|stop|restart|status|logs|init|pairing` is pinned by `.env` to `CLISBOT_HOME=~/.clisbot-dev`, so local testing does not accidentally reuse your main `~/.clisbot` runtime.
|
|
115
150
|
|
|
151
|
+
Upgrade note for existing installs:
|
|
152
|
+
|
|
153
|
+
- `v0.1.39` includes breaking changes in config shape and in the main CLI command surface.
|
|
154
|
+
- If you already run an older install, ask Codex or Claude in this repo to update your current config before upgrading.
|
|
155
|
+
- The upgrade itself is still simple:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
clisbot stop
|
|
159
|
+
npm install -g clisbot
|
|
160
|
+
clisbot start
|
|
161
|
+
clisbot --version
|
|
162
|
+
```
|
|
163
|
+
|
|
116
164
|
First conversation path:
|
|
117
165
|
|
|
118
166
|
- send a DM to the bot in Slack or Telegram
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"schemaVersion": "0.1.
|
|
3
|
+
"schemaVersion": "0.1.41",
|
|
4
4
|
"lastTouchedAt": "2026-04-18T10:10:00Z"
|
|
5
5
|
},
|
|
6
6
|
"app": {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"loadingMessages": []
|
|
128
128
|
},
|
|
129
129
|
"directMessages": {
|
|
130
|
-
"
|
|
130
|
+
"dm:*": {
|
|
131
131
|
"enabled": true,
|
|
132
132
|
"requireMention": false,
|
|
133
133
|
"policy": "pairing",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
},
|
|
193
193
|
"timezone": "UTC",
|
|
194
194
|
"directMessages": {
|
|
195
|
-
"
|
|
195
|
+
"dm:*": {
|
|
196
196
|
"enabled": true,
|
|
197
197
|
"requireMention": false,
|
|
198
198
|
"policy": "pairing",
|
|
@@ -224,14 +224,12 @@
|
|
|
224
224
|
},
|
|
225
225
|
"timezone": "America/Los_Angeles"
|
|
226
226
|
},
|
|
227
|
-
"U_OWNER": {
|
|
228
|
-
"enabled": true,
|
|
229
|
-
"policy": "open",
|
|
227
|
+
"dm:U_OWNER": {
|
|
230
228
|
"agentId": "default"
|
|
231
229
|
}
|
|
232
230
|
},
|
|
233
231
|
"groups": {
|
|
234
|
-
"
|
|
232
|
+
"dm:*": {
|
|
235
233
|
"enabled": true,
|
|
236
234
|
"requireMention": true,
|
|
237
235
|
"policy": "disabled",
|
|
@@ -361,14 +359,12 @@
|
|
|
361
359
|
"participationTtlMin": 10
|
|
362
360
|
}
|
|
363
361
|
},
|
|
364
|
-
"U_SUPPORT": {
|
|
365
|
-
"enabled": true,
|
|
366
|
-
"policy": "allowlist",
|
|
362
|
+
"dm:U_SUPPORT": {
|
|
367
363
|
"agentId": "reviewer"
|
|
368
364
|
}
|
|
369
365
|
},
|
|
370
366
|
"groups": {
|
|
371
|
-
"
|
|
367
|
+
"dm:*": {
|
|
372
368
|
"enabled": true,
|
|
373
369
|
"requireMention": true,
|
|
374
370
|
"policy": "disabled",
|
|
@@ -450,7 +446,7 @@
|
|
|
450
446
|
},
|
|
451
447
|
"timezone": "UTC",
|
|
452
448
|
"directMessages": {
|
|
453
|
-
"
|
|
449
|
+
"dm:*": {
|
|
454
450
|
"enabled": true,
|
|
455
451
|
"requireMention": false,
|
|
456
452
|
"policy": "pairing",
|
|
@@ -525,14 +521,12 @@
|
|
|
525
521
|
"participationTtlMin": 5
|
|
526
522
|
}
|
|
527
523
|
},
|
|
528
|
-
"1276408333": {
|
|
529
|
-
"enabled": true,
|
|
530
|
-
"policy": "open",
|
|
524
|
+
"dm:1276408333": {
|
|
531
525
|
"agentId": "default"
|
|
532
526
|
}
|
|
533
527
|
},
|
|
534
528
|
"groups": {
|
|
535
|
-
"
|
|
529
|
+
"dm:*": {
|
|
536
530
|
"enabled": true,
|
|
537
531
|
"requireMention": true,
|
|
538
532
|
"policy": "disabled",
|
|
@@ -664,14 +658,10 @@
|
|
|
664
658
|
"participationTtlMin": 15
|
|
665
659
|
}
|
|
666
660
|
},
|
|
667
|
-
"1276408333": {
|
|
668
|
-
"enabled": true,
|
|
669
|
-
"policy": "open",
|
|
661
|
+
"dm:1276408333": {
|
|
670
662
|
"agentId": "reviewer"
|
|
671
663
|
},
|
|
672
|
-
"555000111": {
|
|
673
|
-
"enabled": true,
|
|
674
|
-
"policy": "open",
|
|
664
|
+
"dm:555000111": {
|
|
675
665
|
"agentId": "reviewer"
|
|
676
666
|
}
|
|
677
667
|
},
|