@thinkingai/ae-cli 6.0.29 → 6.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/README.md +5 -7
  2. package/README.zh.md +5 -7
  3. package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
  4. package/dist/{capability-KVA55RMK.js → capability-SEH3JWLN.js} +49 -10
  5. package/dist/{capability-LKHLZQPD.js → capability-SQ2IWKP3.js} +49 -10
  6. package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
  7. package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
  8. package/dist/{chunk-CWZUGF2J.js → chunk-HL2AJQ4Q.js} +15 -0
  9. package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
  10. package/dist/chunk-N2QORU5D.js +68 -0
  11. package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
  12. package/dist/chunk-TKQJQXWT.js +68 -0
  13. package/dist/{chunk-ZAOL36CG.js → chunk-TNW2CI4W.js} +46 -30
  14. package/dist/{config-ZVPARN4R.js → config-7UZWDE74.js} +25 -25
  15. package/dist/index.js +143 -46
  16. package/dist/{metadata-6CCFV4K5.js → metadata-W6JFFMBA.js} +6 -43
  17. package/dist/{metadata-PDOIWH5O.js → metadata-X62TKIVK.js} +6 -43
  18. package/dist/{raw-OHSUK42D.js → raw-CN542NGT.js} +8 -6
  19. package/dist/{sync-ULT5SECP.js → sync-ERNHDPB5.js} +1 -1
  20. package/dist/{te-agent-FAIBM3SA.js → te-agent-FCCWUDTJ.js} +1 -1
  21. package/dist/te-analysis-NJGNWZFC.js +4530 -0
  22. package/dist/te-analysis-YGV5V5EX.js +4530 -0
  23. package/dist/{te-common-SDB3O2QG.js → te-common-5NJLF3XG.js} +1 -1
  24. package/dist/{te-common-CFGQXTFV.js → te-common-7VTJZPII.js} +1 -1
  25. package/dist/{te-community-6A7LKYUH.js → te-community-PEZ2VEF7.js} +1 -1
  26. package/dist/{te-community-GMWFGILT.js → te-community-TSKJ652U.js} +1 -1
  27. package/dist/{te-dataops-Z53CTG2U.js → te-dataops-F36T656A.js} +32 -12
  28. package/dist/{te-dataops-6LIPYNGH.js → te-dataops-ZNJBQ6VT.js} +33 -12
  29. package/dist/{te-engage-M7JQSJDP.js → te-engage-BUWVSSSK.js} +398 -11
  30. package/dist/{te-engage-545HJL6J.js → te-engage-EPE3QKDE.js} +398 -11
  31. package/dist/{te-meta-FADFLTDM.js → te-meta-MAAUHFQO.js} +9 -9
  32. package/dist/{te-meta-PKT27OTN.js → te-meta-VKWNAWO4.js} +9 -9
  33. package/dist/{te-team-RG75PR5D.js → te-team-OKCOX7OE.js} +5 -5
  34. package/package.json +15 -7
  35. package/skills/ae-agent/SKILL.md +6 -8
  36. package/skills/ae-agent/references/accept-skill-share.md +2 -2
  37. package/skills/ae-agent/references/add-attachment.md +3 -3
  38. package/skills/ae-agent/references/add-mcp.md +2 -3
  39. package/skills/ae-agent/references/add-model.md +3 -5
  40. package/skills/ae-agent/references/add-skill.md +2 -3
  41. package/skills/ae-agent/references/approve-skill.md +2 -2
  42. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +3 -3
  43. package/skills/ae-agent/references/cancel-skill-submission.md +2 -2
  44. package/skills/ae-agent/references/copy-skill.md +3 -3
  45. package/skills/ae-agent/references/create-agent.md +3 -4
  46. package/skills/ae-agent/references/create-automation.md +5 -9
  47. package/skills/ae-agent/references/del-agent.md +3 -2
  48. package/skills/ae-agent/references/del-attachment.md +3 -2
  49. package/skills/ae-agent/references/del-mcp.md +3 -2
  50. package/skills/ae-agent/references/del-model.md +3 -2
  51. package/skills/ae-agent/references/del-skill-asset.md +3 -3
  52. package/skills/ae-agent/references/del-skill-reference.md +3 -3
  53. package/skills/ae-agent/references/del-skill-script.md +3 -3
  54. package/skills/ae-agent/references/del-skill.md +3 -2
  55. package/skills/ae-agent/references/edit-skill.md +4 -4
  56. package/skills/ae-agent/references/mcp-auth-disconnect.md +2 -2
  57. package/skills/ae-agent/references/mcp-auth-start.md +3 -3
  58. package/skills/ae-agent/references/reject-skill-share.md +2 -2
  59. package/skills/ae-agent/references/reject-skill.md +2 -2
  60. package/skills/ae-agent/references/rescan-skills.md +2 -2
  61. package/skills/ae-agent/references/set-mcp-credential.md +3 -3
  62. package/skills/ae-agent/references/set-mcp-meta.md +2 -2
  63. package/skills/ae-agent/references/set-skill-meta.md +2 -2
  64. package/skills/ae-agent/references/share-skill.md +3 -3
  65. package/skills/ae-agent/references/submit-skill.md +3 -3
  66. package/skills/ae-agent/references/toggle-mcp.md +3 -3
  67. package/skills/ae-agent/references/toggle-model.md +3 -3
  68. package/skills/ae-agent/references/toggle-skill.md +3 -3
  69. package/skills/ae-agent/references/update-agent.md +2 -2
  70. package/skills/ae-agent/references/update-automation.md +6 -8
  71. package/skills/ae-agent/references/update-mcp.md +4 -4
  72. package/skills/ae-agent/references/update-model.md +2 -3
  73. package/skills/ae-agent/references/upload-skill-asset.md +3 -3
  74. package/skills/ae-agent/references/upload-skill-reference.md +3 -3
  75. package/skills/ae-agent/references/upload-skill-script.md +3 -3
  76. package/skills/ae-agent/references/upload-skill.md +6 -7
  77. package/skills/ae-analysis/SKILL.md +105 -512
  78. package/skills/ae-analysis/references/adhoc_export.md +71 -0
  79. package/skills/ae-analysis/references/adhoc_run.md +58 -0
  80. package/skills/ae-analysis/references/ai_models.md +459 -0
  81. package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
  82. package/skills/ae-analysis/references/analysis_gateway_assets.md +72 -12
  83. package/skills/ae-analysis/references/analysis_interpretation.md +38 -0
  84. package/skills/ae-analysis/references/artifact_download.md +13 -7
  85. package/skills/ae-analysis/references/asset_abnormal_get.md +5 -5
  86. package/skills/ae-analysis/references/asset_abnormal_list.md +5 -5
  87. package/skills/ae-analysis/references/asset_authentication_list.md +5 -5
  88. package/skills/ae-analysis/references/asset_authentication_update.md +6 -6
  89. package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +26 -0
  90. package/skills/ae-analysis/references/asset_batch_delete.md +26 -0
  91. package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +26 -0
  92. package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +26 -0
  93. package/skills/ae-analysis/references/asset_batch_handover.md +26 -0
  94. package/skills/ae-analysis/references/asset_batch_info_export.md +25 -0
  95. package/skills/ae-analysis/references/asset_batch_sql_export.md +25 -0
  96. package/skills/ae-analysis/references/asset_dependency_list.md +30 -0
  97. package/skills/ae-analysis/references/asset_export.md +30 -0
  98. package/skills/ae-analysis/references/asset_impact_list.md +30 -0
  99. package/skills/ae-analysis/references/asset_lineage_get.md +25 -0
  100. package/skills/ae-analysis/references/asset_list.md +30 -0
  101. package/skills/ae-analysis/references/asset_query_history_list.md +30 -0
  102. package/skills/ae-analysis/references/asset_recent_list.md +4 -4
  103. package/skills/ae-analysis/references/asset_search.md +4 -4
  104. package/skills/ae-analysis/references/asset_url_get.md +28 -0
  105. package/skills/ae-analysis/references/audience_models.md +42 -0
  106. package/skills/ae-analysis/references/batch_create_metadata.md +5 -1
  107. package/skills/ae-analysis/references/batch_edit_metadata.md +4 -1
  108. package/skills/ae-analysis/references/bi_panel_copy.md +1 -1
  109. package/skills/ae-analysis/references/bi_panel_create.md +1 -1
  110. package/skills/ae-analysis/references/bi_panel_delete.md +2 -0
  111. package/skills/ae-analysis/references/bi_panel_list.md +4 -2
  112. package/skills/ae-analysis/references/bi_panel_page_data_export.md +8 -4
  113. package/skills/ae-analysis/references/bi_panel_page_data_run.md +7 -3
  114. package/skills/ae-analysis/references/bi_panel_share.md +1 -1
  115. package/skills/ae-analysis/references/bi_panel_update.md +1 -1
  116. package/skills/ae-analysis/references/bi_panel_version_publish.md +1 -1
  117. package/skills/ae-analysis/references/cancel_query.md +4 -4
  118. package/skills/ae-analysis/references/command_index.md +209 -0
  119. package/skills/ae-analysis/references/create_alert.md +1 -1
  120. package/skills/ae-analysis/references/create_entity.md +1 -1
  121. package/skills/ae-analysis/references/create_metric.md +11 -15
  122. package/skills/ae-analysis/references/create_project_mark_time.md +2 -1
  123. package/skills/ae-analysis/references/create_virtual_event.md +10 -14
  124. package/skills/ae-analysis/references/create_virtual_property.md +1 -1
  125. package/skills/ae-analysis/references/dashboard_copy.md +1 -1
  126. package/skills/ae-analysis/references/dashboard_create.md +1 -1
  127. package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -1
  128. package/skills/ae-analysis/references/dashboard_daily_report_update.md +1 -1
  129. package/skills/ae-analysis/references/dashboard_definition_import.md +1 -1
  130. package/skills/ae-analysis/references/dashboard_delete.md +2 -0
  131. package/skills/ae-analysis/references/dashboard_freeze.md +1 -1
  132. package/skills/ae-analysis/references/dashboard_handover.md +1 -1
  133. package/skills/ae-analysis/references/dashboard_list.md +4 -2
  134. package/skills/ae-analysis/references/dashboard_report_add.md +15 -0
  135. package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -7
  136. package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -7
  137. package/skills/ae-analysis/references/dashboard_share.md +11 -2
  138. package/skills/ae-analysis/references/dashboard_update.md +12 -3
  139. package/skills/ae-analysis/references/datatable_columns_get.md +2 -2
  140. package/skills/ae-analysis/references/datatable_influence_list.md +2 -2
  141. package/skills/ae-analysis/references/datatable_version_get.md +2 -2
  142. package/skills/ae-analysis/references/datatable_version_list.md +2 -2
  143. package/skills/ae-analysis/references/delete_alert.md +8 -3
  144. package/skills/ae-analysis/references/delete_metric.md +8 -3
  145. package/skills/ae-analysis/references/delete_project_mark_times.md +5 -3
  146. package/skills/ae-analysis/references/delete_track_items.md +4 -3
  147. package/skills/ae-analysis/references/drilldown_user_events_export.md +20 -0
  148. package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
  149. package/skills/ae-analysis/references/drilldown_users_export.md +17 -0
  150. package/skills/ae-analysis/references/drilldown_users_run.md +61 -0
  151. package/skills/ae-analysis/references/entity_detail_export.md +31 -0
  152. package/skills/ae-analysis/references/entity_detail_run.md +50 -0
  153. package/skills/ae-analysis/references/entity_id_import_options.md +20 -0
  154. package/skills/ae-analysis/references/event_changelog_list.md +2 -2
  155. package/skills/ae-analysis/references/event_create.md +4 -4
  156. package/skills/ae-analysis/references/event_delete.md +5 -4
  157. package/skills/ae-analysis/references/event_detail_export.md +31 -0
  158. package/skills/ae-analysis/references/event_detail_run.md +58 -0
  159. package/skills/ae-analysis/references/event_get.md +2 -2
  160. package/skills/ae-analysis/references/event_hide_update.md +3 -3
  161. package/skills/ae-analysis/references/event_influence_list.md +2 -2
  162. package/skills/ae-analysis/references/event_list.md +2 -2
  163. package/skills/ae-analysis/references/{super_metadata_export.md → event_property_bundle_export.md} +7 -7
  164. package/skills/ae-analysis/references/event_property_bundle_import.md +25 -0
  165. package/skills/ae-analysis/references/event_relation_update.md +4 -4
  166. package/skills/ae-analysis/references/event_update.md +2 -2
  167. package/skills/ae-analysis/references/exchange_config_update.md +2 -2
  168. package/skills/ae-analysis/references/exchange_rate_refresh.md +2 -2
  169. package/skills/ae-analysis/references/exchange_rule_list.md +2 -2
  170. package/skills/ae-analysis/references/exchange_rule_update.md +4 -4
  171. package/skills/ae-analysis/references/exchange_rule_validate.md +4 -4
  172. package/skills/ae-analysis/references/favorite_add.md +1 -1
  173. package/skills/ae-analysis/references/favorite_remove.md +1 -1
  174. package/skills/ae-analysis/references/folder_create.md +2 -3
  175. package/skills/ae-analysis/references/folder_share.md +2 -3
  176. package/skills/ae-analysis/references/generate_track_program.md +2 -1
  177. package/skills/ae-analysis/references/generate_track_sdk_sample.md +2 -1
  178. package/skills/ae-analysis/references/get_alert.md +4 -0
  179. package/skills/ae-analysis/references/get_alert_definition_schema.md +1 -0
  180. package/skills/ae-analysis/references/get_metric.md +4 -4
  181. package/skills/ae-analysis/references/get_project_config.md +1 -0
  182. package/skills/ae-analysis/references/get_resource_url.md +1 -0
  183. package/skills/ae-analysis/references/get_track_program.md +3 -0
  184. package/skills/ae-analysis/references/history_tag_batch_refresh.md +19 -0
  185. package/skills/ae-analysis/references/history_tag_clear.md +13 -0
  186. package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +15 -0
  187. package/skills/ae-analysis/references/history_tag_data_drilldown_run.md +13 -0
  188. package/skills/ae-analysis/references/history_tag_data_export.md +15 -0
  189. package/skills/ae-analysis/references/history_tag_data_run.md +15 -0
  190. package/skills/ae-analysis/references/history_tag_list.md +11 -0
  191. package/skills/ae-analysis/references/history_tag_refresh.md +11 -0
  192. package/skills/ae-analysis/references/input_file_inspect.md +9 -0
  193. package/skills/ae-analysis/references/input_file_purpose_list.md +9 -0
  194. package/skills/ae-analysis/references/input_file_upload.md +11 -0
  195. package/skills/ae-analysis/references/list_alerts.md +3 -2
  196. package/skills/ae-analysis/references/list_entities.md +3 -2
  197. package/skills/ae-analysis/references/list_events.md +5 -5
  198. package/skills/ae-analysis/references/list_metrics.md +5 -5
  199. package/skills/ae-analysis/references/list_project_mark_times.md +2 -1
  200. package/skills/ae-analysis/references/list_project_users.md +1 -0
  201. package/skills/ae-analysis/references/list_properties.md +5 -5
  202. package/skills/ae-analysis/references/load_filters.md +3 -0
  203. package/skills/ae-analysis/references/metric_create.md +11 -6
  204. package/skills/ae-analysis/references/metric_delete.md +5 -4
  205. package/skills/ae-analysis/references/metric_get.md +2 -2
  206. package/skills/ae-analysis/references/metric_list.md +2 -2
  207. package/skills/ae-analysis/references/metric_update.md +12 -6
  208. package/skills/ae-analysis/references/operation_record_export.md +25 -0
  209. package/skills/ae-analysis/references/operation_record_list.md +31 -0
  210. package/skills/ae-analysis/references/project_space_create.md +2 -3
  211. package/skills/ae-analysis/references/project_space_list.md +3 -1
  212. package/skills/ae-analysis/references/project_space_share.md +2 -3
  213. package/skills/ae-analysis/references/property_changelog_list.md +2 -2
  214. package/skills/ae-analysis/references/property_create.md +4 -4
  215. package/skills/ae-analysis/references/property_delete.md +5 -4
  216. package/skills/ae-analysis/references/property_get.md +2 -2
  217. package/skills/ae-analysis/references/property_hide_update.md +3 -3
  218. package/skills/ae-analysis/references/property_influence_list.md +2 -2
  219. package/skills/ae-analysis/references/property_list.md +2 -2
  220. package/skills/ae-analysis/references/property_related_events.md +2 -2
  221. package/skills/ae-analysis/references/property_relation_update.md +4 -4
  222. package/skills/ae-analysis/references/property_update.md +2 -2
  223. package/skills/ae-analysis/references/public_link_create.md +1 -1
  224. package/skills/ae-analysis/references/public_link_delete.md +2 -0
  225. package/skills/ae-analysis/references/public_link_list.md +3 -1
  226. package/skills/ae-analysis/references/public_link_offline.md +1 -1
  227. package/skills/ae-analysis/references/public_link_update.md +1 -1
  228. package/skills/ae-analysis/references/query_cancel.md +1 -1
  229. package/skills/ae-analysis/references/query_create_result_cluster.md +47 -0
  230. package/skills/ae-analysis/references/report_abnormal_get.md +15 -0
  231. package/skills/ae-analysis/references/report_change_log_get.md +15 -0
  232. package/skills/ae-analysis/references/report_change_log_list.md +15 -0
  233. package/skills/ae-analysis/references/report_create.md +29 -0
  234. package/skills/ae-analysis/references/report_data_export.md +37 -0
  235. package/skills/ae-analysis/references/report_data_run.md +45 -0
  236. package/skills/ae-analysis/references/report_delete.md +17 -0
  237. package/skills/ae-analysis/references/report_get.md +21 -0
  238. package/skills/ae-analysis/references/report_list.md +17 -0
  239. package/skills/ae-analysis/references/report_list_export.md +15 -0
  240. package/skills/ae-analysis/references/report_update.md +22 -0
  241. package/skills/ae-analysis/references/report_version_rollback.md +15 -0
  242. package/skills/ae-analysis/references/rule_create.md +27 -0
  243. package/skills/ae-analysis/references/rule_delete.md +26 -0
  244. package/skills/ae-analysis/references/rule_list.md +24 -0
  245. package/skills/ae-analysis/references/rule_schema.md +24 -0
  246. package/skills/ae-analysis/references/rule_update.md +28 -0
  247. package/skills/ae-analysis/references/run_inspect.md +10 -4
  248. package/skills/ae-analysis/references/save_track_items.md +4 -1
  249. package/skills/ae-analysis/references/sql_table_columns.md +20 -0
  250. package/skills/ae-analysis/references/sql_table_list.md +33 -0
  251. package/skills/ae-analysis/references/update_alert.md +1 -1
  252. package/skills/ae-analysis/references/update_metric.md +11 -14
  253. package/skills/ae-analysis/references/update_project_mark_time.md +4 -3
  254. package/skills/ae-analysis/references/user_cluster_create.md +15 -0
  255. package/skills/ae-analysis/references/user_cluster_create_id.md +15 -0
  256. package/skills/ae-analysis/references/user_cluster_delete.md +13 -0
  257. package/skills/ae-analysis/references/user_cluster_get.md +11 -0
  258. package/skills/ae-analysis/references/user_cluster_list.md +15 -0
  259. package/skills/ae-analysis/references/user_cluster_member_export.md +15 -0
  260. package/skills/ae-analysis/references/user_cluster_member_list.md +19 -0
  261. package/skills/ae-analysis/references/user_cluster_models.md +87 -0
  262. package/skills/ae-analysis/references/user_cluster_refresh.md +11 -0
  263. package/skills/ae-analysis/references/user_cluster_update.md +13 -0
  264. package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
  265. package/skills/ae-analysis/references/user_tag_create.md +15 -0
  266. package/skills/ae-analysis/references/user_tag_create_id.md +15 -0
  267. package/skills/ae-analysis/references/user_tag_delete.md +13 -0
  268. package/skills/ae-analysis/references/user_tag_get.md +11 -0
  269. package/skills/ae-analysis/references/user_tag_list.md +17 -0
  270. package/skills/ae-analysis/references/user_tag_member_export.md +15 -0
  271. package/skills/ae-analysis/references/user_tag_member_list.md +19 -0
  272. package/skills/ae-analysis/references/user_tag_models.md +54 -0
  273. package/skills/ae-analysis/references/user_tag_refresh.md +11 -0
  274. package/skills/ae-analysis/references/user_tag_update.md +13 -0
  275. package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
  276. package/skills/ae-analysis/references/virtual_event_create.md +4 -4
  277. package/skills/ae-analysis/references/virtual_event_delete.md +5 -4
  278. package/skills/ae-analysis/references/virtual_event_get.md +2 -2
  279. package/skills/ae-analysis/references/virtual_property_create.md +13 -6
  280. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +5 -4
  281. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +13 -6
  282. package/skills/ae-analysis-global/SKILL.md +6 -8
  283. package/skills/ae-analysis-global/references/list_query_clusters.md +7 -6
  284. package/skills/ae-capability/SKILL.md +68 -15
  285. package/skills/ae-community/SKILL.md +2 -2
  286. package/skills/ae-data-integration-helper/SKILL.md +1 -1
  287. package/skills/ae-dataops/SKILL.md +1 -1
  288. package/skills/ae-engage/SKILL.md +38 -10
  289. package/skills/ae-engage/references/build-task-save-guide.md +11 -9
  290. package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
  291. package/skills/ae-engage/references/group-list.md +13 -0
  292. package/skills/ae-engage/references/operation-log-query.md +11 -0
  293. package/skills/ae-engage/references/ops-delete.md +14 -0
  294. package/skills/ae-engage/references/push-record-query.md +26 -0
  295. package/skills/ae-engage/references/save-flow.md +5 -4
  296. package/skills/ae-engage/references/save-task.md +24 -20
  297. package/skills/ae-engage/references/segment-list-query.md +18 -0
  298. package/skills/ae-engage/references/task-operation-log-query.md +23 -0
  299. package/skills/ae-engage/references/version-list.md +18 -0
  300. package/skills/ae-generate-tracking-code/SKILL.md +2 -2
  301. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
  302. package/skills/ae-generate-tracking-plan/SKILL.md +18 -13
  303. package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
  304. package/skills/ae-kb/SKILL.md +1 -1
  305. package/skills/ae-metadata/SKILL.md +9 -8
  306. package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
  307. package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
  308. package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
  309. package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
  310. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
  311. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +3 -3
  312. package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
  313. package/skills/ae-team/SKILL.md +9 -9
  314. package/skills/ae-team/references/create.md +2 -2
  315. package/skills/ae-team/references/delete.md +3 -3
  316. package/skills/ae-team/references/run-cancel.md +3 -3
  317. package/skills/ae-team/references/run-chat.md +4 -4
  318. package/skills/ae-team/references/run-reply.md +3 -3
  319. package/skills/ae-team/references/run-start.md +4 -5
  320. package/skills/ae-team/references/run-watch.md +1 -1
  321. package/skills/ae-team/references/update.md +2 -2
  322. package/dist/chunk-P2JRP6HJ.js +0 -42
  323. package/dist/chunk-S5XN6KEX.js +0 -42
  324. package/dist/te-analysis-DDXGM7WM.js +0 -3188
  325. package/dist/te-analysis-HCDNYI7E.js +0 -3188
  326. package/dist/te-audience-ECFS4GF4.js +0 -600
  327. package/dist/te-audience-WO377T2J.js +0 -600
  328. package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
  329. package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
  330. package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
  331. package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
  332. package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
  333. package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
  334. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
  335. package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
  336. package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
  337. package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
  338. package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
  339. package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
  340. package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
  341. package/skills/ae-analysis/references/build_tag_definition.md +0 -65
  342. package/skills/ae-analysis/references/copy_dashboard.md +0 -33
  343. package/skills/ae-analysis/references/create_cluster.md +0 -69
  344. package/skills/ae-analysis/references/create_dashboard.md +0 -49
  345. package/skills/ae-analysis/references/create_id_cluster.md +0 -40
  346. package/skills/ae-analysis/references/create_id_tag.md +0 -39
  347. package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
  348. package/skills/ae-analysis/references/create_public_access_link.md +0 -43
  349. package/skills/ae-analysis/references/create_report.md +0 -60
  350. package/skills/ae-analysis/references/create_result_cluster.md +0 -73
  351. package/skills/ae-analysis/references/create_space.md +0 -34
  352. package/skills/ae-analysis/references/create_tag.md +0 -61
  353. package/skills/ae-analysis/references/delete_cluster.md +0 -27
  354. package/skills/ae-analysis/references/delete_dashboard.md +0 -30
  355. package/skills/ae-analysis/references/delete_report.md +0 -27
  356. package/skills/ae-analysis/references/delete_tag.md +0 -27
  357. package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
  358. package/skills/ae-analysis/references/drilldown_users.md +0 -80
  359. package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
  360. package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
  361. package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
  362. package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
  363. package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
  364. package/skills/ae-analysis/references/get_filter_schema.md +0 -33
  365. package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
  366. package/skills/ae-analysis/references/get_report_definition.md +0 -37
  367. package/skills/ae-analysis/references/get_table_columns.md +0 -37
  368. package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
  369. package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
  370. package/skills/ae-analysis/references/list_bi_panels.md +0 -35
  371. package/skills/ae-analysis/references/list_cluster_members.md +0 -45
  372. package/skills/ae-analysis/references/list_clusters.md +0 -46
  373. package/skills/ae-analysis/references/list_dashboards.md +0 -43
  374. package/skills/ae-analysis/references/list_public_access_links.md +0 -41
  375. package/skills/ae-analysis/references/list_reports.md +0 -43
  376. package/skills/ae-analysis/references/list_spaces.md +0 -27
  377. package/skills/ae-analysis/references/list_tag_members.md +0 -46
  378. package/skills/ae-analysis/references/list_tags.md +0 -44
  379. package/skills/ae-analysis/references/move_dashboard.md +0 -33
  380. package/skills/ae-analysis/references/query_adhoc.md +0 -141
  381. package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
  382. package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
  383. package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
  384. package/skills/ae-analysis/references/query_entity_details.md +0 -63
  385. package/skills/ae-analysis/references/query_event_details.md +0 -66
  386. package/skills/ae-analysis/references/query_report_data.md +0 -99
  387. package/skills/ae-analysis/references/refresh_cluster.md +0 -31
  388. package/skills/ae-analysis/references/refresh_tag.md +0 -31
  389. package/skills/ae-analysis/references/super_metadata_import.md +0 -24
  390. package/skills/ae-analysis/references/update_cluster.md +0 -61
  391. package/skills/ae-analysis/references/update_dashboard.md +0 -45
  392. package/skills/ae-analysis/references/update_id_cluster.md +0 -36
  393. package/skills/ae-analysis/references/update_id_tag.md +0 -37
  394. package/skills/ae-analysis/references/update_public_access_link.md +0 -41
  395. package/skills/ae-analysis/references/update_report.md +0 -35
  396. package/skills/ae-analysis/references/update_tag.md +0 -61
  397. package/skills/ae-analysis-intent/SKILL.md +0 -132
  398. package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
