@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,54 +0,0 @@
1
- # analysis +build_heat_map_analysis_qp (Build Heatmap Analysis QP)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated heatmap-analysis QP from structured heatmap intent.
9
- - Heatmap analysis visualizes user interaction intensity on a 2D coordinate plane (e.g. screen position).
10
- - Use in the mandatory builder flow before `+query_adhoc --model_type heat_map`.
11
- - This command builds QP only and does not execute the analysis query.
12
-
13
- ## JSON Rules
14
- - CLI flags use snake_case, but JSON object keys use camelCase.
15
- - `--heat_map` is a JSON object. Required fields: `hotEvent`, `hotAggregation`, `xProp`, `yProp`.
16
- - `xProp` and `yProp` must be numeric event properties (e.g. screen_width, screen_height, x_position, y_position).
17
- - Wrap JSON in single quotes in shell commands.
18
-
19
- ## Command Syntax
20
- ```bash
21
- ae-cli analysis +build_heat_map_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --heat_map '<heat_map_json>'
22
- ```
23
-
24
- ## Parameters
25
- | Parameter | Required | Description |
26
- |---|---|---|
27
- | `--project_id` / `-p` | Yes | Project ID |
28
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
29
- | `--time_range` | Yes | Time range JSON |
30
- | `--heat_map` | Yes | Heatmap intent JSON |
31
-
32
- ## JSON Shape
33
- `--heat_map` object:
34
- ```json
35
- {"hotEvent":"screen_tap","hotAggregation":"A100","xProp":"x_position","yProp":"y_position"}
36
- ```
37
-
38
- Optional fields in `--heat_map`:
39
- - `hotProperty`: required when hotAggregation is property-based (A103/A104 etc.)
40
- - `filters`: event filters array
41
- - `relation`: filter relation (and / or)
42
-
43
- ## Examples
44
- ```bash
45
- ae-cli analysis +build_heat_map_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --heat_map '{"hotEvent":"screen_tap","hotAggregation":"A100","xProp":"x_position","yProp":"y_position"}'
46
- ```
47
-
48
- ## Decision Rules
49
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
50
- - After successful build (`status=generated`), call `+query_adhoc --model_type heat_map --qp '<response.qp>'`.
51
- - If non-generated status, stop and ask user to clarify.
52
-
53
- ## Recommended Chain
54
- - `+build_heat_map_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type heat_map --qp '<response.qp>'`
@@ -1,60 +0,0 @@
1
- # analysis +build_interval_analysis_qp (Build Interval Analysis QP)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated interval-analysis QP from structured interval intent.
9
- - Interval analysis measures the time elapsed between an initial event and a return event per user.
10
- - Use in the mandatory builder flow before `+query_adhoc --model_type interval`.
11
- - This command builds QP only and does not execute the analysis query.
12
-
13
- ## JSON Rules
14
- - CLI flags use snake_case, but JSON object keys use camelCase.
15
- - `--interval` is a JSON object. Required fields: `initialEvent`, `returnEvent`, `window` (`{value, unit}`).
16
- - `window.unit`: second / minute / hour / day / week / month.
17
- - Wrap JSON in single quotes in shell commands.
18
- - Do not call `list_events` or `list_properties` before this builder for normal ad-hoc analysis.
19
-
20
- ## Command Syntax
21
- ```bash
22
- ae-cli analysis +build_interval_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --interval '<interval_json>'
23
- ae-cli analysis +build_interval_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --interval '<interval_json>' --relation and --time_particle_size day
24
- ```
25
-
26
- ## Parameters
27
- | Parameter | Required | Description |
28
- |---|---|---|
29
- | `--project_id` / `-p` | Yes | Project ID |
30
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
31
- | `--time_range` | Yes | Time range JSON |
32
- | `--interval` | Yes | Interval intent JSON |
33
- | `--relation` | No | Filter relation for top-level filters. Values: and, or. Default: and. |
34
- | `--time_particle_size` | No | Time granularity. Allowed values: day, week, month. Defaults to day. |
35
-
36
- ## JSON Shape
37
- `--interval` object:
38
- ```json
39
- {"initialEvent":"login","returnEvent":"purchase","window":{"value":7,"unit":"day"}}
40
- ```
41
-
42
- Optional fields in `--interval`:
43
- - `relationEventPropertyName`: shared relation property for both events
44
- - `groups`: group-by dimensions array
45
- - `filters`: global filters array
46
- - `initialFilters` / `returnFilters`: event-level filters (event properties only)
47
- - `initialFilterRelation` / `returnFilterRelation`: and / or
48
-
49
- ## Examples
50
- ```bash
51
- ae-cli analysis +build_interval_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --interval '{"initialEvent":"login","returnEvent":"purchase","window":{"value":7,"unit":"day"}}'
52
- ```
53
-
54
- ## Decision Rules
55
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
56
- - After successful build (`status=generated`), call `+query_adhoc --model_type interval --qp '<response.qp>'`.
57
- - If non-generated status, stop and ask user to clarify.
58
-
59
- ## Recommended Chain
60
- - `+build_interval_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type interval --qp '<response.qp>'`
@@ -1,53 +0,0 @@
1
- # analysis +build_path_analysis_qp (Build Path Analysis QP)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated path-analysis QP from structured path intent.
9
- - Path analysis visualizes user navigation flows between events within a session.
10
- - Use in the mandatory builder flow before `+query_adhoc --model_type path`.
11
- - This command builds QP only and does not execute the analysis query.
12
-
13
- ## JSON Rules
14
- - CLI flags use snake_case, but JSON object keys use camelCase.
15
- - `--path` is a JSON object. Required fields: `sourceEvent`, `eventNames` (array), `sessionInterval`, `sessionUnit`.
16
- - `sessionUnit`: second / minute / hour.
17
- - `sourceType`: 0=forward path (after source event, default), 1=backward path (before source event).
18
- - Wrap JSON in single quotes in shell commands.
19
-
20
- ## Command Syntax
21
- ```bash
22
- ae-cli analysis +build_path_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --path '<path_json>'
23
- ```
24
-
25
- ## Parameters
26
- | Parameter | Required | Description |
27
- |---|---|---|
28
- | `--project_id` / `-p` | Yes | Project ID |
29
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
30
- | `--time_range` | Yes | Time range JSON |
31
- | `--path` | Yes | Path intent JSON |
32
-
33
- ## JSON Shape
34
- `--path` object:
35
- ```json
36
- {"sourceEvent":"login","eventNames":["login","view_product","purchase"],"sessionInterval":30,"sessionUnit":"minute"}
37
- ```
38
-
39
- Optional fields in `--path`:
40
- - `sourceType`: 0=forward (default), 1=backward
41
-
42
- ## Examples
43
- ```bash
44
- ae-cli analysis +build_path_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --path '{"sourceEvent":"login","eventNames":["login","view_product","purchase"],"sessionInterval":30,"sessionUnit":"minute"}'
45
- ```
46
-
47
- ## Decision Rules
48
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
49
- - After successful build (`status=generated`), call `+query_adhoc --model_type path --qp '<response.qp>'`.
50
- - If non-generated status, stop and ask user to clarify.
51
-
52
- ## Recommended Chain
53
- - `+build_path_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type path --qp '<response.qp>'`
@@ -1,124 +0,0 @@
1
- # analysis +build_prop_analysis_qp (build property analysis qp)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated `prop_analysis` QP from structured intent.
9
- - Use in the mandatory builder flow before `+query_adhoc --model_type prop_analysis`.
10
- - This command builds QP only and does not execute the analysis query.
11
- - This is the `prop_analysis` builder in the ten-model guided QP builder set.
12
- - Use this builder for property-analysis ad hoc requests; do not manually build prop_analysis QP through `+get_analysis_query_schema`.
13
-
14
- ## JSON Rules
15
- - CLI flags use snake_case, but JSON object keys use camelCase DTO names.
16
- - `prop_analysis` does not use `time_range`; do not pass time range to this command.
17
- - `event_property` is not supported anywhere in `prop_analysis` fields.
18
- - Field types for `groups`, `filters`, and `userCrowds[].filters` are limited to `user_property`, `cluster`, and `tag`.
19
- - Do not run syntax examples with placeholder JSON. Fill `prop_analysis` with a valid metric and optional filters/groups before calling this command.
20
- - `--dry-run` still requires the same required flags as a real builder call. Never run this command as dry-run without `--project_id` and `--prop_analysis`.
21
- - Do not call `get_analysis_query_schema`, `list_properties`, `list_metrics`, or `get_metric` before this builder for normal ad-hoc analysis. The builder resolves user properties internally.
22
- - Builder commands do not accept `zone_offset`; pass `--zone_offset` to `+query_adhoc` after the builder succeeds if needed.
23
- - If the request misses the metric or asks for event properties, stop and ask the user to clarify.
24
-
25
- ## Command Syntax
26
- ```bash
27
- ae-cli analysis +build_prop_analysis_qp --project_id <project_id> --prop_analysis '<valid_prop_analysis_json>'
28
- ae-cli analysis +build_prop_analysis_qp --project_id <project_id> --prop_analysis '<valid_prop_analysis_json>' --dry-run
29
- ```
30
-
31
- ## Parameters
32
- | Parameter | Required | Description |
33
- |---|---|---|
34
- | `--project_id` / `-p` | Yes | Project ID |
35
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
36
- | `--prop_analysis` | Yes | User property analysis intent JSON |
37
-
38
- ## JSON Shape
39
- `--prop_analysis` object:
40
- ```json
41
- {
42
- "metric":{"aggregation":"user_count"},
43
- "groups":[{"field":{"name":"城市","type":"user_property"}}],
44
- "filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}],
45
- "relation":"and",
46
- "userCrowds":[
47
- {"name":"账户ID有值用户","filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}]}
48
- ]
49
- }
50
- ```
51
-
52
- Prop analysis fields:
53
- | Field | Required | Description |
54
- |---|---|---|
55
- | `metric` | Yes | Single metric object |
56
- | `groups` | No | User property / cluster / tag group-by fields |
57
- | `filters` | No | User property / cluster / tag filters |
58
- | `relation` | No | Relation between top-level filters: `and` or `or`. Default: `and`. |
59
- | `userCrowds` | No | Optional user crowd comparisons |
60
-
61
- Metric fields:
62
- | Field | Required | Description |
63
- |---|---|---|
64
- | `aggregation` | Yes | `user_count`, `sum`, `avg`, `max`, `min`, `distinct_count`, `true_count`, `false_count`, `not_empty_count`, `empty_count`, `median`, `percentile`, `variance`, `stddev` |
65
- | `property` | Required except `user_count` | User property display name, technical name, or remark |
66
-
67
- Field object:
68
- ```json
69
- {"name":"城市","type":"user_property"}
70
- ```
71
-
72
- Allowed field types:
73
- | Type | Meaning |
74
- |---|---|
75
- | `user_property` | User property |
76
- | `cluster` | User cluster |
77
- | `tag` | User tag |
78
-
79
- Filter object:
80
- ```json
81
- {"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}
82
- ```
83
-
84
- User crowd object:
85
- ```json
86
- {"name":"付费用户","filters":[{"field":{"name":"是否付费","type":"user_property"},"operator":"is_true"}],"relation":"and"}
87
- ```
88
-
89
- Filter operator rules:
90
- | Operator | Values |
91
- |---|---|
92
- | `exists`, `not_exists`, `is_true`, `is_false` | Omit `values` |
93
- | `between` | Exactly two values |
94
- | `eq`, `neq`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `regex`, `not_regex` | Non-empty `values` array |
95
- | `in_cluster`, `not_in_cluster` | Cluster operator; values are not required by builder validation |
96
-
97
- ## Examples
98
- Minimal user count:
99
- ```bash
100
- ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"user_count"}}'
101
- ```
102
-
103
- User property average grouped by city:
104
- ```bash
105
- ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"avg","property":"余额"},"groups":[{"field":{"name":"城市","type":"user_property"}}],"filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}]}'
106
- ```
107
-
108
- User crowds with OR filter:
109
- ```bash
110
- ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"user_count"},"filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"},{"field":{"name":"城市","type":"user_property"},"operator":"exists"}],"relation":"or","userCrowds":[{"name":"账户或城市有值","filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"},{"field":{"name":"城市","type":"user_property"},"operator":"exists"}],"relation":"or"}]}'
111
- ```
112
-
113
- ## Decision Rules
114
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
115
- - After successful build, call `+query_adhoc --model_type prop_analysis --qp '<response.qp>'`.
116
- - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
117
- - Wrap JSON parameters in single quotes to avoid shell escaping issues.
118
- - Do not pre-query metrics or metadata. Pass user-provided property names to the builder and let it resolve them.
119
- - Do not use `event_property` in prop_analysis. If the user asks for event property analysis, switch to event/funnel/retention builder or ask for clarification.
120
- - If `userCrowds` is used, at most one group dimension is supported.
121
- - If the user gave a time zone, keep it for `+query_adhoc --zone_offset`; do not put it in the builder JSON.
122
-
123
- ## Recommended Chaining
124
- - `+build_prop_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type prop_analysis --qp '<response.qp>'`
@@ -1,63 +0,0 @@
1
- # analysis +build_rank_list_analysis_qp (Build Rank List Analysis QP)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated rank-list-analysis QP from structured rank list intent.
9
- - Rank list analysis ranks entities (users, items, etc.) by a metric value.
10
- - Use in the mandatory builder flow before `+query_adhoc --model_type rank_list`.
11
- - This command builds QP only and does not execute the analysis query.
12
-
13
- ## JSON Rules
14
- - CLI flags use snake_case, but JSON object keys use camelCase.
15
- - `--rank_list` is a JSON object. Required fields: `rankDimension` (with `field`), `rankEvent`, `rankAggregation`.
16
- - `rankType` values: `rank`=standard (1,2,2,4), `dense_rank`=dense (1,2,2,3), `row_rank`=unique (1,2,3,4). Defaults to `row_rank`.
17
- - `orderBy`: `DESC`=highest first (default), `ASC`=lowest first.
18
- - Wrap JSON in single quotes in shell commands.
19
-
20
- ## Command Syntax
21
- ```bash
22
- ae-cli analysis +build_rank_list_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --rank_list '<rank_list_json>'
23
- ```
24
-
25
- ## Parameters
26
- | Parameter | Required | Description |
27
- |---|---|---|
28
- | `--project_id` / `-p` | Yes | Project ID |
29
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
30
- | `--time_range` | Yes | Time range JSON |
31
- | `--rank_list` | Yes | Rank list intent JSON |
32
-
33
- ## JSON Shape
34
- `--rank_list` object:
35
- ```json
36
- {
37
- "rankDimension": {"field": {"name": "#account_id", "type": "user_property"}},
38
- "rankEvent": "purchase",
39
- "rankAggregation": "A103",
40
- "rankProperty": "amount",
41
- "orderBy": "DESC"
42
- }
43
- ```
44
-
45
- Optional fields in `--rank_list`:
46
- - `rankProperty`: required when rankAggregation is property-based (A103/A104/A106/A107/A108 etc.)
47
- - `rankType`: rank / dense_rank / row_rank (default)
48
- - `orderBy`: DESC (default) / ASC
49
- - `filters`: global filters array
50
- - `relation`: filter relation (and / or)
51
-
52
- ## Examples
53
- ```bash
54
- ae-cli analysis +build_rank_list_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --rank_list '{"rankDimension":{"field":{"name":"#account_id","type":"user_property"}},"rankEvent":"purchase","rankAggregation":"A101","orderBy":"DESC"}'
55
- ```
56
-
57
- ## Decision Rules
58
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
59
- - After successful build (`status=generated`), call `+query_adhoc --model_type rank_list --qp '<response.qp>'`.
60
- - If non-generated status, stop and ask user to clarify.
61
-
62
- ## Recommended Chain
63
- - `+build_rank_list_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type rank_list --qp '<response.qp>'`
@@ -1,143 +0,0 @@
1
- # analysis +build_retention_analysis_qp (build retention analysis qp)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Model Analysis**
6
-
7
- ## Use Cases
8
- - Build a validated retention-analysis QP from structured intent.
9
- - Use in the mandatory builder flow before `+query_adhoc --model_type retention`.
10
- - This command builds QP only and does not execute the analysis query.
11
- - This is the `retention` builder in the ten-model guided QP builder set.
12
- - Use this builder for retention ad hoc requests; do not manually build retention QP through `+get_analysis_query_schema`.
13
-
14
- ## JSON Rules
15
- - CLI flags use snake_case, but JSON object keys use camelCase DTO names.
16
- - Correct nested keys: `initialEvent`, `returnEvent`, `unitNum`, `rtnRateOrNum`, `relationEventPropertyName`, `initialFilters`, `returnFilters`, `initialFilterRelation`, `returnFilterRelation`.
17
- - Initial/return event filters are event-property-only and use `eventPropertyName`; they do not use the generic `field` object.
18
- - Retention global filters and groups use the generic `field` object.
19
- - Do not run syntax examples with placeholder JSON. Fill `time_range` and `retention` with valid nested fields before calling this command.
20
- - `--dry-run` still requires the same required flags as a real builder call. Never run this command as dry-run without `--project_id`, `--time_range`, and `--retention`.
21
- - Do not call `get_analysis_query_schema`, `list_events`, `list_properties`, `list_metrics`, or `get_metric` before this builder for normal ad-hoc analysis. The builder resolves events and properties internally.
22
- - Builder commands do not accept `zone_offset`; pass `--zone_offset` to `+query_adhoc` after the builder succeeds.
23
- - If the request misses time range, initial event, return event, or retention interval, stop and ask the user to clarify.
24
-
25
- ## Command Syntax
26
- ```bash
27
- ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>'
28
- ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>' --relation and --time_particle_size day
29
- ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>' --dry-run
30
- ```
31
-
32
- ## Parameters
33
- | Parameter | Required | Description |
34
- |---|---|---|
35
- | `--project_id` / `-p` | Yes | Project ID |
36
- | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
37
- | `--time_range` | Yes | Retention analysis time range JSON |
38
- | `--retention` | Yes | Retention intent JSON |
39
- | `--relation` | No | Top-level retention filter relation. Supported values: and, or. Default: and |
40
- | `--time_particle_size` | No | Time granularity. Supported values: day, week, month |
41
-
42
- ## JSON Shape
43
- `--time_range` object:
44
- ```json
45
- {"mode":"start_to_yesterday","startTime":"2021-05-18"}
46
- ```
47
-
48
- Time range fields:
49
- | Field | Required | Description |
50
- |---|---|---|
51
- | `mode` | Yes | `recent`, `previous`, `custom`, `start_to_today`, `start_to_yesterday` |
52
- | `unit` | For `recent`/`previous` | `day`, `week`, `month`, `quarter`, `year` |
53
- | `value` | For `recent`/`previous` | Unit count. `{"mode":"previous","unit":"day","value":1}` means yesterday. |
54
- | `startTime` | For `custom`/`start_to_*` | `yyyy-MM-dd` or `yyyy-MM-dd HH:mm:ss` |
55
- | `endTime` | For `custom` only | `yyyy-MM-dd` or `yyyy-MM-dd HH:mm:ss` |
56
-
57
- `--retention` object:
58
- ```json
59
- {
60
- "initialEvent":"注册",
61
- "returnEvent":"商品购买",
62
- "unitNum":7,
63
- "statType":"retention",
64
- "rtnRateOrNum":"R0",
65
- "relationEventPropertyName":"账户ID",
66
- "initialFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],
67
- "returnFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],
68
- "filters":[{"field":{"name":"城市","type":"event_property"},"operator":"exists"}],
69
- "groups":[{"field":{"name":"渠道","type":"user_property"}}]
70
- }
71
- ```
72
-
73
- Retention fields:
74
- | Field | Required | Description |
75
- |---|---|---|
76
- | `initialEvent` | Yes | Initial event display name, technical name, or remark |
77
- | `returnEvent` | Yes | Return event display name, technical name, or remark |
78
- | `unitNum` | Yes | Retention interval count, such as `1` for day-1 or `7` for day-7 |
79
- | `statType` | No | `retention` for retained users or `lost` for lost users |
80
- | `rtnRateOrNum` | No | `R0`, `rate`, or `retention` for rate; `R1`, `number`, or `count` for user count. Default: `R0`. |
81
- | `relationEventPropertyName` | No | Event property shared by initial event, return event, and simultaneous metrics |
82
- | `simultaneousMetrics` | No | Extra retention display metrics |
83
- | `groups` | No | Generic group-by dimensions |
84
- | `filters` | No | Generic retention filters |
85
- | `initialFilters` | No | Event-property-only filters for initial event |
86
- | `initialFilterRelation` | No | Relation for `initialFilters`: `and` or `or` |
87
- | `returnFilters` | No | Event-property-only filters for return event |
88
- | `returnFilterRelation` | No | Relation for `returnFilters`: `and` or `or` |
89
-
90
- Initial/return event filter object:
91
- ```json
92
- {"eventPropertyName":"账户ID","operator":"exists"}
93
- ```
94
-
95
- Generic filter object for `retention.filters`:
96
- ```json
97
- {"field":{"name":"城市","type":"event_property"},"operator":"exists"}
98
- ```
99
-
100
- Group object:
101
- ```json
102
- {"field":{"name":"渠道","type":"user_property"}}
103
- ```
104
-
105
- Metric object for `simultaneousMetrics`:
106
- ```json
107
- {"event":"商品购买","aggregation":"user_count"}
108
- ```
109
-
110
- Supported aggregations:
111
- `total_count`, `user_count`, `per_user_count`, `sum`, `avg`, `avg_per_user`, `max`, `min`, `distinct_count`, `true_count`, `false_count`, `not_empty_count`, `empty_count`, `median`, `percentile`, `variance`, `stddev`.
112
-
113
- Filter operator rules:
114
- | Operator | Values |
115
- |---|---|
116
- | `exists`, `not_exists`, `is_true`, `is_false` | Omit `values` |
117
- | `between` | Exactly two values |
118
- | `eq`, `neq`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `regex`, `not_regex` | Non-empty `values` array |
119
- | `in_cluster`, `not_in_cluster` | Cluster operator; values are not required by builder validation |
120
-
121
- ## Examples
122
- Minimal day-7 retention:
123
- ```bash
124
- ae-cli analysis +build_retention_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --retention '{"initialEvent":"注册","returnEvent":"商品购买","unitNum":7}'
125
- ```
126
-
127
- Retention with relation property and event-level filters:
128
- ```bash
129
- ae-cli analysis +build_retention_analysis_qp --project_id 3137 --time_range '{"mode":"start_to_yesterday","startTime":"2021-05-18"}' --retention '{"initialEvent":"special_data","returnEvent":"商品购买","unitNum":7,"relationEventPropertyName":"账户ID","initialFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],"returnFilters":[{"eventPropertyName":"账户ID","operator":"exists"},{"eventPropertyName":"城市","operator":"exists"}],"returnFilterRelation":"or","filters":[{"field":{"name":"账户ID","type":"event_property"},"operator":"exists"},{"field":{"name":"城市","type":"event_property"},"operator":"exists"}],"groups":[{"field":{"name":"账户ID","type":"event_property"}}]}' --relation or --time_particle_size day
130
- ```
131
-
132
- ## Decision Rules
133
- - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
134
- - After successful build, call `+query_adhoc --model_type retention --qp '<response.qp>'`.
135
- - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
136
- - Wrap JSON parameters in single quotes to avoid shell escaping issues.
137
- - Do not pre-query metrics or metadata. Pass user-provided event/property names to the builder and let it resolve them.
138
- - Do not put global filter relation inside `retention`; pass it as top-level CLI flag `--relation`.
139
- - For overall/totals retention, omit `--time_particle_size`; only set it when user asks for day/week/month breakdown.
140
- - If the user gave a time zone, keep it for `+query_adhoc --zone_offset`; do not put it in the builder JSON.
141
-
142
- ## Recommended Chaining
143
- - `+build_retention_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type retention --qp '<response.qp>'`
@@ -1,65 +0,0 @@
1
- # analysis_audience +build_tag_definition (Build Tag Definition)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Tag Management**
6
-
7
- ## Use Cases
8
-
9
- - Build a tag definition JSON from structured intent. Call this before `+create_tag` or `+update_tag` to generate the `definition` field.
10
- - Supported types: `condition` (multi-value), `metric` (event metric), `first_last` (first/last occurrence), `sql`.
11
- - For condition/metric/first_last types, event and property names are resolved from project metadata — do not guess.
12
- - On success, pass the returned definition to `+create_tag` or `+update_tag`.
13
-
14
- ## Required Prerequisites (MUST)
15
-
16
- - Before calling this command, you must first read and follow these reference docs:
17
- - [`./get_tag_definition_schema.md`](./get_tag_definition_schema.md)
18
- - [`./list_events.md`](./list_events.md)
19
- - [`./list_properties.md`](./list_properties.md)
20
- - Do not construct `--condition_values` / `--metric` / `--first_last` until the schema has been read and metadata has been verified for the same `project_id`.
21
-
22
- ## Commands
23
-
24
- ```bash
25
- ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type condition --condition_values '[]'
26
- ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type metric --metric '{}'
27
- ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type first_last --first_last '{}'
28
- ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type sql --sql 'SELECT "#user_id", tag_value FROM ...'
29
- ae-cli analysis_audience +build_tag_definition --dry-run
30
- ```
31
-
32
- ## Parameters
33
-
34
- | Parameter | Required | Description |
35
- | --------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
36
- | `--project_id` / `-p` | Yes | Project ID |
37
- | `--authenticated_only` | No | Resolve only authenticated assets while building the definition. |
38
- | `--type` | Yes | Tag type. Supported values: `condition`, `metric`, `first_last`, `sql` |
39
- | `--condition_values` | No | For type=condition: list of tag value definitions JSON array. Each item defines a segment label and its conditions. See `+get_tag_definition_schema` for the structure. |
40
- | `--metric` | No | For type=metric: metric definition JSON. Fields: `eventName`, `analysis`, `quota` (property name), `recentDay`/`startTime`/`endTime`. |
41
- | `--first_last` | No | For type=first_last: first/last occurrence definition JSON. Fields: `eventName`, `firstEvent` (true=first, false=last), `calcPropType`, `property`, `recentDay`/`startTime`/`endTime`. |
42
- | `--sql` | No | For type=sql: SQL query returning two columns: `#user_id` and the tag value. |
43
-
44
- ## Decision Rules
45
- - Use `--authenticated_only true` when the definition should only resolve authenticated events/properties/metrics/clusters/tags.
46
-
47
- - Determine `--type` first, then pass only the corresponding parameter.
48
- - For type=condition, `--condition_values` is effectively required.
49
- - For type=metric, `--metric` is effectively required.
50
- - For type=first_last, `--first_last` is effectively required.
51
- - For type=sql, only `--sql` is needed; other type-specific parameters are ignored.
52
- - Event and property names must come from session-verified metadata (`analysis_meta +list_events` / `+list_properties` for the same `project_id`).
53
- - Do not guess event or property names — always verify against real metadata first.
54
- - Wrap JSON parameters in single quotes (e.g. `--condition_values '[]'`) to avoid shell escaping issues.
55
- - Run `--dry-run` first to inspect the request mapping before making the actual call.
56
-
57
- ## Next Step on Failure
58
-
59
- - If required parameters are missing, check that `--project_id` and `--type` are provided.
60
- - If the returned definition is rejected by `+create_tag` or `+update_tag`, re-read `+get_tag_definition_schema` with `--response_mode examples` and verify metadata names again.
61
-
62
- ## Recommended Chain
63
-
64
- - `+get_tag_definition_schema` → (first build/update in session or refresh) `analysis_meta +list_events` → `analysis_meta +list_properties` → `+build_tag_definition` → `+create_tag`
65
- - `+get_tag_definition_schema` → (first build/update in session or refresh) `analysis_meta +list_events` → `analysis_meta +list_properties` → `+build_tag_definition` → `+update_tag`
@@ -1,33 +0,0 @@
1
- # analysis +copy_dashboard (Copy 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
- - Copy a dashboard to a new dashboard, optionally copying its associated reports.
9
- - To place the copy in a specific space or folder, provide `--to_space_id` or `--to_folder_id`. Use `+list_spaces` to resolve these IDs.
10
-
11
- ## Commands
12
- ```bash
13
- ae-cli analysis_audience +copy_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --dashboard_name "Copy of Dashboard"
14
- ae-cli analysis_audience +copy_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --dashboard_name "Copy of Dashboard" --report_copy true --to_space_id <space_id>
15
- ae-cli analysis_audience +copy_dashboard --dry-run
16
- ```
17
-
18
- ## Parameters
19
- | Parameter | Required | Description |
20
- |---|---|---|
21
- | `--project_id` / `-p` | Yes | Project ID |
22
- | `--dashboard_id` | Yes | Source dashboard ID to copy |
23
- | `--dashboard_name` | Yes | Name for the new copied dashboard |
24
- | `--report_copy` | No | Whether to also copy associated reports. Defaults to false. |
25
- | `--to_space_id` | No | Target space ID. Omit to use the default location. |
26
- | `--to_folder_id` | No | Target folder ID inside the target space. Omit to place at the space root. |
27
-
28
- ## Decision Rules
29
- - Call `+list_spaces` first when the user wants to place the copy in a specific space or folder.
30
- - Returns the new dashboard ID and name on success.
31
-
32
- ## Recommended Chain
33
- - `+list_dashboards` -> `+list_spaces` -> `+copy_dashboard` -> `analysis_common +get_resource_url`