@xopcai/xopc 0.0.106 → 0.0.108

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.
Files changed (183) hide show
  1. package/dist/browser-ext/manifest.json +1 -1
  2. package/dist/extensions/dashscope/xopc.extension.json +7 -2
  3. package/dist/extensions/fal/xopc.extension.json +7 -2
  4. package/dist/extensions/feishu/src/adapters/gateway-setup.js +22 -26
  5. package/dist/extensions/feishu/src/adapters/gateway-setup.js.map +1 -1
  6. package/dist/extensions/feishu/xopc.extension.json +458 -26
  7. package/dist/extensions/google/xopc.extension.json +7 -2
  8. package/dist/extensions/minimax/xopc.extension.json +8 -2
  9. package/dist/extensions/openai/xopc.extension.json +7 -2
  10. package/dist/extensions/telegram/xopc.extension.json +10 -2
  11. package/dist/extensions/weixin/xopc.extension.json +57 -14
  12. package/dist/gateway/static/root/apple-touch-icon.png +0 -0
  13. package/dist/gateway/static/root/assets/agents-56kCGHdV.js +78 -0
  14. package/dist/gateway/static/root/assets/apps-page-Dd88J47r.js +1 -0
  15. package/dist/gateway/static/root/assets/channels-settings-Ckyvnvml.js +1 -0
  16. package/dist/gateway/static/root/assets/cron-page-DKo2ZdRA.js +1 -0
  17. package/dist/gateway/static/root/assets/{dist-OM9qGfm5.js → dist-dmxWdtPG.js} +1 -1
  18. package/dist/gateway/static/root/assets/{extension-debug-page-D-WHrr_w.js → extension-debug-page-iGpG-vpp.js} +1 -1
  19. package/dist/gateway/static/root/assets/{extension-page-CCgjSoKn.js → extension-page-I7-3uHiD.js} +1 -1
  20. package/dist/gateway/static/root/assets/{extension-settings-page-BJH5a-Gn.js → extension-settings-page-BisnHG7r.js} +1 -1
  21. package/dist/gateway/static/root/assets/{fetch-CkvRO30i.js → fetch-CFdKBnE6.js} +1 -1
  22. package/dist/gateway/static/root/assets/{gateway-startup-retry-BkKyRDrF.js → gateway-startup-retry-DdngdObI.js} +1 -1
  23. package/dist/gateway/static/root/assets/{heartbeat-config-api-CVyP6pFj.js → heartbeat-config-api-tbWAFPN8.js} +1 -1
  24. package/dist/gateway/static/root/assets/index-DI5_GsZt.css +1 -0
  25. package/dist/gateway/static/root/assets/index-slwUkhxH.js +4845 -0
  26. package/dist/gateway/static/root/assets/{logs-page-R6Vv_Ja6.js → logs-page-CCZiXrWu.js} +2 -2
  27. package/dist/gateway/static/root/assets/{note-detail-page-BUDarLhh.js → note-detail-page-BYbw2GLl.js} +4 -4
  28. package/dist/gateway/static/root/assets/{note-time-Cc2-T21g.js → note-time-Cya72Lte.js} +1 -1
  29. package/dist/gateway/static/root/assets/notes-page-DrAO7VRK.js +1 -0
  30. package/dist/gateway/static/root/assets/{schema-form-CrlOmEZt.js → schema-form-a6UJCK55.js} +1 -1
  31. package/dist/gateway/static/root/assets/sessions-page-DNU3Ymvz.js +1 -0
  32. package/dist/gateway/static/root/assets/{settings-advanced-gate-BBAQxxew.js → settings-advanced-gate-CyEJYTbw.js} +1 -1
  33. package/dist/gateway/static/root/assets/{settings-form-section-DjPD-ErC.js → settings-form-section-DpHo2ecA.js} +1 -1
  34. package/dist/gateway/static/root/assets/settings-page-YRwe4q56.js +3 -0
  35. package/dist/gateway/static/root/assets/{share-preview-page-BjvPht3V.js → share-preview-page-B7rf4QB4.js} +1 -1
  36. package/dist/gateway/static/root/assets/skills-page-we1NAt7u.js +2 -0
  37. package/dist/gateway/static/root/assets/{theme-store-DYgVdRB4.js → theme-store-BZozwAeK.js} +1 -1
  38. package/dist/gateway/static/root/assets/url-DQRqHuL-.js +3 -0
  39. package/dist/gateway/static/root/assets/voice-api-key-field-Btagks_B.js +1 -0
  40. package/dist/gateway/static/root/assets/{workflow-page.utils-D4sqR0yX.js → workflow-page.utils-DvzJKs6W.js} +1 -1
  41. package/dist/gateway/static/root/assets/workflows-page-BgOAgCOG.js +18 -0
  42. package/dist/gateway/static/root/favicon-16.png +0 -0
  43. package/dist/gateway/static/root/favicon-32.png +0 -0
  44. package/dist/gateway/static/root/favicon.ico +0 -0
  45. package/dist/gateway/static/root/favicon.svg +18 -0
  46. package/dist/gateway/static/root/index.html +11 -10
  47. package/dist/package.js +1 -1
  48. package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.d.ts +4 -0
  49. package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js +4 -2
  50. package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js.map +1 -1
  51. package/dist/src/agent/starter-agents.d.ts +19 -0
  52. package/dist/src/agent/starter-agents.js +190 -0
  53. package/dist/src/agent/starter-agents.js.map +1 -0
  54. package/dist/src/agent/workflow/runtime.js +49 -15
  55. package/dist/src/agent/workflow/runtime.js.map +1 -1
  56. package/dist/src/agent/workflow/types.d.ts +11 -0
  57. package/dist/src/channels/catalog/channel-catalog-service.js +13 -0
  58. package/dist/src/channels/catalog/channel-catalog-service.js.map +1 -1
  59. package/dist/src/channels/plugins/types.adapters.d.ts +2 -0
  60. package/dist/src/cli/commands/extension-create.d.ts +2 -0
  61. package/dist/src/cli/commands/extension-create.js +165 -0
  62. package/dist/src/cli/commands/extension-create.js.map +1 -0
  63. package/dist/src/cli/commands/extension-dev.js +0 -2
  64. package/dist/src/cli/commands/extension-dev.js.map +1 -1
  65. package/dist/src/cli/commands/extension-marketplace.js +104 -80
  66. package/dist/src/cli/commands/extension-marketplace.js.map +1 -1
  67. package/dist/src/cli/commands/extension-pack.d.ts +13 -0
  68. package/dist/src/cli/commands/extension-pack.js +159 -91
  69. package/dist/src/cli/commands/extension-pack.js.map +1 -1
  70. package/dist/src/cli/commands/extension.d.ts +2 -0
  71. package/dist/src/cli/commands/extension.js +375 -3
  72. package/dist/src/cli/commands/extension.js.map +1 -1
  73. package/dist/src/cli/commands/gateway/run-foreground.js +1 -2
  74. package/dist/src/cli/commands/gateway/run-foreground.js.map +1 -1
  75. package/dist/src/cli/commands/onboard.js +0 -2
  76. package/dist/src/cli/commands/onboard.js.map +1 -1
  77. package/dist/src/cli/commands/setup.js +0 -2
  78. package/dist/src/cli/commands/setup.js.map +1 -1
  79. package/dist/src/cli/utils/init-workspace-core.js +9 -6
  80. package/dist/src/cli/utils/init-workspace-core.js.map +1 -1
  81. package/dist/src/config/paths.d.ts +2 -2
  82. package/dist/src/config/paths.js +10 -6
  83. package/dist/src/config/paths.js.map +1 -1
  84. package/dist/src/config/schema.d.ts +2 -0
  85. package/dist/src/config/schema.js +3 -1
  86. package/dist/src/config/schema.js.map +1 -1
  87. package/dist/src/extensions/api.d.ts +4 -2
  88. package/dist/src/extensions/api.js +31 -12
  89. package/dist/src/extensions/api.js.map +1 -1
  90. package/dist/src/extensions/discover-extensions.js +1 -0
  91. package/dist/src/extensions/discover-extensions.js.map +1 -1
  92. package/dist/src/extensions/install.d.ts +1 -0
  93. package/dist/src/extensions/install.js +51 -8
  94. package/dist/src/extensions/install.js.map +1 -1
  95. package/dist/src/extensions/loader.d.ts +0 -4
  96. package/dist/src/extensions/loader.js +54 -87
  97. package/dist/src/extensions/loader.js.map +1 -1
  98. package/dist/src/extensions/lockfile.d.ts +9 -1
  99. package/dist/src/extensions/lockfile.js.map +1 -1
  100. package/dist/src/extensions/normalize-manifest.js +20 -4
  101. package/dist/src/extensions/normalize-manifest.js.map +1 -1
  102. package/dist/src/extensions/package-contract.d.ts +12 -0
  103. package/dist/src/extensions/package-contract.js +59 -0
  104. package/dist/src/extensions/package-contract.js.map +1 -0
  105. package/dist/src/extensions/sdk/core.d.ts +1 -1
  106. package/dist/src/extensions/sdk/index.d.ts +1 -1
  107. package/dist/src/extensions/sdk/index.js.map +1 -1
  108. package/dist/src/extensions/types/manifest.d.ts +15 -0
  109. package/dist/src/gateway/agents-admin.d.ts +0 -8
  110. package/dist/src/gateway/agents-admin.js +1 -26
  111. package/dist/src/gateway/agents-admin.js.map +1 -1
  112. package/dist/src/gateway/hono/routes/agents.js +1 -55
  113. package/dist/src/gateway/hono/routes/agents.js.map +1 -1
  114. package/dist/src/gateway/hono/routes/channels.js +10 -1
  115. package/dist/src/gateway/hono/routes/channels.js.map +1 -1
  116. package/dist/src/gateway/hono/routes/workflows.js +130 -0
  117. package/dist/src/gateway/hono/routes/workflows.js.map +1 -1
  118. package/dist/src/gateway/service.d.ts +2 -0
  119. package/dist/src/gateway/service.js +44 -0
  120. package/dist/src/gateway/service.js.map +1 -1
  121. package/dist/src/notes/agent-context.d.ts +12 -4
  122. package/dist/src/notes/agent-context.js.map +1 -1
  123. package/dist/src/tui/backends/embedded-backend.js +0 -7
  124. package/dist/src/tui/backends/embedded-backend.js.map +1 -1
  125. package/dist/src/tui/backends/gateway-sse-backend.js +0 -7
  126. package/dist/src/tui/backends/gateway-sse-backend.js.map +1 -1
  127. package/dist/src/tui/tui-backend.d.ts +0 -1
  128. package/dist/src/tui/tui-commands.js +1 -1
  129. package/dist/src/tui/tui-commands.js.map +1 -1
  130. package/dist/src/tui/tui-picker-overlay.js +1 -1
  131. package/dist/src/tui/tui-picker-overlay.js.map +1 -1
  132. package/dist/src/workflows/domain/definition-utils.d.ts +1 -0
  133. package/dist/src/workflows/domain/definition-utils.js +32 -2
  134. package/dist/src/workflows/domain/definition-utils.js.map +1 -1
  135. package/dist/src/workflows/domain/definition.d.ts +2 -0
  136. package/dist/src/workflows/domain/event.d.ts +2 -1
  137. package/dist/src/workflows/domain/index.d.ts +1 -0
  138. package/dist/src/workflows/domain/index.js +3 -2
  139. package/dist/src/workflows/domain/run.d.ts +27 -1
  140. package/dist/src/workflows/domain/run.js.map +1 -1
  141. package/dist/src/workflows/domain/schema-validation.d.ts +8 -0
  142. package/dist/src/workflows/domain/schema-validation.js +28 -0
  143. package/dist/src/workflows/domain/schema-validation.js.map +1 -0
  144. package/dist/src/workflows/draft/index.d.ts +3 -0
  145. package/dist/src/workflows/draft/index.js +3 -0
  146. package/dist/src/workflows/draft/workflow-draft-prompt.d.ts +23 -0
  147. package/dist/src/workflows/draft/workflow-draft-prompt.js +98 -0
  148. package/dist/src/workflows/draft/workflow-draft-prompt.js.map +1 -0
  149. package/dist/src/workflows/draft/workflow-draft-service.d.ts +12 -0
  150. package/dist/src/workflows/draft/workflow-draft-service.js +131 -0
  151. package/dist/src/workflows/draft/workflow-draft-service.js.map +1 -0
  152. package/dist/src/workflows/draft/workflow-draft-validator.d.ts +4 -0
  153. package/dist/src/workflows/draft/workflow-draft-validator.js +133 -0
  154. package/dist/src/workflows/draft/workflow-draft-validator.js.map +1 -0
  155. package/dist/src/workflows/draft/workflow-draft.types.d.ts +44 -0
  156. package/dist/src/workflows/draft/workflow-draft.types.js +1 -0
  157. package/dist/src/workflows/engine/projector.js +1 -0
  158. package/dist/src/workflows/engine/projector.js.map +1 -1
  159. package/dist/src/workflows/engine/workflow-engine.d.ts +18 -0
  160. package/dist/src/workflows/engine/workflow-engine.js +320 -11
  161. package/dist/src/workflows/engine/workflow-engine.js.map +1 -1
  162. package/dist/src/workflows/index.js +4 -3
  163. package/dist/src/workflows/service/workflow-run-service.d.ts +14 -3
  164. package/dist/src/workflows/service/workflow-run-service.js +227 -6
  165. package/dist/src/workflows/service/workflow-run-service.js.map +1 -1
  166. package/dist/src/workflows/service/workflow-run-service.types.d.ts +7 -2
  167. package/package.json +4 -2
  168. package/dist/gateway/static/root/assets/agents-3eP0vqFO.js +0 -396
  169. package/dist/gateway/static/root/assets/apps-page-CZ2ZKrko.js +0 -1
  170. package/dist/gateway/static/root/assets/channels-settings-BbETa93K.js +0 -1
  171. package/dist/gateway/static/root/assets/cron-page-DCtUkHMu.js +0 -1
  172. package/dist/gateway/static/root/assets/index-BPYKW7FB.css +0 -1
  173. package/dist/gateway/static/root/assets/index-CEZxETzw.js +0 -4845
  174. package/dist/gateway/static/root/assets/notes-page-EAHl16bq.js +0 -1
  175. package/dist/gateway/static/root/assets/sessions-page-Ce_xuuSB.js +0 -1
  176. package/dist/gateway/static/root/assets/settings-page-KhQ9QgH0.js +0 -3
  177. package/dist/gateway/static/root/assets/skills-page-C0laq7l1.js +0 -2
  178. package/dist/gateway/static/root/assets/url-DPEStU4M.js +0 -3
  179. package/dist/gateway/static/root/assets/voice-api-key-field-DeGckWkl.js +0 -1
  180. package/dist/gateway/static/root/assets/workflows-page-DFjM95g5.js +0 -27
  181. package/dist/src/agent/builtin-agent-ids.d.ts +0 -2
  182. package/dist/src/agent/builtin-agent-ids.js +0 -17
  183. package/dist/src/agent/builtin-agent-ids.js.map +0 -1
