mirror of
https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git
synced 2026-09-28 21:25:22 +08:00
parseBatchDecryptResults reads keyVersion from the Ding batch decrypt response, but the MCP runtime can surface numeric fields as json.Number, which intField silently skipped and left keyVersion at 0. Accept json.Number via Int64 so BatchDecryptItemResult.KeyVersion and the projected dingKeyVersion can be populated.