fix(protocol): decode current NT flash-transfer cards

Current clients put fileset identity on markdown extInfo and the
open_fileset scheme, not data.fileSetId. Empty message arrays were
the old scraper missing those fields.

Fixes #358
This commit is contained in:
DrSmoothl committed 2026-08-13 18:18:56 +08:00
1 parent 9e0dd5d75c
commit e7322e2e72
5 files changed
+257 -38

No files matched your search

+1 -1
View File
@@ -215,7 +215,7 @@ export const ELEMENT_MANIFEST = {
directions: { D: 'yes', S: 'yes', P: 'by-design-no', W: 'by-design-no' },
fields: fieldsFor<'flash_file'>()(['filesetId', 'sceneType', 'fileName']),
requiredFields: ['filesetId'],
note: '闪传文件(#199/#200):旧客户端(≤9.9.30)的 richui markdown 卡片才有;仅收侧解码上报,发送走 send_flash_msg 动作,故 P/W 按设计不支持',
note: '闪传文件:收侧解码 markdown commonElem(旧卡 JSON data.fileSetId,现网 extType=1/extInfo + open_fileset scheme,#199/#200/#358);发送走 send_flash_msg,故 P/W 按设计不支持',
},
} as const satisfies ManifestShape;