@@ -4,8 +4,11 @@
4
4
  "description": "Feishu/Lark tools (doc/wiki/drive/perm/bitable) for xopc agents. Activates when the Feishu channel is configured.",
5
5
  "version": "0.0.14",
6
6
  "kind": "tool",
7
- "main": "src/index.ts",
8
- "channels": ["feishu", "lark"],
7
+ "main": "src/index.js",
8
+ "channels": [
9
+ "feishu",
10
+ "lark"
11
+ ],
9
12
  "channelContributions": {
10
13
  "feishu": {
11
14
  "label": "Feishu",
@@ -25,29 +28,363 @@
25
28
  "type": "object",
26
29
  "additionalProperties": true,
27
30
  "properties": {
28
- "enabled": { "type": "boolean", "default": false, "title": "Enabled" },
29
- "accounts": { "type": "object", "additionalProperties": true, "title": "Accounts" },
30
- "appId": { "type": "string", "title": "App ID" },
31
- "appSecret": { "type": "string", "format": "password", "title": "App secret" },
31
+ "enabled": {
32
+ "type": "boolean",
33
+ "default": false,
34
+ "title": "Enabled"
35
+ },
36
+ "accounts": {
37
+ "type": "object",
38
+ "additionalProperties": true,
39
+ "title": "Accounts"
40
+ },
41
+ "appId": {
42
+ "type": "string",
43
+ "title": "App ID"
44
+ },
45
+ "appSecret": {
46
+ "type": "string",
47
+ "format": "password",
48
+ "title": "App secret"
49
+ },
32
50
  "domain": {
33
51
  "type": "string",
34
- "enum": ["feishu", "lark"],
52
+ "enum": [
53
+ "feishu",
54
+ "lark"
55
+ ],
35
56
  "default": "feishu",
36
57
  "title": "Domain"
58
+ },
59
+ "connectionMode": {
60
+ "type": "string",
61
+ "enum": [
62
+ "websocket",
63
+ "webhook"
64
+ ],
65
+ "default": "websocket",
66
+ "title": "Connection mode"
67
+ },
68
+ "dmPolicy": {
69
+ "type": "string",
70
+ "enum": [
71
+ "pairing",
72
+ "allowlist",
73
+ "open",
74
+ "disabled"
75
+ ],
76
+ "default": "open",
77
+ "title": "DM policy"
78
+ },
79
+ "groupPolicy": {
80
+ "type": "string",
81
+ "enum": [
82
+ "open",
83
+ "disabled",
84
+ "allowlist"
85
+ ],
86
+ "default": "allowlist",
87
+ "title": "Group policy"
88
+ },
89
+ "allowFrom": {
90
+ "type": "array",
91
+ "items": {
92
+ "type": "string"
93
+ },
94
+ "title": "Allowed DM senders"
95
+ },
96
+ "groupAllowFrom": {
97
+ "type": "array",
98
+ "items": {
99
+ "type": "string"
100
+ },
101
+ "title": "Allowed group senders"
102
+ },
103
+ "requireMention": {
104
+ "type": "boolean",
105
+ "default": true,
106
+ "title": "Require mention in groups"
107
+ },
108
+ "renderMode": {
109
+ "type": "string",
110
+ "enum": [
111
+ "auto",
112
+ "raw",
113
+ "card"
114
+ ],
115
+ "default": "auto",
116
+ "title": "Render mode"
117
+ },
118
+ "streaming": {
119
+ "type": "boolean",
120
+ "default": false,
121
+ "title": "Streaming replies"
122
+ },
123
+ "reactionNotifications": {
124
+ "type": "string",
125
+ "enum": [
126
+ "off",
127
+ "own",
128
+ "all"
129
+ ],
130
+ "default": "own",
131
+ "title": "Reaction notifications"
132
+ },
133
+ "inboundDebounceMs": {
134
+ "type": "number",
135
+ "minimum": 0,
136
+ "maximum": 10000,
137
+ "title": "Inbound debounce (ms)"
138
+ },
139
+ "historyLimit": {
140
+ "type": "number",
141
+ "minimum": 0,
142
+ "default": 50,
143
+ "title": "History limit"
144
+ },
145
+ "textChunkLimit": {
146
+ "type": "number",
147
+ "minimum": 1,
148
+ "default": 4000,
149
+ "title": "Text chunk limit"
150
+ },
151
+ "webhookHost": {
152
+ "type": "string",
153
+ "title": "Webhook host"
154
+ },
155
+ "webhookPort": {
156
+ "type": "number",
157
+ "minimum": 1,
158
+ "title": "Webhook port"
159
+ },
160
+ "webhookPath": {
161
+ "type": "string",
162
+ "title": "Webhook path"
163
+ },
164
+ "verificationToken": {
165
+ "type": "string",
166
+ "format": "password",
167
+ "title": "Verification token"
168
+ },
169
+ "encryptKey": {
170
+ "type": "string",
171
+ "format": "password",
172
+ "title": "Encrypt key"
173
+ },
174
+ "tools": {
175
+ "type": "object",
176
+ "title": "Tools",
177
+ "additionalProperties": false,
178
+ "properties": {
179
+ "doc": {
180
+ "type": "boolean",
181
+ "title": "Doc"
182
+ },
183
+ "chat": {
184
+ "type": "boolean",
185
+ "title": "Chat"
186
+ },
187
+ "wiki": {
188
+ "type": "boolean",
189
+ "title": "Wiki"
190
+ },
191
+ "drive": {
192
+ "type": "boolean",
193
+ "title": "Drive"
194
+ },
195
+ "perm": {
196
+ "type": "boolean",
197
+ "title": "Permissions"
198
+ },
199
+ "bitable": {
200
+ "type": "boolean",
201
+ "title": "Bitable"
202
+ },
203
+ "scopes": {
204
+ "type": "boolean",
205
+ "title": "Scopes"
206
+ }
207
+ }
208
+ },
209
+ "actions": {
210
+ "type": "object",
211
+ "title": "Actions",
212
+ "additionalProperties": false,
213
+ "properties": {
214
+ "reactions": {
215
+ "type": "boolean",
216
+ "title": "Reactions"
217
+ }
218
+ }
219
+ },
220
+ "blockStreamingCoalesce": {
221
+ "type": "object",
222
+ "title": "Block streaming coalesce",
223
+ "additionalProperties": false,
224
+ "properties": {
225
+ "enabled": {
226
+ "type": "boolean",
227
+ "title": "Enabled"
228
+ },
229
+ "minChars": {
230
+ "type": "number",
231
+ "minimum": 1,
232
+ "title": "Minimum characters"
233
+ },
234
+ "idleMs": {
235
+ "type": "number",
236
+ "minimum": 1,
237
+ "title": "Idle milliseconds"
238
+ }
239
+ }
240
+ },
241
+ "dynamicAgentCreation": {
242
+ "type": "object",
243
+ "title": "Dynamic agent creation",
244
+ "additionalProperties": false,
245
+ "properties": {
246
+ "enabled": {
247
+ "type": "boolean",
248
+ "title": "Enabled"
249
+ },
250
+ "workspaceTemplate": {
251
+ "type": "string",
252
+ "title": "Workspace template"
253
+ },
254
+ "agentDirTemplate": {
255
+ "type": "string",
256
+ "title": "Agent directory template"
257
+ },
258
+ "maxAgents": {
259
+ "type": "number",
260
+ "minimum": 1,
261
+ "title": "Max agents"
262
+ }
263
+ }
37
264
  }
38
265
  }
39
266
  },
40
267
  "uiHints": {
41
- "appSecret": { "sensitive": true },
42
- "accounts.*.appSecret": { "sensitive": true },
43
- "verificationToken": { "sensitive": true },
44
- "encryptKey": { "sensitive": true }
268
+ "enabled": {
269
+ "advanced": false,
270
+ "tags": [
271
+ "basic"
272
+ ]
273
+ },
274
+ "appId": {
275
+ "advanced": false,
276
+ "tags": [
277
+ "basic"
278
+ ]
279
+ },
280
+ "appSecret": {
281
+ "advanced": false,
282
+ "tags": [
283
+ "basic"
284
+ ],
285
+ "sensitive": true
286
+ },
287
+ "domain": {
288
+ "advanced": false,
289
+ "tags": [
290
+ "basic"
291
+ ]
292
+ },
293
+ "accounts": {
294
+ "advanced": true
295
+ },
296
+ "connectionMode": {
297
+ "advanced": true
298
+ },
299
+ "dmPolicy": {
300
+ "advanced": true
301
+ },
302
+ "groupPolicy": {
303
+ "advanced": true
304
+ },
305
+ "allowFrom": {
306
+ "advanced": true
307
+ },
308
+ "groupAllowFrom": {
309
+ "advanced": true
310
+ },
311
+ "requireMention": {
312
+ "advanced": true
313
+ },
314
+ "renderMode": {
315
+ "advanced": true
316
+ },
317
+ "streaming": {
318
+ "advanced": true
319
+ },
320
+ "reactionNotifications": {
321
+ "advanced": true
322
+ },
323
+ "inboundDebounceMs": {
324
+ "advanced": true
325
+ },
326
+ "historyLimit": {
327
+ "advanced": true
328
+ },
329
+ "textChunkLimit": {
330
+ "advanced": true
331
+ },
332
+ "webhookHost": {
333
+ "advanced": true
334
+ },
335
+ "webhookPort": {
336
+ "advanced": true
337
+ },
338
+ "webhookPath": {
339
+ "advanced": true
340
+ },
341
+ "verificationToken": {
342
+ "advanced": true,
343
+ "sensitive": true
344
+ },
345
+ "encryptKey": {
346
+ "advanced": true,
347
+ "sensitive": true
348
+ },
349
+ "tools": {
350
+ "advanced": true
351
+ },
352
+ "actions": {
353
+ "advanced": true
354
+ },
355
+ "blockStreamingCoalesce": {
356
+ "advanced": true
357
+ },
358
+ "dynamicAgentCreation": {
359
+ "advanced": true
360
+ },
361
+ "accounts.*.appSecret": {
362
+ "sensitive": true
363
+ },
364
+ "accounts.*.verificationToken": {
365
+ "sensitive": true
366
+ },
367
+ "accounts.*.encryptKey": {
368
+ "sensitive": true
369
+ }
45
370
  },
46
371
  "actions": {
47
- "setup.start": { "label": "Set up by QR", "result": "qr" },
48
- "setup.status": { "label": "Setup status", "result": "poll" },
49
- "setup.manual": { "label": "Manual setup", "result": "form" },
50
- "doctor.run": { "label": "Run doctor", "result": "diagnostics" }
372
+ "setup.start": {
373
+ "label": "Set up by QR",
374
+ "result": "qr"
375
+ },
376
+ "setup.status": {
377
+ "label": "Setup status",
378
+ "result": "poll"
379
+ },
380
+ "setup.manual": {
381
+ "label": "Manual setup",
382
+ "result": "form"
383
+ },
384
+ "doctor.run": {
385
+ "label": "Run doctor",
386
+ "result": "diagnostics"
387
+ }
51
388
  },
52
389
  "i18n": {
53
390
  "zh": {
@@ -55,29 +392,124 @@
55
392
  "description": "飞书 / Lark 消息通道与工作区工具",
56
393
  "configSchema": {
57
394
  "properties": {
58
- "enabled": { "title": "启用" },
59
- "accounts": { "title": "账号" },
60
- "appId": { "title": "App ID" },
61
- "appSecret": { "title": "App Secret" },
62
- "domain": { "title": "域名" }
395
+ "enabled": {
396
+ "title": "启用"
397
+ },
398
+ "accounts": {
399
+ "title": "账号"
400
+ },
401
+ "appId": {
402
+ "title": "App ID"
403
+ },
404
+ "appSecret": {
405
+ "title": "App Secret"
406
+ },
407
+ "domain": {
408
+ "title": "域名"
409
+ },
410
+ "connectionMode": {
411
+ "title": "连接模式"
412
+ },
413
+ "dmPolicy": {
414
+ "title": "私聊策略"
415
+ },
416
+ "groupPolicy": {
417
+ "title": "群聊策略"
418
+ },
419
+ "allowFrom": {
420
+ "title": "允许的私聊发送者"
421
+ },
422
+ "groupAllowFrom": {
423
+ "title": "允许的群聊发送者"
424
+ },
425
+ "requireMention": {
426
+ "title": "群聊需要 @"
427
+ },
428
+ "renderMode": {
429
+ "title": "渲染模式"
430
+ },
431
+ "streaming": {
432
+ "title": "流式回复"
433
+ },
434
+ "reactionNotifications": {
435
+ "title": "表情回应通知"
436
+ },
437
+ "inboundDebounceMs": {
438
+ "title": "入站合并延迟(毫秒)"
439
+ },
440
+ "historyLimit": {
441
+ "title": "历史消息数量"
442
+ },
443
+ "textChunkLimit": {
444
+ "title": "文本分块上限"
445
+ },
446
+ "webhookHost": {
447
+ "title": "Webhook 主机"
448
+ },
449
+ "webhookPort": {
450
+ "title": "Webhook 端口"
451
+ },
452
+ "webhookPath": {
453
+ "title": "Webhook 路径"
454
+ },
455
+ "verificationToken": {
456
+ "title": "Verification Token"
457
+ },
458
+ "encryptKey": {
459
+ "title": "Encrypt Key"
460
+ },
461
+ "tools": {
462
+ "title": "工具"
463
+ },
464
+ "actions": {
465
+ "title": "操作"
466
+ },
467
+ "blockStreamingCoalesce": {
468
+ "title": "块流式合并"
469
+ },
470
+ "dynamicAgentCreation": {
471
+ "title": "动态 Agent 创建"
472
+ }
63
473
  }
64
474
  },
65
475
  "actions": {
66
- "setup.start": { "label": "扫码配置" },
67
- "setup.status": { "label": "配置状态" },
68
- "setup.manual": { "label": "手动配置" },
69
- "doctor.run": { "label": "诊断" }
476
+ "setup.start": {
477
+ "label": "扫码配置"
478
+ },
479
+ "setup.status": {
480
+ "label": "配置状态"
481
+ },
482
+ "setup.manual": {
483
+ "label": "手动配置"
484
+ },
485
+ "doctor.run": {
486
+ "label": "诊断"
487
+ }
70
488
  }
71
489
  }
72
490
  }
73
491
  }
