clisbot 0.1.20 → 0.1.22
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 +5 -2
- package/config/clisbot.json.template +23 -5
- package/dist/main.js +12139 -10807
- package/package.json +1 -1
- package/templates/slack/default/app-manifest.json +3 -2
package/README.md
CHANGED
|
@@ -64,8 +64,11 @@ If you want to try first without persisting the token yet, just remove `--persis
|
|
|
64
64
|
Current auth note:
|
|
65
65
|
|
|
66
66
|
- DMs currently start in pairing mode by default.
|
|
67
|
-
-
|
|
68
|
-
- Today, if you want an owner or app admin, grant that principal explicitly with
|
|
67
|
+
- If no app owner is configured yet, the first DM user during the first `ownerClaimWindowMinutes` becomes app `owner` automatically and does not need pairing approval.
|
|
68
|
+
- Today, if you want an owner or app admin, grant that principal explicitly with the platform prefix plus the channel-native user id, for example `telegram:1276408333` or `slack:U123ABC456`.
|
|
69
|
+
- Example commands:
|
|
70
|
+
- `clisbot auth add-user app --role owner --user telegram:1276408333`
|
|
71
|
+
- `clisbot auth add-user app --role admin --user slack:U123ABC456`
|
|
69
72
|
- `clisbot auth --help` now covers role scopes, permission sets, and add/remove flows for users and permissions.
|
|
70
73
|
- 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.
|
|
71
74
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"lastTouchedAt": "2026-04-
|
|
4
|
+
"lastTouchedAt": "2026-04-15T17:15:00.128Z"
|
|
5
5
|
},
|
|
6
6
|
"tmux": {
|
|
7
7
|
"socketPath": "~/.clisbot/state/clisbot.sock"
|
|
@@ -153,14 +153,32 @@
|
|
|
153
153
|
"maxRunsPerLoop": 20,
|
|
154
154
|
"maxActiveLoops": 10,
|
|
155
155
|
"defaultTimezone": "UTC"
|
|
156
|
+
},
|
|
157
|
+
"runtimeMonitor": {
|
|
158
|
+
"restartBackoff": {
|
|
159
|
+
"stages": [
|
|
160
|
+
{
|
|
161
|
+
"delayMinutes": 15,
|
|
162
|
+
"maxRestarts": 4
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"delayMinutes": 30,
|
|
166
|
+
"maxRestarts": 4
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"ownerAlerts": {
|
|
171
|
+
"enabled": true,
|
|
172
|
+
"minIntervalMinutes": 30
|
|
173
|
+
}
|
|
156
174
|
}
|
|
157
175
|
},
|
|
158
176
|
"channels": {
|
|
159
177
|
"slack": {
|
|
160
178
|
"enabled": false,
|
|
161
179
|
"mode": "socket",
|
|
162
|
-
"appToken": "
|
|
163
|
-
"botToken": "
|
|
180
|
+
"appToken": "",
|
|
181
|
+
"botToken": "",
|
|
164
182
|
"defaultAccount": "default",
|
|
165
183
|
"accounts": {
|
|
166
184
|
"default": {
|
|
@@ -220,7 +238,7 @@
|
|
|
220
238
|
"telegram": {
|
|
221
239
|
"enabled": false,
|
|
222
240
|
"mode": "polling",
|
|
223
|
-
"botToken": "
|
|
241
|
+
"botToken": "",
|
|
224
242
|
"defaultAccount": "default",
|
|
225
243
|
"accounts": {
|
|
226
244
|
"default": {
|
|
@@ -272,4 +290,4 @@
|
|
|
272
290
|
}
|
|
273
291
|
}
|
|
274
292
|
}
|
|
275
|
-
}
|
|
293
|
+
}
|