clisbot 0.1.21 → 0.1.26

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
@@ -111,6 +111,8 @@ bun install
111
111
  bun run start --cli codex --bot-type personal --telegram-bot-token <your-telegram-bot-token> --persist
112
112
  ```
113
113
 
114
+ 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
+
114
116
  First conversation path:
115
117
 
116
118
  - send a DM to the bot in Slack or Telegram
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "meta": {
3
3
  "schemaVersion": 1,
4
- "lastTouchedAt": "2026-04-15T00:00:00.000Z"
4
+ "lastTouchedAt": "2026-04-15T17:15:00.128Z"
5
5
  },
6
6
  "tmux": {
7
7
  "socketPath": "~/.clisbot/state/clisbot.sock"
8
8
  },
9
9
  "session": {
10
10
  "mainKey": "main",
11
- "dmScope": "main",
11
+ "dmScope": "per-channel-peer",
12
12
  "identityLinks": {},
13
13
  "storePath": "~/.clisbot/state/sessions.json"
14
14
  },
@@ -153,14 +153,36 @@
153
153
  "maxRunsPerLoop": 20,
154
154
  "maxActiveLoops": 10,
155
155
  "defaultTimezone": "UTC"
156
+ },
157
+ "runtimeMonitor": {
158
+ "restartBackoff": {
159
+ "fastRetry": {
160
+ "delaySeconds": 10,
161
+ "maxRestarts": 3
162
+ },
163
+ "stages": [
164
+ {
165
+ "delayMinutes": 15,
166
+ "maxRestarts": 4
167
+ },
168
+ {
169
+ "delayMinutes": 30,
170
+ "maxRestarts": 4
171
+ }
172
+ ]
173
+ },
174
+ "ownerAlerts": {
175
+ "enabled": true,
176
+ "minIntervalMinutes": 30
177
+ }
156
178
  }
157
179
  },
158
180
  "channels": {
159
181
  "slack": {
160
182
  "enabled": false,
161
183
  "mode": "socket",
162
- "appToken": "${SLACK_APP_TOKEN}",
163
- "botToken": "${SLACK_BOT_TOKEN}",
184
+ "appToken": "",
185
+ "botToken": "",
164
186
  "defaultAccount": "default",
165
187
  "accounts": {
166
188
  "default": {
@@ -220,7 +242,7 @@
220
242
  "telegram": {
221
243
  "enabled": false,
222
244
  "mode": "polling",
223
- "botToken": "${TELEGRAM_BOT_TOKEN}",
245
+ "botToken": "",
224
246
  "defaultAccount": "default",
225
247
  "accounts": {
226
248
  "default": {