| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
default value Co-Authored-By: ya Signed-off-by: renjh5496 <renjianhao@h-partners.com> | 19 天前 | |
refactor: merge Profile path into Generic, drop template Filters Unify on Generic (ExtractInsightIntentInfo) as the sole data format for registration. Drop ConvertFromExtractProfile, FilterProfile, the PrepareForRegister template, and the three ExtractFrom* helpers. Each remaining Filter (Config/Generic) now inlines rule-1 filtering and (moduleName, abilityName) sort directly. event_mgr now converts Profile→Generic via ProfileInfoFormat before filtering and registering, matching the sys_event_receiver path. ConvertFromExtractIntentInfo is completed to emit the same full FunctionInfo (options schema, inputSchema, outputSchema) that the old Profile path produced, so both registration paths yield identical KVStore entries. Net effect: ~50 lines removed, one conversion path, two self-contained filters, and consistent FunctionInfo output across all callers. 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> | 1 个月前 | |
refactor: split filter responsibility back to data source Re-introduce GetAllInsightIntentInfoForRegister on DbCache that returns rule-1 filtered and (moduleName, abilityName) sorted data. sys_event_receiver now calls this ForRegister variant and gets ready-to-register data. RegisterInsightIntentFunctions drops its inline IntentFilterUtil call back to pure convert+register semantics. event_mgr (whose data comes from profile file parsing, not DbCache) does explicit IntentFilterUtil.FilterProfile/FilterConfig before Register, since it cannot use the ForRegister shortcut. Net effect: each caller filters at its own data source instead of Register doing all work, and the original GetAllInsightIntentInfo stays untouched. 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> | 1 个月前 | |
意图json文件合并解析适配 Signed-off-by: linjunjie <linjunjie6@huawei.com> | 1 年前 | |
修复意图应用死亡监听导致意图概率返回50错误码 Co-Authored-By: yuhang-wang Signed-off-by: renjh5496 <renjianhao@h-partners.com> | 1 个月前 | |
refactor: extract InsightIntentParamParser, add IntentFilterUtil Move parameter parsing/assembly for ExecuteIntentByFunctionCall out of AbilityManagerService anonymous helpers into a dedicated InsightIntentParamParser class with explicit, unit-testable rules. Expose multi-candidate matcher API (GetMatchedIntentInfos). Drop SA-only check on ExecuteIntentByFunctionCall entry so function calling agents can invoke intents directly. Add IntentFilterUtil for CliTool registration path: callers preprocess intent lists before RegisterInsightIntentFunctions to (1) drop intents not bound to background UIAbility or ServiceExtension, (2) pick entry module first when same intentName spans modules, (3) prefer UIAbility over ServiceExtension when same module has multiple abilities. Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com> | 1 个月前 | |
refactor: drop userId and displayId from exposed options schema These two parameters are system-internal and should not be part of the function calling contract. Remove them from the registered options schema so LLM agents don't see them. Parser no longer reads them from options: userId defaults to INVALID_USER_ID (-1) filled by CheckAndUpdateParam, displayId defaults to INVALID_DISPLAY_ID filled by SCB. ResolveUserId/ResolveDisplayId methods and their constants are deleted. 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> | 30 天前 | |
change json to cpp Co-Authored-By: Agent Signed-off-by: zhangzezhong <zhangzezhong8@huawei-partners.com> | 3 个月前 | |
rdb优化 Signed-off-by: wkljy <wangkailong6@huawei.com> | 6 个月前 | |
OTA Signed-off-by: wkljy <wangkailong6@huawei.com> | 5 个月前 | |
refactor: drop entryModule concept from IntentFilterUtil Simplify rule 2 to "moduleName alphabetical first" without entry preference. Removes entryModuleNames parameter from IntentFilterUtil ctor, FilterCandidate.isEntryModule field, CandidateOrdering entry dimension, DbCache GetAllInsightIntentInfoForRegister signature, and bundleToEntryModules plumbing in sys_event_receiver/event_mgr. Callers no longer need to extract entry modules from BundleInfo. Also rename FilterAndDedup overloads to FilterProfile/FilterConfig/ FilterGeneric for explicit data-source semantics. 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> | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 19 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 30 天前 | ||
| 3 个月前 | ||
| 6 个月前 | ||
| 5 个月前 | ||
| 1 个月前 |