@thinkingai/ae-cli 1.0.1 → 1.0.3

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 (170) hide show
  1. package/README.md +16 -13
  2. package/dist/auth-BQC5DBE7.js +19 -0
  3. package/dist/auth-DXKYLMO7.js +81 -0
  4. package/dist/chunk-3CDLNXTD.js +218 -0
  5. package/dist/chunk-53FNNCZW.js +174 -0
  6. package/dist/chunk-EBFUVWIZ.js +127 -0
  7. package/dist/chunk-ZYXIGPG7.js +148 -0
  8. package/dist/client-T4VODLA6.js +16 -0
  9. package/dist/community-FVDAWGS4.js +684 -0
  10. package/dist/config-V7AXKDMB.js +242 -0
  11. package/dist/index.js +16 -15
  12. package/dist/raw-G3GKHAPZ.js +61 -0
  13. package/dist/te-analysis-CHFTDN55.js +871 -0
  14. package/dist/te-audience-M6LQY6M7.js +350 -0
  15. package/dist/te-common-BLQ7DVGC.js +144 -0
  16. package/dist/te-dataops-V4OTKY35.js +1853 -0
  17. package/dist/te-engage-DXE4R5EW.js +1470 -0
  18. package/dist/te-meta-FMM7KCVI.js +479 -0
  19. package/package.json +7 -5
  20. package/skills/te-analysis/SKILL.md +10 -10
  21. package/skills/te-analysis/references/build-entity-details-sql.md +10 -10
  22. package/skills/te-analysis/references/build-event-details-sql.md +10 -10
  23. package/skills/te-analysis/references/create-alert.md +4 -4
  24. package/skills/te-analysis/references/create-dashboard.md +4 -4
  25. package/skills/te-analysis/references/create-or-update-dashboard-note.md +4 -4
  26. package/skills/te-analysis/references/create-public-access-link.md +4 -4
  27. package/skills/te-analysis/references/create-report.md +10 -10
  28. package/skills/te-analysis/references/create-result-cluster.md +4 -4
  29. package/skills/te-analysis/references/drilldown-user-events.md +6 -6
  30. package/skills/te-analysis/references/drilldown-users.md +4 -4
  31. package/skills/te-analysis/references/get-alert-definition-schema.md +3 -3
  32. package/skills/te-analysis/references/get-alert.md +3 -3
  33. package/skills/te-analysis/references/get-analysis-query-schema.md +4 -4
  34. package/skills/te-analysis/references/get-filter-schema.md +3 -3
  35. package/skills/te-analysis/references/get-groupby-schema.md +3 -3
  36. package/skills/te-analysis/references/get-report-definition.md +3 -3
  37. package/skills/te-analysis/references/get-table-columns.md +3 -3
  38. package/skills/te-analysis/references/list-alerts.md +4 -4
  39. package/skills/te-analysis/references/list-dashboards.md +4 -4
  40. package/skills/te-analysis/references/list-public-access-links.md +3 -3
  41. package/skills/te-analysis/references/list-reports.md +4 -4
  42. package/skills/te-analysis/references/load-filters.md +4 -4
  43. package/skills/te-analysis/references/query-adhoc.md +10 -10
  44. package/skills/te-analysis/references/query-dashboard-detail.md +3 -3
  45. package/skills/te-analysis/references/query-dashboard-report-data.md +9 -9
  46. package/skills/te-analysis/references/query-entity-details.md +10 -10
  47. package/skills/te-analysis/references/query-event-details.md +10 -10
  48. package/skills/te-analysis/references/query-report-data.md +11 -11
  49. package/skills/te-analysis/references/update-alert.md +4 -4
  50. package/skills/te-analysis/references/update-dashboard.md +4 -4
  51. package/skills/te-analysis/references/update-public-access-link.md +4 -4
  52. package/skills/te-audience/SKILL.md +5 -5
  53. package/skills/te-audience/references/create-cluster.md +10 -10
  54. package/skills/te-audience/references/create-tag.md +10 -10
  55. package/skills/te-audience/references/get-cluster-definition-schema.md +9 -9
  56. package/skills/te-audience/references/get-clusters-by-name.md +3 -3
  57. package/skills/te-audience/references/get-tag-definition-schema.md +3 -3
  58. package/skills/te-audience/references/get-tags-by-name.md +3 -3
  59. package/skills/te-audience/references/list-cluster-members.md +4 -4
  60. package/skills/te-audience/references/list-clusters.md +4 -4
  61. package/skills/te-audience/references/list-tag-members.md +4 -4
  62. package/skills/te-audience/references/list-tags.md +4 -4
  63. package/skills/te-audience/references/refresh-cluster.md +3 -3
  64. package/skills/te-audience/references/refresh-tag.md +3 -3
  65. package/skills/te-audience/references/update-cluster.md +9 -9
  66. package/skills/te-audience/references/update-tag.md +10 -10
  67. package/skills/te-common/SKILL.md +2 -2
  68. package/skills/te-common/references/get-resource-url.md +5 -5
  69. package/skills/te-common/references/list-projects.md +3 -3
  70. package/skills/te-community/SKILL.md +61 -69
  71. package/skills/te-community/references/community-activity-analysis.md +43 -43
  72. package/skills/te-community/references/community-analyzing-official-content.md +47 -47
  73. package/skills/te-community/references/community-analyzing-theme-comment.md +87 -87
  74. package/skills/te-community/references/community-character-analysis.md +44 -44
  75. package/skills/te-community/references/community-daily-report.md +56 -53
  76. package/skills/te-community/references/community-hottopic-insight.md +81 -87
  77. package/skills/te-community/references/community-weekly-report.md +54 -53
  78. package/skills/te-community/references/get_channel_info.md +9 -9
  79. package/skills/te-community/references/get_comment_tag_analysis.md +15 -15
  80. package/skills/te-community/references/get_comments_summary.md +15 -15
  81. package/skills/te-community/references/get_corpus_tags.md +9 -9
  82. package/skills/te-community/references/get_daily_summary.md +10 -10
  83. package/skills/te-community/references/get_hot_topics.md +12 -12
  84. package/skills/te-community/references/get_livestream_analysis.md +9 -9
  85. package/skills/te-community/references/get_livestream_detail.md +19 -19
  86. package/skills/te-community/references/get_livestream_list.md +13 -13
  87. package/skills/te-community/references/get_livestream_overview.md +11 -11
  88. package/skills/te-community/references/get_livestream_room_metrics.md +12 -12
  89. package/skills/te-community/references/get_livestream_rooms.md +12 -12
  90. package/skills/te-community/references/get_overview_metrics.md +12 -12
  91. package/skills/te-community/references/get_post_detail.md +21 -21
  92. package/skills/te-community/references/get_risk_content.md +23 -23
  93. package/skills/te-community/references/get_sentiment_overview.md +16 -16
  94. package/skills/te-community/references/get_tag_trends.md +13 -13
  95. package/skills/te-community/references/get_topic_detail.md +12 -12
  96. package/skills/te-community/references/search_posts.md +26 -26
  97. package/skills/te-dataops/SKILL.md +390 -392
  98. package/skills/te-dataops/references/dataops-flow-create.md +87 -87
  99. package/skills/te-dataops/references/dataops-flow-monitor.md +65 -65
  100. package/skills/te-dataops/references/dataops-integration.md +90 -85
  101. package/skills/te-dataops/references/dataops-query.md +58 -58
  102. package/skills/te-dataops/references/dataops-table.md +63 -63
  103. package/skills/te-engage/SKILL.md +103 -103
  104. package/skills/te-engage/references/add-approver.md +11 -11
  105. package/skills/te-engage/references/add-channel.md +34 -34
  106. package/skills/te-engage/references/approver-list.md +8 -8
  107. package/skills/te-engage/references/cancel-query-by-request-id.md +10 -10
  108. package/skills/te-engage/references/channel-detail.md +13 -13
  109. package/skills/te-engage/references/channel-list.md +15 -15
  110. package/skills/te-engage/references/config-channel-detail.md +10 -10
  111. package/skills/te-engage/references/config-channel-list.md +11 -11
  112. package/skills/te-engage/references/config-item-analysis-report.md +21 -21
  113. package/skills/te-engage/references/config-item-detail.md +10 -10
  114. package/skills/te-engage/references/config-item-list.md +8 -8
  115. package/skills/te-engage/references/config-item-strategy-comparison.md +14 -14
  116. package/skills/te-engage/references/config-item-trigger-report.md +26 -26
  117. package/skills/te-engage/references/copy-config-template.md +16 -16
  118. package/skills/te-engage/references/delete-channel.md +11 -11
  119. package/skills/te-engage/references/delete-config-channel.md +11 -11
  120. package/skills/te-engage/references/delete-config-item.md +12 -12
  121. package/skills/te-engage/references/delete-flow.md +11 -11
  122. package/skills/te-engage/references/flow-ab-split-node-report.md +29 -29
  123. package/skills/te-engage/references/flow-detail.md +19 -19
  124. package/skills/te-engage/references/flow-list.md +8 -8
  125. package/skills/te-engage/references/flow-node-config-schema.md +11 -11
  126. package/skills/te-engage/references/flow-node-detail-report.md +30 -30
  127. package/skills/te-engage/references/flow-node-overview-report.md +27 -27
  128. package/skills/te-engage/references/flow-process-report.md +32 -32
  129. package/skills/te-engage/references/manage-flow.md +44 -44
  130. package/skills/te-engage/references/manage-strategy.md +37 -37
  131. package/skills/te-engage/references/manage-task.md +20 -20
  132. package/skills/te-engage/references/modify-flow-base-info.md +14 -14
  133. package/skills/te-engage/references/save-flow.md +264 -263
  134. package/skills/te-engage/references/strategy-detail.md +16 -16
  135. package/skills/te-engage/references/strategy-list.md +10 -10
  136. package/skills/te-engage/references/task-data-detail.md +47 -47
  137. package/skills/te-engage/references/task-data-overview.md +23 -23
  138. package/skills/te-engage/references/task-detail.md +18 -18
  139. package/skills/te-engage/references/task-experiment-report.md +26 -26
  140. package/skills/te-engage/references/task-list.md +35 -35
  141. package/skills/te-engage/references/task-metric-detail.md +31 -31
  142. package/skills/te-engage/references/task-stats.md +31 -31
  143. package/skills/te-engage/references/update-channel-status.md +13 -13
  144. package/skills/te-engage/references/update-config-channel-status.md +14 -14
  145. package/skills/te-engage/references/validate-flow-node-config.md +15 -15
  146. package/skills/te-engage/references/whitelist-list.md +8 -8
  147. package/skills/te-meta/SKILL.md +5 -5
  148. package/skills/te-meta/references/batch-create-metadata.md +4 -4
  149. package/skills/te-meta/references/batch-edit-metadata.md +3 -3
  150. package/skills/te-meta/references/create-metric.md +12 -12
  151. package/skills/te-meta/references/create-project-mark-time.md +4 -4
  152. package/skills/te-meta/references/create-virtual-event.md +10 -10
  153. package/skills/te-meta/references/create-virtual-property.md +8 -8
  154. package/skills/te-meta/references/delete-project-mark-times.md +3 -3
  155. package/skills/te-meta/references/delete-track-items.md +3 -3
  156. package/skills/te-meta/references/get-metric.md +3 -3
  157. package/skills/te-meta/references/get-project-config.md +3 -3
  158. package/skills/te-meta/references/get-track-program.md +3 -3
  159. package/skills/te-meta/references/list-entities.md +4 -4
  160. package/skills/te-meta/references/list-events.md +4 -4
  161. package/skills/te-meta/references/list-metrics.md +4 -4
  162. package/skills/te-meta/references/list-project-mark-times.md +4 -4
  163. package/skills/te-meta/references/list-project-users.md +3 -3
  164. package/skills/te-meta/references/list-properties.md +4 -4
  165. package/skills/te-meta/references/save-track-items.md +3 -3
  166. package/skills/te-meta/references/update-metric.md +10 -10
  167. package/skills/te-meta/references/update-project-mark-time.md +4 -4
  168. package/skills/te-shared/SKILL.md +8 -8
  169. package/skills/te-community/references/community-release-analysis.md +0 -79
  170. package/skills/te-dataops/references/dataops-operations.md +0 -107