74
492
  },
75
493
  "activation": {
76
- "onChannels": ["feishu", "lark"],
77
- "onCapabilities": ["tool"]
494
+ "onChannels": [
495
+ "feishu",
496
+ "lark"
497
+ ],
498
+ "onCapabilities": [
499
+ "tool"
500
+ ]
78
501
  },
79
502
  "setup": {
80
503
  "providers": [],
81
504
  "requiresRuntime": true
505
+ },
506
+ "engines": {
507
+ "xopc": ">=0.0.106 <1.0.0"
508
+ },
509
+ "contracts": {
510
+ "channels": [
511
+ "feishu",
512
+ "lark"
513
+ ]
82
514
  }
83
515
  }
@@ -4,6 +4,11 @@
4
4
  "description": "Gemini image generation and editing. Configure API keys and optional base URL under Settings → Images, or here — both edit the same providers.google entry.",
5
5
  "version": "1.0.0",
6
6
  "kind": "image-generation",
7
- "main": "src/index.ts",
8
- "autoEnableWhenConfiguredProviders": ["google"]
7
+ "main": "src/index.js",
8
+ "autoEnableWhenConfiguredProviders": [
9
+ "google"
10
+ ],
11
+ "engines": {
12
+ "xopc": ">=0.0.106 <1.0.0"
13
+ }
9
14
  }
