@thinkingai/ae-cli 6.0.30 → 6.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/README.md +8 -9
  2. package/README.zh.md +8 -9
  3. package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
  4. package/dist/{capability-KVA55RMK.js → capability-QW4AVJHI.js} +49 -10
  5. package/dist/{capability-LKHLZQPD.js → capability-SCRFGODD.js} +49 -10
  6. package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
  7. package/dist/chunk-7OLGDQQ2.js +71 -0
  8. package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
  9. package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
  10. package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
  11. package/dist/{chunk-CWZUGF2J.js → chunk-PTE56QPL.js} +15 -0
  12. package/dist/chunk-TBHBYKXZ.js +71 -0
  13. package/dist/{chunk-ZAOL36CG.js → chunk-TNW2CI4W.js} +46 -30
  14. package/dist/{config-ZVPARN4R.js → config-7UZWDE74.js} +25 -25
  15. package/dist/index.js +182 -63
  16. package/dist/{metadata-6CCFV4K5.js → metadata-BFDL6RUK.js} +6 -43
  17. package/dist/{metadata-PDOIWH5O.js → metadata-FCLDBXX2.js} +6 -43
  18. package/dist/{raw-OHSUK42D.js → raw-CN542NGT.js} +8 -6
  19. package/dist/{sync-ULT5SECP.js → sync-ERNHDPB5.js} +1 -1
  20. package/dist/{te-agent-FAIBM3SA.js → te-agent-FCCWUDTJ.js} +1 -1
  21. package/dist/te-analysis-PUVF5IF4.js +5736 -0
  22. package/dist/te-analysis-UJDOKPAN.js +5736 -0
  23. package/dist/te-common-VUX3VOXZ.js +60 -0
  24. package/dist/te-common-XLAGWNIV.js +60 -0
  25. package/dist/{te-community-6A7LKYUH.js → te-community-PEZ2VEF7.js} +1 -1
  26. package/dist/{te-community-GMWFGILT.js → te-community-TSKJ652U.js} +1 -1
  27. package/dist/{te-dataops-Z53CTG2U.js → te-dataops-F36T656A.js} +32 -12
  28. package/dist/{te-dataops-6LIPYNGH.js → te-dataops-ZNJBQ6VT.js} +33 -12
  29. package/dist/te-engage-K4AEUPK5.js +3894 -0
  30. package/dist/te-engage-QBCCME22.js +3894 -0
  31. package/dist/{te-kb-NT33UHAE.js → te-kb-AYCODNU6.js} +56 -17
  32. package/dist/{te-meta-PKT27OTN.js → te-meta-ARDIW3YI.js} +4 -237
  33. package/dist/{te-meta-FADFLTDM.js → te-meta-UUROEODR.js} +4 -237
  34. package/dist/{te-team-RG75PR5D.js → te-team-OKCOX7OE.js} +5 -5
  35. package/package.json +15 -7
  36. package/skills/ae-agent/SKILL.md +6 -8
  37. package/skills/ae-agent/references/accept-skill-share.md +2 -2
  38. package/skills/ae-agent/references/add-attachment.md +3 -3
  39. package/skills/ae-agent/references/add-mcp.md +2 -3
  40. package/skills/ae-agent/references/add-model.md +3 -5
  41. package/skills/ae-agent/references/add-skill.md +2 -3
  42. package/skills/ae-agent/references/approve-skill.md +2 -2
  43. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +3 -3
  44. package/skills/ae-agent/references/cancel-skill-submission.md +2 -2
  45. package/skills/ae-agent/references/copy-skill.md +3 -3
  46. package/skills/ae-agent/references/create-agent.md +3 -4
  47. package/skills/ae-agent/references/create-automation.md +5 -9
  48. package/skills/ae-agent/references/del-agent.md +3 -2
  49. package/skills/ae-agent/references/del-attachment.md +3 -2
  50. package/skills/ae-agent/references/del-mcp.md +3 -2
  51. package/skills/ae-agent/references/del-model.md +3 -2
  52. package/skills/ae-agent/references/del-skill-asset.md +3 -3
  53. package/skills/ae-agent/references/del-skill-reference.md +3 -3
  54. package/skills/ae-agent/references/del-skill-script.md +3 -3
  55. package/skills/ae-agent/references/del-skill.md +3 -2
  56. package/skills/ae-agent/references/edit-skill.md +4 -4
  57. package/skills/ae-agent/references/mcp-auth-disconnect.md +2 -2
  58. package/skills/ae-agent/references/mcp-auth-start.md +3 -3
  59. package/skills/ae-agent/references/reject-skill-share.md +2 -2
  60. package/skills/ae-agent/references/reject-skill.md +2 -2
  61. package/skills/ae-agent/references/rescan-skills.md +2 -2
  62. package/skills/ae-agent/references/set-mcp-credential.md +3 -3
  63. package/skills/ae-agent/references/set-mcp-meta.md +2 -2
  64. package/skills/ae-agent/references/set-skill-meta.md +2 -2
  65. package/skills/ae-agent/references/share-skill.md +3 -3
  66. package/skills/ae-agent/references/submit-skill.md +3 -3
  67. package/skills/ae-agent/references/toggle-mcp.md +3 -3
  68. package/skills/ae-agent/references/toggle-model.md +3 -3
  69. package/skills/ae-agent/references/toggle-skill.md +3 -3
  70. package/skills/ae-agent/references/update-agent.md +2 -2
  71. package/skills/ae-agent/references/update-automation.md +6 -8
  72. package/skills/ae-agent/references/update-mcp.md +4 -4
  73. package/skills/ae-agent/references/update-model.md +2 -3
  74. package/skills/ae-agent/references/upload-skill-asset.md +3 -3
  75. package/skills/ae-agent/references/upload-skill-reference.md +3 -3
  76. package/skills/ae-agent/references/upload-skill-script.md +3 -3
  77. package/skills/ae-agent/references/upload-skill.md +6 -7
  78. package/skills/ae-analysis/SKILL.md +108 -512
  79. package/skills/ae-analysis/references/adhoc_export.md +68 -0
  80. package/skills/ae-analysis/references/adhoc_run.md +54 -0
  81. package/skills/ae-analysis/references/ai_models.md +475 -0
  82. package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
  83. package/skills/ae-analysis/references/analysis_drilldown_contract.md +93 -0
  84. package/skills/ae-analysis/references/analysis_gateway_assets.md +73 -12
  85. package/skills/ae-analysis/references/analysis_interpretation.md +38 -0
  86. package/skills/ae-analysis/references/artifact_download.md +13 -7
  87. package/skills/ae-analysis/references/asset_abnormal_get.md +5 -5
  88. package/skills/ae-analysis/references/asset_abnormal_list.md +5 -5
  89. package/skills/ae-analysis/references/asset_authentication_list.md +5 -5
  90. package/skills/ae-analysis/references/asset_authentication_update.md +6 -6
  91. package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +26 -0
  92. package/skills/ae-analysis/references/asset_batch_delete.md +26 -0
  93. package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +26 -0
  94. package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +26 -0
  95. package/skills/ae-analysis/references/asset_batch_handover.md +26 -0
  96. package/skills/ae-analysis/references/asset_batch_info_export.md +25 -0
  97. package/skills/ae-analysis/references/asset_batch_sql_export.md +25 -0
  98. package/skills/ae-analysis/references/asset_dependency_list.md +30 -0
  99. package/skills/ae-analysis/references/asset_export.md +30 -0
  100. package/skills/ae-analysis/references/asset_impact_list.md +30 -0
  101. package/skills/ae-analysis/references/asset_lineage_get.md +25 -0
  102. package/skills/ae-analysis/references/asset_list.md +30 -0
  103. package/skills/ae-analysis/references/asset_query_history_list.md +30 -0
  104. package/skills/ae-analysis/references/asset_recent_list.md +4 -4
  105. package/skills/ae-analysis/references/asset_search.md +4 -4
  106. package/skills/ae-analysis/references/asset_url_get.md +29 -0
  107. package/skills/ae-analysis/references/audience_models.md +42 -0
  108. package/skills/ae-analysis/references/batch_create_metadata.md +5 -1
  109. package/skills/ae-analysis/references/batch_edit_metadata.md +4 -1
  110. package/skills/ae-analysis/references/bi_panel_copy.md +1 -1
  111. package/skills/ae-analysis/references/bi_panel_create.md +1 -1
  112. package/skills/ae-analysis/references/bi_panel_delete.md +2 -0
  113. package/skills/ae-analysis/references/bi_panel_list.md +4 -2
  114. package/skills/ae-analysis/references/bi_panel_page_data_export.md +8 -4
  115. package/skills/ae-analysis/references/bi_panel_page_data_run.md +7 -3
  116. package/skills/ae-analysis/references/bi_panel_share.md +1 -1
  117. package/skills/ae-analysis/references/bi_panel_update.md +1 -1
  118. package/skills/ae-analysis/references/bi_panel_version_publish.md +1 -1
  119. package/skills/ae-analysis/references/cancel_query.md +4 -4
  120. package/skills/ae-analysis/references/command_index.md +243 -0
  121. package/skills/ae-analysis/references/create_alert.md +1 -1
  122. package/skills/ae-analysis/references/create_entity.md +3 -3
  123. package/skills/ae-analysis/references/create_project_mark_time.md +2 -1
  124. package/skills/ae-analysis/references/dashboard_copy.md +1 -1
  125. package/skills/ae-analysis/references/dashboard_create.md +1 -1
  126. package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -1
  127. package/skills/ae-analysis/references/dashboard_daily_report_update.md +1 -1
  128. package/skills/ae-analysis/references/dashboard_definition_import.md +1 -1
  129. package/skills/ae-analysis/references/dashboard_delete.md +2 -0
  130. package/skills/ae-analysis/references/dashboard_freeze.md +1 -1
  131. package/skills/ae-analysis/references/dashboard_handover.md +1 -1
  132. package/skills/ae-analysis/references/dashboard_list.md +4 -2
  133. package/skills/ae-analysis/references/dashboard_report_add.md +15 -0
  134. package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -7
  135. package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -7
  136. package/skills/ae-analysis/references/dashboard_share.md +11 -2
  137. package/skills/ae-analysis/references/dashboard_update.md +12 -3
  138. package/skills/ae-analysis/references/datatable_columns_get.md +2 -2
  139. package/skills/ae-analysis/references/datatable_influence_list.md +2 -2
  140. package/skills/ae-analysis/references/datatable_version_get.md +2 -2
  141. package/skills/ae-analysis/references/datatable_version_list.md +2 -2
  142. package/skills/ae-analysis/references/delete_alert.md +8 -3
  143. package/skills/ae-analysis/references/delete_project_mark_times.md +5 -3
  144. package/skills/ae-analysis/references/delete_track_items.md +4 -3
  145. package/skills/ae-analysis/references/drilldown_entities_export.md +26 -0
  146. package/skills/ae-analysis/references/drilldown_entities_run.md +33 -0
  147. package/skills/ae-analysis/references/drilldown_events_export.md +21 -0
  148. package/skills/ae-analysis/references/drilldown_events_run.md +23 -0
  149. package/skills/ae-analysis/references/drilldown_user_events_export.md +23 -0
  150. package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
  151. package/skills/ae-analysis/references/entity_detail_export.md +33 -0
  152. package/skills/ae-analysis/references/entity_detail_run.md +57 -0
  153. package/skills/ae-analysis/references/entity_id_import_options.md +20 -0
  154. package/skills/ae-analysis/references/event_changelog_list.md +2 -2
  155. package/skills/ae-analysis/references/event_create.md +4 -4
  156. package/skills/ae-analysis/references/event_delete.md +5 -4
  157. package/skills/ae-analysis/references/event_detail_export.md +33 -0
  158. package/skills/ae-analysis/references/event_detail_run.md +60 -0
  159. package/skills/ae-analysis/references/event_get.md +2 -2
  160. package/skills/ae-analysis/references/event_hide_update.md +3 -3
  161. package/skills/ae-analysis/references/event_influence_list.md +2 -2
  162. package/skills/ae-analysis/references/event_list.md +12 -4
  163. package/skills/ae-analysis/references/{super_metadata_export.md → event_property_bundle_export.md} +7 -7
  164. package/skills/ae-analysis/references/event_property_bundle_import.md +25 -0
  165. package/skills/ae-analysis/references/event_relation_update.md +4 -4
  166. package/skills/ae-analysis/references/event_update.md +2 -2
  167. package/skills/ae-analysis/references/exchange_config_update.md +2 -2
  168. package/skills/ae-analysis/references/exchange_rate_refresh.md +2 -2
  169. package/skills/ae-analysis/references/exchange_rule_list.md +2 -2
  170. package/skills/ae-analysis/references/exchange_rule_update.md +4 -4
  171. package/skills/ae-analysis/references/exchange_rule_validate.md +4 -4
  172. package/skills/ae-analysis/references/favorite_add.md +1 -1
  173. package/skills/ae-analysis/references/favorite_remove.md +1 -1
  174. package/skills/ae-analysis/references/folder_create.md +2 -3
  175. package/skills/ae-analysis/references/folder_share.md +2 -3
  176. package/skills/ae-analysis/references/generate_track_program.md +2 -1
  177. package/skills/ae-analysis/references/generate_track_sdk_sample.md +2 -1
  178. package/skills/ae-analysis/references/get_alert.md +4 -0
  179. package/skills/ae-analysis/references/get_alert_definition_schema.md +1 -0
  180. package/skills/ae-analysis/references/get_project_config.md +1 -0
  181. package/skills/ae-analysis/references/get_track_program.md +3 -0
  182. package/skills/ae-analysis/references/history_tag_batch_refresh.md +19 -0
  183. package/skills/ae-analysis/references/history_tag_clear.md +13 -0
  184. package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +15 -0
  185. package/skills/ae-analysis/references/history_tag_data_drilldown_run.md +13 -0
  186. package/skills/ae-analysis/references/history_tag_data_export.md +15 -0
  187. package/skills/ae-analysis/references/history_tag_data_run.md +15 -0
  188. package/skills/ae-analysis/references/history_tag_list.md +11 -0
  189. package/skills/ae-analysis/references/history_tag_refresh.md +11 -0
  190. package/skills/ae-analysis/references/input_file_inspect.md +9 -0
  191. package/skills/ae-analysis/references/input_file_purpose_list.md +9 -0
  192. package/skills/ae-analysis/references/input_file_upload.md +11 -0
  193. package/skills/ae-analysis/references/list_alerts.md +3 -2
  194. package/skills/ae-analysis/references/list_entities.md +4 -3
  195. package/skills/ae-analysis/references/list_project_mark_times.md +2 -1
  196. package/skills/ae-analysis/references/list_project_users.md +1 -0
  197. package/skills/ae-analysis/references/load_filters.md +3 -0
  198. package/skills/ae-analysis/references/metric_create.md +20 -6
  199. package/skills/ae-analysis/references/metric_delete.md +12 -4
  200. package/skills/ae-analysis/references/metric_get.md +8 -2
  201. package/skills/ae-analysis/references/metric_list.md +17 -4
  202. package/skills/ae-analysis/references/metric_update.md +23 -6
  203. package/skills/ae-analysis/references/operation_record_export.md +25 -0
  204. package/skills/ae-analysis/references/operation_record_list.md +31 -0
  205. package/skills/ae-analysis/references/project_access_detail_get.md +23 -0
  206. package/skills/ae-analysis/references/project_data_power_delete.md +26 -0
  207. package/skills/ae-analysis/references/project_data_power_get.md +24 -0
  208. package/skills/ae-analysis/references/project_data_power_list.md +23 -0
  209. package/skills/ae-analysis/references/project_data_power_upsert.md +24 -0
  210. package/skills/ae-analysis/references/project_entity_create.md +27 -0
  211. package/skills/ae-analysis/references/project_entity_delete.md +25 -0
  212. package/skills/ae-analysis/references/project_entity_event_list.md +24 -0
  213. package/skills/ae-analysis/references/project_entity_get.md +24 -0
  214. package/skills/ae-analysis/references/project_entity_list.md +28 -0
  215. package/skills/ae-analysis/references/project_entity_update.md +28 -0
  216. package/skills/ae-analysis/references/project_function_list.md +24 -0
  217. package/skills/ae-analysis/references/project_info_get.md +23 -0
  218. package/skills/ae-analysis/references/project_info_list.md +26 -0
  219. package/skills/ae-analysis/references/project_info_update.md +25 -0
  220. package/skills/ae-analysis/references/project_mark_time_create.md +27 -0
  221. package/skills/ae-analysis/references/project_mark_time_delete.md +25 -0
  222. package/skills/ae-analysis/references/project_mark_time_list.md +28 -0
  223. package/skills/ae-analysis/references/project_mark_time_update.md +28 -0
  224. package/skills/ae-analysis/references/project_member_add.md +25 -0
  225. package/skills/ae-analysis/references/project_member_batch_update.md +24 -0
  226. package/skills/ae-analysis/references/project_member_candidate_list.md +25 -0
  227. package/skills/ae-analysis/references/project_member_handover_export.md +27 -0
  228. package/skills/ae-analysis/references/project_member_handover_run.md +24 -0
  229. package/skills/ae-analysis/references/project_member_import.md +25 -0
  230. package/skills/ae-analysis/references/project_member_list.md +23 -0
  231. package/skills/ae-analysis/references/project_member_receiver_list.md +23 -0
  232. package/skills/ae-analysis/references/project_member_remove.md +26 -0
  233. package/skills/ae-analysis/references/project_member_update.md +25 -0
  234. package/skills/ae-analysis/references/project_owner_update.md +27 -0
  235. package/skills/ae-analysis/references/project_permission_binding_list.md +24 -0
  236. package/skills/ae-analysis/references/project_receive_status_update.md +25 -0
  237. package/skills/ae-analysis/references/project_role_delete.md +25 -0
  238. package/skills/ae-analysis/references/project_role_function_list.md +27 -0
  239. package/skills/ae-analysis/references/project_role_get.md +23 -0
  240. package/skills/ae-analysis/references/project_role_list.md +25 -0
  241. package/skills/ae-analysis/references/project_role_upsert.md +24 -0
  242. package/skills/ae-analysis/references/project_role_user_list.md +23 -0
  243. package/skills/ae-analysis/references/project_space_create.md +2 -3
  244. package/skills/ae-analysis/references/project_space_list.md +3 -1
  245. package/skills/ae-analysis/references/project_space_share.md +2 -3
  246. package/skills/ae-analysis/references/project_timezone_get.md +23 -0
  247. package/skills/ae-analysis/references/project_timezone_overview.md +23 -0
  248. package/skills/ae-analysis/references/project_timezone_update.md +25 -0
  249. package/skills/ae-analysis/references/project_user_id_items_update.md +24 -0
  250. package/skills/ae-analysis/references/property_changelog_list.md +2 -2
  251. package/skills/ae-analysis/references/property_create.md +4 -4
  252. package/skills/ae-analysis/references/property_delete.md +5 -4
  253. package/skills/ae-analysis/references/property_get.md +2 -2
  254. package/skills/ae-analysis/references/property_hide_update.md +3 -3
  255. package/skills/ae-analysis/references/property_influence_list.md +2 -2
  256. package/skills/ae-analysis/references/property_list.md +21 -6
  257. package/skills/ae-analysis/references/property_related_events.md +2 -2
  258. package/skills/ae-analysis/references/property_relation_update.md +4 -4
  259. package/skills/ae-analysis/references/property_update.md +2 -2
  260. package/skills/ae-analysis/references/public_link_create.md +2 -2
  261. package/skills/ae-analysis/references/public_link_delete.md +2 -0
  262. package/skills/ae-analysis/references/public_link_list.md +3 -1
  263. package/skills/ae-analysis/references/public_link_offline.md +1 -1
  264. package/skills/ae-analysis/references/public_link_update.md +1 -1
  265. package/skills/ae-analysis/references/query_cancel.md +1 -1
  266. package/skills/ae-analysis/references/query_create_result_cluster.md +29 -0
  267. package/skills/ae-analysis/references/report_abnormal_get.md +15 -0
  268. package/skills/ae-analysis/references/report_change_log_get.md +15 -0
  269. package/skills/ae-analysis/references/report_change_log_list.md +15 -0
  270. package/skills/ae-analysis/references/report_create.md +29 -0
  271. package/skills/ae-analysis/references/report_data_export.md +37 -0
  272. package/skills/ae-analysis/references/report_data_run.md +45 -0
  273. package/skills/ae-analysis/references/report_delete.md +17 -0
  274. package/skills/ae-analysis/references/report_get.md +23 -0
  275. package/skills/ae-analysis/references/report_list.md +17 -0
  276. package/skills/ae-analysis/references/report_list_export.md +15 -0
  277. package/skills/ae-analysis/references/report_update.md +22 -0
  278. package/skills/ae-analysis/references/report_version_rollback.md +15 -0
  279. package/skills/ae-analysis/references/rule_create.md +27 -0
  280. package/skills/ae-analysis/references/rule_delete.md +26 -0
  281. package/skills/ae-analysis/references/rule_list.md +24 -0
  282. package/skills/ae-analysis/references/rule_schema.md +24 -0
  283. package/skills/ae-analysis/references/rule_update.md +28 -0
  284. package/skills/ae-analysis/references/run_inspect.md +10 -4
  285. package/skills/ae-analysis/references/save_track_items.md +4 -1
  286. package/skills/ae-analysis/references/sql_table_columns.md +20 -0
  287. package/skills/ae-analysis/references/sql_table_list.md +33 -0
  288. package/skills/ae-analysis/references/update_alert.md +1 -1
  289. package/skills/ae-analysis/references/update_project_mark_time.md +4 -3
  290. package/skills/ae-analysis/references/user_cluster_create.md +17 -0
  291. package/skills/ae-analysis/references/user_cluster_create_id.md +15 -0
  292. package/skills/ae-analysis/references/user_cluster_delete.md +13 -0
  293. package/skills/ae-analysis/references/user_cluster_get.md +15 -0
  294. package/skills/ae-analysis/references/user_cluster_list.md +15 -0
  295. package/skills/ae-analysis/references/user_cluster_member_export.md +15 -0
  296. package/skills/ae-analysis/references/user_cluster_member_list.md +19 -0
  297. package/skills/ae-analysis/references/user_cluster_models.md +87 -0
  298. package/skills/ae-analysis/references/user_cluster_refresh.md +13 -0
  299. package/skills/ae-analysis/references/user_cluster_update.md +15 -0
  300. package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
  301. package/skills/ae-analysis/references/user_tag_create.md +17 -0
  302. package/skills/ae-analysis/references/user_tag_create_id.md +15 -0
  303. package/skills/ae-analysis/references/user_tag_delete.md +13 -0
  304. package/skills/ae-analysis/references/user_tag_get.md +15 -0
  305. package/skills/ae-analysis/references/user_tag_list.md +17 -0
  306. package/skills/ae-analysis/references/user_tag_member_export.md +15 -0
  307. package/skills/ae-analysis/references/user_tag_member_list.md +19 -0
  308. package/skills/ae-analysis/references/user_tag_models.md +54 -0
  309. package/skills/ae-analysis/references/user_tag_refresh.md +13 -0
  310. package/skills/ae-analysis/references/user_tag_update.md +15 -0
  311. package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
  312. package/skills/ae-analysis/references/virtual_event_create.md +24 -5
  313. package/skills/ae-analysis/references/virtual_event_delete.md +5 -4
  314. package/skills/ae-analysis/references/virtual_event_get.md +2 -2
  315. package/skills/ae-analysis/references/virtual_property_create.md +34 -6
  316. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +5 -4
  317. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +13 -6
  318. package/skills/ae-analysis-global/SKILL.md +6 -8
  319. package/skills/ae-analysis-global/references/list_query_clusters.md +7 -6
  320. package/skills/ae-capability/SKILL.md +68 -15
  321. package/skills/ae-community/SKILL.md +2 -2
  322. package/skills/ae-dataops/SKILL.md +1 -1
  323. package/skills/ae-engage/SKILL.md +233 -10
  324. package/skills/ae-engage/references/activity-activity-type.md +42 -0
  325. package/skills/ae-engage/references/activity-activity.md +70 -0
  326. package/skills/ae-engage/references/activity-approval.md +53 -0
  327. package/skills/ae-engage/references/activity-task.md +87 -0
  328. package/skills/ae-engage/references/activity-topic.md +98 -0
  329. package/skills/ae-engage/references/approval-approver-delete.md +26 -0
  330. package/skills/ae-engage/references/build-task-save-guide.md +11 -9
  331. package/skills/ae-engage/references/channel-test-send.md +37 -0
  332. package/skills/ae-engage/references/channel-touch-limits-batch-update.md +28 -0
  333. package/skills/ae-engage/references/channel-touch-limits-save.md +37 -0
  334. package/skills/ae-engage/references/channel-touch-limits-toggle.md +28 -0
  335. package/skills/ae-engage/references/channel-update-config.md +36 -0
  336. package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
  337. package/skills/ae-engage/references/client-param.md +58 -0
  338. package/skills/ae-engage/references/common-metric.md +75 -0
  339. package/skills/ae-engage/references/config-table.md +92 -0
  340. package/skills/ae-engage/references/engage-scene-config-item.md +69 -0
  341. package/skills/ae-engage/references/group-list.md +13 -0
  342. package/skills/ae-engage/references/operation-log-query.md +11 -0
  343. package/skills/ae-engage/references/preset-event.md +42 -0
  344. package/skills/ae-engage/references/push-language.md +39 -0
  345. package/skills/ae-engage/references/push-record-query.md +26 -0
  346. package/skills/ae-engage/references/save-flow.md +5 -4
  347. package/skills/ae-engage/references/save-task.md +24 -20
  348. package/skills/ae-engage/references/scene-config-channel.md +58 -0
  349. package/skills/ae-engage/references/scene-config-group.md +62 -0
  350. package/skills/ae-engage/references/scene-config-item.md +68 -0
  351. package/skills/ae-engage/references/scene-config-metric.md +79 -0
  352. package/skills/ae-engage/references/scene-config-param.md +72 -0
  353. package/skills/ae-engage/references/scene-preset-metric.md +45 -0
  354. package/skills/ae-engage/references/scene-strategy.md +47 -0
  355. package/skills/ae-engage/references/scene-template.md +71 -0
  356. package/skills/ae-engage/references/segment-list-query.md +18 -0
  357. package/skills/ae-engage/references/task-delete.md +14 -0
  358. package/skills/ae-engage/references/task-operation-log-query.md +23 -0
  359. package/skills/ae-engage/references/version-list.md +18 -0
  360. package/skills/ae-engage/references/whitelist.md +72 -0
  361. package/skills/ae-engage/references/workbench-workbench.md +48 -0
  362. package/skills/ae-generate-tracking-code/SKILL.md +1 -1
  363. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
  364. package/skills/ae-generate-tracking-plan/SKILL.md +21 -13
  365. package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
  366. package/skills/ae-kb/SKILL.md +33 -7
  367. package/skills/ae-metadata/SKILL.md +10 -9
  368. package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
  369. package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
  370. package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
  371. package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
  372. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
  373. package/skills/ae-metadata/references/metadata_event_get.md +4 -4
  374. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +4 -4
  375. package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
  376. package/skills/ae-metadata/references/metadata_property_get.md +4 -4
  377. package/skills/ae-team/SKILL.md +9 -9
  378. package/skills/ae-team/references/create.md +2 -2
  379. package/skills/ae-team/references/delete.md +3 -3
  380. package/skills/ae-team/references/run-cancel.md +3 -3
  381. package/skills/ae-team/references/run-chat.md +4 -4
  382. package/skills/ae-team/references/run-reply.md +3 -3
  383. package/skills/ae-team/references/run-start.md +4 -5
  384. package/skills/ae-team/references/run-watch.md +1 -1
  385. package/skills/ae-team/references/update.md +2 -2
  386. package/dist/chunk-P2JRP6HJ.js +0 -42
  387. package/dist/chunk-S5XN6KEX.js +0 -42
  388. package/dist/te-analysis-DDXGM7WM.js +0 -3188
  389. package/dist/te-analysis-HCDNYI7E.js +0 -3188
  390. package/dist/te-audience-ECFS4GF4.js +0 -600
  391. package/dist/te-audience-WO377T2J.js +0 -600
  392. package/dist/te-common-CFGQXTFV.js +0 -130
  393. package/dist/te-common-SDB3O2QG.js +0 -130
  394. package/dist/te-engage-545HJL6J.js +0 -1525
  395. package/dist/te-engage-M7JQSJDP.js +0 -1525
  396. package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
  397. package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
  398. package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
  399. package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
  400. package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
  401. package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
  402. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
  403. package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
  404. package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
  405. package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
  406. package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
  407. package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
  408. package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
  409. package/skills/ae-analysis/references/build_tag_definition.md +0 -65
  410. package/skills/ae-analysis/references/copy_dashboard.md +0 -33
  411. package/skills/ae-analysis/references/create_cluster.md +0 -69
  412. package/skills/ae-analysis/references/create_dashboard.md +0 -49
  413. package/skills/ae-analysis/references/create_id_cluster.md +0 -40
  414. package/skills/ae-analysis/references/create_id_tag.md +0 -39
  415. package/skills/ae-analysis/references/create_metric.md +0 -62
  416. package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
  417. package/skills/ae-analysis/references/create_public_access_link.md +0 -43
  418. package/skills/ae-analysis/references/create_report.md +0 -60
  419. package/skills/ae-analysis/references/create_result_cluster.md +0 -73
  420. package/skills/ae-analysis/references/create_space.md +0 -34
  421. package/skills/ae-analysis/references/create_tag.md +0 -61
  422. package/skills/ae-analysis/references/create_virtual_event.md +0 -64
  423. package/skills/ae-analysis/references/create_virtual_property.md +0 -69
  424. package/skills/ae-analysis/references/delete_cluster.md +0 -27
  425. package/skills/ae-analysis/references/delete_dashboard.md +0 -30
  426. package/skills/ae-analysis/references/delete_metric.md +0 -27
  427. package/skills/ae-analysis/references/delete_report.md +0 -27
  428. package/skills/ae-analysis/references/delete_tag.md +0 -27
  429. package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
  430. package/skills/ae-analysis/references/drilldown_users.md +0 -80
  431. package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
  432. package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
  433. package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
  434. package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
  435. package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
  436. package/skills/ae-analysis/references/get_filter_schema.md +0 -33
  437. package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
  438. package/skills/ae-analysis/references/get_metric.md +0 -38
  439. package/skills/ae-analysis/references/get_report_definition.md +0 -37
  440. package/skills/ae-analysis/references/get_resource_url.md +0 -32
  441. package/skills/ae-analysis/references/get_table_columns.md +0 -37
  442. package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
  443. package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
  444. package/skills/ae-analysis/references/list_bi_panels.md +0 -35
  445. package/skills/ae-analysis/references/list_cluster_members.md +0 -45
  446. package/skills/ae-analysis/references/list_clusters.md +0 -46
  447. package/skills/ae-analysis/references/list_dashboards.md +0 -43
  448. package/skills/ae-analysis/references/list_events.md +0 -46
  449. package/skills/ae-analysis/references/list_metrics.md +0 -52
  450. package/skills/ae-analysis/references/list_properties.md +0 -47
  451. package/skills/ae-analysis/references/list_public_access_links.md +0 -41
  452. package/skills/ae-analysis/references/list_reports.md +0 -43
  453. package/skills/ae-analysis/references/list_spaces.md +0 -27
  454. package/skills/ae-analysis/references/list_tag_members.md +0 -46
  455. package/skills/ae-analysis/references/list_tags.md +0 -44
  456. package/skills/ae-analysis/references/move_dashboard.md +0 -33
  457. package/skills/ae-analysis/references/query_adhoc.md +0 -141
  458. package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
  459. package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
  460. package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
  461. package/skills/ae-analysis/references/query_entity_details.md +0 -63
  462. package/skills/ae-analysis/references/query_event_details.md +0 -66
  463. package/skills/ae-analysis/references/query_report_data.md +0 -99
  464. package/skills/ae-analysis/references/refresh_cluster.md +0 -31
  465. package/skills/ae-analysis/references/refresh_tag.md +0 -31
  466. package/skills/ae-analysis/references/super_metadata_import.md +0 -24
  467. package/skills/ae-analysis/references/update_cluster.md +0 -61
  468. package/skills/ae-analysis/references/update_dashboard.md +0 -45
  469. package/skills/ae-analysis/references/update_id_cluster.md +0 -36
  470. package/skills/ae-analysis/references/update_id_tag.md +0 -37
  471. package/skills/ae-analysis/references/update_metric.md +0 -61
  472. package/skills/ae-analysis/references/update_public_access_link.md +0 -41
  473. package/skills/ae-analysis/references/update_report.md +0 -35
  474. package/skills/ae-analysis/references/update_tag.md +0 -61
  475. package/skills/ae-analysis-intent/SKILL.md +0 -132
  476. package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