@@ -29,25 +29,23 @@ Every command accepts `--host <url>` to override the active AE host, and it may
29
29
 
30
30
  ## Routing Rules
31
31
 
32
- - In this overlay, **query cluster / service cluster / deployment cluster** means multi-cluster routing for analysis queries. **audience/user segment cluster** means audience membership assets under `analysis_audience`.
32
+ - In this overlay, **query cluster / service cluster / deployment cluster** means multi-cluster routing for analysis queries. **audience/user segment cluster** means user membership assets under `analysis user-cluster`.
33
33
  - If the user asks for cluster inventory or cluster info, call `ae-cli analysis +list_query_clusters --project_id <project_id>`. Localized examples include "集群信息" and "有哪些集群".
34
- - Do not answer query-cluster inventory questions with `ae-cli analysis_audience +list_clusters` unless the user explicitly asks for audience clusters, cohorts, segments, user membership, or cluster definitions.
34
+ - Do not answer query-cluster inventory questions with `ae-cli analysis user-cluster list` unless the user explicitly asks for audience clusters, cohorts, segments, user membership, or cluster definitions.
35
35
  - If the user mentions country, region, server, shard, site, market, or deployment area semantics, call `ae-cli analysis +list_query_clusters --project_id <project_id>` before choosing query scope.
