@thinkingai/ae-cli 6.1.4 → 6.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/{auth-MEJ642P4.js → auth-ENM3FE6L.js} +3 -2
  2. package/dist/{auth-7H3HAAJ3.js → auth-UPGUOKTW.js} +13 -6
  3. package/dist/{capability-QW4AVJHI.js → capability-AJC5CBRT.js} +49 -17
  4. package/dist/{capability-SCRFGODD.js → capability-TQ5KU5Q6.js} +49 -17
  5. package/dist/chunk-24BAVOX3.js +51 -0
  6. package/dist/{chunk-MDJGDI6K.js → chunk-3KI3RRXX.js} +5 -5
  7. package/dist/{chunk-PKRD2IEM.js → chunk-3P3562ZX.js} +9 -7
  8. package/dist/{chunk-R77JT7XD.js → chunk-4Q5TNP4Q.js} +4 -4
  9. package/dist/{chunk-7OLGDQQ2.js → chunk-6CHYBI64.js} +2 -2
  10. package/dist/{chunk-6LEYLOV3.js → chunk-CPVTECJ3.js} +9 -7
  11. package/dist/{chunk-KCA6BA5D.js → chunk-DB4Q3ANU.js} +5 -3
  12. package/dist/{chunk-2NDGFQHW.js → chunk-E7UXXHO3.js} +11 -3
  13. package/dist/{chunk-I4A62X3N.js → chunk-HQ2A7ITL.js} +23 -14
  14. package/dist/chunk-IMMGMU54.js +674 -0
  15. package/dist/{chunk-AJTH7LT3.js → chunk-IR4ZLVPW.js} +4 -2
  16. package/dist/{chunk-TBHBYKXZ.js → chunk-ISY6HMHM.js} +2 -2
  17. package/dist/{chunk-KGJQCYVC.js → chunk-LCXU3AAT.js} +4 -2
  18. package/dist/chunk-LYVNONC4.js +86 -0
  19. package/dist/{chunk-DYOS6YY7.js → chunk-RGXCNC4N.js} +23 -14
  20. package/dist/{chunk-YCLVYFK7.js → chunk-V6FR6WTW.js} +45 -87
  21. package/dist/chunk-VTWMIC5L.js +27 -0
  22. package/dist/{cli-token-TVQRSE46.js → cli-token-4SBMXAUK.js} +6 -3
  23. package/dist/{client-2643Z5AG.js → client-PP5FETMW.js} +4 -3
  24. package/dist/community-report-client-KK2QBANO.js +145 -0
  25. package/dist/{config-7UZWDE74.js → config-RCCGHHYA.js} +6 -3
  26. package/dist/index.js +506 -221
  27. package/dist/{metadata-BFDL6RUK.js → metadata-3M5F2AED.js} +14 -13
  28. package/dist/{metadata-FCLDBXX2.js → metadata-W2MEOI4Z.js} +14 -13
  29. package/dist/{model-T3KZJWLW.js → model-OYQLXCQY.js} +3 -2
  30. package/dist/{raw-CN542NGT.js → raw-TPB7KSZO.js} +6 -4
  31. package/dist/{sync-ERNHDPB5.js → sync-EFJKFZK2.js} +6 -3
  32. package/dist/{te-agent-FCCWUDTJ.js → te-agent-K2OWMZXT.js} +3 -2
  33. package/dist/{te-analysis-PUVF5IF4.js → te-analysis-I73ZS4NK.js} +903 -33
  34. package/dist/{te-analysis-UJDOKPAN.js → te-analysis-Q7AZCDU4.js} +903 -33
  35. package/dist/{te-common-XLAGWNIV.js → te-common-ST3QPSXJ.js} +7 -6
  36. package/dist/{te-common-VUX3VOXZ.js → te-common-WSLIKKPC.js} +7 -6
  37. package/dist/te-community-WXGB6IOX.js +1659 -0
  38. package/dist/te-community-X2AHXGCA.js +1659 -0
  39. package/dist/{te-dataops-ZNJBQ6VT.js → te-dataops-MJV54MNY.js} +10 -8
  40. package/dist/{te-dataops-F36T656A.js → te-dataops-OA7I6HBG.js} +10 -8
  41. package/dist/{te-engage-K4AEUPK5.js → te-engage-GJRVQMK3.js} +10 -9
  42. package/dist/{te-engage-QBCCME22.js → te-engage-JIXX3WBI.js} +10 -9
  43. package/dist/{te-experiment-JINSMHMW.js → te-experiment-JKX4FH6D.js} +7 -6
  44. package/dist/{te-experiment-NWNQHJS5.js → te-experiment-UMSHBBKI.js} +7 -6
  45. package/dist/{te-kb-AYCODNU6.js → te-kb-CIZXRWMO.js} +49 -6
  46. package/dist/{te-meta-ARDIW3YI.js → te-meta-Q4L6EE3Q.js} +7 -6
  47. package/dist/{te-meta-UUROEODR.js → te-meta-VHCN4Q62.js} +7 -6
  48. package/dist/{te-team-OKCOX7OE.js → te-team-PDKKW7Q5.js} +7 -6
  49. package/dist/tracking/i18n/resources/cli/en.json +4 -3
  50. package/dist/tracking/i18n/resources/cli/ja.json +4 -3
  51. package/dist/tracking/i18n/resources/cli/ko.json +4 -3
  52. package/dist/tracking/i18n/resources/cli/zh.json +4 -3
  53. package/package.json +6 -2
  54. package/skills/ae-agent/SKILL.md +2 -1
  55. package/skills/ae-analysis/SKILL.md +12 -1
  56. package/skills/ae-analysis/references/adhoc_export.md +2 -0
  57. package/skills/ae-analysis/references/adhoc_run.md +2 -0
  58. package/skills/ae-analysis/references/alert_create.md +25 -0
  59. package/skills/ae-analysis/references/alert_definition_schema_get.md +24 -0
  60. package/skills/ae-analysis/references/alert_delete.md +26 -0
  61. package/skills/ae-analysis/references/alert_detail_list.md +27 -0
  62. package/skills/ae-analysis/references/alert_get.md +25 -0
  63. package/skills/ae-analysis/references/alert_job_list.md +24 -0
  64. package/skills/ae-analysis/references/alert_list.md +27 -0
  65. package/skills/ae-analysis/references/alert_notice_config_list.md +24 -0
  66. package/skills/ae-analysis/references/alert_start.md +25 -0
  67. package/skills/ae-analysis/references/alert_stop.md +25 -0
  68. package/skills/ae-analysis/references/alert_update.md +26 -0
  69. package/skills/ae-analysis/references/bi_panel_create.md +3 -3
  70. package/skills/ae-analysis/references/check_delete.md +27 -0
  71. package/skills/ae-analysis/references/check_export.md +27 -0
  72. package/skills/ae-analysis/references/check_get.md +27 -0
  73. package/skills/ae-analysis/references/check_list.md +24 -0
  74. package/skills/ae-analysis/references/check_retry.md +27 -0
  75. package/skills/ae-analysis/references/check_run.md +25 -0
  76. package/skills/ae-analysis/references/command_index.md +61 -27
  77. package/skills/ae-analysis/references/dashboard_create.md +3 -3
  78. package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -0
  79. package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
  80. package/skills/ae-analysis/references/dashboard_report_data_export.md +3 -3
  81. package/skills/ae-analysis/references/dashboard_report_data_run.md +3 -3
  82. package/skills/ae-analysis/references/event_blacklist_add.md +25 -0
  83. package/skills/ae-analysis/references/event_blacklist_list.md +24 -0
  84. package/skills/ae-analysis/references/event_blacklist_update.md +26 -0
  85. package/skills/ae-analysis/references/ingest_error_list.md +27 -0
  86. package/skills/ae-analysis/references/ingest_summary.md +26 -0
  87. package/skills/ae-analysis/references/live_data_export.md +27 -0
  88. package/skills/ae-analysis/references/live_data_list.md +27 -0
  89. package/skills/ae-analysis/references/plan_change_log_export.md +27 -0
  90. package/skills/ae-analysis/references/plan_change_log_list.md +24 -0
  91. package/skills/ae-analysis/references/plan_delete_items.md +30 -0
  92. package/skills/ae-analysis/references/plan_export.md +26 -0
  93. package/skills/ae-analysis/references/plan_generate.md +27 -0
  94. package/skills/ae-analysis/references/plan_get.md +24 -0
  95. package/skills/ae-analysis/references/plan_import_excel.md +26 -0
  96. package/skills/ae-analysis/references/plan_save_items.md +27 -0
  97. package/skills/ae-analysis/references/plan_sync_from_meta.md +24 -0
  98. package/skills/ae-analysis/references/project_role_delete.md +4 -3
  99. package/skills/ae-analysis/references/project_role_get.md +4 -3
  100. package/skills/ae-analysis/references/project_role_user_list.md +4 -3
  101. package/skills/ae-analysis/references/query_create_result_cluster.md +2 -1
  102. package/skills/ae-analysis/references/report_data_export.md +3 -1
  103. package/skills/ae-analysis/references/report_data_run.md +12 -2
  104. package/skills/ae-analysis/references/sdk_sample_generate.md +24 -0
  105. package/skills/ae-analysis/references/user_cluster_create.md +2 -0
  106. package/skills/ae-analysis/references/user_cluster_create_id.md +2 -0
  107. package/skills/ae-analysis/references/user_cluster_update.md +2 -0
  108. package/skills/ae-analysis/references/user_cluster_update_id.md +2 -0
  109. package/skills/ae-analysis/references/user_tag_create.md +2 -0
  110. package/skills/ae-analysis/references/user_tag_create_id.md +2 -0
  111. package/skills/ae-analysis/references/user_tag_update.md +2 -0
  112. package/skills/ae-analysis/references/user_tag_update_id.md +2 -0
  113. package/skills/ae-analysis-global/SKILL.md +2 -0
  114. package/skills/ae-capability/SKILL.md +7 -5
  115. package/skills/ae-community/SKILL.md +72 -8
  116. package/skills/ae-community/references/community-chat-analysis.md +341 -0
  117. package/skills/ae-community/references/community-data-report.md +301 -0
  118. package/skills/ae-dataops/SKILL.md +2 -1
  119. package/skills/ae-engage/SKILL.md +2 -1
  120. package/skills/ae-generate-tracking-code/SKILL.md +4 -4
  121. package/skills/ae-generate-tracking-plan/SKILL.md +132 -11
  122. package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +98 -33
  123. package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +16 -14
  124. package/skills/ae-kb/SKILL.md +2 -1
  125. package/skills/ae-metadata/SKILL.md +2 -1
  126. package/skills/ae-team/SKILL.md +2 -1
  127. package/dist/chunk-NOO24N7W.js +0 -11
  128. package/dist/chunk-TNW2CI4W.js +0 -129
  129. package/dist/te-community-PEZ2VEF7.js +0 -687
  130. package/dist/te-community-TSKJ652U.js +0 -687