@@ -0,0 +1,54 @@
1
+ # User tag definition models
2
+
3
+ This is the canonical `--definition-request` contract for direct user-tag create/update. Shared operators, properties, time ranges, and filters are defined in [`audience_models.md`](audience_models.md).
4
+
5
+ Top-level `type` is exactly one of `condition`, `metric`, `first_last`, or `sql`.
6
+
7
+ ## Condition tag
8
+
9
+ `condition_values` is a non-empty array. Each item requires `value`; optional fields are `remark`, `events`, `event_relation`, `filters`, `relation`, `event_user_relation`, and `behavior_sequences`.
10
+
11
+ ```json
12
+ {
13
+ "type":"condition",
14
+ "condition_values":[{
15
+ "value":"payer",
16
+ "remark":"Paid in the last 30 days",
17
+ "events":[{"event":"pay","operator":"gte","value":1,"aggregation":"count","time_range":{"mode":"recent","unit":"day","value":30}}],
18
+ "event_relation":"and",
19
+ "filters":{"relation":"and","items":[{"field":"country","operator":"eq","values":["US"]}]},
20
+ "event_user_relation":"and"
21
+ }]
22
+ }
23
+ ```
24
+
25
+ ## Metric tag
26
+
27
+ Required: `event`, `aggregation`. `property` and `time_range` are optional.
28
+
29
+ ```json
30
+ {"type":"metric","metric":{"event":"pay","aggregation":"sum","property":"amount","time_range":{"mode":"previous","unit":"day","value":30}}}
31
+ ```
32
+
33
+ ## First/last tag
34
+
35
+ Required: `event`, `occurrence=first|last`, and exactly one value source: `calculation` or `property`. `time_range` and `filters` are optional. Supplying neither or both value sources is rejected before execution.
36
+
37
+ ```json
38
+ {"type":"first_last","first_last":{"event":"login","occurrence":"last","property":"platform","time_range":{"mode":"recent","unit":"day","value":30}}}
39
+ ```
40
+
41
+ ## SQL tag
42
+
43
+ ```json
44
+ {"type":"sql","sql":"SELECT \"#user_id\", 'payer' AS tag_value FROM hive.ta.v_event_1 WHERE ${PartDate:partdate} AND \"$part_event\"='pay'","params":[{"name":"partdate","type":"part_date","recent_day":"1-7"}]}
45
+ ```
46
+
47
+ SQL tags support only `${PartDate:name}` dynamic placeholders. Every placeholder requires one `params` item with `type=part_date` and either `recent_day` or `start_time` plus `end_time`. `Text`, `Number`, `Variable`, `Time`, and `Selector` parameters are valid for general SQL analysis but are not valid for SQL tags.
48
+ For `recent_day`, `0-7` means 最近7天 and includes today; `1-7` means 过去7天 and excludes today.
49
+
50
+ Before writing a SQL tag, use `analysis sql-table list --project-id <project_id> --usage tag_cluster`, then call `analysis sql-table columns --project-id <project_id> --table-ref <table_ref> --usage tag_cluster`. The `tag_cluster` authorized table set is intentionally different from the general analysis SQL table set; do not reuse a table discovered with the default `usage=analysis`.
51
+
52
+ `#user_id`, `$part_event`, and any other Trino identifier containing `#`, `$`, `@`, spaces, or punctuation must be delimited with double quotes. Single quotes are only for values.
53
+
54
+ When the SQL reads an event table, it must also filter the quoted `"$part_date"` date-partition column; the backend rejects event-table SQL without that predicate.
@@ -0,0 +1,13 @@
1
+ # analysis user-tag refresh
2
+
3
+ Explicitly recompute an existing user tag by exact `tag_name` without changing its definition.
4
+
5
+ Use this only when an unchanged definition must be run again, such as an explicit retry or a recomputation against changed source data. Do not call it after `user-tag create` or an update containing `--definition-request`; those commands already start computation automatically. Do not use it to refresh one history snapshot. Output means recomputation was submitted, not completed. Poll `user-tag get` and verify the new computation before using `users_num` or querying members.
6
+
7
+ The response marks this as an explicit trigger: `computation.triggered_by_command=true`, `computation.triggered_automatically=false`, `computation.status=submitted`, and `result_freshness.is_stale=true`. Follow the returned `next_action`, `next_capability_id`, and `next_input` to poll.
8
+
9
+ Flags: `--project-id`, `--tag-name` required.
10
+
11
+ ```bash
12
+ ae-cli analysis user-tag refresh --project-id <project_id> --tag-name user_level
13
+ ```
@@ -0,0 +1,15 @@
1
+ # analysis user-tag update
2
+
3
+ Update a user tag. Discover the exact `tag_name` first.
4
+
5
+ Do not use it for ID-file value replacement or to create a missing tag. Supplying `--definition-request` automatically starts recomputation after the definition is updated; do not call `user-tag refresh` afterward. Updating only `--display-name` or `--remark` does not recompute. A successful update means the definition was saved, not that the new result is complete. Record the current `refresh_time` before updating, then poll `user-tag get` until `progress=100` and `refresh_time` advances before using `users_num` or querying members.
6
+
7
+ The response distinguishes both paths. A definition update returns `computation.triggered_automatically=true`, `result_freshness.is_stale=true`, and normally `next_action=poll_get` with an exact capability/input pair. A display-name/remark-only update returns `computation.status=not_triggered`, `result_freshness.status=fresh`, and `next_action=none`.
8
+
9
+ Flags: `--project-id`, `--tag-name` required. Optional: `--display-name`, `--definition-request`, `--authenticated-only`, `--remark`, `--zone-offset`. The tag type comes from `definition_request.type` when the definition changes.
10
+
11
+ Read `user_tag_models.md` before changing the definition. The backend validates and compiles `definition_request` inside update and refuses to modify the tag if clarification is required.
12
+
13
+ ```bash
14
+ ae-cli analysis user-tag update --project-id <project_id> --tag-name user_level --display-name "User Level v2"
15
+ ```
@@ -0,0 +1,15 @@
1
+ # analysis user-tag update-id
2
+
3
+ Update a tag by remapping imported values to its analysis entity.
4
+
5
+ Do not use it for condition/metric/first-last/SQL definition changes.
6
+
7
+ Flags: `--project-id`, `--tag-name` required. Provide exactly one of local `--input-file`, reusable `--input-file-id`, or small-test `--file-content`. Optional: `--display-name`, `--entity-id`, `--remarks`, conditional `--association-property`.
8
+
9
+ Use `analysis entity id-import-options` for the effective entity. CSV is headerless UTF-8 with exactly two non-empty columns: association value or entity ID, then `tag_value`.
10
+
11
+ ```bash
12
+ ae-cli analysis user-tag update-id --project-id <project_id> --tag-name vip_tag --input-file-id <input_file_id>
13
+ ```
14
+
15
+ The response reports `operation_status=PROCESSING` and a pending match summary. Read the tag again until processing completes to obtain final uploaded, matched, and unmatched counts.
@@ -2,24 +2,43 @@
2
2
 
3
3
  Use when the user needs to create a virtual event from events and filters.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for super-event creation.
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`.
6
8
 
7
9
  Command:
8
10
 
9
11
  ```bash
10
- ae-cli analysis-meta virtual-event create --project-id <project_id> --override true --payload '{}'
12
+ ae-cli analysis-meta virtual-event create --project-id <project_id> --event-name ta@demo --event-desc demo --events '[{"eventName":"purchase"}]'
13
+ ae-cli analysis-meta virtual-event create --project-id <project_id> --event-name ta@demo2 --event-desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
14
+ ae-cli analysis-meta virtual-event create --project-id <project_id> --override false --payload '{"event_name":"qualified_purchase","event_desc":"Qualified purchase","rule":{"events":[...],"filter":{...}}}'
11
15
  ae-cli analysis-meta virtual-event create --dry-run
12
16
  ```
13
17
 
14
18
  Capability id: `metadata.virtual_event.create`.
15
19
 
16
- Input sends `project_id`, `override`, `payload`.
20
+ Input sends `project_id`, `override`, and `payload`. When typed flags are used, ae-cli builds `payload` from `event_name`, `event_desc`, `remark`, and `rule.events/filter`.
17
21
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
22
+ Output is a successful gateway envelope with no business data. Read back with `virtual-event get` when the created event ID is known.
19
23
 
20
24
  ## Parameters
21
25
  | Parameter | Required | Description |
22
26
  |---|---|---|
23
27
  | `--project-id` | Yes | Numeric project ID. |
24
28
  | `--override` | No | Whether to override an existing virtual event rule. |
25
- | `--payload` | Yes | Capability payload JSON. |
29
+ | `--payload` | No | Full virtual-event DTO: `event_id?`, `event_name`, `event_desc?`, `remark?`, `rule` (`events` plus optional common `filter`), `replace_remark?`, `replace_suggestion?`. Common header fields are server-owned and must be omitted. |
30
+ | `--event-name` | No | Virtual event name. Must start with `ta@`. Required when `--payload` is omitted. |
31
+ | `--event-desc` | No | Virtual event display name. Required when `--payload` is omitted. |
32
+ | `--remark` | No | Optional virtual event remark. |
33
+ | `--events` | No | JSON array of events to combine. Required when `--payload` is omitted. |
34
+ | `--filter` | No | Optional global filter JSON. Referenced properties must come from `analysis-meta property list`. |
35
+
36
+ ## Decision Rules
37
+ - `events` / `filter` must not be handwritten by intuition alone; they must match real metadata in the same project.
38
+ - Before calling `event list` / `property list`, read the corresponding reference documents.
39
+ - For first validation, pass only required typed parameters: `--project-id`, `--event-name`, `--event-desc`, and `--events`.
40
+ - Use `--payload` only when an exact virtual-event rule DTO is already available.
41
+ - This is an ordinary write operation; execute it without the high-risk confirmation flag.
42
+
43
+ ## Recommended Chain
44
+ - `analysis-meta event list` -> `analysis-meta property list` -> `analysis-meta virtual-event create`
@@ -2,20 +2,21 @@
2
2
 
3
3
  Use when the user needs to delete a virtual event rule.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for super events or by guessed ID; resolve and inspect the virtual event first.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta virtual-event delete --project-id <project_id> --v-event-id <v_event_id>
11
- ae-cli analysis-meta virtual-event delete --dry-run
10
+ ae-cli analysis-meta virtual-event delete --project-id <project_id> --v-event-id <v_event_id> --dry-run
11
+ # Summarize the target and impact, then wait for explicit user confirmation.
12
+ ae-cli analysis-meta virtual-event delete --project-id <project_id> --v-event-id <v_event_id> --yes
12
13
  ```