36
36
  - Match slave cluster intent only against `slaveClusters[].clusterId`, `slaveClusters[].clusterName`, and `slaveClusters[].clusterDesc` returned by `+list_query_clusters`.
37
- - If a matching accessible slave cluster exists, pass `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>` to `+query_report_data`, `+query_dashboard_report_data`, or `+query_adhoc`.
37
+ - Unified ad-hoc gateway commands (`analysis adhoc run/export`) do not expose `cluster_query_scope`. If the user explicitly needs global/slave ad-hoc analysis, state that the new ad-hoc gateway contract does not support cluster routing yet and stop instead of adding hidden flags or removed ad-hoc commands.
38
+ - Report/dashboard data gateway commands (`analysis report-data run/export`, `analysis dashboard-report-data run/export`) also do not expose `cluster_query_scope`; do not add hidden cluster flags to them.
38
39
  - Use `--cluster_query_scope GLOBAL` only when the user clearly asks for global, all clusters, all servers, or cross-cluster aggregated data, and `permissions.canQueryGlobal=true`.
39
40
  - If the user does not express global or slave-cluster intent, omit `--cluster_query_scope`.
40
41
  - If requested global/slave scope is not allowed, explain `permissions.allowedClusterQueryParams` instead of guessing forbidden parameters.
