@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.
- package/README.md +8 -9
- package/README.zh.md +8 -9
- package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
- package/dist/{capability-KVA55RMK.js → capability-QW4AVJHI.js} +49 -10
- package/dist/{capability-LKHLZQPD.js → capability-SCRFGODD.js} +49 -10
- package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
- package/dist/chunk-7OLGDQQ2.js +71 -0
- package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
- package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
- package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
- package/dist/{chunk-CWZUGF2J.js → chunk-PTE56QPL.js} +15 -0
- package/dist/chunk-TBHBYKXZ.js +71 -0
- package/dist/{chunk-ZAOL36CG.js → chunk-TNW2CI4W.js} +46 -30
- package/dist/{config-ZVPARN4R.js → config-7UZWDE74.js} +25 -25
- package/dist/index.js +182 -63
- package/dist/{metadata-6CCFV4K5.js → metadata-BFDL6RUK.js} +6 -43
- package/dist/{metadata-PDOIWH5O.js → metadata-FCLDBXX2.js} +6 -43
- package/dist/{raw-OHSUK42D.js → raw-CN542NGT.js} +8 -6
- package/dist/{sync-ULT5SECP.js → sync-ERNHDPB5.js} +1 -1
- package/dist/{te-agent-FAIBM3SA.js → te-agent-FCCWUDTJ.js} +1 -1
- package/dist/te-analysis-PUVF5IF4.js +5736 -0
- package/dist/te-analysis-UJDOKPAN.js +5736 -0
- package/dist/te-common-VUX3VOXZ.js +60 -0
- package/dist/te-common-XLAGWNIV.js +60 -0
- package/dist/{te-community-6A7LKYUH.js → te-community-PEZ2VEF7.js} +1 -1
- package/dist/{te-community-GMWFGILT.js → te-community-TSKJ652U.js} +1 -1
- package/dist/{te-dataops-Z53CTG2U.js → te-dataops-F36T656A.js} +32 -12
- package/dist/{te-dataops-6LIPYNGH.js → te-dataops-ZNJBQ6VT.js} +33 -12
- package/dist/te-engage-K4AEUPK5.js +3894 -0
- package/dist/te-engage-QBCCME22.js +3894 -0
- package/dist/{te-kb-NT33UHAE.js → te-kb-AYCODNU6.js} +56 -17
- package/dist/{te-meta-PKT27OTN.js → te-meta-ARDIW3YI.js} +4 -237
- package/dist/{te-meta-FADFLTDM.js → te-meta-UUROEODR.js} +4 -237
- package/dist/{te-team-RG75PR5D.js → te-team-OKCOX7OE.js} +5 -5
- package/package.json +15 -7
- package/skills/ae-agent/SKILL.md +6 -8
- package/skills/ae-agent/references/accept-skill-share.md +2 -2
- package/skills/ae-agent/references/add-attachment.md +3 -3
- package/skills/ae-agent/references/add-mcp.md +2 -3
- package/skills/ae-agent/references/add-model.md +3 -5
- package/skills/ae-agent/references/add-skill.md +2 -3
- package/skills/ae-agent/references/approve-skill.md +2 -2
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +3 -3
- package/skills/ae-agent/references/cancel-skill-submission.md +2 -2
- package/skills/ae-agent/references/copy-skill.md +3 -3
- package/skills/ae-agent/references/create-agent.md +3 -4
- package/skills/ae-agent/references/create-automation.md +5 -9
- package/skills/ae-agent/references/del-agent.md +3 -2
- package/skills/ae-agent/references/del-attachment.md +3 -2
- package/skills/ae-agent/references/del-mcp.md +3 -2
- package/skills/ae-agent/references/del-model.md +3 -2
- package/skills/ae-agent/references/del-skill-asset.md +3 -3
- package/skills/ae-agent/references/del-skill-reference.md +3 -3
- package/skills/ae-agent/references/del-skill-script.md +3 -3
- package/skills/ae-agent/references/del-skill.md +3 -2
- package/skills/ae-agent/references/edit-skill.md +4 -4
- package/skills/ae-agent/references/mcp-auth-disconnect.md +2 -2
- package/skills/ae-agent/references/mcp-auth-start.md +3 -3
- package/skills/ae-agent/references/reject-skill-share.md +2 -2
- package/skills/ae-agent/references/reject-skill.md +2 -2
- package/skills/ae-agent/references/rescan-skills.md +2 -2
- package/skills/ae-agent/references/set-mcp-credential.md +3 -3
- package/skills/ae-agent/references/set-mcp-meta.md +2 -2
- package/skills/ae-agent/references/set-skill-meta.md +2 -2
- package/skills/ae-agent/references/share-skill.md +3 -3
- package/skills/ae-agent/references/submit-skill.md +3 -3
- package/skills/ae-agent/references/toggle-mcp.md +3 -3
- package/skills/ae-agent/references/toggle-model.md +3 -3
- package/skills/ae-agent/references/toggle-skill.md +3 -3
- package/skills/ae-agent/references/update-agent.md +2 -2
- package/skills/ae-agent/references/update-automation.md +6 -8
- package/skills/ae-agent/references/update-mcp.md +4 -4
- package/skills/ae-agent/references/update-model.md +2 -3
- package/skills/ae-agent/references/upload-skill-asset.md +3 -3
- package/skills/ae-agent/references/upload-skill-reference.md +3 -3
- package/skills/ae-agent/references/upload-skill-script.md +3 -3
- package/skills/ae-agent/references/upload-skill.md +6 -7
- package/skills/ae-analysis/SKILL.md +108 -512
- package/skills/ae-analysis/references/adhoc_export.md +68 -0
- package/skills/ae-analysis/references/adhoc_run.md +54 -0
- package/skills/ae-analysis/references/ai_models.md +475 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
- package/skills/ae-analysis/references/analysis_drilldown_contract.md +93 -0
- package/skills/ae-analysis/references/analysis_gateway_assets.md +73 -12
- package/skills/ae-analysis/references/analysis_interpretation.md +38 -0
- package/skills/ae-analysis/references/artifact_download.md +13 -7
- package/skills/ae-analysis/references/asset_abnormal_get.md +5 -5
- package/skills/ae-analysis/references/asset_abnormal_list.md +5 -5
- package/skills/ae-analysis/references/asset_authentication_list.md +5 -5
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -6
- package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +26 -0
- package/skills/ae-analysis/references/asset_batch_delete.md +26 -0
- package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +26 -0
- package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +26 -0
- package/skills/ae-analysis/references/asset_batch_handover.md +26 -0
- package/skills/ae-analysis/references/asset_batch_info_export.md +25 -0
- package/skills/ae-analysis/references/asset_batch_sql_export.md +25 -0
- package/skills/ae-analysis/references/asset_dependency_list.md +30 -0
- package/skills/ae-analysis/references/asset_export.md +30 -0
- package/skills/ae-analysis/references/asset_impact_list.md +30 -0
- package/skills/ae-analysis/references/asset_lineage_get.md +25 -0
- package/skills/ae-analysis/references/asset_list.md +30 -0
- package/skills/ae-analysis/references/asset_query_history_list.md +30 -0
- package/skills/ae-analysis/references/asset_recent_list.md +4 -4
- package/skills/ae-analysis/references/asset_search.md +4 -4
- package/skills/ae-analysis/references/asset_url_get.md +29 -0
- package/skills/ae-analysis/references/audience_models.md +42 -0
- package/skills/ae-analysis/references/batch_create_metadata.md +5 -1
- package/skills/ae-analysis/references/batch_edit_metadata.md +4 -1
- package/skills/ae-analysis/references/bi_panel_copy.md +1 -1
- package/skills/ae-analysis/references/bi_panel_create.md +1 -1
- package/skills/ae-analysis/references/bi_panel_delete.md +2 -0
- package/skills/ae-analysis/references/bi_panel_list.md +4 -2
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +8 -4
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +7 -3
- package/skills/ae-analysis/references/bi_panel_share.md +1 -1
- package/skills/ae-analysis/references/bi_panel_update.md +1 -1
- package/skills/ae-analysis/references/bi_panel_version_publish.md +1 -1
- package/skills/ae-analysis/references/cancel_query.md +4 -4
- package/skills/ae-analysis/references/command_index.md +243 -0
- package/skills/ae-analysis/references/create_alert.md +1 -1
- package/skills/ae-analysis/references/create_entity.md +3 -3
- package/skills/ae-analysis/references/create_project_mark_time.md +2 -1
- package/skills/ae-analysis/references/dashboard_copy.md +1 -1
- package/skills/ae-analysis/references/dashboard_create.md +1 -1
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -1
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +1 -1
- package/skills/ae-analysis/references/dashboard_definition_import.md +1 -1
- package/skills/ae-analysis/references/dashboard_delete.md +2 -0
- package/skills/ae-analysis/references/dashboard_freeze.md +1 -1
- package/skills/ae-analysis/references/dashboard_handover.md +1 -1
- package/skills/ae-analysis/references/dashboard_list.md +4 -2
- package/skills/ae-analysis/references/dashboard_report_add.md +15 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -7
- package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -7
- package/skills/ae-analysis/references/dashboard_share.md +11 -2
- package/skills/ae-analysis/references/dashboard_update.md +12 -3
- package/skills/ae-analysis/references/datatable_columns_get.md +2 -2
- package/skills/ae-analysis/references/datatable_influence_list.md +2 -2
- package/skills/ae-analysis/references/datatable_version_get.md +2 -2
- package/skills/ae-analysis/references/datatable_version_list.md +2 -2
- package/skills/ae-analysis/references/delete_alert.md +8 -3
- package/skills/ae-analysis/references/delete_project_mark_times.md +5 -3
- package/skills/ae-analysis/references/delete_track_items.md +4 -3
- package/skills/ae-analysis/references/drilldown_entities_export.md +26 -0
- package/skills/ae-analysis/references/drilldown_entities_run.md +33 -0
- package/skills/ae-analysis/references/drilldown_events_export.md +21 -0
- package/skills/ae-analysis/references/drilldown_events_run.md +23 -0
- package/skills/ae-analysis/references/drilldown_user_events_export.md +23 -0
- package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
- package/skills/ae-analysis/references/entity_detail_export.md +33 -0
- package/skills/ae-analysis/references/entity_detail_run.md +57 -0
- package/skills/ae-analysis/references/entity_id_import_options.md +20 -0
- package/skills/ae-analysis/references/event_changelog_list.md +2 -2
- package/skills/ae-analysis/references/event_create.md +4 -4
- package/skills/ae-analysis/references/event_delete.md +5 -4
- package/skills/ae-analysis/references/event_detail_export.md +33 -0
- package/skills/ae-analysis/references/event_detail_run.md +60 -0
- package/skills/ae-analysis/references/event_get.md +2 -2
- package/skills/ae-analysis/references/event_hide_update.md +3 -3
- package/skills/ae-analysis/references/event_influence_list.md +2 -2
- package/skills/ae-analysis/references/event_list.md +12 -4
- package/skills/ae-analysis/references/{super_metadata_export.md → event_property_bundle_export.md} +7 -7
- package/skills/ae-analysis/references/event_property_bundle_import.md +25 -0
- package/skills/ae-analysis/references/event_relation_update.md +4 -4
- package/skills/ae-analysis/references/event_update.md +2 -2
- package/skills/ae-analysis/references/exchange_config_update.md +2 -2
- package/skills/ae-analysis/references/exchange_rate_refresh.md +2 -2
- package/skills/ae-analysis/references/exchange_rule_list.md +2 -2
- package/skills/ae-analysis/references/exchange_rule_update.md +4 -4
- package/skills/ae-analysis/references/exchange_rule_validate.md +4 -4
- package/skills/ae-analysis/references/favorite_add.md +1 -1
- package/skills/ae-analysis/references/favorite_remove.md +1 -1
- package/skills/ae-analysis/references/folder_create.md +2 -3
- package/skills/ae-analysis/references/folder_share.md +2 -3
- package/skills/ae-analysis/references/generate_track_program.md +2 -1
- package/skills/ae-analysis/references/generate_track_sdk_sample.md +2 -1
- package/skills/ae-analysis/references/get_alert.md +4 -0
- package/skills/ae-analysis/references/get_alert_definition_schema.md +1 -0
- package/skills/ae-analysis/references/get_project_config.md +1 -0
- package/skills/ae-analysis/references/get_track_program.md +3 -0
- package/skills/ae-analysis/references/history_tag_batch_refresh.md +19 -0
- package/skills/ae-analysis/references/history_tag_clear.md +13 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +15 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_run.md +13 -0
- package/skills/ae-analysis/references/history_tag_data_export.md +15 -0
- package/skills/ae-analysis/references/history_tag_data_run.md +15 -0
- package/skills/ae-analysis/references/history_tag_list.md +11 -0
- package/skills/ae-analysis/references/history_tag_refresh.md +11 -0
- package/skills/ae-analysis/references/input_file_inspect.md +9 -0
- package/skills/ae-analysis/references/input_file_purpose_list.md +9 -0
- package/skills/ae-analysis/references/input_file_upload.md +11 -0
- package/skills/ae-analysis/references/list_alerts.md +3 -2
- package/skills/ae-analysis/references/list_entities.md +4 -3
- package/skills/ae-analysis/references/list_project_mark_times.md +2 -1
- package/skills/ae-analysis/references/list_project_users.md +1 -0
- package/skills/ae-analysis/references/load_filters.md +3 -0
- package/skills/ae-analysis/references/metric_create.md +20 -6
- package/skills/ae-analysis/references/metric_delete.md +12 -4
- package/skills/ae-analysis/references/metric_get.md +8 -2
- package/skills/ae-analysis/references/metric_list.md +17 -4
- package/skills/ae-analysis/references/metric_update.md +23 -6
- package/skills/ae-analysis/references/operation_record_export.md +25 -0
- package/skills/ae-analysis/references/operation_record_list.md +31 -0
- package/skills/ae-analysis/references/project_access_detail_get.md +23 -0
- package/skills/ae-analysis/references/project_data_power_delete.md +26 -0
- package/skills/ae-analysis/references/project_data_power_get.md +24 -0
- package/skills/ae-analysis/references/project_data_power_list.md +23 -0
- package/skills/ae-analysis/references/project_data_power_upsert.md +24 -0
- package/skills/ae-analysis/references/project_entity_create.md +27 -0
- package/skills/ae-analysis/references/project_entity_delete.md +25 -0
- package/skills/ae-analysis/references/project_entity_event_list.md +24 -0
- package/skills/ae-analysis/references/project_entity_get.md +24 -0
- package/skills/ae-analysis/references/project_entity_list.md +28 -0
- package/skills/ae-analysis/references/project_entity_update.md +28 -0
- package/skills/ae-analysis/references/project_function_list.md +24 -0
- package/skills/ae-analysis/references/project_info_get.md +23 -0
- package/skills/ae-analysis/references/project_info_list.md +26 -0
- package/skills/ae-analysis/references/project_info_update.md +25 -0
- package/skills/ae-analysis/references/project_mark_time_create.md +27 -0
- package/skills/ae-analysis/references/project_mark_time_delete.md +25 -0
- package/skills/ae-analysis/references/project_mark_time_list.md +28 -0
- package/skills/ae-analysis/references/project_mark_time_update.md +28 -0
- package/skills/ae-analysis/references/project_member_add.md +25 -0
- package/skills/ae-analysis/references/project_member_batch_update.md +24 -0
- package/skills/ae-analysis/references/project_member_candidate_list.md +25 -0
- package/skills/ae-analysis/references/project_member_handover_export.md +27 -0
- package/skills/ae-analysis/references/project_member_handover_run.md +24 -0
- package/skills/ae-analysis/references/project_member_import.md +25 -0
- package/skills/ae-analysis/references/project_member_list.md +23 -0
- package/skills/ae-analysis/references/project_member_receiver_list.md +23 -0
- package/skills/ae-analysis/references/project_member_remove.md +26 -0
- package/skills/ae-analysis/references/project_member_update.md +25 -0
- package/skills/ae-analysis/references/project_owner_update.md +27 -0
- package/skills/ae-analysis/references/project_permission_binding_list.md +24 -0
- package/skills/ae-analysis/references/project_receive_status_update.md +25 -0
- package/skills/ae-analysis/references/project_role_delete.md +25 -0
- package/skills/ae-analysis/references/project_role_function_list.md +27 -0
- package/skills/ae-analysis/references/project_role_get.md +23 -0
- package/skills/ae-analysis/references/project_role_list.md +25 -0
- package/skills/ae-analysis/references/project_role_upsert.md +24 -0
- package/skills/ae-analysis/references/project_role_user_list.md +23 -0
- package/skills/ae-analysis/references/project_space_create.md +2 -3
- package/skills/ae-analysis/references/project_space_list.md +3 -1
- package/skills/ae-analysis/references/project_space_share.md +2 -3
- package/skills/ae-analysis/references/project_timezone_get.md +23 -0
- package/skills/ae-analysis/references/project_timezone_overview.md +23 -0
- package/skills/ae-analysis/references/project_timezone_update.md +25 -0
- package/skills/ae-analysis/references/project_user_id_items_update.md +24 -0
- package/skills/ae-analysis/references/property_changelog_list.md +2 -2
- package/skills/ae-analysis/references/property_create.md +4 -4
- package/skills/ae-analysis/references/property_delete.md +5 -4
- package/skills/ae-analysis/references/property_get.md +2 -2
- package/skills/ae-analysis/references/property_hide_update.md +3 -3
- package/skills/ae-analysis/references/property_influence_list.md +2 -2
- package/skills/ae-analysis/references/property_list.md +21 -6
- package/skills/ae-analysis/references/property_related_events.md +2 -2
- package/skills/ae-analysis/references/property_relation_update.md +4 -4
- package/skills/ae-analysis/references/property_update.md +2 -2
- package/skills/ae-analysis/references/public_link_create.md +2 -2
- package/skills/ae-analysis/references/public_link_delete.md +2 -0
- package/skills/ae-analysis/references/public_link_list.md +3 -1
- package/skills/ae-analysis/references/public_link_offline.md +1 -1
- package/skills/ae-analysis/references/public_link_update.md +1 -1
- package/skills/ae-analysis/references/query_cancel.md +1 -1
- package/skills/ae-analysis/references/query_create_result_cluster.md +29 -0
- package/skills/ae-analysis/references/report_abnormal_get.md +15 -0
- package/skills/ae-analysis/references/report_change_log_get.md +15 -0
- package/skills/ae-analysis/references/report_change_log_list.md +15 -0
- package/skills/ae-analysis/references/report_create.md +29 -0
- package/skills/ae-analysis/references/report_data_export.md +37 -0
- package/skills/ae-analysis/references/report_data_run.md +45 -0
- package/skills/ae-analysis/references/report_delete.md +17 -0
- package/skills/ae-analysis/references/report_get.md +23 -0
- package/skills/ae-analysis/references/report_list.md +17 -0
- package/skills/ae-analysis/references/report_list_export.md +15 -0
- package/skills/ae-analysis/references/report_update.md +22 -0
- package/skills/ae-analysis/references/report_version_rollback.md +15 -0
- package/skills/ae-analysis/references/rule_create.md +27 -0
- package/skills/ae-analysis/references/rule_delete.md +26 -0
- package/skills/ae-analysis/references/rule_list.md +24 -0
- package/skills/ae-analysis/references/rule_schema.md +24 -0
- package/skills/ae-analysis/references/rule_update.md +28 -0
- package/skills/ae-analysis/references/run_inspect.md +10 -4
- package/skills/ae-analysis/references/save_track_items.md +4 -1
- package/skills/ae-analysis/references/sql_table_columns.md +20 -0
- package/skills/ae-analysis/references/sql_table_list.md +33 -0
- package/skills/ae-analysis/references/update_alert.md +1 -1
- package/skills/ae-analysis/references/update_project_mark_time.md +4 -3
- package/skills/ae-analysis/references/user_cluster_create.md +17 -0
- package/skills/ae-analysis/references/user_cluster_create_id.md +15 -0
- package/skills/ae-analysis/references/user_cluster_delete.md +13 -0
- package/skills/ae-analysis/references/user_cluster_get.md +15 -0
- package/skills/ae-analysis/references/user_cluster_list.md +15 -0
- package/skills/ae-analysis/references/user_cluster_member_export.md +15 -0
- package/skills/ae-analysis/references/user_cluster_member_list.md +19 -0
- package/skills/ae-analysis/references/user_cluster_models.md +87 -0
- package/skills/ae-analysis/references/user_cluster_refresh.md +13 -0
- package/skills/ae-analysis/references/user_cluster_update.md +15 -0
- package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
- package/skills/ae-analysis/references/user_tag_create.md +17 -0
- package/skills/ae-analysis/references/user_tag_create_id.md +15 -0
- package/skills/ae-analysis/references/user_tag_delete.md +13 -0
- package/skills/ae-analysis/references/user_tag_get.md +15 -0
- package/skills/ae-analysis/references/user_tag_list.md +17 -0
- package/skills/ae-analysis/references/user_tag_member_export.md +15 -0
- package/skills/ae-analysis/references/user_tag_member_list.md +19 -0
- package/skills/ae-analysis/references/user_tag_models.md +54 -0
- package/skills/ae-analysis/references/user_tag_refresh.md +13 -0
- package/skills/ae-analysis/references/user_tag_update.md +15 -0
- package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
- package/skills/ae-analysis/references/virtual_event_create.md +24 -5
- package/skills/ae-analysis/references/virtual_event_delete.md +5 -4
- package/skills/ae-analysis/references/virtual_event_get.md +2 -2
- package/skills/ae-analysis/references/virtual_property_create.md +34 -6
- package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +5 -4
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +13 -6
- package/skills/ae-analysis-global/SKILL.md +6 -8
- package/skills/ae-analysis-global/references/list_query_clusters.md +7 -6
- package/skills/ae-capability/SKILL.md +68 -15
- package/skills/ae-community/SKILL.md +2 -2
- package/skills/ae-dataops/SKILL.md +1 -1
- package/skills/ae-engage/SKILL.md +233 -10
- package/skills/ae-engage/references/activity-activity-type.md +42 -0
- package/skills/ae-engage/references/activity-activity.md +70 -0
- package/skills/ae-engage/references/activity-approval.md +53 -0
- package/skills/ae-engage/references/activity-task.md +87 -0
- package/skills/ae-engage/references/activity-topic.md +98 -0
- package/skills/ae-engage/references/approval-approver-delete.md +26 -0
- package/skills/ae-engage/references/build-task-save-guide.md +11 -9
- package/skills/ae-engage/references/channel-test-send.md +37 -0
- package/skills/ae-engage/references/channel-touch-limits-batch-update.md +28 -0
- package/skills/ae-engage/references/channel-touch-limits-save.md +37 -0
- package/skills/ae-engage/references/channel-touch-limits-toggle.md +28 -0
- package/skills/ae-engage/references/channel-update-config.md +36 -0
- package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
- package/skills/ae-engage/references/client-param.md +58 -0
- package/skills/ae-engage/references/common-metric.md +75 -0
- package/skills/ae-engage/references/config-table.md +92 -0
- package/skills/ae-engage/references/engage-scene-config-item.md +69 -0
- package/skills/ae-engage/references/group-list.md +13 -0
- package/skills/ae-engage/references/operation-log-query.md +11 -0
- package/skills/ae-engage/references/preset-event.md +42 -0
- package/skills/ae-engage/references/push-language.md +39 -0
- package/skills/ae-engage/references/push-record-query.md +26 -0
- package/skills/ae-engage/references/save-flow.md +5 -4
- package/skills/ae-engage/references/save-task.md +24 -20
- package/skills/ae-engage/references/scene-config-channel.md +58 -0
- package/skills/ae-engage/references/scene-config-group.md +62 -0
- package/skills/ae-engage/references/scene-config-item.md +68 -0
- package/skills/ae-engage/references/scene-config-metric.md +79 -0
- package/skills/ae-engage/references/scene-config-param.md +72 -0
- package/skills/ae-engage/references/scene-preset-metric.md +45 -0
- package/skills/ae-engage/references/scene-strategy.md +47 -0
- package/skills/ae-engage/references/scene-template.md +71 -0
- package/skills/ae-engage/references/segment-list-query.md +18 -0
- package/skills/ae-engage/references/task-delete.md +14 -0
- package/skills/ae-engage/references/task-operation-log-query.md +23 -0
- package/skills/ae-engage/references/version-list.md +18 -0
- package/skills/ae-engage/references/whitelist.md +72 -0
- package/skills/ae-engage/references/workbench-workbench.md +48 -0
- package/skills/ae-generate-tracking-code/SKILL.md +1 -1
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
- package/skills/ae-generate-tracking-plan/SKILL.md +21 -13
- package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
- package/skills/ae-kb/SKILL.md +33 -7
- package/skills/ae-metadata/SKILL.md +10 -9
- package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
- package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
- package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
- package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
- package/skills/ae-metadata/references/metadata_event_get.md +4 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +4 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
- package/skills/ae-metadata/references/metadata_property_get.md +4 -4
- package/skills/ae-team/SKILL.md +9 -9
- package/skills/ae-team/references/create.md +2 -2
- package/skills/ae-team/references/delete.md +3 -3
- package/skills/ae-team/references/run-cancel.md +3 -3
- package/skills/ae-team/references/run-chat.md +4 -4
- package/skills/ae-team/references/run-reply.md +3 -3
- package/skills/ae-team/references/run-start.md +4 -5
- package/skills/ae-team/references/run-watch.md +1 -1
- package/skills/ae-team/references/update.md +2 -2
- package/dist/chunk-P2JRP6HJ.js +0 -42
- package/dist/chunk-S5XN6KEX.js +0 -42
- package/dist/te-analysis-DDXGM7WM.js +0 -3188
- package/dist/te-analysis-HCDNYI7E.js +0 -3188
- package/dist/te-audience-ECFS4GF4.js +0 -600
- package/dist/te-audience-WO377T2J.js +0 -600
- package/dist/te-common-CFGQXTFV.js +0 -130
- package/dist/te-common-SDB3O2QG.js +0 -130
- package/dist/te-engage-545HJL6J.js +0 -1525
- package/dist/te-engage-M7JQSJDP.js +0 -1525
- package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
- package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
- package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
- package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
- package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
- package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
- package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
- package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
- package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
- package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
- package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
- package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
- package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
- package/skills/ae-analysis/references/build_tag_definition.md +0 -65
- package/skills/ae-analysis/references/copy_dashboard.md +0 -33
- package/skills/ae-analysis/references/create_cluster.md +0 -69
- package/skills/ae-analysis/references/create_dashboard.md +0 -49
- package/skills/ae-analysis/references/create_id_cluster.md +0 -40
- package/skills/ae-analysis/references/create_id_tag.md +0 -39
- package/skills/ae-analysis/references/create_metric.md +0 -62
- package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
- package/skills/ae-analysis/references/create_public_access_link.md +0 -43
- package/skills/ae-analysis/references/create_report.md +0 -60
- package/skills/ae-analysis/references/create_result_cluster.md +0 -73
- package/skills/ae-analysis/references/create_space.md +0 -34
- package/skills/ae-analysis/references/create_tag.md +0 -61
- package/skills/ae-analysis/references/create_virtual_event.md +0 -64
- package/skills/ae-analysis/references/create_virtual_property.md +0 -69
- package/skills/ae-analysis/references/delete_cluster.md +0 -27
- package/skills/ae-analysis/references/delete_dashboard.md +0 -30
- package/skills/ae-analysis/references/delete_metric.md +0 -27
- package/skills/ae-analysis/references/delete_report.md +0 -27
- package/skills/ae-analysis/references/delete_tag.md +0 -27
- package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
- package/skills/ae-analysis/references/drilldown_users.md +0 -80
- package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
- package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
- package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
- package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
- package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
- package/skills/ae-analysis/references/get_filter_schema.md +0 -33
- package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
- package/skills/ae-analysis/references/get_metric.md +0 -38
- package/skills/ae-analysis/references/get_report_definition.md +0 -37
- package/skills/ae-analysis/references/get_resource_url.md +0 -32
- package/skills/ae-analysis/references/get_table_columns.md +0 -37
- package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
- package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
- package/skills/ae-analysis/references/list_bi_panels.md +0 -35
- package/skills/ae-analysis/references/list_cluster_members.md +0 -45
- package/skills/ae-analysis/references/list_clusters.md +0 -46
- package/skills/ae-analysis/references/list_dashboards.md +0 -43
- package/skills/ae-analysis/references/list_events.md +0 -46
- package/skills/ae-analysis/references/list_metrics.md +0 -52
- package/skills/ae-analysis/references/list_properties.md +0 -47
- package/skills/ae-analysis/references/list_public_access_links.md +0 -41
- package/skills/ae-analysis/references/list_reports.md +0 -43
- package/skills/ae-analysis/references/list_spaces.md +0 -27
- package/skills/ae-analysis/references/list_tag_members.md +0 -46
- package/skills/ae-analysis/references/list_tags.md +0 -44
- package/skills/ae-analysis/references/move_dashboard.md +0 -33
- package/skills/ae-analysis/references/query_adhoc.md +0 -141
- package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
- package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
- package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
- package/skills/ae-analysis/references/query_entity_details.md +0 -63
- package/skills/ae-analysis/references/query_event_details.md +0 -66
- package/skills/ae-analysis/references/query_report_data.md +0 -99
- package/skills/ae-analysis/references/refresh_cluster.md +0 -31
- package/skills/ae-analysis/references/refresh_tag.md +0 -31
- package/skills/ae-analysis/references/super_metadata_import.md +0 -24
- package/skills/ae-analysis/references/update_cluster.md +0 -61
- package/skills/ae-analysis/references/update_dashboard.md +0 -45
- package/skills/ae-analysis/references/update_id_cluster.md +0 -36
- package/skills/ae-analysis/references/update_id_tag.md +0 -37
- package/skills/ae-analysis/references/update_metric.md +0 -61
- package/skills/ae-analysis/references/update_public_access_link.md +0 -41
- package/skills/ae-analysis/references/update_report.md +0 -35
- package/skills/ae-analysis/references/update_tag.md +0 -61
- package/skills/ae-analysis-intent/SKILL.md +0 -132
- package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# analysis +build_heat_map_analysis_qp (Build Heatmap Analysis QP)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated heatmap-analysis QP from structured heatmap intent.
|
|
9
|
-
- Heatmap analysis visualizes user interaction intensity on a 2D coordinate plane (e.g. screen position).
|
|
10
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type heat_map`.
|
|
11
|
-
- This command builds QP only and does not execute the analysis query.
|
|
12
|
-
|
|
13
|
-
## JSON Rules
|
|
14
|
-
- CLI flags use snake_case, but JSON object keys use camelCase.
|
|
15
|
-
- `--heat_map` is a JSON object. Required fields: `hotEvent`, `hotAggregation`, `xProp`, `yProp`.
|
|
16
|
-
- `xProp` and `yProp` must be numeric event properties (e.g. screen_width, screen_height, x_position, y_position).
|
|
17
|
-
- Wrap JSON in single quotes in shell commands.
|
|
18
|
-
|
|
19
|
-
## Command Syntax
|
|
20
|
-
```bash
|
|
21
|
-
ae-cli analysis +build_heat_map_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --heat_map '<heat_map_json>'
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Parameters
|
|
25
|
-
| Parameter | Required | Description |
|
|
26
|
-
|---|---|---|
|
|
27
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
28
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
29
|
-
| `--time_range` | Yes | Time range JSON |
|
|
30
|
-
| `--heat_map` | Yes | Heatmap intent JSON |
|
|
31
|
-
|
|
32
|
-
## JSON Shape
|
|
33
|
-
`--heat_map` object:
|
|
34
|
-
```json
|
|
35
|
-
{"hotEvent":"screen_tap","hotAggregation":"A100","xProp":"x_position","yProp":"y_position"}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Optional fields in `--heat_map`:
|
|
39
|
-
- `hotProperty`: required when hotAggregation is property-based (A103/A104 etc.)
|
|
40
|
-
- `filters`: event filters array
|
|
41
|
-
- `relation`: filter relation (and / or)
|
|
42
|
-
|
|
43
|
-
## Examples
|
|
44
|
-
```bash
|
|
45
|
-
ae-cli analysis +build_heat_map_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --heat_map '{"hotEvent":"screen_tap","hotAggregation":"A100","xProp":"x_position","yProp":"y_position"}'
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Decision Rules
|
|
49
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
50
|
-
- After successful build (`status=generated`), call `+query_adhoc --model_type heat_map --qp '<response.qp>'`.
|
|
51
|
-
- If non-generated status, stop and ask user to clarify.
|
|
52
|
-
|
|
53
|
-
## Recommended Chain
|
|
54
|
-
- `+build_heat_map_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type heat_map --qp '<response.qp>'`
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# analysis +build_interval_analysis_qp (Build Interval Analysis QP)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated interval-analysis QP from structured interval intent.
|
|
9
|
-
- Interval analysis measures the time elapsed between an initial event and a return event per user.
|
|
10
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type interval`.
|
|
11
|
-
- This command builds QP only and does not execute the analysis query.
|
|
12
|
-
|
|
13
|
-
## JSON Rules
|
|
14
|
-
- CLI flags use snake_case, but JSON object keys use camelCase.
|
|
15
|
-
- `--interval` is a JSON object. Required fields: `initialEvent`, `returnEvent`, `window` (`{value, unit}`).
|
|
16
|
-
- `window.unit`: second / minute / hour / day / week / month.
|
|
17
|
-
- Wrap JSON in single quotes in shell commands.
|
|
18
|
-
- Do not call `list_events` or `list_properties` before this builder for normal ad-hoc analysis.
|
|
19
|
-
|
|
20
|
-
## Command Syntax
|
|
21
|
-
```bash
|
|
22
|
-
ae-cli analysis +build_interval_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --interval '<interval_json>'
|
|
23
|
-
ae-cli analysis +build_interval_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --interval '<interval_json>' --relation and --time_particle_size day
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Parameters
|
|
27
|
-
| Parameter | Required | Description |
|
|
28
|
-
|---|---|---|
|
|
29
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
30
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
31
|
-
| `--time_range` | Yes | Time range JSON |
|
|
32
|
-
| `--interval` | Yes | Interval intent JSON |
|
|
33
|
-
| `--relation` | No | Filter relation for top-level filters. Values: and, or. Default: and. |
|
|
34
|
-
| `--time_particle_size` | No | Time granularity. Allowed values: day, week, month. Defaults to day. |
|
|
35
|
-
|
|
36
|
-
## JSON Shape
|
|
37
|
-
`--interval` object:
|
|
38
|
-
```json
|
|
39
|
-
{"initialEvent":"login","returnEvent":"purchase","window":{"value":7,"unit":"day"}}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Optional fields in `--interval`:
|
|
43
|
-
- `relationEventPropertyName`: shared relation property for both events
|
|
44
|
-
- `groups`: group-by dimensions array
|
|
45
|
-
- `filters`: global filters array
|
|
46
|
-
- `initialFilters` / `returnFilters`: event-level filters (event properties only)
|
|
47
|
-
- `initialFilterRelation` / `returnFilterRelation`: and / or
|
|
48
|
-
|
|
49
|
-
## Examples
|
|
50
|
-
```bash
|
|
51
|
-
ae-cli analysis +build_interval_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --interval '{"initialEvent":"login","returnEvent":"purchase","window":{"value":7,"unit":"day"}}'
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Decision Rules
|
|
55
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
56
|
-
- After successful build (`status=generated`), call `+query_adhoc --model_type interval --qp '<response.qp>'`.
|
|
57
|
-
- If non-generated status, stop and ask user to clarify.
|
|
58
|
-
|
|
59
|
-
## Recommended Chain
|
|
60
|
-
- `+build_interval_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type interval --qp '<response.qp>'`
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# analysis +build_path_analysis_qp (Build Path Analysis QP)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated path-analysis QP from structured path intent.
|
|
9
|
-
- Path analysis visualizes user navigation flows between events within a session.
|
|
10
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type path`.
|
|
11
|
-
- This command builds QP only and does not execute the analysis query.
|
|
12
|
-
|
|
13
|
-
## JSON Rules
|
|
14
|
-
- CLI flags use snake_case, but JSON object keys use camelCase.
|
|
15
|
-
- `--path` is a JSON object. Required fields: `sourceEvent`, `eventNames` (array), `sessionInterval`, `sessionUnit`.
|
|
16
|
-
- `sessionUnit`: second / minute / hour.
|
|
17
|
-
- `sourceType`: 0=forward path (after source event, default), 1=backward path (before source event).
|
|
18
|
-
- Wrap JSON in single quotes in shell commands.
|
|
19
|
-
|
|
20
|
-
## Command Syntax
|
|
21
|
-
```bash
|
|
22
|
-
ae-cli analysis +build_path_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --path '<path_json>'
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Parameters
|
|
26
|
-
| Parameter | Required | Description |
|
|
27
|
-
|---|---|---|
|
|
28
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
29
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
30
|
-
| `--time_range` | Yes | Time range JSON |
|
|
31
|
-
| `--path` | Yes | Path intent JSON |
|
|
32
|
-
|
|
33
|
-
## JSON Shape
|
|
34
|
-
`--path` object:
|
|
35
|
-
```json
|
|
36
|
-
{"sourceEvent":"login","eventNames":["login","view_product","purchase"],"sessionInterval":30,"sessionUnit":"minute"}
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Optional fields in `--path`:
|
|
40
|
-
- `sourceType`: 0=forward (default), 1=backward
|
|
41
|
-
|
|
42
|
-
## Examples
|
|
43
|
-
```bash
|
|
44
|
-
ae-cli analysis +build_path_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --path '{"sourceEvent":"login","eventNames":["login","view_product","purchase"],"sessionInterval":30,"sessionUnit":"minute"}'
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Decision Rules
|
|
48
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
49
|
-
- After successful build (`status=generated`), call `+query_adhoc --model_type path --qp '<response.qp>'`.
|
|
50
|
-
- If non-generated status, stop and ask user to clarify.
|
|
51
|
-
|
|
52
|
-
## Recommended Chain
|
|
53
|
-
- `+build_path_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type path --qp '<response.qp>'`
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
# analysis +build_prop_analysis_qp (build property analysis qp)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated `prop_analysis` QP from structured intent.
|
|
9
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type prop_analysis`.
|
|
10
|
-
- This command builds QP only and does not execute the analysis query.
|
|
11
|
-
- This is the `prop_analysis` builder in the ten-model guided QP builder set.
|
|
12
|
-
- Use this builder for property-analysis ad hoc requests; do not manually build prop_analysis QP through `+get_analysis_query_schema`.
|
|
13
|
-
|
|
14
|
-
## JSON Rules
|
|
15
|
-
- CLI flags use snake_case, but JSON object keys use camelCase DTO names.
|
|
16
|
-
- `prop_analysis` does not use `time_range`; do not pass time range to this command.
|
|
17
|
-
- `event_property` is not supported anywhere in `prop_analysis` fields.
|
|
18
|
-
- Field types for `groups`, `filters`, and `userCrowds[].filters` are limited to `user_property`, `cluster`, and `tag`.
|
|
19
|
-
- Do not run syntax examples with placeholder JSON. Fill `prop_analysis` with a valid metric and optional filters/groups before calling this command.
|
|
20
|
-
- `--dry-run` still requires the same required flags as a real builder call. Never run this command as dry-run without `--project_id` and `--prop_analysis`.
|
|
21
|
-
- Do not call `get_analysis_query_schema`, `list_properties`, `list_metrics`, or `get_metric` before this builder for normal ad-hoc analysis. The builder resolves user properties internally.
|
|
22
|
-
- Builder commands do not accept `zone_offset`; pass `--zone_offset` to `+query_adhoc` after the builder succeeds if needed.
|
|
23
|
-
- If the request misses the metric or asks for event properties, stop and ask the user to clarify.
|
|
24
|
-
|
|
25
|
-
## Command Syntax
|
|
26
|
-
```bash
|
|
27
|
-
ae-cli analysis +build_prop_analysis_qp --project_id <project_id> --prop_analysis '<valid_prop_analysis_json>'
|
|
28
|
-
ae-cli analysis +build_prop_analysis_qp --project_id <project_id> --prop_analysis '<valid_prop_analysis_json>' --dry-run
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Parameters
|
|
32
|
-
| Parameter | Required | Description |
|
|
33
|
-
|---|---|---|
|
|
34
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
35
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
36
|
-
| `--prop_analysis` | Yes | User property analysis intent JSON |
|
|
37
|
-
|
|
38
|
-
## JSON Shape
|
|
39
|
-
`--prop_analysis` object:
|
|
40
|
-
```json
|
|
41
|
-
{
|
|
42
|
-
"metric":{"aggregation":"user_count"},
|
|
43
|
-
"groups":[{"field":{"name":"城市","type":"user_property"}}],
|
|
44
|
-
"filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}],
|
|
45
|
-
"relation":"and",
|
|
46
|
-
"userCrowds":[
|
|
47
|
-
{"name":"账户ID有值用户","filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}]}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Prop analysis fields:
|
|
53
|
-
| Field | Required | Description |
|
|
54
|
-
|---|---|---|
|
|
55
|
-
| `metric` | Yes | Single metric object |
|
|
56
|
-
| `groups` | No | User property / cluster / tag group-by fields |
|
|
57
|
-
| `filters` | No | User property / cluster / tag filters |
|
|
58
|
-
| `relation` | No | Relation between top-level filters: `and` or `or`. Default: `and`. |
|
|
59
|
-
| `userCrowds` | No | Optional user crowd comparisons |
|
|
60
|
-
|
|
61
|
-
Metric fields:
|
|
62
|
-
| Field | Required | Description |
|
|
63
|
-
|---|---|---|
|
|
64
|
-
| `aggregation` | Yes | `user_count`, `sum`, `avg`, `max`, `min`, `distinct_count`, `true_count`, `false_count`, `not_empty_count`, `empty_count`, `median`, `percentile`, `variance`, `stddev` |
|
|
65
|
-
| `property` | Required except `user_count` | User property display name, technical name, or remark |
|
|
66
|
-
|
|
67
|
-
Field object:
|
|
68
|
-
```json
|
|
69
|
-
{"name":"城市","type":"user_property"}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Allowed field types:
|
|
73
|
-
| Type | Meaning |
|
|
74
|
-
|---|---|
|
|
75
|
-
| `user_property` | User property |
|
|
76
|
-
| `cluster` | User cluster |
|
|
77
|
-
| `tag` | User tag |
|
|
78
|
-
|
|
79
|
-
Filter object:
|
|
80
|
-
```json
|
|
81
|
-
{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
User crowd object:
|
|
85
|
-
```json
|
|
86
|
-
{"name":"付费用户","filters":[{"field":{"name":"是否付费","type":"user_property"},"operator":"is_true"}],"relation":"and"}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Filter operator rules:
|
|
90
|
-
| Operator | Values |
|
|
91
|
-
|---|---|
|
|
92
|
-
| `exists`, `not_exists`, `is_true`, `is_false` | Omit `values` |
|
|
93
|
-
| `between` | Exactly two values |
|
|
94
|
-
| `eq`, `neq`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `regex`, `not_regex` | Non-empty `values` array |
|
|
95
|
-
| `in_cluster`, `not_in_cluster` | Cluster operator; values are not required by builder validation |
|
|
96
|
-
|
|
97
|
-
## Examples
|
|
98
|
-
Minimal user count:
|
|
99
|
-
```bash
|
|
100
|
-
ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"user_count"}}'
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
User property average grouped by city:
|
|
104
|
-
```bash
|
|
105
|
-
ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"avg","property":"余额"},"groups":[{"field":{"name":"城市","type":"user_property"}}],"filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"}]}'
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
User crowds with OR filter:
|
|
109
|
-
```bash
|
|
110
|
-
ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"metric":{"aggregation":"user_count"},"filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"},{"field":{"name":"城市","type":"user_property"},"operator":"exists"}],"relation":"or","userCrowds":[{"name":"账户或城市有值","filters":[{"field":{"name":"账户ID","type":"user_property"},"operator":"exists"},{"field":{"name":"城市","type":"user_property"},"operator":"exists"}],"relation":"or"}]}'
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Decision Rules
|
|
114
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
115
|
-
- After successful build, call `+query_adhoc --model_type prop_analysis --qp '<response.qp>'`.
|
|
116
|
-
- If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
|
|
117
|
-
- Wrap JSON parameters in single quotes to avoid shell escaping issues.
|
|
118
|
-
- Do not pre-query metrics or metadata. Pass user-provided property names to the builder and let it resolve them.
|
|
119
|
-
- Do not use `event_property` in prop_analysis. If the user asks for event property analysis, switch to event/funnel/retention builder or ask for clarification.
|
|
120
|
-
- If `userCrowds` is used, at most one group dimension is supported.
|
|
121
|
-
- If the user gave a time zone, keep it for `+query_adhoc --zone_offset`; do not put it in the builder JSON.
|
|
122
|
-
|
|
123
|
-
## Recommended Chaining
|
|
124
|
-
- `+build_prop_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type prop_analysis --qp '<response.qp>'`
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# analysis +build_rank_list_analysis_qp (Build Rank List Analysis QP)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated rank-list-analysis QP from structured rank list intent.
|
|
9
|
-
- Rank list analysis ranks entities (users, items, etc.) by a metric value.
|
|
10
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type rank_list`.
|
|
11
|
-
- This command builds QP only and does not execute the analysis query.
|
|
12
|
-
|
|
13
|
-
## JSON Rules
|
|
14
|
-
- CLI flags use snake_case, but JSON object keys use camelCase.
|
|
15
|
-
- `--rank_list` is a JSON object. Required fields: `rankDimension` (with `field`), `rankEvent`, `rankAggregation`.
|
|
16
|
-
- `rankType` values: `rank`=standard (1,2,2,4), `dense_rank`=dense (1,2,2,3), `row_rank`=unique (1,2,3,4). Defaults to `row_rank`.
|
|
17
|
-
- `orderBy`: `DESC`=highest first (default), `ASC`=lowest first.
|
|
18
|
-
- Wrap JSON in single quotes in shell commands.
|
|
19
|
-
|
|
20
|
-
## Command Syntax
|
|
21
|
-
```bash
|
|
22
|
-
ae-cli analysis +build_rank_list_analysis_qp --project_id <project_id> --time_range '<time_range_json>' --rank_list '<rank_list_json>'
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Parameters
|
|
26
|
-
| Parameter | Required | Description |
|
|
27
|
-
|---|---|---|
|
|
28
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
29
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
30
|
-
| `--time_range` | Yes | Time range JSON |
|
|
31
|
-
| `--rank_list` | Yes | Rank list intent JSON |
|
|
32
|
-
|
|
33
|
-
## JSON Shape
|
|
34
|
-
`--rank_list` object:
|
|
35
|
-
```json
|
|
36
|
-
{
|
|
37
|
-
"rankDimension": {"field": {"name": "#account_id", "type": "user_property"}},
|
|
38
|
-
"rankEvent": "purchase",
|
|
39
|
-
"rankAggregation": "A103",
|
|
40
|
-
"rankProperty": "amount",
|
|
41
|
-
"orderBy": "DESC"
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Optional fields in `--rank_list`:
|
|
46
|
-
- `rankProperty`: required when rankAggregation is property-based (A103/A104/A106/A107/A108 etc.)
|
|
47
|
-
- `rankType`: rank / dense_rank / row_rank (default)
|
|
48
|
-
- `orderBy`: DESC (default) / ASC
|
|
49
|
-
- `filters`: global filters array
|
|
50
|
-
- `relation`: filter relation (and / or)
|
|
51
|
-
|
|
52
|
-
## Examples
|
|
53
|
-
```bash
|
|
54
|
-
ae-cli analysis +build_rank_list_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --rank_list '{"rankDimension":{"field":{"name":"#account_id","type":"user_property"}},"rankEvent":"purchase","rankAggregation":"A101","orderBy":"DESC"}'
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Decision Rules
|
|
58
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
59
|
-
- After successful build (`status=generated`), call `+query_adhoc --model_type rank_list --qp '<response.qp>'`.
|
|
60
|
-
- If non-generated status, stop and ask user to clarify.
|
|
61
|
-
|
|
62
|
-
## Recommended Chain
|
|
63
|
-
- `+build_rank_list_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type rank_list --qp '<response.qp>'`
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
# analysis +build_retention_analysis_qp (build retention analysis qp)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model Analysis**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Build a validated retention-analysis QP from structured intent.
|
|
9
|
-
- Use in the mandatory builder flow before `+query_adhoc --model_type retention`.
|
|
10
|
-
- This command builds QP only and does not execute the analysis query.
|
|
11
|
-
- This is the `retention` builder in the ten-model guided QP builder set.
|
|
12
|
-
- Use this builder for retention ad hoc requests; do not manually build retention QP through `+get_analysis_query_schema`.
|
|
13
|
-
|
|
14
|
-
## JSON Rules
|
|
15
|
-
- CLI flags use snake_case, but JSON object keys use camelCase DTO names.
|
|
16
|
-
- Correct nested keys: `initialEvent`, `returnEvent`, `unitNum`, `rtnRateOrNum`, `relationEventPropertyName`, `initialFilters`, `returnFilters`, `initialFilterRelation`, `returnFilterRelation`.
|
|
17
|
-
- Initial/return event filters are event-property-only and use `eventPropertyName`; they do not use the generic `field` object.
|
|
18
|
-
- Retention global filters and groups use the generic `field` object.
|
|
19
|
-
- Do not run syntax examples with placeholder JSON. Fill `time_range` and `retention` with valid nested fields before calling this command.
|
|
20
|
-
- `--dry-run` still requires the same required flags as a real builder call. Never run this command as dry-run without `--project_id`, `--time_range`, and `--retention`.
|
|
21
|
-
- Do not call `get_analysis_query_schema`, `list_events`, `list_properties`, `list_metrics`, or `get_metric` before this builder for normal ad-hoc analysis. The builder resolves events and properties internally.
|
|
22
|
-
- Builder commands do not accept `zone_offset`; pass `--zone_offset` to `+query_adhoc` after the builder succeeds.
|
|
23
|
-
- If the request misses time range, initial event, return event, or retention interval, stop and ask the user to clarify.
|
|
24
|
-
|
|
25
|
-
## Command Syntax
|
|
26
|
-
```bash
|
|
27
|
-
ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>'
|
|
28
|
-
ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>' --relation and --time_particle_size day
|
|
29
|
-
ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_range '<valid_time_range_json>' --retention '<valid_retention_json>' --dry-run
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Parameters
|
|
33
|
-
| Parameter | Required | Description |
|
|
34
|
-
|---|---|---|
|
|
35
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
36
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
|
|
37
|
-
| `--time_range` | Yes | Retention analysis time range JSON |
|
|
38
|
-
| `--retention` | Yes | Retention intent JSON |
|
|
39
|
-
| `--relation` | No | Top-level retention filter relation. Supported values: and, or. Default: and |
|
|
40
|
-
| `--time_particle_size` | No | Time granularity. Supported values: day, week, month |
|
|
41
|
-
|
|
42
|
-
## JSON Shape
|
|
43
|
-
`--time_range` object:
|
|
44
|
-
```json
|
|
45
|
-
{"mode":"start_to_yesterday","startTime":"2021-05-18"}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Time range fields:
|
|
49
|
-
| Field | Required | Description |
|
|
50
|
-
|---|---|---|
|
|
51
|
-
| `mode` | Yes | `recent`, `previous`, `custom`, `start_to_today`, `start_to_yesterday` |
|
|
52
|
-
| `unit` | For `recent`/`previous` | `day`, `week`, `month`, `quarter`, `year` |
|
|
53
|
-
| `value` | For `recent`/`previous` | Unit count. `{"mode":"previous","unit":"day","value":1}` means yesterday. |
|
|
54
|
-
| `startTime` | For `custom`/`start_to_*` | `yyyy-MM-dd` or `yyyy-MM-dd HH:mm:ss` |
|
|
55
|
-
| `endTime` | For `custom` only | `yyyy-MM-dd` or `yyyy-MM-dd HH:mm:ss` |
|
|
56
|
-
|
|
57
|
-
`--retention` object:
|
|
58
|
-
```json
|
|
59
|
-
{
|
|
60
|
-
"initialEvent":"注册",
|
|
61
|
-
"returnEvent":"商品购买",
|
|
62
|
-
"unitNum":7,
|
|
63
|
-
"statType":"retention",
|
|
64
|
-
"rtnRateOrNum":"R0",
|
|
65
|
-
"relationEventPropertyName":"账户ID",
|
|
66
|
-
"initialFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],
|
|
67
|
-
"returnFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],
|
|
68
|
-
"filters":[{"field":{"name":"城市","type":"event_property"},"operator":"exists"}],
|
|
69
|
-
"groups":[{"field":{"name":"渠道","type":"user_property"}}]
|
|
70
|
-
}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Retention fields:
|
|
74
|
-
| Field | Required | Description |
|
|
75
|
-
|---|---|---|
|
|
76
|
-
| `initialEvent` | Yes | Initial event display name, technical name, or remark |
|
|
77
|
-
| `returnEvent` | Yes | Return event display name, technical name, or remark |
|
|
78
|
-
| `unitNum` | Yes | Retention interval count, such as `1` for day-1 or `7` for day-7 |
|
|
79
|
-
| `statType` | No | `retention` for retained users or `lost` for lost users |
|
|
80
|
-
| `rtnRateOrNum` | No | `R0`, `rate`, or `retention` for rate; `R1`, `number`, or `count` for user count. Default: `R0`. |
|
|
81
|
-
| `relationEventPropertyName` | No | Event property shared by initial event, return event, and simultaneous metrics |
|
|
82
|
-
| `simultaneousMetrics` | No | Extra retention display metrics |
|
|
83
|
-
| `groups` | No | Generic group-by dimensions |
|
|
84
|
-
| `filters` | No | Generic retention filters |
|
|
85
|
-
| `initialFilters` | No | Event-property-only filters for initial event |
|
|
86
|
-
| `initialFilterRelation` | No | Relation for `initialFilters`: `and` or `or` |
|
|
87
|
-
| `returnFilters` | No | Event-property-only filters for return event |
|
|
88
|
-
| `returnFilterRelation` | No | Relation for `returnFilters`: `and` or `or` |
|
|
89
|
-
|
|
90
|
-
Initial/return event filter object:
|
|
91
|
-
```json
|
|
92
|
-
{"eventPropertyName":"账户ID","operator":"exists"}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
Generic filter object for `retention.filters`:
|
|
96
|
-
```json
|
|
97
|
-
{"field":{"name":"城市","type":"event_property"},"operator":"exists"}
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Group object:
|
|
101
|
-
```json
|
|
102
|
-
{"field":{"name":"渠道","type":"user_property"}}
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Metric object for `simultaneousMetrics`:
|
|
106
|
-
```json
|
|
107
|
-
{"event":"商品购买","aggregation":"user_count"}
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Supported aggregations:
|
|
111
|
-
`total_count`, `user_count`, `per_user_count`, `sum`, `avg`, `avg_per_user`, `max`, `min`, `distinct_count`, `true_count`, `false_count`, `not_empty_count`, `empty_count`, `median`, `percentile`, `variance`, `stddev`.
|
|
112
|
-
|
|
113
|
-
Filter operator rules:
|
|
114
|
-
| Operator | Values |
|
|
115
|
-
|---|---|
|
|
116
|
-
| `exists`, `not_exists`, `is_true`, `is_false` | Omit `values` |
|
|
117
|
-
| `between` | Exactly two values |
|
|
118
|
-
| `eq`, `neq`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `regex`, `not_regex` | Non-empty `values` array |
|
|
119
|
-
| `in_cluster`, `not_in_cluster` | Cluster operator; values are not required by builder validation |
|
|
120
|
-
|
|
121
|
-
## Examples
|
|
122
|
-
Minimal day-7 retention:
|
|
123
|
-
```bash
|
|
124
|
-
ae-cli analysis +build_retention_analysis_qp --project_id 3137 --time_range '{"mode":"previous","unit":"day","value":7}' --retention '{"initialEvent":"注册","returnEvent":"商品购买","unitNum":7}'
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
Retention with relation property and event-level filters:
|
|
128
|
-
```bash
|
|
129
|
-
ae-cli analysis +build_retention_analysis_qp --project_id 3137 --time_range '{"mode":"start_to_yesterday","startTime":"2021-05-18"}' --retention '{"initialEvent":"special_data","returnEvent":"商品购买","unitNum":7,"relationEventPropertyName":"账户ID","initialFilters":[{"eventPropertyName":"账户ID","operator":"exists"}],"returnFilters":[{"eventPropertyName":"账户ID","operator":"exists"},{"eventPropertyName":"城市","operator":"exists"}],"returnFilterRelation":"or","filters":[{"field":{"name":"账户ID","type":"event_property"},"operator":"exists"},{"field":{"name":"城市","type":"event_property"},"operator":"exists"}],"groups":[{"field":{"name":"账户ID","type":"event_property"}}]}' --relation or --time_particle_size day
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
## Decision Rules
|
|
133
|
-
- Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
|
|
134
|
-
- After successful build, call `+query_adhoc --model_type retention --qp '<response.qp>'`.
|
|
135
|
-
- If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
|
|
136
|
-
- Wrap JSON parameters in single quotes to avoid shell escaping issues.
|
|
137
|
-
- Do not pre-query metrics or metadata. Pass user-provided event/property names to the builder and let it resolve them.
|
|
138
|
-
- Do not put global filter relation inside `retention`; pass it as top-level CLI flag `--relation`.
|
|
139
|
-
- For overall/totals retention, omit `--time_particle_size`; only set it when user asks for day/week/month breakdown.
|
|
140
|
-
- If the user gave a time zone, keep it for `+query_adhoc --zone_offset`; do not put it in the builder JSON.
|
|
141
|
-
|
|
142
|
-
## Recommended Chaining
|
|
143
|
-
- `+build_retention_analysis_qp` -> if `status=generated` -> `+query_adhoc --model_type retention --qp '<response.qp>'`
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# analysis_audience +build_tag_definition (Build Tag Definition)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Tag Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
|
|
9
|
-
- Build a tag definition JSON from structured intent. Call this before `+create_tag` or `+update_tag` to generate the `definition` field.
|
|
10
|
-
- Supported types: `condition` (multi-value), `metric` (event metric), `first_last` (first/last occurrence), `sql`.
|
|
11
|
-
- For condition/metric/first_last types, event and property names are resolved from project metadata — do not guess.
|
|
12
|
-
- On success, pass the returned definition to `+create_tag` or `+update_tag`.
|
|
13
|
-
|
|
14
|
-
## Required Prerequisites (MUST)
|
|
15
|
-
|
|
16
|
-
- Before calling this command, you must first read and follow these reference docs:
|
|
17
|
-
- [`./get_tag_definition_schema.md`](./get_tag_definition_schema.md)
|
|
18
|
-
- [`./list_events.md`](./list_events.md)
|
|
19
|
-
- [`./list_properties.md`](./list_properties.md)
|
|
20
|
-
- Do not construct `--condition_values` / `--metric` / `--first_last` until the schema has been read and metadata has been verified for the same `project_id`.
|
|
21
|
-
|
|
22
|
-
## Commands
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type condition --condition_values '[]'
|
|
26
|
-
ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type metric --metric '{}'
|
|
27
|
-
ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type first_last --first_last '{}'
|
|
28
|
-
ae-cli analysis_audience +build_tag_definition --project_id <project_id> --type sql --sql 'SELECT "#user_id", tag_value FROM ...'
|
|
29
|
-
ae-cli analysis_audience +build_tag_definition --dry-run
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Parameters
|
|
33
|
-
|
|
34
|
-
| Parameter | Required | Description |
|
|
35
|
-
| --------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
36
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
37
|
-
| `--authenticated_only` | No | Resolve only authenticated assets while building the definition. |
|
|
38
|
-
| `--type` | Yes | Tag type. Supported values: `condition`, `metric`, `first_last`, `sql` |
|
|
39
|
-
| `--condition_values` | No | For type=condition: list of tag value definitions JSON array. Each item defines a segment label and its conditions. See `+get_tag_definition_schema` for the structure. |
|
|
40
|
-
| `--metric` | No | For type=metric: metric definition JSON. Fields: `eventName`, `analysis`, `quota` (property name), `recentDay`/`startTime`/`endTime`. |
|
|
41
|
-
| `--first_last` | No | For type=first_last: first/last occurrence definition JSON. Fields: `eventName`, `firstEvent` (true=first, false=last), `calcPropType`, `property`, `recentDay`/`startTime`/`endTime`. |
|
|
42
|
-
| `--sql` | No | For type=sql: SQL query returning two columns: `#user_id` and the tag value. |
|
|
43
|
-
|
|
44
|
-
## Decision Rules
|
|
45
|
-
- Use `--authenticated_only true` when the definition should only resolve authenticated events/properties/metrics/clusters/tags.
|
|
46
|
-
|
|
47
|
-
- Determine `--type` first, then pass only the corresponding parameter.
|
|
48
|
-
- For type=condition, `--condition_values` is effectively required.
|
|
49
|
-
- For type=metric, `--metric` is effectively required.
|
|
50
|
-
- For type=first_last, `--first_last` is effectively required.
|
|
51
|
-
- For type=sql, only `--sql` is needed; other type-specific parameters are ignored.
|
|
52
|
-
- Event and property names must come from session-verified metadata (`analysis_meta +list_events` / `+list_properties` for the same `project_id`).
|
|
53
|
-
- Do not guess event or property names — always verify against real metadata first.
|
|
54
|
-
- Wrap JSON parameters in single quotes (e.g. `--condition_values '[]'`) to avoid shell escaping issues.
|
|
55
|
-
- Run `--dry-run` first to inspect the request mapping before making the actual call.
|
|
56
|
-
|
|
57
|
-
## Next Step on Failure
|
|
58
|
-
|
|
59
|
-
- If required parameters are missing, check that `--project_id` and `--type` are provided.
|
|
60
|
-
- If the returned definition is rejected by `+create_tag` or `+update_tag`, re-read `+get_tag_definition_schema` with `--response_mode examples` and verify metadata names again.
|
|
61
|
-
|
|
62
|
-
## Recommended Chain
|
|
63
|
-
|
|
64
|
-
- `+get_tag_definition_schema` → (first build/update in session or refresh) `analysis_meta +list_events` → `analysis_meta +list_properties` → `+build_tag_definition` → `+create_tag`
|
|
65
|
-
- `+get_tag_definition_schema` → (first build/update in session or refresh) `analysis_meta +list_events` → `analysis_meta +list_properties` → `+build_tag_definition` → `+update_tag`
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# analysis +copy_dashboard (Copy Dashboard)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Dashboard Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Copy a dashboard to a new dashboard, optionally copying its associated reports.
|
|
9
|
-
- To place the copy in a specific space or folder, provide `--to_space_id` or `--to_folder_id`. Use `+list_spaces` to resolve these IDs.
|
|
10
|
-
|
|
11
|
-
## Commands
|
|
12
|
-
```bash
|
|
13
|
-
ae-cli analysis_audience +copy_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --dashboard_name "Copy of Dashboard"
|
|
14
|
-
ae-cli analysis_audience +copy_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --dashboard_name "Copy of Dashboard" --report_copy true --to_space_id <space_id>
|
|
15
|
-
ae-cli analysis_audience +copy_dashboard --dry-run
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Parameters
|
|
19
|
-
| Parameter | Required | Description |
|
|
20
|
-
|---|---|---|
|
|
21
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
22
|
-
| `--dashboard_id` | Yes | Source dashboard ID to copy |
|
|
23
|
-
| `--dashboard_name` | Yes | Name for the new copied dashboard |
|
|
24
|
-
| `--report_copy` | No | Whether to also copy associated reports. Defaults to false. |
|
|
25
|
-
| `--to_space_id` | No | Target space ID. Omit to use the default location. |
|
|
26
|
-
| `--to_folder_id` | No | Target folder ID inside the target space. Omit to place at the space root. |
|
|
27
|
-
|
|
28
|
-
## Decision Rules
|
|
29
|
-
- Call `+list_spaces` first when the user wants to place the copy in a specific space or folder.
|
|
30
|
-
- Returns the new dashboard ID and name on success.
|
|
31
|
-
|
|
32
|
-
## Recommended Chain
|
|
33
|
-
- `+list_dashboards` -> `+list_spaces` -> `+copy_dashboard` -> `analysis_common +get_resource_url`
|