13
14
 
14
15
  Capability id: `metadata.virtual_event.delete`.
15
16
 
16
17
  Input sends `project_id`, `v_event_id`.
17
18
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
19
+ Output is a successful gateway envelope with no business data.
19
20
 
20
21
  ## Parameters
21
22
  | Parameter | Required | Description |
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use when the user needs to get virtual event rule.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for super-event-by-name detail or event result data; this resolves one virtual event by numeric ID.
6
6
 
7
7
  Command:
8
8
 
@@ -15,7 +15,7 @@ Capability id: `metadata.virtual_event.get`.
15
15
 
16
16
  Input sends `project_id`, `v_event_id`.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output `data.virtual_event` contains the virtual-event metadata and rule.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
@@ -2,23 +2,51 @@
2
2
 
3
3
  Use when the user needs to create a SQL virtual event or user property.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for physical/super properties.
6
+
7
+ Before building `--sql-expression` / `--related-events`, validate available properties and events with `analysis-meta property list` and `analysis-meta event list` in the same `project_id`.
6
8
 
7
9
  Command:
8
10
 
9
11
  ```bash
10
- ae-cli analysis-meta virtual-property create --project-id <project_id> --payload '{}'
11
- ae-cli analysis-meta virtual-property create --dry-run
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
+ 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
+ ae-cli analysis-meta virtual-property create --project-id <project_id> --sql-expression '<sql>' --v-prop '{...}' --properties '[...]'
15
+ ae-cli analysis-meta virtual-property create --project-id <project_id> --sql-expression '<sql>' --v-prop '{...}' --dry-run
12
16
  ```