41
- - For `+query_adhoc --model_type sql`, never pass `--cluster_query_scope`; SQL model analysis only supports the current self cluster.
42
+ - For SQL model analysis, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster in the current gateway contract.
42
43
 
43
44
  ## Response Wording
44
45
 
45
46
  - For `+list_query_clusters`, call the result "query clusters" and summarize `currentCluster`, `slaveClusters`, and `permissions.allowedClusterQueryParams`.
46
- - For `analysis_audience +list_clusters`, call the result "audience clusters" or "user segments"; do not call those results query clusters.
47
+ - For `analysis user-cluster list`, call the result "audience clusters" or "user segments"; do not call those results query clusters.
47
48
 
48
49
  ## Commands Added By Multi-Cluster Mode
49
50
 
50
51
  - `ae-cli analysis +list_query_clusters --project_id <project_id>`
51
- - `ae-cli analysis +query_report_data ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
52
- - `ae-cli analysis +query_dashboard_report_data ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
53
- - `ae-cli analysis +query_adhoc ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
@@ -11,7 +11,7 @@ Domain: **Multi-Cluster Query Routing**
11
11
  - Decide whether a later report/dashboard/ad-hoc query should use the current self cluster, global aggregated data, or one specific slave cluster.
12
12
  - Resolve country, region, game server, service shard, site, market, or deployment area wording to an accessible slave cluster before passing `cluster_query_scope=SLAVE`.
13
13
 
14
- This command is not for audience/user segment clusters. For cohort, audience, or segment assets, use `analysis_audience +list_clusters`.
14
+ This command is not for audience/user segment clusters. For cohort, audience, or segment assets, use `analysis user-cluster list`.
15
15
 
16
16
  ## Commands
17
17
 
@@ -50,18 +50,19 @@ The result data follows the server DTO used by `list_query_clusters`:
50
50
  - Pass `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>` only after this command confirms a requested country, region, server, site, market, or deployment maps to an accessible `slaveClusters[]` item.
51
51
  - Match slave intent only against `slaveClusters[].clusterId`, `slaveClusters[].clusterName`, and `slaveClusters[].clusterDesc`.
52
52
  - If the requested scope is not allowed, do not guess forbidden parameters. Explain `permissions.allowedClusterQueryParams`.
53
- - For `+query_adhoc --model_type sql`, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster.
53
+ - Unified ad-hoc gateway commands (`analysis adhoc run/export`) do not expose `cluster_query_scope`; if a global/slave ad-hoc query is requested, report that the gateway contract does not support it yet instead of using removed ad-hoc commands or hidden flags.
54
+ - For SQL model analysis, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster in the current gateway contract.
54
55
 
55
56
  ## Recommended Chains
56
57
 
57
58
  - Cluster inventory / cluster info -> `analysis +list_query_clusters`
58
- - Query DAU for Japan server -> `analysis +list_query_clusters` -> match JP/Japan slave cluster -> query report/dashboard/ad-hoc with `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>`
59
- - Query all-cluster aggregated DAU -> `analysis +list_query_clusters` -> if `permissions.canQueryGlobal=true`, query with `--cluster_query_scope GLOBAL`
60
- - View audience cohorts or user segments -> `analysis_audience +list_clusters` instead
59
+ - Query DAU for Japan server -> `analysis +list_query_clusters` -> match JP/Japan slave cluster -> use only commands that explicitly expose cluster routing; the current report/dashboard/ad-hoc gateway data commands do not.
60
+ - Query all-cluster aggregated DAU -> `analysis +list_query_clusters` -> if `permissions.canQueryGlobal=true`, use only commands that explicitly expose cluster routing; otherwise stop and report the capability gap.
61
+ - View audience cohorts or user segments -> `analysis user-cluster list` instead
61
62
 
62
63
  ## Response Wording
63
64
 
64
65
  - Use "current query cluster" for `currentCluster`.
65
66
  - Use "accessible slave query clusters" for `slaveClusters`.
66
67
  - Use "allowed query-scope parameters" for `permissions.allowedClusterQueryParams`.
67
- - Do not call `analysis_audience +list_clusters` results query clusters; those are audience clusters or user segments.
68
+ - Do not call `analysis user-cluster list` results query clusters; those are audience clusters or user segments.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: ae-capability
3
- version: 1.2.0
4
- description: "AE/TE capability gateway discovery and generic invocation with ae-cli. Use when the user needs to list or search available capabilities, inspect an unknown capability schema/risk/auth contract, dry-run a capability, or invoke a long-tail capability that has no curated ae-cli command. Always discover and inspect before composing input; never guess capability IDs or input fields."
3
+ version: 1.3.1
4
+ description: "AE/TE capability gateway discovery and generic invocation with ae-cli. Use when the user needs to list or search available capabilities, inspect an unknown capability schema/risk/auth contract, optionally validate complex input or dry-run before execute, or invoke a long-tail capability that has no curated ae-cli command. Always discover and inspect before composing input; never guess capability IDs or input fields. Prefer on-demand validate OR dry-run — do not stack both by default."
5
5
  ---
6
6
 
7
7
  # ae-capability
@@ -13,14 +13,28 @@ Use this skill for progressive capability discovery and generic gateway invocati
13
13
  1. Use a domain skill and its curated command when it directly covers the task.
14
14
  2. Otherwise search the capability catalog.
15
15
  3. Inspect the selected capability before constructing input.
16
- 4. Dry-run with real input when helpful.
17
- 5. Run after dry-run succeeds; obtain chat confirmation only for delete capabilities.
16
+ 4. **Optionally** pre-check — pick **at most one** path from the table below (do not stack validate + dry-run by default).
17
+ 5. Execute (`capability run` / curated command). Chat confirmation only for delete (`high-risk-write`).
18
18
 
19
19
  Never guess a capability ID, input field, enum value, resource ID, or project ID.
20
20
 
21
+ ### On-demand pre-check (pick one)
22
+
23
+ Motto: **validate = fix params; dry-run = confirm ready to run.**
24
+ Hard rule: **for the same final input, do not run both validate and dry-run by default.** `dry-run` already includes parameter validation.
25
+
26
+ | Situation | What to call | Then |
27
+ | --- | --- | --- |
28
+ | Simple / familiar input (typical `read`, few scalar fields) | **Neither** — skip pre-check | `run` directly |
29
+ | Complex `qp` / nested `payload` / share maps; still iterating shape | **`--validate` / `capability validate` only** (may repeat while fixing) | After `valid=true`, **`run` directly** — skip dry-run unless below applies |
30
+ | Need risk / `output_mode` / `supports_cancel`, or `high-risk-write` delete gate | **`--dry-run` / `capability dry-run` only** (once on final input) | Then confirm (delete) / `run`. Do **not** validate first on the same final payload |
31
+ | Rare exception: many validate iterations, then still need delete confirmation | validate while drafting → **one** dry-run on the **final** input | Then chat confirm → `run --yes` |
32
+
33
+ Do **not** treat `validate → dry-run → run` as the normal path. That stack is the rare exception in the last row only.
34
+
21
35
  ## Skill references
22
36
 
23
- Default: **do not** create a standalone skill reference for every new capability. Use `search` → `inspect` → `dry-run` → `run`; catalog `description`, `risk`, and `inspect` `input_schema` are the contract.
37
+ Default: **do not** create a standalone skill reference for every new capability. Use `search` → `inspect` → (**optional** validate *or* dry-run) → `run`; catalog `description`, `risk`, and `inspect` `input_schema` are the contract.
24
38
 
25
39
  Create or keep a standalone reference only when at least one applies: L2 hard bar, easily confused with neighbors, `high-risk-write` delete workflow, or multi-step orchestration. Domain skills may inline one-line summaries in overview matrices (e.g. `analysis_gateway_assets.md`). See [`capability-command-admission` §10](../../docs/capability-command-admission.md).
26
40
 
@@ -36,10 +50,15 @@ ae-cli capability search "<terms>" --domain <domain>
36
50
  # Read input_schema, risk, auth, output, and dry-run support.
37
51
  ae-cli capability inspect <capability-id>
38
52
 
39
- # Validate and preview input without execution.
53
+ # Optional — fix params only (gateway /validate). Curated: global --validate.
54
+ ae-cli capability validate <capability-id> --input '<json-object>'
55
+ ae-cli metadata data-table sql-write --project-id 1 ... --validate
56
+
57
+ # Optional — confirm ready to run (gateway /dry-run). Curated: global --dry-run.
40
58
  ae-cli capability dry-run <capability-id> --input '<json-object>'
59
+ ae-cli metadata data-table sql-write --project-id 1 ... --dry-run
41
60
 
42
- # Execute after inspection (and dry-run when input is non-trivial).
61
+ # Execute (after inspect; add at most one pre-check when needed).
43
62
  ae-cli capability run <capability-id> --input '<json-object>'
44
63
  ```
