feat(qzone): support post visibility rights when publishing qzone posts (#178)

Add ugc_right and target_uins to the qzone publish path across protocol,
bridge, and the send_qzone_msg OneBot action, regenerate the MCP catalog,
and cover restricted visibility (16/128) with validation tests.
This commit is contained in:
Airline233 authored and GitHub committed 2026-06-30 23:57:39 +08:00
1 parent c90a3954e4
commit 2f374ea8c9
8 files changed
+199 -16

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ describe('qzone actions', () => {
expect(res).toMatchObject({ status: 'ok', retcode: 0, data: { tid: 'T1', time: 1 } });
expect(uploadImageFromSource).toHaveBeenNthCalledWith(1, 'file:///a.jpg');
expect(uploadImageFromSource).toHaveBeenNthCalledWith(2, 'file:///b.jpg');
expect(publish).toHaveBeenCalledWith('hello', 1, 'RV1\tRV2');
expect(publish).toHaveBeenCalledWith('hello', 1, 'RV1\tRV2', 1, undefined);
});
it('comment_qzone uploads images and comments direct urls joined with tab', async () => {