13
17
 
14
18
  Capability id: `metadata.virtual_property.create`.
15
19
 
16
- Input sends `project_id`, `payload`.
20
+ Input sends typed snake_case fields.
17
21
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
22
+ Output is a successful gateway envelope with no business data.
19
23
 
20
24
  ## Parameters
21
25
  | Parameter | Required | Description |
22
26
  |---|---|---|
23
27
  | `--project-id` | Yes | Numeric project ID. |
24
- | `--payload` | Yes | Capability payload JSON. |
28
+ | `--sql-expression` | Yes | SQL expression used to calculate the virtual property. |
29
+ | `--v-prop` | No | Full virtual property JSON object with `property.column_name`, `table_type`, and `select_type`. Use typed property flags unless an exact DTO is already available. |
30
+ | `--property-name` | No | Virtual property name. Must start with `#vp@`. Required when `--v-prop` is omitted. |
31
+ | `--property-desc` | No | Virtual property display name. |
32
+ | `--table-type` | No | Property table type: `event` or `user`. Required when `--v-prop` is omitted. |
33
+ | `--select-type` | No | Property value type: `string`, `number`, `bool`, or `datetime`. Required when `--v-prop` is omitted. |
34
+ | `--property-remark` | No | Optional virtual property remark. |
35
+ | `--properties` | No | Dependent property JSON array. |
36
+ | `--sql-event-relation-type` | No | `relation_default`, `relation_always`, or `relation_by_setting`. |
37
+ | `--related-events` | No | Related events JSON array for `relation_by_setting`. |
38
+ | `--tag-date-policies` | No | Tag date policies JSON array. |
39
+ | `--replace-remark` | No | Replacement remark. |
40
+ | `--replace-suggestion` | No | Replacement suggestion. |
41
+
42
+ ## Decision Rules
43
+ - `sql_expression` / `related_events` cannot be written from experience alone; they must be built from real project metadata.
44
+ - For first validation, pass only required typed parameters: `--project-id`, `--property-name`, `--table-type`, `--select-type`, `--sql-expression`, and `--sql-event-relation-type`.
45
+ - If `--sql-event-relation-type=relation_by_setting`, `--related-events` must contain event names from `analysis-meta event list`.
46
+ - Columns starting with `#` or containing `@` should be double-quoted in Trino SQL.
47
+ - Use `--v-prop` only when an exact virtual property DTO is already available.
48
+ - This is an ordinary write operation; execute it without the high-risk confirmation flag.
49
+
50
+ ## Recommended Chain
51
+ - `analysis-meta property list` -> `analysis-meta virtual-property create`
52
+ - `analysis-meta property list` -> `analysis-meta event list` -> `analysis-meta virtual-property create` when using `relation_by_setting`
@@ -2,20 +2,21 @@
2
2
 
3
3
  Use when the user needs to delete or revoke SQL virtual property rule.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for physical/super properties. Omit `--operation` for permanent deletion; pass `revoke` only when the user explicitly wants revocation instead.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta virtual-property sql-rule-delete --project-id <project_id> --v-prop-id <v_prop_id> --operation <operation>
11
- ae-cli analysis-meta virtual-property sql-rule-delete --dry-run
10
+ ae-cli analysis-meta virtual-property sql-rule-delete --project-id <project_id> --v-prop-id <v_prop_id> --operation <operation> --dry-run
11
+ # Summarize the target and impact, then wait for explicit user confirmation.
12
+ ae-cli analysis-meta virtual-property sql-rule-delete --project-id <project_id> --v-prop-id <v_prop_id> --operation <operation> --yes
12
13
  ```
13
14
 
14
15
  Capability id: `metadata.virtual_property.sql_rule_delete`.
15
16
 
16
17
  Input sends `project_id`, `v_prop_id`, `operation`.
17
18
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
19
+ Output is a successful gateway envelope with no business data.
19
20
 
20
21
  ## Parameters
21
22
  | Parameter | Required | Description |
@@ -2,23 +2,30 @@
2
2
 
3
3
  Use when the user needs to update SQL virtual property rule.
4
4
 
5
- Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
5
+ Do not use it for renaming a physical property. Use only when replacing the complete SQL rule for an existing virtual property and an exact DTO is available.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis-meta virtual-property sql-rule-update --project-id <project_id> --payload '{}'
11
- ae-cli analysis-meta virtual-property sql-rule-update --dry-run
10
+ ae-cli analysis-meta virtual-property sql-rule-update --project-id <project_id> --sql-expression '<sql>' --v-prop '{...}' --properties '[...]'
11
+ ae-cli analysis-meta virtual-property sql-rule-update --project-id <project_id> --sql-expression '<sql>' --v-prop '{...}' --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.virtual_property.sql_rule_update`.
15
15
 
16
- Input sends `project_id`, `payload`.
16
+ Input sends typed snake_case fields.
17
17
 
18
- Output is the gateway envelope. `data` contains the common-service capability result.
18
+ Output is a successful gateway envelope with no business data.
19
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
22
22
  |---|---|---|
23
23
  | `--project-id` | Yes | Numeric project ID. |
24
- | `--payload` | Yes | Capability payload JSON. |
24
+ | `--sql-expression` | Yes | Replacement SQL expression. |
25
+ | `--v-prop` | Yes | Existing virtual property JSON object, including its ID and property fields. |
26
+ | `--properties` | No | Dependent property JSON array. |
27
+ | `--sql-event-relation-type` | No | `relation_default`, `relation_always`, or `relation_by_setting`. |
28
+ | `--related-events` | No | Related events JSON array for `relation_by_setting`. |
29
+ | `--tag-date-policies` | No | Tag date policies JSON array. |
30
+ | `--replace-remark` | No | Replacement remark. |
31
+ | `--replace-suggestion` | No | Replacement suggestion. |
@@ -29,25 +29,23 @@ Every command accepts `--host <url>` to override the active AE host, and it may
29
29
 
30
30
  ## Routing Rules
31
31
 
32
- - In this overlay, **query cluster / service cluster / deployment cluster** means multi-cluster routing for analysis queries. **audience/user segment cluster** means audience membership assets under `analysis_audience`.
32
+ - In this overlay, **query cluster / service cluster / deployment cluster** means multi-cluster routing for analysis queries. **audience/user segment cluster** means user membership assets under `analysis user-cluster`.
33
33
  - If the user asks for cluster inventory or cluster info, call `ae-cli analysis +list_query_clusters --project_id <project_id>`. Localized examples include "集群信息" and "有哪些集群".
34
- - Do not answer query-cluster inventory questions with `ae-cli analysis_audience +list_clusters` unless the user explicitly asks for audience clusters, cohorts, segments, user membership, or cluster definitions.
34
+ - Do not answer query-cluster inventory questions with `ae-cli analysis user-cluster list` unless the user explicitly asks for audience clusters, cohorts, segments, user membership, or cluster definitions.
35
35
  - If the user mentions country, region, server, shard, site, market, or deployment area semantics, call `ae-cli analysis +list_query_clusters --project_id <project_id>` before choosing query scope.
36
36
  - Match slave cluster intent only against `slaveClusters[].clusterId`, `slaveClusters[].clusterName`, and `slaveClusters[].clusterDesc` returned by `+list_query_clusters`.
37
- - If a matching accessible slave cluster exists, pass `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>` to `+query_report_data`, `+query_dashboard_report_data`, or `+query_adhoc`.
37
+ - Unified ad-hoc gateway commands (`analysis adhoc run/export`) do not expose `cluster_query_scope`. If the user explicitly needs global/slave ad-hoc analysis, state that the new ad-hoc gateway contract does not support cluster routing yet and stop instead of adding hidden flags or removed ad-hoc commands.
38
+ - Report/dashboard data gateway commands (`analysis report-data run/export`, `analysis dashboard-report-data run/export`) also do not expose `cluster_query_scope`; do not add hidden cluster flags to them.
38
39
  - Use `--cluster_query_scope GLOBAL` only when the user clearly asks for global, all clusters, all servers, or cross-cluster aggregated data, and `permissions.canQueryGlobal=true`.
39
40
  - If the user does not express global or slave-cluster intent, omit `--cluster_query_scope`.
40
41
  - If requested global/slave scope is not allowed, explain `permissions.allowedClusterQueryParams` instead of guessing forbidden parameters.
41
- - For `+query_adhoc --model_type sql`, never pass `--cluster_query_scope`; SQL model analysis only supports the current self cluster.
42
+ - For SQL model analysis, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster in the current gateway contract.
42
43
 
43
44
  ## Response Wording
44
45
 
45
46
  - For `+list_query_clusters`, call the result "query clusters" and summarize `currentCluster`, `slaveClusters`, and `permissions.allowedClusterQueryParams`.
46
- - For `analysis_audience +list_clusters`, call the result "audience clusters" or "user segments"; do not call those results query clusters.
47
+ - For `analysis user-cluster list`, call the result "audience clusters" or "user segments"; do not call those results query clusters.
47
48
 
48
49
  ## Commands Added By Multi-Cluster Mode
49
50
 
50
51
  - `ae-cli analysis +list_query_clusters --project_id <project_id>`
51
- - `ae-cli analysis +query_report_data ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
52
- - `ae-cli analysis +query_dashboard_report_data ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
53
- - `ae-cli analysis +query_adhoc ... --cluster_query_scope <GLOBAL|SLAVE> [--slave_cluster_id <id>]`
@@ -11,7 +11,7 @@ Domain: **Multi-Cluster Query Routing**
11
11
  - Decide whether a later report/dashboard/ad-hoc query should use the current self cluster, global aggregated data, or one specific slave cluster.
12
12
  - Resolve country, region, game server, service shard, site, market, or deployment area wording to an accessible slave cluster before passing `cluster_query_scope=SLAVE`.
13
13
 
14
- This command is not for audience/user segment clusters. For cohort, audience, or segment assets, use `analysis_audience +list_clusters`.
14
+ This command is not for audience/user segment clusters. For cohort, audience, or segment assets, use `analysis user-cluster list`.
15
15
 
16
16
  ## Commands
17
17
 
@@ -50,18 +50,19 @@ The result data follows the server DTO used by `list_query_clusters`:
50
50
  - Pass `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>` only after this command confirms a requested country, region, server, site, market, or deployment maps to an accessible `slaveClusters[]` item.
51
51
  - Match slave intent only against `slaveClusters[].clusterId`, `slaveClusters[].clusterName`, and `slaveClusters[].clusterDesc`.
52
52
  - If the requested scope is not allowed, do not guess forbidden parameters. Explain `permissions.allowedClusterQueryParams`.
53
- - For `+query_adhoc --model_type sql`, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster.
53
+ - Unified ad-hoc gateway commands (`analysis adhoc run/export`) do not expose `cluster_query_scope`; if a global/slave ad-hoc query is requested, report that the gateway contract does not support it yet instead of using removed ad-hoc commands or hidden flags.
54
+ - For SQL model analysis, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster in the current gateway contract.
54
55
 
55
56
  ## Recommended Chains
56
57
 
57
58
  - Cluster inventory / cluster info -> `analysis +list_query_clusters`
58
- - Query DAU for Japan server -> `analysis +list_query_clusters` -> match JP/Japan slave cluster -> query report/dashboard/ad-hoc with `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>`
59
- - Query all-cluster aggregated DAU -> `analysis +list_query_clusters` -> if `permissions.canQueryGlobal=true`, query with `--cluster_query_scope GLOBAL`
60
- - View audience cohorts or user segments -> `analysis_audience +list_clusters` instead
59
+ - Query DAU for Japan server -> `analysis +list_query_clusters` -> match JP/Japan slave cluster -> use only commands that explicitly expose cluster routing; the current report/dashboard/ad-hoc gateway data commands do not.
60
+ - Query all-cluster aggregated DAU -> `analysis +list_query_clusters` -> if `permissions.canQueryGlobal=true`, use only commands that explicitly expose cluster routing; otherwise stop and report the capability gap.
61
+ - View audience cohorts or user segments -> `analysis user-cluster list` instead
61
62
 
62
63
  ## Response Wording
63
64
 
64
65
  - Use "current query cluster" for `currentCluster`.
65
66
  - Use "accessible slave query clusters" for `slaveClusters`.
66
67
  - Use "allowed query-scope parameters" for `permissions.allowedClusterQueryParams`.
67
- - Do not call `analysis_audience +list_clusters` results query clusters; those are audience clusters or user segments.
68
+ - Do not call `analysis user-cluster list` results query clusters; those are audience clusters or user segments.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: ae-capability
3
- version: 1.2.0
4
- description: "AE/TE capability gateway discovery and generic invocation with ae-cli. Use when the user needs to list or search available capabilities, inspect an unknown capability schema/risk/auth contract, dry-run a capability, or invoke a long-tail capability that has no curated ae-cli command. Always discover and inspect before composing input; never guess capability IDs or input fields."
3
+ version: 1.3.1
4
+ description: "AE/TE capability gateway discovery and generic invocation with ae-cli. Use when the user needs to list or search available capabilities, inspect an unknown capability schema/risk/auth contract, optionally validate complex input or dry-run before execute, or invoke a long-tail capability that has no curated ae-cli command. Always discover and inspect before composing input; never guess capability IDs or input fields. Prefer on-demand validate OR dry-run — do not stack both by default."
5
5
  ---
6
6
 
7
7
  # ae-capability
@@ -13,14 +13,28 @@ Use this skill for progressive capability discovery and generic gateway invocati
13
13
  1. Use a domain skill and its curated command when it directly covers the task.
14
14
  2. Otherwise search the capability catalog.
15
15
  3. Inspect the selected capability before constructing input.
16
- 4. Dry-run with real input when helpful.
17
- 5. Run after dry-run succeeds; obtain chat confirmation only for delete capabilities.
16
+ 4. **Optionally** pre-check pick **at most one** path from the table below (do not stack validate + dry-run by default).
17
+ 5. Execute (`capability run` / curated command). Chat confirmation only for delete (`high-risk-write`).
18
18
 
19
19
  Never guess a capability ID, input field, enum value, resource ID, or project ID.
20
20
 
21
+ ### On-demand pre-check (pick one)
22
+
23
+ Motto: **validate = fix params; dry-run = confirm ready to run.**
24
+ Hard rule: **for the same final input, do not run both validate and dry-run by default.** `dry-run` already includes parameter validation.
25
+
26
+ | Situation | What to call | Then |
27
+ | --- | --- | --- |
28
+ | Simple / familiar input (typical `read`, few scalar fields) | **Neither** — skip pre-check | `run` directly |
29
+ | Complex `qp` / nested `payload` / share maps; still iterating shape | **`--validate` / `capability validate` only** (may repeat while fixing) | After `valid=true`, **`run` directly** — skip dry-run unless below applies |
30
+ | Need risk / `output_mode` / `supports_cancel`, or `high-risk-write` delete gate | **`--dry-run` / `capability dry-run` only** (once on final input) | Then confirm (delete) / `run`. Do **not** validate first on the same final payload |
31
+ | Rare exception: many validate iterations, then still need delete confirmation | validate while drafting → **one** dry-run on the **final** input | Then chat confirm → `run --yes` |
32
+
33
+ Do **not** treat `validate → dry-run → run` as the normal path. That stack is the rare exception in the last row only.
34
+
21
35
  ## Skill references
22
36
 
23
- Default: **do not** create a standalone skill reference for every new capability. Use `search` → `inspect` → `dry-run` → `run`; catalog `description`, `risk`, and `inspect` `input_schema` are the contract.
37
+ Default: **do not** create a standalone skill reference for every new capability. Use `search` → `inspect` → (**optional** validate *or* dry-run) → `run`; catalog `description`, `risk`, and `inspect` `input_schema` are the contract.
24
38
 
25
39
  Create or keep a standalone reference only when at least one applies: L2 hard bar, easily confused with neighbors, `high-risk-write` delete workflow, or multi-step orchestration. Domain skills may inline one-line summaries in overview matrices (e.g. `analysis_gateway_assets.md`). See [`capability-command-admission` §10](../../docs/capability-command-admission.md).
26
40
 
@@ -36,10 +50,15 @@ ae-cli capability search "<terms>" --domain <domain>
36
50
  # Read input_schema, risk, auth, output, and dry-run support.
37
51
  ae-cli capability inspect <capability-id>
38
52
 