45
64
 
@@ -50,7 +69,37 @@ ae-cli capability run <capability-id> --input '<json-object>'
50
69
  - `@<path>`.
51
70
  - `-` to read JSON from stdin.
52
71
 
53
- The capability namespace is inferred from `<capability-id>` for `inspect`, `dry-run`, and `run`. Use `--domain <domain>` only to override routing.
72
+ The capability namespace is inferred from `<capability-id>` for `inspect`, `validate`, `dry-run`, and `run`. Use `--domain <domain>` only to override routing.
73
+
74
+ ## validate vs dry-run
75
+
76
+ | | `validate` / `--validate` | `dry-run` / `--dry-run` |
77
+ | --- | --- | --- |
78
+ | Purpose | Check **input shape** while composing complex payloads | **Pre-execution confirmation** (params + risk/output/cancel) |
79
+ | Does it mutate business data? | No | No |
80
+ | Primary success fields | `valid`, `capability_id`, `normalized_input` | `dry_run`, `capability_id`, `risk`, `output_mode`, `supports_cancel`, `normalized_input` |
81
+ | When to prefer | Iterating nested `payload` / `qp` / multi-field JSON | Final input; need risk/output contract or delete gate |
82
+ | Typical failure focus | Missing/invalid fields, type mismatches, bad `qp` structure | Same param errors, plus readiness signals for actual run |
83
+ | Curated commands | Global `--validate` on gateway-backed curated commands | Global `--dry-run` |
84
+
85
+ Server may still authenticate the caller for both endpoints. Neither executes the capability business handler. Do not combine `--validate` and `--dry-run` on one invocation.
86
+
87
+ **Complex input:** prefer **`--validate` only** while assembling `qp` / nested payload; after `valid=true`, go to `run`. Use dry-run instead of validate when you need the risk/output preview or a delete confirmation gate — not both.
88
+
89
+ Example (param risk only — no stacked dry-run):
90
+
91
+ ```bash
92
+ ae-cli metadata data-table sql-write ... --validate # iterate until valid
93
+ ae-cli metadata data-table sql-write ... # execute ordinary write
94
+ ```
95
+
96
+ Example (delete gate — dry-run only on final input):
97
+
98
+ ```bash
99
+ ae-cli capability dry-run analysis.folder.delete --input '...'
100
+ # stop, ask user, then:
101
+ ae-cli capability run analysis.folder.delete --input '...' --yes
102
+ ```
54
103
 
55
104
  ## Risk Levels (aligned with lark-cli)
56
105
 
@@ -64,12 +113,15 @@ Legacy values such as `create`, `update`, or `delete` are normalized to this thr
64
113
 
65
114
  ## Safety
66
115
 
67
- - `list`, `search`, `inspect`, and `dry-run` never execute business mutations.
116
+ - `list`, `search`, `inspect`, `validate`, and `dry-run` never execute business mutations.
117
+ - Curated gateway commands: `--validate` → `/validate`; `--dry-run` → `/dry-run`; do not combine them.
118
+ - Do not stack validate + dry-run on the same final input by default (efficiency).
68
119
  - `capability run` inspects metadata before execution when `--yes` is absent.
69
120
  - Only `high-risk-write` requires chat confirmation before `capability run ... --yes`.
70
- - `read` and `write` may run directly after inspect/dry-run.
121
+ - `read` and ordinary `write` may run after inspect; add validate **or** dry-run only when the on-demand table says so.
71
122
  - Use `--yes` on delete runs only after the user explicitly authorizes execution in chat.
