@thinkingai/ae-cli 6.1.20 → 6.1.23

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 (338) hide show
  1. package/README.md +2 -1
  2. package/README.zh.md +2 -1
  3. package/dist/{auth-FUM37MHF.js → auth-XZNXFRJS.js} +5 -5
  4. package/dist/{capability-AXFQW5WM.js → capability-FYTU3X6L.js} +42 -12
  5. package/dist/{chunk-LNZBEQXW.js → chunk-4NRCTUZJ.js} +27041 -474
  6. package/dist/{chunk-VXNMYUXU.js → chunk-57RRFUEZ.js} +23 -7
  7. package/dist/{chunk-WZ6YVQSF.js → chunk-7FTTULED.js} +1 -1
  8. package/dist/{chunk-ATSM5XAW.js → chunk-7XGFSUOM.js} +2 -2
  9. package/dist/chunk-CCS66K4K.js +155 -0
  10. package/dist/{chunk-I4WQAEYB.js → chunk-DVMLWQD4.js} +8 -186
  11. package/dist/{chunk-CZU3V3DQ.js → chunk-DX5CDO34.js} +27 -6
  12. package/dist/chunk-EQ255HKO.js +38248 -0
  13. package/dist/{chunk-BBEFP4SB.js → chunk-HBGADCKA.js} +3 -3
  14. package/dist/{chunk-QJQZH5GQ.js → chunk-HFGZGYCG.js} +10 -6
  15. package/dist/{chunk-ECBLHAZO.js → chunk-JOCDD4ON.js} +1 -1
  16. package/dist/{chunk-TKHSULJT.js → chunk-KPQY44JQ.js} +6 -0
  17. package/dist/{chunk-4P355ZWB.js → chunk-MAPZ7VB6.js} +21 -1
  18. package/dist/chunk-V2NUHPXF.js +196 -0
  19. package/dist/{chunk-RSG4ONOI.js → chunk-VYXXOKYS.js} +5 -5
  20. package/dist/{community-report-client-XXWGSBSD.js → community-report-client-CU22W53K.js} +1 -1
  21. package/dist/{config-EXUGQN5T.js → config-XO3LI3SA.js} +4 -4
  22. package/dist/context-IFJI3LIT.js +46 -0
  23. package/dist/{data-integration-4NZ53OMT.js → data-integration-HNGUKFIC.js} +44 -35
  24. package/dist/index.js +101 -64
  25. package/dist/{local-data-upload-client-KYOKVYZV.js → local-data-upload-client-GTRIT64F.js} +3 -2
  26. package/dist/{memory-ATNKZNW5.js → memory-QGPSNCQS.js} +4 -4
  27. package/dist/{metadata-VZVC7YMH.js → metadata-DI5BMYFU.js} +8 -8
  28. package/dist/{model-E4JMQ4V2.js → model-RNPQXIBI.js} +4 -4
  29. package/dist/{personal-semantic-preference-7S2SQ3UV.js → personal-semantic-preference-5C3WUXFI.js} +11 -8
  30. package/dist/{project-semantic-2SZP2OPO.js → project-semantic-3LF6Q6JZ.js} +27 -21
  31. package/dist/{sync-YV3E66IF.js → sync-O45NXEQY.js} +7 -6
  32. package/dist/{te-agent-JB5T3PO7.js → te-agent-K5MSPNHJ.js} +5 -5
  33. package/dist/{te-analysis-3YJAAT2D.js → te-analysis-AISWCOOZ.js} +1086 -354
  34. package/dist/{te-community-UDBI672N.js → te-community-4OYU3BDA.js} +4 -4
  35. package/dist/{te-dataops-ZLYOCXZ4.js → te-dataops-NFIPB6FX.js} +5 -5
  36. package/dist/{te-engage-4XG6OJML.js → te-engage-BAM3GBFX.js} +7 -7
  37. package/dist/{te-experiment-VXUWPINJ.js → te-experiment-GUTZXZ5Z.js} +132 -14
  38. package/dist/{te-kb-WYQWHFSC.js → te-kb-3TS73NO6.js} +454 -194
  39. package/dist/{te-system-7G6F2LJA.js → te-system-STMHLS5J.js} +12 -7
  40. package/dist/{te-team-E7FBBXMQ.js → te-team-3I5AOX3N.js} +6 -6
  41. package/dist/{update-D47BUG25.js → update-RZXLPCRH.js} +4 -4
  42. package/package.json +21 -14
  43. package/skills/ae-analysis/SKILL.md +91 -78
  44. package/skills/ae-analysis/references/adhoc_export.md +11 -18
  45. package/skills/ae-analysis/references/adhoc_run.md +15 -7
  46. package/skills/ae-analysis/references/agent_review_detail.md +11 -0
  47. package/skills/ae-analysis/references/agent_review_evidence.md +46 -0
  48. package/skills/ae-analysis/references/agent_review_list.md +9 -0
  49. package/skills/ae-analysis/references/agent_review_preflight.md +96 -0
  50. package/skills/ae-analysis/references/agent_review_priorities_comparisons.md +76 -0
  51. package/skills/ae-analysis/references/agent_review_records.md +9 -0
  52. package/skills/ae-analysis/references/agent_review_retry.md +12 -0
  53. package/skills/ae-analysis/references/agent_review_review.md +16 -0
  54. package/skills/ae-analysis/references/agent_review_submit_to_page.md +184 -0
  55. package/skills/ae-analysis/references/ai_models/attribution.md +29 -0
  56. package/skills/ae-analysis/references/ai_models/distribution.md +40 -0
  57. package/skills/ae-analysis/references/ai_models/event.md +108 -0
  58. package/skills/ae-analysis/references/ai_models/funnel.md +46 -0
  59. package/skills/ae-analysis/references/ai_models/heat_map.md +26 -0
  60. package/skills/ae-analysis/references/ai_models/interval.md +20 -0
  61. package/skills/ae-analysis/references/ai_models/path.md +55 -0
  62. package/skills/ae-analysis/references/ai_models/prop_analysis.md +43 -0
  63. package/skills/ae-analysis/references/ai_models/rank_list.md +25 -0
  64. package/skills/ae-analysis/references/ai_models/retention.md +70 -0
  65. package/skills/ae-analysis/references/ai_models/revenue.md +28 -0
  66. package/skills/ae-analysis/references/ai_models/sql.md +74 -0
  67. package/skills/ae-analysis/references/ai_models/tag.md +19 -0
  68. package/skills/ae-analysis/references/ai_models.md +32 -473
  69. package/skills/ae-analysis/references/alert_create.md +7 -7
  70. package/skills/ae-analysis/references/alert_delete.md +4 -6
  71. package/skills/ae-analysis/references/alert_detail_list.md +7 -9
  72. package/skills/ae-analysis/references/alert_get.md +5 -7
  73. package/skills/ae-analysis/references/alert_job_list.md +4 -6
  74. package/skills/ae-analysis/references/alert_list.md +6 -8
  75. package/skills/ae-analysis/references/alert_notice_config_list.md +4 -6
  76. package/skills/ae-analysis/references/alert_start.md +5 -7
  77. package/skills/ae-analysis/references/alert_stop.md +5 -7
  78. package/skills/ae-analysis/references/alert_update.md +8 -8
  79. package/skills/ae-analysis/references/analysis_data_export.md +72 -0
  80. package/skills/ae-analysis/references/analysis_data_retrieval.md +32 -196
  81. package/skills/ae-analysis/references/analysis_gateway_assets.md +23 -180
  82. package/skills/ae-analysis/references/analysis_interpretation.md +37 -17
  83. package/skills/ae-analysis/references/asset_abnormal_get.md +0 -1
  84. package/skills/ae-analysis/references/asset_abnormal_list.md +0 -1
  85. package/skills/ae-analysis/references/asset_authentication_export.md +4 -0
  86. package/skills/ae-analysis/references/asset_authentication_list.md +7 -1
  87. package/skills/ae-analysis/references/asset_authentication_update.md +5 -1
  88. package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +8 -6
  89. package/skills/ae-analysis/references/asset_batch_delete.md +6 -6
  90. package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +4 -5
  91. package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +5 -6
  92. package/skills/ae-analysis/references/asset_batch_handover.md +4 -5
  93. package/skills/ae-analysis/references/asset_batch_info_export.md +4 -5
  94. package/skills/ae-analysis/references/asset_batch_sql_export.md +5 -6
  95. package/skills/ae-analysis/references/asset_dependency_list.md +4 -5
  96. package/skills/ae-analysis/references/asset_export.md +4 -5
  97. package/skills/ae-analysis/references/asset_impact_list.md +5 -9
  98. package/skills/ae-analysis/references/asset_lineage_get.md +5 -6
  99. package/skills/ae-analysis/references/asset_list.md +4 -5
  100. package/skills/ae-analysis/references/asset_query_history_list.md +4 -8
  101. package/skills/ae-analysis/references/asset_recent_list.md +0 -1
  102. package/skills/ae-analysis/references/asset_search.md +12 -9
  103. package/skills/ae-analysis/references/asset_url_get.md +3 -4
  104. package/skills/ae-analysis/references/bi_panel_copy.md +2 -2
  105. package/skills/ae-analysis/references/bi_panel_page_data_export.md +4 -12
  106. package/skills/ae-analysis/references/bi_panel_page_data_run.md +2 -0
  107. package/skills/ae-analysis/references/catalog_export.md +4 -17
  108. package/skills/ae-analysis/references/catalog_list.md +4 -4
  109. package/skills/ae-analysis/references/check_delete.md +5 -7
  110. package/skills/ae-analysis/references/check_export.md +11 -11
  111. package/skills/ae-analysis/references/check_get.md +8 -10
  112. package/skills/ae-analysis/references/check_list.md +4 -6
  113. package/skills/ae-analysis/references/check_retry.md +8 -10
  114. package/skills/ae-analysis/references/check_run.md +2 -4
  115. package/skills/ae-analysis/references/command_index.md +44 -26
  116. package/skills/ae-analysis/references/dashboard_report_data_export.md +5 -13
  117. package/skills/ae-analysis/references/dashboard_report_data_run.md +1 -1
  118. package/skills/ae-analysis/references/dashboard_update.md +14 -3
  119. package/skills/ae-analysis/references/datatable_columns_get.md +0 -1
  120. package/skills/ae-analysis/references/datatable_influence_list.md +0 -1
  121. package/skills/ae-analysis/references/datatable_version_get.md +0 -1
  122. package/skills/ae-analysis/references/datatable_version_list.md +0 -1
  123. package/skills/ae-analysis/references/debug_device_add.md +1 -2
  124. package/skills/ae-analysis/references/drilldown_entities_export.md +3 -3
  125. package/skills/ae-analysis/references/drilldown_events_export.md +3 -2
  126. package/skills/ae-analysis/references/drilldown_user_events_export.md +2 -2
  127. package/skills/ae-analysis/references/entity_detail_export.md +3 -2
  128. package/skills/ae-analysis/references/entity_detail_run.md +1 -0
  129. package/skills/ae-analysis/references/event_blacklist_add.md +5 -7
  130. package/skills/ae-analysis/references/event_blacklist_list.md +4 -6
  131. package/skills/ae-analysis/references/event_blacklist_update.md +6 -8
  132. package/skills/ae-analysis/references/event_changelog_list.md +0 -1
  133. package/skills/ae-analysis/references/event_create.md +0 -1
  134. package/skills/ae-analysis/references/event_detail_export.md +3 -2
  135. package/skills/ae-analysis/references/event_detail_run.md +1 -0
  136. package/skills/ae-analysis/references/event_export.md +0 -1
  137. package/skills/ae-analysis/references/event_get.md +0 -1
  138. package/skills/ae-analysis/references/event_hide_update.md +0 -1
  139. package/skills/ae-analysis/references/event_influence_list.md +0 -1
  140. package/skills/ae-analysis/references/event_list.md +0 -1
  141. package/skills/ae-analysis/references/event_property_bundle_export.md +5 -14
  142. package/skills/ae-analysis/references/event_property_bundle_import.md +2 -6
  143. package/skills/ae-analysis/references/event_relation_update.md +0 -1
  144. package/skills/ae-analysis/references/event_update.md +0 -1
  145. package/skills/ae-analysis/references/exchange_config_update.md +0 -1
  146. package/skills/ae-analysis/references/exchange_rate_refresh.md +0 -1
  147. package/skills/ae-analysis/references/exchange_rule_list.md +0 -1
  148. package/skills/ae-analysis/references/exchange_rule_update.md +0 -1
  149. package/skills/ae-analysis/references/exchange_rule_validate.md +0 -1
  150. package/skills/ae-analysis/references/governance_recommendation_decisions.md +23 -0
  151. package/skills/ae-analysis/references/governance_recommendation_export.md +108 -0
  152. package/skills/ae-analysis/references/governance_recommendation_submit.md +41 -0
  153. package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +4 -4
  154. package/skills/ae-analysis/references/history_tag_data_export.md +3 -3
  155. package/skills/ae-analysis/references/ingest_error_list.md +7 -9
  156. package/skills/ae-analysis/references/ingest_summary.md +6 -8
  157. package/skills/ae-analysis/references/live_data_export.md +10 -10
  158. package/skills/ae-analysis/references/live_data_list.md +7 -9
  159. package/skills/ae-analysis/references/metadata_resolution.md +78 -0
  160. package/skills/ae-analysis/references/metric_export.md +0 -1
  161. package/skills/ae-analysis/references/metric_get.md +0 -1
  162. package/skills/ae-analysis/references/metric_list.md +4 -5
  163. package/skills/ae-analysis/references/metric_update.md +0 -1
  164. package/skills/ae-analysis/references/operation_record_export.md +4 -5
  165. package/skills/ae-analysis/references/operation_record_list.md +4 -5
  166. package/skills/ae-analysis/references/personal_semantic_preference_list.md +18 -1
  167. package/skills/ae-analysis/references/plan_change_log_export.md +10 -10
  168. package/skills/ae-analysis/references/plan_change_log_list.md +4 -6
  169. package/skills/ae-analysis/references/plan_delete_items.md +2 -4
  170. package/skills/ae-analysis/references/plan_export.md +9 -9
  171. package/skills/ae-analysis/references/plan_generate.md +2 -4
  172. package/skills/ae-analysis/references/plan_get.md +4 -6
  173. package/skills/ae-analysis/references/plan_import_excel.md +6 -8
  174. package/skills/ae-analysis/references/plan_save_items.md +2 -4
  175. package/skills/ae-analysis/references/plan_sync_from_meta.md +4 -6
  176. package/skills/ae-analysis/references/project_access_detail_get.md +0 -1
  177. package/skills/ae-analysis/references/project_data_power_get.md +0 -1
  178. package/skills/ae-analysis/references/project_data_power_list.md +0 -1
  179. package/skills/ae-analysis/references/project_data_power_upsert.md +0 -1
  180. package/skills/ae-analysis/references/project_entity_create.md +0 -1
  181. package/skills/ae-analysis/references/project_entity_event_list.md +0 -1
  182. package/skills/ae-analysis/references/project_entity_get.md +0 -1
  183. package/skills/ae-analysis/references/project_entity_list.md +0 -1
  184. package/skills/ae-analysis/references/project_entity_update.md +0 -1
  185. package/skills/ae-analysis/references/project_function_list.md +0 -1
  186. package/skills/ae-analysis/references/project_info_get.md +0 -1
  187. package/skills/ae-analysis/references/project_info_list.md +0 -1
  188. package/skills/ae-analysis/references/project_info_update.md +0 -1
  189. package/skills/ae-analysis/references/project_mark_time_create.md +0 -1
  190. package/skills/ae-analysis/references/project_mark_time_list.md +0 -1
  191. package/skills/ae-analysis/references/project_mark_time_update.md +0 -1
  192. package/skills/ae-analysis/references/project_member_add.md +6 -5
  193. package/skills/ae-analysis/references/project_member_batch_update.md +0 -1
  194. package/skills/ae-analysis/references/project_member_candidate_list.md +4 -3
  195. package/skills/ae-analysis/references/project_member_handover_run.md +2 -3
  196. package/skills/ae-analysis/references/project_member_list.md +0 -1
  197. package/skills/ae-analysis/references/project_member_receiver_list.md +0 -1
  198. package/skills/ae-analysis/references/project_member_update.md +0 -1
  199. package/skills/ae-analysis/references/project_owner_update.md +0 -1
  200. package/skills/ae-analysis/references/project_permission_binding_list.md +0 -1
  201. package/skills/ae-analysis/references/project_role_function_list.md +0 -1
  202. package/skills/ae-analysis/references/project_role_get.md +0 -1
  203. package/skills/ae-analysis/references/project_role_list.md +0 -1
  204. package/skills/ae-analysis/references/project_role_upsert.md +32 -2
  205. package/skills/ae-analysis/references/project_role_user_list.md +0 -1
  206. package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +214 -0
  207. package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +93 -0
  208. package/skills/ae-analysis/references/project_timezone_get.md +0 -1
  209. package/skills/ae-analysis/references/project_timezone_overview.md +0 -1
  210. package/skills/ae-analysis/references/project_timezone_update.md +0 -1
  211. package/skills/ae-analysis/references/project_user_id_items_update.md +0 -1
  212. package/skills/ae-analysis/references/property_changelog_list.md +0 -1
  213. package/skills/ae-analysis/references/property_create.md +0 -1
  214. package/skills/ae-analysis/references/property_export.md +0 -1
  215. package/skills/ae-analysis/references/property_get.md +0 -1
  216. package/skills/ae-analysis/references/property_hide_update.md +0 -1
  217. package/skills/ae-analysis/references/property_influence_list.md +0 -1
  218. package/skills/ae-analysis/references/property_list.md +3 -4
  219. package/skills/ae-analysis/references/property_related_events.md +0 -1
  220. package/skills/ae-analysis/references/property_relation_update.md +0 -1
  221. package/skills/ae-analysis/references/property_update.md +0 -1
  222. package/skills/ae-analysis/references/report_create.md +4 -2
  223. package/skills/ae-analysis/references/report_data_export.md +11 -9
  224. package/skills/ae-analysis/references/report_data_run.md +14 -7
  225. package/skills/ae-analysis/references/report_get.md +5 -3
  226. package/skills/ae-analysis/references/report_list.md +2 -0
  227. package/skills/ae-analysis/references/report_update.md +5 -3
  228. package/skills/ae-analysis/references/rule_create.md +5 -6
  229. package/skills/ae-analysis/references/rule_delete.md +5 -5
  230. package/skills/ae-analysis/references/rule_list.md +3 -4
  231. package/skills/ae-analysis/references/rule_schema.md +3 -4
  232. package/skills/ae-analysis/references/rule_update.md +5 -6
  233. package/skills/ae-analysis/references/sdk_sample_generate.md +2 -4
  234. package/skills/ae-analysis/references/sql_table_columns.md +1 -1
  235. package/skills/ae-analysis/references/super_metadata_batch_create.md +1 -1
  236. package/skills/ae-analysis/references/super_metadata_batch_edit.md +1 -1
  237. package/skills/ae-analysis/references/system_member_add.md +1 -2
  238. package/skills/ae-analysis/references/system_member_status_update.md +1 -1
  239. package/skills/ae-analysis/references/system_ops_alert_contact_list.md +1 -1
  240. package/skills/ae-analysis/references/system_ops_alert_contact_test.md +0 -1
  241. package/skills/ae-analysis/references/system_query_monitor_overview.md +3 -3
  242. package/skills/ae-analysis/references/system_query_task_export.md +4 -14
  243. package/skills/ae-analysis/references/system_query_task_get.md +1 -1
  244. package/skills/ae-analysis/references/system_query_task_list.md +5 -6
  245. package/skills/ae-analysis/references/system_receiver_address_upsert.md +3 -3
  246. package/skills/ae-analysis/references/system_receiver_detection_get.md +1 -1
  247. package/skills/ae-analysis/references/system_third_party_login_disable.md +1 -1
  248. package/skills/ae-analysis/references/system_usage_trend_export.md +3 -12
  249. package/skills/ae-analysis/references/user_cluster_list.md +1 -1
  250. package/skills/ae-analysis/references/user_cluster_member_export.md +4 -4
  251. package/skills/ae-analysis/references/user_tag_list.md +1 -1
  252. package/skills/ae-analysis/references/user_tag_member_export.md +4 -4
  253. package/skills/ae-analysis/references/virtual_event_create.md +10 -5
  254. package/skills/ae-analysis/references/virtual_event_get.md +0 -1
  255. package/skills/ae-analysis/references/virtual_property_create.md +0 -1
  256. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +0 -1
  257. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +1054 -0
  258. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +112 -0
  259. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +30 -0
  260. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/generate-build-ir.mjs +2735 -0
  261. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/package-wiki-source-zip.mjs +376 -0
  262. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/plan-kb-source-sync.mjs +264 -0
  263. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/precompiled-source.mjs +49 -0
  264. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/upload-kb-sources-concurrently.mjs +200 -0
  265. package/skills/ae-analysis/scripts/read_results.py +197 -0
  266. package/skills/ae-analysis-global/SKILL.md +1 -1
  267. package/skills/ae-capability/SKILL.md +1 -1
  268. package/skills/ae-community/SKILL.md +1 -1
  269. package/skills/ae-current-context/SKILL.md +53 -0
  270. package/skills/ae-data-integration/SKILL.md +5 -4
  271. package/skills/ae-data-integration/references/lark-bitable-source.md +288 -0
  272. package/skills/ae-data-integration/references/lark-sheet-source.md +130 -0
  273. package/skills/ae-data-integration/references/manual-export-source.md +83 -0
  274. package/skills/ae-data-integration/references/reuse.md +2 -0
  275. package/skills/ae-data-integration/references/sink-upload.md +32 -0
  276. package/skills/ae-data-integration/references/tracking-plan.md +4 -1
  277. package/skills/ae-data-integration/references/ue-mapping.md +2 -2
  278. package/skills/ae-data-integration-helper/SKILL.md +5 -5
  279. package/skills/ae-data-integration-helper/references/android_sdk_faq.md +3 -3
  280. package/skills/ae-data-integration-helper/references/c_sdk_faq.md +3 -3
  281. package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +1 -1
  282. package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +3 -3
  283. package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +1 -1
  284. package/skills/ae-data-integration-helper/references/java_sdk_faq.md +3 -3
  285. package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +1 -1
  286. package/skills/ae-data-integration-helper/references/logbus2_guide.md +1 -1
  287. package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +2 -2
  288. package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +2 -2
  289. package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +1 -1
  290. package/skills/ae-data-integration-helper/references/python_sdk_faq.md +2 -2
  291. package/skills/ae-data-integration-helper/references/restful_api_notes.md +2 -2
  292. package/skills/ae-data-integration-helper/references/sdk_log_guide.md +3 -3
  293. package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +11 -11
  294. package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +1 -1
  295. package/skills/ae-dataops/SKILL.md +1 -1
  296. package/skills/ae-engage/SKILL.md +4 -3
  297. package/skills/ae-engage/references/build-task-save-guide.md +3 -0
  298. package/skills/ae-engage/references/flow-metric-update.md +115 -1
  299. package/skills/ae-engage/references/save-flow.md +3 -0
  300. package/skills/ae-engage/references/save-task.md +21 -0
  301. package/skills/ae-engage/references/task-metric-update.md +151 -0
  302. package/skills/ae-experiment/SKILL.md +14 -7
  303. package/skills/ae-experiment/references/save_submit_external_experiment.md +52 -0
  304. package/skills/ae-experiment-design/SKILL.md +3 -3
  305. package/skills/ae-experiment-design/references/platform-operations.md +1 -1
  306. package/skills/ae-experiment-insight/SKILL.md +2 -2
  307. package/skills/ae-experiment-insight/references/platform-operations.md +1 -1
  308. package/skills/ae-generate-tracking-code/SKILL.md +2 -1
  309. package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
  310. package/skills/ae-generate-tracking-code/references/datax-config.md +1 -1
  311. package/skills/ae-generate-tracking-code/references/logbus-config.md +1 -1
  312. package/skills/ae-generate-tracking-code/references/modes.md +1 -1
  313. package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +5 -5
  314. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +3 -3
  315. package/skills/ae-generate-tracking-plan/SKILL.md +2 -2
  316. package/skills/ae-generate-tracking-plan/references/te-api.md +1 -0
  317. package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +3 -2
  318. package/skills/ae-kb/SKILL.md +41 -2
  319. package/skills/ae-kb/references/analysis-workflow.md +292 -0
  320. package/skills/ae-kb/references/source-mutations.md +95 -0
  321. package/skills/ae-kb-discovery/SKILL.md +5 -1
  322. package/skills/ae-metadata/SKILL.md +1 -1
  323. package/skills/ae-migrate-tracking-code/SKILL.md +195 -0
  324. package/skills/ae-migrate-tracking-code/references/ae-preset-properties.md +76 -0
  325. package/skills/ae-migrate-tracking-code/references/ir.md +167 -0
  326. package/skills/ae-migrate-tracking-code/references/mapping-framework.md +112 -0
  327. package/skills/ae-migrate-tracking-code/references/providers/README.md +58 -0
  328. package/skills/ae-migrate-tracking-code/references/providers/amplitude.md +208 -0
  329. package/skills/ae-migrate-tracking-code/references/providers/firebase.md +160 -0
  330. package/skills/ae-migrate-tracking-code/references/providers/ga4.md +92 -0
  331. package/skills/ae-migrate-tracking-code/references/providers/mixpanel.md +150 -0
  332. package/skills/ae-migrate-tracking-code/references/providers/sensors-data.md +146 -0
  333. package/skills/ae-project-semantic/SKILL.md +1 -1
  334. package/skills/ae-system/SKILL.md +4 -4
  335. package/skills/ae-team/SKILL.md +2 -2
  336. package/skills/ae-use-agent/references/local-agent.md +1 -1
  337. package/dist/chunk-TAL6CZH6.js +0 -72
  338. package/skills/ae-analysis/metadata_resolution.md +0 -184
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use when the user needs one saved report definition as AI QP without executing the report.
4
4
 