@@ -0,0 +1,27 @@
1
+ # tracking ingest-error list
2
+
3
+ Use when list tracking ingest errors for one data name.
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking ingest-error list [options]
11
+ ```
12
+
13
+ Capability id: `tracking.ingest_error.list`
14
+
15
+ Input sends `project_id`, `data_name`, `start_time`, and `end_time`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--data-name` | See command help | Yes |
25
+ | `--start-time` | See command help | No |
26
+ | `--end-time` | See command help | No |
27
+
@@ -0,0 +1,26 @@
1
+ # tracking ingest summary
2
+
3
+ Use when get tracking ingest summary.
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking ingest summary [options]
11
+ ```
12
+
13
+ Capability id: `tracking.ingest.summary`
14
+
15
+ Input sends `project_id`, `start_time`, and `end_time`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--start-time` | See command help | No |
25
+ | `--end-time` | See command help | No |
26
+
@@ -0,0 +1,27 @@
1
+ # tracking live-data export
2
+
3
+ Use when export recent tracking live data.
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking live-data export [options]
11
+ ```
12
+
13
+ Capability id: `tracking.live_data.export`
14
+
15
+ Input sends `project_id`, optional `data_type`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--data-type` | See command help | No |
25
+ | `--request-id` | See command help | No |
26
+ | `--async-timeout-seconds` | See command help | No |
27
+
@@ -0,0 +1,27 @@
1
+ # tracking live-data list
2
+
3
+ Use when list recent tracking live data.
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking live-data list [options]
11
+ ```
12
+
13
+ Capability id: `tracking.live_data.list`
14
+
15
+ Input sends `project_id`, optional `data_type`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--data-type` | See command help | No |
25
+ | `--request-id` | See command help | No |
26
+ | `--timeout-seconds` | See command help | No |
27
+
@@ -0,0 +1,27 @@
1
+ # tracking plan-change-log export
2
+
3
+ Use when export one tracking plan change log.
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan-change-log export [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan_change_log.export`
14
+
15
+ Input sends `project_id`, `log_id`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--log-id` | See command help | Yes |
25
+ | `--request-id` | See command help | No |
26
+ | `--async-timeout-seconds` | See command help | No |
27
+
@@ -0,0 +1,24 @@
1
+ # tracking plan-change-log list
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan-change-log list [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan_change_log.list`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -0,0 +1,30 @@
1
+ # tracking plan delete-items
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan delete-items --project-id <project_id> [--events '<json_array>'] [--event-prop-names '<json_array>'] [--user-prop-names '<json_array>'] [--common-event-prop-names '<json_array>'] --confirm true --dry-run
11
+ # Summarize the target and impact, then wait for explicit user confirmation.
12
+ ae-cli tracking plan delete-items --project-id <project_id> [--events '<json_array>'] [--event-prop-names '<json_array>'] [--user-prop-names '<json_array>'] [--common-event-prop-names '<json_array>'] --confirm true --yes
13
+ ```
14
+
15
+ Capability id: `tracking.plan.delete_items`
16
+
17
+ 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
+
19
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
20
+
21
+ Parameters:
22
+
23
+ | Parameter | Description | Required |
24
+ | --- | --- | --- |
25
+ | `--project-id` | Numeric project ID. | Yes |
26
+ | `--events` | Event names to delete. | No |
27
+ | `--event-prop-names` | Event property names to delete. | No |
28
+ | `--user-prop-names` | User property names to delete. | No |
29
+ | `--common-event-prop-names` | Common event property names to delete. | No |
30
+ | `--confirm` | Must be `true`; execution also follows the global high-risk confirmation gate. | Yes |
@@ -0,0 +1,26 @@
1
+ # tracking plan export
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan export [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.export`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--request-id` | See command help | No |
25
+ | `--async-timeout-seconds` | See command help | No |
26
+
@@ -0,0 +1,27 @@
1
+ # tracking plan generate
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan generate --project-id <project_id> --language <zh-CN|en-US|ja-JP|ko-KR> --form-data '<json_object>' [--development-carrier '<json_array>'] [--predefined-event '<json_array>']
11
+ ```
12
+
13
+ Capability id: `tracking.plan.generate`
14
+
15
+ 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
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | Numeric project ID. | Yes |
24
+ | `--language` | Generation language: `zh-CN`, `en-US`, `ja-JP`, or `ko-KR`. | Yes |
25
+ | `--form-data` | Structured business context, for example account system, revenue model, core gameplay, currency system, and main entries. | Yes |
26
+ | `--development-carrier` | Development platforms such as Android, iOS, or Unity. | No |
27
+ | `--predefined-event` | Predefined event names such as install, start, or close. | No |
@@ -0,0 +1,24 @@
1
+ # tracking plan get
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan get [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.get`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -0,0 +1,26 @@
1
+ # tracking plan import-excel
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan import-excel [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.import_excel`
14
+
15
+ Input sends `project_id`, `input_file_id`, and optional `lang`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--input-file-id` | See command help | Yes |
25
+ | `--lang` | See command help | No |
26
+
@@ -0,0 +1,27 @@
1
+ # tracking plan save-items
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan save-items --project-id <project_id> [--events '<json_array>'] [--event-props '<json_array>'] [--user-props '<json_array>'] [--common-event-props '<json_array>']
11
+ ```
12
+
13
+ Capability id: `tracking.plan.save_items`
14
+
15
+ 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
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | Numeric project ID. | Yes |
24
+ | `--events` | Event objects with fields such as `event_name`, `display_name`, `event_desc`, `event_tag`, `data_origin`, and `props`. | No |
25
+ | `--event-props` | Event property objects with fields such as `name`, `display_name`, `type`, and `desc`. | No |
26
+ | `--user-props` | User property objects with fields such as `name`, `display_name`, `type`, `update_type`, `prop_tag`, and `desc`. | No |
27
+ | `--common-event-props` | Common event property objects. | No |
@@ -0,0 +1,24 @@
1
+ # tracking plan sync-from-meta
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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan sync-from-meta [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.sync_from_meta`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -7,13 +7,13 @@ 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 analysis project role delete --role-name <role_name> --new-role-name <new_role_name>
11
- ae-cli analysis project role delete --dry-run --role-name <role_name>
10
+ ae-cli analysis project role delete --project-id <project_id> --role-name <role_name> --new-role-name <new_role_name>
11
+ ae-cli analysis project role delete --dry-run --project-id <project_id> --role-name <role_name>
12
12
  ```
13
13
 
14
14
  Capability id: `project.role.delete`.
15
15
 
16
- Input sends `role_name`, `new_role_name`, `yes`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
16
+ Input sends `project_id`, `role_name`, `new_role_name`, `yes`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
17
  For execution, dry-run first, summarize the impact, then rerun the unchanged command with global `--yes` only after explicit user confirmation. The CLI sends `yes=true` after its own high-risk gate.
18
18
 
19
19
  Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
@@ -21,5 +21,6 @@ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok
21
21
  ## Parameters
22
22
  | Parameter | Required | Description |
23
23
  |---|---|---|
24
+ | `--project-id` | Yes | Numeric project ID. |
24
25
  | `--role-name` | Yes | Role name to delete. |
25
26
  | `--new-role-name` | No | Role name to migrate users to before deletion. |
@@ -7,17 +7,18 @@ 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 analysis project role get --role-name <role_name>
11
- ae-cli analysis project role get --dry-run --role-name <role_name>
10
+ ae-cli analysis project role get --project-id <project_id> --role-name <role_name>
11
+ ae-cli analysis project role get --dry-run --project-id <project_id> --role-name <role_name>
12
12
  ```
13
13
 
14
14
  Capability id: `project.role.get`.
15
15
 
16
- Input sends `role_name`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
16
+ Input sends `project_id`, `role_name`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
17
 
18
18
  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
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
22
22
  |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
23
24
  | `--role-name` | Yes | Role name. |
@@ -7,17 +7,18 @@ 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 analysis project role-user list --role-name <role_name>
11
- ae-cli analysis project role-user list --dry-run --role-name <role_name>
10
+ ae-cli analysis project role-user list --project-id <project_id> --role-name <role_name>
11
+ ae-cli analysis project role-user list --dry-run --project-id <project_id> --role-name <role_name>
12
12
  ```
13
13
 
14
14
  Capability id: `project.role_user.list`.
15
15
 
16
- Input sends `role_name`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
16
+ Input sends `project_id`, `role_name`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
17
 
18
18
  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
19
 
20
20
  ## Parameters
21
21
  | Parameter | Required | Description |
22
22
  |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
23
24
  | `--role-name` | Yes | Role name. |
@@ -22,7 +22,8 @@ ae-cli analysis query create-result-cluster \
22
22
  - `--query-context-id`, `--source`, and all coordinate fragments must come from the same synchronous `adhoc run`, `report-data run`, or `dashboard-report-data run` response.
23
23
  - Match the desired visible row and column in `source.drilldown.row_options`/`column_options`, select the correct metric option, and shallow-merge only their `coordinate` fragments.
24
24
  - Never pass `target_id`, raw QP, display-only dates, option presentation fields, or data from an export/download. Exports do not create query contexts.
25
- - `--cluster-name` must be unique in the project and contain the backend-supported identifier characters.
25
+ - `--cluster-name` must be unique in the project, start with a lowercase letter, contain only lowercase letters, digits, and underscores, and be at most 24 characters. This legacy result-cluster path is stricter than ordinary cluster creation.
26
+ - `--display-name`, when provided, must be at most 80 characters.
26
27
 
27
28
  The saved cluster subject is `source.drilldown.subject` or the selected event metric's `subject`. `USER_LIST` creates a user result cluster. `ENTITY_LIST` creates a result cluster for that custom entity; do not relabel it as a user cluster.
28
29
 
@@ -18,7 +18,9 @@ ae-cli analysis report-data export --project-id <project_id> --report-ids '[1001
18
18
  ae-cli analysis report-data export --project-id <project_id> --report-ids '[2001]' --sql-params '[{"name":"platform","value":"ios"}]' --artifact-format jsonl
19
19
  ```
20
20
 
21
- Input sends `project_id`, `report_ids`, optional `request_id`, `filters`, `group_by`, `sql_params`, `start_time`, `end_time`, `time_granularity`, `use_cache`, artifact `format`, and `timeout_seconds`. Async export has no inline row limit. Runtime defaults to and is capped at 21600 seconds (6 hours); cancel earlier with `analysis query cancel --run-id <run_id>`. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
21
+ Input sends `project_id`, `report_ids`, optional `request_id`, `filters`, `group_by`, `sql_params`, `start_time`, `end_time`, `time_granularity`, `zone_offset`, `use_cache`, artifact `format`, and `timeout_seconds`. Async export has no inline row limit. Runtime defaults to and is capped at 21600 seconds (6 hours); cancel earlier with `analysis query cancel --run-id <run_id>`. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
22
+
23
+ Timezone contract is identical to `report-data run`: omit `--zone-offset` to match the current user's report UI timezone (falling back to the project default); use an enabled integer from `-12` through `14` for a fixed UTC offset; use `--zone-offset 99` for local-time mode, where rows are not converted to one fixed UTC offset. `99` is a mode identifier, not `UTC+99`, and the option is not persisted.
22
24
 
23
25
  Override model:
24
26
 
@@ -24,9 +24,19 @@ ae-cli analysis report-data run --project-id <project_id> --report-ids '[1001]'
24
24
 
25
25
  # SQL report, after analysis report get confirms definition.params contains platform
26
26
  ae-cli analysis report-data run --project-id <project_id> --report-ids '[2001]' --sql-params '[{"name":"platform","value":"ios"}]' --limit 20
27
+
28
+ # Explicit local-time mode (not UTC+99)
29
+ ae-cli analysis report-data run --project-id <project_id> --report-ids '[1001]' --zone-offset 99 --limit 20
27
30
  ```
28
31
 
29
- Input sends `project_id`, `report_ids`, optional `request_id`, `filters`, `group_by`, `sql_params`, `start_time`, `end_time`, `time_granularity`, `use_cache`, `limit`, and `timeout_seconds`. Control defaults: `--limit` default 100 / max 1000, `--timeout-seconds` default 120 / max 180. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
32
+ Input sends `project_id`, `report_ids`, optional `request_id`, `filters`, `group_by`, `sql_params`, `start_time`, `end_time`, `time_granularity`, `zone_offset`, `use_cache`, `limit`, and `timeout_seconds`. Control defaults: `--limit` default 100 / max 1000, `--timeout-seconds` default 120 / max 180. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
33
+
34
+ Timezone contract:
35
+
36
+ - Omit `--zone-offset` to match the report UI for the current user. The backend uses that user's selected timezone when it is available for the project, otherwise the project default.
37
+ - Pass an integer from `-12` through `14` for a fixed UTC offset that is enabled in the project.
38
+ - Pass `--zone-offset 99` for local-time mode: event timestamps retain their reported local time instead of being converted to one fixed UTC offset. `99` is a mode identifier, not `UTC+99`.
39
+ - The option changes only this execution. It does not update the saved report or the user's UI preference.
30
40
 
31
41
  Override model:
32
42
 
@@ -38,7 +48,7 @@ A homogeneous SQL request that includes `filters`, `group_by`, `start_time`, `en
38
48
 
39
49
  For a newly created or updated dynamic SQL report, omit `--sql-params` to execute the saved default first. After that succeeds, then make one second call with `--sql-params` to change only the requested value. This separates a broken saved default from a broken override and avoids repeating the same query.
40
50
 
41
- Output is the gateway envelope. `data` contains bounded inline report result items plus `query_context_id` and `sources[].drilldown` when the returned preview exposes follow-up actions. Each source is evaluated independently; SQL and other unsupported models have no actions.
51
+ Output is the gateway envelope. `data` contains bounded inline report result items plus `query_context_id` and `sources[]`. Each source includes `effective_zone_offset`, the timezone value actually used for that query. When `zone_offset` is omitted, this is the resolved current-user timezone when available, otherwise the project default; when `zone_offset` is explicit, this is its resolved effective value. `sources[].drilldown` is present when the returned preview exposes follow-up actions. Each source is evaluated independently; SQL and other unsupported models have no actions.
42
52
 
43
53
  An empty batch or report result with no rows is a successful query: it means the requested time range has no data. The command fails only when every returned report entry contains an explicit execution error. Mixed batches keep successful items and return `meta.partial`, counts, and per-report `meta.failures` for partial-result handling.
44
54
 
@@ -0,0 +1,24 @@
1
+ # tracking sdk-sample generate
2
+
3
+ Use when submit an AI SDK sample 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.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking sdk-sample generate --project-id <project_id> --sdk-types '<json_array>'
11
+ ```
12
+
13
+ Capability id: `tracking.sdk_sample.generate`
14
+
15
+ Input sends `project_id` and `sdk_types`. The backend resolves company ID, app ID, and receiver URL from the authorized project. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | Numeric project ID. | Yes |
24
+ | `--sdk-types` | SDK type array. Supported values include `android-java`, `ios-swift`, `web-js`, `server-java`, `server-python`, `server-nodejs`, `unity-csharp`, and the other values listed by command help/schema. | Yes |
@@ -8,6 +8,8 @@ The response reports this directly: `computation.triggered_automatically=true`,
8
8
 
9
9
  Flags: `--project-id`, `--cluster-name`, `--display-name`, `--definition-request` required. Optional: `--authenticated-only`, `--zone-offset`, `--entity-id`. The cluster type comes from `definition_request.type`.
10
10
 
11
+ `cluster_name` is a machine identifier: 1-80 characters, starts with a letter, and contains only letters, digits, or underscores. `display_name` is 1-80 characters. The CLI rejects violations before dispatch.
12
+
11
13
  Read `user_cluster_models.md` before constructing `--definition-request`. Create does not accept `--remark`; set it later with `user-cluster update` when needed.
12
14
 
13
15
  The backend validates and compiles the definition inside the create operation; if metadata is ambiguous or missing, creation fails without creating the cluster. Condition clusters are saved as mixed-condition clusters (`clusterType=CONDITION`, `clusterSubType=MIX_CONDITION`).
@@ -4,6 +4,8 @@ Create a cluster by mapping imported values to an analysis entity.
4
4
 
5
5
  Flags: `--project-id`, `--display-name`, and `--entity-id` are required. Prefer `--input-file <local_csv>`; the CLI uploads it automatically. `--input-file-id` resumes from an existing upload, while `--file-content` is only for small local tests. Exactly one of the three is allowed. Optional: `--cluster-name`, `--remarks`, and conditional `--association-property`.
6
6
 
7
+ When supplied, `cluster_name` follows the same 1-80 character machine-name rule as condition/SQL clusters. `display_name` is 1-80 characters and `remarks` is at most 400 characters.
8
+
7
9
  Use `--input-file` for real local files; use `--input-file-id` only when resuming from an existing upload. Do not inline large ID lists.
8
10
 
9
11
  Run `analysis entity id-import-options` first. For the primary user entity, pass an allowed `--association-property` and put its real values in the single CSV column; `#user_id` is forbidden. For a non-primary entity, omit the flag and put that entity's own IDs in the single column. Every row must be non-empty.
@@ -8,6 +8,8 @@ The response distinguishes both paths. A definition update returns `computation.
8
8
 
9
9
  Flags: `--project-id`, `--cluster-name` required. Optional: `--display-name`, `--definition-request`, `--authenticated-only`, `--remark`, `--zone-offset`. The cluster type comes from `definition_request.type` when the definition changes.
10
10
 
11
+ `display_name` is at most 80 characters and `remark` is at most 400 characters. The CLI rejects violations before dispatch. `cluster_name` is an existing exact identifier and cannot be renamed by update.
12
+
11
13
  Read `user_cluster_models.md` before changing the definition. The backend validates and compiles `definition_request` inside update and refuses to modify the cluster if clarification is required. Condition definitions are saved as mixed-condition clusters.
12
14
 
13
15
  ```bash
@@ -1,5 +1,7 @@
1
1
  # analysis user-cluster update-id
2
2
 
3
+ `display_name` is at most 80 characters and `remarks` is at most 400 characters. The CLI rejects violations before uploading or dispatching the replacement file.
4
+
3
5
  Update a cluster by remapping imported values to its analysis entity.
4
6
 
5
7
  Do not use it for a condition/SQL cluster. The existing entity binding cannot be changed by this command.
@@ -8,6 +8,8 @@ The response reports this directly: `computation.triggered_automatically=true`,
8
8
 
9
9
  Flags: `--project-id`, `--tag-name`, `--display-name`, `--definition-request` required. Optional: `--authenticated-only`, `--zone-offset`, `--entity-id`. The tag type comes from `definition_request.type`.
10
10
 
11
+ `tag_name` is a machine identifier: 1-80 characters, starts with a letter, and contains only letters, digits, or underscores. `display_name` is 1-80 characters. The CLI rejects violations before dispatch.
12
+
11
13
  Read `user_tag_models.md` before constructing `--definition-request`. Create does not accept `--remark`; set it later with `user-tag update` when needed.
12
14
 
13
15
  The backend validates and compiles the definition inside the create operation; if metadata is ambiguous or missing, creation fails without creating the tag.
@@ -4,6 +4,8 @@ Create a tag by mapping imported values to an analysis entity.
4
4
 
5
5
  Flags: `--project-id`, `--display-name`, and `--entity-id` are required. Prefer `--input-file <local_csv>`; the CLI uploads it automatically. `--input-file-id` resumes from an existing upload, while `--file-content` is only for small local tests. Exactly one of the three is allowed. Optional: `--tag-name`, `--remarks`, and conditional `--association-property`.
6
6
 
7
+ When supplied, `tag_name` follows the same 1-80 character machine-name rule as calculated tags. `display_name` is 1-80 characters and `remarks` is at most 400 characters.
8
+
7
9
  Use `--input-file` for real local files; use `--input-file-id` only when resuming from an existing upload. Do not inline large ID lists.
8
10
 
9
11
  Run `analysis entity id-import-options` first. For the primary user entity, column 1 is a real value of the selected `--association-property`; for a non-primary entity, it is that entity's own ID. Column 2 is `tag_value`. The headerless UTF-8 CSV must contain exactly two non-empty columns in every row.
@@ -8,6 +8,8 @@ The response distinguishes both paths. A definition update returns `computation.
8
8
 
9
9
  Flags: `--project-id`, `--tag-name` required. Optional: `--display-name`, `--definition-request`, `--authenticated-only`, `--remark`, `--zone-offset`. The tag type comes from `definition_request.type` when the definition changes.
10
10
 
11
+ `display_name` is at most 80 characters and `remark` is at most 400 characters. The CLI rejects violations before dispatch. `tag_name` is an existing exact identifier and cannot be renamed by update.
12
+
11
13
  Read `user_tag_models.md` before changing the definition. The backend validates and compiles `definition_request` inside update and refuses to modify the tag if clarification is required.
12
14
 
13
15
  ```bash
@@ -1,5 +1,7 @@
1
1
  # analysis user-tag update-id
2
2
 
3
+ `display_name` is at most 80 characters and `remarks` is at most 400 characters. The CLI rejects violations before uploading or dispatching the replacement file.
4
+
3
5
  Update a tag by remapping imported values to its analysis entity.
4
6
 
5
7
  Do not use it for condition/metric/first-last/SQL definition changes.
@@ -27,6 +27,8 @@ For commands added only by this overlay, read this skill's matching reference fi
27
27
 
28
28
  Every command accepts `--host <url>` to override the active AE host, and it may be placed after the subcommand (e.g. `ae-cli analysis +list_query_clusters --project_id <id> --host <url>`). Host selection is independent of `--cluster_query_scope`: `--host` chooses which AE instance to call, while `--cluster_query_scope` / `--slave_cluster_id` choose which cluster within global mode.
29
29
 
30
+ **CRITICAL — Host compat (do this first):** After each `ae-cli` run, check stderr and `_notice.host_compat`. If either is present, open the user reply with a short ⚠️ version warning and **quote the `npm i -g` / `npx skills add` (or update-cluster) lines verbatim**, then present the business result. Soft tip; `ok: true` can still carry the notice. (Also covered by `ae-analysis` Global Rules when both skills are loaded.)
31
+
30
32
  ## Routing Rules
31
33
 
32
34
  - In this overlay, **query cluster / service cluster / deployment cluster** means multi-cluster routing for analysis queries. **audience/user segment cluster** means user membership assets under `analysis user-cluster`.