@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
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ae-data-integration-helper
3
- description: "Answers questions about ThinkingData SDK integration and usage, including the LogBus2 data import tool. Trigger words: 怎么接入 / 如何集成 / SDK / 埋点 / 报错 / 使用方式 / API / LogBus / tracking / integration / how to integrate / data import / データ連携 / インテグレーション / 트래킹 / 연동."
3
+ description: "Answers questions about ThinkingAI SDK integration and usage, including the LogBus2 data import tool. Trigger words: 怎么接入 / 如何集成 / SDK / 埋点 / 报错 / 使用方式 / API / LogBus / tracking / integration / how to integrate / data import / データ連携 / インテグレーション / 트래킹 / 연동."
4
4
  ---
5
5
 
6
6
  # ae-data-integration-helper
@@ -16,12 +16,12 @@ description: "Answers questions about ThinkingData SDK integration and usage, in
16
16
 
17
17
  | 中文 | English | Notes |
18
18
  |------|---------|-------|
19
- | 埋点 / 数据上报 | Tracking / Data Ingestion | Sending event data to TE |
19
+ | 埋点 / 数据上报 | Tracking / Data Ingestion | Sending event data to AE |
20
20
  | 用户识别规则 | User Identification Rule | distinct_id / account_id mapping |
21
21
  | 访客 ID | Visitor ID / Guest ID | Anonymous user before login |
22
22
  | 登录 ID | Login ID / Account ID | Identified user after login |
23
23
  | 预置属性 | Preset Property | `#device_id`, `#time`, `#ip`, etc. |
24
- | 系统字段 | System Field | TE built-in fields prefixed with `#` |
24
+ | 系统字段 | System Field | AE built-in fields prefixed with `#` |
25
25
  | 事件格式 | Event Format | Event name + properties structure |
26
26
  | 属性类型 | Property Type | String / Number / Boolean / Date / Array |
27
27
  | 数据校验 | Data Validation | Verify event format & property types |
@@ -37,7 +37,7 @@ description: "Answers questions about ThinkingData SDK integration and usage, in
37
37
  | 数据加密 | Data Encryption | Encrypt event data before upload |
38
38
  | 时间校准 | Time Calibration | Sync device time with server time |
39
39
  | 多端上报 | Multi-platform Tracking | Report events from multiple clients/services |
40
- | 用户割裂 | User Fragmentation | Same user split into multiple TE user profiles |
40
+ | 用户割裂 | User Fragmentation | Same user split into multiple AE user profiles |
41
41
  | 上报模式 | Upload Mode | Normal / Debug / Debug_Only |
42
42
  | LoggerConsumer | LoggerConsumer | Server SDK consumer that writes events to local log files |
43
43
  | BatchConsumer | BatchConsumer | Server SDK consumer that uploads events in batches |
@@ -62,7 +62,7 @@ Trigger when a user asks about:
62
62
  - **Configuration**: Debug mode / data validation / retry strategy
63
63
  - **Troubleshooting**: Upload failures / missing data / format errors
64
64
 
65
- **Do NOT trigger**: Inline Q&A within `ae-generate-tracking-plan` or `ae-generate-tracking-code` sessions (those skills have their own workflows). Offline local-file import (CSV / Excel / JSONL → AE) is owned by the `ae-data-integration` skill — route those requests there instead of answering with LogBus / RESTful guidance.
65
+ **Do NOT trigger**: Inline Q&A within `ae-generate-tracking-plan` or `ae-generate-tracking-code` sessions (those skills have their own workflows). Offline local-file import (CSV / Excel / JSONL → AE) and Feishu sheet URL import are owned by the `ae-data-integration` skill — route those requests there instead of answering with LogBus / RESTful guidance.
66
66
 
67
67
  ## Workflow
68
68
 
