@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,24 +1,22 @@
|
|
|
1
1
|
# tracking plan-change-log list
|
|
2
2
|
|
|
3
|
-
Use when list tracking plan change logs.
|
|
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 tracking plan change logs.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking plan-change-log list
|
|
8
|
+
ae-cli tracking plan-change-log list --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.plan_change_log.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,8 +1,6 @@
|
|
|
1
1
|
# tracking plan delete-items
|
|
2
2
|
|
|
3
|
-
Use when delete tracking plan items.
|
|
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 delete tracking plan items.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
@@ -16,7 +14,7 @@ Capability id: `tracking.plan.delete_items`
|
|
|
16
14
|
|
|
17
15
|
Input sends `project_id`, the provided name arrays, and `yes` mapped from `--confirm`. At least one name array must be non-empty. Do not send camelCase aliases.
|
|
18
16
|
|
|
19
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
17
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
20
18
|
|
|
21
19
|
Parameters:
|
|
22
20
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# tracking plan export
|
|
2
2
|
|
|
3
|
-
Use when export the tracking plan as an artifact.
|
|
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 export the tracking plan as an artifact.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking plan export
|
|
8
|
+
ae-cli tracking plan export --project-id <project_id> --output <file>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.plan.export`
|
|
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`.
|
|
16
|
+
|
|
17
|
+
Use `--output` to wait and download the completed artifact. To resume an interrupted export, use [`analysis run wait`](run_wait.md) with its returned `run_id`.
|
|
18
18
|
|
|
19
19
|
Parameters:
|
|
20
20
|
|
|
21
21
|
| Parameter | Description | Required |
|
|
22
22
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--request-id` |
|
|
25
|
-
| `--
|
|
26
|
-
|
|
23
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
|
+
| `--request-id` | Optional caller-supplied cli_<32 lowercase hex> lifecycle ID. ae-cli generates and prints one before dispatch when omitted. | No |
|
|
25
|
+
| `--timeout-seconds` | Async runtime in seconds. Default and max: 21600 (6 hours); cancel earlier with analysis query cancel --run-id <run_id>. | No |
|
|
26
|
+
| `--output` | Wait and download to this local file. | No |
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# tracking plan generate
|
|
2
2
|
|
|
3
|
-
Use when submit an AI tracking plan generation task.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to submit an AI tracking plan generation task.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
@@ -14,7 +12,7 @@ Capability id: `tracking.plan.generate`
|
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, `language`, `form_data`, optional `development_carrier`, and optional `predefined_event`. The backend resolves `company_id` from the authorized project. `form_data` is the intentionally open business-context object; all surrounding fields are explicit. 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
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# tracking plan get
|
|
2
2
|
|
|
3
|
-
Use when get the tracking plan for one project.
|
|
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 the tracking plan for one project.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking plan get
|
|
8
|
+
ae-cli tracking plan get --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.plan.get`
|
|
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
|
# tracking plan import-excel
|
|
2
2
|
|
|
3
|
-
Use when import a tracking plan Excel file that was uploaded as an input file.
|
|
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 import a tracking plan Excel file that was uploaded as an input file.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking plan import-excel
|
|
8
|
+
ae-cli tracking plan import-excel --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.plan.import_excel`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, `input_file_id`, and optional `lang`. 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
|
-
| `--input-file-id` |
|
|
25
|
-
| `--lang` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--input-file-id` | Existing input_file_id returned by `analysis input-file upload --purpose track.program.xlsx`. | Yes |
|
|
23
|
+
| `--lang` | Excel language: zh, en, ja, ko, zh_CN, en_US, ja_JP, or ko_KR. | No |
|
|
26
24
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# tracking plan save-items
|
|
2
2
|
|
|
3
|
-
Use when save tracking plan items.
|
|
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 save tracking plan items.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
@@ -14,7 +12,7 @@ Capability id: `tracking.plan.save_items`
|
|
|
14
12
|
|
|
15
13
|
Input sends `project_id` and the provided `events`, `event_props`, `user_props`, and `common_event_props` arrays. At least one item array must be non-empty. Event/property objects use the existing tracking-plan snake_case contract; 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
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# tracking plan sync-from-meta
|
|
2
2
|
|
|
3
|
-
Use when synchronize tracking plan from project metadata.
|
|
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 synchronize tracking plan from project metadata.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking plan sync-from-meta
|
|
8
|
+
ae-cli tracking plan sync-from-meta --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.plan.sync_from_meta`
|
|
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
|
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project data-power get --project-id <project_id> --data-power-id <data_power_id>
|
|
11
|
-
ae-cli project data-power get --dry-run --project-id <project_id> --data-power-id <data_power_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.data_power.get`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project entity create --project-id <project_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type> --order <order>
|
|
11
|
-
ae-cli project entity create --dry-run --project-id <project_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.entity.create`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project entity list --project-id <project_id> --query <query> --fields <fields> --limit <limit> --offset <offset> --event-name <event_name>
|
|
11
|
-
ae-cli project entity list --dry-run --project-id <project_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.entity.list`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project entity update --project-id <project_id> --entity-id <entity_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type> --order <order>
|
|
11
|
-
ae-cli project entity update --dry-run --project-id <project_id> --entity-id <entity_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.entity.update`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project info update --project-id <project_id> --project-name <project_name> --project-remark <project_remark>
|
|
11
|
-
ae-cli project info update --dry-run --project-id <project_id> --project-name <project_name>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.info.update`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project mark-time create --project-id <project_id> --marked-at <marked_at> --zone-offset <zone_offset> --content <content> --is-visible <is_visible>
|
|
11
|
-
ae-cli project mark-time create --dry-run --project-id <project_id> --marked-at <marked_at> --content <content>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.mark_time.create`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project mark-time list --project-id <project_id> --query <query> --fields <fields> --limit <limit> --offset <offset> --zone-offset <zone_offset>
|
|
11
|
-
ae-cli project mark-time list --dry-run --project-id <project_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.mark_time.list`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project mark-time update --project-id <project_id> --mark-time-id <mark_time_id> --marked-at <marked_at> --zone-offset <zone_offset> --content <content> --is-visible <is_visible>
|
|
11
|
-
ae-cli project mark-time update --dry-run --project-id <project_id> --mark-time-id <mark_time_id> --marked-at <marked_at> --content <content>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.mark_time.update`.
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# project member add
|
|
2
2
|
|
|
3
|
-
Use when the user needs to add project members.
|
|
3
|
+
Use when the user needs to add project members. Use `--type 0` to create a company member from project management, or `--type 1` to add an existing company member to the project.
|
|
4
4
|
|
|
5
5
|
Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
|
|
6
6
|
|
|
7
|
+
When the company disables project-level member creation, `--type 0` is rejected by both dry-run and execute. Create the member through system management first, then use `--type 1`. The company setting does not block system-management member creation.
|
|
8
|
+
|
|
7
9
|
Command:
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
|
-
ae-cli project member add --project-id <project_id> --payload <
|
|
11
|
-
ae-cli project member add --dry-run --project-id <project_id> --payload <payload> --type <type>
|
|
12
|
+
ae-cli project member add --project-id <project_id> --payload '{"user_roles":[{"user_id":<user_id>,"role_list":["<role_name>"]}]}' --type 1
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
Capability id: `project.member.add`.
|
|
@@ -21,5 +22,5 @@ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok
|
|
|
21
22
|
| Parameter | Required | Description |
|
|
22
23
|
|---|---|---|
|
|
23
24
|
| `--project-id` | Yes | Numeric project ID. |
|
|
24
|
-
| `--payload` | Yes |
|
|
25
|
-
| `--type` | Yes |
|
|
25
|
+
| `--payload` | Yes | JSON object with `user_roles`. For an existing company member, each item uses `user_id` and `role_list` (verified project role names); optional `data_power_id` selects data permissions. For a new user (`--type 0`), use `login_name`, `password`, and `role_list` instead of an existing `user_id`; `user_name` is optional. |
|
|
26
|
+
| `--type` | Yes | `0`: create a company member from project management; `1`: add an existing company member. Type `0` may be disabled by company configuration. |
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# project member-candidate list
|
|
2
2
|
|
|
3
|
-
Use when the user needs to list candidate users and role/data-power options for adding project members.
|
|
3
|
+
Use when the user needs to list candidate users and role/data-power options for adding project members. Use `--type 0` with `--login-names` to check prospective new company members, or `--type 1` to list existing company members that can be added to the project.
|
|
4
4
|
|
|
5
5
|
Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
|
|
6
6
|
|
|
7
|
+
When the company disables project-level member creation, `--type 0` is rejected by both dry-run and execute. Use system management to create the member and then query with `--type 1`.
|
|
8
|
+
|
|
7
9
|
Command:
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
12
|
ae-cli project member-candidate list --project-id <project_id> --type <type> --login-names <login_names>
|
|
11
|
-
ae-cli project member-candidate list --dry-run --project-id <project_id> --type <type>
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
Capability id: `project.member_candidate.list`.
|
|
@@ -21,5 +22,5 @@ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok
|
|
|
21
22
|
| Parameter | Required | Description |
|
|
22
23
|
|---|---|---|
|
|
23
24
|
| `--project-id` | Yes | Numeric project ID. |
|
|
24
|
-
| `--type` | Yes |
|
|
25
|
+
| `--type` | Yes | `0`: check prospective new company members; `1`: list existing company members. Type `0` may be disabled by company configuration. |
|
|
25
26
|
| `--login-names` | No | Comma-separated login names when checking new users. |
|
|
@@ -7,8 +7,7 @@ Do not use it for unrelated project-management actions or for fields not present
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli project member-handover run --project-id <project_id> --payload <
|
|
11
|
-
ae-cli project member-handover run --dry-run --project-id <project_id> --payload <payload>
|
|
10
|
+
ae-cli project member-handover run --project-id <project_id> --payload '{"to_user_id":<user_id>,"single_submit":true,"asset_list":[{"asset_id":<asset_id>,"asset_type":"report","asset_name":"<asset_name>"}]}'
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.member_handover.run`.
|
|
@@ -21,4 +20,4 @@ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok
|
|
|
21
20
|
| Parameter | Required | Description |
|
|
22
21
|
|---|---|---|
|
|
23
22
|
| `--project-id` | Yes | Numeric project ID. |
|
|
24
|
-
| `--payload` | Yes |
|
|
23
|
+
| `--payload` | Yes | JSON object with `to_user_id`, `single_submit`, and `asset_list`. `single_submit=true` requires exactly one asset; false allows a non-empty batch. Each asset uses `asset_id`, `asset_type`, and `asset_name` from the selected asset. Types: `report`, `dashboard`, `space`, `folder`, `bi_panel`, `thirdparty`. |
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project member update --project-id <project_id> --payload <payload> --target-user-id <target_user_id>
|
|
11
|
-
ae-cli project member update --dry-run --project-id <project_id> --payload <payload> --target-user-id <target_user_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.member.update`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project owner update --project-id <project_id> --company-id <company_id> --owner-user-id <owner_user_id> --project-name <project_name> --project-remark <project_remark>
|
|
11
|
-
ae-cli project owner update --dry-run --project-id <project_id> --company-id <company_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.owner.update`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project permission-binding list --company-id <company_id> --project-ids <project_ids>
|
|
11
|
-
ae-cli project permission-binding list --dry-run --company-id <company_id> --project-ids <project_ids>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.permission_binding.list`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project role-function list --company-id <company_id> --project-id <project_id> --role-name <role_name> --role-names <role_names> --show-system-func <show_system_func>
|
|
11
|
-
ae-cli project role-function list --dry-run
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `project.role_function.list`.
|
|
@@ -8,12 +8,42 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli project role upsert --project-id <project_id> --payload <payload>
|
|
11
|
+
ae-cli project role upsert --validate --project-id <project_id> --payload <payload>
|
|
11
12
|
ae-cli project role upsert --dry-run --project-id <project_id> --payload <payload>
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
Capability id: `project.role.upsert`.
|
|
15
16
|
|
|
16
|
-
Input sends `project_id`, `payload`. Payload keys
|
|
17
|
+
Input sends `project_id`, `payload`. Payload keys must use snake_case.
|
|
18
|
+
|
|
19
|
+
## Payload contract
|
|
20
|
+
|
|
21
|
+
`role_func_list` is required and must be a non-empty array of objects. Every item requires:
|
|
22
|
+
|
|
23
|
+
- `function_name`: non-empty string. Resolve valid values with `ae-cli project function list` instead of guessing IDs or sending numeric function IDs.
|
|
24
|
+
- `has_power`: integer `0` or `1` only. Use `1` to select the function and `0` to leave it unselected.
|
|
25
|
+
|
|
26
|
+
For role creation, omit `role_name` and provide `role_desc` with 1 to 80 characters. For an update, provide the existing `role_name`; `role_desc` may remain omitted for compatibility.
|
|
27
|
+
|
|
28
|
+
Functions omitted from `role_func_list` are completed by the service with their permission metadata and `has_power=0`. Do not attempt to replace an object item with a number or string.
|
|
29
|
+
|
|
30
|
+
Create example:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
ae-cli project role upsert \
|
|
34
|
+
--project-id 196 \
|
|
35
|
+
--payload '{"role_desc":"Data analyst","role_func_list":[{"function_name":"viewReport","has_power":1}]}'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Update example:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
ae-cli project role upsert \
|
|
42
|
+
--project-id 196 \
|
|
43
|
+
--payload '{"role_name":"custom_role","role_func_list":[{"function_name":"viewReport","has_power":1}]}'
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Run with `--validate` first when constructing the payload dynamically. Invalid item types, missing fields, an empty list, or a `has_power` value outside `0` and `1` return a validation error before the role is saved.
|
|
17
47
|
|
|
18
48
|
Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
|
|
19
49
|
|
|
@@ -21,4 +51,4 @@ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok
|
|
|
21
51
|
| Parameter | Required | Description |
|
|
22
52
|
|---|---|---|
|
|
23
53
|
| `--project-id` | Yes | Numeric project ID. |
|
|
24
|
-
| `--payload` | Yes | Role
|
|
54
|
+
| `--payload` | Yes | Role payload with a non-empty `role_func_list` object array; each item contains `function_name` and `has_power` (`0` or `1`). |
|