clisbot 0.1.45-beta.1 → 0.1.45-beta.10
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 +18 -14
- package/config/clisbot.json.template +0 -1
- package/dist/main.js +4526 -2226
- package/package.json +1 -1
- package/templates/customized/README.md +5 -4
- package/templates/customized/personal-assistant/CLAUDE.md +0 -215
- package/templates/customized/personal-assistant/GEMINI.md +0 -136
- package/templates/customized/team-assistant/CLAUDE.md +0 -216
- package/templates/customized/team-assistant/GEMINI.md +0 -137
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ If you want to try first without persisting the token yet, just remove `--persis
|
|
|
118
118
|
Next steps:
|
|
119
119
|
|
|
120
120
|
- For security, DMs default to pairing.
|
|
121
|
-
- Existing `0.1.
|
|
121
|
+
- Existing configs from any version before `0.1.45` update directly to `0.1.45` automatically on first run. clisbot writes a backup first under `~/.clisbot/backups/`, then rewrites the config to the current shape.
|
|
122
122
|
- Shared Slack channels, Slack groups, Telegram groups, and Telegram topics are a separate gate: normal users need an explicit route such as `group:<id>` or `topic:<chatId>:<topicId>` before the bot will talk there. Legacy Slack `channel:<id>` input still works for compatibility.
|
|
123
123
|
- After a shared surface is admitted, per-surface sender control comes from the bot's default shared rule `groups["*"]` plus any route-local `allowUsers` or `blockUsers`.
|
|
124
124
|
- If the effective shared policy is `disabled`, the bot stays silent there for everyone, including owner/admin.
|
|
@@ -139,7 +139,7 @@ Need the step-by-step setup docs instead of the shortest path?
|
|
|
139
139
|
|
|
140
140
|
- Telegram: [Telegram Bot Setup](docs/user-guide/telegram-setup.md)
|
|
141
141
|
- Slack: [Slack App Setup](docs/user-guide/slack-setup.md)
|
|
142
|
-
- Release
|
|
142
|
+
- Release history: [CHANGELOG.md](CHANGELOG.md), [release notes](docs/releases/README.md), [update guide](docs/updates/update-guide.md), [release guides](docs/updates/README.md), and [migration index](docs/migrations/index.md)
|
|
143
143
|
- Slack app manifest template: [app-manifest.json](templates/slack/default/app-manifest.json)
|
|
144
144
|
- Slack app manifest guide: [app-manifest-guide.md](templates/slack/default/app-manifest-guide.md)
|
|
145
145
|
|
|
@@ -152,18 +152,20 @@ What happens next:
|
|
|
152
152
|
- fresh bootstrap only enables the channels you name explicitly
|
|
153
153
|
- after the persisted first run, later restarts can use plain `clisbot start`
|
|
154
154
|
|
|
155
|
-
##
|
|
155
|
+
## Recent Release Highlights
|
|
156
156
|
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
- `v0.1.45`: safer personal and team bots in real Slack and Telegram groups, automatic direct updates from older installs, more reliable scheduled loops, clearer sender and surface context, Telegram audio support, and stricter streaming/session isolation.
|
|
158
|
+
- `v0.1.43`: more durable runtime recovery, clearer routed follow-up controls, more truthful tmux prompt submission checks, better queued-start notifications, and safer Slack thread attachment behavior.
|
|
159
|
+
- `v0.1.39`: the first large release of the current bot-first shape, with native Slack and Telegram rendering, cleaner first-run setup, stronger pairing/auth defaults, better long-running run visibility, and recurring `/loop` automation.
|
|
160
|
+
|
|
161
|
+
There are many more useful fixes and operator improvements in the full release notes, including config update safety, CLI help, setup docs, runner debugging, route policy behavior, and channel-specific polish.
|
|
162
162
|
|
|
163
163
|
Read the full notes here:
|
|
164
164
|
|
|
165
165
|
- [CHANGELOG.md](CHANGELOG.md)
|
|
166
166
|
- [Release Notes Index](docs/releases/README.md)
|
|
167
|
+
- [v0.1.45 Release Notes](docs/releases/v0.1.45.md)
|
|
168
|
+
- [v0.1.43 Release Notes](docs/releases/v0.1.43.md)
|
|
167
169
|
- [v0.1.39 Release Notes](docs/releases/v0.1.39.md)
|
|
168
170
|
|
|
169
171
|
If you prefer Slack first:
|
|
@@ -191,11 +193,11 @@ bun run start --cli codex --bot-type personal --telegram-bot-token <your-telegra
|
|
|
191
193
|
|
|
192
194
|
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.
|
|
193
195
|
|
|
194
|
-
|
|
196
|
+
Update note for existing installs:
|
|
195
197
|
|
|
196
198
|
- `v0.1.39` includes breaking changes in config shape and in the main CLI command surface.
|
|
197
|
-
- If you already run an older install, ask Codex or Claude in this repo to update your current config before
|
|
198
|
-
- The
|
|
199
|
+
- If you already run an older install, ask Codex or Claude in this repo to update your current config before updating the package.
|
|
200
|
+
- The package update itself is still simple:
|
|
199
201
|
|
|
200
202
|
```bash
|
|
201
203
|
clisbot stop
|
|
@@ -318,7 +320,7 @@ If the quick start does not work, check these in order:
|
|
|
318
320
|
trust_level = "trusted"
|
|
319
321
|
```
|
|
320
322
|
|
|
321
|
-
- If that trust screen is still blocking,
|
|
323
|
+
- If that trust screen is still blocking, inspect the live session name with `clisbot runner list`, then attach directly with `tmux -S ~/.clisbot/state/clisbot.sock attach -t <session-name>`.
|
|
322
324
|
- If Gemini startup says it is waiting for manual authorization, authenticate Gemini directly first or provide a headless auth path such as `GEMINI_API_KEY` or Vertex AI credentials; `clisbot` now treats that screen as a startup blocker instead of a healthy ready session.
|
|
323
325
|
- If Codex warns that `bubblewrap` is missing on Linux, install `bubblewrap` in the runtime environment.
|
|
324
326
|
- If the bot does not answer, check `clisbot status` first. Healthy channels should show `connection=active`; if a channel stays `starting`, inspect `clisbot logs`.
|
|
@@ -337,13 +339,15 @@ Most users only need a small set of commands at first:
|
|
|
337
339
|
|
|
338
340
|
- `clisbot start`: start the bot runtime and create the default first-run setup when needed.
|
|
339
341
|
- `clisbot restart`: restart the runtime cleanly; use this first when the bot stops responding.
|
|
340
|
-
- `clisbot stop`: stop the runtime cleanly before
|
|
342
|
+
- `clisbot stop`: stop the runtime cleanly before updates, config changes, or maintenance.
|
|
341
343
|
- `clisbot stop --hard`: stop the runtime and kill all tmux runner sessions on the configured clisbot socket; use this when stale runner panes, old environment variables, or stuck sessions survive a normal restart.
|
|
342
344
|
- `clisbot status`: check whether the runtime, channels, and active sessions look healthy.
|
|
343
345
|
- `clisbot logs`: inspect recent runtime logs when startup, routing, or replies look wrong.
|
|
344
346
|
- `clisbot runner list`: list the live tmux-backed runner sessions and see what is active.
|
|
345
347
|
- `clisbot runner watch <session-name>`: live-watch one specific session when debugging a real run.
|
|
346
348
|
- `clisbot runner watch --latest --lines 100`: jump straight into the most recently active session with enough context to debug a just-submitted message.
|
|
349
|
+
- `clisbot queues list`: inspect pending durable queued prompts across the app.
|
|
350
|
+
- `clisbot queues create --channel telegram --target group:-1001234567890 --topic-id 4335 --sender telegram:1276408333 <prompt>`: create one durable same-session queued prompt, capped by `control.queue.maxPendingItemsPerSession` (default `20`).
|
|
347
351
|
|
|
348
352
|
Full operator command reference:
|
|
349
353
|
|
|
@@ -440,7 +444,7 @@ tmux is still the current stability boundary. One agent maps to one durable runn
|
|
|
440
444
|
|
|
441
445
|
This repo also serves as a small example of an AI-native engineering workflow:
|
|
442
446
|
|
|
443
|
-
- simple `AGENTS.md
|
|
447
|
+
- simple `AGENTS.md`-style operating rules, with Claude and Gemini compatibility files able to symlink back to the same source
|
|
444
448
|
- lessons-learned docs to capture repeated feedback and pitfalls
|
|
445
449
|
- architecture docs used as a stable implementation contract
|
|
446
450
|
- end-to-end validation expectations to close the feedback loop for AI agents
|