@@ -36,7 +36,7 @@ dependencies {
36
36
 
37
37
  # 初始化
38
38
  ## 推荐初始化位置
39
- - 建议在用户同意隐私协议后再进行 SDK 初始化,详见 ThinkingData 官方文档中的《合规指南》部分。
39
+ - 建议在用户同意隐私协议后再进行 SDK 初始化,详见 ThinkingAI 官方文档中的《合规指南》部分。
40
40
  ```json
41
41
  // 根据隐私协议判断是否开启数据采集
42
42
  if (授权隐私政策) {
@@ -81,11 +81,11 @@ TDAnalytics.init(config);
81
81
 
82
82
  > 注意:
83
83
  > - 在正式上线时,建议避免使用 debug 或 debug_only 模式
84
- > - debug 模式下如果没有 TE 后台配置白名单会切换成 NORMAL 模式
84
+ > - debug 模式下如果没有 AE 后台配置白名单会切换成 NORMAL 模式
85
85
  > - debug_only 不会自动切换成 NORMAL 模式
86
86
 
87
87
  # 上报策略
88
- - normal 模式默认 30 秒或者 30 条满足上报一次,TE 项目管理可以设置修改
88
+ - normal 模式默认 30 秒或者 30 条满足上报一次,AE 项目管理可以设置修改
89
89
  - debug / debug_only 模式事件会立即上报
90
90
  - 手动调用 flush() 接口,会立即上报缓存数据
91
91
  - 自动采集事件会立刻上报
@@ -203,7 +203,7 @@ int main(void) {
203
203
 
204
204
  #### **如何获取上报地址和APP_ID?**
205
205
 
206
- 项目管理者可以在 TE 后台进入"项目管理 > 项目配置 > 接入配置"获取 `APPID` 与上报地址。
206
+ 项目管理者可以在 AE 后台进入"项目管理 > 项目配置 > 接入配置"获取 `APPID` 与上报地址。
207
207
 
208
208
  - 云服务环境:使用平台提供的 HTTPS 上报地址。
209
209
  - 私有化环境:建议为数据接入地址绑定域名并配置 HTTPS 证书。
@@ -241,7 +241,7 @@ int main(void) {
241
241
  | `push_url` | 数据上报地址 | 无 | 字符串 | 必填 |
242
242
  | `appid` | 项目 APPID | 无 | 字符串 | 必填 |
243
243
  | `timeout` | 请求超时时长 | `30` | 整数 | 单位秒 |
244
- | `device_id` | Debug 设备标识 | 无 | 字符串 | 需在 TE 后台配置同一设备 ID |
244
+ | `device_id` | Debug 设备标识 | 无 | 字符串 | 需在 AE 后台配置同一设备 ID |
245
245
  | `debug_mode` | 是否入库 | `0` | `0` / `1` | `0` 表示入库,`1` 表示仅校验不入库 |
246
246
 
247
247
  # 三、常见问题
@@ -288,7 +288,7 @@ int main(void) {
288
288
 
289
289
  `ta_free()` 是 1.x 的旧函数名,v2 对应为 `td_free()`。在程序正常结束前调用 `td_free()`,随后调用 `td_consumer_free()`,确保 SDK 内部资源与缓存被正确释放。
290
290
 
291
- #### **在程序中调用了 `ta_track()` 或者 `ta_user_set()` 方法, 为什么在 TE 后台没有看到数据?**
291
+ #### **在程序中调用了 `ta_track()` 或者 `ta_user_set()` 方法, 为什么在 AE 后台没有看到数据?**
292
292
 
293
293
  `ta_track()` / `ta_user_set()` 为旧版命名,v2 对应 `td_track()` / `td_user_set()`。排查顺序建议如下:
294
294
 
@@ -53,7 +53,7 @@ TDAnalytics.init(config);
53
53
  # Debug 模式
54
54
  ## debugMode 三种取值
55
55
  - none:Normal 模式
56
- - debug:数据在 TE Debug 模式中看到
56
+ - debug:数据在 AE Debug 模式中看到
57
57
  - debugOnly:只校验,不入库
58
58
 
59
59
  # 自动采集事件
@@ -202,11 +202,11 @@ Total Memory: 15.25GiB
202
202
  1. 使用LoggerConsumer + LogBus搭配进行数据上报
203
203
  2. batchSize参数不宜设置过大,可能会导致单次发送数据时间增加,会增加发生网络错误的概率
204
204
 
205
- 批量实时地向 TE 服务器传输数据,不需要搭配传输工具。**在长时间网络中断情况下,有数据丢失的风险,不建议在正式环境中使用。优点在于使用简单无需搭配上报工具;缺点在于数据没有持久化存储,仅在内存中做缓存,如果网络不稳定缓存数据超过缓存区上限后会丢失数据。**
205
+ 批量实时地向 AE 服务器传输数据,不需要搭配传输工具。**在长时间网络中断情况下,有数据丢失的风险,不建议在正式环境中使用。优点在于使用简单无需搭配上报工具;缺点在于数据没有持久化存储,仅在内存中做缓存,如果网络不稳定缓存数据超过缓存区上限后会丢失数据。**
206
206
 
207
207
  #### **BatchConsumer 性能指标如何?适合在什么场景下使用?**
208
208
 
209
- BatchConsumer适合中小数据量,且日志上报服务器和TE集群内网打通时使用。
209
+ BatchConsumer适合中小数据量,且日志上报服务器和AE集群内网打通时使用。
210
210
 
211
211
  #### **DebugConsumer 为什么在生产环境禁用?**
212
212
 
@@ -216,7 +216,7 @@ BatchConsumer适合中小数据量,且日志上报服务器和TE集群内网
216
216
 
217
217
  程序需要正常结束时调用,close()方法会将内存中的数据进行写入文件或发送。close() 函数会调用 flush() 上报或写入缓存的数据,并关闭和释放相应资源。一种常见的错误用法是在每次调用 flush() 后调用 close(),这样会导致下一次调用 flush() 时报错,除非每次对SDK重新初始化。
218
218
 
219
- #### **在程序中调用了 `track()` 或者 `user_set()` 方法, 为什么在 TE 后台没有看到数据?**
219
+ #### **在程序中调用了 `track()` 或者 `user_set()` 方法, 为什么在 AE 后台没有看到数据?**
220
220
 
221
221
  请依次检查以下情况:
222
222
 
@@ -111,7 +111,7 @@ if (授权隐私政策) {
111
111
  - Keychain 持久化存储,卸载重装后不会改变
112
112
 
113
113
  ## #ip
114
- - TE 服务器获取 http 请求 header 中的 ip 信息
114
+ - AE 服务器获取 http 请求 header 中的 ip 信息
115
115
  - 使用第三方 IP 库解析地理位置
116
116
 
117
117
  # 已知问题
@@ -159,7 +159,7 @@ public class DebugExample {
159
159
 
160
160
  > 开启 Debug 模式需要两步:
161
161
  > 1. 在代码中使用 `TDDebugConsumer` 并传入 `DEBUG_DEVICE_ID`。
162
- > 2. 在 TE 后台"数据 > 埋点管理 > Debug 数据"中配置同一个 Debug 设备 ID。只有已配置的设备才能真正开启 Debug 模式。
162
+ > 2. 在 AE 后台"数据 > 埋点管理 > Debug 数据"中配置同一个 Debug 设备 ID。只有已配置的设备才能真正开启 Debug 模式。
163
163
 
164
164
  # 二、工作原理
165
165
 
@@ -221,7 +221,7 @@ v3.x 对应实现为 `TDBatchConsumer`。事件先写入内存队列,满足批
221
221
  |------|------|--------|----------|------|
222
222
  | `serverUrl` | 数据接入地址 | 无 | 字符串 | 需要与项目配置匹配 |
223
223
  | `appId` | 项目 APP_ID | 无 | 字符串 | 可在项目配置页获取 |
224
- | `deviceId` | Debug 设备 ID | 无 | 字符串 | 需在 TE 后台配置为 Debug 设备 |
224
+ | `deviceId` | Debug 设备 ID | 无 | 字符串 | 需在 AE 后台配置为 Debug 设备 |
225
225
 
226
226
  调试时建议同时打开 SDK 日志:
227
227
 
@@ -287,7 +287,7 @@ TDAnalytics.enableLog(true);
287
287
 
288
288
  在应用准备正常退出时调用。`close()` 会尝试将缓存中的数据继续刷盘或发送,是避免尾部数据丢失的必要步骤。建议在应用生命周期的关闭钩子中统一执行。
289
289
 
290
- #### **在程序中调用了 `track()` 或者 `userSet()` 方法, 为什么在 TE 后台没有看到数据?**
290
+ #### **在程序中调用了 `track()` 或者 `userSet()` 方法, 为什么在 AE 后台没有看到数据?**
291
291
 
292
292
  请依次检查以下情况:
293
293
 
@@ -70,7 +70,7 @@ ta.identify("your_distinct_id");
70
70
  # Debug 模式
71
71
  ## mode 三种取值
72
72
  - normal:Normal 模式
73
- - debug:数据在 TE Debug 模式中看到
73
+ - debug:数据在 AE Debug 模式中看到
74
74
  - debug_only:只校验,不入库
75
75
 
76
76
  # 自动采集
@@ -13,7 +13,7 @@ LogBus2 是数数科技在原 LogBus 基础上,使用 Go 语言重新开发的
13
13
 
14
14
  ## 二、使用前准备
15
15
 
16
- 1. **数据格式转换**:将需要传输的数据转换成 TE 的数据格式,支持 TA 格式和神策格式
16
+ 1. **数据格式转换**:将需要传输的数据转换成 AE 的数据格式,支持 TA 格式和神策格式
17
17
  2. **确定数据源**:确定文件存放目录或 Kafka 地址与 topic
18
18
  3. **磁盘空间**:相比 LogBus1,LogBus2 去掉了本地磁盘队列,磁盘占用更小
19
19
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Terminology**: 数据转译插件 = data parser/translation plugin | 自定义数据解析器 = custom data parser | 数据格式转换 = data format conversion | gRPC 插件 = gRPC plugin | 批量处理 = batch processing | 分隔符 = separator / delimiter | 拼接 = concatenate | proto 文件 = .proto file (Protocol Buffers) | 告警功能 = alerting | 无限重试 = infinite retry | 错误数据 = malformed/error data | 标准 TA 格式 = standard ThinkingAnalytics data format
4
4
 
5
- > Logbus2 from version 2.1.0.0 supports custom data parsers for converting source data formats that differ from the TE data format. This is equivalent to Logbus1's Custom Interceptor feature.
5
+ > Logbus2 from version 2.1.0.0 supports custom data parsers for converting source data formats that differ from the AE data format. This is equivalent to Logbus1's Custom Interceptor feature.
6
6
 
7
7
  ## 一、准备工作
8
8
 
@@ -33,7 +33,7 @@ gRPC插件服务端返回数据格式,以parser.separator拼接转换为标准
33
33
  错误处理:
34
34
  - 返回非正确json数据,则主程序会跳过错误行
35
35
  - 返回非标准ta数据,则数据上报会产生错误
36
- - 返回第二个参数为error,则会进行无限重试,防止错误数据进入te集群。可搭配告警功能,提前预知错误信息。
36
+ - 返回第二个参数为error,则会进行无限重试,防止错误数据进入AE集群。可搭配告警功能,提前预知错误信息。
37
37
 
38
38
  ### proto文件
39
39
 
@@ -62,12 +62,12 @@ TDAnalytics.init(config);
62
62
  # Debug 模式
63
63
  ## debugMode 三种取值
64
64
  - none:Normal 模式
65
- - debug:数据在 TE Debug 模式中看到,参与分析
65
+ - debug:数据在 AE Debug 模式中看到,参与分析
66
66
  - debugOnly:只校验,不入库
67
67
 
68
68
  ## 开启 Debug 模式看不到数据原因
69
69
  - 确认模式正确打开
70
- - 确认设备 ID 已在 TE 后台配置
70
+ - 确认设备 ID 已在 AE 后台配置
71
71
  - 确认 appId、serverUrl 正确
72
72
 
73
73
  # 自动采集
@@ -61,7 +61,7 @@ TDAnalytics.init(config);
61
61
  # Debug 模式
62
62
  ## debugMode 三种取值
63
63
  - none:Normal 模式
64
- - debug:数据在 TE Debug 模式中看到,参与分析
64
+ - debug:数据在 AE Debug 模式中看到,参与分析
65
65
  - debugOnly:只校验,不入库
66
66
 
67
67
  # 自动采集事件
@@ -174,7 +174,7 @@ DebugConsumer 常用配置参数如下表:
174
174
 
175
175
  #### **BatchConsumer 性能指标如何?适合在什么场景下使用?**
176
176
 
177
- 内网环境下适合在并发数据量较低、保证网络的环境下使用(比如与TE集群内网打通)。
177
+ 内网环境下适合在并发数据量较低、保证网络的环境下使用(比如与AE集群内网打通)。
178
178
 
179
179
  #### **DebugConsumer 为什么在生产环境禁用?**
180
180
 
@@ -184,7 +184,7 @@ DebugConsumer上传数据时,每条数据都会进行post发送,生产环境
184
184
 
185
185
  程序需要正常结束时调用,close()方法会将内存中的数据进行写入文件或发送。
186
186
 
187
- #### **在程序中调用了 `track()` 或者 `user_set()` 方法, 为什么在 TE 后台没有看到数据?**
187
+ #### **在程序中调用了 `track()` 或者 `user_set()` 方法, 为什么在 AE 后台没有看到数据?**
188
188
 
189
189
  请依次检查以下情况:
190
190
 
@@ -1,8 +1,8 @@
1
1
  # RESTful API Usage Notes
2
2
 
3
- > **Terminology**: 数据上报 = data ingestion / tracking | 集群 = TE cluster | 请求方式 = request method | 数据压缩 = data compression | 异常处理 = error handling | 数据格式校验 = data format validation | 重试 = retry | 并发 = concurrency | 请求超时 = request timeout | 兜底策略 = fallback strategy
3
+ > **Terminology**: 数据上报 = data ingestion / tracking | 集群 = AE cluster | 请求方式 = request method | 数据压缩 = data compression | 异常处理 = error handling | 数据格式校验 = data format validation | 重试 = retry | 并发 = concurrency | 请求超时 = request timeout | 兜底策略 = fallback strategy
4
4
 
5
- ThinkingData provides a RESTful API for uploading data to the TE cluster via HTTP POST. See the official guide: [RESTful API User Guide](https://docs-v2.thinkingdata.cn/?version=latest&lan=en-US&code=restful_api). This document covers RESTful API usage notes and best practices.
5
+ ThinkingAI provides a RESTful API for uploading data to the AE cluster via HTTP POST. See the official guide: [RESTful API User Guide](https://docs-v2.thinkingdata.cn/?version=latest&lan=en-US&code=restful_api). This document covers RESTful API usage notes and best practices.
6
6
 
7
7
  #### 使用场景
8
8
 
@@ -11,8 +11,8 @@
11
11
  首先我们简要介绍原生客户端 SDK 的上报机制,Android 和 iOS SDK 都会在本地数据库缓存数据并批量上报。本地缓存数据为了避免网络异常情况下丢失数据,批量上报为了避免频繁上报产生的系统和网络开销。当符合以下任一条件时,均会触发数据上报:
12
12
 
13
13
  - APP 切换到后台
14
- - 距上次数据上报时间间隔达到上报时间间隔(默认时间间隔为30秒,可以在 TE 修改)
15
- - 本地缓存数量达到上报的数量(默认上报的数量达到30条触发上报,可以在 TE 修改)
14
+ - 距上次数据上报时间间隔达到上报时间间隔(默认时间间隔为30秒,可以在 AE 修改)
15
+ - 本地缓存数量达到上报的数量(默认上报的数量达到30条触发上报,可以在 AE 修改)
16
16
 
17
17
  因此,在调试过程中,如果没有满足触发数据上报的条件,数据仍然缓存在本地。
18
18
 
@@ -308,7 +308,7 @@ TDAnalytics.enableLog(true);
308
308
  [ThinkingData] Info: Response :{"responseCode":200,...}
309
309
  ```
310
310
 
311
- # 三、TE系统查询数据
311
+ # 三、AE系统查询数据
312
312
 
313
313
  使用sql通过#device_id查询数据,这里数据最及时,实时数据也没这里及时
314
314
 
@@ -9,7 +9,7 @@
9
9
  - `Debug` 和 `Debug_Only` 模式仅用于测试阶段调试,请勿在生产环境和正式阶段使用;
10
10
 
11
11
  2. **缓存上报策略**
12
- - Android、iOS 原生 SDK 以及底层调用 Android、iOS SDK 的游戏引擎 SDK 和跨平台 SDK,默认采用数据缓存和批量上报策略,上报时机默认 30条/30秒,即设备本地缓存达到 30 条数据或每隔 30 秒触发数据上报。可以在 TE Web "项目管理"页面调整上报频率,但如果上报过于频繁(比如 1条/1秒)会导致客户端系统 CPU、内存、网络等开销增加,引发设备过热、卡顿等问题。
12
+ - Android、iOS 原生 SDK 以及底层调用 Android、iOS SDK 的游戏引擎 SDK 和跨平台 SDK,默认采用数据缓存和批量上报策略,上报时机默认 30条/30秒,即设备本地缓存达到 30 条数据或每隔 30 秒触发数据上报。可以在 AE Web "项目管理"页面调整上报频率,但如果上报过于频繁(比如 1条/1秒)会导致客户端系统 CPU、内存、网络等开销增加,引发设备过热、卡顿等问题。
13
13
  - JS、小游戏/小程序 SDK 默认不开启本地缓存,数据会直接上报,也可以在 SDK 设置开启本地缓存和批量上报功能;
14
14
  - 对原生SDK,在Normal模式下,调用`track()`方法不会立刻触发数据上报,会根据缓存上报策略上报;如果希望数据立刻上报,可以调用 `flush()` 方法触发。
15
15
 
@@ -18,15 +18,15 @@
18
18
  - 如果未开启本地缓存,可以通过callback 对上报失败的情况自定义处理方式,避免数据丢失;
19
19
 
20
20
  4. **属性类型**
21
- - 对于 TE 预置属性(比如 `#account_id`、`#time` 、`#ip` 等),属性类型是 TE 系统固定设置的,预置属性清单详见预置属性与系统字段。
22
- - 对于自定义属性(除 TE 预置属性外的属性),属性类型是 TE 系统根据属性值自动识别的,第一条携带该属性的数据中的属性值决定了属性的类型;
23
- - 如果上报数据中属性值与 TE 系统的属性类型不一致,系统会尝试强制转换,如果转换成功该属性会入库,如果转换失败**该属性会被丢弃**;
21
+ - 对于 AE 预置属性(比如 `#account_id`、`#time` 、`#ip` 等),属性类型是 AE 系统固定设置的,预置属性清单详见预置属性与系统字段。
22
+ - 对于自定义属性(除 AE 预置属性外的属性),属性类型是 AE 系统根据属性值自动识别的,第一条携带该属性的数据中的属性值决定了属性的类型;
23
+ - 如果上报数据中属性值与 AE 系统的属性类型不一致,系统会尝试强制转换,如果转换成功该属性会入库,如果转换失败**该属性会被丢弃**;
24
24
  - 建议关注上报管理中的异常入库,及时识别异常数据和修复;如果对数据质量要求较高,也可以上传埋点方案,并参考项目数据处理规则设置数据处理规则,确保属性类型和预期一致;
25
25
  - 元数据管理工具支持修改属性类型,需要注意,**修改类型后属性值会被清空置为NULL**。
26
26
 
27
27
  5. **时间校准**
28
28
  - 建议开启时间校准功能,避免由于设备系统时间不准确导致数据时间偏差,影响后续分析;
29
- - 客户端上报,TE 接收前10天至后3天时间范围的数据,超出时间范围的**数据会被丢弃**;
29
+ - 客户端上报,AE 接收前10天至后3天时间范围的数据,超出时间范围的**数据会被丢弃**;
30
30
  - 只需要在 SDK 初始化后做一次时间校准,不需要多次校准;
31
31
  - 时间校准方式建议优先用服务器时间戳校准,如果失败再用 NTP 校准作为备选,不要同时使用两种方式校准。
32
32
 
@@ -34,7 +34,7 @@
34
34
  - SDK 初始化后建议在完成时间校准后立刻开启自动采集,以及时生成 `ta_app_install` `ta_app_start`等自动采集事件,避免自动采集事件生成滞后;
35
35
 
36
36
  7. **敏感信息采集**
37
- - 由于法律要求,通常需要向用户展示隐私协议并获取许可后才能初始化 TE SDK 开启数据采集,请遵循各国法律和各应用商店要求披露和采集敏感信息;
37
+ - 由于法律要求,通常需要向用户展示隐私协议并获取许可后才能初始化 AE SDK 开启数据采集,请遵循各国法律和各应用商店要求披露和采集敏感信息;
38
38
  - Android SDK 会采集 `Android ID` 等信息,可以在配置文件中设置屏蔽。
39
39
 
40
40
  8. **关键数据上报**
@@ -51,9 +51,9 @@
51
51
  ```
52
52
 
53
53
  10. **应用出海**
54
- - 如果应用投放海外,建议 TE 集群就近部署,避免跨墙等原因影响数据上报;
55
- - 如果应用全球投放,或数据需要从海外上报至部署在国内的 TE 集群,建议在应用主要投放地区就近部署一组或多组转接点,避免数据丢失和延迟;
56
- - 对于 SAAS 客户,TE SAAS 已经在全球多地部署转接点,请使用 TE SAAS 的海外上报地址 `https://global-receiver-ta.thinkingdata.cn`。
54
+ - 如果应用投放海外,建议 AE 集群就近部署,避免跨墙等原因影响数据上报;
55
+ - 如果应用全球投放,或数据需要从海外上报至部署在国内的 AE 集群,建议在应用主要投放地区就近部署一组或多组转接点,避免数据丢失和延迟;
56
+ - 对于 SAAS 客户,AE SAAS 已经在全球多地部署转接点,请使用 AE SAAS 的海外上报地址 `https://global-receiver-ta.thinkingdata.cn`。
57
57
 
58
58
  # 二、服务端 SDK
59
59
 
@@ -79,7 +79,7 @@
79
79
  - 公共属性的功能适合在客户端SDK采集用户级信息,服务端SDK不建议使用公共属性功能;
80
80
 
81
81
  6. **IP、国家、地区信息**
82
- - TE 数据中的国家地区信息根据数据的ip信息解析,客户端上报 TE 会自动获取和存储IP信息,服务端上报需要在数据中添加"#ip"后 TE 才会处理;
82
+ - AE 数据中的国家地区信息根据数据的ip信息解析,客户端上报 AE 会自动获取和存储IP信息,服务端上报需要在数据中添加"#ip"后 AE 才会处理;
83
83
 
84
84
  7. **多线程和多进程**
85
85
  - 服务端SDK基本都支持多线程,`track()`方法中会做加锁处理,可以通过SDK源码确认;
@@ -94,7 +94,7 @@
94
94
 
95
95
  1. **用户 ID 一致**
96
96
  - 从多端上报时,需要保证同一个用户数据 `#distinct_id`和 `#account_id` 一致,否则可能会**导致用户割裂**;
97
- - 如果使用单账号多设备分析体系,需要保证数据的`#account_id`相同且数据中带有`#distinct_id`,避免出现用户被割裂为多个 TE 用户的情况;
97
+ - 如果使用单账号多设备分析体系,需要保证数据的`#account_id`相同且数据中带有`#distinct_id`,避免出现用户被割裂为多个 AE 用户的情况;
98
98
 
99
99
  2. **多端时间对齐**
100
100
  - 客户端SDK会上报时区偏移"#zone_offset",默认取设备系统时区,部分SDK支持传参指定;
@@ -101,7 +101,7 @@ TDAnalytics.Login("TA");
101
101
 
102
102
  # 预置属性
103
103
  ## #ip
104
- - TE 服务器获取 http 请求 header 中的 ip
104
+ - AE 服务器获取 http 请求 header 中的 ip
105
105
 
106
106
  ## #os
107
107
  - Unity WebGL 转的微信小游戏 #os 为 "other"
@@ -29,7 +29,7 @@ The AE Data Development and Operations domain provides capabilities for data war
29
29
 
30
30
  ## Global AE CLI Rules
31
31
 
32
- AE CLI (`ae-cli`) is the command-line tool for the AE / TE / ThinkingEngine analysis platform. For AE analysis-side requests, prefer `ae-cli` and this skill's reference docs over model memory.
32
+ AE CLI (`ae-cli`) is the command-line tool for the AE (Agentic Engine) analysis platform. For AE analysis-side requests, prefer `ae-cli` and this skill's reference docs over model memory.
33
33
 
34
34
  Global parameters:
35
35
 
@@ -6,11 +6,11 @@ description: "AE Engage capability gateway: config center, flows, push/config ch
6
6
 
7
7
  # ae-engage
8
8
 
9
- AE CLI (`ae-cli`) is the command-line tool for the ThinkingEngine data analysis platform, used by AI Agents and human users.
9
+ AE CLI (`ae-cli`) is the command-line tool for the Agentic Engine data analysis platform, used by AI Agents and human users.
10
10
 
11
11
  ## Global AE CLI Rules
12
12
 
13
- AE CLI (`ae-cli`) is the command-line tool for the AE / TE / ThinkingEngine analysis platform. For AE analysis-side requests, prefer `ae-cli` and this skill's reference docs over model memory.
13
+ AE CLI (`ae-cli`) is the command-line tool for the AE (Agentic Engine) analysis platform. For AE analysis-side requests, prefer `ae-cli` and this skill's reference docs over model memory.
14
14
 
15
15
  Global parameters:
16
16
 
@@ -55,7 +55,7 @@ When the user mentions a product term below (including common Chinese UI labels)
55
55
  | **Push channel** | Project-level message push channels (Webhook, FCM, APNS, etc.) | `engage-setting` | `references/channel-list.md` | `channel-detail.md`, `add-channel.md` (**Webhook vs Client differ**: `url` = HTTP vs scene key; custom params `user:` vs `user:`/`client:`), `update-channel-status.md`, `delete-channel.md`, `channel-update-config.md`, `channel-test-send.md`, `channel_touch_limits_list.md` |
56
56
  | **Config channel** | Config-center Webhook/client config channels (not the same as push channels) | `engage-scene` | `references/scene-config-channel.md` | `channel-mgmt.md` (create/enable-disable/copy/delete workflows). User params in `config.customsParamList` require `columnName` with `user:` prefix (e.g. `user:#account_id`); preflight names with ae-analysis `analysis-meta property list/get`. |
57
57
  | **Operation strategy** | Ops/delivery strategies under a config item | `engage-scene` | `references/scene-strategy.md` | Custom audience: [`scene-strategy-audience.md`](references/scene-strategy-audience.md) — semantic `definitionRequest` (Analysis condition shape); do not pass `targetClusterQp`/`qp`; preflight props (stop + list if missing); template: `scene-template.md` |
58
- | **Operation task** | Hermes push/engagement tasks (list, save, lifecycle, reports) | `engage-task` | `references/task-list.md` | `task-detail.md` (get), `save-task.md`, `build-task-save-guide.md`, `task-stats.md`, `task-delete.md`, `push-record-query.md`, `task-user-detail-export.md`, `task-indicator-user.md`, `task-data-overview.md`, `task-data-detail.md`, `task-metric-detail.md`, `task-experiment-report.md` |
58
+ | **Operation task** | Hermes push/engagement tasks (list, save, lifecycle, reports) | `engage-task` | `references/task-list.md` | `task-detail.md` (get), `save-task.md`, `build-task-save-guide.md`, `task-stats.md`, `task-delete.md`, `push-record-query.md`, `task-user-detail-export.md`, `task-indicator-user.md`, `task-data-overview.md`, `task-data-detail.md`, `task-metric-detail.md`, `task-metric-update.md`, `task-experiment-report.md` |
59
59
  | **Operation activity** | Campaign activity management and delivery trends by activity, topic, or standalone task | `engage-activity` | `references/activity-activity.md` | `activity-data-detail.md`, `activity-topic.md`, `activity-task.md`, `activity-approval.md` |
60
60
  | **Template** | Strategy templates under a config item | `engage-scene` | `references/scene-template.md` | `scene-config-param.md` (template fields reference `paramId`); enable via `template update` then `template update-status` before strategy create |
61
61
 
@@ -518,6 +518,7 @@ More detailed single-command guidance is available in the business-oriented `ref
518
518
  - `references/task-submit-approval.md` (`engage-task.task.submit-approval`)
519
519
  - `references/task-data-detail.md` (`engage-task data-detail query`; capability `engage-task.task-data.detail`)
520
520
  - `references/task-metric-detail.md` (`engage-task effect query`; capability `engage-task.task-data.metric-detail`)
521
+ - `references/task-metric-update.md` (`engage-task metric update`; capability `engage-task.metric.update`)
521
522
  - `references/flow-metric-update.md` (`engage-flow metric update`; capability `engage-flow.metric.update`)
522
523
 
523
524
  This split documentation structure is easier to extend later, because commands with more complex object inputs can stay centralized in the `references/` root directory.
@@ -311,6 +311,9 @@ For `completionIndicatorType=0`, also read and preserve `requiredMainGoalFields`
311
311
  and `day` when no custom completion window is requested. Do not rely on static `--validate` alone
312
312
  because the save service performs this additional business validation.
313
313
 
314
+ For natural goal windows, read `naturalWindowRule` in the same rule object.
315
+ See [save-task.md](save-task.md#natural-completion-goal-windows) for the field contract.
316
+
314
317
  ### 4.9 `handoff`
315
318
 
316
319
  This is the final section before `save_task`.
@@ -32,13 +32,127 @@ The backend uses a clean-and-insert update model: omitted existing metric settin
32
32
  - `ab_test`
33
33
  - Preserve first-level group keys exactly. Do not convert `ab_test` to `abTest`.
34
34
  - Each group value is an array of Hermes metric DTO objects.
35
- - Use DTO field names from `HermesMetricReqDTO`: `metricSettingId`, `metricType`, `metricName`, `metricQp`, `metricWindowNum`, `metricWindowTimeUnit`, `displayName`, `orderId`, `note`, and `metricParams`.
35
+ - Use DTO field names from `HermesMetricReqDTO`: `metricSettingId`, `metricType`, `metricName`, `metricQp`, `metricWindowNum`, `metricWindowTimeUnit`, `timeCycleDef`, `displayName`, `orderId`, `note`, and `metricParams`.
36
36
  - The CLI boundary accepts snake_case nested DTO fields too, but prefer the native camelCase names above in examples and generated payloads.
37
37
  - For existing bindings, include `metricSettingId` so Hermes updates that binding instead of treating it as a new binding.
38
38
  - For preset metrics, use `metricType: 1` and a real `metricName` discovered from `engage-setting common-metric list/get`.
39
39
  - For custom metrics, use `metricType: 2` plus a complete `metricQp`, `metricWindowNum`, `metricWindowTimeUnit`, and `displayName`; Hermes creates the custom metric name.
40
40
  - Do not invent metric names, event names, property names, QP structures, or metric-setting IDs. Read the existing flow detail and available metric definitions first, then update the complete desired metric map.
41
41
 
42
+ Create/save the flow first and obtain its logical `flow_id`, then configure effect metrics with this command. Do not put the global `metric_map` in the flow-save request.
43
+
44
+ ## Custom metric window semantics
45
+
46
+ Choose the window from the user's intent, not from the number alone:
47
+
48
+ | User intent | `metricWindowNum` | `metricWindowTimeUnit` | `timeCycleDef` |
49
+ | --- | --- | --- | --- |
50
+ | One day / 24 hours / rolling one day | `1` | `"day"` | Omit |
51
+ | Until the end of the attribution event's calendar day | `1` | `"day"` | `{"startTime":"00:00"}` |
52
+ | Until the end of the attribution event's calendar week | `1` | `"week"` | `{"startDay":1,"startTime":"00:00"}` |
53
+ | Until the end of the attribution event's calendar month | `1` | `"month"` | `{"startDay":1}` |
54
+
55
+ `timeCycleDef` selects a natural calendar attribution window. The attribution event (such as a trigger, delivery, or click, according to the metric group) anchors the window; conversions must occur after that event and before the next configured cycle boundary. The boundary is exclusive. `1` + `day` alone remains a rolling one-day window. Resolve calendar boundaries in the flow's configured timezone (`tzOffset`), falling back to the backend default when absent. The report display timezone does not redefine the cycle.
56
+
57
+ For example, with Monday at midnight as the week boundary, a Wednesday 15:00 attribution event counts subsequent conversions before the following Monday 00:00. It does not count Monday or Tuesday conversions before that event. With midnight as the day boundary, a 23:00 attribution event has only the remainder of that day, rather than 24 hours.
58
+
59
+ Interpret "today", "this week", or "this month" as these windows only when the user means the attribution event's day, week, or month. A request to view results for the current reporting period belongs to report date filters and does not by itself authorize changing metric configuration.
60
+
61
+ Treat an unqualified "one day" as the existing rolling window. Use midnight, Monday, and the first day of the month for the calendar defaults above. Honor an explicitly requested valid cycle start. "Daily", "weekly", and "monthly" can describe task execution frequency: resolve the context and ask for clarification only when the metric window intent remains ambiguous.
62
+
63
+ Natural window constraints:
64
+
65
+ - `metricWindowNum` must be `1`; the unit must be `day`, `week`, or `month`.
66
+ - Day: require `startTime` in 24-hour `HH:mm`; omit `startDay`.
67
+ - Week: require `startDay` from `1` (Monday) to `7` (Sunday) and `startTime` in `HH:mm`.
68
+ - Month: require `startDay` from `1` to `28`; omit `startTime` or use `"00:00"`.
69
+ - An empty `timeCycleDef: {}` is invalid. Without `timeCycleDef`, only rolling `minute`, `hour`, and `day` units are accepted.
70
+ - When switching rolling to calendar, add the matching `timeCycleDef` and set the number/unit together. When switching back, remove `timeCycleDef` entirely and use a valid rolling unit. Preserve the binding's `metricSettingId` and all other desired metrics.
71
+ - These options apply to custom metrics (`metricType: 2`) through `metric update`. Do not use `engage-setting common-metric create/update` to create natural windows.
72
+ - Task support requires a backend deployment containing the task natural-window feature. Do not silently replace an unsupported calendar window with a rolling duration.
73
+
74
+ ### Custom metric payload examples
75
+
76
+ Each JSON block is a complete illustrative `--metric-map` value for a configuration containing only that metric. The `purchase` event and QP below are examples, not discovered project metadata: substitute a verified project metric QP (as a JSON string) before use. For an existing configuration, merge the chosen metric into the complete current map and preserve existing binding IDs; do not submit these single-metric examples over other configured metrics.
77
+
78
+ Rolling one day:
79
+
80
+ ```json
81
+ {
82
+ "trigger": [
83
+ {
84
+ "metricType": 2,
85
+ "metricQp": "{\"type\":0,\"eventName\":\"purchase\",\"analysis\":\"A100\",\"filts\":[]}",
86
+ "metricWindowNum": 1,
87
+ "metricWindowTimeUnit": "day",
88
+ "displayName": "Purchase - Rolling one day",
89
+ "orderId": 1
90
+ }
91
+ ]
92
+ }
93
+ ```
94
+
95
+ Current calendar day:
96
+
97
+ ```json
98
+ {
99
+ "trigger": [
100
+ {
101
+ "metricType": 2,
102
+ "metricQp": "{\"type\":0,\"eventName\":\"purchase\",\"analysis\":\"A100\",\"filts\":[]}",
103
+ "metricWindowNum": 1,
104
+ "metricWindowTimeUnit": "day",
105
+ "displayName": "Purchase - Current calendar day",
106
+ "orderId": 1,
107
+ "timeCycleDef": {
108
+ "startTime": "00:00"
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ ```
114
+
115
+ Current calendar week:
116
+
117
+ ```json
118
+ {
119
+ "trigger": [
120
+ {
121
+ "metricType": 2,
122
+ "metricQp": "{\"type\":0,\"eventName\":\"purchase\",\"analysis\":\"A100\",\"filts\":[]}",
123
+ "metricWindowNum": 1,
124
+ "metricWindowTimeUnit": "week",
125
+ "displayName": "Purchase - Current calendar week",
126
+ "orderId": 1,
127
+ "timeCycleDef": {
128
+ "startDay": 1,
129
+ "startTime": "00:00"
130
+ }
131
+ }
132
+ ]
133
+ }
134
+ ```
135
+
136
+ Current calendar month:
137
+
138
+ ```json
139
+ {
140
+ "trigger": [
141
+ {
142
+ "metricType": 2,
143
+ "metricQp": "{\"type\":0,\"eventName\":\"purchase\",\"analysis\":\"A100\",\"filts\":[]}",
144
+ "metricWindowNum": 1,
145
+ "metricWindowTimeUnit": "month",
146
+ "displayName": "Purchase - Current calendar month",
147
+ "orderId": 1,
148
+ "timeCycleDef": {
149
+ "startDay": 1
150
+ }
151
+ }
152
+ ]
153
+ }
154
+ ```
155
+
42
156
  ## Examples
43
157
 
44
158
  Dry-run updating an existing binding:
@@ -30,6 +30,9 @@ You still organize user requirements into an intermediate intent first, then map
30
30
 
31
31
  ---
32
32
 
33
+ The current `build` / `preview` / `commit` API does not expose `completionIndicators`.
34
+ Completion-goal editing requires the web editor; CLI JSON passthrough does not add support.
35
+
33
36
  ## 2. Workflow
34
37
 
35
38
  1. Identify the flow intent from the user input and produce a unified intent JSON.
@@ -4,6 +4,8 @@ Create or update a Hermes task draft.
4
4
 
5
5
  Mapped command: `ae-cli engage-task task save`
6
6
 
7
+ To configure custom effect metrics after saving (including rolling or current calendar day/week/month windows), use [Task metric update](task-metric-update.md). Do not embed the global metric map in this save request.
8
+
7
9
  This command is the final write step. Do not use it as the first step in task construction.
8
10
 
9
11
  Recommended workflow:
@@ -437,6 +439,25 @@ For a main goal (`completionIndicatorType=0`), always include `touch_cycle_num`
437
439
  `touch_cycle_num=1` and `touch_cycle_num_unit="day"`. Static Capability validation may accept a
438
440
  main goal without these fields, but the Hermes save service rejects it.
439
441
 
442
+ ### Natural completion-goal windows
443
+
444
+ Set these fields on `req.controlConfig.completionIndicatorDef.completionIndicators[]`,
445
+ alongside `completionIndicatorType` and the semantic `eventDefinition`:
446
+
447
+ | Window | `touch_cycle_num` | `touch_cycle_num_unit` | `timeCycleDef` |
448
+ | --- | --- | --- | --- |
449
+ | Current day | 1 | `day` | `{"startTime":"00:00"}` |
450
+ | Current week | 1 | `week` | `{"startDay":1,"startTime":"00:00"}` |
451
+ | Current month | 1 | `month` | `{"startDay":1}` |
452
+
453
+ Custom day/week times use `HH:mm`. Week `startDay` is 1 (Monday) through 7 (Sunday);
454
+ month `startDay` is 1 through 28. Day windows omit `startDay`; month windows omit
455
+ `startTime` or use `00:00`. Natural windows require count 1 and a nonempty `timeCycleDef`.
456
+ Boundaries use the task timezone; conversions must follow attribution and precede the next boundary.
457
+
458
+ To return to a rolling window, remove `timeCycleDef` and set a valid `minute`, `hour`,
459
+ or `day` count/unit. Without `timeCycleDef`, `1` + `day` remains a rolling one-day window.
460
+
440
461
  Important constraints that still apply:
441
462
 
442
463
  - `doNotDisturb.enableDoNotDisturb=true` requires `startTime` and `endTime` in `HH:mm`