clisbot 0.1.43 → 0.1.45

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.
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "meta": {
3
- "schemaVersion": "0.1.43",
4
- "lastTouchedAt": "2026-04-18T10:10:00Z"
3
+ "schemaVersion": "0.1.45",
4
+ "lastTouchedAt": "2026-04-24T06:21:29.693Z"
5
5
  },
6
6
  "app": {
7
+ "timezone": "UTC",
7
8
  "session": {
8
9
  "mainKey": "main",
9
10
  "identityLinks": {},
10
- "storePath": "~/.clisbot/state/sessions.json"
11
+ "storePath": "~/.clisbot-dev/state/sessions.json"
11
12
  },
12
13
  "auth": {
13
14
  "ownerClaimWindowMinutes": 30,
@@ -48,8 +49,7 @@
48
49
  },
49
50
  "loop": {
50
51
  "maxRunsPerLoop": 20,
51
- "maxActiveLoops": 10,
52
- "defaultTimezone": "UTC"
52
+ "maxActiveLoops": 10
53
53
  },
54
54
  "runtimeMonitor": {
55
55
  "restartBackoff": {
@@ -58,6 +58,22 @@
58
58
  "maxRestarts": 3
59
59
  },
60
60
  "stages": [
61
+ {
62
+ "delayMinutes": 1,
63
+ "maxRestarts": 2
64
+ },
65
+ {
66
+ "delayMinutes": 3,
67
+ "maxRestarts": 2
68
+ },
69
+ {
70
+ "delayMinutes": 5,
71
+ "maxRestarts": 2
72
+ },
73
+ {
74
+ "delayMinutes": 10,
75
+ "maxRestarts": 3
76
+ },
61
77
  {
62
78
  "delayMinutes": 15,
63
79
  "maxRestarts": 4
@@ -80,7 +96,6 @@
80
96
  "allowBots": false,
81
97
  "requireMention": true,
82
98
  "dmScope": "per-channel-peer",
83
- "groupPolicy": "allowlist",
84
99
  "commandPrefixes": {
85
100
  "slash": [
86
101
  "::",
@@ -102,17 +117,17 @@
102
117
  "followUp": {
103
118
  "mode": "auto",
104
119
  "participationTtlMin": 5
105
- },
106
- "timezone": "UTC"
120
+ }
107
121
  },
108
122
  "slack": {
109
123
  "defaults": {
110
- "enabled": true,
124
+ "enabled": false,
111
125
  "defaultBotId": "default",
112
126
  "mode": "socket",
113
127
  "allowBots": false,
114
- "channelPolicy": "disabled",
115
- "groupPolicy": "disabled",
128
+ "dmPolicy": "pairing",
129
+ "channelPolicy": "allowlist",
130
+ "groupPolicy": "allowlist",
116
131
  "agentPrompt": {
117
132
  "enabled": true,
118
133
  "maxProgressMessages": 3,
@@ -127,7 +142,7 @@
127
142
  "loadingMessages": []
128
143
  },
129
144
  "directMessages": {
130
- "dm:*": {
145
+ "*": {
131
146
  "enabled": true,
132
147
  "requireMention": false,
133
148
  "policy": "pairing",
@@ -136,6 +151,16 @@
136
151
  "allowBots": false
137
152
  }
138
153
  },
154
+ "groups": {
155
+ "*": {
156
+ "enabled": true,
157
+ "requireMention": true,
158
+ "policy": "open",
159
+ "allowUsers": [],
160
+ "blockUsers": [],
161
+ "allowBots": false
162
+ }
163
+ },
139
164
  "commandPrefixes": {
140
165
  "slash": [
141
166
  "::",
@@ -157,338 +182,33 @@
157
182
  "followUp": {
158
183
  "mode": "auto",
159
184
  "participationTtlMin": 5
160
- },
161
- "timezone": "UTC"
185
+ }
162
186
  },
163
187
  "default": {
164
- "enabled": true,
188
+ "enabled": false,
165
189
  "name": "default",
166
- "agentId": "default",
167
190
  "appToken": "${SLACK_APP_TOKEN}",
168
191
  "botToken": "${SLACK_BOT_TOKEN}",
169
- "channelPolicy": "disabled",
170
- "groupPolicy": "disabled",
171
- "allowBots": false,
172
- "commandPrefixes": {
173
- "slash": [
174
- "::",
175
- "\\"
176
- ],
177
- "bash": [
178
- "!"
179
- ]
180
- },
181
- "response": "final",
182
- "responseMode": "message-tool",
183
- "additionalMessageMode": "steer",
184
- "surfaceNotifications": {
185
- "queueStart": "brief",
186
- "loopStart": "brief"
187
- },
188
- "verbose": "minimal",
189
- "followUp": {
190
- "mode": "auto",
191
- "participationTtlMin": 5
192
- },
193
- "timezone": "UTC",
194
- "directMessages": {
195
- "dm:*": {
196
- "enabled": true,
197
- "requireMention": false,
198
- "policy": "pairing",
199
- "allowUsers": [],
200
- "blockUsers": [],
201
- "allowBots": false,
202
- "agentId": "default",
203
- "commandPrefixes": {
204
- "slash": [
205
- "::",
206
- "\\"
207
- ],
208
- "bash": [
209
- "!"
210
- ]
211
- },
212
- "streaming": "off",
213
- "response": "final",
214
- "responseMode": "message-tool",
215
- "additionalMessageMode": "steer",
216
- "surfaceNotifications": {
217
- "queueStart": "brief",
218
- "loopStart": "brief"
219
- },
220
- "verbose": "minimal",
221
- "followUp": {
222
- "mode": "auto",
223
- "participationTtlMin": 5
224
- },
225
- "timezone": "America/Los_Angeles"
226
- },
227
- "dm:U_OWNER": {
228
- "agentId": "default"
229
- }
230
- },
231
- "groups": {
232
- "dm:*": {
233
- "enabled": true,
234
- "requireMention": true,
235
- "policy": "disabled",
236
- "allowUsers": [],
237
- "blockUsers": [],
238
- "allowBots": false
239
- },
240
- "channel:C_GENERAL": {
241
- "enabled": true,
242
- "requireMention": false,
243
- "policy": "open",
244
- "allowUsers": [
245
- "*"
246
- ],
247
- "blockUsers": [],
248
- "allowBots": false,
249
- "streaming": "all",
250
- "response": "all",
251
- "surfaceNotifications": {
252
- "queueStart": "full",
253
- "loopStart": "brief"
254
- },
255
- "followUp": {
256
- "mode": "auto",
257
- "participationTtlMin": 10
258
- }
259
- },
260
- "channel:C_PRODUCT": {
261
- "enabled": true,
262
- "requireMention": true,
263
- "agentId": "reviewer",
264
- "policy": "allowlist",
265
- "allowUsers": [
266
- "U_PM",
267
- "U_ENG_MANAGER"
268
- ],
269
- "blockUsers": [
270
- "U_SPAMMER"
271
- ],
272
- "responseMode": "capture-pane",
273
- "additionalMessageMode": "queue",
274
- "verbose": "off"
275
- },
276
- "group:G_LEADERSHIP": {
277
- "enabled": true,
278
- "requireMention": true,
279
- "policy": "allowlist",
280
- "allowUsers": [
281
- "U_OWNER",
282
- "U_CTO"
283
- ],
284
- "blockUsers": [],
285
- "commandPrefixes": {
286
- "slash": [
287
- "::"
288
- ],
289
- "bash": [
290
- "!"
291
- ]
292
- },
293
- "followUp": {
294
- "mode": "mention-only",
295
- "participationTtlMin": 15
296
- },
297
- "timezone": "Asia/Ho_Chi_Minh"
298
- }
299
- }
300
- },
301
- "support": {
302
- "enabled": true,
303
- "name": "support",
304
- "agentId": "claude",
305
- "credentialType": "tokenFile",
306
- "appTokenFile": "~/.clisbot/credentials/slack/support.app-token",
307
- "botTokenFile": "~/.clisbot/credentials/slack/support.bot-token",
192
+ "dmPolicy": "pairing",
308
193
  "channelPolicy": "allowlist",
309
- "groupPolicy": "disabled",
310
- "allowBots": true,
311
- "commandPrefixes": {
312
- "slash": [
313
- "::",
314
- "\\",
315
- "/support"
316
- ],
317
- "bash": [
318
- "!"
319
- ]
320
- },
321
- "streaming": "all",
322
- "response": "all",
323
- "responseMode": "capture-pane",
324
- "additionalMessageMode": "queue",
325
- "surfaceNotifications": {
326
- "queueStart": "full",
327
- "loopStart": "brief"
328
- },
329
- "verbose": "minimal",
330
- "followUp": {
331
- "mode": "mention-only",
332
- "participationTtlMin": 10
333
- },
334
- "timezone": "Asia/Ho_Chi_Minh",
335
- "directMessages": {
336
- "*": {
337
- "enabled": true,
338
- "requireMention": false,
339
- "policy": "open",
340
- "allowUsers": [
341
- "*"
342
- ],
343
- "blockUsers": [
344
- "U_BANNED"
345
- ],
346
- "allowBots": true,
347
- "agentId": "claude",
348
- "streaming": "all",
349
- "response": "final",
350
- "responseMode": "message-tool",
351
- "additionalMessageMode": "steer",
352
- "surfaceNotifications": {
353
- "queueStart": "full",
354
- "loopStart": "brief"
355
- },
356
- "verbose": "minimal",
357
- "followUp": {
358
- "mode": "auto",
359
- "participationTtlMin": 10
360
- }
361
- },
362
- "dm:U_SUPPORT": {
363
- "agentId": "reviewer"
364
- }
365
- },
366
- "groups": {
367
- "dm:*": {
368
- "enabled": true,
369
- "requireMention": true,
370
- "policy": "disabled",
371
- "allowUsers": [],
372
- "blockUsers": [],
373
- "allowBots": true
374
- },
375
- "channel:C_SUPPORT": {
376
- "enabled": true,
377
- "requireMention": false,
378
- "policy": "open",
379
- "allowUsers": [
380
- "*"
381
- ],
382
- "blockUsers": [],
383
- "allowBots": true,
384
- "response": "all"
385
- },
386
- "channel:C_ESCALATION": {
387
- "enabled": true,
388
- "requireMention": true,
389
- "agentId": "reviewer",
390
- "policy": "allowlist",
391
- "allowUsers": [
392
- "U_SUPPORT_LEAD",
393
- "U_ONCALL"
394
- ],
395
- "blockUsers": [],
396
- "responseMode": "capture-pane",
397
- "additionalMessageMode": "queue",
398
- "verbose": "off"
399
- },
400
- "group:G_SUPPORT_PRIVATE": {
401
- "enabled": true,
402
- "requireMention": true,
403
- "policy": "allowlist",
404
- "allowUsers": [
405
- "U_SUPPORT_LEAD"
406
- ],
407
- "blockUsers": [],
408
- "timezone": "Asia/Ho_Chi_Minh"
409
- }
410
- }
194
+ "groupPolicy": "allowlist",
195
+ "directMessages": {},
196
+ "groups": {}
411
197
  }
412
198
  },
413
199
  "telegram": {
414
200
  "defaults": {
415
- "enabled": true,
201
+ "enabled": false,
416
202
  "defaultBotId": "default",
417
203
  "mode": "polling",
418
204
  "allowBots": false,
419
- "groupPolicy": "disabled",
205
+ "dmPolicy": "pairing",
206
+ "groupPolicy": "allowlist",
420
207
  "agentPrompt": {
421
208
  "enabled": true,
422
209
  "maxProgressMessages": 3,
423
210
  "requireFinalResponse": true
424
211
  },
425
- "commandPrefixes": {
426
- "slash": [
427
- "::",
428
- "\\"
429
- ],
430
- "bash": [
431
- "!"
432
- ]
433
- },
434
- "streaming": "off",
435
- "response": "final",
436
- "responseMode": "message-tool",
437
- "additionalMessageMode": "steer",
438
- "surfaceNotifications": {
439
- "queueStart": "brief",
440
- "loopStart": "brief"
441
- },
442
- "verbose": "minimal",
443
- "followUp": {
444
- "mode": "auto",
445
- "participationTtlMin": 5
446
- },
447
- "timezone": "UTC",
448
- "directMessages": {
449
- "dm:*": {
450
- "enabled": true,
451
- "requireMention": false,
452
- "policy": "pairing",
453
- "allowUsers": [],
454
- "blockUsers": [],
455
- "allowBots": false
456
- }
457
- },
458
- "polling": {
459
- "timeoutSeconds": 20,
460
- "retryDelayMs": 1000
461
- }
462
- },
463
- "default": {
464
- "enabled": true,
465
- "name": "default",
466
- "agentId": "default",
467
- "botToken": "${TELEGRAM_BOT_TOKEN}",
468
- "groupPolicy": "disabled",
469
- "allowBots": false,
470
- "commandPrefixes": {
471
- "slash": [
472
- "::",
473
- "\\"
474
- ],
475
- "bash": [
476
- "!"
477
- ]
478
- },
479
- "response": "final",
480
- "responseMode": "message-tool",
481
- "additionalMessageMode": "steer",
482
- "surfaceNotifications": {
483
- "queueStart": "brief",
484
- "loopStart": "brief"
485
- },
486
- "verbose": "minimal",
487
- "followUp": {
488
- "mode": "auto",
489
- "participationTtlMin": 5
490
- },
491
- "timezone": "UTC",
492
212
  "directMessages": {
493
213
  "*": {
494
214
  "enabled": true,
@@ -496,121 +216,24 @@
496
216
  "policy": "pairing",
497
217
  "allowUsers": [],
498
218
  "blockUsers": [],
499
- "allowBots": false,
500
- "agentId": "default",
501
- "commandPrefixes": {
502
- "slash": [
503
- "::",
504
- "\\"
505
- ],
506
- "bash": [
507
- "!"
508
- ]
509
- },
510
- "streaming": "off",
511
- "response": "final",
512
- "responseMode": "message-tool",
513
- "additionalMessageMode": "steer",
514
- "surfaceNotifications": {
515
- "queueStart": "brief",
516
- "loopStart": "brief"
517
- },
518
- "verbose": "minimal",
519
- "followUp": {
520
- "mode": "auto",
521
- "participationTtlMin": 5
522
- }
523
- },
524
- "dm:1276408333": {
525
- "agentId": "default"
219
+ "allowBots": false
526
220
  }
527
221
  },
528
222
  "groups": {
529
- "dm:*": {
530
- "enabled": true,
531
- "requireMention": true,
532
- "policy": "disabled",
533
- "allowUsers": [],
534
- "blockUsers": [],
535
- "allowBots": false
536
- },
537
- "-1003455688247": {
538
- "enabled": true,
539
- "requireMention": false,
540
- "policy": "open",
541
- "allowUsers": [
542
- "*"
543
- ],
544
- "blockUsers": [],
545
- "allowBots": false,
546
- "response": "all",
547
- "surfaceNotifications": {
548
- "queueStart": "full",
549
- "loopStart": "brief"
550
- },
551
- "topics": {
552
- "1207": {
553
- "enabled": true,
554
- "streaming": "all",
555
- "agentId": "claude",
556
- "policy": "open",
557
- "allowUsers": [
558
- "*"
559
- ],
560
- "blockUsers": [],
561
- "allowBots": false,
562
- "response": "all",
563
- "additionalMessageMode": "queue"
564
- },
565
- "2201": {
566
- "enabled": true,
567
- "requireMention": true,
568
- "agentId": "reviewer",
569
- "policy": "allowlist",
570
- "allowUsers": [
571
- "1276408333",
572
- "555000111"
573
- ],
574
- "blockUsers": [
575
- "999999999"
576
- ],
577
- "responseMode": "capture-pane",
578
- "verbose": "off",
579
- "timezone": "Asia/Ho_Chi_Minh"
580
- }
581
- }
582
- },
583
- "-1003987654321": {
223
+ "*": {
584
224
  "enabled": true,
585
225
  "requireMention": true,
586
- "agentId": "claude",
587
226
  "policy": "open",
588
- "allowUsers": [
589
- "*"
590
- ],
227
+ "allowUsers": [],
591
228
  "blockUsers": [],
592
229
  "allowBots": false,
593
- "followUp": {
594
- "mode": "mention-only",
595
- "participationTtlMin": 15
596
- },
597
230
  "topics": {}
598
231
  }
599
- }
600
- },
601
- "support": {
602
- "enabled": true,
603
- "name": "support",
604
- "agentId": "reviewer",
605
- "credentialType": "tokenFile",
606
- "tokenFile": "~/.clisbot/credentials/telegram/support.bot-token",
607
- "groupPolicy": "disabled",
608
- "allowBots": false,
232
+ },
609
233
  "commandPrefixes": {
610
234
  "slash": [
611
235
  "::",
612
- "\\",
613
- "/support"
236
+ "\\"
614
237
  ],
615
238
  "bash": [
616
239
  "!"
@@ -626,45 +249,21 @@
626
249
  },
627
250
  "verbose": "minimal",
628
251
  "followUp": {
629
- "mode": "mention-only",
630
- "participationTtlMin": 15
631
- },
632
- "timezone": "Asia/Ho_Chi_Minh",
633
- "directMessages": {
634
- "*": {
635
- "enabled": true,
636
- "requireMention": false,
637
- "policy": "allowlist",
638
- "allowUsers": [
639
- "1276408333",
640
- "555000111"
641
- ],
642
- "blockUsers": [
643
- "999999999"
644
- ],
645
- "allowBots": false,
646
- "agentId": "reviewer",
647
- "streaming": "off",
648
- "response": "final",
649
- "responseMode": "message-tool",
650
- "additionalMessageMode": "steer",
651
- "surfaceNotifications": {
652
- "queueStart": "brief",
653
- "loopStart": "brief"
654
- },
655
- "verbose": "minimal",
656
- "followUp": {
657
- "mode": "paused",
658
- "participationTtlMin": 15
659
- }
660
- },
661
- "dm:1276408333": {
662
- "agentId": "reviewer"
663
- },
664
- "dm:555000111": {
665
- "agentId": "reviewer"
666
- }
252
+ "mode": "auto",
253
+ "participationTtlMin": 5
667
254
  },
255
+ "polling": {
256
+ "timeoutSeconds": 20,
257
+ "retryDelayMs": 1000
258
+ }
259
+ },
260
+ "default": {
261
+ "enabled": false,
262
+ "name": "default",
263
+ "botToken": "${TELEGRAM_BOT_TOKEN}",
264
+ "dmPolicy": "pairing",
265
+ "groupPolicy": "allowlist",
266
+ "directMessages": {},
668
267
  "groups": {}
669
268
  }
670
269
  }
@@ -672,15 +271,57 @@
672
271
  "agents": {
673
272
  "defaults": {
674
273
  "defaultAgentId": "default",
675
- "workspace": "~/.clisbot/workspaces/{agentId}",
274
+ "workspace": "~/.clisbot-dev/workspaces/{agentId}",
676
275
  "cli": "codex",
677
276
  "bootstrap": {
678
- "botType": "team-assistant"
277
+ "botType": "personal-assistant"
278
+ },
279
+ "auth": {
280
+ "defaultRole": "member",
281
+ "roles": {
282
+ "admin": {
283
+ "allow": [
284
+ "sendMessage",
285
+ "helpView",
286
+ "statusView",
287
+ "identityView",
288
+ "transcriptView",
289
+ "runObserve",
290
+ "runInterrupt",
291
+ "streamingManage",
292
+ "queueManage",
293
+ "steerManage",
294
+ "loopManage",
295
+ "shellExecute",
296
+ "runNudge",
297
+ "followupManage",
298
+ "responseModeManage",
299
+ "additionalMessageModeManage"
300
+ ],
301
+ "users": []
302
+ },
303
+ "member": {
304
+ "allow": [
305
+ "sendMessage",
306
+ "helpView",
307
+ "statusView",
308
+ "identityView",
309
+ "transcriptView",
310
+ "runObserve",
311
+ "runInterrupt",
312
+ "streamingManage",
313
+ "queueManage",
314
+ "steerManage",
315
+ "loopManage"
316
+ ],
317
+ "users": []
318
+ }
319
+ }
679
320
  },
680
321
  "runner": {
681
322
  "defaults": {
682
323
  "tmux": {
683
- "socketPath": "~/.clisbot/state/clisbot.sock"
324
+ "socketPath": "~/.clisbot-dev/state/clisbot.sock"
684
325
  },
685
326
  "trustWorkspace": true,
686
327
  "startupDelayMs": 3000,
@@ -748,7 +389,11 @@
748
389
  ]
749
390
  },
750
391
  "capture": {
751
- "mode": "off"
392
+ "mode": "off",
393
+ "statusCommand": "/status",
394
+ "pattern": "\\b[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\\b",
395
+ "timeoutMs": 5000,
396
+ "pollIntervalMs": 250
752
397
  },
753
398
  "resume": {
754
399
  "mode": "command",
@@ -804,72 +449,8 @@
804
449
  }
805
450
  }
806
451
  }
807
- },
808
- "auth": {
809
- "defaultRole": "member",
810
- "roles": {
811
- "admin": {
812
- "allow": [
813
- "sendMessage",
814
- "helpView",
815
- "statusView",
816
- "identityView",
817
- "transcriptView",
818
- "runObserve",
819
- "runInterrupt",
820
- "streamingManage",
821
- "queueManage",
822
- "steerManage",
823
- "loopManage",
824
- "shellExecute",
825
- "runNudge",
826
- "followUpManage",
827
- "responseModeManage",
828
- "additionalMessageModeManage"
829
- ],
830
- "users": []
831
- },
832
- "member": {
833
- "allow": [
834
- "sendMessage",
835
- "helpView",
836
- "statusView",
837
- "identityView",
838
- "transcriptView",
839
- "runObserve",
840
- "runInterrupt",
841
- "streamingManage",
842
- "queueManage",
843
- "steerManage",
844
- "loopManage"
845
- ],
846
- "users": []
847
- }
848
- }
849
452
  }
850
453
  },
851
- "list": [
852
- {
853
- "id": "default"
854
- },
855
- {
856
- "id": "claude",
857
- "cli": "claude"
858
- },
859
- {
860
- "id": "gemini",
861
- "cli": "gemini"
862
- },
863
- {
864
- "id": "reviewer",
865
- "runner": {
866
- "defaults": {
867
- "stream": {
868
- "maxRuntimeMin": 45
869
- }
870
- }
871
- }
872
- }
873
- ]
454
+ "list": []
874
455
  }
875
456
  }