@thinkingai/ae-cli 6.0.30 → 6.0.32

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 (476) hide show
  1. package/README.md +8 -9
  2. package/README.zh.md +8 -9
  3. package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
  4. package/dist/{capability-KVA55RMK.js → capability-QW4AVJHI.js} +49 -10
  5. package/dist/{capability-LKHLZQPD.js → capability-SCRFGODD.js} +49 -10
  6. package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
  7. package/dist/chunk-7OLGDQQ2.js +71 -0
  8. package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
  9. package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
  10. package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
  11. package/dist/{chunk-CWZUGF2J.js → chunk-PTE56QPL.js} +15 -0
  12. package/dist/chunk-TBHBYKXZ.js +71 -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 +182 -63
  16. package/dist/{metadata-6CCFV4K5.js → metadata-BFDL6RUK.js} +6 -43
  17. package/dist/{metadata-PDOIWH5O.js → metadata-FCLDBXX2.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-PUVF5IF4.js +5736 -0
  22. package/dist/te-analysis-UJDOKPAN.js +5736 -0
  23. package/dist/te-common-VUX3VOXZ.js +60 -0
  24. package/dist/te-common-XLAGWNIV.js +60 -0
  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-K4AEUPK5.js +3894 -0
  30. package/dist/te-engage-QBCCME22.js +3894 -0
  31. package/dist/{te-kb-NT33UHAE.js → te-kb-AYCODNU6.js} +56 -17
  32. package/dist/{te-meta-PKT27OTN.js → te-meta-ARDIW3YI.js} +4 -237
  33. package/dist/{te-meta-FADFLTDM.js → te-meta-UUROEODR.js} +4 -237
  34. package/dist/{te-team-RG75PR5D.js → te-team-OKCOX7OE.js} +5 -5
  35. package/package.json +15 -7
  36. package/skills/ae-agent/SKILL.md +6 -8
  37. package/skills/ae-agent/references/accept-skill-share.md +2 -2
  38. package/skills/ae-agent/references/add-attachment.md +3 -3
  39. package/skills/ae-agent/references/add-mcp.md +2 -3
  40. package/skills/ae-agent/references/add-model.md +3 -5
  41. package/skills/ae-agent/references/add-skill.md +2 -3
  42. package/skills/ae-agent/references/approve-skill.md +2 -2
  43. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +3 -3
  44. package/skills/ae-agent/references/cancel-skill-submission.md +2 -2
  45. package/skills/ae-agent/references/copy-skill.md +3 -3
  46. package/skills/ae-agent/references/create-agent.md +3 -4
  47. package/skills/ae-agent/references/create-automation.md +5 -9
  48. package/skills/ae-agent/references/del-agent.md +3 -2
  49. package/skills/ae-agent/references/del-attachment.md +3 -2
  50. package/skills/ae-agent/references/del-mcp.md +3 -2
  51. package/skills/ae-agent/references/del-model.md +3 -2
  52. package/skills/ae-agent/references/del-skill-asset.md +3 -3
  53. package/skills/ae-agent/references/del-skill-reference.md +3 -3
  54. package/skills/ae-agent/references/del-skill-script.md +3 -3
  55. package/skills/ae-agent/references/del-skill.md +3 -2
  56. package/skills/ae-agent/references/edit-skill.md +4 -4
  57. package/skills/ae-agent/references/mcp-auth-disconnect.md +2 -2
  58. package/skills/ae-agent/references/mcp-auth-start.md +3 -3
  59. package/skills/ae-agent/references/reject-skill-share.md +2 -2
  60. package/skills/ae-agent/references/reject-skill.md +2 -2
  61. package/skills/ae-agent/references/rescan-skills.md +2 -2
  62. package/skills/ae-agent/references/set-mcp-credential.md +3 -3
  63. package/skills/ae-agent/references/set-mcp-meta.md +2 -2
  64. package/skills/ae-agent/references/set-skill-meta.md +2 -2
  65. package/skills/ae-agent/references/share-skill.md +3 -3
  66. package/skills/ae-agent/references/submit-skill.md +3 -3
  67. package/skills/ae-agent/references/toggle-mcp.md +3 -3
  68. package/skills/ae-agent/references/toggle-model.md +3 -3
  69. package/skills/ae-agent/references/toggle-skill.md +3 -3
  70. package/skills/ae-agent/references/update-agent.md +2 -2
  71. package/skills/ae-agent/references/update-automation.md +6 -8
  72. package/skills/ae-agent/references/update-mcp.md +4 -4
  73. package/skills/ae-agent/references/update-model.md +2 -3
  74. package/skills/ae-agent/references/upload-skill-asset.md +3 -3
  75. package/skills/ae-agent/references/upload-skill-reference.md +3 -3
  76. package/skills/ae-agent/references/upload-skill-script.md +3 -3
  77. package/skills/ae-agent/references/upload-skill.md +6 -7
  78. package/skills/ae-analysis/SKILL.md +108 -512
  79. package/skills/ae-analysis/references/adhoc_export.md +68 -0
  80. package/skills/ae-analysis/references/adhoc_run.md +54 -0
  81. package/skills/ae-analysis/references/ai_models.md +475 -0
  82. package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
  83. package/skills/ae-analysis/references/analysis_drilldown_contract.md +93 -0
  84. package/skills/ae-analysis/references/analysis_gateway_assets.md +73 -12
  85. package/skills/ae-analysis/references/analysis_interpretation.md +38 -0
  86. package/skills/ae-analysis/references/artifact_download.md +13 -7
  87. package/skills/ae-analysis/references/asset_abnormal_get.md +5 -5
  88. package/skills/ae-analysis/references/asset_abnormal_list.md +5 -5
  89. package/skills/ae-analysis/references/asset_authentication_list.md +5 -5
  90. package/skills/ae-analysis/references/asset_authentication_update.md +6 -6
  91. package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +26 -0
  92. package/skills/ae-analysis/references/asset_batch_delete.md +26 -0
  93. package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +26 -0
  94. package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +26 -0
  95. package/skills/ae-analysis/references/asset_batch_handover.md +26 -0
  96. package/skills/ae-analysis/references/asset_batch_info_export.md +25 -0
  97. package/skills/ae-analysis/references/asset_batch_sql_export.md +25 -0
  98. package/skills/ae-analysis/references/asset_dependency_list.md +30 -0
  99. package/skills/ae-analysis/references/asset_export.md +30 -0
  100. package/skills/ae-analysis/references/asset_impact_list.md +30 -0
  101. package/skills/ae-analysis/references/asset_lineage_get.md +25 -0
  102. package/skills/ae-analysis/references/asset_list.md +30 -0
  103. package/skills/ae-analysis/references/asset_query_history_list.md +30 -0
  104. package/skills/ae-analysis/references/asset_recent_list.md +4 -4
  105. package/skills/ae-analysis/references/asset_search.md +4 -4
  106. package/skills/ae-analysis/references/asset_url_get.md +29 -0
  107. package/skills/ae-analysis/references/audience_models.md +42 -0
  108. package/skills/ae-analysis/references/batch_create_metadata.md +5 -1
  109. package/skills/ae-analysis/references/batch_edit_metadata.md +4 -1
  110. package/skills/ae-analysis/references/bi_panel_copy.md +1 -1
  111. package/skills/ae-analysis/references/bi_panel_create.md +1 -1
  112. package/skills/ae-analysis/references/bi_panel_delete.md +2 -0
  113. package/skills/ae-analysis/references/bi_panel_list.md +4 -2
  114. package/skills/ae-analysis/references/bi_panel_page_data_export.md +8 -4
  115. package/skills/ae-analysis/references/bi_panel_page_data_run.md +7 -3
  116. package/skills/ae-analysis/references/bi_panel_share.md +1 -1
  117. package/skills/ae-analysis/references/bi_panel_update.md +1 -1
  118. package/skills/ae-analysis/references/bi_panel_version_publish.md +1 -1
  119. package/skills/ae-analysis/references/cancel_query.md +4 -4
  120. package/skills/ae-analysis/references/command_index.md +243 -0
  121. package/skills/ae-analysis/references/create_alert.md +1 -1
  122. package/skills/ae-analysis/references/create_entity.md +3 -3
  123. package/skills/ae-analysis/references/create_project_mark_time.md +2 -1
  124. package/skills/ae-analysis/references/dashboard_copy.md +1 -1
  125. package/skills/ae-analysis/references/dashboard_create.md +1 -1
  126. package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -1
  127. package/skills/ae-analysis/references/dashboard_daily_report_update.md +1 -1
  128. package/skills/ae-analysis/references/dashboard_definition_import.md +1 -1
  129. package/skills/ae-analysis/references/dashboard_delete.md +2 -0
  130. package/skills/ae-analysis/references/dashboard_freeze.md +1 -1
  131. package/skills/ae-analysis/references/dashboard_handover.md +1 -1
  132. package/skills/ae-analysis/references/dashboard_list.md +4 -2
  133. package/skills/ae-analysis/references/dashboard_report_add.md +15 -0
  134. package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -7
  135. package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -7
  136. package/skills/ae-analysis/references/dashboard_share.md +11 -2
  137. package/skills/ae-analysis/references/dashboard_update.md +12 -3
  138. package/skills/ae-analysis/references/datatable_columns_get.md +2 -2
  139. package/skills/ae-analysis/references/datatable_influence_list.md +2 -2
  140. package/skills/ae-analysis/references/datatable_version_get.md +2 -2
  141. package/skills/ae-analysis/references/datatable_version_list.md +2 -2
  142. package/skills/ae-analysis/references/delete_alert.md +8 -3
  143. package/skills/ae-analysis/references/delete_project_mark_times.md +5 -3
  144. package/skills/ae-analysis/references/delete_track_items.md +4 -3
  145. package/skills/ae-analysis/references/drilldown_entities_export.md +26 -0
  146. package/skills/ae-analysis/references/drilldown_entities_run.md +33 -0
  147. package/skills/ae-analysis/references/drilldown_events_export.md +21 -0
  148. package/skills/ae-analysis/references/drilldown_events_run.md +23 -0
  149. package/skills/ae-analysis/references/drilldown_user_events_export.md +23 -0
  150. package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
  151. package/skills/ae-analysis/references/entity_detail_export.md +33 -0
  152. package/skills/ae-analysis/references/entity_detail_run.md +57 -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 +33 -0
  158. package/skills/ae-analysis/references/event_detail_run.md +60 -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 +12 -4
  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_project_config.md +1 -0
  181. package/skills/ae-analysis/references/get_track_program.md +3 -0
  182. package/skills/ae-analysis/references/history_tag_batch_refresh.md +19 -0
  183. package/skills/ae-analysis/references/history_tag_clear.md +13 -0
  184. package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +15 -0
  185. package/skills/ae-analysis/references/history_tag_data_drilldown_run.md +13 -0
  186. package/skills/ae-analysis/references/history_tag_data_export.md +15 -0
  187. package/skills/ae-analysis/references/history_tag_data_run.md +15 -0
  188. package/skills/ae-analysis/references/history_tag_list.md +11 -0
  189. package/skills/ae-analysis/references/history_tag_refresh.md +11 -0
  190. package/skills/ae-analysis/references/input_file_inspect.md +9 -0
  191. package/skills/ae-analysis/references/input_file_purpose_list.md +9 -0
  192. package/skills/ae-analysis/references/input_file_upload.md +11 -0
  193. package/skills/ae-analysis/references/list_alerts.md +3 -2
  194. package/skills/ae-analysis/references/list_entities.md +4 -3
  195. package/skills/ae-analysis/references/list_project_mark_times.md +2 -1
  196. package/skills/ae-analysis/references/list_project_users.md +1 -0
  197. package/skills/ae-analysis/references/load_filters.md +3 -0
  198. package/skills/ae-analysis/references/metric_create.md +20 -6
  199. package/skills/ae-analysis/references/metric_delete.md +12 -4
  200. package/skills/ae-analysis/references/metric_get.md +8 -2
  201. package/skills/ae-analysis/references/metric_list.md +17 -4
  202. package/skills/ae-analysis/references/metric_update.md +23 -6
  203. package/skills/ae-analysis/references/operation_record_export.md +25 -0
  204. package/skills/ae-analysis/references/operation_record_list.md +31 -0
  205. package/skills/ae-analysis/references/project_access_detail_get.md +23 -0
  206. package/skills/ae-analysis/references/project_data_power_delete.md +26 -0
  207. package/skills/ae-analysis/references/project_data_power_get.md +24 -0
  208. package/skills/ae-analysis/references/project_data_power_list.md +23 -0
  209. package/skills/ae-analysis/references/project_data_power_upsert.md +24 -0
  210. package/skills/ae-analysis/references/project_entity_create.md +27 -0
  211. package/skills/ae-analysis/references/project_entity_delete.md +25 -0
  212. package/skills/ae-analysis/references/project_entity_event_list.md +24 -0
  213. package/skills/ae-analysis/references/project_entity_get.md +24 -0
  214. package/skills/ae-analysis/references/project_entity_list.md +28 -0
  215. package/skills/ae-analysis/references/project_entity_update.md +28 -0
  216. package/skills/ae-analysis/references/project_function_list.md +24 -0
  217. package/skills/ae-analysis/references/project_info_get.md +23 -0
  218. package/skills/ae-analysis/references/project_info_list.md +26 -0
  219. package/skills/ae-analysis/references/project_info_update.md +25 -0
  220. package/skills/ae-analysis/references/project_mark_time_create.md +27 -0
  221. package/skills/ae-analysis/references/project_mark_time_delete.md +25 -0
  222. package/skills/ae-analysis/references/project_mark_time_list.md +28 -0
  223. package/skills/ae-analysis/references/project_mark_time_update.md +28 -0
  224. package/skills/ae-analysis/references/project_member_add.md +25 -0
  225. package/skills/ae-analysis/references/project_member_batch_update.md +24 -0
  226. package/skills/ae-analysis/references/project_member_candidate_list.md +25 -0
  227. package/skills/ae-analysis/references/project_member_handover_export.md +27 -0
  228. package/skills/ae-analysis/references/project_member_handover_run.md +24 -0
  229. package/skills/ae-analysis/references/project_member_import.md +25 -0
  230. package/skills/ae-analysis/references/project_member_list.md +23 -0
  231. package/skills/ae-analysis/references/project_member_receiver_list.md +23 -0
  232. package/skills/ae-analysis/references/project_member_remove.md +26 -0
  233. package/skills/ae-analysis/references/project_member_update.md +25 -0
  234. package/skills/ae-analysis/references/project_owner_update.md +27 -0
  235. package/skills/ae-analysis/references/project_permission_binding_list.md +24 -0
  236. package/skills/ae-analysis/references/project_receive_status_update.md +25 -0
  237. package/skills/ae-analysis/references/project_role_delete.md +25 -0
  238. package/skills/ae-analysis/references/project_role_function_list.md +27 -0
  239. package/skills/ae-analysis/references/project_role_get.md +23 -0
  240. package/skills/ae-analysis/references/project_role_list.md +25 -0
  241. package/skills/ae-analysis/references/project_role_upsert.md +24 -0
  242. package/skills/ae-analysis/references/project_role_user_list.md +23 -0
  243. package/skills/ae-analysis/references/project_space_create.md +2 -3
  244. package/skills/ae-analysis/references/project_space_list.md +3 -1
  245. package/skills/ae-analysis/references/project_space_share.md +2 -3
  246. package/skills/ae-analysis/references/project_timezone_get.md +23 -0
  247. package/skills/ae-analysis/references/project_timezone_overview.md +23 -0
  248. package/skills/ae-analysis/references/project_timezone_update.md +25 -0
  249. package/skills/ae-analysis/references/project_user_id_items_update.md +24 -0
  250. package/skills/ae-analysis/references/property_changelog_list.md +2 -2
  251. package/skills/ae-analysis/references/property_create.md +4 -4
  252. package/skills/ae-analysis/references/property_delete.md +5 -4
  253. package/skills/ae-analysis/references/property_get.md +2 -2
  254. package/skills/ae-analysis/references/property_hide_update.md +3 -3
  255. package/skills/ae-analysis/references/property_influence_list.md +2 -2
  256. package/skills/ae-analysis/references/property_list.md +21 -6
  257. package/skills/ae-analysis/references/property_related_events.md +2 -2
  258. package/skills/ae-analysis/references/property_relation_update.md +4 -4
  259. package/skills/ae-analysis/references/property_update.md +2 -2
  260. package/skills/ae-analysis/references/public_link_create.md +2 -2
  261. package/skills/ae-analysis/references/public_link_delete.md +2 -0
  262. package/skills/ae-analysis/references/public_link_list.md +3 -1
  263. package/skills/ae-analysis/references/public_link_offline.md +1 -1
  264. package/skills/ae-analysis/references/public_link_update.md +1 -1
  265. package/skills/ae-analysis/references/query_cancel.md +1 -1
  266. package/skills/ae-analysis/references/query_create_result_cluster.md +29 -0
  267. package/skills/ae-analysis/references/report_abnormal_get.md +15 -0
  268. package/skills/ae-analysis/references/report_change_log_get.md +15 -0
  269. package/skills/ae-analysis/references/report_change_log_list.md +15 -0
  270. package/skills/ae-analysis/references/report_create.md +29 -0
  271. package/skills/ae-analysis/references/report_data_export.md +37 -0
  272. package/skills/ae-analysis/references/report_data_run.md +45 -0
  273. package/skills/ae-analysis/references/report_delete.md +17 -0
  274. package/skills/ae-analysis/references/report_get.md +23 -0
  275. package/skills/ae-analysis/references/report_list.md +17 -0
  276. package/skills/ae-analysis/references/report_list_export.md +15 -0
  277. package/skills/ae-analysis/references/report_update.md +22 -0
  278. package/skills/ae-analysis/references/report_version_rollback.md +15 -0
  279. package/skills/ae-analysis/references/rule_create.md +27 -0
  280. package/skills/ae-analysis/references/rule_delete.md +26 -0
  281. package/skills/ae-analysis/references/rule_list.md +24 -0
  282. package/skills/ae-analysis/references/rule_schema.md +24 -0
  283. package/skills/ae-analysis/references/rule_update.md +28 -0
  284. package/skills/ae-analysis/references/run_inspect.md +10 -4
  285. package/skills/ae-analysis/references/save_track_items.md +4 -1
  286. package/skills/ae-analysis/references/sql_table_columns.md +20 -0
  287. package/skills/ae-analysis/references/sql_table_list.md +33 -0
  288. package/skills/ae-analysis/references/update_alert.md +1 -1
  289. package/skills/ae-analysis/references/update_project_mark_time.md +4 -3
  290. package/skills/ae-analysis/references/user_cluster_create.md +17 -0
  291. package/skills/ae-analysis/references/user_cluster_create_id.md +15 -0
  292. package/skills/ae-analysis/references/user_cluster_delete.md +13 -0
  293. package/skills/ae-analysis/references/user_cluster_get.md +15 -0
  294. package/skills/ae-analysis/references/user_cluster_list.md +15 -0
  295. package/skills/ae-analysis/references/user_cluster_member_export.md +15 -0
  296. package/skills/ae-analysis/references/user_cluster_member_list.md +19 -0
  297. package/skills/ae-analysis/references/user_cluster_models.md +87 -0
  298. package/skills/ae-analysis/references/user_cluster_refresh.md +13 -0
  299. package/skills/ae-analysis/references/user_cluster_update.md +15 -0
  300. package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
  301. package/skills/ae-analysis/references/user_tag_create.md +17 -0
  302. package/skills/ae-analysis/references/user_tag_create_id.md +15 -0
  303. package/skills/ae-analysis/references/user_tag_delete.md +13 -0
  304. package/skills/ae-analysis/references/user_tag_get.md +15 -0
  305. package/skills/ae-analysis/references/user_tag_list.md +17 -0
  306. package/skills/ae-analysis/references/user_tag_member_export.md +15 -0
  307. package/skills/ae-analysis/references/user_tag_member_list.md +19 -0
  308. package/skills/ae-analysis/references/user_tag_models.md +54 -0
  309. package/skills/ae-analysis/references/user_tag_refresh.md +13 -0
  310. package/skills/ae-analysis/references/user_tag_update.md +15 -0
  311. package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
  312. package/skills/ae-analysis/references/virtual_event_create.md +24 -5
  313. package/skills/ae-analysis/references/virtual_event_delete.md +5 -4
  314. package/skills/ae-analysis/references/virtual_event_get.md +2 -2
  315. package/skills/ae-analysis/references/virtual_property_create.md +34 -6
  316. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +5 -4
  317. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +13 -6
  318. package/skills/ae-analysis-global/SKILL.md +6 -8
  319. package/skills/ae-analysis-global/references/list_query_clusters.md +7 -6
  320. package/skills/ae-capability/SKILL.md +68 -15
  321. package/skills/ae-community/SKILL.md +2 -2
  322. package/skills/ae-dataops/SKILL.md +1 -1
  323. package/skills/ae-engage/SKILL.md +233 -10
  324. package/skills/ae-engage/references/activity-activity-type.md +42 -0
  325. package/skills/ae-engage/references/activity-activity.md +70 -0
  326. package/skills/ae-engage/references/activity-approval.md +53 -0
  327. package/skills/ae-engage/references/activity-task.md +87 -0
  328. package/skills/ae-engage/references/activity-topic.md +98 -0
  329. package/skills/ae-engage/references/approval-approver-delete.md +26 -0
  330. package/skills/ae-engage/references/build-task-save-guide.md +11 -9
  331. package/skills/ae-engage/references/channel-test-send.md +37 -0
  332. package/skills/ae-engage/references/channel-touch-limits-batch-update.md +28 -0
  333. package/skills/ae-engage/references/channel-touch-limits-save.md +37 -0
  334. package/skills/ae-engage/references/channel-touch-limits-toggle.md +28 -0
  335. package/skills/ae-engage/references/channel-update-config.md +36 -0
  336. package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
  337. package/skills/ae-engage/references/client-param.md +58 -0
  338. package/skills/ae-engage/references/common-metric.md +75 -0
  339. package/skills/ae-engage/references/config-table.md +92 -0
  340. package/skills/ae-engage/references/engage-scene-config-item.md +69 -0
  341. package/skills/ae-engage/references/group-list.md +13 -0
  342. package/skills/ae-engage/references/operation-log-query.md +11 -0
  343. package/skills/ae-engage/references/preset-event.md +42 -0
  344. package/skills/ae-engage/references/push-language.md +39 -0
  345. package/skills/ae-engage/references/push-record-query.md +26 -0
  346. package/skills/ae-engage/references/save-flow.md +5 -4
  347. package/skills/ae-engage/references/save-task.md +24 -20
  348. package/skills/ae-engage/references/scene-config-channel.md +58 -0
  349. package/skills/ae-engage/references/scene-config-group.md +62 -0
  350. package/skills/ae-engage/references/scene-config-item.md +68 -0
  351. package/skills/ae-engage/references/scene-config-metric.md +79 -0
  352. package/skills/ae-engage/references/scene-config-param.md +72 -0
  353. package/skills/ae-engage/references/scene-preset-metric.md +45 -0
  354. package/skills/ae-engage/references/scene-strategy.md +47 -0
  355. package/skills/ae-engage/references/scene-template.md +71 -0
  356. package/skills/ae-engage/references/segment-list-query.md +18 -0
  357. package/skills/ae-engage/references/task-delete.md +14 -0
  358. package/skills/ae-engage/references/task-operation-log-query.md +23 -0
  359. package/skills/ae-engage/references/version-list.md +18 -0
  360. package/skills/ae-engage/references/whitelist.md +72 -0
  361. package/skills/ae-engage/references/workbench-workbench.md +48 -0
  362. package/skills/ae-generate-tracking-code/SKILL.md +1 -1
  363. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
  364. package/skills/ae-generate-tracking-plan/SKILL.md +21 -13
  365. package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
  366. package/skills/ae-kb/SKILL.md +33 -7
  367. package/skills/ae-metadata/SKILL.md +10 -9
  368. package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
  369. package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
  370. package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
  371. package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
  372. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
  373. package/skills/ae-metadata/references/metadata_event_get.md +4 -4
  374. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +4 -4
  375. package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
  376. package/skills/ae-metadata/references/metadata_property_get.md +4 -4
  377. package/skills/ae-team/SKILL.md +9 -9
  378. package/skills/ae-team/references/create.md +2 -2
  379. package/skills/ae-team/references/delete.md +3 -3
  380. package/skills/ae-team/references/run-cancel.md +3 -3
  381. package/skills/ae-team/references/run-chat.md +4 -4
  382. package/skills/ae-team/references/run-reply.md +3 -3
  383. package/skills/ae-team/references/run-start.md +4 -5
  384. package/skills/ae-team/references/run-watch.md +1 -1
  385. package/skills/ae-team/references/update.md +2 -2
  386. package/dist/chunk-P2JRP6HJ.js +0 -42
  387. package/dist/chunk-S5XN6KEX.js +0 -42
  388. package/dist/te-analysis-DDXGM7WM.js +0 -3188
  389. package/dist/te-analysis-HCDNYI7E.js +0 -3188
  390. package/dist/te-audience-ECFS4GF4.js +0 -600
  391. package/dist/te-audience-WO377T2J.js +0 -600
  392. package/dist/te-common-CFGQXTFV.js +0 -130
  393. package/dist/te-common-SDB3O2QG.js +0 -130
  394. package/dist/te-engage-545HJL6J.js +0 -1525
  395. package/dist/te-engage-M7JQSJDP.js +0 -1525
  396. package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
  397. package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
  398. package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
  399. package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
  400. package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
  401. package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
  402. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
  403. package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
  404. package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
  405. package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
  406. package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
  407. package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
  408. package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
  409. package/skills/ae-analysis/references/build_tag_definition.md +0 -65
  410. package/skills/ae-analysis/references/copy_dashboard.md +0 -33
  411. package/skills/ae-analysis/references/create_cluster.md +0 -69
  412. package/skills/ae-analysis/references/create_dashboard.md +0 -49
  413. package/skills/ae-analysis/references/create_id_cluster.md +0 -40
  414. package/skills/ae-analysis/references/create_id_tag.md +0 -39
  415. package/skills/ae-analysis/references/create_metric.md +0 -62
  416. package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
  417. package/skills/ae-analysis/references/create_public_access_link.md +0 -43
  418. package/skills/ae-analysis/references/create_report.md +0 -60
  419. package/skills/ae-analysis/references/create_result_cluster.md +0 -73
  420. package/skills/ae-analysis/references/create_space.md +0 -34
  421. package/skills/ae-analysis/references/create_tag.md +0 -61
  422. package/skills/ae-analysis/references/create_virtual_event.md +0 -64
  423. package/skills/ae-analysis/references/create_virtual_property.md +0 -69
  424. package/skills/ae-analysis/references/delete_cluster.md +0 -27
  425. package/skills/ae-analysis/references/delete_dashboard.md +0 -30
  426. package/skills/ae-analysis/references/delete_metric.md +0 -27
  427. package/skills/ae-analysis/references/delete_report.md +0 -27
  428. package/skills/ae-analysis/references/delete_tag.md +0 -27
  429. package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
  430. package/skills/ae-analysis/references/drilldown_users.md +0 -80
  431. package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
  432. package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
  433. package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
  434. package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
  435. package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
  436. package/skills/ae-analysis/references/get_filter_schema.md +0 -33
  437. package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
  438. package/skills/ae-analysis/references/get_metric.md +0 -38
  439. package/skills/ae-analysis/references/get_report_definition.md +0 -37
  440. package/skills/ae-analysis/references/get_resource_url.md +0 -32
  441. package/skills/ae-analysis/references/get_table_columns.md +0 -37
  442. package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
  443. package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
  444. package/skills/ae-analysis/references/list_bi_panels.md +0 -35
  445. package/skills/ae-analysis/references/list_cluster_members.md +0 -45
  446. package/skills/ae-analysis/references/list_clusters.md +0 -46
  447. package/skills/ae-analysis/references/list_dashboards.md +0 -43
  448. package/skills/ae-analysis/references/list_events.md +0 -46
  449. package/skills/ae-analysis/references/list_metrics.md +0 -52
  450. package/skills/ae-analysis/references/list_properties.md +0 -47
  451. package/skills/ae-analysis/references/list_public_access_links.md +0 -41
  452. package/skills/ae-analysis/references/list_reports.md +0 -43
  453. package/skills/ae-analysis/references/list_spaces.md +0 -27
  454. package/skills/ae-analysis/references/list_tag_members.md +0 -46
  455. package/skills/ae-analysis/references/list_tags.md +0 -44
  456. package/skills/ae-analysis/references/move_dashboard.md +0 -33
  457. package/skills/ae-analysis/references/query_adhoc.md +0 -141
  458. package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
  459. package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
  460. package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
  461. package/skills/ae-analysis/references/query_entity_details.md +0 -63
  462. package/skills/ae-analysis/references/query_event_details.md +0 -66
  463. package/skills/ae-analysis/references/query_report_data.md +0 -99
  464. package/skills/ae-analysis/references/refresh_cluster.md +0 -31
  465. package/skills/ae-analysis/references/refresh_tag.md +0 -31
  466. package/skills/ae-analysis/references/super_metadata_import.md +0 -24
  467. package/skills/ae-analysis/references/update_cluster.md +0 -61
  468. package/skills/ae-analysis/references/update_dashboard.md +0 -45
  469. package/skills/ae-analysis/references/update_id_cluster.md +0 -36
  470. package/skills/ae-analysis/references/update_id_tag.md +0 -37
  471. package/skills/ae-analysis/references/update_metric.md +0 -61
  472. package/skills/ae-analysis/references/update_public_access_link.md +0 -41
  473. package/skills/ae-analysis/references/update_report.md +0 -35
  474. package/skills/ae-analysis/references/update_tag.md +0 -61
  475. package/skills/ae-analysis-intent/SKILL.md +0 -132
  476. package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
@@ -0,0 +1,101 @@
1
+ # analysis data retrieval routing
2
+
3
+ This is the single routing policy for analysis data retrieval commands. It is scoped to `ae-cli analysis` data queries only; do not generalize it to other `te-cli` business modules.
4
+
5
+ ## Scope
6
+
7
+ This policy applies to:
8
+
9
+ - `analysis adhoc run` / `analysis adhoc export`
10
+ - `analysis report-data run` / `analysis report-data export`
11
+ - `analysis dashboard-report-data run` / `analysis dashboard-report-data export`
12
+ - `analysis bi-panel-page-data run` / `analysis bi-panel-page-data export`
13
+ - `analysis event-detail run` / `analysis event-detail export`
14
+ - `analysis entity-detail run` / `analysis entity-detail export`
15
+ - `analysis drilldown-events run` / `analysis drilldown-events export`
16
+ - `analysis drilldown-entities run` / `analysis drilldown-entities export`
17
+ - `analysis drilldown-user-events run` / `analysis drilldown-user-events export`
18
+ - `analysis user-cluster-member list` / `analysis user-cluster-member export`
19
+ - `analysis user-tag-member list` / `analysis user-tag-member export`
20
+ - `analysis history-tag-data run` / `analysis history-tag-data export`
21
+ - `analysis history-tag-data-drilldown run` / `analysis history-tag-data-drilldown export`
22
+
23
+ This policy does not apply to:
24
+
25
+ - `analysis user-cluster list/get`, `analysis user-tag list/get`, create/update/refresh/delete, ID-file operations, and history-tag management commands.
26
+ - `analysis_meta`, metadata, DataOps, Community, Engage, or other business modules.
27
+ - Report/dashboard/BI asset list commands, catalog exports, definition import/export, or management commands.
28
+
29
+ ## Decision rule
30
+
31
+ Use `run` only when all conditions are true:
32
+
33
+ - The user needs an inline preview or immediate JSON result.
34
+ - The expected result fits in `<=1000` rows.
35
+ - The query is expected to finish within the sync timeout window, normally `<=180` seconds.
36
+
37
+ `run` defaults to `--limit 100`. If the user needs 101 to 1000 rows inline, pass an explicit `--limit <n>` where `n <= 1000`.
38
+
39
+ The dashboard report-data sync timeout defaults to 180 seconds because one call may execute multiple reports. Other sync analysis data retrieval commands default to 120 seconds. The maximum remains 180 seconds, and an explicitly supplied lower timeout always wins.
40
+
41
+ Detail `run` commands (`event-detail run` and `entity-detail run`) return only the first bounded preview rows. They do not support `--offset` or stable pagination. If the response has `truncated=true`, switch to the matching `export` command instead of trying to fetch later pages. For detail run, `truncated=true` can mean the preview hit its row cap even when the backend total is not an exact full count.
42
+
43
+ User member, history-tag drilldown, and result drilldown `list/run` commands are bounded previews. They do not expose pagination. Use the matching `export` command for full or unknown-size data.
44
+
45
+ Use `export` when any condition is true:
46
+
47
+ - The user asks for full data, all rows, a downloadable file, or an export.
48
+ - The result size is unknown or expected to exceed 1000 rows.
49
+ - The query may be long-running or may exceed the sync timeout window.
50
+ - The result should be durable and processed from a file instead of printed inline.
51
+
52
+ Export commands are asynchronous artifact jobs. They do not use the inline `--limit` policy. After submitting an export, use:
53
+
54
+ `--artifact-format` selects the logical row format, not compression. Read the returned `format`, `compression`, `file_name`, `content_type`, and `content_encoding`; analysis query exports are currently gzip-compressed even when the logical format is `jsonl` or `csv`.
55
+
56
+ Default and maximum runtime is 21600 seconds (6 hours). Omit `--timeout-seconds` to use that default, or pass a smaller value when the caller explicitly wants an earlier deadline.
57
+
58
+ ```bash
59
+ ae-cli analysis run inspect --run-id <run_id>
60
+ ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>
61
+ ```
62
+
63
+ Download only after `analysis run inspect` reports `status=SUCCEEDED` and `artifact_status=COMPLETED`. If download returns `ARTIFACT_NOT_READY`, inspect again later; do not keep retrying download while the run is still `RUNNING`.
64
+
65
+ Cancel an async run/export with:
66
+
67
+ ```bash
68
+ ae-cli analysis query cancel --run-id <run_id>
69
+ ```
70
+
71
+ If `analysis run inspect` or `analysis artifact download` returns HTTP 404 for a valid `run_id` / `artifact_id` from the same export response, treat it as a backend route/capability deployment issue. Do not keep polling or invent download URLs.
72
+
73
+ If the current host returns `CAPABILITY_NOT_FOUND` for a documented command, treat it as host/backend capability unavailability. Do not retry with different JSON shapes or flags; choose another supported path only when it satisfies the user's request, otherwise report the backend gap.
74
+
75
+ Drilldown event/entity/user-event exports use Common's full-download stream and write `csv.gz` directly; they do not collect synchronous preview pages. They accept no `limit`, `offset`, `page_num`, or `page_size`, and remain bounded by `model_full_download_limit`. Other detail, user-member, and history-tag exports may advance backend batches internally, but paging is never part of the caller contract. Do not collect full data by repeated `list/run` calls.
76
+
77
+ ## Follow-up context
78
+
79
+ Only synchronous `adhoc run`, `report-data run`, and `dashboard-report-data run` previews create `query_context_id`, `sources`, and selectable `sources[].drilldown` options. Exports and downloaded artifacts never create this context and never expand the selectable result. The sync `--limit` is the drilldown boundary.
80
+
81
+ Follow-up commands are allowed only when the selected source/metric advertises the exact action. Read [`analysis_drilldown_contract.md`](analysis_drilldown_contract.md), select only returned row/column/metric options, and never infer source IDs, dates, groups, model fields, or analysis angles from display text.
82
+
83
+ When present, compare `effective_time_range` with `data_time_range`. `effective_time_range` is the resolved query scope, while `data_time_range` is the observed returned-row range. `clipping_reasons=[]` means the gateway applied no silent range cap; a narrower `data_time_range` then reflects available/returned data rather than a gateway range clamp.
84
+
85
+ Use that synchronous `query_context_id` for the advertised action only:
86
+
87
+ - `analysis drilldown-events run` or `analysis drilldown-events export`
88
+ - `analysis drilldown-entities run` or `analysis drilldown-entities export`
89
+ - `analysis query create-result-cluster`
90
+
91
+ Do not reconstruct or pass raw QP for follow-up drilldown or result-cluster creation.
92
+
93
+ If the synchronous response does not include `query_context_id`, source options, and the required action, stop before drilldown/result-cluster commands. Report that this preview does not expose that follow-up.
94
+
95
+ For sync `run`, ae-cli may add `_cli_inline_limit` and `_cli_truncation` metadata when it has to truncate returned `rows` arrays locally to enforce the requested inline limit. Use `export` for full data.
96
+
97
+ ## BI page data note
98
+
99
+ For `analysis bi-panel-page-data`, `--row-limit`, `--row-offset`, `--block-limit`, and `--block-offset` are BI page/chart/summary window controls. They are not the generic sync-vs-async routing policy and do not change the rule above: use `run` for bounded inline results, and `export` for full, unknown-size, larger than 1000-row, or long-running data retrieval.
100
+
101
+ BI SQL page/chart data does not support this analysis drilldown contract.
@@ -0,0 +1,93 @@
1
+ # analysis drilldown contract
2
+
3
+ This contract controls every follow-up from an analysis result. Read it before composing `drilldown-events`, `drilldown-entities`, or `query create-result-cluster`.
4
+
5
+ ## Hard boundary
6
+
7
+ Only a synchronous `adhoc run`, `report-data run`, or `dashboard-report-data run` preview can create `query_context_id` and selectable drilldown coordinates. The selectable population is exactly the returned preview, after its `--limit` is applied. If `--limit 10` returns ten rows, only coordinates represented by those ten rows may be selected.
8
+
9
+ Exports never create a query context. A downloaded file, export submit response, or export artifact must never be used to invent or extend drilldown coordinates. To drill into a large result, first run a bounded synchronous preview containing the desired row; do not raise the limit merely to manufacture a complete target catalog.
10
+
11
+ SQL, `heat_map`, `rank_list`, `revenue`, and scenario models do not support this analysis drilldown contract. Stop when `source.drilldown.actions` is empty or `unavailable_reason` is present.
12
+
13
+ ## Select a cell without `target_id`
14
+
15
+ The response contains `sources[]`. Select the source that owns the visible result. When more than one source exists, pass the source selector returned there, normally `{"report_id":...}` or `{"chart_id":...}`. Never put source IDs inside `coordinate`.
16
+
17
+ Each source has `drilldown`:
18
+
19
+ - `selection_boundary` must be `synchronous_preview_only`.
20
+ - `row_options[]` contains only rows from this preview. Match the user's row by `values`, then copy that option's `coordinate` fragment.
21
+ - `column_options[]` contains only drillable result columns. Match the requested visible column by `label`/`column_index`, then copy its `coordinate` fragment.
22
+ - `metric_options[]` describes the analysis angle and allowed `actions`. For event analysis, select the metric by `metric_index`; different metrics in one result may allow different actions.
23
+ - `coordinate_fields` is the allowlist for the final coordinate.
24
+
25
+ Build one coordinate by shallow-merging the selected row, column, and metric coordinate fragments. Identical keys must have identical values. Use the returned snake_case keys and values exactly. Do not send `row_index`, `column_index`, `values`, `label`, `target_id`, display-only dates, raw QP, or any inferred value.
26
+
27
+ An event-analysis phase-summary row is metric-dependent. The same visible row may therefore appear more than once in `row_options`, with a different `metric_index` in each coordinate fragment. Select the option whose `metric_index` matches the chosen metric column; never remove or replace that field. The backend advertises only these valid combinations:
28
+
29
+ | Phase calculation | Drillable metric angle |
30
+ |---|---|
31
+ | `sum` (`PERIOD_TOTAL`) | `EVENT_LIST` only |
32
+ | `dist` (`PERIOD_DISTINCT`) | `EVENT_LIST`, `USER_LIST`, or `ENTITY_LIST` |
33
+ | averages, integer averages, min/max, weighted averages, and every `intact_*` calculation | none |
34
+
35
+ This distinction is mathematical: event counts are additive across date buckets, while bucket-level distinct subject counts are not. A `dist` value is recomputed for the complete phase and can therefore identify one event/entity population. `intact_*` values exclude incomplete periods, but the current total drilldown query does not carry that reduced time range.
36
+
37
+ `time_granularity=T5` is not a phase-summary calculation. Its single returned row is the native full-range metric and remains selectable when the metric advertises `EVENT_LIST`, `USER_LIST`, or `ENTITY_LIST`.
38
+
39
+ Example:
40
+
41
+ ```json
42
+ {
43
+ "source": {"report_id": 1001},
44
+ "coordinate": {
45
+ "group_values": ["Beijing"],
46
+ "date": "2026-07-16",
47
+ "metric_index": 1
48
+ }
49
+ }
50
+ ```
51
+
52
+ This represents one visible cell: the returned Beijing/date row plus metric column 1. It is not a server-generated ID for every possible cell.
53
+
54
+ ## Choose the action from the analysis angle
55
+
56
+ Never infer an action from the model name or the numeric cell value. Use the selected `metric_options[].actions` for event analysis and `source.drilldown.actions` for other supported models.
57
+
58
+ | `analysis_angle` | Allowed next action |
59
+ |---|---|
60
+ | `EVENT_LIST` | `analysis drilldown-events run|export` only |
61
+ | `USER_LIST` | `analysis drilldown-entities run|export`; `analysis query create-result-cluster` |
62
+ | `ENTITY_LIST` | The same entity commands; `subject` identifies the analysis entity, which may be a custom entity rather than a user |
63
+ | `NONE` | No drilldown or result-cluster action |
64
+
65
+ `USER_LIST` is one special case of entity drilldown. A custom `ENTITY_LIST` result must be returned and saved as that entity type, not silently converted to users.
66
+
67
+ ## Model coordinate meanings
68
+
69
+ Use only fragments actually returned in options; the table explains their business meaning and must not be used to synthesize missing choices.
70
+
71
+ | Model | Coordinate fields and special values |
72
+ |---|---|
73
+ | `event` | `group_values`, optional machine `date`, `metric_index`, optional `compare_index`, optional `scope=total`. Phase-summary row options already contain the only allowed `metric_index`; T5 total rows use `scope=total` without phase restrictions. The main time range omits `compare_index`; comparison block 1 uses `compare_index=0`. The chosen metric's `analysis_angle` decides events versus entities. |
74
+ | `retention` | `group_values`, machine `cohort_date`, `period_index`, `population=retained|lost`, optional `relation`. Only returned cohort rows and population-count period columns are selectable; average/rate/simultaneous-metric rows are not coordinates. |
75
+ | `funnel` | `group_values`, optional `date`, one-based `step`, `population=completed|churned`. Only returned step-population columns are selectable; conversion-rate columns are not. |
76
+ | `distribution` | `group_values`, machine `date`, optional raw `bucket`, `scope=total|bucket`. Bucket values are backend interval values returned by the contract, not localized column labels. Percentage and comparison rows are not selectable populations. |
77
+ | `interval` | `group_values`, optional machine `date`; the aggregate entity-count column returns `scope=total`. A raw `interval_bucket` is valid only when a returned column option explicitly contains it. Never infer a bucket from a displayed duration; descriptive interval statistics are not selectable populations. |
78
+ | `prop_analysis` | `group_values`, `population_index`. With configured user/entity populations, the row chooses `population_index`; otherwise it is `0`. |
79
+ | `path` | `session_level`, `current_nodes`, optional `next_nodes`, `relation=total|with_next|without_next|with_next_specific`, `current_is_more`, `next_is_more`. Copy the returned node objects; event names and group values are machine values. |
80
+ | `attribution` | `attribution_event_id`, `source_group_values`, `target_group_values`. The event ID is returned machine metadata for that row; never derive it from the displayed event name. |
81
+
82
+ ## Entity result and user-event continuation
83
+
84
+ `analysis drilldown-entities run` returns `subject` and normalized `items[]`.
85
+
86
+ - For `subject.type=user`, each item contains canonical `user_id`. The response may also return `drilldown_context_id` and a user-event follow-up action. Only then may the Agent call `analysis drilldown-user-events run|export` with that exact context and returned `user_id`.
87
+ - For `subject.type=entity`, items contain `entity_value` and attributes. Custom entities do not have user event sequences, so no user-event context or follow-up is valid.
88
+ - `subject.column_name` is the authoritative machine identity column used to normalize `entity_value`; never substitute `#user_id` for a custom entity.
89
+ - `analysis query create-result-cluster` saves the selected subject as the corresponding entity's result cluster.
90
+
91
+ The entity export is for complete member data only. It does not create a new context for another drilldown step.
92
+
93
+ All three drilldown exports are full-download streams, not paging APIs. They accept no limit/offset/page controls and produce `csv.gz`; the platform `model_full_download_limit` remains the safety ceiling. Export artifacts never add selectable coordinates or user-event continuation identities.
@@ -1,4 +1,4 @@
1
- # analysis capability-gateway asset commands
1
+ # analysis capability-gateway commands
2
2
 
3
3
  > Prerequisite: follow [`../SKILL.md`](../SKILL.md), especially `PROJECT_ID_GATE`.
4
4
 
@@ -12,14 +12,17 @@ Flags use kebab-case. The gateway input JSON uses snake_case. Do not pass camelC
12
12
 
13
13
  This file is an overview only. Before running an L2 command, read the dedicated command reference named `references/<resource>_<action>.md` with hyphens converted to underscores, for example `dashboard_report_data_export.md`. L3 capabilities without a dedicated reference use dynamic discovery per [`ae-capability`](../../ae-capability/SKILL.md) and the L3 section below.
14
14
 
15
+ For analysis data retrieval commands, read [`analysis_data_retrieval.md`](analysis_data_retrieval.md) before choosing `run` or `export`. That routing policy applies only to analysis data retrieval and must not be generalized to other `te-cli` business modules.
16
+
15
17
  ## When to use
16
18
 
17
- Use these commands for dashboard, BI panel, BI panel version, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI page data workflows.
19
+ Use these commands for ad-hoc model analysis, report definition/data/management, dashboard, BI panel and panel versions, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, dashboard/BI page data, metadata governance, and user cluster/tag/history-tag workflows.
18
20
 
19
- Prefer export commands for long-running or large data:
21
+ When the routing policy chooses async artifact retrieval, use export commands:
20
22
 
21
23
  ```bash
22
24
  ae-cli analysis dashboard-report-data export --project-id 1 --dashboard-id 1001
25
+ ae-cli analysis report-data export --project-id 1 --report-ids '[1001]'
23
26
  ae-cli analysis run inspect --run-id run_0123456789abcdef0123456789abcdef
24
27
  ae-cli analysis artifact download --run-id run_0123456789abcdef0123456789abcdef --artifact-id artifact_0123456789abcdef0123456789abcdef --output /tmp/dashboard.jsonl.gz
25
28
  ae-cli analysis bi-panel-page-data export --project-id 1 --panel-id 2001 --page-key main --result-type charts
@@ -28,7 +31,7 @@ ae-cli analysis query cancel --run-id run_0123456789abcdef0123456789abcdef
28
31
 
29
32
  ## When not to use
30
33
 
31
- Do not use these commands for ad-hoc model analysis, report definition, report data, drilldown, schema helpers, alerts, audience clusters/tags, project lookup, metadata governance, dashboard locks, BI panel lock, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
34
+ Do not use these commands for schema helpers, alerts, project lookup, dashboard locks, BI panel locks, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
32
35
 
33
36
  ## Output
34
37
 
@@ -64,12 +67,32 @@ Artifact workflow:
64
67
  4. Download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
65
68
  5. Cancel long or abandoned exports with `ae-cli analysis query cancel --run-id <run_id>`.
66
69
 
67
- Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The descriptor paths are informational and may be internal `/api/cli/v1/...` paths behind a domain-routed CLI host.
70
+ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. Analysis exports never create interactive `query_context_id`; drilldown coordinates exist only in bounded synchronous previews.
68
71
 
69
72
  ## Command matrix
70
73
 
71
74
  | Command | Capability ID | Use for | Key input | Output |
72
75
  | --- | --- | --- | --- | --- |
76
+ | `adhoc run` | `analysis.adhoc.run` | Unified ad-hoc inline query for 12 AI models: 9 common + 3 scenario models | `--project-id`, `--model-type`, AI-facing `--definition` | Inline data plus optional `query_context_id` |
77
+ | `adhoc export` | `analysis.adhoc.export` | Unified ad-hoc async export for 12 AI models: 9 common + 3 scenario models | same as run, plus optional `--artifact-format`; no inline `--limit` | Async artifact descriptor; no drilldown context |
78
+ | `drilldown-events run/export` | `analysis.query.drilldown_events` / `analysis.query.drilldown_events_export` | Preview or full-stream events for an advertised `EVENT_LIST` cell | `--query-context-id`, optional `--source`, `--coordinate` | Bounded event rows or `csv.gz` artifact |
79
+ | `drilldown-entities run/export` | `analysis.query.drilldown_entities` / `analysis.query.drilldown_entities_export` | Preview/export users or custom entities for an advertised entity cell | `--query-context-id`, optional `--source`, `--coordinate` | Subject plus entity rows/artifact |
80
+ | `query drilldown-user-events` | `analysis.query.drilldown_user_events` | Query one drilldown user's event sequence | `--drilldown-context-id`, `--user-id` | Event sequence rows |
81
+ | `query create-result-cluster` | `analysis.query.create_result_cluster` | Save the advertised user/custom-entity cell population as its result cluster | `--query-context-id`, optional `--source`, `--coordinate`, `--cluster-name` | Result cluster creation result |
82
+ | `report list` | `analysis.report.list` | Find accessible reports | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated report summaries |
83
+ | `report list-export` | `analysis.report.list_export` | Export report catalog | same as list, plus optional `--artifact-format`, `--request-id` | Async artifact descriptor |
84
+ | `report get` | `analysis.report.get` | Inspect current report definition as AI QP | `--project-id`, `--report-id` | Report metadata plus `model_type` and `definition` |
85
+ | `report create` | `analysis.report.create` | Create a report from AI QP definition | `--report-name`, `--model-type`, `--definition` | Created report ID and normalized definition |
86
+ | `report update` | `analysis.report.update` | Update metadata or AI QP definition | `--report-id`, `--report-version`, update fields | Update result |
87
+ | `report delete` | `analysis.report.delete` | Delete reports | `--report-ids '[...]'` | Delete result |
88
+ | `report-data run` | `analysis.report_data.run` | Bounded inline report data | `--report-ids`, optional AI-facing `--filters`, `--group-by`, SQL dynamic parameter value-only `--sql-params`, time/limit | Inline data plus optional `query_context_id` |
89
+ | `report-data export` | `analysis.report_data.export` | Large/long report data | same as run, plus optional `--artifact-format` | Async artifact descriptor; no drilldown context |
90
+ | `query cancel` | `analysis.query.cancel` | Cancel any async analysis export | `--run-id`, optional `--reason` | Cancellation result |
91
+ | `report-change-log list` | `analysis.report_change_log.list` | List one report's change logs | `--report-id` | Change log summaries |
92
+ | `report-change-log get` | `analysis.report_change_log.get` | Inspect one change log detail | `--report-id`, optional `--history-version` | Change log detail with AI QP definition when available |
93
+ | `report-version rollback` | `analysis.report_version.rollback` | Rollback a report version | `--report-id`, `--target-version` | Rollback result |
94
+ | `report-abnormal get` | `analysis.report_abnormal.get` | Inspect report abnormal dependencies | `--report-id` | Abnormal info |
95
+ | `dashboard-report add` | `analysis.dashboard_report.add` | Add reports to a dashboard | `--dashboard-id`, `--report-ids` | Add result |
73
96
  | `dashboard list` | `analysis.dashboard.list` | Find accessible dashboards | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated dashboard summaries |
74
97
  | `dashboard create` | `analysis.dashboard.create` | Create a dashboard | `--project-id`, `--dashboard-name`, optional `--space-id`, `--folder-id` | Created dashboard |
75
98
  | `dashboard get` | `analysis.dashboard.get` | Inspect one dashboard definition/share/report structure, including creator and creation/update time | `--project-id`, `--dashboard-id` | Dashboard detail |
@@ -82,8 +105,8 @@ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The de
82
105
  | `dashboard freeze` | `analysis.dashboard.freeze` | Freeze/unfreeze dashboards | `--dashboard-ids`, optional `--freeze false` | Freeze status |
83
106
  | `dashboard abnormal-get` | `analysis.dashboard.abnormal_get` | Inspect abnormal dependencies | `--dashboard-id` | Abnormal info |
84
107
  | `dashboard task-status` | `analysis.dashboard.task_status` | Inspect scheduled task status | `--dashboard-id` | Task status |
85
- | `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data; `--filters` is analysis Filter JSON from `+get_filter_schema` | `--dashboard-id`, optional `--report-ids`, `--filters`, `--start-time`, `--end-time`, `--limit` | Inline data |
86
- | `dashboard-report-data export` | `analysis.dashboard_report_data.export` | Large/long dashboard report data | same as run, plus optional `--artifact-format jsonl` | Async artifact descriptor |
108
+ | `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data; `--filters` is analysis Filter JSON from `+get_filter_schema` | `--dashboard-id`, optional `--report-ids`, `--filters`, `--start-time`, `--end-time`, `--limit` | Inline data plus optional `query_context_id` |
109
+ | `dashboard-report-data export` | `analysis.dashboard_report_data.export` | Large/long dashboard report data | same as run, plus optional `--artifact-format jsonl` | Async artifact descriptor; no drilldown context |
87
110
  | `run inspect` | `analysis.run.inspect` | Poll async export status | `--run-id` | Run and artifact status |
88
111
  | `artifact download` | `analysis.artifact.download` | Download run-bound export artifact | `--run-id`, `--artifact-id`, `--output` | Local output file info |
89
112
  | `query cancel` | `analysis.query.cancel` | Cancel gateway run/export | `--run-id`, optional `--reason` | Cancellation result |
@@ -111,12 +134,40 @@ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The de
111
134
  | `public-link update` | `analysis.public_link.update` | Edit public link | `--link-id`, `--effective-at`, `--expires-at` | Update result |
112
135
  | `public-link offline` | `analysis.public_link.offline` | Take links offline | `--link-id` or `--link-ids` | Offline result |
113
136
  | `public-link delete` | `analysis.public_link.delete` | Delete public links | `--link-id` or `--link-ids` | Delete result |
137
+ | `user-cluster list` | `analysis.user_cluster.list` | Find accessible user clusters | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated cluster summaries |
138
+ | `user-cluster get` | `analysis.user_cluster.get` | Inspect exact clusters | `--cluster-names '[...]'` | Cluster details |
139
+ | `user-cluster-member list` | `analysis.user_cluster_member.list` | Bounded inline cluster members | `--cluster-name`, optional properties/fields/query/limit/offset | Member rows |
140
+ | `user-cluster-member export` | `analysis.user_cluster_member.export` | Export cluster members as jsonl | `--cluster-name`, optional properties/fields/query | Async artifact descriptor |
141
+ | `user-cluster create` | `analysis.user_cluster.create` | Create condition/sql cluster directly from semantic intent | `--cluster-name`, `--display-name`, `--definition-request` | Create result and canonical request |
142
+ | `user-cluster update` | `analysis.user_cluster.update` | Update condition/sql cluster | `--cluster-name`, fields to change, optional `--definition-request` | Update result |
143
+ | `user-cluster create-id` | `analysis.user_cluster.create_id` | Map imported values to an entity and create a cluster | `--display-name`, `--entity-id`, exactly one input source, conditional `--association-property` | Processing state; poll get for final match summary |
144
+ | `user-cluster update-id` | `analysis.user_cluster.update_id` | Remap imported values for an ID cluster | `--cluster-name`, exactly one input source, conditional `--association-property` | Processing state; poll get for final match summary |
145
+ | `user-cluster refresh` | `analysis.user_cluster.refresh` | Trigger cluster recompute | `--cluster-name` | Refresh result |
146
+ | `user-cluster delete` | `analysis.user_cluster.delete` | Delete cluster after dependency review | `--cluster-name`, `--confirmed`, `--yes` | Delete result |
147
+ | `user-tag list` | `analysis.user_tag.list` | Find accessible user tags | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated tag summaries |
148
+ | `user-tag get` | `analysis.user_tag.get` | Inspect exact tags | `--tag-names '[...]'` | Tag details |
149
+ | `user-tag-member list` | `analysis.user_tag_member.list` | Bounded inline tag members | `--tag-name`, optional `--snapshot-date`, properties/fields/query/limit/offset | Member rows |
150
+ | `user-tag-member export` | `analysis.user_tag_member.export` | Export tag members as jsonl | `--tag-name`, optional `--snapshot-date`, properties/fields/query | Async artifact descriptor |
151
+ | `user-tag create` | `analysis.user_tag.create` | Create tag directly from semantic intent | `--tag-name`, `--display-name`, `--definition-request` | Create result and canonical request |
152
+ | `user-tag update` | `analysis.user_tag.update` | Update tag | `--tag-name`, fields to change, optional `--definition-request` | Update result |
153
+ | `user-tag refresh` | `analysis.user_tag.refresh` | Trigger tag recompute | `--tag-name` | Refresh result |
154
+ | `user-tag create-id` | `analysis.user_tag.create_id` | Map imported values to an entity and create a tag | `--display-name`, `--entity-id`, exactly one input source, conditional `--association-property` | Processing state; poll get for final match summary |
155
+ | `user-tag update-id` | `analysis.user_tag.update_id` | Remap imported values for an ID tag | `--tag-name`, exactly one input source, conditional `--association-property` | Processing state; poll get for final match summary |
156
+ | `user-tag delete` | `analysis.user_tag.delete` | Delete tag after dependency review | `--tag-name`, `--confirmed`, `--yes` | Delete result |
157
+ | `history-tag list` | `analysis.history_tag.list` | List history snapshots for a tag | `--tag-name` | Snapshot summaries |
158
+ | `history-tag refresh` | `analysis.history_tag.refresh` | Refresh one history snapshot | `--tag-name`, `--refresh-date` | Refresh result |
159
+ | `history-tag batch-refresh` | `analysis.history_tag.batch_refresh` | Batch refresh snapshots | `--tag-name`, `--refresh-request` | Async refresh result |
160
+ | `history-tag clear` | `analysis.history_tag.clear` | Clear snapshots in date range | `--tag-name`, date range, `--confirmed`, `--yes` | Clear result |
161
+ | `history-tag-data run` | `analysis.history_tag_data.run` | Bounded inline history tag statistics | `--tag-name`, `--view`, `--limit` | Statistic result |
162
+ | `history-tag-data export` | `analysis.history_tag_data.export` | Export history tag statistics as jsonl | `--tag-name`, `--view` | Async artifact descriptor |
163
+ | `history-tag-data-drilldown run` | `analysis.history_tag_data_drilldown.run` | Bounded inline users for one statistic value/bucket | `--tag-name`, `--snapshot-date`, `--group-col`, `--view`, optional member fields | Drilldown member rows |
164
+ | `history-tag-data-drilldown export` | `analysis.history_tag_data_drilldown.export` | Export all users for one statistic value/bucket as jsonl | `--tag-name`, `--snapshot-date`, `--group-col`, `--view`, optional member fields | Async artifact descriptor |
114
165
 
115
166
  ## L3 project-space and folder capabilities
116
167
 
117
- Per [`capability-command-admission` §10](../../../docs/capability-command-admission.md): new gateway capabilities default to **dynamic discovery** (`capability search` → `inspect` → `dry-run` → `run`); standalone skill references are **exceptions only** (L2 bar, confusion, high-risk delete, multi-step orchestration).
168
+ Per [`capability-command-admission` §10](../../../docs/capability-command-admission.md): new gateway capabilities default to **dynamic discovery** (`capability search` → `inspect` →(按需二选一:`validate` **或** `dry-run`,默认不叠打)→ `run`); standalone skill references are **exceptions only** (L2 bar, confusion, high-risk delete, multi-step orchestration).
118
169
 
119
- For **create / delete / share**, read the linked reference before `capability inspect/dry-run/run`. For **`*.members` read**, use this matrix only — no separate `references/*.md` (pilot).
170
+ For **create / delete / share**, read the linked reference before `capability inspect` then `run` (optional pre-check per [`ae-capability`](../../ae-capability/SKILL.md) on-demand table). For **`*.members` read**, use this matrix only — no separate `references/*.md` (pilot).
120
171
 
121
172
  | Capability ID | Use for | Reference / discovery |
122
173
  | --- | --- | --- |
@@ -156,9 +207,19 @@ Output is the gateway envelope; `data` contains members.
156
207
  ## Examples
157
208
 
158
209
  ```bash
159
- ae-cli analysis dashboard list --project-id 1 --query retention --limit 20
160
- ae-cli analysis dashboard update --project-id 1 --operation note-upsert --dashboard-id 1001 --note-title "Summary" --description "Weekly note" --yes
210
+ ae-cli analysis dashboard list --project-id 1 --query retention --limit 50
211
+ ae-cli analysis adhoc run --project-id 1 --model-type sql --definition '{"sql":"select * from events limit 20"}'
212
+ ae-cli analysis adhoc export --project-id 1 --model-type sql --definition '{"sql":"select * from events where country ${Text:country}","params":[{"name":"country","type":"text","value":"US"}]}' --artifact-format jsonl
213
+ ae-cli analysis report list --project-id 1 --query revenue --limit 50
214
+ ae-cli analysis report-data run --project-id 1 --report-ids '[1001]' --limit 50
215
+ ae-cli analysis report-data run --project-id 1 --report-ids '[1001]' --filters '{"relation":"and","items":[{"field":{"name":"country","type":"user_property"},"operator":"eq","values":["US"]}]}' --group-by '[{"field":{"name":"country","type":"user_property"}}]' --sql-params '[{"name":"platform","value":"ios"}]' --limit 50
216
+ ae-cli analysis drilldown-entities run --query-context-id ctx_0123456789abcdef0123456789abcdef --source '{"report_id":1001}' --coordinate '{"cohort_date":"2026-07-01","group_values":[],"period_index":1,"population":"retained"}'
217
+ ae-cli analysis query create-result-cluster --query-context-id ctx_0123456789abcdef0123456789abcdef --source '{"report_id":1001}' --coordinate '{"cohort_date":"2026-07-01","group_values":[],"period_index":1,"population":"retained"}' --cluster-name retained_users
218
+ ae-cli analysis dashboard update --project-id 1 --operation note-upsert --dashboard-id 1001 --note-title "Summary" --description "Weekly note"
161
219
  ae-cli analysis dashboard-definition export --project-id 1 --dashboard-id 1001 --export-file-name retention_dashboard
162
220
  ae-cli analysis dashboard-definition import --project-id 1 --definition '{"dashboard_folders":[],"shared_spaces":[]}' --validate-only true
163
- ae-cli analysis public-link create --project-id 1 --resource-type dashboard --resource-id 1001 --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00" --yes
221
+ ae-cli analysis public-link create --project-id 1 --resource-type dashboard --resource-id 1001 --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00"
222
+ ae-cli analysis user-cluster list --project-id 1 --query retained --limit 50
223
+ ae-cli analysis user-cluster-member export --project-id 1 --cluster-name retained_users --artifact-format jsonl
224
+ ae-cli analysis user-tag create --project-id 1 --tag-name user_level --display-name "User Level" --definition-request '{"type":"condition","condition_values":[]}'
164
225
  ```
@@ -0,0 +1,38 @@
1
+ # Analysis interpretation
2
+
3
+ Use this guide after obtaining comparable result data. It defines how to attribute metric changes and how to distinguish evidence from hypothesis.
4
+
5
+ ## Absolute contribution for additive metrics
6
+
7
+ Use for counts and sums such as DAU, event count, orders, or payment amount:
8
+
9
+ ```text
10
+ delta_total = total_comparison - total_baseline
11
+ delta_dimension_i = value_i_comparison - value_i_baseline
12
+ contribution_i = delta_dimension_i / delta_total * 100%
13
+ ```
14
+
15
+ Rank by `abs(delta_dimension_i)`, preserving the sign. Do not rank primary drivers by relative growth `delta_dimension_i / value_i_baseline`; a tiny baseline can create a large percentage with little effect on the total.
16
+
17
+ Report each leading dimension's baseline, comparison, absolute delta, relative change, and contribution share. Treat a zero baseline as a new/lost dimension rather than an infinite growth rate.
18
+
19
+ ## Ratio and conversion metrics
20
+
21
+ A ratio changes because subgroup rates change, subgroup composition changes, or both. First report numerator, denominator, and subgroup rates. When the user requests structural decomposition, use:
22
+
23
+ ```text
24
+ rate_effect_i = weight_i_baseline * (rate_i_comparison - rate_i_baseline)
25
+ composition_effect_i = (weight_i_comparison - weight_i_baseline) * rate_i_baseline
26
+ ```
27
+
28
+ Keep rate effects and composition effects separate. Do not apply additive-count contribution directly to conversion rates.
29
+
30
+ ## Workflow and checks
31
+
32
+ 1. Keep project, population, filters, dimensions, timezone, and aggregation identical across periods.
33
+ 2. Prefer one query with comparison mode when the model supports it; otherwise run two definitions that differ only in time.
34
+ 3. Compute deltas and sort by absolute contribution.
35
+ 4. Verify additive dimension deltas reconcile with the total delta. If contribution shares differ from 100% by more than 5 percentage points, flag missing dimensions or inconsistent scope.
36
+ 5. Call a cause “observed” only when the data directly demonstrates it. Product releases, campaigns, and incidents remain hypotheses until independently verified.
37
+
38
+ Skip cross-dimension contribution only when the user explicitly asks for percentage ranking or a single dimension's trend.
@@ -1,17 +1,23 @@
1
1
  # analysis artifact download
2
2
 
3
- Use after `run inspect` shows an export artifact is complete.
3
+ Download an async analysis artifact returned by an export command.
4
4
 
5
- Do not use before the run reaches a successful terminal status. Use `run inspect` first.
5
+ Use after an export returns both `run_id` and `artifact_id`; keep this pair bound together. Before downloading, inspect the run and wait until `status=SUCCEEDED` and `artifact_status=COMPLETED`.
6
6
 
7
- Command:
7
+ Both IDs must come from the same export response. A valid `run_id` paired with a different export's `artifact_id` is invalid even if each ID exists separately.
8
+
9
+ Do not use a raw `download_path` without preserving the `run_id`/`artifact_id` pair. Do not use this for synchronous `run` responses; it only downloads async artifacts. If the artifact is still running, this command returns `ARTIFACT_NOT_READY`; call `analysis run inspect` again later instead of retrying download in a loop.
10
+
11
+ Input:
12
+
13
+ - `run_id`: required async run ID returned by the export response.
14
+ - `artifact_id`: required artifact ID from the same export response.
15
+ - `output`: required local output path.
8
16
 
9
17
  ```bash
10
- ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>
18
+ ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output /tmp/result.jsonl.gz
11
19
  ```
12
20
 
13
- Input sends `run_id`, `artifact_id`, and local `output` path.
14
-
15
- Output is the gateway download result written to the local `--output` path. The command returns JSON with `run_id`, `artifact_id`, `output_path`, `bytes`, and response content headers.
21
+ Output is local file metadata. The command writes the artifact bytes to `--output` and returns JSON with `run_id`, `artifact_id`, absolute `output_path`, `bytes`, and response content headers. The artifact may be gzip-compressed depending on the backend; preserve the returned/downloaded extension unless you intentionally decompress it yourself.
16
22
 
17
23
  Do not paste large artifact content into chat. Inspect the local file or summarize only the needed rows.
@@ -1,21 +1,21 @@
1
- # analysis-meta asset abnormal-get
1
+ # analysis-meta asset-abnormal get
2
2
 
3
3
  Use when the user needs to get abnormal reason for one asset.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it to list all abnormal assets or to inspect normal asset definitions; use `asset abnormal-list` or the asset's own get command.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta asset abnormal-get --project-id <project_id> --resource-type <resource_type> --resource-id <resource_id> --resource-name <resource_name> --table-type <table_type>
11
- ae-cli analysis-meta asset abnormal-get --dry-run
10
+ ae-cli analysis-meta asset-abnormal get --project-id <project_id> --resource-type <resource_type> --resource-id <resource_id> --resource-name <resource_name> --table-type <table_type>
11
+ ae-cli analysis-meta asset-abnormal get --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset_abnormal.get`.
15
15
 
16
16
  Input sends `project_id`, `resource_type`, `resource_id`, `resource_name`, `table_type`.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output `data.resource` contains the matched asset's abnormal detail/reason.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
@@ -1,21 +1,21 @@
1
- # analysis-meta asset abnormal-list
1
+ # analysis-meta asset-abnormal list
2
2
 
3
3
  Use when the user needs to list abnormal assets by resource type.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for one known asset's detailed reason or for a general asset inventory; use `asset abnormal-get` or `asset search`.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta asset abnormal-list --project-id <project_id> --resource-types <resource_types>
11
- ae-cli analysis-meta asset abnormal-list --dry-run
10
+ ae-cli analysis-meta asset-abnormal list --project-id <project_id> --resource-types <resource_types>
11
+ ae-cli analysis-meta asset-abnormal list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset_abnormal.list`.
15
15
 
16
16
  Input sends `project_id`, `resource_types`.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output `data.resources[]` contains abnormal assets in the requested resource types.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
@@ -1,21 +1,21 @@
1
- # analysis-meta asset authentication-list
1
+ # analysis-meta asset-authentication list
2
2
 
3
3
  Use when the user needs to list authenticatable project assets and authentication status.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it as a complete asset search or to change status; use `asset search` or `asset authentication-update` respectively.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta asset authentication-list --project-id <project_id>
11
- ae-cli analysis-meta asset authentication-list --dry-run
10
+ ae-cli analysis-meta asset-authentication list --project-id <project_id>
11
+ ae-cli analysis-meta asset-authentication list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset_authentication.list`.
15
15
 
16
16
  Input sends `project_id`.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output `data.assets[]` contains authenticatable asset identities and their current authentication status.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
@@ -1,24 +1,24 @@
1
- # analysis-meta asset authentication-update
1
+ # analysis-meta asset-authentication update
2
2
 
3
3
  Use when the user needs to batch authenticate or unauthenticate assets.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it to edit the asset itself or to authenticate a guessed asset name; call `asset authentication-list` first and submit only returned asset identities.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta asset authentication-update --project-id <project_id> --payload '{}'
11
- ae-cli analysis-meta asset authentication-update --dry-run
10
+ ae-cli analysis-meta asset-authentication update --project-id <project_id> --payload '{"authentication_status":1,"asset_list":[{"asset_name":"<name>","asset_type":"<type>"}]}'
11
+ ae-cli analysis-meta asset-authentication update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset_authentication.update`.
15
15
 
16
16
  Input sends `project_id`, `payload`.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output is a successful gateway envelope with no business data. Verify with `asset authentication-list`.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
22
22
  |---|---|---|
23
23
  | `--project-id` | Yes | Numeric project ID. |
24
- | `--payload` | Yes | Capability payload JSON. |
24
+ | `--payload` | Yes | `{authentication_status, asset_list}`. `authentication_status` is `1` to authenticate or `0` to revoke; each `asset_list` item requires the real `asset_name` and `asset_type` returned by the list command. |
@@ -0,0 +1,26 @@
1
+ # analysis-governance asset batch-dashboard-schedule-freeze
2
+
3
+ Use when the user needs to batch freeze dashboard schedules for governed assets through the capability gateway.
4
+
5
+ Do not use it for non-dashboard assets or ordinary dashboard content edits; it changes schedule, cache, refresh, and freeze settings in one batch.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-governance asset batch-dashboard-schedule-freeze --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-governance asset batch-dashboard-schedule-freeze --dry-run --project-id <project_id>
12
+ ```
13
+
14
+ Capability id: analysis_meta.asset_batch.dashboard_schedule_freeze.
15
+
16
+ Input sends project_id, payload, node_ids, reports_version, zone_offset, schedule_ui_config, dashboard_status, refresh_type, cache_config. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
17
+
18
+ Output `data` is the dashboard batch-operation submission result. Verify its returned operation record before reporting the schedules as frozen.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | --project-id | Yes | Numeric project ID. |
24
+ | --node-ids | No | Asset node ID JSON array; required unless provided inside payload. |
25
+ | --dashboard-status | No | Dashboard status, such as freeze or normal. |
26
+ | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
@@ -0,0 +1,26 @@
1
+ # analysis-governance asset batch-delete
2
+
3
+ Use when the user needs to batch delete governed assets through the capability gateway.
4
+
5
+ Do not use it for a single unverified name or as cleanup after a failed test; resolve exact `node_ids`, dry-run the final set, and require explicit confirmation.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-governance asset batch-delete --project-id <project_id> --payload '{}' --dry-run
11
+ # Summarize the target and impact, then wait for explicit user confirmation.
12
+ ae-cli analysis-governance asset batch-delete --project-id <project_id> --payload '{}' --yes
13
+ ```
14
+
15
+ Capability id: analysis_meta.asset_batch.delete.
16
+
17
+ Input sends project_id, payload, node_ids. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
18
+
19
+ Output `data` is the batch-operation submission result. Preserve any returned record identity/status and use `operation-record-list` to verify completion.
20
+
21
+ ## Parameters
22
+ | Parameter | Required | Description |
23
+ |---|---|---|
24
+ | --project-id | Yes | Numeric project ID. |
25
+ | --node-ids | No | Asset node ID JSON array; required unless provided inside payload. |
26
+ | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |