- Add uint32_t versionCode field to CliTool::FunctionInfo with full
Parcel/JSON serialization
- Pass versionCode through RegisterInsightIntentFunctions and assign
to each FunctionInfo before IPC registration
- Remove redundant bundle-level versionCode cache in InsightIntentDbCache
(HasFunctionByName/SaveFunctionVersion/DeleteFunctionVersion/
LoadFunctionVersionMap, functionVersionMap_, functionVersionMutex_,
and related RDB helpers)
- Simplify LoadInsightIntentInfos dedup to single rdbHas check
- Update function_info_test and thirteenth_test mock accordingly
Co-Authored-By: Agent
Signed-off-by: RuiChen_01 <chenrui193@huawei.com>
🤖 AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%]
Co-authored-by: claude (glm-5.2) <ai@local>