clisbot 0.1.38 → 0.1.40

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
@@ -1,4 +1,4 @@
1
- # clisbot - Turn your favorite coding CLI into an agentic assistant and code on the go
1
+ # clisbot - Turn your favorite coding CLI into an agentic personal assistant, workplace assistant, coding partner - on the go
2
2
  Want to use OpenClaw but are struggling because:
3
3
 
4
4
  - API cost is too high, so you end up looking for LLM proxy workarounds
@@ -76,6 +76,7 @@ Need the step-by-step setup docs instead of the shortest path?
76
76
 
77
77
  - Telegram: [Telegram Bot Setup](docs/user-guide/telegram-setup.md)
78
78
  - Slack: [Slack App Setup](docs/user-guide/slack-setup.md)
79
+ - Release notes: [CHANGELOG.md](CHANGELOG.md) and [docs/releases/](docs/releases/README.md)
79
80
  - Slack app manifest template: [app-manifest.json](templates/slack/default/app-manifest.json)
80
81
  - Slack app manifest guide: [app-manifest-guide.md](templates/slack/default/app-manifest-guide.md)
81
82
 
@@ -88,6 +89,20 @@ What happens next:
88
89
  - fresh bootstrap only enables the channels you name explicitly
89
90
  - after the persisted first run, later restarts can use plain `clisbot start`
90
91
 
92
+ ## Big Upgrades In v0.1.39
93
+
94
+ - Much better native Slack and Telegram rendering, so replies are easier to read and feel far less like pasted terminal output.
95
+ - A much cleaner first-run path, with a clearer bot-first setup story and better setup docs.
96
+ - Stronger pairing, auth, and safer shared-channel behavior by default.
97
+ - More trustworthy long-running work, with better attach, detach, recovery, and operator visibility.
98
+ - Real recurring automation with `/loop`.
99
+
100
+ Read the full notes here:
101
+
102
+ - [CHANGELOG.md](CHANGELOG.md)
103
+ - [Release Notes Index](docs/releases/README.md)
104
+ - [v0.1.39 Release Notes](docs/releases/v0.1.39.md)
105
+
91
106
  If you prefer Slack first:
92
107
 
93
108
  ```bash
@@ -113,6 +128,19 @@ bun run start --cli codex --bot-type personal --telegram-bot-token <your-telegra
113
128
 
114
129
  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
130
 
131
+ Upgrade note for existing installs:
132
+
133
+ - `v0.1.39` includes breaking changes in config shape and in the main CLI command surface.
134
+ - If you already run an older install, ask Codex or Claude in this repo to update your current config before upgrading.
135
+ - The upgrade itself is still simple:
136
+
137
+ ```bash
138
+ clisbot stop
139
+ npm install -g clisbot
140
+ clisbot start
141
+ clisbot --version
142
+ ```
143
+
116
144
  First conversation path:
117
145
 
118
146
  - send a DM to the bot in Slack or Telegram
@@ -174,24 +202,25 @@ The docs in this repo are kept current, including the [User Guide](docs/user-gui
174
202
 
175
203
  If you prefer to configure everything yourself:
176
204
 
177
- 1. Read the full config template in [config/clisbot.json.template](config/clisbot.json.template).
178
- 2. Copy it to `~/.clisbot/clisbot.json` and adjust channels, bindings, workspaces, and policies for your environment.
179
- 3. Add agents through the CLI so tool defaults, startup options, and bootstrap templates stay consistent.
180
- 4. Optionally move stable channel secrets into env vars or canonical credential files after your first successful run.
205
+ 1. Read the official config template in [config/clisbot.json.template](config/clisbot.json.template).
206
+ 2. If you need the archived legacy snapshot, compare it with [config/clisbot.json.v0.1.0.template](config/clisbot.json.v0.1.0.template).
207
+ 3. Copy the official template to `~/.clisbot/clisbot.json` and adjust bots, routes, agents, workspaces, and policies for your environment.
208
+ 4. Add agents through the CLI so tool defaults, startup options, and bootstrap templates stay consistent.
209
+ 5. Optionally move stable channel secrets into env vars or canonical credential files after your first successful run.
181
210
 
182
211
  Channel route setup is manual by design:
183
212
 
184
213
  - fresh config does not auto-add Slack channels
185
214
  - fresh config does not auto-add Telegram groups or topics
186
215
  - add only the exact channel, group, topic, or DM routing you want to expose
187
- - default channel account setup lives in [docs/user-guide/channel-accounts.md](docs/user-guide/channel-accounts.md)
216
+ - default bot credential setup lives in [docs/user-guide/bots-and-credentials.md](docs/user-guide/bots-and-credentials.md)
188
217
 
189
218
  Advanced agent management:
190
219
 
191
220
  - most users should stay on `clisbot start --cli ... --bot-type ...` and let first-run create the default agent
192
- - if you need more than one agent, custom bindings, or manual workspace bootstrap flows, use the `clisbot agents ...` commands described in [docs/user-guide/README.md](docs/user-guide/README.md)
221
+ - if you need more than one agent, custom bot defaults, or manual route setup flows, use the `clisbot agents ...`, `clisbot bots ...`, and `clisbot routes ...` commands described in [docs/user-guide/README.md](docs/user-guide/README.md)
193
222
  - README intentionally keeps that low-level surface out of the main onboarding path because the public first-run model is `--bot-type personal|team`, not internal template-mode naming
194
- - fresh channel config still points at the `default` agent; if your first agent uses another id, update `defaultAgentId` and any route `agentId` values in config
223
+ - fresh bot config still points at the `default` agent; if your first useful agent uses another id, update the fallback with `clisbot bots set-agent ...` or override it on a route with `clisbot routes set-agent ...`
195
224
 
196
225
  Env-backed setup is still supported when you want config to reference an env name instead of persisting a credential file:
197
226
 
@@ -206,7 +235,7 @@ clisbot start \
206
235
  - these flags are written into `~/.clisbot/clisbot.json` as `${ENV_NAME}` placeholders
207
236
  - you can pass either `CUSTOM_SLACK_APP_TOKEN` or `'${CUSTOM_SLACK_APP_TOKEN}'`
208
237
  - use this path when you want config to point at env variable names you chose yourself
209
- - keep env export details in [docs/user-guide/channel-accounts.md](docs/user-guide/channel-accounts.md) instead of front-loading them into quick start
238
+ - keep env export details in [docs/user-guide/bots-and-credentials.md](docs/user-guide/bots-and-credentials.md) instead of front-loading them into quick start
210
239
 
211
240
  ## Troubleshooting
212
241
 
@@ -216,7 +245,7 @@ If the quick start does not work, check these in order:
216
245
  - If config behavior is confusing, inspect [config/clisbot.json.template](config/clisbot.json.template) first, then compare it with [docs/user-guide/README.md](docs/user-guide/README.md).
217
246
  - If `clisbot start` says no agents are configured, prefer `clisbot start --cli codex --bot-type personal --telegram-bot-token <your-telegram-bot-token>`.
218
247
  - If you want later runs to work with plain `clisbot start`, rerun your successful first-run command with `--persist`.
219
- - If `clisbot start` prints token refs as `missing`, either pass the token explicitly on the command line or switch to env-backed setup described in [docs/user-guide/channel-accounts.md](docs/user-guide/channel-accounts.md).
248
+ - If `clisbot start` prints token refs as `missing`, either pass the token explicitly on the command line or switch to env-backed setup described in [docs/user-guide/bots-and-credentials.md](docs/user-guide/bots-and-credentials.md).
220
249
  - If you use custom env names, pass them explicitly with `--slack-app-token`, `--slack-bot-token`, or `--telegram-bot-token`.
221
250
  - If `clisbot status` shows `bootstrap=...:missing` or `bootstrap=...:not-bootstrapped`, follow the advanced agent bootstrap steps in [docs/user-guide/README.md](docs/user-guide/README.md).
222
251
  - If Codex shows `Do you trust the contents of this directory?`, keep `trustWorkspace: true` in clisbot config and also mark the workspace as trusted in `~/.codex/config.toml`, for example:
@@ -251,12 +280,14 @@ Most users only need a small set of commands at first:
251
280
  - `clisbot auth add-user agent --agent <id> --role admin --user <principal>`
252
281
  - `clisbot pairing approve slack <CODE>`
253
282
  - `clisbot pairing approve telegram <CODE>`
254
- - `clisbot channels enable slack`
255
- - `clisbot channels enable telegram`
256
- - `clisbot channels add telegram-group <chatId> [--topic <topicId>] [--agent <id>] [--require-mention true|false]`
257
- - `clisbot channels add slack-channel <channelId> [--agent <id>] [--require-mention true|false]`
258
- - `clisbot agents list --bindings`
259
- - `clisbot agents bindings`
283
+ - `clisbot bots list`
284
+ - `clisbot bots add --channel telegram --bot default --bot-token TELEGRAM_BOT_TOKEN --persist`
285
+ - `clisbot bots add --channel slack --bot default --app-token SLACK_APP_TOKEN --bot-token SLACK_BOT_TOKEN --persist`
286
+ - `clisbot routes add --channel telegram group:<chatId> --bot default`
287
+ - `clisbot routes add --channel telegram topic:<chatId>:<topicId> --bot default`
288
+ - `clisbot routes add --channel slack channel:<channelId> --bot default`
289
+ - `clisbot routes set-agent --channel telegram group:<chatId> --bot default --agent <id>`
290
+ - `clisbot routes set-agent --channel slack channel:<channelId> --bot default --agent <id>`
260
291
  - `clisbot --help`
261
292
 
262
293
  If you are running from the repo instead of the global package:
@@ -306,14 +337,14 @@ Command prefix defaults:
306
337
 
307
338
  - slash-style shortcuts: `["::", "\\"]`
308
339
  - bash shortcuts: `["!"]`
309
- - both are configurable with `channels.slack.commandPrefixes` and `channels.telegram.commandPrefixes`
340
+ - both are configurable with `bots.defaults.commandPrefixes`, `bots.slack.defaults.commandPrefixes`, or `bots.telegram.defaults.commandPrefixes`
310
341
 
311
342
  Sensitive actions now follow auth and route policy:
312
343
 
313
344
  - `/transcript` depends on the route `verbose` policy
314
345
  - `/bash` depends on resolved agent auth through `shellExecute`
315
346
  - use `clisbot auth --help` to inspect scopes and mutate role users or permissions
316
- - use `clisbot channels --help` for route-level setup and channel policy guidance
347
+ - use `clisbot routes --help` for route-level setup and route policy guidance
317
348
 
318
349
  Follow-up behavior matters in team threads:
319
350
 
@@ -386,6 +417,7 @@ This repo also serves as a small example of an AI-native engineering workflow:
386
417
  - lessons-learned docs to capture repeated feedback and pitfalls
387
418
  - architecture docs used as a stable implementation contract
388
419
  - end-to-end validation expectations to close the feedback loop for AI agents
420
+ - workflow docs for shortest-review-first artifacts, repeated review loops, and task-readiness shaping in [docs/workflow/README.md](docs/workflow/README.md)
389
421
 
390
422
  ## Contributing
391
423