@lemoncat7/dsh-partner 2.11.6 → 2.21.5

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 (355) hide show
  1. package/README.md +3 -0
  2. package/docs/character-cards-and-renewal.md +1 -1
  3. package/docs/qq-attention.md +51 -0
  4. package/docs/qq-channel.md +80 -0
  5. package/docs/releases/2.11.7.md +9 -0
  6. package/docs/releases/2.12.0.md +14 -0
  7. package/docs/releases/2.13.0.md +9 -0
  8. package/docs/releases/2.14.0.md +9 -0
  9. package/docs/releases/2.15.0.md +9 -0
  10. package/docs/releases/2.15.1.md +9 -0
  11. package/docs/releases/2.16.0.md +18 -0
  12. package/docs/releases/2.17.0.md +23 -0
  13. package/docs/releases/2.17.1.md +9 -0
  14. package/docs/releases/2.18.0.md +9 -0
  15. package/docs/releases/2.18.1.md +5 -0
  16. package/docs/releases/2.19.0.md +14 -0
  17. package/docs/releases/2.19.1.md +7 -0
  18. package/docs/releases/2.19.2.md +9 -0
  19. package/docs/releases/2.19.3.md +5 -0
  20. package/docs/releases/2.20.0.md +10 -0
  21. package/docs/releases/2.20.1.md +8 -0
  22. package/docs/releases/2.21.0.md +7 -0
  23. package/docs/releases/2.21.1.md +8 -0
  24. package/docs/releases/2.21.2.md +10 -0
  25. package/docs/releases/2.21.3.md +7 -0
  26. package/docs/releases/2.21.4.md +8 -0
  27. package/docs/releases/2.21.5.md +15 -0
  28. package/docs/tool-entry-compatibility.md +11 -0
  29. package/lib/agent-runtime.d.ts +17 -0
  30. package/lib/agent-runtime.d.ts.map +1 -1
  31. package/lib/agent-runtime.js +313 -52
  32. package/lib/agent-runtime.js.map +1 -1
  33. package/lib/api.d.ts +1 -0
  34. package/lib/api.d.ts.map +1 -1
  35. package/lib/api.js +93 -27
  36. package/lib/api.js.map +1 -1
  37. package/lib/channel-message.d.ts +14 -0
  38. package/lib/channel-message.d.ts.map +1 -1
  39. package/lib/channel-message.js.map +1 -1
  40. package/lib/channels/delivery-policy.js +1 -1
  41. package/lib/channels/delivery-policy.js.map +1 -1
  42. package/lib/channels/direct/dispatcher.d.ts +2 -2
  43. package/lib/channels/direct/dispatcher.d.ts.map +1 -1
  44. package/lib/channels/direct/dispatcher.js +13 -4
  45. package/lib/channels/direct/dispatcher.js.map +1 -1
  46. package/lib/channels/direct/login.d.ts.map +1 -1
  47. package/lib/channels/direct/login.js +4 -0
  48. package/lib/channels/direct/login.js.map +1 -1
  49. package/lib/channels/direct/media.d.ts +2 -0
  50. package/lib/channels/direct/media.d.ts.map +1 -1
  51. package/lib/channels/direct/media.js +27 -23
  52. package/lib/channels/direct/media.js.map +1 -1
  53. package/lib/channels/direct/message-format.js +127 -127
  54. package/lib/channels/direct/message-format.js.map +1 -1
  55. package/lib/channels/direct/transport.d.ts +26 -3
  56. package/lib/channels/direct/transport.d.ts.map +1 -1
  57. package/lib/channels/direct/transport.js +31 -5
  58. package/lib/channels/direct/transport.js.map +1 -1
  59. package/lib/channels/manager.d.ts +26 -0
  60. package/lib/channels/manager.d.ts.map +1 -1
  61. package/lib/channels/manager.js +538 -148
  62. package/lib/channels/manager.js.map +1 -1
  63. package/lib/channels/notification-delivery.d.ts +4 -0
  64. package/lib/channels/notification-delivery.d.ts.map +1 -1
  65. package/lib/channels/notification-delivery.js +15 -5
  66. package/lib/channels/notification-delivery.js.map +1 -1
  67. package/lib/channels/notification-route.d.ts.map +1 -1
  68. package/lib/channels/notification-route.js +10 -4
  69. package/lib/channels/notification-route.js.map +1 -1
  70. package/lib/channels/notification-timeout.d.ts.map +1 -1
  71. package/lib/channels/notification-timeout.js +2 -0
  72. package/lib/channels/notification-timeout.js.map +1 -1
  73. package/lib/channels/outbound-media.d.ts.map +1 -1
  74. package/lib/channels/outbound-media.js +2 -0
  75. package/lib/channels/outbound-media.js.map +1 -1
  76. package/lib/channels/qq/action-catalog.d.ts +38 -0
  77. package/lib/channels/qq/action-catalog.d.ts.map +1 -0
  78. package/lib/channels/qq/action-catalog.js +2731 -0
  79. package/lib/channels/qq/action-catalog.js.map +1 -0
  80. package/lib/channels/qq/actions.d.ts +21 -0
  81. package/lib/channels/qq/actions.d.ts.map +1 -0
  82. package/lib/channels/qq/actions.js +226 -0
  83. package/lib/channels/qq/actions.js.map +1 -0
  84. package/lib/channels/qq/affection-adapter.d.ts +3 -0
  85. package/lib/channels/qq/affection-adapter.d.ts.map +1 -0
  86. package/lib/channels/qq/affection-adapter.js +16 -0
  87. package/lib/channels/qq/affection-adapter.js.map +1 -0
  88. package/lib/channels/qq/attention-classifier.d.ts +10 -0
  89. package/lib/channels/qq/attention-classifier.d.ts.map +1 -0
  90. package/lib/channels/qq/attention-classifier.js +62 -0
  91. package/lib/channels/qq/attention-classifier.js.map +1 -0
  92. package/lib/channels/qq/authority.d.ts +10 -0
  93. package/lib/channels/qq/authority.d.ts.map +1 -0
  94. package/lib/channels/qq/authority.js +50 -0
  95. package/lib/channels/qq/authority.js.map +1 -0
  96. package/lib/channels/qq/autonomy.d.ts +30 -0
  97. package/lib/channels/qq/autonomy.d.ts.map +1 -0
  98. package/lib/channels/qq/autonomy.js +88 -0
  99. package/lib/channels/qq/autonomy.js.map +1 -0
  100. package/lib/channels/qq/catalog.d.ts +14 -0
  101. package/lib/channels/qq/catalog.d.ts.map +1 -0
  102. package/lib/channels/qq/catalog.js +34 -0
  103. package/lib/channels/qq/catalog.js.map +1 -0
  104. package/lib/channels/qq/connection.d.ts +28 -0
  105. package/lib/channels/qq/connection.d.ts.map +1 -0
  106. package/lib/channels/qq/connection.js +200 -0
  107. package/lib/channels/qq/connection.js.map +1 -0
  108. package/lib/channels/qq/identity-binding.d.ts +14 -0
  109. package/lib/channels/qq/identity-binding.d.ts.map +1 -0
  110. package/lib/channels/qq/identity-binding.js +58 -0
  111. package/lib/channels/qq/identity-binding.js.map +1 -0
  112. package/lib/channels/qq/latency.d.ts +22 -0
  113. package/lib/channels/qq/latency.d.ts.map +1 -0
  114. package/lib/channels/qq/latency.js +21 -0
  115. package/lib/channels/qq/latency.js.map +1 -0
  116. package/lib/channels/qq/message.d.ts +6 -0
  117. package/lib/channels/qq/message.d.ts.map +1 -0
  118. package/lib/channels/qq/message.js +49 -0
  119. package/lib/channels/qq/message.js.map +1 -0
  120. package/lib/channels/qq/reply-rules.d.ts +30 -0
  121. package/lib/channels/qq/reply-rules.d.ts.map +1 -0
  122. package/lib/channels/qq/reply-rules.js +72 -0
  123. package/lib/channels/qq/reply-rules.js.map +1 -0
  124. package/lib/channels/qq/reply-tool.d.ts +6 -0
  125. package/lib/channels/qq/reply-tool.d.ts.map +1 -0
  126. package/lib/channels/qq/reply-tool.js +113 -0
  127. package/lib/channels/qq/reply-tool.js.map +1 -0
  128. package/lib/channels/qq/settings.d.ts +42 -0
  129. package/lib/channels/qq/settings.d.ts.map +1 -0
  130. package/lib/channels/qq/settings.js +68 -0
  131. package/lib/channels/qq/settings.js.map +1 -0
  132. package/lib/channels/qq/sticker-adapter.d.ts +5 -0
  133. package/lib/channels/qq/sticker-adapter.d.ts.map +1 -0
  134. package/lib/channels/qq/sticker-adapter.js +43 -0
  135. package/lib/channels/qq/sticker-adapter.js.map +1 -0
  136. package/lib/channels/qq/transport.d.ts +29 -0
  137. package/lib/channels/qq/transport.d.ts.map +1 -0
  138. package/lib/channels/qq/transport.js +187 -0
  139. package/lib/channels/qq/transport.js.map +1 -0
  140. package/lib/channels/reply-access.d.ts +25 -0
  141. package/lib/channels/reply-access.d.ts.map +1 -0
  142. package/lib/channels/reply-access.js +29 -0
  143. package/lib/channels/reply-access.js.map +1 -0
  144. package/lib/channels/weixin/connect.d.ts +3 -1
  145. package/lib/channels/weixin/connect.d.ts.map +1 -1
  146. package/lib/character/activity-tool.d.ts +7 -0
  147. package/lib/character/activity-tool.d.ts.map +1 -0
  148. package/lib/character/activity-tool.js +38 -0
  149. package/lib/character/activity-tool.js.map +1 -0
  150. package/lib/character/affection-adapter.d.ts +13 -0
  151. package/lib/character/affection-adapter.d.ts.map +1 -0
  152. package/lib/character/affection-adapter.js +13 -0
  153. package/lib/character/affection-adapter.js.map +1 -0
  154. package/lib/character/affection-context.d.ts +7 -0
  155. package/lib/character/affection-context.d.ts.map +1 -0
  156. package/lib/character/affection-context.js +33 -0
  157. package/lib/character/affection-context.js.map +1 -0
  158. package/lib/character/affection.d.ts +47 -0
  159. package/lib/character/affection.d.ts.map +1 -0
  160. package/lib/character/affection.js +41 -0
  161. package/lib/character/affection.js.map +1 -0
  162. package/lib/character/conversation-behavior.d.ts +1 -1
  163. package/lib/character/conversation-behavior.d.ts.map +1 -1
  164. package/lib/character/conversation-behavior.js +5 -3
  165. package/lib/character/conversation-behavior.js.map +1 -1
  166. package/lib/character/domain.d.ts +5 -0
  167. package/lib/character/domain.d.ts.map +1 -1
  168. package/lib/character/domain.js +21 -4
  169. package/lib/character/domain.js.map +1 -1
  170. package/lib/character/identity-guide.d.ts +4 -0
  171. package/lib/character/identity-guide.d.ts.map +1 -0
  172. package/lib/character/identity-guide.js +14 -0
  173. package/lib/character/identity-guide.js.map +1 -0
  174. package/lib/character/idle-contact.d.ts +12 -5
  175. package/lib/character/idle-contact.d.ts.map +1 -1
  176. package/lib/character/idle-contact.js +50 -21
  177. package/lib/character/idle-contact.js.map +1 -1
  178. package/lib/character/post-reply.d.ts +19 -0
  179. package/lib/character/post-reply.d.ts.map +1 -0
  180. package/lib/character/post-reply.js +33 -0
  181. package/lib/character/post-reply.js.map +1 -0
  182. package/lib/character/preview.d.ts.map +1 -1
  183. package/lib/character/preview.js +9 -1
  184. package/lib/character/preview.js.map +1 -1
  185. package/lib/character/relationship-adapter.d.ts +18 -0
  186. package/lib/character/relationship-adapter.d.ts.map +1 -0
  187. package/lib/character/relationship-adapter.js +18 -0
  188. package/lib/character/relationship-adapter.js.map +1 -0
  189. package/lib/character/sleep-service.d.ts +35 -0
  190. package/lib/character/sleep-service.d.ts.map +1 -0
  191. package/lib/character/sleep-service.js +278 -0
  192. package/lib/character/sleep-service.js.map +1 -0
  193. package/lib/character/sleep.d.ts +43 -0
  194. package/lib/character/sleep.d.ts.map +1 -0
  195. package/lib/character/sleep.js +36 -0
  196. package/lib/character/sleep.js.map +1 -0
  197. package/lib/character/state-policy.d.ts +4 -0
  198. package/lib/character/state-policy.d.ts.map +1 -0
  199. package/lib/character/state-policy.js +14 -0
  200. package/lib/character/state-policy.js.map +1 -0
  201. package/lib/character/store.d.ts.map +1 -1
  202. package/lib/character/store.js +3 -3
  203. package/lib/character/store.js.map +1 -1
  204. package/lib/chat/conversation.js +1 -1
  205. package/lib/chat/conversation.js.map +1 -1
  206. package/lib/chat/protocol.d.ts +8 -0
  207. package/lib/chat/protocol.d.ts.map +1 -1
  208. package/lib/chat/protocol.js +24 -5
  209. package/lib/chat/protocol.js.map +1 -1
  210. package/lib/chat/sticker-adapter.d.ts +34 -0
  211. package/lib/chat/sticker-adapter.d.ts.map +1 -0
  212. package/lib/chat/sticker-adapter.js +30 -0
  213. package/lib/chat/sticker-adapter.js.map +1 -0
  214. package/lib/chat/tools.d.ts +2 -1
  215. package/lib/chat/tools.d.ts.map +1 -1
  216. package/lib/chat/tools.js +59 -13
  217. package/lib/chat/tools.js.map +1 -1
  218. package/lib/client-api.d.ts +21 -1
  219. package/lib/client-api.d.ts.map +1 -1
  220. package/lib/client-api.js.map +1 -1
  221. package/lib/client.d.ts.map +1 -1
  222. package/lib/client.js +6388 -2685
  223. package/lib/client.js.map +4 -4
  224. package/lib/collaboration/composition.d.ts +2 -0
  225. package/lib/collaboration/composition.d.ts.map +1 -1
  226. package/lib/collaboration/composition.js +32 -10
  227. package/lib/collaboration/composition.js.map +1 -1
  228. package/lib/collaboration/tool-discovery.d.ts +12 -0
  229. package/lib/collaboration/tool-discovery.d.ts.map +1 -0
  230. package/lib/collaboration/tool-discovery.js +148 -0
  231. package/lib/collaboration/tool-discovery.js.map +1 -0
  232. package/lib/companions/identity-tool.d.ts +176 -0
  233. package/lib/companions/identity-tool.d.ts.map +1 -0
  234. package/lib/companions/identity-tool.js +67 -0
  235. package/lib/companions/identity-tool.js.map +1 -0
  236. package/lib/companions/identity.d.ts +24 -0
  237. package/lib/companions/identity.d.ts.map +1 -0
  238. package/lib/companions/identity.js +49 -0
  239. package/lib/companions/identity.js.map +1 -0
  240. package/lib/companions/management-tool.d.ts +1 -1
  241. package/lib/companions/management-tool.d.ts.map +1 -1
  242. package/lib/companions/management-tool.js +4 -2
  243. package/lib/companions/management-tool.js.map +1 -1
  244. package/lib/companions/management.d.ts +21 -9
  245. package/lib/companions/management.d.ts.map +1 -1
  246. package/lib/companions/management.js +18 -4
  247. package/lib/companions/management.js.map +1 -1
  248. package/lib/companions/service.js +1 -0
  249. package/lib/companions/service.js.map +1 -1
  250. package/lib/companions/session-configuration.js +2 -2
  251. package/lib/companions/session-configuration.js.map +1 -1
  252. package/lib/domain.d.ts +37 -1
  253. package/lib/domain.d.ts.map +1 -1
  254. package/lib/domain.js +6 -0
  255. package/lib/domain.js.map +1 -1
  256. package/lib/execution/agent-support.d.ts +1 -1
  257. package/lib/execution/agent-support.d.ts.map +1 -1
  258. package/lib/execution/agent-support.js +7 -2
  259. package/lib/execution/agent-support.js.map +1 -1
  260. package/lib/execution/operation-tool-access.d.ts +13 -0
  261. package/lib/execution/operation-tool-access.d.ts.map +1 -0
  262. package/lib/execution/operation-tool-access.js +49 -0
  263. package/lib/execution/operation-tool-access.js.map +1 -0
  264. package/lib/execution/service.d.ts.map +1 -1
  265. package/lib/execution/service.js +2 -10
  266. package/lib/execution/service.js.map +1 -1
  267. package/lib/execution/tool-access-adapter.d.ts +23 -0
  268. package/lib/execution/tool-access-adapter.d.ts.map +1 -0
  269. package/lib/execution/tool-access-adapter.js +25 -0
  270. package/lib/execution/tool-access-adapter.js.map +1 -0
  271. package/lib/heartbeat.js +1 -1
  272. package/lib/index.d.ts.map +1 -1
  273. package/lib/index.js +32 -2
  274. package/lib/index.js.map +1 -1
  275. package/lib/memory-domain.d.ts +1 -0
  276. package/lib/memory-domain.d.ts.map +1 -1
  277. package/lib/memory-prompt-context.js +1 -0
  278. package/lib/memory-prompt-context.js.map +1 -1
  279. package/lib/memory-reflection.d.ts.map +1 -1
  280. package/lib/memory-reflection.js +16 -5
  281. package/lib/memory-reflection.js.map +1 -1
  282. package/lib/memory-scope.d.ts +2 -1
  283. package/lib/memory-scope.d.ts.map +1 -1
  284. package/lib/memory-scope.js +3 -1
  285. package/lib/memory-scope.js.map +1 -1
  286. package/lib/memory-store.d.ts +1 -1
  287. package/lib/observation-knowledge-entry.d.ts +2 -0
  288. package/lib/observation-knowledge-entry.d.ts.map +1 -0
  289. package/lib/observation-knowledge-entry.js +13 -0
  290. package/lib/observation-knowledge-entry.js.map +1 -0
  291. package/lib/observation-loop.d.ts.map +1 -1
  292. package/lib/observation-loop.js +3 -0
  293. package/lib/observation-loop.js.map +1 -1
  294. package/lib/storage/split-state.d.ts +1 -0
  295. package/lib/storage/split-state.d.ts.map +1 -1
  296. package/lib/storage/split-state.js +9 -2
  297. package/lib/storage/split-state.js.map +1 -1
  298. package/lib/store.d.ts.map +1 -1
  299. package/lib/store.js +7 -0
  300. package/lib/store.js.map +1 -1
  301. package/lib/ui/affection-panel.d.ts +10 -0
  302. package/lib/ui/affection-panel.d.ts.map +1 -0
  303. package/lib/ui/affection-panel.js +44 -0
  304. package/lib/ui/affection-panel.js.map +1 -0
  305. package/lib/ui/capability-editor.d.ts.map +1 -1
  306. package/lib/ui/capability-editor.js +1 -1
  307. package/lib/ui/capability-editor.js.map +1 -1
  308. package/lib/ui/channels-panel.d.ts.map +1 -1
  309. package/lib/ui/channels-panel.js +13 -9
  310. package/lib/ui/channels-panel.js.map +1 -1
  311. package/lib/ui/character-editor.d.ts +3 -1
  312. package/lib/ui/character-editor.d.ts.map +1 -1
  313. package/lib/ui/character-editor.js +20 -18
  314. package/lib/ui/character-editor.js.map +1 -1
  315. package/lib/ui/character-memory-editor.d.ts +6 -1
  316. package/lib/ui/character-memory-editor.d.ts.map +1 -1
  317. package/lib/ui/character-memory-editor.js +17 -11
  318. package/lib/ui/character-memory-editor.js.map +1 -1
  319. package/lib/ui/companion-draft.d.ts +3 -0
  320. package/lib/ui/companion-draft.d.ts.map +1 -1
  321. package/lib/ui/companion-draft.js +1 -1
  322. package/lib/ui/companion-draft.js.map +1 -1
  323. package/lib/ui/identity-editor.d.ts.map +1 -1
  324. package/lib/ui/identity-editor.js +12 -6
  325. package/lib/ui/identity-editor.js.map +1 -1
  326. package/lib/ui/idle-contact-editor.d.ts.map +1 -1
  327. package/lib/ui/idle-contact-editor.js +3 -2
  328. package/lib/ui/idle-contact-editor.js.map +1 -1
  329. package/lib/ui/memory/memory-panel.d.ts.map +1 -1
  330. package/lib/ui/memory/memory-panel.js +5 -3
  331. package/lib/ui/memory/memory-panel.js.map +1 -1
  332. package/lib/ui/push-draft.d.ts +5 -5
  333. package/lib/ui/qq-capability-settings.d.ts +9 -0
  334. package/lib/ui/qq-capability-settings.d.ts.map +1 -0
  335. package/lib/ui/qq-capability-settings.js +24 -0
  336. package/lib/ui/qq-capability-settings.js.map +1 -0
  337. package/lib/ui/qq-channel-settings.d.ts +13 -0
  338. package/lib/ui/qq-channel-settings.d.ts.map +1 -0
  339. package/lib/ui/qq-channel-settings.js +51 -0
  340. package/lib/ui/qq-channel-settings.js.map +1 -0
  341. package/lib/ui/qq-identity-binding.d.ts +9 -0
  342. package/lib/ui/qq-identity-binding.d.ts.map +1 -0
  343. package/lib/ui/qq-identity-binding.js +6 -0
  344. package/lib/ui/qq-identity-binding.js.map +1 -0
  345. package/lib/ui/qq-voice-reply-settings.d.ts +9 -0
  346. package/lib/ui/qq-voice-reply-settings.d.ts.map +1 -0
  347. package/lib/ui/qq-voice-reply-settings.js +23 -0
  348. package/lib/ui/qq-voice-reply-settings.js.map +1 -0
  349. package/lib/ui/role-reference.js +1 -1
  350. package/lib/ui/role-reference.js.map +1 -1
  351. package/lib/ui/sleep-editor.d.ts +10 -0
  352. package/lib/ui/sleep-editor.d.ts.map +1 -0
  353. package/lib/ui/sleep-editor.js +45 -0
  354. package/lib/ui/sleep-editor.js.map +1 -0
  355. package/package.json +33 -5
