@thinkingai/ae-cli 6.1.20 → 6.1.21
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 +2 -1
- package/README.zh.md +2 -1
- package/dist/{auth-FUM37MHF.js → auth-XZNXFRJS.js} +5 -5
- package/dist/{capability-AXFQW5WM.js → capability-FYTU3X6L.js} +42 -12
- package/dist/{chunk-LNZBEQXW.js → chunk-4NRCTUZJ.js} +27041 -474
- package/dist/{chunk-VXNMYUXU.js → chunk-57RRFUEZ.js} +23 -7
- package/dist/{chunk-WZ6YVQSF.js → chunk-7FTTULED.js} +1 -1
- package/dist/{chunk-ATSM5XAW.js → chunk-7XGFSUOM.js} +2 -2
- package/dist/chunk-CCS66K4K.js +155 -0
- package/dist/{chunk-I4WQAEYB.js → chunk-DVMLWQD4.js} +8 -186
- package/dist/{chunk-CZU3V3DQ.js → chunk-DX5CDO34.js} +27 -6
- package/dist/chunk-EQ255HKO.js +38248 -0
- package/dist/{chunk-BBEFP4SB.js → chunk-HBGADCKA.js} +3 -3
- package/dist/{chunk-QJQZH5GQ.js → chunk-HFGZGYCG.js} +10 -6
- package/dist/{chunk-ECBLHAZO.js → chunk-JOCDD4ON.js} +1 -1
- package/dist/{chunk-TKHSULJT.js → chunk-KPQY44JQ.js} +6 -0
- package/dist/{chunk-4P355ZWB.js → chunk-MAPZ7VB6.js} +21 -1
- package/dist/chunk-V2NUHPXF.js +196 -0
- package/dist/{chunk-RSG4ONOI.js → chunk-VYXXOKYS.js} +5 -5
- package/dist/{community-report-client-XXWGSBSD.js → community-report-client-CU22W53K.js} +1 -1
- package/dist/{config-EXUGQN5T.js → config-XO3LI3SA.js} +4 -4
- package/dist/context-IFJI3LIT.js +46 -0
- package/dist/{data-integration-4NZ53OMT.js → data-integration-HNGUKFIC.js} +44 -35
- package/dist/index.js +101 -64
- package/dist/{local-data-upload-client-KYOKVYZV.js → local-data-upload-client-GTRIT64F.js} +3 -2
- package/dist/{memory-ATNKZNW5.js → memory-QGPSNCQS.js} +4 -4
- package/dist/{metadata-VZVC7YMH.js → metadata-DI5BMYFU.js} +8 -8
- package/dist/{model-E4JMQ4V2.js → model-RNPQXIBI.js} +4 -4
- package/dist/{personal-semantic-preference-7S2SQ3UV.js → personal-semantic-preference-5C3WUXFI.js} +11 -8
- package/dist/{project-semantic-2SZP2OPO.js → project-semantic-3LF6Q6JZ.js} +27 -21
- package/dist/{sync-YV3E66IF.js → sync-O45NXEQY.js} +7 -6
- package/dist/{te-agent-JB5T3PO7.js → te-agent-K5MSPNHJ.js} +5 -5
- package/dist/{te-analysis-3YJAAT2D.js → te-analysis-AISWCOOZ.js} +1086 -354
- package/dist/{te-community-UDBI672N.js → te-community-4OYU3BDA.js} +4 -4
- package/dist/{te-dataops-ZLYOCXZ4.js → te-dataops-NFIPB6FX.js} +5 -5
- package/dist/{te-engage-4XG6OJML.js → te-engage-BAM3GBFX.js} +7 -7
- package/dist/{te-experiment-VXUWPINJ.js → te-experiment-GUTZXZ5Z.js} +132 -14
- package/dist/{te-kb-WYQWHFSC.js → te-kb-3TS73NO6.js} +454 -194
- package/dist/{te-system-7G6F2LJA.js → te-system-STMHLS5J.js} +12 -7
- package/dist/{te-team-E7FBBXMQ.js → te-team-3I5AOX3N.js} +6 -6
- package/dist/{update-D47BUG25.js → update-RZXLPCRH.js} +4 -4
- package/package.json +21 -14
- package/skills/ae-analysis/SKILL.md +91 -78
- package/skills/ae-analysis/references/adhoc_export.md +11 -18
- package/skills/ae-analysis/references/adhoc_run.md +15 -7
- package/skills/ae-analysis/references/agent_review_detail.md +11 -0
- package/skills/ae-analysis/references/agent_review_evidence.md +46 -0
- package/skills/ae-analysis/references/agent_review_list.md +9 -0
- package/skills/ae-analysis/references/agent_review_preflight.md +96 -0
- package/skills/ae-analysis/references/agent_review_priorities_comparisons.md +76 -0
- package/skills/ae-analysis/references/agent_review_records.md +9 -0
- package/skills/ae-analysis/references/agent_review_retry.md +12 -0
- package/skills/ae-analysis/references/agent_review_review.md +16 -0
- package/skills/ae-analysis/references/agent_review_submit_to_page.md +184 -0
- package/skills/ae-analysis/references/ai_models/attribution.md +29 -0
- package/skills/ae-analysis/references/ai_models/distribution.md +40 -0
- package/skills/ae-analysis/references/ai_models/event.md +108 -0
- package/skills/ae-analysis/references/ai_models/funnel.md +46 -0
- package/skills/ae-analysis/references/ai_models/heat_map.md +26 -0
- package/skills/ae-analysis/references/ai_models/interval.md +20 -0
- package/skills/ae-analysis/references/ai_models/path.md +38 -0
- package/skills/ae-analysis/references/ai_models/prop_analysis.md +39 -0
- package/skills/ae-analysis/references/ai_models/rank_list.md +25 -0
- package/skills/ae-analysis/references/ai_models/retention.md +70 -0
- package/skills/ae-analysis/references/ai_models/revenue.md +28 -0
- package/skills/ae-analysis/references/ai_models/sql.md +74 -0
- package/skills/ae-analysis/references/ai_models/tag.md +19 -0
- package/skills/ae-analysis/references/ai_models.md +32 -473
- package/skills/ae-analysis/references/alert_create.md +7 -7
- package/skills/ae-analysis/references/alert_delete.md +4 -6
- package/skills/ae-analysis/references/alert_detail_list.md +7 -9
- package/skills/ae-analysis/references/alert_get.md +5 -7
- package/skills/ae-analysis/references/alert_job_list.md +4 -6
- package/skills/ae-analysis/references/alert_list.md +6 -8
- package/skills/ae-analysis/references/alert_notice_config_list.md +4 -6
- package/skills/ae-analysis/references/alert_start.md +5 -7
- package/skills/ae-analysis/references/alert_stop.md +5 -7
- package/skills/ae-analysis/references/alert_update.md +8 -8
- package/skills/ae-analysis/references/analysis_data_export.md +72 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +32 -196
- package/skills/ae-analysis/references/analysis_gateway_assets.md +23 -180
- package/skills/ae-analysis/references/analysis_interpretation.md +37 -17
- package/skills/ae-analysis/references/asset_abnormal_get.md +0 -1
- package/skills/ae-analysis/references/asset_abnormal_list.md +0 -1
- package/skills/ae-analysis/references/asset_authentication_export.md +4 -0
- package/skills/ae-analysis/references/asset_authentication_list.md +7 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +5 -1
- package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +8 -6
- package/skills/ae-analysis/references/asset_batch_delete.md +6 -6
- package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +4 -5
- package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +5 -6
- package/skills/ae-analysis/references/asset_batch_handover.md +4 -5
- package/skills/ae-analysis/references/asset_batch_info_export.md +4 -5
- package/skills/ae-analysis/references/asset_batch_sql_export.md +5 -6
- package/skills/ae-analysis/references/asset_dependency_list.md +4 -5
- package/skills/ae-analysis/references/asset_export.md +4 -5
- package/skills/ae-analysis/references/asset_impact_list.md +5 -9
- package/skills/ae-analysis/references/asset_lineage_get.md +5 -6
- package/skills/ae-analysis/references/asset_list.md +4 -5
- package/skills/ae-analysis/references/asset_query_history_list.md +4 -8
- package/skills/ae-analysis/references/asset_recent_list.md +0 -1
- package/skills/ae-analysis/references/asset_search.md +12 -9
- package/skills/ae-analysis/references/asset_url_get.md +3 -4
- package/skills/ae-analysis/references/bi_panel_copy.md +2 -2
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +4 -12
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +2 -0
- package/skills/ae-analysis/references/catalog_export.md +4 -17
- package/skills/ae-analysis/references/catalog_list.md +4 -4
- package/skills/ae-analysis/references/check_delete.md +5 -7
- package/skills/ae-analysis/references/check_export.md +11 -11
- package/skills/ae-analysis/references/check_get.md +8 -10
- package/skills/ae-analysis/references/check_list.md +4 -6
- package/skills/ae-analysis/references/check_retry.md +8 -10
- package/skills/ae-analysis/references/check_run.md +2 -4
- package/skills/ae-analysis/references/command_index.md +44 -26
- package/skills/ae-analysis/references/dashboard_report_data_export.md +5 -13
- package/skills/ae-analysis/references/dashboard_report_data_run.md +1 -1
- package/skills/ae-analysis/references/dashboard_update.md +14 -3
- package/skills/ae-analysis/references/datatable_columns_get.md +0 -1
- package/skills/ae-analysis/references/datatable_influence_list.md +0 -1
- package/skills/ae-analysis/references/datatable_version_get.md +0 -1
- package/skills/ae-analysis/references/datatable_version_list.md +0 -1
- package/skills/ae-analysis/references/debug_device_add.md +1 -2
- package/skills/ae-analysis/references/drilldown_entities_export.md +3 -3
- package/skills/ae-analysis/references/drilldown_events_export.md +3 -2
- package/skills/ae-analysis/references/drilldown_user_events_export.md +2 -2
- package/skills/ae-analysis/references/entity_detail_export.md +3 -2
- package/skills/ae-analysis/references/entity_detail_run.md +1 -0
- package/skills/ae-analysis/references/event_blacklist_add.md +5 -7
- package/skills/ae-analysis/references/event_blacklist_list.md +4 -6
- package/skills/ae-analysis/references/event_blacklist_update.md +6 -8
- package/skills/ae-analysis/references/event_changelog_list.md +0 -1
- package/skills/ae-analysis/references/event_create.md +0 -1
- package/skills/ae-analysis/references/event_detail_export.md +3 -2
- package/skills/ae-analysis/references/event_detail_run.md +1 -0
- package/skills/ae-analysis/references/event_export.md +0 -1
- package/skills/ae-analysis/references/event_get.md +0 -1
- package/skills/ae-analysis/references/event_hide_update.md +0 -1
- package/skills/ae-analysis/references/event_influence_list.md +0 -1
- package/skills/ae-analysis/references/event_list.md +0 -1
- package/skills/ae-analysis/references/event_property_bundle_export.md +5 -14
- package/skills/ae-analysis/references/event_property_bundle_import.md +2 -6
- package/skills/ae-analysis/references/event_relation_update.md +0 -1
- package/skills/ae-analysis/references/event_update.md +0 -1
- package/skills/ae-analysis/references/exchange_config_update.md +0 -1
- package/skills/ae-analysis/references/exchange_rate_refresh.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_list.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_update.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_validate.md +0 -1
- package/skills/ae-analysis/references/governance_recommendation_decisions.md +23 -0
- package/skills/ae-analysis/references/governance_recommendation_export.md +108 -0
- package/skills/ae-analysis/references/governance_recommendation_submit.md +41 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +4 -4
- package/skills/ae-analysis/references/history_tag_data_export.md +3 -3
- package/skills/ae-analysis/references/ingest_error_list.md +7 -9
- package/skills/ae-analysis/references/ingest_summary.md +6 -8
- package/skills/ae-analysis/references/live_data_export.md +10 -10
- package/skills/ae-analysis/references/live_data_list.md +7 -9
- package/skills/ae-analysis/references/metadata_resolution.md +78 -0
- package/skills/ae-analysis/references/metric_export.md +0 -1
- package/skills/ae-analysis/references/metric_get.md +0 -1
- package/skills/ae-analysis/references/metric_list.md +4 -5
- package/skills/ae-analysis/references/metric_update.md +0 -1
- package/skills/ae-analysis/references/operation_record_export.md +4 -5
- package/skills/ae-analysis/references/operation_record_list.md +4 -5
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +18 -1
- package/skills/ae-analysis/references/plan_change_log_export.md +10 -10
- package/skills/ae-analysis/references/plan_change_log_list.md +4 -6
- package/skills/ae-analysis/references/plan_delete_items.md +2 -4
- package/skills/ae-analysis/references/plan_export.md +9 -9
- package/skills/ae-analysis/references/plan_generate.md +2 -4
- package/skills/ae-analysis/references/plan_get.md +4 -6
- package/skills/ae-analysis/references/plan_import_excel.md +6 -8
- package/skills/ae-analysis/references/plan_save_items.md +2 -4
- package/skills/ae-analysis/references/plan_sync_from_meta.md +4 -6
- package/skills/ae-analysis/references/project_access_detail_get.md +0 -1
- package/skills/ae-analysis/references/project_data_power_get.md +0 -1
- package/skills/ae-analysis/references/project_data_power_list.md +0 -1
- package/skills/ae-analysis/references/project_data_power_upsert.md +0 -1
- package/skills/ae-analysis/references/project_entity_create.md +0 -1
- package/skills/ae-analysis/references/project_entity_event_list.md +0 -1
- package/skills/ae-analysis/references/project_entity_get.md +0 -1
- package/skills/ae-analysis/references/project_entity_list.md +0 -1
- package/skills/ae-analysis/references/project_entity_update.md +0 -1
- package/skills/ae-analysis/references/project_function_list.md +0 -1
- package/skills/ae-analysis/references/project_info_get.md +0 -1
- package/skills/ae-analysis/references/project_info_list.md +0 -1
- package/skills/ae-analysis/references/project_info_update.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_create.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_list.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_update.md +0 -1
- package/skills/ae-analysis/references/project_member_add.md +6 -5
- package/skills/ae-analysis/references/project_member_batch_update.md +0 -1
- package/skills/ae-analysis/references/project_member_candidate_list.md +4 -3
- package/skills/ae-analysis/references/project_member_handover_run.md +2 -3
- package/skills/ae-analysis/references/project_member_list.md +0 -1
- package/skills/ae-analysis/references/project_member_receiver_list.md +0 -1
- package/skills/ae-analysis/references/project_member_update.md +0 -1
- package/skills/ae-analysis/references/project_owner_update.md +0 -1
- package/skills/ae-analysis/references/project_permission_binding_list.md +0 -1
- package/skills/ae-analysis/references/project_role_function_list.md +0 -1
- package/skills/ae-analysis/references/project_role_get.md +0 -1
- package/skills/ae-analysis/references/project_role_list.md +0 -1
- package/skills/ae-analysis/references/project_role_upsert.md +32 -2
- package/skills/ae-analysis/references/project_role_user_list.md +0 -1
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +214 -0
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +93 -0
- package/skills/ae-analysis/references/project_timezone_get.md +0 -1
- package/skills/ae-analysis/references/project_timezone_overview.md +0 -1
- package/skills/ae-analysis/references/project_timezone_update.md +0 -1
- package/skills/ae-analysis/references/project_user_id_items_update.md +0 -1
- package/skills/ae-analysis/references/property_changelog_list.md +0 -1
- package/skills/ae-analysis/references/property_create.md +0 -1
- package/skills/ae-analysis/references/property_export.md +0 -1
- package/skills/ae-analysis/references/property_get.md +0 -1
- package/skills/ae-analysis/references/property_hide_update.md +0 -1
- package/skills/ae-analysis/references/property_influence_list.md +0 -1
- package/skills/ae-analysis/references/property_list.md +3 -4
- package/skills/ae-analysis/references/property_related_events.md +0 -1
- package/skills/ae-analysis/references/property_relation_update.md +0 -1
- package/skills/ae-analysis/references/property_update.md +0 -1
- package/skills/ae-analysis/references/report_create.md +4 -2
- package/skills/ae-analysis/references/report_data_export.md +11 -9
- package/skills/ae-analysis/references/report_data_run.md +14 -7
- package/skills/ae-analysis/references/report_get.md +5 -3
- package/skills/ae-analysis/references/report_list.md +2 -0
- package/skills/ae-analysis/references/report_update.md +5 -3
- package/skills/ae-analysis/references/rule_create.md +5 -6
- package/skills/ae-analysis/references/rule_delete.md +5 -5
- package/skills/ae-analysis/references/rule_list.md +3 -4
- package/skills/ae-analysis/references/rule_schema.md +3 -4
- package/skills/ae-analysis/references/rule_update.md +5 -6
- package/skills/ae-analysis/references/sdk_sample_generate.md +2 -4
- package/skills/ae-analysis/references/sql_table_columns.md +1 -1
- package/skills/ae-analysis/references/super_metadata_batch_create.md +1 -1
- package/skills/ae-analysis/references/super_metadata_batch_edit.md +1 -1
- package/skills/ae-analysis/references/system_member_add.md +1 -2
- package/skills/ae-analysis/references/system_member_status_update.md +1 -1
- package/skills/ae-analysis/references/system_ops_alert_contact_list.md +1 -1
- package/skills/ae-analysis/references/system_ops_alert_contact_test.md +0 -1
- package/skills/ae-analysis/references/system_query_monitor_overview.md +3 -3
- package/skills/ae-analysis/references/system_query_task_export.md +4 -14
- package/skills/ae-analysis/references/system_query_task_get.md +1 -1
- package/skills/ae-analysis/references/system_query_task_list.md +5 -6
- package/skills/ae-analysis/references/system_receiver_address_upsert.md +3 -3
- package/skills/ae-analysis/references/system_receiver_detection_get.md +1 -1
- package/skills/ae-analysis/references/system_third_party_login_disable.md +1 -1
- package/skills/ae-analysis/references/system_usage_trend_export.md +3 -12
- package/skills/ae-analysis/references/user_cluster_list.md +1 -1
- package/skills/ae-analysis/references/user_cluster_member_export.md +4 -4
- package/skills/ae-analysis/references/user_tag_list.md +1 -1
- package/skills/ae-analysis/references/user_tag_member_export.md +4 -4
- package/skills/ae-analysis/references/virtual_event_create.md +10 -5
- package/skills/ae-analysis/references/virtual_event_get.md +0 -1
- package/skills/ae-analysis/references/virtual_property_create.md +0 -1
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +0 -1
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +1054 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +112 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +30 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/generate-build-ir.mjs +2735 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/package-wiki-source-zip.mjs +376 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/plan-kb-source-sync.mjs +264 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/precompiled-source.mjs +49 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/upload-kb-sources-concurrently.mjs +200 -0
- package/skills/ae-analysis/scripts/read_results.py +197 -0
- package/skills/ae-analysis-global/SKILL.md +1 -1
- package/skills/ae-capability/SKILL.md +1 -1
- package/skills/ae-community/SKILL.md +1 -1
- package/skills/ae-current-context/SKILL.md +53 -0
- package/skills/ae-data-integration/SKILL.md +5 -4
- package/skills/ae-data-integration/references/lark-bitable-source.md +288 -0
- package/skills/ae-data-integration/references/lark-sheet-source.md +130 -0
- package/skills/ae-data-integration/references/manual-export-source.md +83 -0
- package/skills/ae-data-integration/references/reuse.md +2 -0
- package/skills/ae-data-integration/references/sink-upload.md +32 -0
- package/skills/ae-data-integration/references/tracking-plan.md +4 -1
- package/skills/ae-data-integration/references/ue-mapping.md +2 -2
- package/skills/ae-data-integration-helper/SKILL.md +5 -5
- package/skills/ae-data-integration-helper/references/android_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/c_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/java_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/logbus2_guide.md +1 -1
- package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +2 -2
- package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +2 -2
- package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/python_sdk_faq.md +2 -2
- package/skills/ae-data-integration-helper/references/restful_api_notes.md +2 -2
- package/skills/ae-data-integration-helper/references/sdk_log_guide.md +3 -3
- package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +11 -11
- package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +1 -1
- package/skills/ae-dataops/SKILL.md +1 -1
- package/skills/ae-engage/SKILL.md +4 -3
- package/skills/ae-engage/references/build-task-save-guide.md +3 -0
- package/skills/ae-engage/references/flow-metric-update.md +115 -1
- package/skills/ae-engage/references/save-flow.md +3 -0
- package/skills/ae-engage/references/save-task.md +21 -0
- package/skills/ae-engage/references/task-metric-update.md +151 -0
- package/skills/ae-experiment/SKILL.md +14 -7
- package/skills/ae-experiment/references/save_submit_external_experiment.md +52 -0
- package/skills/ae-experiment-design/SKILL.md +3 -3
- package/skills/ae-experiment-design/references/platform-operations.md +1 -1
- package/skills/ae-experiment-insight/SKILL.md +2 -2
- package/skills/ae-experiment-insight/references/platform-operations.md +1 -1
- package/skills/ae-generate-tracking-code/SKILL.md +2 -1
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
- package/skills/ae-generate-tracking-code/references/datax-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/logbus-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/modes.md +1 -1
- package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +5 -5
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +3 -3
- package/skills/ae-generate-tracking-plan/SKILL.md +2 -2
- package/skills/ae-generate-tracking-plan/references/te-api.md +1 -0
- package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +3 -2
- package/skills/ae-kb/SKILL.md +41 -2
- package/skills/ae-kb/references/analysis-workflow.md +292 -0
- package/skills/ae-kb/references/source-mutations.md +95 -0
- package/skills/ae-kb-discovery/SKILL.md +5 -1
- package/skills/ae-metadata/SKILL.md +1 -1
- package/skills/ae-migrate-tracking-code/SKILL.md +195 -0
- package/skills/ae-migrate-tracking-code/references/ae-preset-properties.md +76 -0
- package/skills/ae-migrate-tracking-code/references/ir.md +167 -0
- package/skills/ae-migrate-tracking-code/references/mapping-framework.md +112 -0
- package/skills/ae-migrate-tracking-code/references/providers/README.md +58 -0
- package/skills/ae-migrate-tracking-code/references/providers/amplitude.md +208 -0
- package/skills/ae-migrate-tracking-code/references/providers/firebase.md +160 -0
- package/skills/ae-migrate-tracking-code/references/providers/ga4.md +92 -0
- package/skills/ae-migrate-tracking-code/references/providers/mixpanel.md +150 -0
- package/skills/ae-migrate-tracking-code/references/providers/sensors-data.md +146 -0
- package/skills/ae-project-semantic/SKILL.md +1 -1
- package/skills/ae-system/SKILL.md +4 -4
- package/skills/ae-team/SKILL.md +2 -2
- package/skills/ae-use-agent/references/local-agent.md +1 -1
- package/dist/chunk-TAL6CZH6.js +0 -72
- package/skills/ae-analysis/metadata_resolution.md +0 -184
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
# analysis alert get
|
|
2
2
|
|
|
3
|
-
Use when get one alert.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to get one alert.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert get
|
|
8
|
+
ae-cli analysis alert get --project-id <project_id> --alert-id <alert_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert.get`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id` and `alert_id`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--alert-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--alert-id` | Alert task ID. | Yes |
|
|
25
23
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# analysis alert-job list
|
|
2
2
|
|
|
3
|
-
Use when list alert job status.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to list alert job status.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert-job list
|
|
8
|
+
ae-cli analysis alert-job list --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert_job.list`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
22
|
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
# analysis alert list
|
|
2
2
|
|
|
3
|
-
Use when list project alerts.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to list project alerts.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert list
|
|
8
|
+
ae-cli analysis alert list --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert.list`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, optional `queries`, `limit`, and `offset`. `queries` accepts 1 to 20 non-empty strings with OR semantics; matching rows include `matched_queries` and `matched_fields`. Do not send singular `query` or camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
22
|
| `--queries` | JSON array of 1 to 20 keyword filters | No |
|
|
25
|
-
| `--limit` |
|
|
26
|
-
| `--offset` |
|
|
23
|
+
| `--limit` | Directory page size. Default: 50, max: 200. Values outside 1..200 are rejected. | No |
|
|
24
|
+
| `--offset` | Zero-based directory page offset. Default: 0. Negative values are rejected. | No |
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# analysis alert-notice-config list
|
|
2
2
|
|
|
3
|
-
Use when list alert notice configs.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to list alert notice configs.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert-notice-config list
|
|
8
|
+
ae-cli analysis alert-notice-config list --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert_notice_config.list`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
22
|
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
# analysis alert start
|
|
2
2
|
|
|
3
|
-
Use when start an alert.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to start an alert.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert start
|
|
8
|
+
ae-cli analysis alert start --project-id <project_id> --alert-id <alert_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert.start`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id` and `alert_id`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--alert-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--alert-id` | Alert task ID. | Yes |
|
|
25
23
|
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
# analysis alert stop
|
|
2
2
|
|
|
3
|
-
Use when stop an alert.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to stop an alert.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert stop
|
|
8
|
+
ae-cli analysis alert stop --project-id <project_id> --alert-id <alert_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert.stop`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id` and `alert_id`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--alert-id` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--alert-id` | Alert task ID. | Yes |
|
|
25
23
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# analysis alert update
|
|
2
2
|
|
|
3
|
-
Use when update an alert.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to update an alert.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli analysis alert update
|
|
8
|
+
ae-cli analysis alert update --project-id <project_id> --alert-id <alert_id> --definition-request '<definition_request>'
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `analysis.alert.update`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, `alert_id`, and `definition_request`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
16
|
+
|
|
17
|
+
If the alert definition fields are not known from the current task, inspect `ae-cli capability inspect analysis.alert.update` once and use its snake_case input schema.
|
|
18
18
|
|
|
19
19
|
Parameters:
|
|
20
20
|
|
|
21
21
|
| Parameter | Description | Required |
|
|
22
22
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--alert-id` |
|
|
25
|
-
| `--definition-request` |
|
|
23
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
|
+
| `--alert-id` | Alert task ID. | Yes |
|
|
25
|
+
| `--definition-request` | Structured alert definition request JSON object using snake_case field names. | Yes |
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Analysis data exports
|
|
2
|
+
|
|
3
|
+
Read this after selecting an analysis data export. For a bounded query and local result reading, use [analysis_data_retrieval.md](analysis_data_retrieval.md).
|
|
4
|
+
|
|
5
|
+
Use the matching `export --output <file>` command for full, unknown-size, over-limit, long-running or timed-out query results.
|
|
6
|
+
|
|
7
|
+
Export commands are asynchronous artifact jobs and do not accept
|
|
8
|
+
`--preview-rows`. Native full-download paths retain their existing model/SQL total row
|
|
9
|
+
ceilings.
|
|
10
|
+
|
|
11
|
+
`--artifact-format` selects the logical row format, not compression. Read the returned `format`, `compression`, `file_name`, `content_type`, and `content_encoding`; analysis query exports are currently gzip-compressed even when the logical format is `jsonl` or `csv`.
|
|
12
|
+
|
|
13
|
+
Default and maximum runtime is 21600 seconds (6 hours). Omit `--timeout-seconds` to use that default, or pass a smaller value when the caller explicitly wants an earlier deadline.
|
|
14
|
+
|
|
15
|
+
Choose one lifecycle form:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Submit only. Preserve the returned run_id/artifact_id.
|
|
19
|
+
ae-cli analysis adhoc export ...
|
|
20
|
+
|
|
21
|
+
# Submit, then wait through repeated short inspect requests.
|
|
22
|
+
ae-cli analysis adhoc export ... --wait
|
|
23
|
+
|
|
24
|
+
# Submit, wait, and stream the completed artifact to a local file.
|
|
25
|
+
ae-cli analysis adhoc export ... --output <file>
|
|
26
|
+
|
|
27
|
+
# Resume after interruption, client wait expiry, or a detached shell.
|
|
28
|
+
ae-cli analysis run wait --run-id <run_id> [--output <file>]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`--output` implies `--wait`. `--wait-timeout-seconds` controls only how long the
|
|
32
|
+
current CLI process remains attached; it defaults to 600 seconds and is capped
|
|
33
|
+
at 21600 seconds. The server lifecycle descriptor remains a hard upper bound
|
|
34
|
+
with a short artifact-materialization grace period. Ctrl-C, client wait expiry,
|
|
35
|
+
or a persistent transient network failure stops only local waiting; it never
|
|
36
|
+
cancels the remote run. Resume with the returned `resume_command` or printed
|
|
37
|
+
`analysis run wait` command.
|
|
38
|
+
|
|
39
|
+
Waiting succeeds only for `status=SUCCEEDED` plus
|
|
40
|
+
`artifact_status=COMPLETED`. Run or artifact `FAILED`/`CANCELED` is terminal and
|
|
41
|
+
returns a non-zero error. Unknown states, authorization failures, and 404s fail
|
|
42
|
+
immediately instead of being polled indefinitely.
|
|
43
|
+
|
|
44
|
+
Downloads stream into a temporary file in the destination directory and publish
|
|
45
|
+
the complete file atomically. Existing output paths are refused by default; pass
|
|
46
|
+
`--force` only when replacement is intentional. The primitive commands remain
|
|
47
|
+
available for manual control:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
51
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file> [--force]
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Cancel an async run/export with:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ae-cli analysis query cancel --run-id <run_id>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
If `analysis run inspect`, `analysis run wait`, or `analysis artifact download` returns HTTP 404 for a valid `run_id` / `artifact_id` from the same export response, treat it as a backend route/capability deployment issue. Do not keep polling or invent download URLs.
|
|
61
|
+
|
|
62
|
+
If the current host returns `CAPABILITY_NOT_FOUND` for a documented command, treat it as host/backend capability unavailability. Do not retry with different JSON shapes or flags; choose another supported path only when it satisfies the user's request, otherwise report the backend gap.
|
|
63
|
+
|
|
64
|
+
Drilldown event/entity/user-event, ad-hoc/report/dashboard model, BI chart,
|
|
65
|
+
user tag/cluster member, and history-tag drilldown exports use Common's
|
|
66
|
+
full-download streaming paths. They accept no `limit`, `offset`, `page_num`, or
|
|
67
|
+
`page_size`, and remain bounded by the existing full-download ceiling. Do not
|
|
68
|
+
collect full data by repeated `list/run` calls.
|
|
69
|
+
|
|
70
|
+
User tag/cluster member and history-tag drilldown exports support both
|
|
71
|
+
`jsonl.gz` and `csv.gz`, defaulting to `jsonl.gz`; format selection does not
|
|
72
|
+
change the native full-download query or introduce paging.
|
|
@@ -1,220 +1,56 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Analysis query results
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use this reference for analysis query results: ad-hoc, saved reports/boards, BI charts, detail, drilldown and member data. Asset lists, metadata catalogs and configuration commands use their own references.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Run or export
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Use `run` for bounded results. For full, unknown-size, over-limit, long-running or timed-out data, select the matching `export --output <file>` and read [export handling](analysis_data_export.md). A complete `run` result saved for local calculation does not need an export.
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
- `analysis report-data run` / `analysis report-data export`
|
|
11
|
-
- `analysis dashboard-report-data run` / `analysis dashboard-report-data export`
|
|
12
|
-
- `analysis bi-panel-page-data run` / `analysis bi-panel-page-data export`
|
|
13
|
-
- `analysis event-detail run` / `analysis event-detail export`
|
|
14
|
-
- `analysis entity-detail run` / `analysis entity-detail export`
|
|
15
|
-
- `analysis drilldown-events run` / `analysis drilldown-events export`
|
|
16
|
-
- `analysis drilldown-entities run` / `analysis drilldown-entities export`
|
|
17
|
-
- `analysis drilldown-user-events run` / `analysis drilldown-user-events export`
|
|
18
|
-
- `analysis user-cluster-member list` / `analysis user-cluster-member export`
|
|
19
|
-
- `analysis user-tag-member list` / `analysis user-tag-member export`
|
|
20
|
-
- `analysis history-tag-data run` / `analysis history-tag-data export`
|
|
21
|
-
- `analysis history-tag-data-drilldown run` / `analysis history-tag-data-drilldown export`
|
|
9
|
+
Normally pass `--preview-rows 100`; omit it to use the model's configured synchronous limit. An explicit value must fit that runtime limit. Member list commands are the exception: omission returns at most 1000 rows. Summary rows do not consume business-row slots. Detail, drilldown and member previews have no row pagination; `has_more=true` requires export when complete data is needed. Use returned `has_more`, not the number of rows alone, to decide completeness.
|
|
22
10
|
|
|
23
|
-
|
|
11
|
+
## Preserve and interpret results
|
|
24
12
|
|
|
25
|
-
|
|
26
|
-
- `analysis-meta`, metadata, DataOps, Community, Engage, or other business modules.
|
|
27
|
-
- Report/dashboard/BI asset list commands, catalog exports, definition import/export, or management commands.
|
|
13
|
+
Use the tool response directly for bounded query data and small metadata search results. Save original JSON only when the user requests a file or necessary local processing requires one.
|
|
28
14
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Apply this cache policy to `analysis adhoc run|export` and
|
|
32
|
-
`analysis report-data run|export`:
|
|
33
|
-
|
|
34
|
-
- For an ordinary query, omit `--use-cache`; its effective default is `true`.
|
|
35
|
-
This allows a cache read but does not prove that the query actually hit a
|
|
36
|
-
cache.
|
|
37
|
-
- Pass `--use-cache false` only when the user explicitly asks for fresh data,
|
|
38
|
-
a refresh or recomputation, to bypass/disable cache, or says the underlying
|
|
39
|
-
data was just updated. Words such as "latest" or "current" trigger this only
|
|
40
|
-
when they refer to data freshness, not merely to a selected time window.
|
|
41
|
-
- When the user explicitly compares with a freshly refreshed analysis UI,
|
|
42
|
-
pass `--use-cache false`. A request that merely mentions a report or UI does
|
|
43
|
-
not imply this freshness requirement.
|
|
44
|
-
- If the user reports that CLI/Agent data differs from the analysis UI, repeat
|
|
45
|
-
the same semantic query exactly once with `--use-cache false`. Preserve the
|
|
46
|
-
project, asset or model definition, filters, time range, timezone, cluster
|
|
47
|
-
route, and other query inputs. Explain that any difference may come from
|
|
48
|
-
cache policy or refresh timing; do not enter a retry loop.
|
|
49
|
-
|
|
50
|
-
The Agent cannot observe whether another browser session is open, whether a UI
|
|
51
|
-
query used cache, or whether the user is demonstrating the product. Never infer
|
|
52
|
-
a demo scenario and never change cache policy based only on the audience or
|
|
53
|
-
interface. `--use-cache` controls whether cache reads are allowed for this CLI
|
|
54
|
-
query; it neither changes the saved asset/UI configuration nor exposes an
|
|
55
|
-
actual cache-hit result. Do not claim cache hit or miss unless the response
|
|
56
|
-
contains explicit backend evidence.
|
|
57
|
-
|
|
58
|
-
## Decision rule
|
|
59
|
-
|
|
60
|
-
Synchronous data commands use `--preview-rows` for the maximum business rows
|
|
61
|
-
returned per result. Omit it to use the model's current cluster-configured
|
|
62
|
-
synchronous limit; the CLI does not detect an Agent sandbox or inject a smaller
|
|
63
|
-
default. Agents should normally pass `--preview-rows 100` to control context and
|
|
64
|
-
memory use. Human or script callers may omit it when the native synchronous
|
|
65
|
-
result is wanted directly. User tag/cluster member list commands are the
|
|
66
|
-
exception: omission returns at most 1000 rows, matching the UI member query.
|
|
67
|
-
|
|
68
|
-
Use `run` only when all conditions are true:
|
|
69
|
-
|
|
70
|
-
- The user needs an inline preview or immediate JSON result.
|
|
71
|
-
- The expected result fits in the chosen synchronous preview.
|
|
72
|
-
- The query is expected to finish within the sync timeout window, normally `<=180` seconds.
|
|
73
|
-
|
|
74
|
-
The runtime validates an explicit `--preview-rows` against the effective model
|
|
75
|
-
or SQL cluster configuration. Do not hard-code one universal maximum. Model
|
|
76
|
-
queries reserve their own internal total/summary rows, so the physical query
|
|
77
|
-
limit may be `N+M`; these internal rows do not reduce the requested `N` business
|
|
78
|
-
rows. SQL/list-shaped queries may fetch one look-ahead row to determine
|
|
79
|
-
`has_more`. User tag/cluster member list commands accept explicit values up to
|
|
80
|
-
100000; this does not change their omitted default of 1000.
|
|
81
|
-
|
|
82
|
-
The dashboard report-data sync timeout defaults to 180 seconds because one call may execute multiple reports. Other sync analysis data retrieval commands default to 120 seconds. The maximum remains 180 seconds, and an explicitly supplied lower timeout always wins.
|
|
83
|
-
|
|
84
|
-
Detail `run` commands (`event-detail run` and `entity-detail run`) support
|
|
85
|
-
`--preview-rows`, but not `--limit`, `--offset`, or stable pagination. If
|
|
86
|
-
`has_more=true`, switch to the matching `export`.
|
|
87
|
-
|
|
88
|
-
User member, history-tag drilldown, and result drilldown `list/run` commands are bounded previews. They do not expose pagination. Use the matching `export` command for full or unknown-size data.
|
|
89
|
-
|
|
90
|
-
Use `export` when any condition is true:
|
|
91
|
-
|
|
92
|
-
- The user asks for full data, all rows, a downloadable file, or an export.
|
|
93
|
-
- The result size is unknown or expected to exceed the chosen preview.
|
|
94
|
-
- The query may be long-running or may exceed the sync timeout window.
|
|
95
|
-
- A data-query `run` times out.
|
|
96
|
-
- The result should be durable and processed from a file instead of printed inline.
|
|
97
|
-
|
|
98
|
-
Export commands are asynchronous artifact jobs and do not accept
|
|
99
|
-
`--preview-rows`. Native full-download paths retain their existing model/SQL total row
|
|
100
|
-
ceilings.
|
|
101
|
-
|
|
102
|
-
`--artifact-format` selects the logical row format, not compression. Read the returned `format`, `compression`, `file_name`, `content_type`, and `content_encoding`; analysis query exports are currently gzip-compressed even when the logical format is `jsonl` or `csv`.
|
|
103
|
-
|
|
104
|
-
Default and maximum runtime is 21600 seconds (6 hours). Omit `--timeout-seconds` to use that default, or pass a smaller value when the caller explicitly wants an earlier deadline.
|
|
105
|
-
|
|
106
|
-
Choose one lifecycle form:
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
# Submit only. Preserve the returned run_id/artifact_id.
|
|
110
|
-
ae-cli analysis adhoc export ...
|
|
111
|
-
|
|
112
|
-
# Submit, then wait through repeated short inspect requests.
|
|
113
|
-
ae-cli analysis adhoc export ... --wait
|
|
114
|
-
|
|
115
|
-
# Submit, wait, and stream the completed artifact to a local file.
|
|
116
|
-
ae-cli analysis adhoc export ... --output <file>
|
|
15
|
+
Keep stderr attached to the tool and use the CLI exit status reported by the tool. Do not append `; echo "EXIT:$?"`: the shell would report echo's exit status. Process saved JSON only after the CLI command succeeds. A failure already contains its structured error; correct the reported input before resubmitting. Request IDs, progress and errors are stderr, not JSON data.
|
|
117
16
|
|
|
118
|
-
|
|
119
|
-
ae-cli analysis run wait --run-id <run_id> [--output <file>]
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
`--output` implies `--wait`. `--wait-timeout-seconds` controls only how long the
|
|
123
|
-
current CLI process remains attached; it defaults to 600 seconds and is capped
|
|
124
|
-
at 21600 seconds. The server lifecycle descriptor remains a hard upper bound
|
|
125
|
-
with a short artifact-materialization grace period. Ctrl-C, client wait expiry,
|
|
126
|
-
or a persistent transient network failure stops only local waiting; it never
|
|
127
|
-
cancels the remote run. Resume with the returned `resume_command` or printed
|
|
128
|
-
`analysis run wait` command.
|
|
129
|
-
|
|
130
|
-
Waiting succeeds only for `status=SUCCEEDED` plus
|
|
131
|
-
`artifact_status=COMPLETED`. Run or artifact `FAILED`/`CANCELED` is terminal and
|
|
132
|
-
returns a non-zero error. Unknown states, authorization failures, and 404s fail
|
|
133
|
-
immediately instead of being polled indefinitely.
|
|
134
|
-
|
|
135
|
-
Downloads stream into a temporary file in the destination directory and publish
|
|
136
|
-
the complete file atomically. Existing output paths are refused by default; pass
|
|
137
|
-
`--force` only when replacement is intentional. The primitive commands remain
|
|
138
|
-
available for manual control:
|
|
17
|
+
If result files already exist, the optional reader can inspect all needed files together, including event and retention:
|
|
139
18
|
|
|
140
19
|
```bash
|
|
141
|
-
|
|
142
|
-
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file> [--force]
|
|
20
|
+
python3 <skill-directory>/scripts/read_results.py event.json retention.json
|
|
143
21
|
```
|
|
144
22
|
|
|
145
|
-
|
|
23
|
+
`<skill-directory>` is the directory of the `ae-analysis/SKILL.md` already loaded. Result paths are relative to the current working directory. The reader reports status, scope, warnings, resolved bindings, titles, values and row/column metadata together; use that view directly.
|
|
146
24
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
25
|
+
- The view defaults to 40 rows and 40 columns per file. It already bounds output; keep its complete JSON output so the truncation indicators remain visible.
|
|
26
|
+
- `data.rows[i]` pairs with `data.row_metadata[i]`; an array cell is `data.rows[i][j]`. Preserve column indexes and repeated titles. Event totals and comparison blocks are described in [event results](ai_models/event.md#event-totals-and-comparison-columns); retention row types and Dn columns in [retention results](ai_models/retention.md#returned-rows).
|
|
27
|
+
- `local_view.rows_omitted` and `local_view.truncations` mean the local display omitted content. Increase `--rows`/`--columns` or read the required cells from the same original file. This is separate from upstream `data.has_more`; changing the display needs no new business query.
|
|
28
|
+
- For non-tabular results, use `local_view.structure` and `omitted_data_keys` to read the needed paths from the original file. The reader's exit status reports file-reading success; each `ok`/`error` reports query success.
|
|
150
29
|
|
|
151
|
-
|
|
30
|
+
CLI `--jq` starts at the business payload (`--jq '.rows'`); external jq starts at the saved envelope (`jq '.data.rows' query.json`). A null projection alone does not establish empty data. On `OUTPUT_PROJECTION_FAILED`, stdout retains the original `data` and `meta` in an error envelope and the CLI exits non-zero. Fix the local projection using that returned data.
|
|
152
31
|
|
|
153
|
-
|
|
32
|
+
## Local calculation
|
|
154
33
|
|
|
155
|
-
|
|
156
|
-
user tag/cluster member, and history-tag drilldown exports use Common's
|
|
157
|
-
full-download streaming paths. They accept no `limit`, `offset`, `page_num`, or
|
|
158
|
-
`page_size`, and remain bounded by the existing full-download ceiling. Do not
|
|
159
|
-
collect full data by repeated `list/run` calls.
|
|
34
|
+
Compute only the missing requested values, together, and print them. Select measure cells by the actual titles, dates and scope; keep labels and IDs as strings. For JSON numeric literals and numeric strings:
|
|
160
35
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
36
|
+
```python
|
|
37
|
+
import json
|
|
38
|
+
from decimal import Decimal
|
|
164
39
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
without a drillable analysis angle do not create a useless context. Exports and
|
|
171
|
-
downloaded artifacts never create this context and never expand the selectable
|
|
172
|
-
result. The Common/UI synchronous result is the drilldown boundary.
|
|
173
|
-
|
|
174
|
-
Before composing a follow-up coordinate, call `analysis query-context get` with
|
|
175
|
-
the returned `query_context_id` and, for multi-source results, one exact source
|
|
176
|
-
selector from the compact summary. The command reads the full row, column, and
|
|
177
|
-
metric options already stored for that preview; it does not rerun the query.
|
|
178
|
-
|
|
179
|
-
Follow-up commands are allowed only when the compact source summary advertises the exact action. Read [`analysis_drilldown_contract.md`](analysis_drilldown_contract.md), fetch full options with `analysis query-context get`, select only those returned row/column/metric options, and never infer source IDs, dates, groups, model fields, or analysis angles from display text.
|
|
180
|
-
|
|
181
|
-
Pass the original `--project-id` with every query-context or drilldown-context follow-up. Gateway uses it for project authorization, and Common rejects it if it does not match the project stored by the context ID.
|
|
182
|
-
|
|
183
|
-
When present, compare `effective_time_range` with `data_time_range`. `effective_time_range` is the resolved query scope, while `data_time_range` is the observed returned-row range. `clipping_reasons=[]` means the gateway applied no silent range cap; a narrower `data_time_range` then reflects available/returned data rather than a gateway range clamp.
|
|
184
|
-
|
|
185
|
-
Use that synchronous `query_context_id` for the advertised action only:
|
|
186
|
-
|
|
187
|
-
- `analysis drilldown-events run` or `analysis drilldown-events export`
|
|
188
|
-
- `analysis drilldown-entities run` or `analysis drilldown-entities export`
|
|
189
|
-
- `analysis query create-result-cluster`
|
|
190
|
-
|
|
191
|
-
Do not reconstruct or pass raw QP for follow-up drilldown or result-cluster creation.
|
|
192
|
-
|
|
193
|
-
If the synchronous response does not include `query_context_id` and the required
|
|
194
|
-
action, or `analysis query-context get` does not return the required selectable
|
|
195
|
-
options, stop before drilldown/result-cluster commands. Report that this preview
|
|
196
|
-
does not expose that follow-up.
|
|
40
|
+
# Set response_json to the actual returned JSON text before running this example.
|
|
41
|
+
data = json.loads(response_json, parse_float=Decimal)["data"]
|
|
42
|
+
# Select the measure cell from the returned row/column structure.
|
|
43
|
+
value = Decimal(str(data["rows"][row_index][column_index]))
|
|
44
|
+
```
|
|
197
45
|
|
|
198
|
-
|
|
199
|
-
lookahead business unit at the requested `preview_rows` boundary, or at that
|
|
200
|
-
model's configured boundary when `preview_rows` is omitted. The lookahead unit
|
|
201
|
-
is never returned, and reaching the boundary alone does not imply
|
|
202
|
-
`has_more=true`. Use `export` whenever completeness matters.
|
|
46
|
+
Convert selected cells before summing or dividing; handle missing values and a zero denominator. The reader displays decimal numbers as strings; calculate from the original JSON. Print Decimal output with `json.dumps(..., default=str)`. Correct a local calculation using the same data and reuse completed values.
|
|
203
47
|
|
|
204
|
-
##
|
|
48
|
+
## Cache policy for report and ad-hoc data
|
|
205
49
|
|
|
206
|
-
|
|
207
|
-
`--preview-rows` per chart and has no row pagination contract. A configured
|
|
208
|
-
chart top-N still applies as a semantic chart limit. Summary is rendered
|
|
209
|
-
presentation data, is available only from `run`, and rejects `--preview-rows`.
|
|
50
|
+
For an ordinary query, omit `--use-cache`; the default permits cache reads but does not prove a cache hit. Use `--use-cache false` for an explicit request for fresh data, refresh or recomputation, bypass/disable cache, newly updated data, or comparison with a freshly refreshed analysis UI. “Latest” or “current” only implies this when it means data freshness, not a time window.
|
|
210
51
|
|
|
211
|
-
|
|
212
|
-
long-running chart data. Common streams rows directly under
|
|
213
|
-
`model_full_download_limit`.
|
|
52
|
+
If the user reports that the result differs from the analysis UI, repeat the same semantic query exactly once with `--use-cache false`. Keep the project, definition, filters, time range, timezone and cluster route. Explain that cache policy or refresh timing may account for a difference. Claim a cache hit or miss only from explicit backend evidence.
|
|
214
53
|
|
|
215
|
-
|
|
216
|
-
native full-download SQL paths and stream CSV rows directly into a gzip artifact.
|
|
217
|
-
These exports support `--property-names`, but do not support the preview-only
|
|
218
|
-
`--fields`, `--query`, or `--use-cache` options.
|
|
54
|
+
## Follow-up
|
|
219
55
|
|
|
220
|
-
|
|
56
|
+
When the user needs a follow-up action advertised in synchronous `sources[]`, read [the drilldown contract](analysis_drilldown_contract.md). Use the returned `query_context_id` and original project ID. An export file provides data, not selectable drilldown coordinates.
|