72
- - Global `--dry-run` on `capability run` calls the gateway dry-run endpoint instead of execute.
123
+ - Global `--dry-run` on `capability run` / curated commands calls the gateway dry-run endpoint instead of execute.
124
+ - Global `--validate` on `capability run` / curated commands calls the gateway validate endpoint instead of execute.
73
125
 
74
126
  ## High-Risk Confirmation Workflow (Agent)
75
127
 
@@ -77,13 +129,13 @@ Applies only when `inspect` shows `risk=high-risk-write`.
77
129
 
78
130
  User intent (for example "delete this space") is **not** execution authorization. Do not pass `--yes` just because the user stated the desired action.
79
131
 
80
- 1. Run `capability inspect` and `capability dry-run` with the final input.
132
+ 1. `capability inspect`. For complex delete input only, you may iterate with `validate` while drafting; for the **final** payload use **`dry-run` once** (skip a redundant validate on that same final JSON — dry-run already validates params).
81
133
  2. **Stop in the same turn.** Do not call `capability run` in the same turn as dry-run.
82
134
  3. Summarize in chat: capability ID, `project_id`, key input fields, and `risk=high-risk-write`.
83
135
  4. Ask the user to confirm execution. Prefer `AskUserQuestion` when that tool is available; otherwise ask in plain text and wait for the user's **next message**.
84
136
  5. Only after the user replies with explicit authorization (for example `confirm`, `execute`, or `yes`) run `capability run ... --yes` with the same input as dry-run.
85
137
 
86
- For `risk=write`, run directly after a successful dry-run; no chat confirmation gate.
138
+ For `risk=write`: no chat confirmation gate. Prefer direct `run` after inspect; use `--validate` alone when the payload is complex and you are fixing shape; use `--dry-run` alone only if you need the risk/output preview — **not** validate then dry-run as a habit.
87
139
 
88
140
  Never pass `--yes` on the first delete attempt. CLI terminal `[y/N]` prompts do not work in Agent Bash; chat confirmation is the real gate for `high-risk-write`.
89
141
 
@@ -91,13 +143,14 @@ Never pass `--yes` on the first delete attempt. CLI terminal `[y/N]` prompts do
91
143
 
92
144
  - `list` returns `{ domain, count, capabilities }`.
93
145
  - `search` returns `{ domain, query, count, capabilities }`.
94
- - `inspect`, `dry-run`, and `run` return gateway data in the standard ae-cli envelope.
146
+ - `inspect`, `validate`, `dry-run`, and `run` return gateway data in the standard ae-cli envelope.
95
147
 
96
148
  ## Examples
97
149
 
98
150
  ```bash
99
151
  ae-cli capability search "dashboard list" --domain analysis
100
152
  ae-cli capability inspect analysis.dashboard.list
101
- ae-cli capability dry-run analysis.dashboard.list --input '{"project_id":1}'
153
+ ae-cli capability validate metadata.data_table.sql_write --input input.json
154
+ ae-cli capability dry-run analysis.folder.delete --input '{"project_id":1,"folder_ids":[1001]}'
102
155
  ae-cli capability run analysis.dashboard.list --input input.json
103
156
  ```
@@ -34,11 +34,11 @@ Output and errors:
34
34
 
35
35
  Safety constraints:
36
36
  - Read commands can execute directly after required IDs and references are verified.
37
- - Write commands require explicit user intent and normally keep the confirmation prompt.
37
+ - Ordinary `write` commands require explicit user intent but no CLI confirmation. Only `high-risk-write` commands use the confirmation gate.
38
38
  - Never invent command names, flags, JSON payloads, `project_id`, resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