@@ -0,0 +1,2731 @@
1
+ export const QQ_ACTION_CATEGORIES = [
2
+ {
3
+ "id": "space",
4
+ "title": "QQ 空间",
5
+ "description": "浏览动态、发表说说、点赞与评论"
6
+ },
7
+ {
8
+ "id": "voice",
9
+ "title": "语音",
10
+ "description": "发送音频文件,或使用 QQ 群 AI 音色"
11
+ },
12
+ {
13
+ "id": "interact",
14
+ "title": "聊天互动",
15
+ "description": "拍一拍、资料点赞、消息表情回应"
16
+ },
17
+ {
18
+ "id": "history",
19
+ "title": "消息与记录",
20
+ "description": "查询授权会话的记录、语音转文字与撤回"
21
+ },
22
+ {
23
+ "id": "profile",
24
+ "title": "账号与好友资料",
25
+ "description": "资料、头像、签名、状态和好友备注"
26
+ },
27
+ {
28
+ "id": "groups",
29
+ "title": "群资料",
30
+ "description": "成员列表、荣誉、签到与群资料"
31
+ },
32
+ {
33
+ "id": "notices",
34
+ "title": "公告与待办",
35
+ "description": "群公告、精华消息、待办事项"
36
+ },
37
+ {
38
+ "id": "moderation",
39
+ "title": "群管理",
40
+ "description": "禁言、成员管理与入群设置;需要 QQ 群权限"
41
+ },
42
+ {
43
+ "id": "files",
44
+ "title": "文件",
45
+ "description": "授权会话的文件上传、群文件夹和整理"
46
+ },
47
+ {
48
+ "id": "albums",
49
+ "title": "群相册",
50
+ "description": "查看、上传图片或视频、点赞和评论"
51
+ }
52
+ ];
53
+ export const QQ_ACTIONS = [
54
+ {
55
+ "id": "get_qzone_feeds",
56
+ "category": "space",
57
+ "title": "获取 QQ 空间好友动态,支持结构化正文与游标分页",
58
+ "description": "获取 QQ 空间好友动态,支持结构化正文与游标分页",
59
+ "effect": "read",
60
+ "schema": {
61
+ "type": "object",
62
+ "properties": {
63
+ "page_num": {
64
+ "type": "integer",
65
+ "minimum": 1,
66
+ "description": "页码(1 起);不传 cursor 时从首页顺序定位,较深页可能耗时较长",
67
+ "default": 1
68
+ },
69
+ "count": {
70
+ "type": "integer",
71
+ "minimum": 1,
72
+ "maximum": 50,
73
+ "description": "本页数量",
74
+ "default": 10
75
+ },
76
+ "cursor": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 65536,
80
+ "description": "上一次返回的 next_cursor;原样传递,省略 page_num 或传入对应页码"
81
+ }
82
+ },
83
+ "additionalProperties": false
84
+ }
85
+ },
86
+ {
87
+ "id": "get_qzone_msg_list",
88
+ "category": "space",
89
+ "title": "获取 QQ 空间说说列表",
90
+ "description": "获取 QQ 空间说说列表(默认机器人自己的空间)",
91
+ "effect": "read",
92
+ "schema": {
93
+ "type": "object",
94
+ "properties": {
95
+ "target_uin": {
96
+ "type": "integer",
97
+ "minimum": 1,
98
+ "description": "目标 QQ 号,省略则取机器人自己"
99
+ },
100
+ "pos": {
101
+ "type": "integer",
102
+ "minimum": 0,
103
+ "description": "起始偏移",
104
+ "default": 0
105
+ },
106
+ "num": {
107
+ "type": "integer",
108
+ "minimum": 1,
109
+ "maximum": 100,
110
+ "description": "本页数量",
111
+ "default": 20
112
+ }
113
+ },
114
+ "additionalProperties": false
115
+ }
116
+ },
117
+ {
118
+ "id": "get_qzone_msg_detail",
119
+ "category": "space",
120
+ "title": "获取 QQ 空间说说详情与一页评论",
121
+ "description": "获取 QQ 空间说说详情与一页评论(含服务端内联回复,需有访问权限)",
122
+ "effect": "read",
123
+ "schema": {
124
+ "type": "object",
125
+ "properties": {
126
+ "tid": {
127
+ "type": "string",
128
+ "minLength": 1,
129
+ "description": "说说 tid(来自 get_qzone_msg_list / send_qzone_msg)",
130
+ "maxLength": 12000
131
+ },
132
+ "target_uin": {
133
+ "type": "integer",
134
+ "minimum": 1,
135
+ "description": "说说所属 QQ 号,省略则取机器人自己"
136
+ },
137
+ "pos": {
138
+ "type": "integer",
139
+ "minimum": 0,
140
+ "description": "一级评论起始偏移",
141
+ "default": 0
142
+ },
143
+ "num": {
144
+ "type": "integer",
145
+ "minimum": 1,
146
+ "maximum": 100,
147
+ "description": "请求的一级评论数量,实际数量受服务端限制",
148
+ "default": 20
149
+ }
150
+ },
151
+ "required": [
152
+ "tid"
153
+ ],
154
+ "additionalProperties": false
155
+ }
156
+ },
157
+ {
158
+ "id": "send_qzone_msg",
159
+ "category": "space",
160
+ "title": "发表说说",
161
+ "description": "发表说说(QQ 空间,支持纯文字或带图;传 images 自动上传;可设置查看权限)",
162
+ "effect": "write",
163
+ "schema": {
164
+ "type": "object",
165
+ "properties": {
166
+ "content": {
167
+ "type": "string",
168
+ "minLength": 1,
169
+ "description": "说说正文",
170
+ "maxLength": 12000
171
+ },
172
+ "images": {
173
+ "type": "array",
174
+ "items": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "maxLength": 12000
178
+ },
179
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。",
180
+ "maxItems": 100
181
+ },
182
+ "ugc_right": {
183
+ "type": "integer",
184
+ "minimum": 1,
185
+ "description": "查看权限:1=所有人可见,4=好友可见,16=部分好友可见,64=仅自己可见,128=部分好友不可见",
186
+ "default": 1,
187
+ "enum": [
188
+ 1,
189
+ 4,
190
+ 16,
191
+ 64,
192
+ 128
193
+ ]
194
+ },
195
+ "target_uins": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "integer",
199
+ "minimum": 1
200
+ },
201
+ "description": "权限作用 QQ 号数组;ugc_right=16 时表示可见名单,128 时表示不可见名单",
202
+ "maxItems": 100
203
+ }
204
+ },
205
+ "required": [
206
+ "content"
207
+ ],
208
+ "additionalProperties": false
209
+ },
210
+ "media": [
211
+ "images"
212
+ ]
213
+ },
214
+ {
215
+ "id": "like_qzone",
216
+ "category": "space",
217
+ "title": "给一条说说点赞",
218
+ "description": "给一条说说点赞(QQ 空间)",
219
+ "effect": "write",
220
+ "schema": {
221
+ "type": "object",
222
+ "properties": {
223
+ "tid": {
224
+ "type": "string",
225
+ "minLength": 1,
226
+ "description": "说说 tid",
227
+ "maxLength": 12000
228
+ },
229
+ "target_uin": {
230
+ "type": "integer",
231
+ "minimum": 1,
232
+ "description": "说说所属 QQ 号,省略则为机器人自己"
233
+ },
234
+ "abstime": {
235
+ "type": "integer",
236
+ "minimum": 0,
237
+ "description": "说说发表时间(unix 秒),传真实值更可靠",
238
+ "default": 0
239
+ }
240
+ },
241
+ "required": [
242
+ "tid"
243
+ ],
244
+ "additionalProperties": false
245
+ }
246
+ },
247
+ {
248
+ "id": "comment_qzone",
249
+ "category": "space",
250
+ "title": "评论说说或回复指定评论",
251
+ "description": "评论说说或回复指定评论(普通评论支持带图,楼中楼仅支持文字)",
252
+ "effect": "write",
253
+ "schema": {
254
+ "type": "object",
255
+ "properties": {
256
+ "tid": {
257
+ "type": "string",
258
+ "minLength": 1,
259
+ "description": "说说 tid",
260
+ "maxLength": 12000
261
+ },
262
+ "content": {
263
+ "type": "string",
264
+ "minLength": 1,
265
+ "description": "评论内容",
266
+ "maxLength": 12000
267
+ },
268
+ "target_uin": {
269
+ "type": "integer",
270
+ "minimum": 1,
271
+ "description": "说说所属 QQ 号,省略则为机器人自己"
272
+ },
273
+ "comment_id": {
274
+ "type": "string",
275
+ "minLength": 1,
276
+ "description": "一级父评论 ID,与 comment_uin 同时提供;编号 0 有效,不能传二级回复自身的 ID",
277
+ "maxLength": 12000
278
+ },
279
+ "comment_uin": {
280
+ "type": "integer",
281
+ "minimum": 1,
282
+ "description": "一级父评论作者 QQ 号,与 comment_id 同时提供;不是说说所属账号"
283
+ },
284
+ "reply_uin": {
285
+ "type": "integer",
286
+ "minimum": 1,
287
+ "description": "楼中楼中要回复的用户 QQ 号,与 reply_name 同时提供,需指定父评论"
288
+ },
289
+ "reply_name": {
290
+ "type": "string",
291
+ "minLength": 1,
292
+ "description": "要回复的用户昵称,来自评论详情的 name;与 reply_uin 同时提供",
293
+ "maxLength": 12000
294
+ },
295
+ "images": {
296
+ "type": "array",
297
+ "items": {
298
+ "type": "string",
299
+ "minLength": 1,
300
+ "maxLength": 12000
301
+ },
302
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。",
303
+ "maxItems": 100
304
+ }
305
+ },
306
+ "required": [
307
+ "tid",
308
+ "content"
309
+ ],
310
+ "additionalProperties": false
311
+ },
312
+ "media": [
313
+ "images"
314
+ ]
315
+ },
316
+ {
317
+ "id": "set_qzone_msg_right",
318
+ "category": "space",
319
+ "title": "修改一条已发说说的查看权限",
320
+ "description": "修改一条已发说说的查看权限(QQ 空间,按 tid)",
321
+ "effect": "write",
322
+ "schema": {
323
+ "type": "object",
324
+ "properties": {
325
+ "tid": {
326
+ "type": "string",
327
+ "minLength": 1,
328
+ "description": "说说 tid(来自 get_qzone_msg_list / send_qzone_msg)",
329
+ "maxLength": 12000
330
+ },
331
+ "ugc_right": {
332
+ "type": "integer",
333
+ "minimum": 1,
334
+ "description": "查看权限:1=所有人可见,4=好友可见,16=部分好友可见,64=仅自己可见,128=部分好友不可见",
335
+ "enum": [
336
+ 1,
337
+ 4,
338
+ 16,
339
+ 64,
340
+ 128
341
+ ]
342
+ },
343
+ "target_uins": {
344
+ "type": "array",
345
+ "items": {
346
+ "type": "integer",
347
+ "minimum": 1
348
+ },
349
+ "description": "权限作用 QQ 号数组;ugc_right=16 时表示可见名单,128 时表示不可见名单",
350
+ "maxItems": 100
351
+ }
352
+ },
353
+ "required": [
354
+ "tid",
355
+ "ugc_right"
356
+ ],
357
+ "additionalProperties": false
358
+ }
359
+ },
360
+ {
361
+ "id": "delete_qzone_msg",
362
+ "category": "space",
363
+ "title": "删除一条说说",
364
+ "description": "删除一条说说(QQ 空间,按 tid)",
365
+ "effect": "destructive",
366
+ "schema": {
367
+ "type": "object",
368
+ "properties": {
369
+ "tid": {
370
+ "type": "string",
371
+ "minLength": 1,
372
+ "description": "说说 tid(来自 get_qzone_msg_list / send_qzone_msg)",
373
+ "maxLength": 12000
374
+ }
375
+ },
376
+ "required": [
377
+ "tid"
378
+ ],
379
+ "additionalProperties": false
380
+ }
381
+ },
382
+ {
383
+ "id": "set_qzone_ban",
384
+ "category": "space",
385
+ "title": "拉黑或解除拉黑某人",
386
+ "description": "拉黑或解除拉黑某人(修改机器人自身 QQ 空间黑名单;enable=true 拉黑,false 解除)",
387
+ "effect": "destructive",
388
+ "schema": {
389
+ "type": "object",
390
+ "properties": {
391
+ "user_id": {
392
+ "type": "integer",
393
+ "minimum": 1,
394
+ "description": "目标 QQ 号"
395
+ },
396
+ "enable": {
397
+ "type": "boolean",
398
+ "description": "true 拉黑,false 解除拉黑",
399
+ "default": true
400
+ }
401
+ },
402
+ "required": [
403
+ "user_id"
404
+ ],
405
+ "additionalProperties": false
406
+ }
407
+ },
408
+ {
409
+ "id": "get_ai_characters",
410
+ "category": "voice",
411
+ "title": "获取 AI 语音角色",
412
+ "description": "获取 AI 语音角色",
413
+ "effect": "read",
414
+ "schema": {
415
+ "type": "object",
416
+ "properties": {
417
+ "group_id": {
418
+ "type": "integer",
419
+ "minimum": 1,
420
+ "description": "群号"
421
+ },
422
+ "chat_type": {
423
+ "type": "integer",
424
+ "minimum": 0,
425
+ "default": 1
426
+ }
427
+ },
428
+ "required": [
429
+ "group_id"
430
+ ],
431
+ "additionalProperties": false
432
+ }
433
+ },
434
+ {
435
+ "id": "get_ai_record",
436
+ "category": "voice",
437
+ "title": "生成 AI 语音",
438
+ "description": "生成 AI 语音",
439
+ "effect": "read",
440
+ "schema": {
441
+ "type": "object",
442
+ "properties": {
443
+ "group_id": {
444
+ "type": "integer",
445
+ "minimum": 1,
446
+ "description": "群号"
447
+ },
448
+ "character": {
449
+ "type": "string",
450
+ "minLength": 1,
451
+ "maxLength": 12000
452
+ },
453
+ "text": {
454
+ "type": "string",
455
+ "minLength": 1,
456
+ "maxLength": 12000
457
+ },
458
+ "chat_type": {
459
+ "type": "integer",
460
+ "minimum": 0,
461
+ "default": 1
462
+ }
463
+ },
464
+ "required": [
465
+ "group_id",
466
+ "character",
467
+ "text"
468
+ ],
469
+ "additionalProperties": false
470
+ }
471
+ },
472
+ {
473
+ "id": "send_group_ai_record",
474
+ "category": "voice",
475
+ "title": "发送 AI 语音到群",
476
+ "description": "发送 AI 语音到群",
477
+ "effect": "write",
478
+ "schema": {
479
+ "type": "object",
480
+ "properties": {
481
+ "group_id": {
482
+ "type": "integer",
483
+ "minimum": 1,
484
+ "description": "群号"
485
+ },
486
+ "character": {
487
+ "type": "string",
488
+ "minLength": 1,
489
+ "maxLength": 12000
490
+ },
491
+ "text": {
492
+ "type": "string",
493
+ "minLength": 1,
494
+ "maxLength": 12000
495
+ },
496
+ "chat_type": {
497
+ "type": "integer",
498
+ "minimum": 0,
499
+ "default": 1
500
+ }
501
+ },
502
+ "required": [
503
+ "group_id",
504
+ "character",
505
+ "text"
506
+ ],
507
+ "additionalProperties": false
508
+ }
509
+ },
510
+ {
511
+ "id": "send_voice",
512
+ "category": "voice",
513
+ "title": "发送语音文件到私聊或群聊",
514
+ "description": "发送语音文件到私聊或群聊",
515
+ "effect": "write",
516
+ "schema": {
517
+ "type": "object",
518
+ "properties": {
519
+ "user_id": {
520
+ "type": "integer",
521
+ "minimum": 1
522
+ },
523
+ "group_id": {
524
+ "type": "integer",
525
+ "minimum": 1
526
+ },
527
+ "file": {
528
+ "type": "string",
529
+ "minLength": 1,
530
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。",
531
+ "maxLength": 12000
532
+ }
533
+ },
534
+ "required": [
535
+ "file"
536
+ ],
537
+ "additionalProperties": false
538
+ },
539
+ "media": [
540
+ "file"
541
+ ]
542
+ },
543
+ {
544
+ "id": "send_poke",
545
+ "category": "interact",
546
+ "title": "拍一拍",
547
+ "description": "拍一拍(群聊/私聊自动路由)",
548
+ "effect": "write",
549
+ "schema": {
550
+ "type": "object",
551
+ "properties": {
552
+ "user_id": {
553
+ "type": "integer",
554
+ "minimum": 1
555
+ },
556
+ "group_id": {
557
+ "type": "integer",
558
+ "minimum": 1
559
+ }
560
+ },
561
+ "required": [
562
+ "user_id"
563
+ ],
564
+ "additionalProperties": false
565
+ }
566
+ },
567
+ {
568
+ "id": "send_like",
569
+ "category": "interact",
570
+ "title": "点赞",
571
+ "description": "点赞",
572
+ "effect": "write",
573
+ "schema": {
574
+ "type": "object",
575
+ "properties": {
576
+ "user_id": {
577
+ "type": "integer",
578
+ "minimum": 1
579
+ },
580
+ "times": {
581
+ "type": "integer",
582
+ "minimum": 0,
583
+ "default": 1
584
+ }
585
+ },
586
+ "required": [
587
+ "user_id"
588
+ ],
589
+ "additionalProperties": false
590
+ }
591
+ },
592
+ {
593
+ "id": "set_msg_emoji_like",
594
+ "category": "interact",
595
+ "title": "设置消息表情回应",
596
+ "description": "设置消息表情回应",
597
+ "effect": "write",
598
+ "schema": {
599
+ "type": "object",
600
+ "properties": {
601
+ "message_id": {
602
+ "type": "integer",
603
+ "not": {
604
+ "const": 0
605
+ }
606
+ },
607
+ "emoji_id": {
608
+ "type": "string",
609
+ "minLength": 1,
610
+ "maxLength": 12000
611
+ },
612
+ "set": {
613
+ "type": "boolean",
614
+ "default": true
615
+ }
616
+ },
617
+ "required": [
618
+ "message_id",
619
+ "emoji_id"
620
+ ],
621
+ "additionalProperties": false
622
+ },
623
+ "messageScope": true
624
+ },
625
+ {
626
+ "id": "get_msg_emoji_likes",
627
+ "category": "interact",
628
+ "title": "获取一条消息的全部表情回应",
629
+ "description": "获取一条消息的全部表情回应",
630
+ "effect": "read",
631
+ "schema": {
632
+ "type": "object",
633
+ "properties": {
634
+ "message_id": {
635
+ "type": "integer",
636
+ "not": {
637
+ "const": 0
638
+ }
639
+ }
640
+ },
641
+ "required": [
642
+ "message_id"
643
+ ],
644
+ "additionalProperties": false
645
+ },
646
+ "messageScope": true
647
+ },
648
+ {
649
+ "id": "get_emoji_likes",
650
+ "category": "interact",
651
+ "title": "获取表情回应用户",
652
+ "description": "获取表情回应用户",
653
+ "effect": "read",
654
+ "schema": {
655
+ "type": "object",
656
+ "properties": {
657
+ "message_id": {
658
+ "type": "integer",
659
+ "not": {
660
+ "const": 0
661
+ }
662
+ },
663
+ "emoji_id": {
664
+ "type": "string",
665
+ "minLength": 1,
666
+ "maxLength": 12000
667
+ }
668
+ },
669
+ "required": [
670
+ "message_id",
671
+ "emoji_id"
672
+ ],
673
+ "additionalProperties": false
674
+ },
675
+ "messageScope": true
676
+ },
677
+ {
678
+ "id": "get_msg",
679
+ "category": "history",
680
+ "title": "获取消息",
681
+ "description": "获取消息",
682
+ "effect": "read",
683
+ "schema": {
684
+ "type": "object",
685
+ "properties": {
686
+ "message_id": {
687
+ "type": "integer",
688
+ "not": {
689
+ "const": 0
690
+ }
691
+ }
692
+ },
693
+ "required": [
694
+ "message_id"
695
+ ],
696
+ "additionalProperties": false
697
+ },
698
+ "messageScope": true
699
+ },
700
+ {
701
+ "id": "get_friend_msg_history",
702
+ "category": "history",
703
+ "title": "获取好友消息历史",
704
+ "description": "获取好友消息历史(无锚点时从服务器获取最新双向记录)",
705
+ "effect": "read",
706
+ "schema": {
707
+ "type": "object",
708
+ "properties": {
709
+ "user_id": {
710
+ "type": "integer",
711
+ "minimum": 1
712
+ },
713
+ "message_id": {
714
+ "type": "integer",
715
+ "default": 0
716
+ },
717
+ "count": {
718
+ "type": "integer",
719
+ "minimum": 0,
720
+ "description": "无锚点时从 QQ 服务器获取最新双向历史;服务器或身份解析失败时动作失败,不返回不完整的本地缓存",
721
+ "default": 20,
722
+ "maximum": 100
723
+ },
724
+ "reverse_order": {
725
+ "type": "boolean",
726
+ "description": "仅在 message_id 非 0 时生效;true 返回锚点及更旧消息,false 返回锚点及更新消息",
727
+ "default": true
728
+ }
729
+ },
730
+ "required": [
731
+ "user_id"
732
+ ],
733
+ "additionalProperties": false
734
+ }
735
+ },
736
+ {
737
+ "id": "get_group_msg_history",
738
+ "category": "history",
739
+ "title": "获取群消息历史",
740
+ "description": "获取群消息历史",
741
+ "effect": "read",
742
+ "schema": {
743
+ "type": "object",
744
+ "properties": {
745
+ "group_id": {
746
+ "type": "integer",
747
+ "minimum": 1,
748
+ "description": "群号"
749
+ },
750
+ "message_id": {
751
+ "type": "integer",
752
+ "default": 0
753
+ },
754
+ "count": {
755
+ "type": "integer",
756
+ "minimum": 0,
757
+ "default": 20,
758
+ "maximum": 100
759
+ },
760
+ "reverse_order": {
761
+ "type": "boolean",
762
+ "description": "仅在 message_id 非 0 时生效;true 返回锚点及更旧消息,false 返回锚点及更新消息",
763
+ "default": true
764
+ }
765
+ },
766
+ "required": [
767
+ "group_id"
768
+ ],
769
+ "additionalProperties": false
770
+ }
771
+ },
772
+ {
773
+ "id": "fetch_ptt_text",
774
+ "category": "history",
775
+ "title": "获取语音转文字结果",
776
+ "description": "获取语音转文字结果",
777
+ "effect": "read",
778
+ "schema": {
779
+ "type": "object",
780
+ "properties": {
781
+ "message_id": {
782
+ "type": "integer",
783
+ "not": {
784
+ "const": 0
785
+ }
786
+ }
787
+ },
788
+ "required": [
789
+ "message_id"
790
+ ],
791
+ "additionalProperties": false
792
+ },
793
+ "messageScope": true
794
+ },
795
+ {
796
+ "id": "delete_msg",
797
+ "category": "history",
798
+ "title": "撤回消息",
799
+ "description": "撤回消息",
800
+ "effect": "destructive",
801
+ "schema": {
802
+ "type": "object",
803
+ "properties": {
804
+ "message_id": {
805
+ "type": "integer",
806
+ "not": {
807
+ "const": 0
808
+ }
809
+ }
810
+ },
811
+ "required": [
812
+ "message_id"
813
+ ],
814
+ "additionalProperties": false
815
+ },
816
+ "messageScope": true
817
+ },
818
+ {
819
+ "id": "get_login_info",
820
+ "category": "profile",
821
+ "title": "get_login_info",
822
+ "description": "get_login_info",
823
+ "effect": "read",
824
+ "schema": {
825
+ "type": "object",
826
+ "properties": {},
827
+ "additionalProperties": false
828
+ }
829
+ },
830
+ {
831
+ "id": "get_friend_list",
832
+ "category": "profile",
833
+ "title": "获取好友列表",
834
+ "description": "获取好友列表",
835
+ "effect": "read",
836
+ "schema": {
837
+ "type": "object",
838
+ "properties": {},
839
+ "additionalProperties": false
840
+ }
841
+ },
842
+ {
843
+ "id": "get_stranger_info",
844
+ "category": "profile",
845
+ "title": "获取陌生人信息",
846
+ "description": "获取陌生人信息",
847
+ "effect": "read",
848
+ "schema": {
849
+ "type": "object",
850
+ "properties": {
851
+ "user_id": {
852
+ "type": "integer",
853
+ "minimum": 1,
854
+ "description": "QQ 号"
855
+ }
856
+ },
857
+ "required": [
858
+ "user_id"
859
+ ],
860
+ "additionalProperties": false
861
+ }
862
+ },
863
+ {
864
+ "id": "get_profile_like",
865
+ "category": "profile",
866
+ "title": "获取资料点赞",
867
+ "description": "获取资料点赞",
868
+ "effect": "read",
869
+ "schema": {
870
+ "type": "object",
871
+ "properties": {
872
+ "user_id": {
873
+ "type": "integer",
874
+ "minimum": 0,
875
+ "default": 0
876
+ },
877
+ "start": {
878
+ "type": "integer",
879
+ "minimum": 0,
880
+ "default": 0
881
+ },
882
+ "count": {
883
+ "type": "integer",
884
+ "minimum": 0,
885
+ "default": 10,
886
+ "maximum": 100
887
+ }
888
+ },
889
+ "additionalProperties": false
890
+ }
891
+ },
892
+ {
893
+ "id": "set_qq_profile",
894
+ "category": "profile",
895
+ "title": "设置 QQ 资料",
896
+ "description": "设置 QQ 资料",
897
+ "effect": "write",
898
+ "schema": {
899
+ "type": "object",
900
+ "properties": {
901
+ "nickname": {
902
+ "type": "string",
903
+ "maxLength": 12000
904
+ },
905
+ "personal_note": {
906
+ "type": "string",
907
+ "maxLength": 12000
908
+ },
909
+ "sex": {
910
+ "type": "integer",
911
+ "minimum": 0,
912
+ "maximum": 2,
913
+ "description": "0 未知,1 男,2 女"
914
+ }
915
+ },
916
+ "additionalProperties": false
917
+ }
918
+ },
919
+ {
920
+ "id": "set_qq_avatar",
921
+ "category": "profile",
922
+ "title": "设置 QQ 头像",
923
+ "description": "设置 QQ 头像",
924
+ "effect": "write",
925
+ "schema": {
926
+ "type": "object",
927
+ "properties": {
928
+ "file": {
929
+ "type": "string",
930
+ "minLength": 1,
931
+ "maxLength": 12000,
932
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。"
933
+ }
934
+ },
935
+ "required": [
936
+ "file"
937
+ ],
938
+ "additionalProperties": false
939
+ },
940
+ "media": [
941
+ "file"
942
+ ]
943
+ },
944
+ {
945
+ "id": "set_self_longnick",
946
+ "category": "profile",
947
+ "title": "设置个性签名",
948
+ "description": "设置个性签名(longNick/long_nick,严格 string)",
949
+ "effect": "write",
950
+ "schema": {
951
+ "type": "object",
952
+ "properties": {
953
+ "longNick": {
954
+ "type": "string",
955
+ "maxLength": 12000
956
+ },
957
+ "long_nick": {
958
+ "type": "string",
959
+ "maxLength": 12000
960
+ }
961
+ },
962
+ "additionalProperties": false
963
+ }
964
+ },
965
+ {
966
+ "id": "set_online_status",
967
+ "category": "profile",
968
+ "title": "设置在线状态",
969
+ "description": "设置在线状态",
970
+ "effect": "write",
971
+ "schema": {
972
+ "type": "object",
973
+ "properties": {
974
+ "status": {
975
+ "type": "integer",
976
+ "not": {
977
+ "const": 0
978
+ }
979
+ },
980
+ "ext_status": {
981
+ "type": "integer",
982
+ "minimum": 0,
983
+ "default": 0
984
+ },
985
+ "battery_status": {
986
+ "type": "integer",
987
+ "minimum": 0,
988
+ "default": 100
989
+ }
990
+ },
991
+ "required": [
992
+ "status"
993
+ ],
994
+ "additionalProperties": false
995
+ }
996
+ },
997
+ {
998
+ "id": "set_diy_online_status",
999
+ "category": "profile",
1000
+ "title": "设置自定义在线状态",
1001
+ "description": "设置自定义在线状态",
1002
+ "effect": "write",
1003
+ "schema": {
1004
+ "type": "object",
1005
+ "properties": {
1006
+ "face_id": {
1007
+ "type": "integer",
1008
+ "minimum": 0
1009
+ },
1010
+ "face_type": {
1011
+ "type": "integer",
1012
+ "minimum": 0,
1013
+ "default": 1
1014
+ },
1015
+ "wording": {
1016
+ "type": "string",
1017
+ "default": "",
1018
+ "maxLength": 12000
1019
+ }
1020
+ },
1021
+ "required": [
1022
+ "face_id"
1023
+ ],
1024
+ "additionalProperties": false
1025
+ }
1026
+ },
1027
+ {
1028
+ "id": "set_friend_remark",
1029
+ "category": "profile",
1030
+ "title": "设置好友备注",
1031
+ "description": "设置好友备注",
1032
+ "effect": "write",
1033
+ "schema": {
1034
+ "type": "object",
1035
+ "properties": {
1036
+ "user_id": {
1037
+ "type": "integer",
1038
+ "minimum": 1
1039
+ },
1040
+ "remark": {
1041
+ "type": "string",
1042
+ "maxLength": 12000
1043
+ }
1044
+ },
1045
+ "required": [
1046
+ "user_id",
1047
+ "remark"
1048
+ ],
1049
+ "additionalProperties": false
1050
+ }
1051
+ },
1052
+ {
1053
+ "id": "get_group_list",
1054
+ "category": "groups",
1055
+ "title": "获取群列表",
1056
+ "description": "获取群列表",
1057
+ "effect": "read",
1058
+ "schema": {
1059
+ "type": "object",
1060
+ "properties": {
1061
+ "no_cache": {
1062
+ "type": "boolean",
1063
+ "default": false
1064
+ }
1065
+ },
1066
+ "additionalProperties": false
1067
+ }
1068
+ },
1069
+ {
1070
+ "id": "get_group_info",
1071
+ "category": "groups",
1072
+ "title": "获取群信息",
1073
+ "description": "获取群信息",
1074
+ "effect": "read",
1075
+ "schema": {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "group_id": {
1079
+ "type": "integer",
1080
+ "minimum": 1,
1081
+ "description": "群号"
1082
+ },
1083
+ "no_cache": {
1084
+ "type": "boolean",
1085
+ "default": false
1086
+ }
1087
+ },
1088
+ "required": [
1089
+ "group_id"
1090
+ ],
1091
+ "additionalProperties": false
1092
+ }
1093
+ },
1094
+ {
1095
+ "id": "get_group_detail_info",
1096
+ "category": "groups",
1097
+ "title": "获取群详细信息",
1098
+ "description": "获取群详细信息",
1099
+ "effect": "read",
1100
+ "schema": {
1101
+ "type": "object",
1102
+ "properties": {
1103
+ "group_id": {
1104
+ "type": "integer",
1105
+ "minimum": 1
1106
+ },
1107
+ "no_cache": {
1108
+ "type": "boolean",
1109
+ "default": false
1110
+ }
1111
+ },
1112
+ "required": [
1113
+ "group_id"
1114
+ ],
1115
+ "additionalProperties": false
1116
+ }
1117
+ },
1118
+ {
1119
+ "id": "get_group_member_info",
1120
+ "category": "groups",
1121
+ "title": "获取群成员信息",
1122
+ "description": "获取群成员信息",
1123
+ "effect": "read",
1124
+ "schema": {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "group_id": {
1128
+ "type": "integer",
1129
+ "minimum": 1,
1130
+ "description": "群号"
1131
+ },
1132
+ "user_id": {
1133
+ "type": "integer",
1134
+ "minimum": 1,
1135
+ "description": "QQ 号"
1136
+ },
1137
+ "no_cache": {
1138
+ "type": "boolean",
1139
+ "default": false
1140
+ }
1141
+ },
1142
+ "required": [
1143
+ "group_id",
1144
+ "user_id"
1145
+ ],
1146
+ "additionalProperties": false
1147
+ }
1148
+ },
1149
+ {
1150
+ "id": "get_group_member_list",
1151
+ "category": "groups",
1152
+ "title": "获取群成员列表",
1153
+ "description": "获取群成员列表",
1154
+ "effect": "read",
1155
+ "schema": {
1156
+ "type": "object",
1157
+ "properties": {
1158
+ "group_id": {
1159
+ "type": "integer",
1160
+ "minimum": 1,
1161
+ "description": "群号"
1162
+ },
1163
+ "no_cache": {
1164
+ "type": "boolean",
1165
+ "default": false
1166
+ }
1167
+ },
1168
+ "required": [
1169
+ "group_id"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ }
1173
+ },
1174
+ {
1175
+ "id": "get_group_honor_info",
1176
+ "category": "groups",
1177
+ "title": "获取群荣誉信息",
1178
+ "description": "获取群荣誉信息",
1179
+ "effect": "read",
1180
+ "schema": {
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "group_id": {
1184
+ "type": "integer",
1185
+ "minimum": 1,
1186
+ "description": "群号"
1187
+ },
1188
+ "type": {
1189
+ "type": "string",
1190
+ "maxLength": 12000
1191
+ }
1192
+ },
1193
+ "required": [
1194
+ "group_id"
1195
+ ],
1196
+ "additionalProperties": false
1197
+ }
1198
+ },
1199
+ {
1200
+ "id": "get_group_signed_list",
1201
+ "category": "groups",
1202
+ "title": "获取群今日打卡列表",
1203
+ "description": "获取群今日打卡列表",
1204
+ "effect": "read",
1205
+ "schema": {
1206
+ "type": "object",
1207
+ "properties": {
1208
+ "group_id": {
1209
+ "type": "integer",
1210
+ "minimum": 1,
1211
+ "description": "群号"
1212
+ }
1213
+ },
1214
+ "required": [
1215
+ "group_id"
1216
+ ],
1217
+ "additionalProperties": false
1218
+ }
1219
+ },
1220
+ {
1221
+ "id": "get_group_admin_settings",
1222
+ "category": "groups",
1223
+ "title": "获取群管理设置的当前值",
1224
+ "description": "获取群管理设置的当前值",
1225
+ "effect": "read",
1226
+ "schema": {
1227
+ "type": "object",
1228
+ "properties": {
1229
+ "group_id": {
1230
+ "type": "integer",
1231
+ "minimum": 1,
1232
+ "description": "群号"
1233
+ }
1234
+ },
1235
+ "required": [
1236
+ "group_id"
1237
+ ],
1238
+ "additionalProperties": false
1239
+ }
1240
+ },
1241
+ {
1242
+ "id": "get_group_shut_list",
1243
+ "category": "groups",
1244
+ "title": "获取群禁言列表",
1245
+ "description": "获取群禁言列表",
1246
+ "effect": "read",
1247
+ "schema": {
1248
+ "type": "object",
1249
+ "properties": {
1250
+ "group_id": {
1251
+ "type": "integer",
1252
+ "minimum": 1,
1253
+ "description": "群号"
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "group_id"
1258
+ ],
1259
+ "additionalProperties": false
1260
+ }
1261
+ },
1262
+ {
1263
+ "id": "get_group_at_all_remain",
1264
+ "category": "groups",
1265
+ "title": "获取群 @全体成员 剩余次数",
1266
+ "description": "获取群 @全体成员 剩余次数",
1267
+ "effect": "read",
1268
+ "schema": {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "group_id": {
1272
+ "type": "integer",
1273
+ "minimum": 1,
1274
+ "description": "群号"
1275
+ }
1276
+ },
1277
+ "required": [
1278
+ "group_id"
1279
+ ],
1280
+ "additionalProperties": false
1281
+ }
1282
+ },
1283
+ {
1284
+ "id": "set_group_sign",
1285
+ "category": "groups",
1286
+ "title": "群签到",
1287
+ "description": "群签到",
1288
+ "effect": "write",
1289
+ "schema": {
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "group_id": {
1293
+ "type": "integer",
1294
+ "minimum": 1,
1295
+ "description": "群号"
1296
+ }
1297
+ },
1298
+ "required": [
1299
+ "group_id"
1300
+ ],
1301
+ "additionalProperties": false
1302
+ }
1303
+ },
1304
+ {
1305
+ "id": "set_group_card",
1306
+ "category": "groups",
1307
+ "title": "设置群名片",
1308
+ "description": "设置群名片(空字符串清除)",
1309
+ "effect": "write",
1310
+ "schema": {
1311
+ "type": "object",
1312
+ "properties": {
1313
+ "group_id": {
1314
+ "type": "integer",
1315
+ "minimum": 1,
1316
+ "description": "群号"
1317
+ },
1318
+ "user_id": {
1319
+ "type": "integer",
1320
+ "minimum": 1,
1321
+ "description": "QQ 号"
1322
+ },
1323
+ "card": {
1324
+ "type": "string",
1325
+ "default": "",
1326
+ "maxLength": 12000
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "group_id",
1331
+ "user_id"
1332
+ ],
1333
+ "additionalProperties": false
1334
+ }
1335
+ },
1336
+ {
1337
+ "id": "set_group_special_title",
1338
+ "category": "groups",
1339
+ "title": "设置群头衔",
1340
+ "description": "设置群头衔",
1341
+ "effect": "write",
1342
+ "schema": {
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "group_id": {
1346
+ "type": "integer",
1347
+ "minimum": 1,
1348
+ "description": "群号"
1349
+ },
1350
+ "user_id": {
1351
+ "type": "integer",
1352
+ "minimum": 1,
1353
+ "description": "QQ 号"
1354
+ },
1355
+ "special_title": {
1356
+ "type": "string",
1357
+ "default": "",
1358
+ "maxLength": 12000
1359
+ }
1360
+ },
1361
+ "required": [
1362
+ "group_id",
1363
+ "user_id"
1364
+ ],
1365
+ "additionalProperties": false
1366
+ }
1367
+ },
1368
+ {
1369
+ "id": "set_group_name",
1370
+ "category": "groups",
1371
+ "title": "设置群名",
1372
+ "description": "设置群名",
1373
+ "effect": "write",
1374
+ "schema": {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "group_id": {
1378
+ "type": "integer",
1379
+ "minimum": 1,
1380
+ "description": "群号"
1381
+ },
1382
+ "group_name": {
1383
+ "type": "string",
1384
+ "default": "",
1385
+ "maxLength": 12000
1386
+ }
1387
+ },
1388
+ "required": [
1389
+ "group_id"
1390
+ ],
1391
+ "additionalProperties": false
1392
+ }
1393
+ },
1394
+ {
1395
+ "id": "set_group_remark",
1396
+ "category": "groups",
1397
+ "title": "设置群备注",
1398
+ "description": "设置群备注",
1399
+ "effect": "write",
1400
+ "schema": {
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "group_id": {
1404
+ "type": "integer",
1405
+ "minimum": 1
1406
+ },
1407
+ "remark": {
1408
+ "type": "string",
1409
+ "maxLength": 12000
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "group_id",
1414
+ "remark"
1415
+ ],
1416
+ "additionalProperties": false
1417
+ }
1418
+ },
1419
+ {
1420
+ "id": "set_group_portrait",
1421
+ "category": "groups",
1422
+ "title": "设置群头像",
1423
+ "description": "设置群头像",
1424
+ "effect": "write",
1425
+ "schema": {
1426
+ "type": "object",
1427
+ "properties": {
1428
+ "group_id": {
1429
+ "type": "integer",
1430
+ "minimum": 1,
1431
+ "description": "群号"
1432
+ },
1433
+ "file": {
1434
+ "type": "string",
1435
+ "minLength": 1,
1436
+ "maxLength": 12000,
1437
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。"
1438
+ }
1439
+ },
1440
+ "required": [
1441
+ "group_id",
1442
+ "file"
1443
+ ],
1444
+ "additionalProperties": false
1445
+ },
1446
+ "media": [
1447
+ "file"
1448
+ ]
1449
+ },
1450
+ {
1451
+ "id": "_get_group_notice",
1452
+ "category": "notices",
1453
+ "title": "获取群公告",
1454
+ "description": "获取群公告",
1455
+ "effect": "read",
1456
+ "schema": {
1457
+ "type": "object",
1458
+ "properties": {
1459
+ "group_id": {
1460
+ "type": "integer",
1461
+ "minimum": 1,
1462
+ "description": "群号"
1463
+ }
1464
+ },
1465
+ "required": [
1466
+ "group_id"
1467
+ ],
1468
+ "additionalProperties": false
1469
+ }
1470
+ },
1471
+ {
1472
+ "id": "_send_group_notice",
1473
+ "category": "notices",
1474
+ "title": "发送群公告",
1475
+ "description": "发送群公告(支持置顶、弹窗、新成员、群昵称引导与确认)",
1476
+ "effect": "write",
1477
+ "schema": {
1478
+ "type": "object",
1479
+ "properties": {
1480
+ "group_id": {
1481
+ "type": "integer",
1482
+ "minimum": 1,
1483
+ "description": "群号"
1484
+ },
1485
+ "content": {
1486
+ "type": "string",
1487
+ "minLength": 1,
1488
+ "description": "公告正文",
1489
+ "maxLength": 12000
1490
+ },
1491
+ "image": {
1492
+ "type": "string",
1493
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。",
1494
+ "default": "",
1495
+ "maxLength": 12000
1496
+ },
1497
+ "pinned": {
1498
+ "type": "integer",
1499
+ "minimum": 0,
1500
+ "maximum": 1,
1501
+ "description": "是否置顶:1=置顶,0=不置顶",
1502
+ "default": 0
1503
+ },
1504
+ "type": {
1505
+ "type": "integer",
1506
+ "description": "发布类型:1=普通公告,20=新成员公告;建议使用 send_to_new_members"
1507
+ },
1508
+ "send_to_new_members": {
1509
+ "type": "boolean",
1510
+ "description": "是否在成员新加入群时发送(与 type=20 等价)"
1511
+ },
1512
+ "is_show_edit_card": {
1513
+ "type": "integer",
1514
+ "minimum": 0,
1515
+ "maximum": 1,
1516
+ "description": "是否引导群成员修改群昵称:1=是,0=否",
1517
+ "default": 1
1518
+ },
1519
+ "tip_window_type": {
1520
+ "type": "integer",
1521
+ "minimum": 0,
1522
+ "maximum": 1,
1523
+ "description": "弹窗展示:0=开启弹窗,1=关闭弹窗(QQ 原始字段为反向语义)",
1524
+ "default": 1
1525
+ },
1526
+ "confirm_required": {
1527
+ "type": "integer",
1528
+ "minimum": 0,
1529
+ "maximum": 1,
1530
+ "description": "是否需要群成员确认收到:1=是,0=否",
1531
+ "default": 1
1532
+ }
1533
+ },
1534
+ "required": [
1535
+ "group_id",
1536
+ "content"
1537
+ ],
1538
+ "additionalProperties": false
1539
+ },
1540
+ "media": [
1541
+ "image"
1542
+ ]
1543
+ },
1544
+ {
1545
+ "id": "_del_group_notice",
1546
+ "category": "notices",
1547
+ "title": "删除群公告",
1548
+ "description": "删除群公告(fid 或 notice_id 二选一)",
1549
+ "effect": "destructive",
1550
+ "schema": {
1551
+ "type": "object",
1552
+ "properties": {
1553
+ "group_id": {
1554
+ "type": "integer",
1555
+ "minimum": 1,
1556
+ "description": "群号"
1557
+ },
1558
+ "fid": {
1559
+ "type": "string",
1560
+ "maxLength": 12000
1561
+ },
1562
+ "notice_id": {
1563
+ "type": "string",
1564
+ "maxLength": 12000
1565
+ }
1566
+ },
1567
+ "required": [
1568
+ "group_id"
1569
+ ],
1570
+ "additionalProperties": false
1571
+ }
1572
+ },
1573
+ {
1574
+ "id": "get_essence_msg_list",
1575
+ "category": "notices",
1576
+ "title": "获取精华消息列表",
1577
+ "description": "获取精华消息列表",
1578
+ "effect": "read",
1579
+ "schema": {
1580
+ "type": "object",
1581
+ "properties": {
1582
+ "group_id": {
1583
+ "type": "integer",
1584
+ "minimum": 1,
1585
+ "description": "群号"
1586
+ }
1587
+ },
1588
+ "required": [
1589
+ "group_id"
1590
+ ],
1591
+ "additionalProperties": false
1592
+ }
1593
+ },
1594
+ {
1595
+ "id": "set_essence_msg",
1596
+ "category": "notices",
1597
+ "title": "设置精华消息",
1598
+ "description": "设置精华消息",
1599
+ "effect": "write",
1600
+ "schema": {
1601
+ "type": "object",
1602
+ "properties": {
1603
+ "message_id": {
1604
+ "type": "integer",
1605
+ "not": {
1606
+ "const": 0
1607
+ }
1608
+ }
1609
+ },
1610
+ "required": [
1611
+ "message_id"
1612
+ ],
1613
+ "additionalProperties": false
1614
+ },
1615
+ "messageScope": true
1616
+ },
1617
+ {
1618
+ "id": "delete_essence_msg",
1619
+ "category": "notices",
1620
+ "title": "移除精华消息",
1621
+ "description": "移除精华消息",
1622
+ "effect": "destructive",
1623
+ "schema": {
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "message_id": {
1627
+ "type": "integer",
1628
+ "not": {
1629
+ "const": 0
1630
+ }
1631
+ }
1632
+ },
1633
+ "required": [
1634
+ "message_id"
1635
+ ],
1636
+ "additionalProperties": false
1637
+ },
1638
+ "messageScope": true
1639
+ },
1640
+ {
1641
+ "id": "get_group_todo_list",
1642
+ "category": "notices",
1643
+ "title": "获取群待办列表",
1644
+ "description": "获取群待办列表",
1645
+ "effect": "read",
1646
+ "schema": {
1647
+ "type": "object",
1648
+ "properties": {
1649
+ "group_id": {
1650
+ "type": "integer",
1651
+ "minimum": 1,
1652
+ "description": "群号"
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "group_id"
1657
+ ],
1658
+ "additionalProperties": false
1659
+ }
1660
+ },
1661
+ {
1662
+ "id": "set_group_todo",
1663
+ "category": "notices",
1664
+ "title": "设置群待办",
1665
+ "description": "设置群待办",
1666
+ "effect": "write",
1667
+ "schema": {
1668
+ "type": "object",
1669
+ "properties": {
1670
+ "group_id": {
1671
+ "type": "integer",
1672
+ "minimum": 1,
1673
+ "description": "群号"
1674
+ },
1675
+ "message_id": {
1676
+ "type": "integer",
1677
+ "not": {
1678
+ "const": 0
1679
+ }
1680
+ }
1681
+ },
1682
+ "required": [
1683
+ "group_id",
1684
+ "message_id"
1685
+ ],
1686
+ "additionalProperties": false
1687
+ },
1688
+ "messageScope": true
1689
+ },
1690
+ {
1691
+ "id": "complete_group_todo",
1692
+ "category": "notices",
1693
+ "title": "完成群待办",
1694
+ "description": "完成群待办",
1695
+ "effect": "write",
1696
+ "schema": {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "group_id": {
1700
+ "type": "integer",
1701
+ "minimum": 1,
1702
+ "description": "群号"
1703
+ },
1704
+ "message_id": {
1705
+ "type": "integer",
1706
+ "not": {
1707
+ "const": 0
1708
+ }
1709
+ }
1710
+ },
1711
+ "required": [
1712
+ "group_id",
1713
+ "message_id"
1714
+ ],
1715
+ "additionalProperties": false
1716
+ },
1717
+ "messageScope": true
1718
+ },
1719
+ {
1720
+ "id": "cancel_group_todo",
1721
+ "category": "notices",
1722
+ "title": "取消群待办",
1723
+ "description": "取消群待办",
1724
+ "effect": "destructive",
1725
+ "schema": {
1726
+ "type": "object",
1727
+ "properties": {
1728
+ "group_id": {
1729
+ "type": "integer",
1730
+ "minimum": 1,
1731
+ "description": "群号"
1732
+ },
1733
+ "message_id": {
1734
+ "type": "integer",
1735
+ "not": {
1736
+ "const": 0
1737
+ }
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "group_id",
1742
+ "message_id"
1743
+ ],
1744
+ "additionalProperties": false
1745
+ },
1746
+ "messageScope": true
1747
+ },
1748
+ {
1749
+ "id": "set_group_ban",
1750
+ "category": "moderation",
1751
+ "title": "禁言群成员",
1752
+ "description": "禁言群成员(duration=0 解除)",
1753
+ "effect": "destructive",
1754
+ "schema": {
1755
+ "type": "object",
1756
+ "properties": {
1757
+ "group_id": {
1758
+ "type": "integer",
1759
+ "minimum": 1,
1760
+ "description": "群号"
1761
+ },
1762
+ "user_id": {
1763
+ "type": "integer",
1764
+ "minimum": 1,
1765
+ "description": "QQ 号"
1766
+ },
1767
+ "duration": {
1768
+ "type": "integer",
1769
+ "minimum": 0,
1770
+ "default": 1800
1771
+ }
1772
+ },
1773
+ "required": [
1774
+ "group_id",
1775
+ "user_id"
1776
+ ],
1777
+ "additionalProperties": false
1778
+ }
1779
+ },
1780
+ {
1781
+ "id": "set_group_whole_ban",
1782
+ "category": "moderation",
1783
+ "title": "全员禁言开关",
1784
+ "description": "全员禁言开关",
1785
+ "effect": "destructive",
1786
+ "schema": {
1787
+ "type": "object",
1788
+ "properties": {
1789
+ "group_id": {
1790
+ "type": "integer",
1791
+ "minimum": 1,
1792
+ "description": "群号"
1793
+ },
1794
+ "enable": {
1795
+ "type": "boolean",
1796
+ "default": true
1797
+ }
1798
+ },
1799
+ "required": [
1800
+ "group_id"
1801
+ ],
1802
+ "additionalProperties": false
1803
+ }
1804
+ },
1805
+ {
1806
+ "id": "set_group_kick",
1807
+ "category": "moderation",
1808
+ "title": "踢出群成员",
1809
+ "description": "踢出群成员",
1810
+ "effect": "destructive",
1811
+ "schema": {
1812
+ "type": "object",
1813
+ "properties": {
1814
+ "group_id": {
1815
+ "type": "integer",
1816
+ "minimum": 1,
1817
+ "description": "群号"
1818
+ },
1819
+ "user_id": {
1820
+ "type": "integer",
1821
+ "minimum": 1,
1822
+ "description": "QQ 号"
1823
+ },
1824
+ "reject_add_request": {
1825
+ "type": "boolean",
1826
+ "default": false
1827
+ }
1828
+ },
1829
+ "required": [
1830
+ "group_id",
1831
+ "user_id"
1832
+ ],
1833
+ "additionalProperties": false
1834
+ }
1835
+ },
1836
+ {
1837
+ "id": "set_group_admin",
1838
+ "category": "moderation",
1839
+ "title": "设置/取消管理员",
1840
+ "description": "设置/取消管理员",
1841
+ "effect": "destructive",
1842
+ "schema": {
1843
+ "type": "object",
1844
+ "properties": {
1845
+ "group_id": {
1846
+ "type": "integer",
1847
+ "minimum": 1,
1848
+ "description": "群号"
1849
+ },
1850
+ "user_id": {
1851
+ "type": "integer",
1852
+ "minimum": 1,
1853
+ "description": "QQ 号"
1854
+ },
1855
+ "enable": {
1856
+ "type": "boolean",
1857
+ "default": true
1858
+ }
1859
+ },
1860
+ "required": [
1861
+ "group_id",
1862
+ "user_id"
1863
+ ],
1864
+ "additionalProperties": false
1865
+ }
1866
+ },
1867
+ {
1868
+ "id": "set_group_add_option",
1869
+ "category": "moderation",
1870
+ "title": "设置加群选项",
1871
+ "description": "设置加群选项",
1872
+ "effect": "write",
1873
+ "schema": {
1874
+ "type": "object",
1875
+ "properties": {
1876
+ "group_id": {
1877
+ "type": "integer",
1878
+ "minimum": 1,
1879
+ "description": "群号"
1880
+ },
1881
+ "add_type": {
1882
+ "type": "integer",
1883
+ "minimum": 0,
1884
+ "default": 0
1885
+ },
1886
+ "group_question": {
1887
+ "type": "string",
1888
+ "maxLength": 12000
1889
+ },
1890
+ "group_answer": {
1891
+ "type": "string",
1892
+ "maxLength": 12000
1893
+ }
1894
+ },
1895
+ "required": [
1896
+ "group_id"
1897
+ ],
1898
+ "additionalProperties": false
1899
+ }
1900
+ },
1901
+ {
1902
+ "id": "set_group_member_invite_policy",
1903
+ "category": "moderation",
1904
+ "title": "设置群成员邀请策略",
1905
+ "description": "设置群成员邀请策略",
1906
+ "effect": "write",
1907
+ "schema": {
1908
+ "type": "object",
1909
+ "properties": {
1910
+ "group_id": {
1911
+ "type": "integer",
1912
+ "minimum": 1,
1913
+ "description": "群号"
1914
+ },
1915
+ "policy": {
1916
+ "type": "string",
1917
+ "enum": [
1918
+ "disabled",
1919
+ "require_approval",
1920
+ "no_approval",
1921
+ "no_approval_under_100"
1922
+ ]
1923
+ }
1924
+ },
1925
+ "required": [
1926
+ "group_id",
1927
+ "policy"
1928
+ ],
1929
+ "additionalProperties": false
1930
+ }
1931
+ },
1932
+ {
1933
+ "id": "set_group_member_permissions",
1934
+ "category": "moderation",
1935
+ "title": "设置群成员权限",
1936
+ "description": "设置群成员权限(仅群主可改)",
1937
+ "effect": "write",
1938
+ "schema": {
1939
+ "type": "object",
1940
+ "properties": {
1941
+ "group_id": {
1942
+ "type": "integer",
1943
+ "minimum": 1,
1944
+ "description": "群号"
1945
+ },
1946
+ "allow_member_upload_album": {
1947
+ "type": "boolean"
1948
+ },
1949
+ "allow_member_temporary_session": {
1950
+ "type": "boolean"
1951
+ },
1952
+ "allow_member_create_group": {
1953
+ "type": "boolean"
1954
+ }
1955
+ },
1956
+ "required": [
1957
+ "group_id"
1958
+ ],
1959
+ "additionalProperties": false
1960
+ }
1961
+ },
1962
+ {
1963
+ "id": "set_group_new_member_history_visibility",
1964
+ "category": "moderation",
1965
+ "title": "设置新成员是否可查看历史消息",
1966
+ "description": "设置新成员是否可查看历史消息",
1967
+ "effect": "write",
1968
+ "schema": {
1969
+ "type": "object",
1970
+ "properties": {
1971
+ "group_id": {
1972
+ "type": "integer",
1973
+ "minimum": 1,
1974
+ "description": "群号"
1975
+ },
1976
+ "visible": {
1977
+ "type": "boolean"
1978
+ }
1979
+ },
1980
+ "required": [
1981
+ "group_id",
1982
+ "visible"
1983
+ ],
1984
+ "additionalProperties": false
1985
+ }
1986
+ },
1987
+ {
1988
+ "id": "set_group_search",
1989
+ "category": "moderation",
1990
+ "title": "设置群被搜索方式",
1991
+ "description": "设置群被搜索方式(群指纹 / 群号搜索开关)",
1992
+ "effect": "write",
1993
+ "schema": {
1994
+ "type": "object",
1995
+ "properties": {
1996
+ "group_id": {
1997
+ "type": "integer",
1998
+ "minimum": 1,
1999
+ "description": "群号"
2000
+ },
2001
+ "no_finger_open": {
2002
+ "type": "integer",
2003
+ "minimum": 0
2004
+ },
2005
+ "no_code_finger_open": {
2006
+ "type": "integer",
2007
+ "minimum": 0
2008
+ }
2009
+ },
2010
+ "required": [
2011
+ "group_id"
2012
+ ],
2013
+ "additionalProperties": false
2014
+ }
2015
+ },
2016
+ {
2017
+ "id": "set_group_robot_add_option",
2018
+ "category": "moderation",
2019
+ "title": "设置群机器人加群选项",
2020
+ "description": "设置群机器人加群选项",
2021
+ "effect": "write",
2022
+ "schema": {
2023
+ "type": "object",
2024
+ "properties": {
2025
+ "group_id": {
2026
+ "type": "integer",
2027
+ "minimum": 1,
2028
+ "description": "群号"
2029
+ },
2030
+ "robot_member_switch": {
2031
+ "type": "integer",
2032
+ "minimum": 0
2033
+ },
2034
+ "robot_member_examine": {
2035
+ "type": "integer",
2036
+ "minimum": 0
2037
+ }
2038
+ },
2039
+ "required": [
2040
+ "group_id"
2041
+ ],
2042
+ "additionalProperties": false
2043
+ }
2044
+ },
2045
+ {
2046
+ "id": "get_group_file_system_info",
2047
+ "category": "files",
2048
+ "title": "获取群文件系统信息",
2049
+ "description": "获取群文件系统信息",
2050
+ "effect": "read",
2051
+ "schema": {
2052
+ "type": "object",
2053
+ "properties": {
2054
+ "group_id": {
2055
+ "type": "integer",
2056
+ "minimum": 1,
2057
+ "description": "群号"
2058
+ }
2059
+ },
2060
+ "required": [
2061
+ "group_id"
2062
+ ],
2063
+ "additionalProperties": false
2064
+ }
2065
+ },
2066
+ {
2067
+ "id": "get_group_root_files",
2068
+ "category": "files",
2069
+ "title": "获取群根目录文件列表",
2070
+ "description": "获取群根目录文件列表",
2071
+ "effect": "read",
2072
+ "schema": {
2073
+ "type": "object",
2074
+ "properties": {
2075
+ "group_id": {
2076
+ "type": "integer",
2077
+ "minimum": 1,
2078
+ "description": "群号"
2079
+ }
2080
+ },
2081
+ "required": [
2082
+ "group_id"
2083
+ ],
2084
+ "additionalProperties": false
2085
+ }
2086
+ },
2087
+ {
2088
+ "id": "get_group_files_by_folder",
2089
+ "category": "files",
2090
+ "title": "获取群子目录文件列表",
2091
+ "description": "获取群子目录文件列表",
2092
+ "effect": "read",
2093
+ "schema": {
2094
+ "type": "object",
2095
+ "properties": {
2096
+ "group_id": {
2097
+ "type": "integer",
2098
+ "minimum": 1,
2099
+ "description": "群号"
2100
+ },
2101
+ "folder_id": {
2102
+ "type": "string",
2103
+ "default": "",
2104
+ "maxLength": 12000
2105
+ },
2106
+ "folder": {
2107
+ "type": "string",
2108
+ "default": "",
2109
+ "maxLength": 12000
2110
+ }
2111
+ },
2112
+ "required": [
2113
+ "group_id"
2114
+ ],
2115
+ "additionalProperties": false
2116
+ }
2117
+ },
2118
+ {
2119
+ "id": "get_group_file_url",
2120
+ "category": "files",
2121
+ "title": "获取群文件下载链接",
2122
+ "description": "获取群文件下载链接",
2123
+ "effect": "read",
2124
+ "schema": {
2125
+ "type": "object",
2126
+ "properties": {
2127
+ "group_id": {
2128
+ "type": "integer",
2129
+ "minimum": 1,
2130
+ "description": "群号"
2131
+ },
2132
+ "file_id": {
2133
+ "type": "string",
2134
+ "minLength": 1,
2135
+ "maxLength": 12000
2136
+ },
2137
+ "busid": {
2138
+ "type": [
2139
+ "string",
2140
+ "integer",
2141
+ "boolean"
2142
+ ]
2143
+ }
2144
+ },
2145
+ "required": [
2146
+ "group_id",
2147
+ "file_id"
2148
+ ],
2149
+ "additionalProperties": false
2150
+ }
2151
+ },
2152
+ {
2153
+ "id": "upload_group_file",
2154
+ "category": "files",
2155
+ "title": "上传群文件",
2156
+ "description": "上传群文件",
2157
+ "effect": "write",
2158
+ "schema": {
2159
+ "type": "object",
2160
+ "properties": {
2161
+ "group_id": {
2162
+ "type": "integer",
2163
+ "minimum": 1,
2164
+ "description": "群号"
2165
+ },
2166
+ "file": {
2167
+ "type": "string",
2168
+ "minLength": 1,
2169
+ "maxLength": 12000,
2170
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。"
2171
+ },
2172
+ "name": {
2173
+ "type": "string",
2174
+ "default": "",
2175
+ "maxLength": 12000
2176
+ },
2177
+ "folder": {
2178
+ "type": "string",
2179
+ "default": "",
2180
+ "maxLength": 12000
2181
+ },
2182
+ "folder_id": {
2183
+ "type": "string",
2184
+ "default": "",
2185
+ "maxLength": 12000
2186
+ },
2187
+ "upload_file": {
2188
+ "type": "boolean",
2189
+ "default": true
2190
+ }
2191
+ },
2192
+ "required": [
2193
+ "group_id",
2194
+ "file"
2195
+ ],
2196
+ "additionalProperties": false
2197
+ },
2198
+ "media": [
2199
+ "file"
2200
+ ]
2201
+ },
2202
+ {
2203
+ "id": "upload_private_file",
2204
+ "category": "files",
2205
+ "title": "上传私聊文件",
2206
+ "description": "上传私聊文件",
2207
+ "effect": "write",
2208
+ "schema": {
2209
+ "type": "object",
2210
+ "properties": {
2211
+ "user_id": {
2212
+ "type": "integer",
2213
+ "minimum": 1
2214
+ },
2215
+ "file": {
2216
+ "type": "string",
2217
+ "minLength": 1,
2218
+ "maxLength": 12000,
2219
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。"
2220
+ },
2221
+ "name": {
2222
+ "type": "string",
2223
+ "default": "",
2224
+ "maxLength": 12000
2225
+ },
2226
+ "upload_file": {
2227
+ "type": "boolean",
2228
+ "default": true
2229
+ }
2230
+ },
2231
+ "required": [
2232
+ "user_id",
2233
+ "file"
2234
+ ],
2235
+ "additionalProperties": false
2236
+ },
2237
+ "media": [
2238
+ "file"
2239
+ ]
2240
+ },
2241
+ {
2242
+ "id": "create_group_file_folder",
2243
+ "category": "files",
2244
+ "title": "创建群文件夹",
2245
+ "description": "创建群文件夹",
2246
+ "effect": "write",
2247
+ "schema": {
2248
+ "type": "object",
2249
+ "properties": {
2250
+ "group_id": {
2251
+ "type": "integer",
2252
+ "minimum": 1,
2253
+ "description": "群号"
2254
+ },
2255
+ "name": {
2256
+ "type": "string",
2257
+ "minLength": 1,
2258
+ "maxLength": 12000
2259
+ },
2260
+ "parent_id": {
2261
+ "type": "string",
2262
+ "default": "/",
2263
+ "maxLength": 12000
2264
+ }
2265
+ },
2266
+ "required": [
2267
+ "group_id",
2268
+ "name"
2269
+ ],
2270
+ "additionalProperties": false
2271
+ }
2272
+ },
2273
+ {
2274
+ "id": "rename_group_file",
2275
+ "category": "files",
2276
+ "title": "重命名群文件",
2277
+ "description": "重命名群文件",
2278
+ "effect": "write",
2279
+ "schema": {
2280
+ "type": "object",
2281
+ "properties": {
2282
+ "group_id": {
2283
+ "type": "integer",
2284
+ "minimum": 1,
2285
+ "description": "群号"
2286
+ },
2287
+ "file_id": {
2288
+ "type": "string",
2289
+ "minLength": 1,
2290
+ "maxLength": 12000
2291
+ },
2292
+ "current_parent_directory": {
2293
+ "type": "string",
2294
+ "default": "/",
2295
+ "maxLength": 12000
2296
+ },
2297
+ "new_name": {
2298
+ "type": "string",
2299
+ "minLength": 1,
2300
+ "maxLength": 12000
2301
+ }
2302
+ },
2303
+ "required": [
2304
+ "group_id",
2305
+ "file_id",
2306
+ "new_name"
2307
+ ],
2308
+ "additionalProperties": false
2309
+ }
2310
+ },
2311
+ {
2312
+ "id": "rename_group_file_folder",
2313
+ "category": "files",
2314
+ "title": "重命名群文件夹",
2315
+ "description": "重命名群文件夹",
2316
+ "effect": "write",
2317
+ "schema": {
2318
+ "type": "object",
2319
+ "properties": {
2320
+ "group_id": {
2321
+ "type": "integer",
2322
+ "minimum": 1,
2323
+ "description": "群号"
2324
+ },
2325
+ "folder_id": {
2326
+ "type": "string",
2327
+ "minLength": 1,
2328
+ "maxLength": 12000
2329
+ },
2330
+ "new_folder_name": {
2331
+ "type": "string",
2332
+ "default": "",
2333
+ "maxLength": 12000
2334
+ },
2335
+ "name": {
2336
+ "type": "string",
2337
+ "default": "",
2338
+ "maxLength": 12000
2339
+ }
2340
+ },
2341
+ "required": [
2342
+ "group_id",
2343
+ "folder_id"
2344
+ ],
2345
+ "additionalProperties": false
2346
+ }
2347
+ },
2348
+ {
2349
+ "id": "move_group_file",
2350
+ "category": "files",
2351
+ "title": "移动群文件",
2352
+ "description": "移动群文件",
2353
+ "effect": "write",
2354
+ "schema": {
2355
+ "type": "object",
2356
+ "properties": {
2357
+ "group_id": {
2358
+ "type": "integer",
2359
+ "minimum": 1,
2360
+ "description": "群号"
2361
+ },
2362
+ "file_id": {
2363
+ "type": "string",
2364
+ "minLength": 1,
2365
+ "maxLength": 12000
2366
+ },
2367
+ "parent_directory": {
2368
+ "type": "string",
2369
+ "minLength": 1,
2370
+ "maxLength": 12000
2371
+ },
2372
+ "target_directory": {
2373
+ "type": "string",
2374
+ "minLength": 1,
2375
+ "maxLength": 12000
2376
+ }
2377
+ },
2378
+ "required": [
2379
+ "group_id",
2380
+ "file_id",
2381
+ "parent_directory",
2382
+ "target_directory"
2383
+ ],
2384
+ "additionalProperties": false
2385
+ }
2386
+ },
2387
+ {
2388
+ "id": "delete_group_file",
2389
+ "category": "files",
2390
+ "title": "删除群文件",
2391
+ "description": "删除群文件",
2392
+ "effect": "destructive",
2393
+ "schema": {
2394
+ "type": "object",
2395
+ "properties": {
2396
+ "group_id": {
2397
+ "type": "integer",
2398
+ "minimum": 1,
2399
+ "description": "群号"
2400
+ },
2401
+ "file_id": {
2402
+ "type": "string",
2403
+ "minLength": 1,
2404
+ "maxLength": 12000
2405
+ }
2406
+ },
2407
+ "required": [
2408
+ "group_id",
2409
+ "file_id"
2410
+ ],
2411
+ "additionalProperties": false
2412
+ }
2413
+ },
2414
+ {
2415
+ "id": "delete_group_file_folder",
2416
+ "category": "files",
2417
+ "title": "删除群文件夹",
2418
+ "description": "删除群文件夹",
2419
+ "effect": "destructive",
2420
+ "schema": {
2421
+ "type": "object",
2422
+ "properties": {
2423
+ "group_id": {
2424
+ "type": "integer",
2425
+ "minimum": 1,
2426
+ "description": "群号"
2427
+ },
2428
+ "folder_id": {
2429
+ "type": "string",
2430
+ "minLength": 1,
2431
+ "maxLength": 12000
2432
+ }
2433
+ },
2434
+ "required": [
2435
+ "group_id",
2436
+ "folder_id"
2437
+ ],
2438
+ "additionalProperties": false
2439
+ }
2440
+ },
2441
+ {
2442
+ "id": "get_group_album_list",
2443
+ "category": "albums",
2444
+ "title": "get_group_album_list",
2445
+ "description": "get_group_album_list",
2446
+ "effect": "read",
2447
+ "schema": {
2448
+ "type": "object",
2449
+ "properties": {
2450
+ "group_id": {
2451
+ "type": "integer",
2452
+ "minimum": 1,
2453
+ "description": "群号"
2454
+ }
2455
+ },
2456
+ "required": [
2457
+ "group_id"
2458
+ ],
2459
+ "additionalProperties": false
2460
+ }
2461
+ },
2462
+ {
2463
+ "id": "get_group_album_media_list",
2464
+ "category": "albums",
2465
+ "title": "get_group_album_media_list",
2466
+ "description": "get_group_album_media_list",
2467
+ "effect": "read",
2468
+ "schema": {
2469
+ "type": "object",
2470
+ "properties": {
2471
+ "group_id": {
2472
+ "type": "integer",
2473
+ "minimum": 1,
2474
+ "description": "群号"
2475
+ },
2476
+ "album_id": {
2477
+ "type": "string",
2478
+ "minLength": 1,
2479
+ "maxLength": 12000
2480
+ },
2481
+ "attach_info": {
2482
+ "type": "string",
2483
+ "default": "",
2484
+ "maxLength": 12000
2485
+ }
2486
+ },
2487
+ "required": [
2488
+ "group_id",
2489
+ "album_id"
2490
+ ],
2491
+ "additionalProperties": false
2492
+ }
2493
+ },
2494
+ {
2495
+ "id": "upload_image_to_qun_album",
2496
+ "category": "albums",
2497
+ "title": "upload_image_to_qun_album",
2498
+ "description": "upload_image_to_qun_album",
2499
+ "effect": "write",
2500
+ "schema": {
2501
+ "type": "object",
2502
+ "properties": {
2503
+ "group_id": {
2504
+ "type": "integer",
2505
+ "minimum": 1,
2506
+ "description": "群号"
2507
+ },
2508
+ "album_id": {
2509
+ "type": "string",
2510
+ "minLength": 1,
2511
+ "maxLength": 12000
2512
+ },
2513
+ "album_name": {
2514
+ "type": "string",
2515
+ "minLength": 1,
2516
+ "maxLength": 12000
2517
+ },
2518
+ "file": {
2519
+ "type": "string",
2520
+ "minLength": 1,
2521
+ "maxLength": 12000,
2522
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。"
2523
+ }
2524
+ },
2525
+ "required": [
2526
+ "group_id",
2527
+ "album_id",
2528
+ "album_name",
2529
+ "file"
2530
+ ],
2531
+ "additionalProperties": false
2532
+ },
2533
+ "media": [
2534
+ "file"
2535
+ ]
2536
+ },
2537
+ {
2538
+ "id": "upload_video_to_qun_album",
2539
+ "category": "albums",
2540
+ "title": "上传视频到群相册",
2541
+ "description": "上传视频到群相册",
2542
+ "effect": "write",
2543
+ "schema": {
2544
+ "type": "object",
2545
+ "properties": {
2546
+ "group_id": {
2547
+ "type": "integer",
2548
+ "minimum": 1,
2549
+ "description": "群号"
2550
+ },
2551
+ "album_id": {
2552
+ "type": "string",
2553
+ "minLength": 1,
2554
+ "description": "相册 id",
2555
+ "maxLength": 12000
2556
+ },
2557
+ "album_name": {
2558
+ "type": "string",
2559
+ "minLength": 1,
2560
+ "description": "相册名称",
2561
+ "maxLength": 12000
2562
+ },
2563
+ "file": {
2564
+ "type": "string",
2565
+ "minLength": 1,
2566
+ "description": "伙伴工作目录内的文件路径,由插件读取后上传;不接受远端容器路径或任意 URL。",
2567
+ "maxLength": 12000
2568
+ }
2569
+ },
2570
+ "required": [
2571
+ "group_id",
2572
+ "album_id",
2573
+ "album_name",
2574
+ "file"
2575
+ ],
2576
+ "additionalProperties": false
2577
+ },
2578
+ "media": [
2579
+ "file"
2580
+ ]
2581
+ },
2582
+ {
2583
+ "id": "set_group_album_media_like",
2584
+ "category": "albums",
2585
+ "title": "set_group_album_media_like",
2586
+ "description": "set_group_album_media_like",
2587
+ "effect": "write",
2588
+ "schema": {
2589
+ "type": "object",
2590
+ "properties": {
2591
+ "group_id": {
2592
+ "type": "integer",
2593
+ "minimum": 1,
2594
+ "description": "群号"
2595
+ },
2596
+ "album_id": {
2597
+ "type": "string",
2598
+ "minLength": 1,
2599
+ "maxLength": 12000
2600
+ },
2601
+ "batch_id": {
2602
+ "type": "string",
2603
+ "minLength": 1,
2604
+ "maxLength": 12000
2605
+ },
2606
+ "lloc": {
2607
+ "type": "string",
2608
+ "maxLength": 12000
2609
+ }
2610
+ },
2611
+ "required": [
2612
+ "group_id",
2613
+ "album_id",
2614
+ "batch_id"
2615
+ ],
2616
+ "additionalProperties": false
2617
+ }
2618
+ },
2619
+ {
2620
+ "id": "cancel_group_album_media_like",
2621
+ "category": "albums",
2622
+ "title": "cancel_group_album_media_like",
2623
+ "description": "cancel_group_album_media_like",
2624
+ "effect": "write",
2625
+ "schema": {
2626
+ "type": "object",
2627
+ "properties": {
2628
+ "group_id": {
2629
+ "type": "integer",
2630
+ "minimum": 1,
2631
+ "description": "群号"
2632
+ },
2633
+ "album_id": {
2634
+ "type": "string",
2635
+ "minLength": 1,
2636
+ "maxLength": 12000
2637
+ },
2638
+ "batch_id": {
2639
+ "type": "string",
2640
+ "minLength": 1,
2641
+ "maxLength": 12000
2642
+ },
2643
+ "lloc": {
2644
+ "type": "string",
2645
+ "maxLength": 12000
2646
+ }
2647
+ },
2648
+ "required": [
2649
+ "group_id",
2650
+ "album_id",
2651
+ "batch_id"
2652
+ ],
2653
+ "additionalProperties": false
2654
+ }
2655
+ },
2656
+ {
2657
+ "id": "do_group_album_comment",
2658
+ "category": "albums",
2659
+ "title": "do_group_album_comment",
2660
+ "description": "do_group_album_comment",
2661
+ "effect": "write",
2662
+ "schema": {
2663
+ "type": "object",
2664
+ "properties": {
2665
+ "group_id": {
2666
+ "type": "integer",
2667
+ "minimum": 1,
2668
+ "description": "群号"
2669
+ },
2670
+ "album_id": {
2671
+ "type": "string",
2672
+ "minLength": 1,
2673
+ "maxLength": 12000
2674
+ },
2675
+ "lloc": {
2676
+ "type": "string",
2677
+ "minLength": 1,
2678
+ "maxLength": 12000
2679
+ },
2680
+ "content": {
2681
+ "type": "string",
2682
+ "minLength": 1,
2683
+ "maxLength": 12000
2684
+ }
2685
+ },
2686
+ "required": [
2687
+ "group_id",
2688
+ "album_id",
2689
+ "lloc",
2690
+ "content"
2691
+ ],
2692
+ "additionalProperties": false
2693
+ }
2694
+ },
2695
+ {
2696
+ "id": "del_group_album_media",
2697
+ "category": "albums",
2698
+ "title": "删除群相册图片或视频",
2699
+ "description": "删除群相册图片或视频",
2700
+ "effect": "destructive",
2701
+ "schema": {
2702
+ "type": "object",
2703
+ "properties": {
2704
+ "group_id": {
2705
+ "type": "integer",
2706
+ "minimum": 1,
2707
+ "description": "群号"
2708
+ },
2709
+ "album_id": {
2710
+ "type": "string",
2711
+ "minLength": 1,
2712
+ "maxLength": 12000
2713
+ },
2714
+ "lloc": {
2715
+ "type": "string",
2716
+ "minLength": 1,
2717
+ "description": "图片长定位标识,或视频 id",
2718
+ "maxLength": 12000
2719
+ }
2720
+ },
2721
+ "required": [
2722
+ "group_id",
2723
+ "album_id",
2724
+ "lloc"
2725
+ ],
2726
+ "additionalProperties": false
2727
+ }
2728
+ }
2729
+ ];
2730
+ export const QQ_ACTION_MAP = new Map(QQ_ACTIONS.map(action => [action.id, action]));
2731
+ //# sourceMappingURL=action-catalog.js.map