clawgram 2.2.0 → 2.2.2

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.
@@ -2,7 +2,7 @@
2
2
  "id": "clawgram",
3
3
  "name": "Clawgram",
4
4
  "description": "Clawgram — personal Telegram (MTProto userbot) channel for OpenClaw. Your AI assistant reads and responds as you.",
5
- "version": "2.1.0",
5
+ "version": "2.2.2",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
@@ -99,10 +99,72 @@
99
99
  ]
100
100
  },
101
101
  "apiHash": {
102
- "type": "string"
102
+ "description": "Literal value, or a SecretRef resolved at account start-up.",
103
+ "anyOf": [
104
+ {
105
+ "type": "string"
106
+ },
107
+ {
108
+ "type": "object",
109
+ "required": [
110
+ "source",
111
+ "provider",
112
+ "id"
113
+ ],
114
+ "additionalProperties": false,
115
+ "properties": {
116
+ "source": {
117
+ "enum": [
118
+ "env",
119
+ "file",
120
+ "exec"
121
+ ]
122
+ },
123
+ "provider": {
124
+ "type": "string",
125
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
126
+ },
127
+ "id": {
128
+ "type": "string",
129
+ "minLength": 1
130
+ }
131
+ }
132
+ }
133
+ ]
103
134
  },
104
135
  "sessionString": {
105
- "type": "string"
136
+ "description": "Literal value, or a SecretRef resolved at account start-up.",
137
+ "anyOf": [
138
+ {
139
+ "type": "string"
140
+ },
141
+ {
142
+ "type": "object",
143
+ "required": [
144
+ "source",
145
+ "provider",
146
+ "id"
147
+ ],
148
+ "additionalProperties": false,
149
+ "properties": {
150
+ "source": {
151
+ "enum": [
152
+ "env",
153
+ "file",
154
+ "exec"
155
+ ]
156
+ },
157
+ "provider": {
158
+ "type": "string",
159
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
160
+ },
161
+ "id": {
162
+ "type": "string",
163
+ "minLength": 1
164
+ }
165
+ }
166
+ }
167
+ ]
106
168
  },
107
169
  "proxy": {
108
170
  "type": "object",
@@ -126,10 +188,72 @@
126
188
  ]
127
189
  },
128
190
  "username": {
129
- "type": "string"
191
+ "description": "Literal value, or a SecretRef resolved at account start-up.",
192
+ "anyOf": [
193
+ {
194
+ "type": "string"
195
+ },
196
+ {
197
+ "type": "object",
198
+ "required": [
199
+ "source",
200
+ "provider",
201
+ "id"
202
+ ],
203
+ "additionalProperties": false,
204
+ "properties": {
205
+ "source": {
206
+ "enum": [
207
+ "env",
208
+ "file",
209
+ "exec"
210
+ ]
211
+ },
212
+ "provider": {
213
+ "type": "string",
214
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
215
+ },
216
+ "id": {
217
+ "type": "string",
218
+ "minLength": 1
219
+ }
220
+ }
221
+ }
222
+ ]
130
223
  },
131
224
  "password": {
132
- "type": "string"
225
+ "description": "Literal value, or a SecretRef resolved at account start-up.",
226
+ "anyOf": [
227
+ {
228
+ "type": "string"
229
+ },
230
+ {
231
+ "type": "object",
232
+ "required": [
233
+ "source",
234
+ "provider",
235
+ "id"
236
+ ],
237
+ "additionalProperties": false,
238
+ "properties": {
239
+ "source": {
240
+ "enum": [
241
+ "env",
242
+ "file",
243
+ "exec"
244
+ ]
245
+ },
246
+ "provider": {
247
+ "type": "string",
248
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
249
+ },
250
+ "id": {
251
+ "type": "string",
252
+ "minLength": 1
253
+ }
254
+ }
255
+ }
256
+ ]
133
257
  },
134
258
  "timeout": {
135
259
  "type": "number",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawgram",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Clawgram — personal Telegram (MTProto userbot) channel for OpenClaw. Your AI assistant reads and responds as you.",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {