@thinkingai/ae-cli 6.0.30 → 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 (397) 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-dataops/SKILL.md +1 -1
  287. package/skills/ae-engage/SKILL.md +38 -10
  288. package/skills/ae-engage/references/build-task-save-guide.md +11 -9
  289. package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
  290. package/skills/ae-engage/references/group-list.md +13 -0
  291. package/skills/ae-engage/references/operation-log-query.md +11 -0
  292. package/skills/ae-engage/references/ops-delete.md +14 -0
  293. package/skills/ae-engage/references/push-record-query.md +26 -0
  294. package/skills/ae-engage/references/save-flow.md +5 -4
  295. package/skills/ae-engage/references/save-task.md +24 -20
  296. package/skills/ae-engage/references/segment-list-query.md +18 -0
  297. package/skills/ae-engage/references/task-operation-log-query.md +23 -0
  298. package/skills/ae-engage/references/version-list.md +18 -0
  299. package/skills/ae-generate-tracking-code/SKILL.md +1 -1
  300. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
  301. package/skills/ae-generate-tracking-plan/SKILL.md +17 -12
  302. package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
  303. package/skills/ae-kb/SKILL.md +1 -1
  304. package/skills/ae-metadata/SKILL.md +9 -8
  305. package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
  306. package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
  307. package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
  308. package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
  309. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
  310. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +3 -3
  311. package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
  312. package/skills/ae-team/SKILL.md +9 -9
  313. package/skills/ae-team/references/create.md +2 -2
  314. package/skills/ae-team/references/delete.md +3 -3
  315. package/skills/ae-team/references/run-cancel.md +3 -3
  316. package/skills/ae-team/references/run-chat.md +4 -4
  317. package/skills/ae-team/references/run-reply.md +3 -3
  318. package/skills/ae-team/references/run-start.md +4 -5
  319. package/skills/ae-team/references/run-watch.md +1 -1
  320. package/skills/ae-team/references/update.md +2 -2
  321. package/dist/chunk-P2JRP6HJ.js +0 -42
  322. package/dist/chunk-S5XN6KEX.js +0 -42
  323. package/dist/te-analysis-DDXGM7WM.js +0 -3188
  324. package/dist/te-analysis-HCDNYI7E.js +0 -3188
  325. package/dist/te-audience-ECFS4GF4.js +0 -600
  326. package/dist/te-audience-WO377T2J.js +0 -600
  327. package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
  328. package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
  329. package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
  330. package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
  331. package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
  332. package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
  333. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
  334. package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
  335. package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
  336. package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
  337. package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
  338. package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
  339. package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
  340. package/skills/ae-analysis/references/build_tag_definition.md +0 -65
  341. package/skills/ae-analysis/references/copy_dashboard.md +0 -33
  342. package/skills/ae-analysis/references/create_cluster.md +0 -69
  343. package/skills/ae-analysis/references/create_dashboard.md +0 -49
  344. package/skills/ae-analysis/references/create_id_cluster.md +0 -40
  345. package/skills/ae-analysis/references/create_id_tag.md +0 -39
  346. package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
  347. package/skills/ae-analysis/references/create_public_access_link.md +0 -43
  348. package/skills/ae-analysis/references/create_report.md +0 -60
  349. package/skills/ae-analysis/references/create_result_cluster.md +0 -73
  350. package/skills/ae-analysis/references/create_space.md +0 -34
  351. package/skills/ae-analysis/references/create_tag.md +0 -61
  352. package/skills/ae-analysis/references/delete_cluster.md +0 -27
  353. package/skills/ae-analysis/references/delete_dashboard.md +0 -30
  354. package/skills/ae-analysis/references/delete_report.md +0 -27
  355. package/skills/ae-analysis/references/delete_tag.md +0 -27
  356. package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
  357. package/skills/ae-analysis/references/drilldown_users.md +0 -80
  358. package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
  359. package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
  360. package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
  361. package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
  362. package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
  363. package/skills/ae-analysis/references/get_filter_schema.md +0 -33
  364. package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
  365. package/skills/ae-analysis/references/get_report_definition.md +0 -37
  366. package/skills/ae-analysis/references/get_table_columns.md +0 -37
  367. package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
  368. package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
  369. package/skills/ae-analysis/references/list_bi_panels.md +0 -35
  370. package/skills/ae-analysis/references/list_cluster_members.md +0 -45
  371. package/skills/ae-analysis/references/list_clusters.md +0 -46
  372. package/skills/ae-analysis/references/list_dashboards.md +0 -43
  373. package/skills/ae-analysis/references/list_public_access_links.md +0 -41
  374. package/skills/ae-analysis/references/list_reports.md +0 -43
  375. package/skills/ae-analysis/references/list_spaces.md +0 -27
  376. package/skills/ae-analysis/references/list_tag_members.md +0 -46
  377. package/skills/ae-analysis/references/list_tags.md +0 -44
  378. package/skills/ae-analysis/references/move_dashboard.md +0 -33
  379. package/skills/ae-analysis/references/query_adhoc.md +0 -141
  380. package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
  381. package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
  382. package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
  383. package/skills/ae-analysis/references/query_entity_details.md +0 -63
  384. package/skills/ae-analysis/references/query_event_details.md +0 -66
  385. package/skills/ae-analysis/references/query_report_data.md +0 -99
  386. package/skills/ae-analysis/references/refresh_cluster.md +0 -31
  387. package/skills/ae-analysis/references/refresh_tag.md +0 -31
  388. package/skills/ae-analysis/references/super_metadata_import.md +0 -24
  389. package/skills/ae-analysis/references/update_cluster.md +0 -61
  390. package/skills/ae-analysis/references/update_dashboard.md +0 -45
  391. package/skills/ae-analysis/references/update_id_cluster.md +0 -36
  392. package/skills/ae-analysis/references/update_id_tag.md +0 -37
  393. package/skills/ae-analysis/references/update_public_access_link.md +0 -41
  394. package/skills/ae-analysis/references/update_report.md +0 -35
  395. package/skills/ae-analysis/references/update_tag.md +0 -61
  396. package/skills/ae-analysis-intent/SKILL.md +0 -132
  397. package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
@@ -1,58 +0,0 @@
1
- # analysis +query_bi_panel_data (query BI panel data)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **BI panel management**
6
-
7
- ## Use Cases
8
- - Query released BI panel chart data as one-dimensional `columns` + `rows`.
9
- - Query BI panel summary content as `markdown` + paged `blocks`.
10
- - Apply dashboard-level parameter controls, dashboard-level permission controls, and page chart filter controls using the schema returned by `+get_bi_panel_detail`.
11
-
12
- ## Mandatory Prerequisite
13
- Call `+get_bi_panel_detail` first unless you already have verified `pageKey`, queryable `chartIds`, returned columns, and control schemas for the same `project_id`, `panel_id`, host, and released version.
14
-
15
- ## Command
16
- ```bash
17
- ae-cli analysis +query_bi_panel_data --project_id <project_id> --panel_id <panel_id> --page_key <page_key> --result_type charts
18
- ae-cli analysis +query_bi_panel_data --project_id <project_id> --panel_id <panel_id> --page_key <page_key> --result_type charts --chart_ids '["chart_city"]' --columns '["city","height"]' --row_limit 50 --row_offset 0
19
- ae-cli analysis +query_bi_panel_data --project_id <project_id> --panel_id <panel_id> --page_key summary --result_type summary --block_limit 20 --block_offset 0
20
- ae-cli analysis +query_bi_panel_data --project_id <project_id> --panel_id <panel_id> --page_key <page_key> --result_type charts --request_id mcp_1234567890abcdef1234567890abcdef --chart_filter_controls '[{"controlId":"chart_filter_city","value":["上海市","北京市"]}]'
21
- ae-cli analysis +query_bi_panel_data --project_id <project_id> --panel_id <panel_id> --page_key <page_key> --result_type charts --dry-run
22
- ```
23
-
24
- ## Parameters
25
- | Parameter | Required | Description |
26
- |---|---|---|
27
- | `--project_id` / `-p` | Yes | Project ID |
28
- | `--panel_id` | Yes | BI panel ID returned by `+list_bi_panels` |
29
- | `--page_key` | Yes | Page key returned by `+get_bi_panel_detail` |
30
- | `--result_type` | Yes | `charts` or `summary` |
31
- | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
32
- | `--chart_ids` | No | JSON array of chart IDs when `result_type=charts`. If omitted, all queryable charts on the page are queried. |
33
- | `--parameter_controls` | No | JSON array of dashboard-level parameter control overrides. Each item has `controlId` and one scalar `value`. |
34
- | `--permission_controls` | No | JSON array of dashboard-level permission control values. Each item has `controlId` and `value`; `value` may be one scalar or an array. |
35
- | `--chart_filter_controls` | No | JSON array of page chart filter control values. Each item has `controlId` and `value`; `value` may be one scalar or an array and applies only to bound charts. |
36
- | `--columns` | No | Optional returned columns for chart data. Must match columns returned by `+get_bi_panel_detail`. |
37
- | `--row_limit` | No | Chart row limit. Default: 50, maximum: 10000. |
38
- | `--row_offset` | No | Chart row offset. Default: 0. |
39
- | `--block_limit` | No | Summary block limit. Default: 20, maximum: 10000. |
40
- | `--block_offset` | No | Summary block offset. Default: 0. |
41
- | `--use_cache` | No | Whether to use cache. Default: true. |
42
- | `--timeout_minutes` | No | Query timeout in minutes. Default: 3, minimum: 1, maximum: 10. |
43
-
44
- ## Control Rules
45
- - `parameter_controls` accept one scalar value only. Arrays are invalid.
46
- - `permission_controls` accept one scalar value or an array. `allowedValues` from detail are hints only; real data permission is enforced by the BI query path.
47
- - `chart_filter_controls` accept one scalar value or an array regardless of UI single/multi-select setting. They apply only to `boundChartIds`.
48
- - PageCharts filter components that have no passed value and no default do not add a filter.
49
- - Do not pass internal fields such as `paramList`, `permissionFilters`, `visualCfg`, `whereList`, `whereValues`, `field`, `columnName`, `userId`, or `openId`.
50
-
51
- ## Decision Rules
52
- - For charts, omit `--chart_ids` on the first run to query all queryable charts on the page.
53
- - Explicitly querying a non-queryable filter component returns a chart-level unsupported result.
54
- - Use `--columns`, `--row_limit`, and `--row_offset` to reduce response size.
55
- - Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
56
-
57
- ## Recommended Chaining
58
- - `+list_bi_panels` -> `+get_bi_panel_detail` -> `+query_bi_panel_data`
@@ -1,35 +0,0 @@
1
- # analysis +query_dashboard_detail (read dashboard structure)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Dashboard Management**
6
-
7
- ## Use Cases
8
- - Get detailed information about a specific dashboard including:
9
- - Associated reports (IDs, names, types, and metadata)
10
- - Dashboard notes (IDs, titles, descriptions)
11
- - Share members (userId, userName, permissions)
12
- - Get detailed information about a specific dashboard including: - Associated reports (IDs, names, types, and metadata) - Dashboard notes (IDs, titles, descriptions) - Share members (userId, userName, permissions)
13
-
14
- ## Commands
15
- ```bash
16
- ae-cli analysis +query_dashboard_detail --project_id <project_id> --dashboard_id 1
17
- ae-cli analysis +query_dashboard_detail --dry-run
18
- ```
19
-
20
- ## Parameters
21
- | Parameter | Required | Description |
22
- |---|---|---|
23
- | `--project_id` / `-p` | Yes | Project ID |
24
- | `--dashboard_id` / `-d` | Yes | Dashboard ID |
25
-
26
- ## Decision Rules
27
- - For the first run, it is recommended to pass only the required parameters (`--project_id`, `--dashboard_id`) and add optional parameters after confirming the chain works.
28
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
29
-
30
- ## Next Step After Failure
31
- - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`, `--dashboard_id`).
32
- - If the query times out or the result is abnormal, first reduce the time range/grouping dimensions, then split the query to locate the issue.
33
-
34
- ## Recommended Chaining
35
- - +list_dashboards -> +query_dashboard_detail -> +query_dashboard_report_data
@@ -1,63 +0,0 @@
1
- # analysis +query_dashboard_report_data (Batch Query Dashboard Report Data)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Dashboard management**
6
-
7
- ## Use Cases
8
- - Precondition helper: call `+get_filter_schema` to get the structure before using this tool.
9
- - When constructing `filters`, you must supplement it with real event/property metadata from the project.
10
- - Query analysis data for one or more reports in a dashboard. Returns actual analysis results without the dashboard definition. Supports additional filters and time range overrides.
11
- - Query analysis data for one or more reports in a dashboard.
12
-
13
- ## Mandatory prerequisites (MUST)
14
- - Before constructing `--filters`, you must first read and follow these reference documents:
15
- - [`./get_filter_schema.md`](./get_filter_schema.md)
16
- - [`./list_events.md`](./list_events.md)
17
- - [`./list_properties.md`](./list_properties.md)
18
- - Do not generate the final `filters` until the documentation review and prerequisite command calls are complete.
19
-
20
- ## Prerequisite call chain (required for constructing filters)
21
- 1. Read `get_filter_schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
22
- 2. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>`.
23
- 3. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>`.
24
- 4. Build `filters` from the schema + metadata, then call `+query_dashboard_report_data`.
25
-
26
- ## Command
27
- ```bash
28
- ae-cli analysis +query_dashboard_report_data --project_id <project_id> --dashboard_id 1
29
- ae-cli analysis +query_dashboard_report_data --project_id <project_id> --dashboard_id 1 --filters '{}' --start_date 2026-04-08 --end_date 2026-04-08 --time_granularity day --use_cache true --report_ids '[1001]' --request_id mcp_ffffffffffffffffffffffffffffffff --timeout_minutes 8
30
- ae-cli analysis +query_dashboard_report_data --dry-run
31
- ```
32
-
33
- ## Parameters
34
- | Parameter | Required | Description |
35
- |---|---|---|
36
- | `--project_id` / `-p` | Yes | Project ID |
37
- | `--dashboard_id` / `-d` | Yes | Dashboard ID |
38
- | `--filters` | No | Optional filter JSON. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `analysis_meta +list_properties` in the same `project_id`. |
39
- | `--start_date` | No | Optional start date. Format: yyyy-MM-dd |
40
- | `--end_date` | No | Optional end date. Format: yyyy-MM-dd |
41
- | `--time_granularity` | No | Optional time granularity used to override the report default. Supported values: minute, minute5, minute10, hour, day, week, month, quarter, year, total. |
42
- | `--use_cache` | No | Whether to use cache. Default: true |
43
- | `--report_ids` | No | Optional list of report IDs. If omitted, all reports in the dashboard are queried. |
44
- | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
45
- | `--timeout_minutes` | No | Query timeout in minutes. If omitted, 30 minutes is used. |
46
-
47
- ## Decision Rules
48
- - `filters` cannot be written from experience alone: it must satisfy both the filter schema and the project metadata constraints.
49
- - Before calling `list_events` / `list_properties`, you must first study the corresponding reference documents.
50
- - On the first run, include all required parameters (`--project_id`, `--dashboard_id`, `--request_id`) and add optional parameters after confirming the path works.
51
- - Wrap JSON parameters in single quotes (for example `--filters '{}'`, `--report_ids '[]'`) to avoid shell escaping issues.
52
- - When dates/time ranges are involved, first verify with a short range, then gradually expand the range.
53
- - Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
54
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
55
-
56
- ## Next Steps on Failure
57
- - If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`, `--dashboard_id`, `--request_id`).
58
- - If `Invalid JSON` appears, first check the filter schema required fields, then verify whether the event/property names come from metadata query results for the same `project_id`.
59
- - If the query times out or results are abnormal, first narrow the time range / grouping dimensions, then split the subqueries to locate the issue.
60
-
61
- ## Recommended chaining
62
- - +get_filter_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +query_dashboard_report_data
63
- - +list_dashboards -> +query_dashboard_detail -> +query_dashboard_report_data
@@ -1,63 +0,0 @@
1
- # analysis +query_entity_details (query entity details)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Entity Detail Queries**
6
-
7
- ## Use Cases
8
- - When building `definition`, first obtain the cluster schema and supplement it with the project's real event/property metadata.
9
- - Query entity detail data. Returns user detail results based on the entity ID and cluster definition, and supports display properties, sorting, and result limits.
10
- - Query entity detail data.
11
-
12
- ## Mandatory Prerequisites (MUST)
13
- - Before building `--definition` / `--properties`, you must first read and follow the following reference docs:
14
- - [`./get_cluster_definition_schema.md`](./get_cluster_definition_schema.md)
15
- - [`./list_events.md`](./list_events.md)
16
- - [`./list_properties.md`](./list_properties.md)
17
- - Do not generate final `definition` / `properties` until the above docs have been read and the prerequisite commands have been called.
18
-
19
- ## Prerequisite Call Chain (required for building definition/properties)
20
- 1. First confirm the cluster type (condition / sql).
21
- 2. Read `get_cluster_definition_schema.md`, then call `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type <condition|sql>` to get the structure.
22
- 3. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>`.
23
- 4. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>`.
24
- 5. Build `definition` (and optional `properties`) based on the schema and metadata, then call `+query_entity_details`.
25
-
26
- ## Commands
27
- ```bash
28
- ae-cli analysis +query_entity_details --project_id <project_id> --definition '{}'
29
- ae-cli analysis +query_entity_details --project_id <project_id> --entity_id 1001 --definition '{}' --properties '{}' --sort_by time --sort_order desc --limit 20 --zone_offset 8 --use_cache true --request_id mcp_eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --timeout_minutes 8
30
- ae-cli analysis +query_entity_details --dry-run
31
- ```
32
-
33
- ## Parameters
34
- | Parameter | Required | Description |
35
- |---|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
36
- | `--project_id` / `-p` | Yes | Project ID |
37
- | `--entity_id` | No | Optional entity ID used in multi-entity scenarios. If omitted, the default user entity is used. |
38
- | `--definition` | Yes | Cluster definition JSON. MUST call `+get_cluster_definition_schema` first, then fill valid event/property names from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
39
- | `--properties` | No | Optional display properties JSON, for example `[{"columnName":"#user_id","tableType":"0"},{"columnName":"device_id","tableType":"0"}]`. If provided, property names should come from `analysis_meta +list_properties` in the same `project_id`. |
40
- | `--sort_by` | No | Optional sort field |
41
- | `--sort_order` | No | Optional sort order. Supported values: asc and desc |
42
- | `--limit` | No | Optional result limit. Default: 1000, maximum: 10000 |
43
- | `--zone_offset` | No | Time zone offset. For example, UTC+8 is 8 |
44
- | `--use_cache` | No | Whether to use cache. Default: true |
45
- | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
46
- | `--timeout_minutes` | No | Query timeout in minutes. If omitted, 30 minutes is used. |
47
-
48
- ## Decision Rules
49
- - `definition` / `properties` cannot be written by hand based on experience alone: they must satisfy both the schema structure and the project's real metadata.
50
- - `list_events` / `list_properties` must be learned from the corresponding reference docs before calling them.
51
- - For the first run, include all required parameters (`--project_id`, `--definition`, `--request_id`) and add optional parameters after confirming the chain works.
52
- - Wrap JSON parameters in single quotes (for example `--definition '{}'`, `--properties '{}'`) to avoid shell escaping issues.
53
- - Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
54
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
55
-
56
- ## Next Step After Failure
57
- - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`, `--definition`, `--request_id`).
58
- - If `Invalid JSON` appears, first check the required schema fields, then verify that the event name/property name comes from metadata queried in the same `project_id`.
59
- - If the query times out or the result is abnormal, first reduce the time range/grouping dimensions, then split the query to locate the issue.
60
-
61
- ## Recommended Chaining
62
- - +get_cluster_definition_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +query_entity_details
63
- - +query_entity_details -> +query_event_details -> +build_event_details_sql
@@ -1,66 +0,0 @@
1
- # analysis +query_event_details (Query Event Details)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Event detail queries**
6
-
7
- ## Use Cases
8
- - When constructing `filters` / `properties`, you must first obtain the filter schema and the project metadata for real events/properties.
9
- - Query event detail data. Supports time range, filters, display properties, sorting, and result limits.
10
- - Time can be specified via `--relative_date_range` OR (`--start_time` AND `--end_time`).
11
-
12
- ## Mandatory prerequisites (MUST)
13
- - Before constructing `--filters` / `--properties`, you must first read and follow these reference documents:
14
- - [`./get_filter_schema.md`](./get_filter_schema.md)
15
- - [`./list_events.md`](./list_events.md)
16
- - [`./list_properties.md`](./list_properties.md)
17
- - Do not generate the final `filters` / `properties` until the documentation review and prerequisite command calls are complete.
18
-
19
- ## Prerequisite call chain (required for constructing filters/properties)
20
- 1. Read `get_filter_schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
21
- 2. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>` to confirm the available event names.
22
- 3. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>` to get the available properties.
23
- 4. Build `filters` / `properties` from the schema + metadata, then call `+query_event_details`.
24
-
25
- ## Command
26
- ```bash
27
- ae-cli analysis +query_event_details --project_id <project_id> --event_name login --start_time '2026-04-08 00:00:00' --end_time '2026-04-08 23:59:59'
28
- ae-cli analysis +query_event_details --project_id <project_id> --event_name login --relative_date_range 0-7 --filters '{}' --properties '{}' --sort_by time --sort_order desc --limit 20 --zone_offset 8 --use_cache true --request_id mcp_dddddddddddddddddddddddddddddddd --timeout_minutes 8
29
- ae-cli analysis +query_event_details --dry-run
30
- ```
31
-
32
- ## Parameters
33
- | Parameter | Required | Description |
34
- |---|---|---|
35
- | `--project_id` / `-p` | Yes | Project ID |
36
- | `--event_name` | Yes | Event name |
37
- | `--start_time` | No | Start time. Format: yyyy-MM-dd HH:mm:ss. Required if not using relative_date_range. |
38
- | `--end_time` | No | End time. Format: yyyy-MM-dd HH:mm:ss. Required if not using relative_date_range. |
39
- | `--relative_date_range` | No | Optional relative date range in m-n format. For example, 0-7 means the most recent 7 days including today. Use either this field or start_time/end_time. |
40
- | `--filters` | No | Optional filter JSON. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `analysis_meta +list_properties` in the same `project_id`. |
41
- | `--properties` | No | Optional display properties JSON, for example `[{"columnName":"#user_id","tableType":"0"},{"columnName":"device_id","tableType":"0"}]`. If provided, property names should come from `analysis_meta +list_properties` in the same `project_id`. |
42
- | `--sort_by` | No | Optional sort field |
43
- | `--sort_order` | No | Optional sort order. Supported values: asc and desc |
44
- | `--limit` | No | Optional result limit. Default: 1000 |
45
- | `--zone_offset` | No | Time zone offset. For example, UTC+8 is 8 |
46
- | `--use_cache` | No | Whether to use cache. Default: true |
47
- | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
48
- | `--timeout_minutes` | No | Query timeout in minutes. If omitted, 30 minutes is used. |
49
-
50
- ## Decision Rules
51
- - `filters` / `properties` cannot be written from experience alone: they must satisfy both the schema structure and the project metadata constraints.
52
- - Before calling `list_events` / `list_properties`, you must first study the corresponding reference documents.
53
- - On the first run, include all required parameters (`--project_id`, `--event_name`, `--request_id`) and add optional parameters after confirming the path works.
54
- - Wrap JSON parameters in single quotes (for example `--filters '{}'`, `--properties '{}'`) to avoid shell escaping issues.
55
- - When dates/time ranges are involved, first verify with a short range, then gradually expand the range.
56
- - Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
57
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
58
-
59
- ## Next Steps on Failure
60
- - If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`, `--event_name`).
61
- - If `Invalid JSON` appears, first check the filter schema required fields, then verify whether the event/property names come from metadata query results for the same `project_id`.
62
- - If the query times out or results are abnormal, first narrow the time range / grouping dimensions, then split the subqueries to locate the issue.
63
-
64
- ## Recommended chaining
65
- - +get_filter_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +query_event_details
66
- - +query_entity_details -> +query_event_details -> +build_event_details_sql
@@ -1,99 +0,0 @@
1
- # analysis +query_report_data (query data by report)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Report Management**
6
-
7
- ## Use Cases
8
- - Prerequisite helper: first call `+get_filter_schema` to get the structure, then call this tool.
9
- - Prerequisite helper: first call `+get_groupby_schema` to get the structure, then call this tool.
10
- - When building `filters` / `group_by`, you must supplement the project's real event/property metadata.
11
- - Query analysis data for one or more reports. Returns chart values, trend results, and similar data, but not report definitions. Supports extra filters, group-by settings, and time range overrides.
12
- - Query analysis data for one or more reports.
13
-
14
- ## Mandatory Prerequisites (MUST)
15
- - Before building `--filters` / `--group_by`, you must first read and follow the following reference docs:
16
- - [`./get_filter_schema.md`](./get_filter_schema.md)
17
- - [`./get_groupby_schema.md`](./get_groupby_schema.md)
18
- - [`./list_events.md`](./list_events.md)
19
- - [`./list_properties.md`](./list_properties.md)
20
- - Do not generate final `filters` / `group_by` until the above docs have been read and the prerequisite commands have been called.
21
-
22
- ## Prerequisite Call Chain (required for building filters/group_by)
23
- 1. Read `get_filter_schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
24
- 2. Read `get_groupby_schema.md`, then call `ae-cli analysis +get_groupby_schema` to get the grouping structure.
25
- 3. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>`.
26
- 4. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>`.
27
- 5. Build `filters` / `group_by` based on the schema and metadata, then call `+query_report_data`.
28
-
29
- ## Commands
30
- ```bash
31
- ae-cli analysis +query_report_data --project_id <project_id> --report_ids '[1001]'
32
- ae-cli analysis +query_report_data --project_id <project_id> --report_ids '[1001]' --filters '{}' --group_by '[]' --request_id mcp_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --use_cache true --start_date 2026-04-08 --end_date 2026-04-08 --time_granularity day --timeout_minutes 8
33
- # SQL-model report: override its dynamic parameters (${Selector}/${Time}/${Text}) by paramName
34
- ae-cli analysis +query_report_data --project_id <project_id> --report_ids '[1001]' --sql_params '[{"paramName":"selector1","paramExpress":"<selectorName>"},{"paramName":"time2","startTime":"2026-01-01 00:00:00","endTime":"2026-06-30 23:59:59"}]'
35
- ae-cli analysis +query_report_data --dry-run
36
- ```
37
-
38
- ## Parameters
39
- | Parameter | Required | Description |
40
- |---|---|---|
41
- | `--project_id` / `-p` | Yes | Project ID |
42
- | `--report_ids` | Yes | List of report IDs |
43
- | `--filters` | No | Optional filter JSON. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `analysis_meta +list_properties` in the same `project_id`. |
44
- | `--group_by` | No | Optional group-by JSON array. If provided, MUST follow `+get_groupby_schema`, and referenced fields must come from `analysis_meta +list_properties` in the same `project_id`. |
45
- | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
46
- | `--use_cache` | No | Whether to use cache. Default: true |
47
- | `--start_date` | No | Optional start date in yyyy-MM-dd format |
48
- | `--end_date` | No | Optional end date in yyyy-MM-dd format |
49
- | `--time_granularity` | No | Optional time granularity used to override the report default. Supported values: minute, minute5, minute10, hour, day, week, month, quarter, year, total. |
50
- | `--timeout_minutes` | No | Query timeout in minutes. If the query exceeds this time, it will be cancelled automatically. 30 minutes if omitted. |
51
- | `--sql_params` | No | Optional override for a SQL-model report's dynamic parameters (the `${...}` placeholders embedded in the report SQL). JSON array of params matched by `paramName`. Only listed params are overridden; omitted params keep the report's saved defaults. Ignored for non-SQL reports. Different from `--filters`: see the SQL report dynamic parameters section below. |
52
-
53
- ## SQL report dynamic parameters (`--sql_params`)
54
- - Applies ONLY to SQL-model reports (`reportModel: sql` in `+get_report_definition`). Such reports may embed `${...}` placeholders of 6 paramTypes — `Variable`, `PartDate`, `Time`, `Number`, `Text`, `Selector` — whose default values are saved in the report's `eventView.sqlViewParams`.
55
- - `--sql_params` overrides those values by `paramName`; the backend merges them into the report's `sqlViewParams` before running the SQL. Omitting `--sql_params` keeps the report defaults (backward compatible).
56
- - `--sql_params` is NOT the same as `--filters`: `--filters` adds a post-query WHERE filter on the SQL result columns (using real field names), while `--sql_params` changes the report's own dynamic parameters before the SQL runs. To adjust a report's selectors/time parameters, use `--sql_params`, not `--filters`.
57
- - Workflow: `+get_report_definition` -> read `events.sqlVoParams` (each param's `paramName`, `paramType`, and for Selector the allowed `selectorItems` names) -> build the override array -> `+query_report_data --sql_params '[...]'`.
58
- - Override shape by `paramType` (read each param's current `quota`/`paramExpress`/`startTime`/`endTime` and the VO's `variableType`/`selectorItems` from `+get_report_definition`):
59
- - `Selector` — `{"paramName":"selector1","paramExpress":"<selectorName>"}`; `<selectorName>` must be one of the VO's `selectorItems`. No `quota`.
60
- - `Variable` — no `quota`; override `paramExpress` only. Quoting depends on the VO's `variableType`: a custom (`Normal`) variable is substituted verbatim, so include the quotes exactly as shown in the definition (e.g. `"paramExpress":"'2025-12-31'"`); a `TimeSelect` variable takes a bare value (the backend quotes it). `variableType` itself is a report-design property in `events.sqlVoParams` and is NOT changed by `--sql_params` (only the value is); the resulting SQL is the same regardless of `variableType` as long as the value is supplied with the right quoting.
61
- - `Text` — `quota` (operator) + `paramExpress`; supports all 12 operators in the table below. Setting only `paramExpress` while leaving the no-value default `quota` (e.g. `C04`) does NOT filter.
62
- - `Number` — `quota` (operator) + `paramExpress`; 9 numeric operators: `C00` IN / `C01` NOT IN / `C06` BETWEEN (array); `C02` < / `C03` > / `C020` <= / `C030` >= (single, numeric string); `C04` IS NOT NULL / `C05` IS NULL (no value). No LIKE/CONTAIN for numbers. E.g. `{"paramName":"num1","quota":"C06","paramExpress":["10","20"]}`.
63
- - `Time` — `quota` (operator) + time fields (NOT recentDay): `C020` <= (uses `endTime`) / `C030` >= (uses `startTime`) / `C06` BETWEEN by datetime (`startTime`+`endTime`) / `C060` BETWEEN by date (`startTime`+`endTime`) / `C04` IS NOT NULL / `C05` IS NULL (no value). To only change the range keep the report's range `quota` and set `startTime`+`endTime`; to change the operator also set `quota`.
64
- - `PartDate` — a date range; set `startTime`+`endTime`: `{"paramName":"date1","startTime":"yyyy-MM-dd HH:mm:ss","endTime":"yyyy-MM-dd HH:mm:ss"}`.
65
-
66
- `quota` operators (Text = all; Number = the non-LIKE subset; Time = comparison/range/null subset using time fields):
67
-
68
- | quota | operator | value |
69
- |---|---|---|
70
- | `C00` | IN | array `paramExpress` |
71
- | `C01` | NOT IN | array `paramExpress` |
72
- | `C06` | BETWEEN / 区间 | array `[min,max]` (Time: `startTime`+`endTime`) |
73
- | `C060` | BETWEEN by date / 日期区间 (Time only) | `startTime`+`endTime` |
74
- | `C02` / `C03` | `<` / `>` | single `paramExpress` |
75
- | `C020` / `C030` | `<=` / `>=` | single `paramExpress` (Time: `endTime` / `startTime`) |
76
- | `C30` / `C31` | LIKE / NOT LIKE (Text only) | single `paramExpress` |
77
- | `C300` | CONTAIN (`LIKE '%v%'`, Text only) | single `paramExpress` |
78
- | `C04` / `C05` | IS NOT NULL / IS NULL | no value (`C04` empty default = no filter) |
79
-
80
- - An unknown `paramName` (not present in the report) or malformed JSON returns an error.
81
-
82
- ## Decision Rules
83
- - `filters` / `group_by` cannot be written by hand based on experience alone: they must satisfy both the schema structure and the project's real metadata.
84
- - `list_events` / `list_properties` must be learned from the corresponding reference docs before calling them.
85
- - For the first run, include all required parameters (`--project_id`, `--report_ids`, `--request_id`) and add optional parameters after confirming the chain works.
86
- - Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
87
- - Wrap JSON parameters in single quotes (for example `--report_ids '{}'`, `--filters '{}'`) to avoid shell escaping issues.
88
- - When dates/time ranges are involved, validate with a short range first and then expand gradually.
89
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
90
-
91
- ## Next Step After Failure
92
- - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`, `--report_ids`, `--request_id`).
93
- - If `Invalid JSON` appears, first check the required schema fields, then verify that the event name/property name comes from metadata queried in the same `project_id`.
94
- - If the query times out or the result is abnormal, first reduce the time range/grouping dimensions, then split the query to locate the issue.
95
-
96
- ## Recommended Chaining
97
- - +get_filter_schema -> +get_groupby_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +query_report_data
98
- - (SQL-model report, override dynamic params) +get_report_definition -> +query_report_data --sql_params '[...]'
99
- - +list_reports -> +get_report_definition -> +query_report_data
@@ -1,31 +0,0 @@
1
- # analysis_audience +refresh_cluster (Trigger Cluster Recompute)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Cluster Management**
6
-
7
- ## Use Cases
8
- - Trigger cluster recomputation and submit an asynchronous refresh task.
9
-
10
- ## Commands
11
- ```bash
12
- ae-cli analysis_audience +refresh_cluster --project_id <project_id> --cluster_name demo
13
- ae-cli analysis_audience +refresh_cluster --dry-run
14
- ```
15
-
16
- ## Parameters
17
- | Parameter | Required | Description |
18
- |---|---|---|
19
- | `--project_id` / `-p` | Yes | Project ID |
20
- | `--cluster_name` | Yes | Cluster name |
21
-
22
- ## Decision Rules
23
- - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--cluster_name`) and add optional parameters after confirming the path works.
24
- - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
25
- - Write operations keep confirmation prompts by default; for automation scenarios, reevaluate whether to use `--yes`.
26
-
27
- ## Next Step on Failure
28
- - If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--cluster_name`).
29
-
30
- ## Recommended Chain
31
- - +list_clusters -> +get_clusters_by_name -> +update_cluster
@@ -1,31 +0,0 @@
1
- # analysis_audience +refresh_tag (Trigger Tag Recompute)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Tag Management**
6
-
7
- ## Use Cases
8
- - Trigger tag recomputation and submit an asynchronous refresh task.
9
-
10
- ## Commands
11
- ```bash
12
- ae-cli analysis_audience +refresh_tag --project_id <project_id> --tag_name demo
13
- ae-cli analysis_audience +refresh_tag --dry-run
14
- ```
15
-
16
- ## Parameters
17
- | Parameter | Required | Description |
18
- |---|---|---|
19
- | `--project_id` / `-p` | Yes | Project ID |
20
- | `--tag_name` | Yes | Tag name |
21
-
22
- ## Decision Rules
23
- - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--tag_name`) and add optional parameters after confirming the path works.
24
- - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
25
- - Write operations keep confirmation prompts by default; for automation scenarios, reevaluate whether to use `--yes`.
26
-
27
- ## Next Step on Failure
28
- - If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--tag_name`).
29
-
30
- ## Recommended Chain
31
- - +list_tags -> +get_tags_by_name -> +update_tag
@@ -1,24 +0,0 @@
1
- # analysis-meta super-metadata import
2
-
3
- Use when the user needs to pre-import and confirm-import super event and super property configuration.
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.
6
-
7
- Command:
8
-
9
- ```bash
10
- ae-cli analysis-meta super-metadata import --project-id <project_id> --payload '{}'
11
- ae-cli analysis-meta super-metadata import --dry-run
12
- ```
13
-
14
- Capability id: `metadata.super_metadata.import`.
15
-
16
- Input sends `project_id`, `payload`.
17
-
18
- Output is the gateway envelope. `data` contains the common-service capability result.
19
-
20
- ## Parameters
21
- | Parameter | Required | Description |
22
- |---|---|---|
23
- | `--project-id` | Yes | Numeric project ID. |
24
- | `--payload` | No | Optional capability payload JSON. |
@@ -1,61 +0,0 @@
1
- # analysis_audience +update_cluster (Update Cluster)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Cluster Management**
6
-
7
- ## Use Cases
8
- - Prerequisite helper: first call `+get_cluster_definition_schema` to get the structure, then supplement it with the project's real metadata (events and properties).
9
- - When updating `definition`, metadata must be verified in the same session and `project_id`: first definition update in this session must call `analysis_meta +list_events` and `analysis_meta +list_properties`; later updates should reuse session-verified results first.
10
- - Update a user cluster definition. Supports updating the display name, remark, type, or definition. Updating only the display name or remark does not trigger recomputation.
11
-
12
- ## Required Prerequisites (MUST only when updating definition)
13
- - If this request includes `--definition`, you must first read and follow these reference docs:
14
- - [`./get_cluster_definition_schema.md`](./get_cluster_definition_schema.md)
15
- - [`./list_events.md`](./list_events.md)
16
- - [`./list_properties.md`](./list_properties.md)
17
- - Do not submit a new `definition` until the above docs have been read and metadata has been verified: first definition update in this session for the same `project_id` must run metadata commands; if session-verified metadata already exists, reuse it first.
18
-
19
- ## Prerequisite Call Chain (run only when updating definition)
20
- 1. First determine `--type` (condition / sql).
21
- 2. Read `get_cluster_definition_schema.md`, then call `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type <condition|sql>` to obtain the structure progressively. Start with base mode; request `examples` only if base is insufficient; request `full` only for complex, ambiguous, or repeatedly failing definition updates.
22
- 3. Read `list_events.md`. If this is the first definition update in the current session for this `project_id` (or metadata is not yet verified), call `ae-cli analysis_meta +list_events --project_id <project_id>`; otherwise, reuse the session-verified event metadata first.
23
- 4. Read `list_properties.md`. If this is the first definition update in the current session for this `project_id` (or metadata is not yet verified), call `ae-cli analysis_meta +list_properties --project_id <project_id>`; otherwise, reuse the session-verified property metadata first.
24
- 5. Build the new `definition` based on the schema + metadata, then run `+update_cluster`.
25
-
26
- ## Commands
27
- ```bash
28
- ae-cli analysis_audience +update_cluster --project_id <project_id> --cluster_name demo --display_name "Demo v2"
29
- ae-cli analysis_audience +update_cluster --project_id <project_id> --cluster_name demo --type condition --definition '{}' --zone_offset 8
30
- ae-cli analysis_audience +update_cluster --dry-run
31
- ```
32
-
33
- ## Parameters
34
- | Parameter | Required | Description |
35
- |---|---|---|
36
- | `--project_id` / `-p` | Yes | Project ID |
37
- | `--cluster_name` | Yes | Cluster name |
38
- | `--display_name` | No | New cluster display name. Length: 1-80 |
39
- | `--remark` | No | New cluster remark |
40
- | `--type` | No | New cluster type. Supported values: condition and sql. It is recommended to provide this when updating the definition. |
41
- | `--definition` | No | New cluster definition JSON. If provided, MUST call `+get_cluster_definition_schema` first, then fill valid event/property names from metadata verified in the same `project_id` (first definition update queries `analysis_meta` metadata commands; later updates in the same session should reuse verified results first). |
42
- | `--zone_offset` | No | Optional time zone offset for cluster computation. Valid range: -12 to 14 (supports decimals like 5.5). |
43
-
44
- ## Decision Rules
45
- - If you are not updating `definition` (only updating `display_name`/`remark`), you can skip the schema and metadata prerequisite chain.
46
- - When updating `definition`, it cannot be written from experience alone; it must satisfy both the schema structure and the project's real metadata.
47
- - Use progressive schema loading: base first, examples only when needed, full only as a last resort. Do not request full schema for simple cluster updates when the intent is clear.
48
- - Before calling `list_events` / `list_properties`, you must first read the corresponding reference docs. Query metadata on the first definition update in this session for the same `project_id`; after that, prefer reusing session-verified metadata.
49
- - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--cluster_name`) and add optional parameters after confirming the path works.
50
- - Wrap JSON parameters in single quotes (e.g. `--definition '{}'`) to avoid shell escaping issues.
51
- - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
52
- - Write operations keep confirmation prompts by default; for automation scenarios, reevaluate whether to use `--yes`.
53
-
54
- ## Next Step on Failure
55
- - If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--cluster_name`).
56
- - If `Invalid JSON` appears, first check whether a schema-required field is missing, then verify whether event/property names come from the same `project_id`'s metadata query results.
57
- - If the result after writing is not as expected, immediately re-read the corresponding list/get interfaces and compare before and after.
58
-
59
- ## Recommended Chain
60
- - +get_cluster_definition_schema -> (first definition update or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +update_cluster
61
- - +list_clusters -> +get_clusters_by_name -> +update_cluster
@@ -1,45 +0,0 @@
1
- # analysis +update_dashboard (update dashboard)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Dashboard Management**
6
-
7
- ## Use Cases
8
- - Update dashboard metadata. Supports three operations (all optional):
9
- - (1) Rename dashboard
10
- - (2) Add associated reports (append mode)
11
- - (3) Replace share members (full replacement mode)
12
- - Important constraints:
13
- - Before replacing share members: call query_dashboard_detail first
14
- - When managing members: call list_project_users to get valid userId mappings
15
- - Update dashboard metadata.
16
-
17
- ## Commands
18
- ```bash
19
- ae-cli analysis +update_dashboard --project_id <project_id> --dashboard_id 1
20
- ae-cli analysis +update_dashboard --project_id <project_id> --dashboard_id 1 --dashboard_name demo --report_ids '[1001]' --member_authorities '{"1001":"READ"}'
21
- ae-cli analysis +update_dashboard --dry-run
22
- ```
23
-
24
- ## Parameters
25
- | Parameter | Required | Description |
26
- |---|---|---|
27
- | `--project_id` / `-p` | Yes | Project ID |
28
- | `--dashboard_id` / `-d` | Yes | Dashboard ID |
29
- | `--dashboard_name` | No | New dashboard name. If provided, updates the dashboard name. |
30
- | `--report_ids` | No | List of report IDs to associate with the dashboard. Reports not already associated will be added (append mode, not a full replacement). |
31
- | `--member_authorities` | No | Map of member userId to permissions (READ, EDIT, MAINTAIN). Full replacement mode — existing members not in this map will be removed. |
32
-
33
- ## Decision Rules
34
- - For the first run, it is recommended to pass only the required parameters (`--project_id`, `--dashboard_id`) and add optional parameters after confirming the chain works.
35
- - Wrap JSON parameters in single quotes (for example `--report_ids '{}'`, `--member_authorities '{}'`) to avoid shell escaping issues.
36
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
37
- - Write operations keep the confirmation prompt by default; evaluate whether to use `--yes` only for automation scenarios.
38
-
39
- ## Next Step After Failure
40
- - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`, `--dashboard_id`).
41
- - If `Invalid JSON` appears, first validate with the smallest JSON structure (for example `{}` or `[]`), then add fields gradually.
42
- - If the result after writing is not as expected, immediately reread the corresponding list/get interface and compare before and after.
43
-
44
- ## Recommended Chaining
45
- - +list_dashboards -> +query_dashboard_detail -> +query_dashboard_report_data