5
- Do not use as a workaround after a builder-supported ad-hoc QP builder fails. For builder failure, stop and handle the structured error or ask for clarification.
5
+ Do not use it to execute report data; use `report-data run/export` for the result. Reuse a definition already read when preparing supported overrides or an ad-hoc query.
6
6
 
7
7
  Command:
8
8
 
@@ -16,10 +16,12 @@ This command reads saved definition metadata and deliberately has no `--use-cach
16
16
 
17
17
  Output is the gateway envelope. `data` contains `version`, `model_type`, `definition`, report metadata, and dashboard membership in snake_case. Use `data.version` as `--report-version` when updating the same report. Raw frontend `events`, `event_view`, `visual_view`, and raw QP are not returned.
18
18
 
19
+ For saved tag/cluster filters, `data.definition` preserves `field.type` and the persisted `cluster_date_policy`: `AUTO` means dynamic matching by analysis date, `LATEST` means the latest computed result, and `SPECIFIED` requires `specified_cluster_date`. Do not infer dynamic matching from the tag name or `field.type` alone; if a legacy report has no readable policy, state that the saved date semantics are unknown rather than claiming `AUTO`.
20
+
19
21
  For a saved non-SQL report with a time granularity, `data.definition` returns the agent-facing `time_particle_size` spelling, such as `day`, `hour`, or `total`; internal `T0` through `T9` codes must never leak. If `time_particle_size` is absent, the saved definition has no readable granularity. Do not infer a granularity from the number of result rows; execute the saved report as-is or use an explicit ad-hoc definition when the user requires a specific granularity.
20
22
 
21
- This read is mandatory before applying report-data overrides. Branch on `data.model_type`:
23
+ Reuse this definition when already read; otherwise get it before applying report-data overrides. Branch on `data.model_type`:
22
24
 
23
- - `sql`: only `--sql-params` is valid. Every override name must already exist in `data.definition.params`; time values may be overridden only through a saved `part_date` or time parameter. A saved PartDate definition exposes boolean `use_timezone` (default `false`); it is definition metadata and cannot be overridden by report-data.
25
+ - `sql`: only `--sql-params` is valid. Every override name must already exist in `data.definition.params`; time values may be overridden only through a saved `part_date` or time parameter. For a selector runtime override, copy the exact UI label from `data.definition.params[].options[].name` into the override's `value`; never send `options[].value`, which is the saved SQL expansion fragment. A saved PartDate definition exposes boolean `use_timezone` (default `false`); it is definition metadata and cannot be overridden by report-data.
24
26
  - non-SQL analysis models: use `--filters`, `--group-by`, `--start-time`, `--end-time`, or `--time-granularity`; do not send `--sql-params`.
25
27
  - `tag`: report-data executes the saved tag definition. For a different tag view, use `analysis history-tag-data run/export`.
@@ -15,3 +15,5 @@ Input sends `project_id`, optional `queries`, `model_types`, `fields`, `limit`,
15
15
  Output is the gateway envelope. `data` contains report summaries, `total`, effective `limit`, `offset`, `has_more`, and nullable `next_offset`. When `has_more` is true, use exactly `next_offset` for the next call; stop when it is false. Include `version` in `--fields` when the next step is `analysis report update`.
16
16
 
17
17
  When locating reports, group known names into one `--queries` call or narrow with `--model-types` before paging. Stop when the required reports are found; do not issue one list call per name.
18
+
19
+ Search matches report names and descriptions, not events inside definitions. Inspect a suitable candidate with `report get` when its definition is not already available; use [metadata resolution](metadata_resolution.md) for a business-measure lookup.
@@ -13,13 +13,15 @@ ae-cli analysis report update --project-id <project_id> --report-id <report_id>
13
13
  ae-cli analysis report update --project-id <project_id> --report-id <report_id> --report-version <version> --model-type event --definition '{...}' [--resolutions '<confirmed_resolution_json>']
14
14
  ```
15
15
 
16
- Input sends `project_id`, `report_id`, `version` from CLI `--report-version`, and at least one of `report_name`, `report_desc`, or `definition`. Read `version` from `analysis report get` before updating. `model_type` is required when `definition` is provided; `resolutions` is allowed only with that unchanged definition and is not supported with `model_type=tag`.
16
+ When the caller supplies an existing snapshot, optional `--intent-snapshot` accepts `schema_version: 1`, non-empty `requirement`, `definition` and `model_type`. The CLI checks that its definition and model match the submitted values locally; the snapshot is never sent to Gateway. Metadata-only updates use no definition snapshot.
17
+
18
+ Input sends `project_id`, `report_id`, `version` from CLI `--report-version`, and at least one of `report_name`, `report_desc`, or `definition`. Read `version` from `analysis report get` before updating. `model_type` is required when `definition` is provided; `resolutions` is allowed only when a definition is provided and is not supported with `model_type=tag`.
17
19
 
18
20
  Output is the gateway envelope. `data` contains update status, `report_id`, and the normalized AI QP definition when a definition was updated.
19
21
 
20
- When a definition is supplied, update and its `--validate` / `--dry-run` paths use the same compiler contract. `AI_QP_COMPILE_FAILED` preserves the full structured error array. The report is not changed on this failure; follow [`../metadata_resolution.md`](../metadata_resolution.md), keep the definition unchanged, and retry with `--resolutions` only after confirmation.
22
+ When a definition is supplied, update and its `--validate` / `--dry-run` paths use the same compiler contract. `AI_QP_COMPILE_FAILED` preserves the full structured error array. The report is not changed on this failure; follow [`metadata_resolution.md`](metadata_resolution.md), keep each bound field's path and original wording, fill confirmed model parameters, and retry with `--resolutions` only after confirmation.
21
23
 
22
- For the shortest safe update, read the current `version` exactly once with `analysis report get` immediately before the write; do not reuse a version from an older list or conversation turn. If a SQL dynamic parameter definition changed, query the saved default before applying an override so default persistence and override behavior are verified separately.
24
+ For the shortest safe update, read the current `version` exactly once with `analysis report get` immediately before the write; do not reuse a version from an older list or conversation turn. If the user also requests report data, query directly with the requested value-only `--sql-params` overrides, or omit that flag to use saved defaults.
23
25
 
24
26
  For a SQL `part_date` parameter, `use_timezone` is a boolean saved definition field with default `false`. Change it only by submitting the complete updated `definition`; report-data `--sql-params` is value-only and must not contain `use_timezone`.
25
27
 
@@ -2,18 +2,17 @@
2
2
 
3
3
  Use when the user needs to create an asset governance rule through the capability gateway.
4
4
 
5
- Do not use it when a matching saved rule already exists; list rules first and use `rule-update` for an existing `rule_id`.
5
+ Do not use it when a matching saved rule already exists; list rules first and use `rule update` for an existing `rule_id`.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-governance rule create --project-id <project_id> --payload '{}'
11
- ae-cli analysis-governance rule create --dry-run --project-id <project_id>
10
+ ae-cli analysis-governance rule create --project-id <project_id> --rule-name <rule_name> --rule '<verified_rule_json>'
12
11
  ```
13
12
 
14
- Capability id: analysis_meta.asset_rule.create.
13
+ Capability id: governance.rule.create.
15
14
 
16
- Input sends project_id, payload, rule_name, comment, rule. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
15
+ Input sends project_id, rule_name, comment, rule. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
17
16
 
18
17
  Output `data.rule_id` is the created governance rule identity. Preserve it for later update/delete operations.
19
18
 
@@ -24,4 +23,4 @@ Output `data.rule_id` is the created governance rule identity. Preserve it for l
24
23
  | --rule-name | No | Rule name; required unless provided inside payload. |
25
24
  | --comment | No | Rule comment. |
26
25
  | --rule | No | Governance Filter JSON; required unless provided inside payload. |
27
- | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
26
+ | --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
@@ -7,14 +7,14 @@ Do not use it to disable a rule or with a guessed ID; resolve the saved rule, dr
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-governance rule delete --project-id <project_id> --payload '{}' --dry-run
10
+ ae-cli analysis-governance rule delete --project-id <project_id> --rule-id <rule_id> --dry-run
11
11
  # Summarize the target and impact, then wait for explicit user confirmation.
12
- ae-cli analysis-governance rule delete --project-id <project_id> --payload '{}' --yes
12
+ ae-cli analysis-governance rule delete --project-id <project_id> --rule-id <rule_id> --yes
13
13
  ```
14
14
 
15
- Capability id: analysis_meta.asset_rule.delete.
15
+ Capability id: governance.rule.delete.
16
16
 
17
- Input sends project_id, payload, rule_id. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
17
+ Input sends project_id, rule_id. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
18
18
 
19
19
  Output `data.deleted` reports whether the identified rule was deleted; `false` must not be presented as a successful deletion.
20
20
 
@@ -23,4 +23,4 @@ Output `data.deleted` reports whether the identified rule was deleted; `false` m
23
23
  |---|---|---|
24
24
  | --project-id | Yes | Numeric project ID. |
25
25
  | --rule-id | No | Rule ID; required unless provided inside payload. |
26
- | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
26
+ | --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
@@ -2,18 +2,17 @@
2
2
 
3
3
  Use when the user needs to list asset governance rules through the capability gateway.
4
4
 
5
- Do not use it to discover rule field syntax; use `rule-schema` for construction metadata and this command for existing rule IDs and definitions.
5
+ Do not use it to discover rule field syntax; use `rule schema` for construction metadata and this command for existing rule IDs and definitions.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
10
  ae-cli analysis-governance rule list --project-id <project_id> --limit 50 --offset 0
11
- ae-cli analysis-governance rule list --dry-run --project-id <project_id>
12
11
  ```
13
12
 
14
13
  Capability id: `governance.rule.list`.
15
14
 
16
- Input sends `project_id`, optional `payload`, `limit`, and `offset`. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
15
+ Input sends `project_id`, optional `limit`, and `offset`. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
17
16
 
18
17
  Output always uses the directory envelope: `data.items[]`, `total`, `limit`, `offset`, `has_more`, and `next_offset`. Resolve a real `rule_id` from `items` before update or delete.
19
18
 
@@ -21,6 +20,6 @@ Output always uses the directory envelope: `data.items[]`, `total`, `limit`, `of
21
20
  | Parameter | Required | Description |
22
21
  |---|---|---|
23
22
  | --project-id | Yes | Numeric project ID. |
24
- | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
23
+ | --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
25
24
  | `--limit` / `-l` | No | Page size. Default: 50, maximum: 200. |
26
25
  | `--offset` / `-o` | No | Zero-based page offset. Default: 0. |
@@ -8,12 +8,11 @@ Command:
8
8
 
9
9
  ```bash
10
10
  ae-cli analysis-governance rule schema --project-id <project_id>
11
- ae-cli analysis-governance rule schema --dry-run --project-id <project_id>
12
11
  ```
13
12
 
14
- Capability id: analysis_meta.asset_rule.schema.
13
+ Capability id: governance.rule.schema.
15
14
 
16
- Input sends project_id, payload. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
15
+ Input sends project_id. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
17
16
 
18
17
  Output `data` is the project-specific rule column/operator schema consumed by the `rule` object in rule create and update commands.
19
18
 
@@ -21,4 +20,4 @@ Output `data` is the project-specific rule column/operator schema consumed by th
21
20
  | Parameter | Required | Description |
22
21
  |---|---|---|
23
22
  | --project-id | Yes | Numeric project ID. |
24
- | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
23
+ | --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
@@ -2,18 +2,17 @@
2
2
 
3
3
  Use when the user needs to update an asset governance rule through the capability gateway.
4
4
 
5
- Do not use it to create a new rule or guess a rule ID; resolve the existing rule with `rule-list` before updating its full definition.
5
+ Do not use it to create a new rule or guess a rule ID; resolve the existing rule with `rule list` before updating its full definition.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-governance rule update --project-id <project_id> --payload '{}'
11
- ae-cli analysis-governance rule update --dry-run --project-id <project_id>
10
+ ae-cli analysis-governance rule update --project-id <project_id> --rule-id <rule_id> --rule-name <rule_name> --rule '<verified_rule_json>'
12
11
  ```
13
12
 
14
- Capability id: analysis_meta.asset_rule.update.
13
+ Capability id: governance.rule.update.
15
14
 
16
- Input sends project_id, payload, rule_id, rule_name, comment, rule. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
15
+ Input sends project_id, rule_id, rule_name, comment, rule. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
17
16
 
18
17
  Output `data` returns the updated `rule_id` and `updated=true`; a missing rule is an operation failure, not a create fallback.
19
18
 
@@ -25,4 +24,4 @@ Output `data` returns the updated `rule_id` and `updated=true`; a missing rule i
25
24
  | --rule-name | No | Rule name; required unless provided inside payload. |
26
25
  | --comment | No | Rule comment. |
27
26
  | --rule | No | Governance Filter JSON; required unless provided inside payload. |
28
- | --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
27
+ | --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
@@ -1,8 +1,6 @@
1
1
  # tracking sdk-sample generate
2
2
 
3
- Use when submit an AI SDK sample generation task.
4
-
5
- Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
3
+ Use only when the user asks to submit an AI SDK sample generation task.
6
4
 
7
5
  Command:
8
6
 
@@ -14,7 +12,7 @@ Capability id: `tracking.sdk_sample.generate`
14
12
 
15
13
  Input sends `project_id` and `sdk_types`. The backend resolves company ID, app ID, and receiver URL from the authorized project. Do not send camelCase aliases.
16
14
 
17
- Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
15
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
18
16
 
19
17
  Parameters:
20
18
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  List queryable columns for one server-authorized SQL table.
4
4
 
5
- First call `analysis sql-table list --project-id <project_id>`, then copy an exact returned `table_ref`. Do not guess table or column names.
5
+ For an unknown table, first call `analysis sql-table list --project-id <project_id>`, then copy an exact returned `table_ref`. Reuse an already verified authorized table reference in the same scope. Do not guess table or column names.
6
6
 
7
7
  ```bash
8
8
  ae-cli analysis sql-table columns \
@@ -7,7 +7,7 @@ Do not use it for ordinary event/property CRUD, metadata import from XLSX, or as
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta super-metadata batch-create --project-id <project_id> --events '[{"event_name":"purchase","event_desc":"Purchase"}]' --event-properties '[{"prop_name":"amount","select_type":"number","super_event_names":["purchase"]}]' --dry-run
10
+ ae-cli analysis-meta super-metadata batch-create --project-id <project_id> --events '[{"event_name":"purchase","event_desc":"Purchase"}]' --event-properties '[{"prop_name":"amount","select_type":"number","super_event_names":["purchase"]}]'
11
11
  ```
12
12
 
13
13
  Capability id: `metadata.super_metadata.batch_create`.
@@ -7,7 +7,7 @@ Do not use it to create metadata, delete metadata, hide metadata, update event/p
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta super-metadata batch-edit --project-id <project_id> --type event_property --items '[{"prop_name":"amount","prop_desc":"Amount","prop_remark":"Revenue amount"}]' --dry-run
10
+ ae-cli analysis-meta super-metadata batch-edit --project-id <project_id> --type event_property --items '[{"prop_name":"amount","prop_desc":"Amount","prop_remark":"Revenue amount"}]'
11
11
  ```
12
12
 
13
13
  Capability id: `metadata.super_metadata.batch_edit`.
@@ -7,8 +7,7 @@ Do not use it to add existing company members to a project; use the project memb
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system member add --dry-run --company-id <company_id> --members @members.json
11
- ae-cli system member add --company-id <company_id> --members @members.json
10
+ ae-cli system member add --company-id <company_id> --members '[{"login_name":"<login_name>","user_name":"<user_name>"}]'
12
11
  ```
13
12
 
14
13
  Capability id: `system.member.add`.
@@ -23,4 +23,4 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
23
23
  |---|---|---|
24
24
  | `--company-id` | Yes | Company ID. |
25
25
  | `--target-open-id` | Yes | Target member open ID. |
26
- | `--status` | Yes | Target status. |
26
+ | `--status` | Yes | `locked` or `active`. |
@@ -19,5 +19,5 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
19
19
  | Parameter | Required | Description |
20
20
  |---|---|---|
21
21
  | `--company-id` | Yes | Company ID. |
22
- | `--limit` | No | Page size. Default: 50, max: 200. |
22
+ | `--limit` | No | Page size. Default: 50, range: 1..100. |
23
23
  | `--offset` | No | Zero-based result offset. |
@@ -7,7 +7,6 @@ Do not use it for bulk delivery, repeated probing, or an unconstrained HTTP dest
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system ops-alert-contact test --dry-run --company-id <company_id> --channel <channel> --target-file <chmod_600_file>
11
10
  ae-cli system ops-alert-contact test --company-id <company_id> --channel <channel> --target-file <chmod_600_file>
12
11
  ```
13
12
 
@@ -7,7 +7,7 @@ Do not use it outside the system query-monitor operation or with fields absent f
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system query-monitor overview --company-id <company-id> --cluster-names <cluster-names_json>
10
+ ae-cli system query-monitor overview --company-id <company-id> --cluster-names '["<cluster_name>"]' --project-ids '[<project_id>]'
11
11
  ```
12
12
 
13
13
  Capability id: `system.query_monitor.overview`.
@@ -20,7 +20,7 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
20
20
  |---|---|---|
21
21
  | `--company-id` | Yes | Company ID. |
22
22
  | `--duration-minutes` | No | Monitoring duration in minutes. Default: 60. |
23
- | `--project-ids` | No | Project ID JSON array. |
24
- | `--space-codes` | No | Project space-code JSON array. |
23
+ | `--project-ids` | Conditional | Non-empty project IDs or space codes are required. |
24
+ | `--space-codes` | Conditional | Non-empty space codes or project IDs are required. |
25
25
  | `--cluster-names` | Yes | Query cluster-name JSON array. |
26
26
  | `--point-interval-seconds` | No | Chart sample interval seconds. Default: 5. |
@@ -7,25 +7,14 @@ Do not use it for an inline page; use `ae-cli system query-task list` instead.
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system query-task options --company-id <company_id>
11
- ae-cli system query-task export --company-id <company_id> --start-time '2026-07-24 00:00:00' --end-time '2026-07-24 23:59:59' --status-codes '[4]' --content-codes '[101]' --task-type-codes '[6]' --project-ids '[123]'
10
+ ae-cli system query-task export --company-id <company_id> --start-time '2026-07-24 00:00:00' --end-time '2026-07-24 23:59:59' --status-codes '[4]' --content-codes '[101]' --task-type-codes '[6]' --project-ids '[123]' --output <file>
12
11
  ```
13
12
 
14
13
  Capability id: `system.query_task.export`.
15
14
 
16
- Always run `query-task options` first and select codes from its returned mappings. Do not guess numeric filter codes or cluster names.
15
+ If the required filter mappings are unknown, call `ae-cli system query-task options --company-id <company_id>` once. Reuse verified mappings within the same company/project scope; do not guess filter codes or cluster names.
17
16
 
18
- Preserve the `run_id` from this exact submit response and poll:
19
-
20
- ```bash
21
- ae-cli analysis run inspect --run-id <run_id>
22
- ```
23
-
24
- After success, preserve the same run's `artifact_id` and download:
25
-
26
- ```bash
27
- ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <output_path>
28
- ```
17
+ Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
29
18
 
30
19
  The artifact is CSV and this command intentionally has no `--artifact-format`. Cancel an unfinished export with `ae-cli analysis query cancel --run-id <run_id>`.
31
20
 
@@ -47,3 +36,4 @@ The response uses `ok`, `data`, and `meta`. Empty task data is a successful expo
47
36
  | `--download-columns` | No | Optional allowlisted CSV column JSON array. |
48
37
  | `--request-id` | No | Caller-supplied `cli_<32 lowercase hex>` lifecycle ID; generated when omitted. |
49
38
  | `--timeout-seconds` | No | Maximum runtime, `1..21600`; default `21600`. |
39
+ | `--output` | No | Wait and download to this local file. |
@@ -20,4 +20,4 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
20
20
  |---|---|---|
21
21
  | `--company-id` | Yes | Company ID. |
22
22
  | `--task-id` | Yes | Query-monitor task ID. |
23
- | `--sql-max-chars` | No | Maximum returned SQL characters. |
23
+ | `--sql-max-chars` | No | Maximum returned SQL characters, range: 0..20000. |
@@ -7,13 +7,12 @@ Do not use it outside the system query-task operation or with fields absent from
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system query-task options --company-id <company_id>
11
10
  ae-cli system query-task list --company-id <company_id> --start-time '2026-07-24 00:00:00' --end-time '2026-07-24 23:59:59' --status-codes '[4]' --content-codes '[101]' --task-type-codes '[6]' --project-ids '[123]'
12
11
  ```
13
12
 
14
13
  Capability id: `system.query_task.list`.
15
14
 
16
- Always run `query-task options` first and select codes from its returned status, content type, task type, project/workspace, and cluster mappings. Do not guess numeric codes.
15
+ If the required filter mappings are unknown, call `ae-cli system query-task options --company-id <company_id>` once. Reuse verified mappings within the same company/project scope; do not guess filter codes or cluster names.
17
16
 
18
17
  The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
19
18
 
@@ -22,10 +21,10 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
22
21
  | Parameter | Required | Description |
23
22
  |---|---|---|
24
23
  | `--company-id` | Yes | Company ID. |
25
- | `--start-time` | Yes | Inclusive ISO date/time lower bound. |
26
- | `--end-time` | Yes | Inclusive ISO date/time upper bound. |
27
- | `--project-ids` | No | Project ID JSON array. |
28
- | `--space-codes` | No | Project space-code JSON array. |
24
+ | `--start-time` | Yes | Inclusive lower bound in `yyyy-MM-dd HH:mm:ss`. |
25
+ | `--end-time` | Yes | Inclusive upper bound in `yyyy-MM-dd HH:mm:ss`. |
26
+ | `--project-ids` | Conditional | Non-empty project IDs or space codes are required. |
27
+ | `--space-codes` | Conditional | Non-empty space codes or project IDs are required. |
29
28
  | `--status-codes` | Yes | Task status-code JSON array. |
30
29
  | `--content-codes` | Yes | Query content-code JSON array. |
31
30
  | `--task-type-codes` | Yes | Query task-type-code JSON array. |
@@ -19,9 +19,9 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
19
19
  | Parameter | Required | Description |
20
20
  |---|---|---|
21
21
  | `--company-id` | Yes | Company ID. |
22
- | `--scope` | Yes | Receiver scope. |
22
+ | `--scope` | Yes | `global` or `project`; project scope requires `--project-ids`. |
23
23
  | `--address-url` | Yes | Receiver address URL. |
24
- | `--address-type` | Yes | Receiver address type. |
24
+ | `--address-type` | Yes | `public` or `private`. |
25
25
  | `--project-ids` | No | Project ID JSON array; required for project scope. |
26
26
  | `--original-address-url` | No | Original URL when changing an existing address. |
27
- | `--original-address-type` | No | Original address type. |
27
+ | `--original-address-type` | No | Original `public` or `private` type. |
@@ -1,6 +1,6 @@
1
1
  # system receiver-detection get
2
2
 
3
- Use when the user needs to get receiver-address detection configuration.
3
+ Use when the user authorizes retrieving receiver-address detection configuration, including initialization. This capability has `risk=write` and requires `system:write`: it may initialize a default task and trigger detection. Keep it out of read-only discovery and audit paths.
4
4
 
5
5
  Do not use it outside the system receiver-detection operation or with fields absent from the inspected capability schema.
6
6
 
@@ -22,4 +22,4 @@ The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `
22
22
  | Parameter | Required | Description |
23
23
  |---|---|---|
24
24
  | `--company-id` | Yes | Company ID. |
25
- | `--login-type` | Yes | Third-party login type. |
25
+ | `--login-type` | Yes | `wecom`, `dingtalk`, or `feishu`. |
@@ -7,22 +7,12 @@ Do not use it for a small inline result; use `ae-cli system usage-trend query` i
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli system usage-trend export --company-id <company_id> --metric <metric> --start-time <yyyy-MM-dd> --end-time <yyyy-MM-dd> --time-granularity <day_or_week_or_month>
10
+ ae-cli system usage-trend export --company-id <company_id> --metric <metric> --start-time <yyyy-MM-dd> --end-time <yyyy-MM-dd> --time-granularity <day_or_week_or_month> --output <file>
11
11
  ```
12
12
 
13
13
  Capability id: `system.usage_trend.export`.
14
14
 
15
- The submit response returns the `run_id` for this exact export. Preserve it and poll:
16
-
17
- ```bash
18
- ae-cli analysis run inspect --run-id <run_id>
19
- ```
20
-
21
- When the run succeeds, preserve its `artifact_id` and download the same run-scoped artifact:
22
-
23
- ```bash
24
- ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <output_path>
25
- ```
15
+ Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
26
16
 
27
17
  The artifact format is fixed gzip-compressed JSONL (`.jsonl.gz`); this command intentionally has no `--artifact-format`. Cancel an unfinished export with `ae-cli analysis query cancel --run-id <run_id>`.
28
18
 
@@ -42,3 +32,4 @@ The response uses `ok`, `data`, and `meta`. Empty exported data is success when
42
32
  | `--data-type` | No | `all`, `event`, or `user` for project-scoped total event volume. |
43
33
  | `--request-id` | No | Caller-supplied `cli_<32 lowercase hex>` lifecycle ID; generated when omitted. |
44
34
  | `--timeout-seconds` | No | Maximum runtime, `1..21600`; default `21600`. |
35
+ | `--output` | No | Wait and download to this local file. |
@@ -1,6 +1,6 @@
1
1
  # analysis user-cluster list
2
2
 
3
- List accessible user clusters for discovery. Use this before any get/update/delete/member command; do not invent `cluster_name`.
3
+ List accessible user clusters for discovery. Use this when the target `cluster_name` is unknown; reuse a verified name from the current task and do not invent `cluster_name`.
4
4
 
5
5
  Flags: `--project-id` required. Optional: `--queries`, `--fields`, `--limit`, `--offset`, `--authenticated-only`.
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Stream the native full cluster-member download as an async gzip artifact. Read `analysis_data_retrieval.md` first.
4
4
 
5
- Do not use this command for an inline sample or filtered keyword search; use `user-cluster-member run` for preview behavior.
5
+ Do not use this command for an inline sample or filtered keyword search; use `user-cluster-member list` for preview behavior.
6
6
 
7
7
  Flags: `--project-id`, `--cluster-name` required. Optional: `--property-names`, `--request-id`, `--artifact-format jsonl|csv`, `--timeout-seconds`. The default format is `jsonl`.
8
8
 
@@ -11,7 +11,7 @@ If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you
11
11
  Export does not accept `--offset`, `--fields`, `--query`, or `--use-cache`. Common executes the native full-download SQL once and streams result rows directly as `jsonl.gz` or `csv.gz`; it does not concatenate preview pages. The existing full-download ceiling still applies.
12
12
 
13
13
  ```bash
14
- ae-cli analysis user-cluster-member export --project-id <project_id> --cluster-name retained_users --artifact-format jsonl
15
- ae-cli analysis run inspect --run-id <run_id>
16
- ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output members.jsonl.gz
14
+ ae-cli analysis user-cluster-member export --project-id <project_id> --cluster-name retained_users --artifact-format jsonl --output members.jsonl.gz
17
15
  ```
16
+
17
+ Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
@@ -1,6 +1,6 @@
1
1
  # analysis user-tag list
2
2
 
3
- List accessible user tags for discovery. Use this before get/update/delete/member/history-tag commands; do not invent `tag_name`.
3
+ List accessible user tags for discovery. Use this when the target `tag_name` is unknown; reuse a verified name from the current task and do not invent `tag_name`.
4
4
 
5
5
  Flags: `--project-id` required. Optional: `--queries`, `--fields`, `--limit`, `--offset`, `--authenticated-only`.
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Stream the native full tag-member download as an async gzip artifact. Read `analysis_data_retrieval.md` first.
4
4
 
5
- Do not use this command for an inline sample or filtered keyword search; use `user-tag-member run` for preview behavior.
5
+ Do not use this command for an inline sample or filtered keyword search; use `user-tag-member list` for preview behavior.
6
6
 
7
7
  Flags: `--project-id`, `--tag-name` required. Optional: `--snapshot-date`, `--property-names`, `--request-id`, `--artifact-format jsonl|csv`, `--timeout-seconds`. The default format is `jsonl`.
8
8
 
@@ -11,7 +11,7 @@ If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you
11
11
  Export does not accept `--offset`, `--fields`, `--query`, or `--use-cache`. Common executes the native current-tag or history-tag full-download SQL once and streams result rows directly as `jsonl.gz` or `csv.gz`; it does not concatenate preview pages. The existing full-download ceiling still applies.
12
12
 
13
13
  ```bash
14
- ae-cli analysis user-tag-member export --project-id <project_id> --tag-name user_level --artifact-format jsonl
15
- ae-cli analysis run inspect --run-id <run_id>
16
- ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output tag-members.jsonl.gz
14
+ ae-cli analysis user-tag-member export --project-id <project_id> --tag-name user_level --artifact-format jsonl --output tag-members.jsonl.gz
17
15
  ```
16
+
17
+ Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
@@ -4,15 +4,15 @@ Use when the user needs to create a virtual event from events and filters.
4
4
 
5
5
  Do not use it for super-event creation.
6
6
 
7
- Before constructing `--events` / `--filter`, validate the available events and properties with `analysis-meta event list` and `analysis-meta property list` in the same `project_id`.
7
+ Before constructing `--events` / `--filter`, validate the available events and properties with `analysis-meta event list` and `analysis-meta property list` in the same `project_id`. Resolve tag and cluster names with `analysis user-tag list` / `analysis user-cluster list`; for a fixed tag snapshot, resolve a real date with `analysis history-tag list`.
8
8
 
9
9
  Command:
10
10
 
11
11
  ```bash
12
12
  ae-cli analysis-meta virtual-event create --project-id <project_id> --event-name ta@demo --event-desc demo --events '[{"event_name":"purchase"}]'
13
13
  ae-cli analysis-meta virtual-event create --project-id <project_id> --event-name ta@demo2 --event-desc demo --remark demo --events '[{"event_name":"add_to_cart","filter":{"relation":"and","items":[{"field":{"name":"country","type":"user_property"},"operator":"eq","values":["US"]}]}}]' --override true
14
+ ae-cli analysis-meta virtual-event create --project-id <project_id> --event-name ta@vip_purchase --event-desc 'VIP purchase' --events '[{"event_name":"purchase","filter":{"relation":"and","items":[{"field":{"name":"vip_users","type":"tag"},"operator":"is_true","cluster_date_policy":"SPECIFIED","specified_cluster_date":"2026-09-15"}]}}]'
14
15
  ae-cli analysis-meta virtual-event create --project-id <project_id> --override false --payload '{"event_name":"ta@qualified_purchase","event_desc":"Qualified purchase","rule":{"events":[...],"filter":{...}}}'
15
- ae-cli analysis-meta virtual-event create --dry-run
16
16
  ```
17
17
 
18
18
  Capability id: `metadata.virtual_event.create`.
@@ -30,16 +30,21 @@ Output data contains `v_event_id` and `event_name`. Use the returned `v_event_id
30
30
  | `--event-name` | No | Virtual event name. Must start with `ta@`. Required when `--payload` is omitted. |
31
31
  | `--event-desc` | No | Virtual event display name. Required when `--payload` is omitted. |
32
32
  | `--remark` | No | Optional virtual event remark. |
33
- | `--events` | No | JSON array of `{event_name,event_desc?,filter?}`. Each filter uses `{relation:'and|or',items:[{field:{name,type?},operator,values?}]}`. Required when `--payload` is omitted. |
34
- | `--filter` | No | Optional global AI-facing filter with the same `relation/items` shape. Raw `taFilters`, `junctionKind`, and `calcuSymbol` are rejected. Referenced properties must come from `analysis-meta property list`. |
33
+ | `--events` | No | JSON array of `{event_name,event_desc?,filter?}`. Each filter uses `{relation:"and|or",items:[{field:{name,type?},operator,values?,cluster_date_policy?,specified_cluster_date?}]}`. Required when `--payload` is omitted. |
34
+ | `--filter` | No | Optional global AI-facing filter with the same `relation/items` shape. Raw `taFilters`, `junctionKind`, and `calcuSymbol` are rejected. Normal properties must come from `analysis-meta property list`; tags/clusters must come from their dedicated list commands. |
35
35
 
36
36
  ## Decision Rules
37
37
  - `events` / `filter` must not be handwritten by intuition alone; they must match real metadata in the same project.
38
38
  - Use snake_case `event_name`; do not pass the legacy `eventName` spelling.
39
+ - `cluster_date_policy` is valid only when `field.type` is `tag` or `cluster`: `LATEST` uses the latest computed result, `AUTO` matches each analysis date dynamically, and `SPECIFIED` selects one fixed snapshot.
40
+ - `SPECIFIED` requires `specified_cluster_date` in `yyyy-MM-dd` format. Do not send `specified_cluster_date` with `LATEST` or `AUTO`.
41
+ - For tag `SPECIFIED`, choose a date returned by `analysis history-tag list`; do not invent a snapshot date. For a cluster, verify that the chosen fixed date exists in the target environment before creation.
39
42
  - Before calling `event list` / `property list`, read the corresponding reference documents.
40
43
  - For first validation, pass only required typed parameters: `--project-id`, `--event-name`, `--event-desc`, and `--events`.
41
44
  - Use `--payload` only when an exact virtual-event rule DTO is already available.
42
45
  - This is an ordinary write operation; execute it without the high-risk confirmation flag.
43
46
 
44
47
  ## Recommended Chain
45
- - `analysis-meta event list` -> `analysis-meta property list` -> `analysis-meta virtual-event create`
48
+ - Ordinary properties: `analysis-meta event list` -> `analysis-meta property list` -> `analysis-meta virtual-event create`
49
+ - Tag snapshot: `analysis-meta event list` -> `analysis user-tag list` -> `analysis history-tag list` -> `analysis-meta virtual-event create`
50
+ - Cluster snapshot: `analysis-meta event list` -> `analysis user-cluster list` -> verify the fixed result date -> `analysis-meta virtual-event create`
@@ -8,7 +8,6 @@ Command:
8
8
 
9
9
  ```bash
10
10
  ae-cli analysis-meta virtual-event get --project-id <project_id> --v-event-id <v_event_id>
11
- ae-cli analysis-meta virtual-event get --dry-run
12
11
  ```
13
12
 
14
13
  Capability id: `metadata.virtual_event.get`.
@@ -12,7 +12,6 @@ Command:
12
12
  ae-cli analysis-meta virtual-property create --project-id <project_id> --property-name '#vp@demo' --table-type event --select-type string --sql-expression 'event_name' --sql-event-relation-type relation_default
13
13
  ae-cli analysis-meta virtual-property create --project-id <project_id> --property-name '#vp@demo' --property-desc demo --table-type event --select-type string --sql-expression "CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END" --sql-event-relation-type relation_by_setting --related-events '[{"eventName":"purchase"}]' --property-remark demo
14
14
  ae-cli analysis-meta virtual-property create --project-id <project_id> --sql-expression '<sql>' --v-prop '{"property":{"column_name":"#vp@demo","table_type":"event","select_type":"string"}}' --properties '[...]'
15
- ae-cli analysis-meta virtual-property create --project-id <project_id> --sql-expression '<sql>' --v-prop '{...}' --dry-run
16
15
  ```
17
16
 
18
17
  Capability id: `metadata.virtual_property.create`.
@@ -8,7 +8,6 @@ Command:
8
8
 
9
9
  ```bash
10
10
  ae-cli analysis-meta virtual-property sql-rule-update --project-id <project_id> --sql-expression '<sql>' --v-prop '{"prop_id":22990,"property":{"column_name":"#vp@demo","table_type":"event","select_type":"number"}}' --properties '[...]'
11
- ae-cli analysis-meta virtual-property sql-rule-update --project-id <project_id> --sql-expression '<sql>' --v-prop '{"prop_id":22990,"property":{"column_name":"#vp@demo","table_type":"event","select_type":"number"}}' --dry-run
12
11
  ```
13
12
 
14
13
  Capability id: `metadata.virtual_property.sql_rule_update`.