@@ -1,38 +1,38 @@
1
- # te-engage +task-stats
1
+ # te-engage +task_stats
2
2
 
3
- > **前置条件:** 阅读 [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Read [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
5
- 查询任务状态统计。
5
+ Query task status statistics.
6
6
 
7
- 映射命令: `te-cli te-engage +task-stats`
7
+ Mapped command: `ae-cli engage +task_stats`
8
8
 
9
9
  ## Flags
10
10
 
11
- | Flag | 类型 | 必填 | 说明 |
11
+ | Flag | Type | Required | Description |
12
12
  |------|------|------|------|
13
- | `--project-id` / `-p` | number | 是 | 项目 ID |
14
- | `--req` | json | 是 | 统计条件 JSON 对象 |
13
+ | `--project_id` / `-p` | number | Yes | Project ID |
14
+ | `--req` | json | Yes | statistics-condition JSON object |
15
15
 
16
- ## `--req` 对象字段
16
+ ## `--req` Object Fields
17
17
 
18
- `+task-stats` 的 `--req` 结构与 `+task-list` 基本一致,常见字段包括:
18
+ The `--req` structure of `+task_stats` is broadly the same as `+task_list`, and common fields include:
19
19
 
20
- | 字段 | 类型 | 必填 | 说明 |
20
+ | Field | Type | Required | Description |
21
21
  |------|------|------|------|
22
- | `mappingStatus` | number | 否 | 状态过滤 |
23
- | `triggerType` | number | 否 | 触发类型过滤 |
24
- | `channelType` | number | 否 | 渠道类型过滤 |
25
- | `groupId` | number | 否 | 分组 ID |
26
- | `creator` | string | 否 | 创建人 open_id |
27
- | `fuzzyField` | string | 否 | 任务 ID 或任务名模糊搜索 |
28
- | `belongActivity` | number | 否 | 是否关联活动过滤 |
29
- | `expStatusList` | array | 否 | 实验状态列表 |
30
- | `expReleaseStatusList` | array | 否 | 实验发布状态列表 |
31
- | `expTypeList` | array | 否 | 实验类型列表 |
22
+ | `mappingStatus` | number | No | status filter |
23
+ | `triggerType` | number | No | trigger type filter |
24
+ | `channelType` | number | No | channel type filter |
25
+ | `groupId` | number | No | group ID |
26
+ | `creator` | string | No | creator open_id |
27
+ | `fuzzyField` | string | No | fuzzy search by task ID or task name |
28
+ | `belongActivity` | number | No | activity association filter |
29
+ | `expStatusList` | array | No | experiment status list |
30
+ | `expReleaseStatusList` | array | No | experiment release status list |
31
+ | `expTypeList` | array | No | experiment type list |
32
32
 
33
- `projectId` 会由 CLI 自动补入 `--req`。
33
+ `projectId` is automatically injected into `--req` by the CLI.
34
34
 
35
- ## 枚举说明
35
+ ## Enum Notes
36
36
 
37
37
  ### `req.mappingStatus`
38
38
 
@@ -63,27 +63,27 @@
63
63
 
64
64
  ### `req.belongActivity`
65
65
 
66
- - `0`: 全部
67
- - `1`: 已关联活动
68
- - `2`: 未关联活动
66
+ - `0`: all
67
+ - `1`: activity linked
68
+ - `2`: activity not linked
69
69
 
70
70
  ### `req.expStatusList[]`
71
71
 
72
- - `0`: 未创建实验
73
- - `1`: 已创建实验
72
+ - `0`: experiment not created
73
+ - `1`: experiment created
74
74
 
75
75
  ### `req.expReleaseStatusList[]`
76
76
 
77
- - `0`: 未发布实验
78
- - `1`: 已发布实验
77
+ - `0`: experiment not released
78
+ - `1`: experiment released
79
79
 
80
80
  ### `req.expTypeList[]`
81
81
 
82
82
  - `0`: normal
83
83
  - `1`: orthogonal
84
84
 
85
- ## 示例
85
+ ## Examples
86
86
 
87
87
  ```bash
88
- te-cli te-engage +task-stats --project-id 1 --req '{"pageNum":1,"pageSize":20}'
88
+ ae-cli engage +task_stats --project_id 1 --req '{"pageNum":1,"pageSize":20}'
89
89
  ```
@@ -1,32 +1,32 @@
1
- # te-engage +update-channel-status
1
+ # te-engage +update_channel_status
2
2
 
3
- > **前置条件:** 阅读 [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Read [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
5
- 更新 Engage 渠道状态。
5
+ Update the status of an Engage channel.
6
6
 
7
- 映射命令: `te-cli te-engage +update-channel-status`
7
+ Mapped command: `ae-cli engage +update_channel_status`
8
8
 
9
9
  ## Flags
10
10
 
11
- | Flag | 类型 | 必填 | 说明 |
11
+ | Flag | Type | Required | Description |
12
12
  |------|------|------|------|
13
- | `--project-id` / `-p` | number | 是 | 项目 ID |
14
- | `--channel-id` | string | 是 | 渠道 ID |
15
- | `--status` | number | 是 | 渠道状态 |
13
+ | `--project_id` / `-p` | number | Yes | Project ID |
14
+ | `--channel_id` | string | Yes | channel ID |
15
+ | `--status` | number | Yes | channel status |
16
16
 
17
- ## 枚举说明
17
+ ## Enum Notes
18
18
 
19
19
  ### `--status`
20
20
 
21
21
  - `0`: disabled
22
22
  - `1`: enabled
23
23
 
24
- ## 安全约束
24
+ ## Safety Constraints
25
25
 
26
- 此命令为 **写操作**,执行前应确认用户明确希望变更渠道状态。
26
+ This command is a **write operation** and Before executing, confirm that the user explicitly wants to change the channel status.
27
27
 
28
- ## 示例
28
+ ## Examples
29
29
 
30
30
  ```bash
31
- te-cli te-engage +update-channel-status --project-id 1 --channel-id <channel-id> --status 1
31
+ ae-cli engage +update_channel_status --project_id 1 --channel_id <channel_id> --status 1
32
32
  ```
@@ -1,32 +1,32 @@
1
- # te-engage +update-config-channel-status
1
+ # te-engage +update_config_channel_status
2
2
 
3
- > **前置条件:** 阅读 [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Read [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
5
- 更新配置通道状态。
5
+ Update the status of a config channel.
6
6
 
7
- 映射命令: `te-cli te-engage +update-config-channel-status`
7
+ Mapped command: `ae-cli engage +update_config_channel_status`
8
8
 
9
9
  ## Flags
10
10
 
11
- | Flag | 类型 | 必填 | 说明 |
11
+ | Flag | Type | Required | Description |
12
12
  |------|------|------|------|
13
- | `--project-id` / `-p` | number | 是 | 项目 ID |
14
- | `--channel-id` | string | 是 | 配置通道 ID |
15
- | `--channel-status` | number | 是 | 配置通道状态 |
13
+ | `--project_id` / `-p` | number | Yes | Project ID |
14
+ | `--channel_id` | string | Yes | config channel ID |
15
+ | `--channel_status` | number | Yes | config channel status |
16
16
 
17
- ## 枚举说明
17
+ ## Enum Notes
18
18
 
19
- ### `--channel-status`
19
+ ### `--channel_status`
20
20
 
21
21
  - `1`: enabled
22
22
  - `2`: disabled
23
23
 
24
- ## 安全约束
24
+ ## Safety Constraints
25
25
 
26
- 此命令为 **写操作**,会修改配置通道状态。
26
+ This command is a **write operation** and and modifies the config channel status.
27
27
 
28
- ## 示例
28
+ ## Examples
29
29
 
30
30
  ```bash
31
- te-cli te-engage +update-config-channel-status --project-id 1 --channel-id <channel-id> --channel-status 1
31
+ ae-cli engage +update_config_channel_status --project_id 1 --channel_id <channel_id> --channel_status 1
32
32
  ```
@@ -1,24 +1,24 @@
1
- # te-engage +validate-flow-node-config
1
+ # te-engage +validate_flow_node_config
2
2
 
3
- > **前置条件:** 阅读 [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Read [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
5
- 在保存流程前校验单个节点配置。
5
+ Validate a single node configuration before saving a flow.
6
6
 
7
- 映射命令: `te-cli te-engage +validate-flow-node-config`
7
+ Mapped command: `ae-cli engage +validate_flow_node_config`
8
8
 
9
9
  ## Flags
10
10
 
11
- | Flag | 类型 | 必填 | 说明 |
11
+ | Flag | Type | Required | Description |
12
12
  |------|------|------|------|
13
- | `--node-type` | string | 是 | 节点类型 |
14
- | `--config` | string | 是 | 节点配置 JSON 字符串 |
15
- | `--operation-mode` | string | 是 | 校验模式 |
13
+ | `--node_type` | string | Yes | node type |
14
+ | `--config` | string | Yes | node config JSON string |
15
+ | `--operation_mode` | string | Yes | validation mode |
16
16
 
17
- ## 枚举说明
17
+ ## Enum Notes
18
18
 
19
- ### `--node-type`
19
+ ### `--node_type`
20
20
 
21
- 常见节点类型包括:
21
+ Common node types include:
22
22
 
23
23
  - `single_trigger`
24
24
  - `repeat_trigger`
@@ -39,14 +39,14 @@
39
39
  - `race_split_flow`
40
40
  - `exit_flow`
41
41
 
42
- ### `--operation-mode`
42
+ ### `--operation_mode`
43
43
 
44
44
  - `save_flow`
45
45
  - `save_submit_flow`
46
46
 
47
- ## 示例
47
+ ## Examples
48
48
 
49
49
  ```bash
50
- te-cli te-engage +validate-flow-node-config \
51
- --node-type message_push --operation-mode save_flow --config '{}'
50
+ ae-cli engage +validate_flow_node_config \
51
+ --node_type message_push --operation_mode save_flow --config '{}'
52
52
  ```
@@ -1,19 +1,19 @@
1
- # te-engage +whitelist-list
1
+ # te-engage +whitelist_list
2
2
 
3
- > **前置条件:** 阅读 [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Read [`../../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
5
- 查询项目下的白名单列表。
5
+ Query the whitelist list in a project.
6
6
 
7
- 映射命令: `te-cli te-engage +whitelist-list`
7
+ Mapped command: `ae-cli engage +whitelist_list`
8
8
 
9
9
  ## Flags
10
10
 
11
- | Flag | 类型 | 必填 | 说明 |
11
+ | Flag | Type | Required | Description |
12
12
  |------|------|------|------|
13
- | `--project-id` / `-p` | number | 是 | 项目 ID |
13
+ | `--project_id` / `-p` | number | Yes | Project ID |
14
14
 
15
- ## 示例
15
+ ## Examples
16
16
 
17
17
  ```bash
18
- te-cli te-engage +whitelist-list --project-id 1
18
+ ae-cli engage +whitelist_list --project_id 1
19
19
  ```
@@ -5,7 +5,7 @@ description: "TE metadata and tracking-plan governance: event/property managemen
5
5
  metadata:
6
6
  requires:
7
7
  bins: ["ae-cli"]
8
- cliHelp: "ae-cli te_meta --help"
8
+ cliHelp: "ae-cli analysis_meta --help"
9
9
  ---
10
10
 
11
11
  # te-meta
@@ -27,7 +27,7 @@ When the user needs "metadata governance and project configuration" capabilities
27
27
 
28
28
  ## Command Format
29
29
 
30
- `ae-cli te_meta +<tool_name> [options]`
30
+ `ae-cli analysis_meta +<tool_name> [options]`
31
31
 
32
32
  ## Tool Groups (20)
33
33
 
@@ -60,10 +60,10 @@ When the user needs "metadata governance and project configuration" capabilities
60
60
  ## Quick Verification
61
61
 
62
62
  ```bash
63
- ae-cli te_meta --help
64
- npm run verify:te-meta-tools
63
+ ae-cli analysis_meta --help
64
+ npm run verify:analysis-meta-tools
65
65
  # Example: use dry-run to preview the request (replace project_id with your actual project ID)
66
- ae-cli te_meta +list_events --project_id <YOUR_PROJECT_ID> --dry-run
66
+ ae-cli analysis_meta +list_events --project_id <YOUR_PROJECT_ID> --dry-run
67
67
  ```
68
68
 
69
69
  ## Reference Docs
@@ -1,4 +1,4 @@
1
- # te_meta +batch_create_metadata (Batch Create Metadata)
1
+ # analysis_meta +batch_create_metadata (Batch Create Metadata)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -9,9 +9,9 @@ Domain: **Metadata Query**
9
9
 
10
10
  ## Commands
11
11
  ```bash
12
- te-cli te_meta +batch_create_metadata --project_id 1
13
- te-cli te_meta +batch_create_metadata --project_id 1 --events '[{"eventName":"purchase"}]' --event_properties '[{"propName":"price","selectType":"number"}]' --user_properties '[{"propName":"vip_level","selectType":"string"}]'
14
- te-cli te_meta +batch_create_metadata --dry-run
12
+ ae-cli analysis_meta +batch_create_metadata --project_id 1
13
+ ae-cli analysis_meta +batch_create_metadata --project_id 1 --events '[{"eventName":"purchase"}]' --event_properties '[{"propName":"price","selectType":"number"}]' --user_properties '[{"propName":"vip_level","selectType":"string"}]'
14
+ ae-cli analysis_meta +batch_create_metadata --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +batch_edit_metadata (Batch Edit Metadata)
1
+ # analysis_meta +batch_edit_metadata (Batch Edit Metadata)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,8 +10,8 @@ Domain: **Metadata Query**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_meta +batch_edit_metadata --project_id 1 --type event --items '[{"eventName":"purchase","eventDesc":"Purchase"}]'
14
- te-cli te_meta +batch_edit_metadata --dry-run
13
+ ae-cli analysis_meta +batch_edit_metadata --project_id 1 --type event --items '[{"eventName":"purchase","eventDesc":"Purchase"}]'
14
+ ae-cli analysis_meta +batch_edit_metadata --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +create_metric (Create Metric)
1
+ # analysis_meta +create_metric (Create Metric)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -6,7 +6,7 @@ Domain: **Metadata Query**
6
6
 
7
7
  ## Use Cases
8
8
  - Preliminary step: call `+get_analysis_query_schema` to get the structure, then call this tool.
9
- - When constructing real `events` / `params`, you must supplement project-native metadata; first call `te_meta +list_events` and `te_meta +list_properties`.
9
+ - When constructing real `events` / `params`, you must supplement project-native metadata; first call `analysis_meta +list_events` and `analysis_meta +list_properties`.
10
10
  - Create a metric from analysis configuration.
11
11
  - Creates a new metric based on event or retention analysis.
12
12
 
@@ -19,17 +19,17 @@ Domain: **Metadata Query**
19
19
 
20
20
  ## Prerequisite Call Chain (Required for Constructing events/params)
21
21
  1. Determine `--model_type` first (`event` / `retention`).
22
- 2. Read `get-analysis-query-schema.md`, then call `te-cli te_analysis +get_analysis_query_schema --model_type <event|retention>` to get the structure.
23
- 3. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1` to get available events.
24
- 4. Read `list-properties.md`, then call `te-cli te_meta +list_properties --project_id 1` to get available properties.
22
+ 2. Read `get-analysis-query-schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <event|retention>` to get the structure.
23
+ 3. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get available events.
24
+ 4. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get available properties.
25
25
  5. Build `events` / `params` from the schema + metadata, then call `+create_metric`.
26
- 6. If an accessible URL must be returned, apply resource-link completion according to the unified `te-common` constraints (call `te_common +get_resource_url`).
26
+ 6. If an accessible URL must be returned, apply resource-link completion according to the unified `te-common` constraints (call `analysis_common +get_resource_url`).
27
27
 
28
28
  ## Commands
29
29
  ```bash
30
- te-cli te_meta +create_metric --project_id 1 --name demo --display_name demo --model_type event --events '[]' --params '{}'
31
- te-cli te_meta +create_metric --project_id 1 --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
32
- te-cli te_meta +create_metric --dry-run
30
+ ae-cli analysis_meta +create_metric --project_id 1 --name demo --display_name demo --model_type event --events '[]' --params '{}'
31
+ ae-cli analysis_meta +create_metric --project_id 1 --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
32
+ ae-cli analysis_meta +create_metric --dry-run
33
33
  ```
34
34
 
35
35
  ## Parameters
@@ -40,8 +40,8 @@ te-cli te_meta +create_metric --dry-run
40
40
  | `--display_name` | Yes | Metric display name |
41
41
  | `--remark` | No | Optional metric remark |
42
42
  | `--model_type` | Yes | Metric model type. Supported values: event and retention |
43
- | `--events` | Yes | Metric events JSON. MUST call `+get_analysis_query_schema` first, then fill event/property fields using metadata from `te_meta +list_events` / `te_meta +list_properties` in the same `project_id`. |
44
- | `--params` | Yes | Metric params JSON. MUST follow the schema from `+get_analysis_query_schema`; use project metadata from `te_meta +list_events` / `te_meta +list_properties` when filling referenced fields. |
43
+ | `--events` | Yes | Metric events JSON. MUST call `+get_analysis_query_schema` first, then fill event/property fields using metadata from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
44
+ | `--params` | Yes | Metric params JSON. MUST follow the schema from `+get_analysis_query_schema`; use project metadata from `analysis_meta +list_events` / `analysis_meta +list_properties` when filling referenced fields. |
45
45
 
46
46
  ## Decision Rules
47
47
  - `events` / `params` must not be handwritten by intuition alone: they must satisfy both the schema structure and the project's real metadata constraints.
@@ -58,5 +58,5 @@ te-cli te_meta +create_metric --dry-run
58
58
  - If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
59
59
 
60
60
  ## Recommended Chaining
61
- - +get_analysis_query_schema -> te_meta +list_events -> te_meta +list_properties -> +create_metric
61
+ - +get_analysis_query_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_metric
62
62
  - +list_metrics -> +create_metric -> +get_metric
@@ -1,4 +1,4 @@
1
- # te_meta +create_project_mark_time (Create Project Date Marker)
1
+ # analysis_meta +create_project_mark_time (Create Project Date Marker)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,9 +10,9 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --content demo
14
- te-cli te_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
15
- te-cli te_meta +create_project_mark_time --dry-run
13
+ ae-cli analysis_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --content demo
14
+ ae-cli analysis_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
15
+ ae-cli analysis_meta +create_project_mark_time --dry-run
16
16
  ```
17
17
 
18
18
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +create_virtual_event (Create Virtual Event)
1
+ # analysis_meta +create_virtual_event (Create Virtual Event)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -22,17 +22,17 @@ Domain: **Metadata Query**
22
22
  - Do not generate the final `events` / `filter` until the document review and prerequisite command calls above are complete.
23
23
 
24
24
  ## Prerequisite Call Chain (Required for Constructing events/filter)
25
- 1. Read `get-filter-schema.md`, then call `te-cli te_analysis +get_filter_schema` to get the filter structure.
26
- 2. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1` to get available events.
27
- 3. Read `list-properties.md`, then call `te-cli te_meta +list_properties --project_id 1` to get properties available for filtering.
25
+ 1. Read `get-filter-schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
26
+ 2. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get available events.
27
+ 3. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get properties available for filtering.
28
28
  4. Build `events` / `filter` from the schema + metadata, then call `+create_virtual_event`.
29
29
  5. Example events JSON: `[{"eventName":"purchase"},{"eventName":"add_to_cart"}]`
30
30
 
31
31
  ## Commands
32
32
  ```bash
33
- te-cli te_meta +create_virtual_event --project_id 1 --event_name ta@demo --event_desc demo --events '[{"eventName":"purchase"}]'
34
- te-cli te_meta +create_virtual_event --project_id 1 --event_name ta@demo2 --event_desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
35
- te-cli te_meta +create_virtual_event --dry-run
33
+ ae-cli analysis_meta +create_virtual_event --project_id 1 --event_name ta@demo --event_desc demo --events '[{"eventName":"purchase"}]'
34
+ ae-cli analysis_meta +create_virtual_event --project_id 1 --event_name ta@demo2 --event_desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
35
+ ae-cli analysis_meta +create_virtual_event --dry-run
36
36
  ```
37
37
 
38
38
  ## Parameters
@@ -42,8 +42,8 @@ te-cli te_meta +create_virtual_event --dry-run
42
42
  | `--event_name` | Yes | Unique name for the virtual event (must start with 'ta@') |
43
43
  | `--event_desc` | Yes | Display name/description |
44
44
  | `--remark` | No | Optional remarks |
45
- | `--events` | Yes | JSON array of events to combine. MUST follow `+get_filter_schema`, and event/property fields must come from `te_meta +list_events` / `te_meta +list_properties` in the same `project_id`. |
46
- | `--filter` | No | Optional global filter JSON for all events. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `te_meta +list_properties`. |
45
+ | `--events` | Yes | JSON array of events to combine. MUST follow `+get_filter_schema`, and event/property fields must come from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
46
+ | `--filter` | No | Optional global filter JSON for all events. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `analysis_meta +list_properties`. |
47
47
  | `--override` | No | Whether to override if event already exists. Default: false |
48
48
 
49
49
  ## Decision Rules
@@ -60,5 +60,5 @@ te-cli te_meta +create_virtual_event --dry-run
60
60
  - If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
61
61
 
62
62
  ## Recommended Chaining
63
- - +get_filter_schema -> te_meta +list_events -> te_meta +list_properties -> +create_virtual_event
63
+ - +get_filter_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_virtual_event
64
64
  - +list_events -> +create_virtual_event
@@ -1,4 +1,4 @@
1
- # te_meta +create_virtual_property (Create Virtual Property)
1
+ # analysis_meta +create_virtual_property (Create Virtual Property)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -23,18 +23,18 @@ Domain: **Metadata Query**
23
23
  - Do not submit the final SQL and event-association configuration until the above docs have been read and the prerequisite commands have been run.
24
24
 
25
25
  ## Prerequisite Call Chain (required for building SQL and relations)
26
- 1. Read `list-properties.md`, then run `te-cli te_meta +list_properties --project_id 1` to get the available properties.
26
+ 1. Read `list-properties.md`, then run `ae-cli analysis_meta +list_properties --project_id 1` to get the available properties.
27
27
  2. Use `--table_type` to determine the SQL field source (event or user scope).
28
28
  3. Write `--sql_expression` using only fields confirmed in the previous step; the expression must conform to Trino syntax.
29
- 4. If `--sql_event_relation_type=relation_by_setting`, read `list-events.md`, then run `te-cli te_meta +list_events --project_id 1` to get the available events and build `--related_events`.
29
+ 4. If `--sql_event_relation_type=relation_by_setting`, read `list-events.md`, then run `ae-cli analysis_meta +list_events --project_id 1` to get the available events and build `--related_events`.
30
30
  5. Call `+create_virtual_property` to create the virtual property.
31
31
  6. Example `sql_expression`: `property_a + property_b` or `CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END`.
32
32
 
33
33
  ## Command
34
34
  ```bash
35
- te-cli te_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --table_type event --select_type string --sql_expression 'event_name' --sql_event_relation_type relation_default
36
- te-cli te_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --property_desc demo --table_type event --select_type string --sql_expression "CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END" --sql_event_relation_type relation_by_setting --related_events '[{"eventName":"purchase"}]' --property_remark demo
37
- te-cli te_meta +create_virtual_property --dry-run
35
+ ae-cli analysis_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --table_type event --select_type string --sql_expression 'event_name' --sql_event_relation_type relation_default
36
+ ae-cli analysis_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --property_desc demo --table_type event --select_type string --sql_expression "CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END" --sql_event_relation_type relation_by_setting --related_events '[{"eventName":"purchase"}]' --property_remark demo
37
+ ae-cli analysis_meta +create_virtual_property --dry-run
38
38
  ```
39
39
 
40
40
  ## Parameters
@@ -45,9 +45,9 @@ te-cli te_meta +create_virtual_property --dry-run
45
45
  | `--property_desc` | No | Display name/description |
46
46
  | `--table_type` | Yes | Table type. event: create virtual event property(virtual property generated based on event or user properties), user: create virtual user property(virtual property generated based on user properties) |
47
47
  | `--select_type` | Yes | Data type: string, number, bool, datetime |
48
- | `--sql_expression` | Yes | SQL expression for computing the property. MUST be built from fields confirmed by `te_meta +list_properties` in the same `project_id`, and MUST conform to Trino syntax (for example, columns starting with '#' or containing '@' should be double-quoted). |
48
+ | `--sql_expression` | Yes | SQL expression for computing the property. MUST be built from fields confirmed by `analysis_meta +list_properties` in the same `project_id`, and MUST conform to Trino syntax (for example, columns starting with '#' or containing '@' should be double-quoted). |
49
49
  | `--sql_event_relation_type` | Yes | Type of associating attributes with events, relation_default: auto; relation_always: all events; relation_by_setting: specified events |
50
- | `--related_events` | No | Optional JSON array of related events. When `sql_event_relation_type=relation_by_setting`, this field is required and event names MUST come from `te_meta +list_events` in the same `project_id`. |
50
+ | `--related_events` | No | Optional JSON array of related events. When `sql_event_relation_type=relation_by_setting`, this field is required and event names MUST come from `analysis_meta +list_events` in the same `project_id`. |
51
51
  | `--property_remark` | No | Optional property remark |
52
52
 
53
53
  ## Decision Rules
@@ -1,4 +1,4 @@
1
- # te_meta +delete_project_mark_times (Delete Project Mark Times)
1
+ # analysis_meta +delete_project_mark_times (Delete Project Mark Times)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -9,8 +9,8 @@ Domain: **Project Configuration**
9
9
 
10
10
  ## Commands
11
11
  ```bash
12
- te-cli te_meta +delete_project_mark_times --project_id 1 --mark_time_ids '[]'
13
- te-cli te_meta +delete_project_mark_times --dry-run
12
+ ae-cli analysis_meta +delete_project_mark_times --project_id 1 --mark_time_ids '[]'
13
+ ae-cli analysis_meta +delete_project_mark_times --dry-run
14
14
  ```
15
15
 
16
16
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +delete_track_items (Delete Track Program Items)
1
+ # analysis_meta +delete_track_items (Delete Track Program Items)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,8 +10,8 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_meta +delete_track_items --project_id 1 --delete_data '{}'
14
- te-cli te_meta +delete_track_items --dry-run
13
+ ae-cli analysis_meta +delete_track_items --project_id 1 --delete_data '{}'
14
+ ae-cli analysis_meta +delete_track_items --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +get_metric (View Metric Details)
1
+ # analysis_meta +get_metric (View Metric Details)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,8 +10,8 @@ Domain: **Metadata Query**
10
10
 
11
11
  ## Commands
12
12
  ```bash
13
- te-cli te_meta +get_metric --project_id 1 --metric_id 1
14
- te-cli te_meta +get_metric --dry-run
13
+ ae-cli analysis_meta +get_metric --project_id 1 --metric_id 1
14
+ ae-cli analysis_meta +get_metric --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +get_project_config (Read Project Analysis Configuration)
1
+ # analysis_meta +get_project_config (Read Project Analysis Configuration)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,8 +10,8 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_meta +get_project_config --project_id 1
14
- te-cli te_meta +get_project_config --dry-run
13
+ ae-cli analysis_meta +get_project_config --project_id 1
14
+ ae-cli analysis_meta +get_project_config --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +get_track_program (Read Tracking Plan Baseline)
1
+ # analysis_meta +get_track_program (Read Tracking Plan Baseline)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,8 +10,8 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Commands
12
12
  ```bash
13
- te-cli te_meta +get_track_program --project_id 1
14
- te-cli te_meta +get_track_program --dry-run
13
+ ae-cli analysis_meta +get_track_program --project_id 1
14
+ ae-cli analysis_meta +get_track_program --dry-run
15
15
  ```
16
16
 
17
17
  ## Parameters
@@ -1,4 +1,4 @@
1
- # te_meta +list_entities (Entity Search)
1
+ # analysis_meta +list_entities (Entity Search)
2
2
 
3
3
  > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
4
 
@@ -10,9 +10,9 @@ Domain: **Entity Query**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- ae-cli te_meta +list_entities --project_id 1
14
- ae-cli te_meta +list_entities --project_id 1 --event_name demo
15
- ae-cli te_meta +list_entities --dry-run
13
+ ae-cli analysis_meta +list_entities --project_id 1
14
+ ae-cli analysis_meta +list_entities --project_id 1 --event_name demo
15
+ ae-cli analysis_meta +list_entities --dry-run
16
16
  ```
17
17
 
18
18
  ## Parameters