@@ -4,6 +4,12 @@
4
4
  "description": "MiniMax image generation. Configure API keys and cluster (CN vs international) under Settings → Images, or here — both edit the same providers.minimax entry.",
5
5
  "version": "1.0.0",
6
6
  "kind": "image-generation",
7
- "main": "src/index.ts",
8
- "autoEnableWhenConfiguredProviders": ["minimax", "minimax-cn"]
7
+ "main": "src/index.js",
8
+ "autoEnableWhenConfiguredProviders": [
9
+ "minimax",
10
+ "minimax-cn"
11
+ ],
12
+ "engines": {
13
+ "xopc": ">=0.0.106 <1.0.0"
14
+ }
9
15
  }
@@ -4,6 +4,11 @@
4
4
  "description": "DALL·E / GPT image APIs. Configure API keys and optional base URL under Settings → Images, or here — both edit the same providers.openai entry.",
5
5
  "version": "1.0.0",
6
6
  "kind": "image-generation",
7
- "main": "src/index.ts",
8
- "autoEnableWhenConfiguredProviders": ["openai"]
7
+ "main": "src/index.js",
8
+ "autoEnableWhenConfiguredProviders": [
9
+ "openai"
10
+ ],
11
+ "engines": {
12
+ "xopc": ">=0.0.106 <1.0.0"
13
+ }
9
14
  }
@@ -2,9 +2,9 @@
2
2
  "id": "telegram",
3
3
  "name": "Telegram Channel",
4
4
  "description": "Bundled Telegram Bot channel (private workspace sources; ships inside @xopcai/xopc dist/)",
5
- "version": "0.0.106",
5
+ "version": "0.0.108",
6
6
  "kind": "channel",
7
- "main": "src/index.ts",
7
+ "main": "src/index.js",
8
8
  "channels": [
9
9
  "telegram"
10
10
  ],
@@ -423,5 +423,13 @@
423
423
  "setup": {
424
424
  "providers": [],
425
425
  "requiresRuntime": true
426
+ },
427
+ "engines": {
428
+ "xopc": ">=0.0.106 <1.0.0"
429
+ },
430
+ "contracts": {
431
+ "channels": [
432
+ "telegram"
433
+ ]
426
434
  }
427
435
  }