39
39
  - **NEVER fabricate or guess resource names** (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
40
40
 
41
- **Community** commands use the domain `community` (this skill). Other AE domains include: `analysis` (analysis), `analysis_audience` (audience), `analysis_meta` (metadata), `analysis_common` (common), `operation` (operations).
41
+ **Community** commands use the domain `community` (this skill). Other AE domains include: `analysis` (analysis and audience), `analysis_meta` (metadata), `analysis_common` (common), `operation` (operations).
42
42
 
43
43
  ---
44
44
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ae-data-integration-helper
3
- description: Answers questions about ThinkingData SDK integration and usage, including the LogBus2 data import tool. Trigger words: 怎么接入 / 如何集成 / SDK / 埋点 / 报错 / 使用方式 / API / LogBus / tracking / integration / how to integrate / data import / データ連携 / インテグレーション / 트래킹 / 연동.
3
+ description: "Answers questions about ThinkingData SDK integration and usage, including the LogBus2 data import tool. Trigger words: 怎么接入 / 如何集成 / SDK / 埋点 / 报错 / 使用方式 / API / LogBus / tracking / integration / how to integrate / data import / データ連携 / インテグレーション / 트래킹 / 연동."
4
4
  ---
5
5
 
6
6
  # ae-data-integration-helper
@@ -44,7 +44,7 @@ Output and errors:
44
44
 
45
45
  Safety constraints:
46
46
  - Read commands can execute directly after required IDs and references are verified.
47
- - Write-command examples omit `--yes`; add `--yes` only when the user explicitly wants to skip the confirmation prompt.
47
+ - Ordinary `write` commands execute without `--yes`; use `--yes` only for a `high-risk-write` command after explicit user confirmation.
48
48
  - Never invent command names, flags, JSON payloads, `project_id`, resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
49
49
  - **NEVER fabricate or guess resource names** (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
50
50
 
@@ -26,17 +26,18 @@ Output and errors:
26
26
 
27
27
  Safety constraints:
28
28
  - Read commands can execute directly after required IDs and references are verified.
29
- - Write commands require explicit user intent and normally keep the confirmation prompt.
29
+ - Write commands require explicit user intent. Ordinary `write` commands execute without CLI confirmation; only `high-risk-write` commands use the confirmation gate.
30
30
  - Never invent command names, flags, JSON payloads, `project_id`, resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
31
31
  - **NEVER fabricate or guess resource names** (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
32
32
 
33
33
  ## Overview
34
34
 
35
- The `ae-engage` package provides Hermes Engage MCP capabilities across config items, flows, channel settings, and task data. Commands are invoked through `ae-cli engage <command>`.
35
+ The `ae-engage` package provides Hermes Engage MCP capabilities across config items, flows, channel settings, and task data. Legacy MCP tools use `ae-cli engage +<command>`; new capability-gateway commands use `ae-cli engage-flow|engage-task|engage-setting <resource> <action>`.
36
36
 
37
37
  Typical use cases include:
38
38
 
39
39
  - Querying and managing channels, config channels, approvers, and whitelists
40
+ - Querying project channel touch-limit or fatigue-control rules
40
41
  - Querying task lists, task details, experiment reports, and metric reports
41
42
  - Querying config items and strategies, copying templates, and managing strategy status
42
43
  - Querying flow lists, node schemas, and flow reports, and saving or managing flows
@@ -72,6 +73,9 @@ ae-cli engage +channel_list --project_id 1 --provider_list '["webhook","fcm"]'
72
73
 
73
74
  # Query config channels
74
75
  ae-cli engage +config_channel_list --project_id 1
76
+
77
+ # Query project channel touch-limit rules
78
+ ae-cli engage-setting channel-touch-limits list --project-id <project_id>
75
79
  ```
76
80
 
77
81
  ### 2. task
@@ -117,6 +121,19 @@ ae-cli engage +flow_list --project_id 1
117
121
  # Query flow details
118
122
  ae-cli engage +flow_detail --project_id 1 --flow_uuid flow_uuid_123
119
123
 
124
+ # Query flow operation records and application logs
125
+ ae-cli engage-flow operation-log query --project-id 1 --flow-uuid flow_uuid_123
126
+
127
+ # Query flow versions and task push records
128
+ ae-cli engage-flow version list --project-id 1 --flow-id flow_id_123
129
+ ae-cli engage-task operation-log query --project-id 1 --task-id task_id_123
130
+ ae-cli engage-task push-record query --project-id 1 --task-id task_id_123 --page-num 1 --page-size 20
131
+ ae-cli engage-task segment-list query --project-id 1 --task-id task_id_123
132
+ ae-cli engage-task group list --project-id 1
133
+ ae-cli engage-task metric list --project-id 1 --task-id task_id_123
134
+ ae-cli engage-task channel-ref stats --project-id 1 --channel-id channel_123
135
+ ae-cli engage-task ops delete --project-id 1 --task-id task_id_123 --yes
136
+
120
137
  # Query the node schema
121
138
  ae-cli engage +flow_node_config_schema --node_type message_push
122
139
  ```
@@ -133,10 +150,11 @@ When the user wants to "create a flow / generate a flow canvas / save a flow", d
133
150
  - The touchpoint or delivery method
134
151
  - Whether branching is needed, and the branching conditions
135
152
  2. Do not jump directly from natural language to `--req`. You must first organize a stable intermediate intent structure, then map it to the final `req`.
136
- 3. Before building any condition-related nodes, you must call:
153
+ 3. Before building condition-related nodes, create the reusable audience directly from its semantic definition, then read back the server-authored definition only if the Engage schema explicitly needs QP-derived fields:
137
154
 
138
155
  ```bash
139
- ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
156
+ ae-cli analysis user-cluster create --project-id <projectId> --cluster-name <condition_cluster_name> --display-name <display_name> --definition-request '<semantic-definition-json>'
157
+ ae-cli analysis user-cluster get --project-id <projectId> --cluster-names '["<condition_cluster_name>"]'
140
158
  ```
141
159
 
142
160
  4. Before building touchpoint nodes such as `message_push`, `wechat_push`, or `webhook_push`, you must call:
@@ -167,7 +185,7 @@ ae-cli engage +channel_list --project_id <projectId>
167
185
  ```text
168
186
  User request
169
187
  -> Organize intent
170
- -> analysis_audience +get_cluster_definition_schema --cluster_type condition
188
+ -> analysis user-cluster create/get
171
189
  -> +channel_list --project_id <projectId>
172
190
  -> Build nodes / edges
173
191
  -> Self-check
@@ -196,11 +214,19 @@ ae-cli --dry-run engage +flow_list --project_id 1
196
214
  More detailed single-command guidance is available in the business-oriented `references/` directory:
197
215
 
198
216
  - `references/channel-list.md`
217
+ - `references/channel_touch_limits_list.md` (`engage-setting.channel-touch-limits.list`)
199
218
  - `references/build-task-save-guide.md`
200
219
  - `references/save-task.md`
201
220
  - `references/task-list.md`
202
221
  - `references/config-item-list.md`
203
222
  - `references/flow-list.md`
223
+ - `references/operation-log-query.md` (`engage-flow.operation-log.query`)
224
+ - `references/task-operation-log-query.md` (`engage-task.operation-log.query`)
225
+ - `references/version-list.md` (`engage-flow.version.list`)
226
+ - `references/push-record-query.md` (`engage-task.push-record.query`)
227
+ - `references/segment-list-query.md` (`engage-task.segment-list.query`)
228
+ - `references/group-list.md` (`engage-task.group.list`)
229
+ - `references/ops-delete.md` (`engage-task.ops.delete`)
204
230
 
205
231
  This split documentation structure is easier to extend later, because commands with more complex object inputs can stay centralized in the `references/` root directory.
206
232
 
@@ -208,11 +234,13 @@ This split documentation structure is easier to extend later, because commands w
208
234
 
209
235
  ### setting
210
236
 
211
- `+channel_list`, `+channel_detail`, `+update_channel_status`, `+delete_channel`, `+add_channel`, `+whitelist_list`, `+add_approver`, `+approver_list`, `+cancel_query_by_request_id`, `+config_channel_detail`, `+config_channel_list`, `+delete_config_channel`, `+update_config_channel_status`
237
+ `channel-touch-limits list` (via `engage-setting`), `+channel_list`, `+channel_detail`, `+update_channel_status`, `+delete_channel`, `+add_channel`, `+whitelist_list`, `+add_approver`, `+approver_list`, `+cancel_query_by_request_id`, `+config_channel_detail`, `+config_channel_list`, `+delete_config_channel`, `+update_config_channel_status`
212
238
 
213
239
  ### task
214
240
 
215
- `+task_data_overview`, `+task_data_detail`, `+task_metric_detail`, `+task_experiment_report`, `+task_detail`, `+task_list`, `+task_stats`, `+build_task_save_guide`, `+save_task`, `+manage_task`
241
+ `operation-log query` / `push-record query` / `segment-list query|get|rename` / `ops delete|modify-group` / `metric list|update` / `channel-ref stats` / `group list|create|update` (via `engage-task`), `+task_data_overview`, `+task_data_detail`, `+task_metric_detail`, `+task_experiment_report`, `+task_detail`, `+task_list`, `+task_stats`, `+build_task_save_guide`, `+save_task`, `+manage_task`
242
+
243
+ > Temporarily disabled engage-task commands (do not use): `group delete`, `segment-list set-visibility`, `ops submit-approval`, `race release`.
216
244
 
217
245
  ### config
218
246
 
@@ -220,7 +248,7 @@ This split documentation structure is easier to extend later, because commands w
220
248
 
221
249
  ### flow
222
250
 
223
- `+save_flow`, `+flow_node_config_schema`, `+flow_detail`, `+flow_list`, `+flow_node_overview_report`, `+manage_flow`, `+flow_ab_split_node_report`, `+flow_process_report`, `+validate_flow_node_config`, `+flow_node_detail_report`, `+delete_flow`, `+modify_flow_base_info`
251
+ `operation-log query` / `version list` (via `engage-flow`), `+save_flow`, `+flow_node_config_schema`, `+flow_detail`, `+flow_list`, `+flow_node_overview_report`, `+manage_flow`, `+flow_ab_split_node_report`, `+flow_process_report`, `+validate_flow_node_config`, `+flow_node_detail_report`, `+delete_flow`, `+modify_flow_base_info`
224
252
 
225
253
  ## Date Format
226
254
 
@@ -239,11 +267,11 @@ For task draft creation or update, use this workflow:
239
267
 
240
268
  1. `ae-cli engage +channel_list --project_id <projectId>`
241
269
  2. `ae-cli engage +build_task_save_guide --project_id <projectId> --req '{...}'`
242
- 3. If the guide says QP-derived fields are needed, call `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition`
270
+ 3. If the guide says QP-derived fields are needed, create the audience with `analysis user-cluster create`, then read its server-authored definition with `analysis user-cluster get`
243
271
  4. `ae-cli engage +save_task --project_id <projectId> --req '{...}'`
244
272
 
245
273
  `+build_task_save_guide` is a read-only helper. It returns scenario-specific required fields, channel content schema, unsupported combinations, examples, and a handoff template for `save_task`.
246
274
 
247
275
  `+save_task` only saves a draft. It does not submit approval, does not start sending, and does not trigger task execution. If `req.taskId` is omitted it creates a new draft; if `req.taskId` is present it updates an existing draft. Update mode only supports draft tasks, and omitted fields can inherit from the existing draft before validation.
248
276
 
249
- The audience schema query `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition` is not a fixed preflight step. Call it only when the guide indicates that you must construct `targetConfig.qp`, `triggerConfig.triggerRule`, `clientConfig.clientQp`, or `completionIndicatorDef.event`.
277
+ Audience creation is not a fixed preflight step. Use direct `analysis user-cluster create` only when the guide requires a condition audience, and prefer the returned `cluster_name`/`clusterKey`. If the Engage schema explicitly requires QP-derived fields such as `targetConfig.qp`, `triggerConfig.triggerRule`, `clientConfig.clientQp`, or `completionIndicatorDef.event`, read the saved server-authored definition with `analysis user-cluster get`; never assemble raw QP manually.
@@ -14,10 +14,11 @@ Use this sequence when creating or updating a task draft:
14
14
 
15
15
  1. Query channels with `ae-cli engage +channel_list --project_id <projectId>`.
16
16
  2. Call `ae-cli engage +build_task_save_guide --project_id <projectId> --req '{...}'`.
17
- 3. If the guide says QP-derived fields are required, call:
17
+ 3. If the guide says an audience or QP-derived fields are required, create the audience directly and read it back:
18
18
 
19
19
  ```bash
20
- ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
20
+ ae-cli analysis user-cluster create --project-id <projectId> --cluster-name <condition_cluster_name> --display-name <display_name> --definition-request '<semantic-definition-json>'
21
+ ae-cli analysis user-cluster get --project-id <projectId> --cluster-names '["<condition_cluster_name>"]'
21
22
  ```
22
23
 
23
24
  4. Build the final grouped `save_task.req`.
@@ -25,8 +26,8 @@ ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
25
26
 
26
27
  Important:
27
28
 
28
- - Do not treat the audience schema query as a fixed preflight step.
29
- - Call it only when the guide indicates that you need to construct:
29
+ - Do not treat audience creation as a fixed preflight step.
30
+ - Create/read the audience only when the guide indicates that you need to construct:
30
31
  - `targetConfig.qp`
31
32
  - `triggerConfig.triggerRule`
32
33
  - `clientConfig.clientQp`
@@ -175,7 +176,7 @@ This section describes the high-level contract:
175
176
 
176
177
  - final tool is `save_task`
177
178
  - required preflight is `query_channel_list -> build_task_save_guide`
178
- - QP-derived fields may require `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition`
179
+ - QP-derived fields require a server-authored audience: direct `analysis user-cluster create`, followed by `analysis user-cluster get`
179
180
  - `save_task.req` must be a grouped JSON object
180
181
 
181
182
  ### 4.6 `scenario`
@@ -263,13 +264,14 @@ Recommended usage pattern:
263
264
  3. read `fieldRules.channelContentSchema`
264
265
  4. read `handoff.reqTemplate`
265
266
  5. fix everything in `blockingPlaceholders`
266
- 6. if the guide points to QP-derived fields, call:
267
+ 6. if the guide points to an audience or QP-derived fields, call:
267
268
 
268
269
  ```bash
269
- ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
270
+ ae-cli analysis user-cluster create --project-id <projectId> --cluster-name <condition_cluster_name> --display-name <display_name> --definition-request '<semantic-definition-json>'
271
+ ae-cli analysis user-cluster get --project-id <projectId> --cluster-names '["<condition_cluster_name>"]'
270
272
  ```
271
273
 
272
- 7. fill those fields using the real condition schema
274
+ 7. prefer the created cluster reference; only copy server-authored fields from `user-cluster get` when the guide explicitly requires QP-derived fields
273
275
  8. call `+save_task`
274
276
 
275
277
  ---
@@ -278,6 +280,6 @@ ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
278
280
 
279
281
  - `+build_task_save_guide` is read-only; it does not save a draft
280
282
  - do not skip the guide and build `save_task.req` from memory alone
281
- - do not treat the audience schema query as mandatory for every task
283
+ - do not treat the semantic cluster definition builder as mandatory for every task
282
284
  - do not invent `channelId`, `clusterKey`, content keys, or QP structures
283
285
  - if the guide exposes an unsupported scenario, correct it before calling `save_task`
@@ -0,0 +1,29 @@
1
+ # engage-setting channel-touch-limits list
2
+
3
+ > Capability id: `engage-setting.channel-touch-limits.list` · Domain: `engage`.
4
+
5
+ ## Command
6
+
7
+ ```bash
8
+ ae-cli engage-setting channel-touch-limits list --project-id <project_id>
9
+ ae-cli engage-setting channel-touch-limits list --project-id <project_id> --dry-run
10
+ ```
11
+
12
+ ## Parameters
13
+
14
+ | Parameter | Required | Description |
15
+ |---|---|---|
16
+ | `--project-id` / `-p` | Yes | Numeric project ID. |
17
+
18
+ ## Output
19
+
20
+ - `data.items`: complete touch-limit rule list for the project.
21
+ - `data.total`: number of returned rules.
22
+ - Each item can contain `project_id`, `rule_id`, `channel_biz_type`, `enable`, `rule_def`, `channel_name`, `channel_type`, and `channel_list`.
23
+ - Each `channel_list` item contains `channel_id` and `channel_name`.
24
+
25
+ ## Decision Rules
26
+
27
+ - Use this command when the user asks for project channel touch-limit, delivery-cap, or fatigue-control rules.
28
+ - Use `+channel_list` to list channels and `+channel_detail` to inspect one channel; neither returns the project touch-limit rule list.
29
+ - If `items` is empty, do not invent rule IDs or channel IDs; report that no touch-limit rules were returned for the project.
@@ -0,0 +1,13 @@
1
+ # engage-task group list
2
+
3
+ List task groups in a project.
4
+
5
+ > Capability id: `engage-task.group.list` · Domain: `engage`.
6
+
7
+ ```bash
8
+ ae-cli engage-task group list --project-id <project-id>
9
+ ```
10
+
11
+ ## Parameters
12
+
13
+ - `--project-id` / `-p`: Numeric project ID.
@@ -0,0 +1,11 @@
1
+ # engage-flow operation-log query
2
+
3
+ Use this command to query aggregated operation records and application logs for a flow canvas.
4
+
5
+ > Capability id: `engage-flow.operation-log.query` · Domain: `engage`.
6
+
7
+ ```bash
8
+ ae-cli engage-flow operation-log query --project-id <project-id> --flow-uuid <flow-uuid>
9
+ ```
10
+
11
+ The result contains `operation_record_list` and `app_log_list`, grouped by flow version.
@@ -0,0 +1,14 @@
1
+ # engage-task ops delete
2
+
3
+ Delete an engagement task. High-risk write; requires `--yes` to skip confirmation.
4
+
5
+ > Capability id: `engage-task.ops.delete` · Domain: `engage`.
6
+
7
+ ```bash
8
+ ae-cli engage-task ops delete --project-id <project-id> --task-id <task-id> --yes
9
+ ```
10
+
11
+ ## Parameters
12
+
13
+ - `--project-id` / `-p`: Numeric project ID.
14
+ - `--task-id`: Engagement task ID.
@@ -0,0 +1,26 @@
1
+ # engage-task push-record query
2
+
3
+ Query delivery and push records for an engagement task. Hermes automatically selects scheduled, user-time-zone, or triggered record data based on the task configuration.
4
+
5
+ > Capability id: `engage-task.push-record.query` · Domain: `engage`.
6
+
7
+ ```bash
8
+ ae-cli engage-task push-record query \
9
+ --project-id <project-id> \
10
+ --task-id <task-id> \
11
+ --page-num 1 \
12
+ --page-size 20
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ - `--project-id`, `-p`: Numeric project ID.
18
+ - `--task-id`: Engagement task ID.
19
+ - `--page-num`: Optional page number for scheduled tasks. Defaults to `1`.
20
+ - `--page-size`: Optional page size for scheduled tasks. Defaults to `20`.
21
+ - `--start-date`: Optional start date in `yyyy-MM-dd` format. Must not be after `--end-date`.
22
+ - `--end-date`: Optional end date in `yyyy-MM-dd` format. Must not be before `--start-date`.
23
+
24
+ ## Output
25
+
26
+ Returns `record_type`, `items`, `total`, and pagination metadata when the selected backend record type is paginated. Records include available trigger, planned-send, actual-send, success, channel-exception, status, and failure-reason fields.
@@ -33,7 +33,7 @@ You still organize user requirements into an intermediate intent first, then map
33
33
  ## 2. Workflow
34
34
 
35
35
  1. Identify the flow intent from the user input and produce a unified intent JSON.
36
- 2. Run `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition` to obtain the condition cluster definition schema for assembling condition-related fields later.
36
+ 2. Build a semantic condition request from `ae-analysis/references/user_cluster_models.md`, create the audience directly with `analysis user-cluster create`, and prefer its `cluster_name`/`clusterKey`. Read the saved server-authored definition with `analysis user-cluster get` only when an Engage node schema explicitly requires QP-derived fields; never assemble raw QP.
37
37
  3. Run `ae-cli engage +channel_list --project_id <projectId>` to get the available channels and match real `channelId` values for touchpoint nodes. For `webhook_push`, also run `ae-cli engage +channel_detail` and use `data.config.paramsList` to build `contentList`.
38
38
  4. Query `ae-cli engage +flow_node_config_schema --node_type <type>` before constructing each non-trivial node config, then run `ae-cli engage +validate_flow_node_config --node_type <type> --operation_mode save_flow --config '<config-json-string>'` before placing the config into `nodes` or `nodeConfigs`.
39
39
  5. Map the intent JSON to `nodes` and `edges` (compact form, see §7 / §8).
@@ -167,13 +167,14 @@ Organize the user requirement into an intermediate intent JSON (not the final `r
167
167
 
168
168
  ## 5. Step Two: Required CLI Queries
169
169
 
170
- ### 5.1 Cluster Definition Schema
170
+ ### 5.1 Semantic Audience
171
171
 
172
172
  ```bash
173
- ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
173
+ ae-cli analysis user-cluster create --project-id <projectId> --cluster-name <condition_cluster_name> --display-name <display_name> --definition-request '<semantic-definition-json>'
174
+ ae-cli analysis user-cluster get --project-id <projectId> --cluster-names '["<condition_cluster_name>"]'
174
175
  ```
175
176
 
176
- Provides the basis for `targetClusterQp` and `triggerRule.events`.
177
+ Prefer the created cluster reference. Only when the node schema requires `targetClusterQp` or `triggerRule.events`, copy the corresponding server-authored fields returned by `user-cluster get`.
177
178
 
178
179
  ### 5.2 Project Channels
179
180