@thinkingai/ae-cli 6.0.34 → 6.0.36

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 (140) hide show
  1. package/dist/{auth-UPGUOKTW.js → auth-B2BRSYMS.js} +1 -1
  2. package/dist/{capability-TQ5KU5Q6.js → capability-6KPXYNO7.js} +1 -1
  3. package/dist/{capability-AJC5CBRT.js → capability-ROKYESAP.js} +1 -1
  4. package/dist/{chunk-6CHYBI64.js → chunk-EBPXT3TN.js} +1 -1
  5. package/dist/{chunk-4Q5TNP4Q.js → chunk-J7MZHDHQ.js} +48 -24
  6. package/dist/{chunk-IMMGMU54.js → chunk-JTKMDN4A.js} +64 -166
  7. package/dist/{chunk-ISY6HMHM.js → chunk-RRFK2W7I.js} +1 -1
  8. package/dist/{config-RCCGHHYA.js → config-DDYJPJX3.js} +4 -4
  9. package/dist/index.js +62 -27
  10. package/dist/{metadata-3M5F2AED.js → metadata-2ZFRMVOL.js} +2 -55
  11. package/dist/{metadata-W2MEOI4Z.js → metadata-ABQCKU5P.js} +2 -55
  12. package/dist/{model-OYQLXCQY.js → model-JASQVOFD.js} +1 -1
  13. package/dist/{raw-TPB7KSZO.js → raw-6HXFFHLV.js} +1 -1
  14. package/dist/{sync-EFJKFZK2.js → sync-BF3IWYFC.js} +2 -2
  15. package/dist/{te-agent-K2OWMZXT.js → te-agent-3GJ5H2XF.js} +195 -2
  16. package/dist/{te-analysis-I73ZS4NK.js → te-analysis-DJ6KELTU.js} +636 -668
  17. package/dist/{te-analysis-Q7AZCDU4.js → te-analysis-PCGESPLW.js} +636 -668
  18. package/dist/{te-dataops-OA7I6HBG.js → te-dataops-LXL5YULV.js} +7 -7
  19. package/dist/{te-dataops-MJV54MNY.js → te-dataops-ROHUJOX5.js} +7 -7
  20. package/dist/{te-engage-2FSDUOIZ.js → te-engage-2YDCA552.js} +87 -4
  21. package/dist/{te-engage-BMJ6UOUU.js → te-engage-VW6NJZ5V.js} +87 -4
  22. package/dist/te-meta-GBDTMPEL.js +95 -0
  23. package/dist/te-meta-ZTLTSHXC.js +95 -0
  24. package/dist/te-system-AH7DMCAQ.js +1706 -0
  25. package/dist/{te-team-PDKKW7Q5.js → te-team-RRZI4WRI.js} +1 -1
  26. package/dist/update-ER7VFU55.js +101 -0
  27. package/package.json +9 -4
  28. package/skills/ae-agent/SKILL.md +5 -1
  29. package/skills/ae-agent/references/create-automation.md +1 -0
  30. package/skills/ae-agent/references/list-sandbox-tools.md +79 -0
  31. package/skills/ae-analysis/SKILL.md +8 -9
  32. package/skills/ae-analysis/references/adhoc_export.md +8 -0
  33. package/skills/ae-analysis/references/adhoc_run.md +9 -0
  34. package/skills/ae-analysis/references/ai_models.md +3 -1
  35. package/skills/ae-analysis/references/alert_create.md +2 -3
  36. package/skills/ae-analysis/references/alert_update.md +2 -3
  37. package/skills/ae-analysis/references/analysis_data_retrieval.md +2 -0
  38. package/skills/ae-analysis/references/analysis_drilldown_contract.md +2 -0
  39. package/skills/ae-analysis/references/analysis_gateway_assets.md +15 -11
  40. package/skills/ae-analysis/references/bi_panel_create.md +12 -4
  41. package/skills/ae-analysis/references/bi_panel_update.md +11 -8
  42. package/skills/ae-analysis/references/bi_panel_version_publish.md +3 -1
  43. package/skills/ae-analysis/references/command_index.md +28 -47
  44. package/skills/ae-analysis/references/dashboard_daily_report_get.md +18 -0
  45. package/skills/ae-analysis/references/dashboard_daily_report_send.md +12 -9
  46. package/skills/ae-analysis/references/dashboard_daily_report_send_status.md +22 -0
  47. package/skills/ae-analysis/references/dashboard_daily_report_update.md +13 -6
  48. package/skills/ae-analysis/references/dashboard_report_data_export.md +4 -2
  49. package/skills/ae-analysis/references/dashboard_report_data_run.md +5 -3
  50. package/skills/ae-analysis/references/drilldown_entities_export.md +3 -0
  51. package/skills/ae-analysis/references/drilldown_entities_run.md +2 -1
  52. package/skills/ae-analysis/references/drilldown_events_export.md +3 -0
  53. package/skills/ae-analysis/references/drilldown_events_run.md +2 -1
  54. package/skills/ae-analysis/references/drilldown_user_events_export.md +8 -0
  55. package/skills/ae-analysis/references/drilldown_user_events_run.md +8 -0
  56. package/skills/ae-analysis/references/entity_id_import_options.md +1 -1
  57. package/skills/ae-analysis/references/filter_value_list.md +47 -0
  58. package/skills/ae-analysis/references/project_space_get.md +3 -3
  59. package/skills/ae-analysis/references/project_space_list.md +6 -2
  60. package/skills/ae-analysis/references/query_cancel.md +3 -1
  61. package/skills/ae-analysis/references/query_cluster_list.md +34 -0
  62. package/skills/ae-analysis/references/query_create_result_cluster.md +2 -0
  63. package/skills/ae-analysis/references/report_create.md +5 -1
  64. package/skills/ae-analysis/references/report_data_export.md +9 -2
  65. package/skills/ae-analysis/references/report_data_run.md +8 -3
  66. package/skills/ae-analysis/references/report_get.md +3 -1
  67. package/skills/ae-analysis/references/report_update.md +4 -0
  68. package/skills/ae-analysis/references/super_metadata_batch_create.md +29 -0
  69. package/skills/ae-analysis/references/super_metadata_batch_edit.md +24 -0
  70. package/skills/ae-analysis/references/virtual_event_create.md +7 -6
  71. package/skills/ae-analysis-global/SKILL.md +15 -32
  72. package/skills/ae-community/SKILL.md +1 -1
  73. package/skills/ae-data-integration-helper/SKILL.md +3 -2
  74. package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +1 -1
  75. package/skills/ae-dataops/SKILL.md +2 -1
  76. package/skills/ae-dataops/references/dataops-integration.md +75 -6
  77. package/skills/ae-engage/SKILL.md +32 -5
  78. package/skills/ae-engage/references/activity-topic.md +34 -1
  79. package/skills/ae-engage/references/add-channel.md +2 -3
  80. package/skills/ae-engage/references/build-task-save-guide.md +17 -3
  81. package/skills/ae-engage/references/channel-detail.md +2 -3
  82. package/skills/ae-engage/references/channel-list.md +2 -5
  83. package/skills/ae-engage/references/channel-mgmt.md +17 -2
  84. package/skills/ae-engage/references/channel-test-send.md +1 -1
  85. package/skills/ae-engage/references/channel-update-config.md +1 -1
  86. package/skills/ae-engage/references/delete-channel.md +2 -3
  87. package/skills/ae-engage/references/save-flow.md +6 -3
  88. package/skills/ae-engage/references/save-task.md +12 -15
  89. package/skills/ae-engage/references/scene-config-channel.md +28 -4
  90. package/skills/ae-engage/references/scene-config-group.md +1 -1
  91. package/skills/ae-engage/references/scene-config-item.md +1 -1
  92. package/skills/ae-engage/references/scene-config-metric.md +1 -1
  93. package/skills/ae-engage/references/scene-config-param.md +1 -1
  94. package/skills/ae-engage/references/scene-preset-metric.md +1 -1
  95. package/skills/ae-engage/references/scene-strategy-audience.md +680 -0
  96. package/skills/ae-engage/references/scene-strategy.md +16 -1
  97. package/skills/ae-engage/references/scene-template.md +1 -1
  98. package/skills/ae-engage/references/update-channel-status.md +2 -3
  99. package/skills/ae-generate-tracking-code/SKILL.md +4 -3
  100. package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
  101. package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +1 -1
  102. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +1 -1
  103. package/skills/ae-generate-tracking-plan/SKILL.md +6 -2
  104. package/skills/ae-metadata/SKILL.md +8 -15
  105. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +1 -1
  106. package/skills/ae-system/SKILL.md +357 -0
  107. package/dist/te-common-ST3QPSXJ.js +0 -61
  108. package/dist/te-common-WSLIKKPC.js +0 -61
  109. package/dist/te-meta-Q4L6EE3Q.js +0 -363
  110. package/dist/te-meta-VHCN4Q62.js +0 -363
  111. package/skills/ae-analysis/references/alert_definition_schema_get.md +0 -24
  112. package/skills/ae-analysis/references/batch_create_metadata.md +0 -41
  113. package/skills/ae-analysis/references/batch_edit_metadata.md +0 -39
  114. package/skills/ae-analysis/references/cancel_query.md +0 -38
  115. package/skills/ae-analysis/references/create_alert.md +0 -47
  116. package/skills/ae-analysis/references/create_entity.md +0 -39
  117. package/skills/ae-analysis/references/create_project_mark_time.md +0 -39
  118. package/skills/ae-analysis/references/delete_alert.md +0 -32
  119. package/skills/ae-analysis/references/delete_project_mark_times.md +0 -36
  120. package/skills/ae-analysis/references/delete_track_items.md +0 -36
  121. package/skills/ae-analysis/references/generate_track_program.md +0 -52
  122. package/skills/ae-analysis/references/generate_track_sdk_sample.md +0 -44
  123. package/skills/ae-analysis/references/get_alert.md +0 -35
  124. package/skills/ae-analysis/references/get_alert_definition_schema.md +0 -33
  125. package/skills/ae-analysis/references/get_project_config.md +0 -33
  126. package/skills/ae-analysis/references/get_track_program.md +0 -34
  127. package/skills/ae-analysis/references/list_alerts.md +0 -41
  128. package/skills/ae-analysis/references/list_entities.md +0 -42
  129. package/skills/ae-analysis/references/list_project_mark_times.md +0 -43
  130. package/skills/ae-analysis/references/list_project_users.md +0 -33
  131. package/skills/ae-analysis/references/list_projects.md +0 -39
  132. package/skills/ae-analysis/references/load_filters.md +0 -47
  133. package/skills/ae-analysis/references/save_track_items.md +0 -37
  134. package/skills/ae-analysis/references/update_alert.md +0 -49
  135. package/skills/ae-analysis/references/update_project_mark_time.md +0 -40
  136. package/skills/ae-analysis-global/references/list_query_clusters.md +0 -68
  137. package/skills/ae-metadata/references/metadata_event_get.md +0 -52
  138. package/skills/ae-metadata/references/metadata_property_get.md +0 -54
  139. package/dist/{te-community-WXGB6IOX.js → te-community-QOYIYEJI.js} +3 -3
  140. package/dist/{te-community-X2AHXGCA.js → te-community-UFKI6ONP.js} +3 -3