39
- # Validate and preview input without execution.
53
+ # Optional fix params only (gateway /validate). Curated: global --validate.
54
+ ae-cli capability validate <capability-id> --input '<json-object>'
55
+ ae-cli metadata data-table sql-write --project-id 1 ... --validate
56
+
57
+ # Optional — confirm ready to run (gateway /dry-run). Curated: global --dry-run.
40
58
  ae-cli capability dry-run <capability-id> --input '<json-object>'
59
+ ae-cli metadata data-table sql-write --project-id 1 ... --dry-run
41
60
 
42
- # Execute after inspection (and dry-run when input is non-trivial).
61
+ # Execute (after inspect; add at most one pre-check when needed).
43
62
  ae-cli capability run <capability-id> --input '<json-object>'
44
63
  ```
45
64
 
@@ -50,7 +69,37 @@ ae-cli capability run <capability-id> --input '<json-object>'
50
69
  - `@<path>`.
51
70
  - `-` to read JSON from stdin.
52
71
 
53
- The capability namespace is inferred from `<capability-id>` for `inspect`, `dry-run`, and `run`. Use `--domain <domain>` only to override routing.
72
+ The capability namespace is inferred from `<capability-id>` for `inspect`, `validate`, `dry-run`, and `run`. Use `--domain <domain>` only to override routing.
73
+
74
+ ## validate vs dry-run
75
+
76
+ | | `validate` / `--validate` | `dry-run` / `--dry-run` |
77
+ | --- | --- | --- |
78
+ | Purpose | Check **input shape** while composing complex payloads | **Pre-execution confirmation** (params + risk/output/cancel) |
79
+ | Does it mutate business data? | No | No |
80
+ | Primary success fields | `valid`, `capability_id`, `normalized_input` | `dry_run`, `capability_id`, `risk`, `output_mode`, `supports_cancel`, `normalized_input` |
81
+ | When to prefer | Iterating nested `payload` / `qp` / multi-field JSON | Final input; need risk/output contract or delete gate |
82
+ | Typical failure focus | Missing/invalid fields, type mismatches, bad `qp` structure | Same param errors, plus readiness signals for actual run |
83
+ | Curated commands | Global `--validate` on gateway-backed curated commands | Global `--dry-run` |
84
+
85
+ Server may still authenticate the caller for both endpoints. Neither executes the capability business handler. Do not combine `--validate` and `--dry-run` on one invocation.
86
+
87
+ **Complex input:** prefer **`--validate` only** while assembling `qp` / nested payload; after `valid=true`, go to `run`. Use dry-run instead of validate when you need the risk/output preview or a delete confirmation gate — not both.
88
+
89
+ Example (param risk only — no stacked dry-run):
90
+
91
+ ```bash
92
+ ae-cli metadata data-table sql-write ... --validate # iterate until valid
93
+ ae-cli metadata data-table sql-write ... # execute ordinary write
94
+ ```
95
+
96
+ Example (delete gate — dry-run only on final input):
97
+
98
+ ```bash
99
+ ae-cli capability dry-run analysis.folder.delete --input '...'
100
+ # stop, ask user, then:
101
+ ae-cli capability run analysis.folder.delete --input '...' --yes
102
+ ```
54
103
 
55
104
  ## Risk Levels (aligned with lark-cli)
56
105
 
@@ -64,12 +113,15 @@ Legacy values such as `create`, `update`, or `delete` are normalized to this thr
64
113
 
65
114
  ## Safety
66
115
 
67
- - `list`, `search`, `inspect`, and `dry-run` never execute business mutations.
116
+ - `list`, `search`, `inspect`, `validate`, and `dry-run` never execute business mutations.
117
+ - Curated gateway commands: `--validate` → `/validate`; `--dry-run` → `/dry-run`; do not combine them.
118
+ - Do not stack validate + dry-run on the same final input by default (efficiency).
68
119
  - `capability run` inspects metadata before execution when `--yes` is absent.
69
120
  - Only `high-risk-write` requires chat confirmation before `capability run ... --yes`.
70
- - `read` and `write` may run directly after inspect/dry-run.
121
+ - `read` and ordinary `write` may run after inspect; add validate **or** dry-run only when the on-demand table says so.
71
122
  - Use `--yes` on delete runs only after the user explicitly authorizes execution in chat.
72
- - Global `--dry-run` on `capability run` calls the gateway dry-run endpoint instead of execute.
123
+ - Global `--dry-run` on `capability run` / curated commands calls the gateway dry-run endpoint instead of execute.
124
+ - Global `--validate` on `capability run` / curated commands calls the gateway validate endpoint instead of execute.
73
125
 
74
126
  ## High-Risk Confirmation Workflow (Agent)
75
127
 
@@ -77,13 +129,13 @@ Applies only when `inspect` shows `risk=high-risk-write`.
77
129
 
78
130
  User intent (for example "delete this space") is **not** execution authorization. Do not pass `--yes` just because the user stated the desired action.
79
131
 
80
- 1. Run `capability inspect` and `capability dry-run` with the final input.
132
+ 1. `capability inspect`. For complex delete input only, you may iterate with `validate` while drafting; for the **final** payload use **`dry-run` once** (skip a redundant validate on that same final JSON — dry-run already validates params).
81
133
  2. **Stop in the same turn.** Do not call `capability run` in the same turn as dry-run.
82
134
  3. Summarize in chat: capability ID, `project_id`, key input fields, and `risk=high-risk-write`.
83
135
  4. Ask the user to confirm execution. Prefer `AskUserQuestion` when that tool is available; otherwise ask in plain text and wait for the user's **next message**.
84
136
  5. Only after the user replies with explicit authorization (for example `confirm`, `execute`, or `yes`) run `capability run ... --yes` with the same input as dry-run.
85
137
 
86
- For `risk=write`, run directly after a successful dry-run; no chat confirmation gate.
138
+ For `risk=write`: no chat confirmation gate. Prefer direct `run` after inspect; use `--validate` alone when the payload is complex and you are fixing shape; use `--dry-run` alone only if you need the risk/output preview — **not** validate then dry-run as a habit.
87
139
 
88
140
  Never pass `--yes` on the first delete attempt. CLI terminal `[y/N]` prompts do not work in Agent Bash; chat confirmation is the real gate for `high-risk-write`.
89
141
 
@@ -91,13 +143,14 @@ Never pass `--yes` on the first delete attempt. CLI terminal `[y/N]` prompts do
91
143
 
92
144
  - `list` returns `{ domain, count, capabilities }`.
93
145
  - `search` returns `{ domain, query, count, capabilities }`.
94
- - `inspect`, `dry-run`, and `run` return gateway data in the standard ae-cli envelope.
146
+ - `inspect`, `validate`, `dry-run`, and `run` return gateway data in the standard ae-cli envelope.
95
147
 
96
148
  ## Examples
97
149
 
98
150
  ```bash
99
151
  ae-cli capability search "dashboard list" --domain analysis
100
152
  ae-cli capability inspect analysis.dashboard.list
101
- ae-cli capability dry-run analysis.dashboard.list --input '{"project_id":1}'
153
+ ae-cli capability validate metadata.data_table.sql_write --input input.json
154
+ ae-cli capability dry-run analysis.folder.delete --input '{"project_id":1,"folder_ids":[1001]}'
102
155
  ae-cli capability run analysis.dashboard.list --input input.json
103
156
  ```
@@ -34,11 +34,11 @@ Output and errors:
34
34
 
35
35
  Safety constraints:
36
36
  - Read commands can execute directly after required IDs and references are verified.
37
- - Write commands require explicit user intent and normally keep the confirmation prompt.
37
+ - Ordinary `write` commands require explicit user intent but no CLI confirmation. Only `high-risk-write` commands use the confirmation gate.
38
38
  - Never invent command names, flags, JSON payloads, `project_id`, resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
39
39
  - **NEVER fabricate or guess resource names** (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
40
40
 
41
- **Community** commands use the domain `community` (this skill). Other AE domains include: `analysis` (analysis), `analysis_audience` (audience), `analysis_meta` (metadata), `analysis_common` (common), `operation` (operations).
41
+ **Community** commands use the domain `community` (this skill). Other AE domains include: `analysis` (analysis and audience), `analysis_meta` (metadata), `analysis_common` (common), `operation` (operations).
42
42
 
43
43
  ---
44
44
 
@@ -44,7 +44,7 @@ Output and errors:
44
44
 
45
45
  Safety constraints:
46
46
  - Read commands can execute directly after required IDs and references are verified.
47
- - Write-command examples omit `--yes`; add `--yes` only when the user explicitly wants to skip the confirmation prompt.
47
+ - Ordinary `write` commands execute without `--yes`; use `--yes` only for a `high-risk-write` command after explicit user confirmation.
48
48
  - Never invent command names, flags, JSON payloads, `project_id`, resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
49
49
  - **NEVER fabricate or guess resource names** (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
50
50