@@ -1,49 +0,0 @@
1
- # analysis +update_alert (Update Alert)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Metadata queries**
6
-
7
- ## Use Cases
8
- - Precondition helper: call `+get_alert_definition_schema` to get the structure before using this tool.
9
- - Update an existing alert. All fields in the definition will replace existing values. See get_alert_definition_schema for the parameter structure.
10
- - Update an existing alert.
11
-
12
- ## Mandatory prerequisites (MUST)
13
- - Before constructing a new `--definition`, you must first read and follow:
14
- - [`./get_alert_definition_schema.md`](./get_alert_definition_schema.md)
15
- - Do not submit the new `definition` until the documentation review and schema call are complete.
16
-
17
- ## Prerequisite call chain (required for updating definition)
18
- 1. Read `get_alert_definition_schema.md` to understand the return structure of `+get_alert_definition_schema`.
19
- 2. Call `ae-cli analysis +get_alert_definition_schema` to get the schema.
20
- 3. Build a new `definition` from the schema, then call `+update_alert`.
21
-
22
- ## Command
23
- ```bash
24
- ae-cli analysis +update_alert --project_id <project_id> --alert_id 1 --definition '{}'
25
- ae-cli analysis +update_alert --dry-run
26
- ```
27
-
28
- ## Parameters
29
- | Parameter | Required | Description |
30
- |---|---|---|
31
- | `--project_id` / `-p` | Yes | Project ID |
32
- | `--alert_id` / `-a` | Yes | Alert ID to update |
33
- | `--definition` | Yes | Alert definition JSON with updated fields. MUST call `+get_alert_definition_schema` first and strictly follow the returned structure. |
34
-
35
- ## Decision Rules
36
- - `definition` cannot be written from experience alone: it must satisfy the alert schema structure constraints.
37
- - On the first run, start with only the required parameters (`--project_id`, `--alert_id`, `--definition`) and add optional parameters after confirming the path works.
38
- - Wrap JSON parameters in single quotes (for example `--definition '{}'`) to avoid shell escaping issues.
39
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
40
- - This is an ordinary `write` operation and does not require CLI confirmation.
41
-
42
- ## Next Steps on Failure
43
- - If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`, `--alert_id`, `--definition`).
44
- - If `Invalid JSON` appears, first check the schema required fields and enumeration values, then add fields incrementally.
45
- - If the result after writing does not match expectations, immediately read back the corresponding list/get interface to compare before and after.
46
-
47
- ## Recommended chaining
48
- - +get_alert_definition_schema -> +update_alert
49
- - +list_alerts -> +get_alert -> +update_alert
@@ -1,40 +0,0 @@
1
- # analysis_meta +update_project_mark_time (Update Project Date Marker)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
-
5
- Domain: **Project Configuration**
6
-
7
- ## Use Cases
8
- - Update an existing project date marker. Returns the updated marker ID, timestamp, content, and visibility status.
9
- - Update an existing project date marker.
10
- - Do not use it to create a marker or change analysis data; use `+create_project_mark_time` for a new marker.
11
-
12
- ## Command
13
- ```bash
14
- ae-cli analysis_meta +update_project_mark_time --mark_time_id 1 --project_id <project_id> --marked_at '2026-04-09 10:00' --content demo
15
- ae-cli analysis_meta +update_project_mark_time --mark_time_id 1 --project_id <project_id> --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
16
- ae-cli analysis_meta +update_project_mark_time --dry-run
17
- ```
18
-
19
- ## Parameters
20
- | Parameter | Required | Description |
21
- |---|---|---|
22
- | `--mark_time_id` | Yes | Marker ID |
23
- | `--project_id` / `-p` | Yes | Project ID |
24
- | `--marked_at` | Yes | Marker timestamp. Format: yyyy-MM-dd HH:mm |
25
- | `--zone_offset` | No | Marker time zone offset |
26
- | `--content` | Yes | Marker content |
27
- | `--is_visible` | No | Whether the marker is visible. Default: 1 |
28
-
29
- ## Decision Rules
30
- - The smallest valid request also includes required `--content`; use `--dry-run` with `--mark_time_id`, `--project_id`, `--marked_at`, and `--content` before executing.
31
- - For date/time ranges, first validate with a short range, then expand the range step by step.
32
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
33
- - This is an ordinary `write` operation and does not require CLI confirmation.
34
-
35
- ## Next Steps After Failure
36
- - If required parameters are missing, supply `--mark_time_id`, `--project_id`, `--marked_at`, and `--content` before retrying.
37
- - If the result after writing is not as expected, immediately read back the corresponding list/get interface for a before-and-after comparison.
38
-
39
- ## Recommended Chaining
40
- - +list_project_mark_times -> +update_project_mark_time
@@ -1,68 +0,0 @@
1
- # analysis +list_query_clusters (Query Cluster Options)
2
-
3
- > **Prerequisite:** Use this reference only after `ae-analysis-global` confirms local multi-cluster mode is enabled. This command is added by the global overlay, not by the base `ae-analysis` skill.
4
-
5
- Domain: **Multi-Cluster Query Routing**
6
-
7
- ## Use Cases
8
-
9
- - List the query cluster options accessible to the current account in the project.
10
- - Answer user questions such as "cluster info", "available query clusters", or "current cluster". Localized examples include "集群信息" and "有哪些集群".
11
- - Decide whether a later report/dashboard/ad-hoc query should use the current self cluster, global aggregated data, or one specific slave cluster.
12
- - Resolve country, region, game server, service shard, site, market, or deployment area wording to an accessible slave cluster before passing `cluster_query_scope=SLAVE`.
13
-
14
- This command is not for audience/user segment clusters. For cohort, audience, or segment assets, use `analysis user-cluster list`.
15
-
16
- ## Commands
17
-
18
- ```bash
19
- ae-cli analysis +list_query_clusters --project_id <project_id>
20
- ae-cli analysis +list_query_clusters --dry-run
21
- ```
22
-
23
- ## Parameters
24
-
25
- | Parameter | Required | Description |
26
- |---|---|---|
27
- | `--project_id` / `-p` | Yes | Project ID used to resolve the current account's cluster query permissions. |
28
-
29
- ## Output Shape
30
-
31
- The result data follows the server DTO used by `list_query_clusters`:
32
-
33
- | Field | Description |
34
- |---|---|
35
- | `globalQueryEnabled` | Whether global query is enabled by server config. |
36
- | `currentCluster` | The current self query cluster. Fields: `clusterId`, `clusterName`, `clusterDesc`. |
37
- | `slaveClusters` | Accessible slave query clusters for this account and project. Each item has `clusterId`, `clusterName`, `clusterDesc`. |
38
- | `permissions` | Permission summary for choosing query scope. |
39
- | `permissions.canQueryCurrent` | Whether the user can query the current self cluster. Usually true. |
40
- | `permissions.canQueryGlobal` | Whether `cluster_query_scope=GLOBAL` is allowed. |
41
- | `permissions.canQueryAllSlaveClusters` | Whether any enabled slave cluster may be queried. |
42
- | `permissions.allowedSlaveClusterIds` | Slave cluster IDs this account may use. |
43
- | `permissions.allowedClusterQueryParams` | Human-readable allowed query parameter combinations, e.g. `omit clusterQueryScope`, `clusterQueryScope=GLOBAL`, or `clusterQueryScope=SLAVE, slaveClusterId in [...]`. |
44
-
45
- ## Decision Rules
46
-
47
- - For query-cluster inventory or cluster-info questions, call this command and answer with "query clusters", not "audience clusters".
48
- - Default query behavior is to omit `cluster_query_scope`, which queries the current self cluster or follows the tool-specific default.
49
- - Pass `--cluster_query_scope GLOBAL` only when the user clearly asks for global, all clusters, all servers, cross-cluster aggregation, or equivalent aggregate wording, and `permissions.canQueryGlobal=true`.
50
- - Pass `--cluster_query_scope SLAVE --slave_cluster_id <clusterId>` only after this command confirms a requested country, region, server, site, market, or deployment maps to an accessible `slaveClusters[]` item.
51
- - Match slave intent only against `slaveClusters[].clusterId`, `slaveClusters[].clusterName`, and `slaveClusters[].clusterDesc`.
52
- - If the requested scope is not allowed, do not guess forbidden parameters. Explain `permissions.allowedClusterQueryParams`.
53
- - Unified ad-hoc gateway commands (`analysis adhoc run/export`) do not expose `cluster_query_scope`; if a global/slave ad-hoc query is requested, report that the gateway contract does not support it yet instead of using removed ad-hoc commands or hidden flags.
54
- - For SQL model analysis, never pass `cluster_query_scope`; SQL model analysis only supports the current self cluster in the current gateway contract.
55
-
56
- ## Recommended Chains
57
-
58
- - Cluster inventory / cluster info -> `analysis +list_query_clusters`
59
- - Query DAU for Japan server -> `analysis +list_query_clusters` -> match JP/Japan slave cluster -> use only commands that explicitly expose cluster routing; the current report/dashboard/ad-hoc gateway data commands do not.
60
- - Query all-cluster aggregated DAU -> `analysis +list_query_clusters` -> if `permissions.canQueryGlobal=true`, use only commands that explicitly expose cluster routing; otherwise stop and report the capability gap.
61
- - View audience cohorts or user segments -> `analysis user-cluster list` instead
62
-
63
- ## Response Wording
64
-
65
- - Use "current query cluster" for `currentCluster`.
66
- - Use "accessible slave query clusters" for `slaveClusters`.
67
- - Use "allowed query-scope parameters" for `permissions.allowedClusterQueryParams`.
68
- - Do not call `analysis user-cluster list` results query clusters; those are audience clusters or user segments.
@@ -1,52 +0,0 @@
1
- # metadata event get (Super-Event Detail)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md) (`ae-metadata` skill).
4
- >
5
- > Capability id: `metadata.event.get` · Domain: `metadata` (capability gateway REST, not MCP `analysis_meta`).
6
-
7
- ## Use Cases
8
-
9
- - Fetch **one** super-event metadata record by technical name (full detail, not a paginated list).
10
- - Inspect virtual event definition (`definition.sources`, filters, relation) when `event_kind=virtual_event`.
11
- - Read-only; requires metadata **view** permission (`VIEW_META`) in the target project.
12
-
13
- ## Commands
14
-
15
- ```bash
16
- ae-cli metadata event get --project-id <project_id> --event-name <event_name>
17
- ae-cli metadata event get -p <project_id> --event-name <event_name> --dry-run
18
- ```
19
-
20
- ## Parameters
21
-
22
- | Parameter | Required | Description |
23
- |-----------|----------|-------------|
24
- | `--project-id` / `-p` | Yes | Numeric project ID. |
25
- | `--event-name` | Yes | Super-event technical name. Virtual events use the same field. |
26
-
27
- Gateway request body uses snake_case `input`:
28
-
29
- ```json
30
- {
31
- "project_id": 1,
32
- "event_name": "purchase"
33
- }
34
- ```
35
-
36
- ## Decision Rules
37
-
38
- - Prefer **`metadata event get`** over `analysis-meta event list` when you need **full detail + virtual definition**, not browsing or fuzzy search.
39
- - Use `ae-analysis` → `analysis-meta event list` first when the event name is unknown or you need keyword search / pagination.
40
- - If the gateway returns `EVENT_NOT_FOUND`, verify `event_name` spelling and `project_id`; do not invent names.
41
- - Auth: `cli-token` header (ae-cli injects automatically in sandbox; local CLI uses `getCliToken()`).
42
-
43
- ## Recommended Chaining
44
-
45
- - `ae-analysis`: `analysis-meta event list` (discover name) → `metadata event get` (detail)
46
- - `metadata event get` → `metadata property get` (inspect properties listed in response)
47
-
48
- ## Next Steps After Failure
49
-
50
- - Empty or not found: confirm project id and exact `event_name` from `analysis-meta event list`.
51
- - Permission error: confirm metadata view permission in the project.
52
- - Gateway unavailable: confirm nginx routes `/api/cli/metadata/` and backend capability catalog is deployed.
@@ -1,54 +0,0 @@
1
- # metadata property get (Super-Property Detail)
2
-
3
- > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md) (`ae-metadata` skill).
4
- >
5
- > Capability id: `metadata.property.get` · Domain: `metadata` (capability gateway REST, not MCP `analysis_meta`).
6
-
7
- ## Use Cases
8
-
9
- - Fetch **one** super-property metadata record (event scope or user scope).
10
- - Inspect virtual property definition (`definition.expression`, `dependencies`).
11
- - Read-only; requires metadata **view** permission in the target project.
12
-
13
- ## Commands
14
-
15
- ```bash
16
- ae-cli metadata property get --project-id <project_id> --property-name <name> --property-scope event
17
- ae-cli metadata property get --project-id <project_id> --property-name <name> --property-scope user --dry-run
18
- ```
19
-
20
- ## Parameters
21
-
22
- | Parameter | Required | Description |
23
- |-----------|----------|-------------|
24
- | `--project-id` / `-p` | Yes | Numeric project ID. |
25
- | `--property-name` | Yes | Super-property technical name. |
26
- | `--property-scope` | Yes | `event` (super event properties) or `user` (super user properties). |
27
-
28
- Gateway request body uses snake_case `input`:
29
-
30
- ```json
31
- {
32
- "project_id": 1,
33
- "property_name": "price",
34
- "property_scope": "event"
35
- }
36
- ```
37
-
38
- ## Decision Rules
39
-
40
- - Prefer **`metadata property get`** over `analysis-meta property list` when you need **full detail + virtual definition**, not browsing or fuzzy search.
41
- - Use `ae-analysis` → `analysis-meta property list` first when the property name is unknown or you need keyword search / pagination.
42
- - `property_scope` must be exactly `event` or `user` (backend accepts case-insensitive).
43
- - Virtual / dict / exchange-rate properties are addressed by `property-name` only; do not pass legacy `prop_name`.
44
- - Event-scoped names like `#account_id` must be passed literally (quote in shell when `#` is present).
45
-
46
- ## Recommended Chaining
47
-
48
- - `ae-analysis`: `analysis-meta property list` (discover name + scope) → `metadata property get` (detail)
49
- - `metadata event get` → `metadata property get` (follow properties from event detail)
50
-
51
- ## Next Steps After Failure
52
-
53
- - Not found: confirm scope (`event` vs `user`) and exact name from `analysis-meta property list`.
54
- - Permission error: confirm metadata view permission in the project.
@@ -1,6 +1,3 @@
1
- import {
2
- registerCapabilityGatewayRoute
3
- } from "./chunk-PTE56QPL.js";
4
1
  import {
5
2
  callMcpTool,
6
3
  parseMcpResult,
@@ -8,6 +5,9 @@ import {
8
5
  resolveMcpUrl
9
6
  } from "./chunk-CPVTECJ3.js";
10
7
  import "./chunk-LCXU3AAT.js";
8
+ import {
9
+ registerCapabilityGatewayRoute
10
+ } from "./chunk-PTE56QPL.js";
11
11
  import "./chunk-E7UXXHO3.js";
12
12
  import "./chunk-IR4ZLVPW.js";
13
13
  import "./chunk-V6FR6WTW.js";
@@ -1,6 +1,3 @@
1
- import {
2
- registerCapabilityGatewayRoute
3
- } from "./chunk-PTE56QPL.js";
4
1
  import {
5
2
  callMcpTool,
6
3
  parseMcpResult,
@@ -8,6 +5,9 @@ import {
8
5
  resolveMcpUrl
9
6
  } from "./chunk-3P3562ZX.js";
10
7
  import "./chunk-LCXU3AAT.js";
8
+ import {
9
+ registerCapabilityGatewayRoute
10
+ } from "./chunk-PTE56QPL.js";
11
11
  import "./chunk-E7UXXHO3.js";
12
12
  import "./chunk-IR4ZLVPW.js";
13
13
  import "./chunk-V6FR6WTW.js";