@thinkingai/ae-cli 6.0.28 → 6.0.30

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 (103) hide show
  1. package/dist/capability-KVA55RMK.js +227 -0
  2. package/dist/capability-LKHLZQPD.js +227 -0
  3. package/dist/chunk-CWZUGF2J.js +26 -0
  4. package/dist/{chunk-YNQFYBDB.js → chunk-OJR23CIK.js} +12 -0
  5. package/dist/chunk-OO6XR6LK.js +26 -0
  6. package/dist/{chunk-C4DH76LX.js → chunk-P2JRP6HJ.js} +4 -21
  7. package/dist/{chunk-LG5YT7P7.js → chunk-S5XN6KEX.js} +4 -21
  8. package/dist/{chunk-BXMXMUD7.js → chunk-THBBNYXI.js} +12 -0
  9. package/dist/index.js +22 -11
  10. package/dist/{metadata-IPSPQBX3.js → metadata-6CCFV4K5.js} +11 -8
  11. package/dist/{metadata-N5REJ7R7.js → metadata-PDOIWH5O.js} +11 -8
  12. package/dist/{te-agent-QLIVKRUN.js → te-agent-FAIBM3SA.js} +5 -5
  13. package/dist/{te-analysis-5WZKVFHI.js → te-analysis-DDXGM7WM.js} +173 -260
  14. package/dist/{te-analysis-KAEZXLNS.js → te-analysis-HCDNYI7E.js} +173 -260
  15. package/dist/{te-audience-XMRMVD2V.js → te-audience-ECFS4GF4.js} +11 -10
  16. package/dist/{te-audience-PVMKQAFH.js → te-audience-WO377T2J.js} +11 -10
  17. package/dist/{te-engage-AGREUOW7.js → te-engage-545HJL6J.js} +4 -4
  18. package/dist/{te-engage-MIIUKY6M.js → te-engage-M7JQSJDP.js} +4 -4
  19. package/dist/{te-kb-KQJ53M3A.js → te-kb-NT33UHAE.js} +1 -1
  20. package/dist/{te-meta-QLANJ4B4.js → te-meta-FADFLTDM.js} +3 -3
  21. package/dist/{te-meta-TOA6FWDE.js → te-meta-PKT27OTN.js} +3 -3
  22. package/dist/{te-team-TQGMNHQQ.js → te-team-RG75PR5D.js} +1 -1
  23. package/package.json +2 -1
  24. package/skills/ae-agent/SKILL.md +4 -3
  25. package/skills/ae-analysis/SKILL.md +35 -16
  26. package/skills/ae-analysis/references/analysis_gateway_assets.md +42 -9
  27. package/skills/ae-analysis/references/asset_abnormal_get.md +3 -3
  28. package/skills/ae-analysis/references/asset_abnormal_list.md +3 -3
  29. package/skills/ae-analysis/references/asset_authentication_list.md +3 -3
  30. package/skills/ae-analysis/references/asset_authentication_update.md +3 -3
  31. package/skills/ae-analysis/references/asset_recent_list.md +3 -3
  32. package/skills/ae-analysis/references/asset_search.md +3 -3
  33. package/skills/ae-analysis/references/build_event_analysis_qp.md +1 -1
  34. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +1 -1
  35. package/skills/ae-analysis/references/build_prop_analysis_qp.md +1 -1
  36. package/skills/ae-analysis/references/build_retention_analysis_qp.md +1 -1
  37. package/skills/ae-analysis/references/cancel_query.md +1 -1
  38. package/skills/ae-analysis/references/datatable_columns_get.md +3 -3
  39. package/skills/ae-analysis/references/datatable_influence_list.md +3 -3
  40. package/skills/ae-analysis/references/datatable_version_get.md +3 -3
  41. package/skills/ae-analysis/references/datatable_version_list.md +3 -3
  42. package/skills/ae-analysis/references/drilldown_user_events.md +4 -4
  43. package/skills/ae-analysis/references/event_changelog_list.md +3 -3
  44. package/skills/ae-analysis/references/event_create.md +3 -3
  45. package/skills/ae-analysis/references/event_delete.md +3 -3
  46. package/skills/ae-analysis/references/event_get.md +3 -3
  47. package/skills/ae-analysis/references/event_hide_update.md +3 -3
  48. package/skills/ae-analysis/references/event_influence_list.md +3 -3
  49. package/skills/ae-analysis/references/event_list.md +3 -3
  50. package/skills/ae-analysis/references/event_relation_update.md +3 -3
  51. package/skills/ae-analysis/references/event_update.md +3 -3
  52. package/skills/ae-analysis/references/exchange_config_update.md +3 -3
  53. package/skills/ae-analysis/references/exchange_rate_refresh.md +3 -3
  54. package/skills/ae-analysis/references/exchange_rule_list.md +3 -3
  55. package/skills/ae-analysis/references/exchange_rule_update.md +3 -3
  56. package/skills/ae-analysis/references/exchange_rule_validate.md +3 -3
  57. package/skills/ae-analysis/references/folder_create.md +18 -6
  58. package/skills/ae-analysis/references/folder_delete.md +21 -6
  59. package/skills/ae-analysis/references/folder_share.md +16 -6
  60. package/skills/ae-analysis/references/get_analysis_query_schema.md +17 -18
  61. package/skills/ae-analysis/references/get_report_definition.md +1 -1
  62. package/skills/ae-analysis/references/list_events.md +1 -1
  63. package/skills/ae-analysis/references/list_metrics.md +1 -1
  64. package/skills/ae-analysis/references/list_properties.md +1 -1
  65. package/skills/ae-analysis/references/metric_create.md +3 -3
  66. package/skills/ae-analysis/references/metric_delete.md +3 -3
  67. package/skills/ae-analysis/references/metric_get.md +3 -3
  68. package/skills/ae-analysis/references/metric_list.md +3 -3
  69. package/skills/ae-analysis/references/metric_update.md +3 -3
  70. package/skills/ae-analysis/references/project_space_create.md +19 -5
  71. package/skills/ae-analysis/references/project_space_delete.md +23 -6
  72. package/skills/ae-analysis/references/project_space_share.md +16 -6
  73. package/skills/ae-analysis/references/property_changelog_list.md +3 -3
  74. package/skills/ae-analysis/references/property_create.md +3 -3
  75. package/skills/ae-analysis/references/property_delete.md +3 -3
  76. package/skills/ae-analysis/references/property_get.md +3 -3
  77. package/skills/ae-analysis/references/property_hide_update.md +3 -3
  78. package/skills/ae-analysis/references/property_influence_list.md +3 -3
  79. package/skills/ae-analysis/references/property_list.md +3 -3
  80. package/skills/ae-analysis/references/property_related_events.md +3 -3
  81. package/skills/ae-analysis/references/property_relation_update.md +3 -3
  82. package/skills/ae-analysis/references/property_update.md +3 -3
  83. package/skills/ae-analysis/references/query_adhoc.md +34 -21
  84. package/skills/ae-analysis/references/super_metadata_export.md +4 -4
  85. package/skills/ae-analysis/references/super_metadata_import.md +3 -3
  86. package/skills/ae-analysis/references/update_report.md +3 -3
  87. package/skills/ae-analysis/references/virtual_event_create.md +3 -3
  88. package/skills/ae-analysis/references/virtual_event_delete.md +3 -3
  89. package/skills/ae-analysis/references/virtual_event_get.md +3 -3
  90. package/skills/ae-analysis/references/virtual_property_create.md +3 -3
  91. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +3 -3
  92. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +3 -3
  93. package/skills/ae-capability/SKILL.md +103 -0
  94. package/skills/ae-community/SKILL.md +1 -1
  95. package/skills/ae-data-integration-helper/SKILL.md +1 -1
  96. package/skills/ae-dataops/references/dataops-integration.md +3 -3
  97. package/skills/ae-engage/SKILL.md +5 -5
  98. package/skills/ae-generate-tracking-code/SKILL.md +1 -1
  99. package/skills/ae-generate-tracking-plan/SKILL.md +1 -1
  100. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +60 -8
  101. package/skills/ae-team/SKILL.md +1 -1
  102. package/skills/ae-analysis/references/folder_members.md +0 -15
  103. package/skills/ae-analysis/references/project_space_members.md +0 -15
@@ -1,4 +1,4 @@
1
- # analysis asset recent-list
1
+ # analysis-meta asset recent-list
2
2
 
3
3
  Use when the user needs to list recently visited assets for the current user.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis asset recent-list --project-id <project_id> --payload '{}'
11
- ae-cli analysis asset recent-list --dry-run
10
+ ae-cli analysis-meta asset recent-list --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta asset recent-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset.recent_list`.
@@ -1,4 +1,4 @@
1
- # analysis asset search
1
+ # analysis-meta asset search
2
2
 
3
3
  Use when the user needs to search project assets by keyword.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis asset search --project-id <project_id> --payload '{}'
11
- ae-cli analysis asset search --dry-run
10
+ ae-cli analysis-meta asset search --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta asset search --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.asset.search`.
@@ -8,7 +8,7 @@ Domain: **Model Analysis**
8
8
  - Build a validated event-analysis QP from structured intent.
9
9
  - Use in the mandatory builder flow before `+query_adhoc --model_type event`.
10
10
  - This command builds QP only and does not execute the analysis query.
11
- - This is one of exactly four QP builders: `event`, `retention`, `funnel`, `prop_analysis`.
11
+ - This is the `event` builder in the ten-model guided QP builder set.
12
12
  - Use this builder for event-analysis ad hoc requests; do not manually build event QP through `+get_analysis_query_schema`.
13
13
 
14
14
  ## JSON Rules
@@ -8,7 +8,7 @@ Domain: **Model Analysis**
8
8
  - Build a validated funnel-analysis QP from structured intent.
9
9
  - Use in the mandatory builder flow before `+query_adhoc --model_type funnel`.
10
10
  - This command builds QP only and does not execute the analysis query.
11
- - This is one of exactly four QP builders: `event`, `retention`, `funnel`, `prop_analysis`.
11
+ - This is the `funnel` builder in the ten-model guided QP builder set.
12
12
  - Use this builder for funnel ad hoc requests; do not manually build funnel QP through `+get_analysis_query_schema`.
13
13
 
14
14
  ## JSON Rules
@@ -8,7 +8,7 @@ Domain: **Model Analysis**
8
8
  - Build a validated `prop_analysis` QP from structured intent.
9
9
  - Use in the mandatory builder flow before `+query_adhoc --model_type prop_analysis`.
10
10
  - This command builds QP only and does not execute the analysis query.
11
- - This is one of exactly four QP builders: `event`, `retention`, `funnel`, `prop_analysis`.
11
+ - This is the `prop_analysis` builder in the ten-model guided QP builder set.
12
12
  - Use this builder for property-analysis ad hoc requests; do not manually build prop_analysis QP through `+get_analysis_query_schema`.
13
13
 
14
14
  ## JSON Rules
@@ -8,7 +8,7 @@ Domain: **Model Analysis**
8
8
  - Build a validated retention-analysis QP from structured intent.
9
9
  - Use in the mandatory builder flow before `+query_adhoc --model_type retention`.
10
10
  - This command builds QP only and does not execute the analysis query.
11
- - This is one of exactly four QP builders: `event`, `retention`, `funnel`, `prop_analysis`.
11
+ - This is the `retention` builder in the ten-model guided QP builder set.
12
12
  - Use this builder for retention ad hoc requests; do not manually build retention QP through `+get_analysis_query_schema`.
13
13
 
14
14
  ## JSON Rules
@@ -26,7 +26,7 @@ ae-cli analysis +cancel_query --request_id mcp_0123456789abcdef0123456789abcdef
26
26
  | `--reason` | No | Optional cancellation reason. Default: `MCP_CANCEL_QUERY_TOOL`. |
27
27
 
28
28
  ## Decision Rules
29
- - This is a write operation. Use `--yes` only when the user clearly asked to cancel or stop a running query.
29
+ - This is a write operation (`risk: write`). Use `--yes` only when the user clearly asked to cancel or stop a running query.
30
30
  - The request must belong to the current MCP user. Otherwise the service returns `REQUEST_NOT_FOUND_OR_NOT_OWNED`.
31
31
  - Do not invent a request ID. Use the ID from the query response or the ID explicitly supplied to the original query.
32
32
  - This command cancels by request ID only. It does not cancel by SQL text, report ID, dashboard ID, BI panel ID, run ID, or tool call ID.
@@ -1,4 +1,4 @@
1
- # analysis datatable columns-get
1
+ # analysis-meta datatable columns-get
2
2
 
3
3
  Use when the user needs to get columns for a project table reference.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis datatable columns-get --project-id <project_id> --table-ref <table_ref>
11
- ae-cli analysis datatable columns-get --dry-run
10
+ ae-cli analysis-meta datatable columns-get --project-id <project_id> --table-ref <table_ref>
11
+ ae-cli analysis-meta datatable columns-get --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.data_table.columns_get`.
@@ -1,4 +1,4 @@
1
- # analysis datatable influence-list
1
+ # analysis-meta datatable influence-list
2
2
 
3
3
  Use when the user needs to list metadata and assets affected by data table deletion or column changes.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis datatable influence-list --project-id <project_id> --datatable-id <datatable_id>
11
- ae-cli analysis datatable influence-list --dry-run
10
+ ae-cli analysis-meta datatable influence-list --project-id <project_id> --datatable-id <datatable_id>
11
+ ae-cli analysis-meta datatable influence-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.data_table.influence_list`.
@@ -1,4 +1,4 @@
1
- # analysis datatable version-get
1
+ # analysis-meta datatable version-get
2
2
 
3
3
  Use when the user needs to get data table version detail.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis datatable version-get --project-id <project_id> --version-id <version_id>
11
- ae-cli analysis datatable version-get --dry-run
10
+ ae-cli analysis-meta datatable version-get --project-id <project_id> --version-id <version_id>
11
+ ae-cli analysis-meta datatable version-get --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.data_table_version.get`.
@@ -1,4 +1,4 @@
1
- # analysis datatable version-list
1
+ # analysis-meta datatable version-list
2
2
 
3
3
  Use when the user needs to list data table historical versions.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis datatable version-list --project-id <project_id> --datatable-id <datatable_id>
11
- ae-cli analysis datatable version-list --dry-run
10
+ ae-cli analysis-meta datatable version-list --project-id <project_id> --datatable-id <datatable_id>
11
+ ae-cli analysis-meta datatable version-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.data_table_version.list`.
@@ -8,7 +8,7 @@ Domain: **Model analysis**
8
8
  - Drill down to detailed event sequences for a specific user on specific dates.
9
9
  - This tool is typically used after drilldown_users.
10
10
  - Common parameters (focus on these): projectId, userId, eventNames, targetDates.
11
- - Advanced parameters (for special scenarios): zoneOffset, properties, timeGranularity, firstDayOfWeek, sortOrder, eventNameFilter, timeFilter, timeFilterBeforeNums, timeFilterAfterNums, entityId, entityValue, useCache, pageNum, pageSize.
11
+ - Advanced parameters (for special scenarios): zoneOffset, properties, timeGranularity, firstDayOfWeek, sortOrder, eventNameFilter, timeFilter, timeFilterBeforeNums, timeFilterAfterNums, entityId, entityValue, useCache, limit, offset.
12
12
  - The userId must come from drilldown_users and must not be guessed.
13
13
  - targetDates is a list of discrete dates, not a date range.
14
14
  - Constraint: drilldown positioning parameters must come from the previous query result and must not be guessed.
@@ -31,7 +31,7 @@ Domain: **Model analysis**
31
31
  ## Command
32
32
  ```bash
33
33
  ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]'
34
- ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]' --zone_offset 8 --use_cache true --page_num 1 --page_size 20 --request_id mcp_bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
34
+ ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]' --zone_offset 8 --use_cache true --limit 20 --offset 0 --request_id mcp_bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
35
35
  ae-cli analysis +drilldown_user_events --dry-run
36
36
  ```
37
37
 
@@ -54,8 +54,8 @@ ae-cli analysis +drilldown_user_events --dry-run
54
54
  | `--entity_id` | No | Optional entity ID for multi-entity scenarios |
55
55
  | `--entity_value` | No | Optional entity value for multi-entity scenarios |
56
56
  | `--use_cache` | No | Whether to use cache. Default: true |
57
- | `--page_num` | No | Start page number, default 1 |
58
- | `--page_size` | No | Page size. Default: 1000, maximum: 10000 |
57
+ | `--limit` | No | Maximum rows. Default: 1000, maximum: 10000 |
58
+ | `--offset` | No | Row offset. Default: 0 |
59
59
  | `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
60
60
  | `--timeout_minutes` | No | Query timeout in minutes |
61
61
 
@@ -1,4 +1,4 @@
1
- # analysis event changelog-list
1
+ # analysis-meta event changelog-list
2
2
 
3
3
  Use when the user needs to list event metadata change logs.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event changelog-list --project-id <project_id> --event-name <event_name>
11
- ae-cli analysis event changelog-list --dry-run
10
+ ae-cli analysis-meta event changelog-list --project-id <project_id> --event-name <event_name>
11
+ ae-cli analysis-meta event changelog-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.changelog_list`.
@@ -1,4 +1,4 @@
1
- # analysis event create
1
+ # analysis-meta event create
2
2
 
3
3
  Use when the user needs to create super events and optionally associate event properties.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event create --project-id <project_id> --payload '{}'
11
- ae-cli analysis event create --dry-run
10
+ ae-cli analysis-meta event create --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta event create --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.create`.
@@ -1,4 +1,4 @@
1
- # analysis event delete
1
+ # analysis-meta event delete
2
2
 
3
3
  Use when the user needs to batch delete events or virtual events.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event delete --project-id <project_id> --event-names '{}'
11
- ae-cli analysis event delete --dry-run
10
+ ae-cli analysis-meta event delete --project-id <project_id> --event-names '{}'
11
+ ae-cli analysis-meta event delete --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.delete`.
@@ -1,4 +1,4 @@
1
- # analysis event get
1
+ # analysis-meta event get
2
2
 
3
3
  Use when the user needs to get one super event metadata detail.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event get --project-id <project_id> --event-name <event_name>
11
- ae-cli analysis event get --dry-run
10
+ ae-cli analysis-meta event get --project-id <project_id> --event-name <event_name>
11
+ ae-cli analysis-meta event get --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.get`.
@@ -1,4 +1,4 @@
1
- # analysis event hide-update
1
+ # analysis-meta event hide-update
2
2
 
3
3
  Use when the user needs to batch hide or show events.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event hide-update --project-id <project_id> --event-names '{}' --is-hide true
11
- ae-cli analysis event hide-update --dry-run
10
+ ae-cli analysis-meta event hide-update --project-id <project_id> --event-names '{}' --is-hide true
11
+ ae-cli analysis-meta event hide-update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.hide_update`.
@@ -1,4 +1,4 @@
1
- # analysis event influence-list
1
+ # analysis-meta event influence-list
2
2
 
3
3
  Use when the user needs to list assets affected by event delete, hide, or update.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event influence-list --project-id <project_id> --event-name <event_name>
11
- ae-cli analysis event influence-list --dry-run
10
+ ae-cli analysis-meta event influence-list --project-id <project_id> --event-name <event_name>
11
+ ae-cli analysis-meta event influence-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.influence_list`.
@@ -1,4 +1,4 @@
1
- # analysis event list
1
+ # analysis-meta event list
2
2
 
3
3
  Use when the user needs to list project super events.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event list --project-id <project_id>
11
- ae-cli analysis event list --dry-run
10
+ ae-cli analysis-meta event list --project-id <project_id>
11
+ ae-cli analysis-meta event list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.list`.
@@ -1,4 +1,4 @@
1
- # analysis event relation-update
1
+ # analysis-meta event relation-update
2
2
 
3
3
  Use when the user needs to update event-property connection or source relations.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event relation-update --project-id <project_id> --payload '{}'
11
- ae-cli analysis event relation-update --dry-run
10
+ ae-cli analysis-meta event relation-update --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta event relation-update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.relation_update`.
@@ -1,4 +1,4 @@
1
- # analysis event update
1
+ # analysis-meta event update
2
2
 
3
3
  Use when the user needs to update event display names and remarks.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis event update --project-id <project_id> --event-name <event_name> --event-desc <event_desc> --remark <remark>
11
- ae-cli analysis event update --dry-run
10
+ ae-cli analysis-meta event update --project-id <project_id> --event-name <event_name> --event-desc <event_desc> --remark <remark>
11
+ ae-cli analysis-meta event update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.event.update`.
@@ -1,4 +1,4 @@
1
- # analysis exchange config-update
1
+ # analysis-meta exchange config-update
2
2
 
3
3
  Use when the user needs to update exchange-rate configuration switch or value.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis exchange config-update --project-id <project_id> --config-val <config_val>
11
- ae-cli analysis exchange config-update --dry-run
10
+ ae-cli analysis-meta exchange config-update --project-id <project_id> --config-val <config_val>
11
+ ae-cli analysis-meta exchange config-update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.exchange_config.update`.
@@ -1,4 +1,4 @@
1
- # analysis exchange rate-refresh
1
+ # analysis-meta exchange rate-refresh
2
2
 
3
3
  Use when the user needs to refresh exchange-rate data manually.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis exchange rate-refresh --project-id <project_id>
11
- ae-cli analysis exchange rate-refresh --dry-run
10
+ ae-cli analysis-meta exchange rate-refresh --project-id <project_id>
11
+ ae-cli analysis-meta exchange rate-refresh --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.exchange_rate.refresh`.
@@ -1,4 +1,4 @@
1
- # analysis exchange rule-list
1
+ # analysis-meta exchange rule-list
2
2
 
3
3
  Use when the user needs to list exchange-rate conversion rules.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis exchange rule-list --project-id <project_id>
11
- ae-cli analysis exchange rule-list --dry-run
10
+ ae-cli analysis-meta exchange rule-list --project-id <project_id>
11
+ ae-cli analysis-meta exchange rule-list --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.exchange_rule.list`.
@@ -1,4 +1,4 @@
1
- # analysis exchange rule-update
1
+ # analysis-meta exchange rule-update
2
2
 
3
3
  Use when the user needs to save currency field, amount field, and target currency rules.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis exchange rule-update --project-id <project_id> --payload '{}'
11
- ae-cli analysis exchange rule-update --dry-run
10
+ ae-cli analysis-meta exchange rule-update --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta exchange rule-update --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.exchange_rule.update`.
@@ -1,4 +1,4 @@
1
- # analysis exchange rule-validate
1
+ # analysis-meta exchange rule-validate
2
2
 
3
3
  Use when the user needs to validate affected range before saving exchange-rate rules.
4
4
 
@@ -7,8 +7,8 @@ Do not use this command for unrelated analysis queries, ad-hoc query constructio
7
7
  Command:
8
8
 
9
9
  ```bash
10
- ae-cli analysis exchange rule-validate --project-id <project_id> --payload '{}'
11
- ae-cli analysis exchange rule-validate --dry-run
10
+ ae-cli analysis-meta exchange rule-validate --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta exchange rule-validate --dry-run
12
12
  ```
13
13
 
14
14
  Capability id: `metadata.exchange_rule.validate`.
@@ -1,15 +1,27 @@
1
- # analysis folder create
1
+ # analysis folder create (L3)
2
2
 
3
- Use when the user explicitly wants to create a folder in personal space or a project space.
3
+ Use when the user wants to create a folder in personal space or project space.
4
4
 
5
- Do not use to create a project space. Use `project-space create`.
5
+ Do not use to create a project space. Use `analysis.project_space.create` via capability run.
6
6
 
7
- Command:
7
+ This capability has no curated `ae-cli analysis` command. Read [`ae-capability`](../../ae-capability/SKILL.md), then:
8
8
 
9
9
  ```bash
10
- ae-cli analysis folder create --project-id <project_id> --folder-name <name> [--space-id <space_id>] [--parent-folder-id <folder_id>] [--payload '{...}'] --yes
10
+ ae-cli capability inspect analysis.folder.create
11
+ ae-cli capability dry-run analysis.folder.create --input '{"project_id":1,"folder_name":"Weekly","space_id":10}'
12
+ ae-cli capability run analysis.folder.create --input '{"project_id":1,"folder_name":"Weekly","space_id":10}'
11
13
  ```
12
14
 
13
- Input sends `project_id`, `folder_name`, and optional `space_id`, `parent_folder_id`, `payload`.
15
+ `risk=write` — no chat confirmation required after dry-run succeeds.
16
+
17
+ Input uses snake_case JSON. Common fields:
18
+
19
+ | field | type | required | description |
20
+ | --- | --- | --- | --- |
21
+ | `project_id` | integer | yes | Project ID. |
22
+ | `folder_name` | string | no | Folder name. |
23
+ | `space_id` | integer | no | Project space ID. Omit for personal-space folders. |
24
+ | `parent_folder_id` | integer | no | Parent project-space folder ID. |
25
+ | `payload` | object | no | Optional snake_case object for complex create payloads. |
14
26
 
15
27
  Output is the gateway envelope. `data` contains the created folder result.
@@ -1,15 +1,30 @@
1
- # analysis folder delete
1
+ # analysis folder delete (L3)
2
2
 
3
- Use when the user explicitly wants to delete one or more folders.
3
+ Use when the user wants to delete one or more folders.
4
4
 
5
- Do not use for deleting dashboards or BI panels inside a folder. Use the asset delete command.
5
+ This capability has no curated `ae-cli analysis` command. Read [`ae-capability`](../../ae-capability/SKILL.md) High-Risk Confirmation Workflow, then:
6
6
 
7
- Command:
7
+ **Phase 1 — preview:**
8
8
 
9
9
  ```bash
10
- ae-cli analysis folder delete --project-id <project_id> [--folder-id <folder_id>] [--folder-ids '[1,2]'] [--space-id <space_id>] --yes
10
+ ae-cli capability inspect analysis.folder.delete
11
+ ae-cli capability dry-run analysis.folder.delete --input '{"project_id":1,"folder_ids":[1001,1002]}'
11
12
  ```
12
13
 
13
- Input sends `project_id`, either `folder_id` or `folder_ids`, and optional `space_id`.
14
+ Summarize capability ID, target folder IDs, and `risk=high-risk-write` in chat. Ask the user to confirm.
15
+
16
+ **Phase 2 — execute (only after explicit user confirmation):**
17
+
18
+ ```bash
19
+ ae-cli capability run analysis.folder.delete --input '{"project_id":1,"folder_ids":[1001,1002]}' --yes
20
+ ```
21
+
22
+ Input uses snake_case JSON. Common fields:
23
+
24
+ | field | type | required | description |
25
+ | --- | --- | --- | --- |
26
+ | `project_id` | integer | yes | Project ID. |
27
+ | `folder_id` | integer | no | Single folder ID. |
28
+ | `folder_ids` | integer[] | no | Batch folder IDs. |
14
29
 
15
30
  Output is the gateway envelope. `data` contains the delete result.
@@ -1,15 +1,25 @@
1
- # analysis folder share
1
+ # analysis folder share (L3)
2
2
 
3
- Use when the user wants to add, remove, or batch modify folder sharing members.
3
+ Use when the user wants to modify folder sharing members.
4
4
 
5
- Do not use to inspect members only. Use `folder members`.
5
+ Do not use to inspect members only. Use `analysis.folder.members` via `capability search/inspect/run`; see [`analysis_gateway_assets.md`](analysis_gateway_assets.md) L3 members section.
6
6
 
7
- Command:
7
+ This capability has no curated `ae-cli analysis` command. Read [`ae-capability`](../../ae-capability/SKILL.md), then:
8
8
 
9
9
  ```bash
10
- ae-cli analysis folder share --project-id <project_id> --folder-id <folder_id> [--payload '{...}'] --yes
10
+ ae-cli capability inspect analysis.folder.share
11
+ ae-cli capability dry-run analysis.folder.share --input '{"project_id":1,"folder_id":1001,"payload":{...}}'
12
+ ae-cli capability run analysis.folder.share --input '{"project_id":1,"folder_id":1001,"payload":{...}}'
11
13
  ```
12
14
 
13
- Input sends `project_id`, `folder_id`, and backend-compatible snake_case `payload`.
15
+ `risk=write` — no chat confirmation required after dry-run succeeds.
16
+
17
+ Input uses snake_case JSON. Common fields:
18
+
19
+ | field | type | required | description |
20
+ | --- | --- | --- | --- |
21
+ | `project_id` | integer | yes | Project ID. |
22
+ | `folder_id` | integer | yes | Folder ID. |
23
+ | `payload` | object | no | Optional snake_case share/member update payload. Inspect the capability schema before composing it. |
14
24
 
15
25
  Output is the gateway envelope. `data` contains the share update result.
@@ -6,49 +6,48 @@ Domain: **Model schema queries**
6
6
 
7
7
  > **CRITICAL - Builder-supported ad hoc models**
8
8
  >
9
- > Do **not** use this tool for natural-language ad hoc requests whose target model is `event`, `retention`, `funnel`, or `prop_analysis`.
10
- > For those four models, use the matching QP builder first:
11
- > `+build_event_analysis_qp`, `+build_retention_analysis_qp`, `+build_funnel_analysis_qp`, or `+build_prop_analysis_qp`, then `+query_adhoc`.
9
+ > Do **not** use this tool for natural-language non-SQL ad hoc requests.
10
+ > All ten non-SQL models have matching QP builders; use the builder first, then `+query_adhoc`.
12
11
  >
13
12
  > If a builder returns `need_clarification`, `invalid_argument`, `unsupported_feature`, or `validation_error`, stop and ask the user or report the structured error. Do not fall back to this schema tool.
14
13
 
15
14
  > **CRITICAL - Step-by-Step Execution (BLOCKING)**
16
15
  >
17
- > This blocking sequence applies only to non-builder/manual model paths such as `distribution`, `attribution`, `heat_map`, `interval`, `path`, `rank_list`, or `sql`.
16
+ > This blocking sequence applies only to the SQL manual path.
18
17
  > **You MUST execute these steps in order. Do NOT skip any step.**
19
18
  >
20
19
  > | Step | Command | When to proceed |
21
20
  > |------|---------|-----------------|
22
- > | **Step 1 (MANUAL PATH ONLY)** | `--model_type <type>` **without `--segments`** | Execute first only for non-builder/manual models. Review result. |
21
+ > | **Step 1 (MANUAL PATH ONLY)** | `--model_type sql` **without `--segments`** | Execute first only for SQL. Review result. |
23
22
  > | **Step 2 (OPTIONAL)** | Add `--segments 'filter_group'` | Only if Step 1 result lacks filter/groupBy structures AND you need them |
24
23
  > | **Step 3 (OPTIONAL)** | Add `--segments 'examples'` | Only if Step 1+2 insufficient for multi-metric, time comparison, formulas |
25
24
  >
26
- > **WRONG:** `ae-cli analysis +get_analysis_query_schema --model_type distribution --segments 'examples'` ← **Never start here!**
27
- > **RIGHT:** `ae-cli analysis +get_analysis_query_schema --model_type distribution` → review → add segments if needed
25
+ > **WRONG:** `ae-cli analysis +get_analysis_query_schema --model_type sql --segments 'examples'` ← **Never start here!**
26
+ > **RIGHT:** `ae-cli analysis +get_analysis_query_schema --model_type sql` → review → add segments if needed
28
27
 
29
28
  ## Pre-call Checklist (Execute in Order)
30
29
 
31
- 0. ✓ **Builder-supported model?** → If `event`/`retention`/`funnel`/`prop_analysis`, stop using this tool and use the matching builder.
30
+ 0. ✓ **Builder-supported model?** → If non-SQL, stop using this tool and use the matching builder.
32
31
  1. ✓ **Step 1 completed?** → Review core schema
33
32
  2. ✓ **Gap identified?** → Justify need (e.g., "need filter_group structure")
34
33
  3. ✓ **Justified?** → Call again with specific segment
35
34
 
36
- **Rule**: For non-builder/manual models, uncertain → execute Step 1 first. For `event`, `retention`, `funnel`, or `prop_analysis`, uncertain → read the matching builder reference first.
35
+ **Rule**: For SQL, uncertain → execute Step 1 first. For non-SQL models, uncertain → read the matching builder reference first.
37
36
 
38
37
  ## Command (Execute in Order)
39
38
 
40
39
  ```bash
41
- # Step 1: start here only for non-builder/manual models (no segments)
42
- ae-cli analysis +get_analysis_query_schema --model_type distribution
40
+ # Step 1: start here only for SQL (no segments)
41
+ ae-cli analysis +get_analysis_query_schema --model_type sql
43
42
 
44
43
  # Step 2: Only after Step 1, if filter/groupBy needed
45
- ae-cli analysis +get_analysis_query_schema --model_type distribution --segments 'filter_group' --include_core false
44
+ ae-cli analysis +get_analysis_query_schema --model_type sql --segments 'filter_group' --include_core false
46
45
 
47
46
  # Step 3: Only after Step 1/2, for complex scenarios
48
- ae-cli analysis +get_analysis_query_schema --model_type distribution --segments 'examples' --include_core false
47
+ ae-cli analysis +get_analysis_query_schema --model_type sql --segments 'examples' --include_core false
49
48
 
50
49
  # Follow-up request (already have core from earlier step in same session)
51
- ae-cli analysis +get_analysis_query_schema --model_type distribution --segments 'examples' --include_core false
50
+ ae-cli analysis +get_analysis_query_schema --model_type sql --segments 'examples' --include_core false
52
51
  ```
53
52
 
54
53
  ## Parameters
@@ -63,10 +62,10 @@ ae-cli analysis +get_analysis_query_schema --model_type distribution --segments
63
62
 
64
63
  | 场景 | 参数 | 执行顺序 |
65
64
  |---|---|---|
66
- | Builder 支持模型 | 不适用 | `event`/`retention`/`funnel`/`prop_analysis` 禁止用此工具作为 QP 准备步骤,改用 builder |
67
- | 简单 | 不传 `--segments` | **Step 1** - 非 builder/manual 模型 |
68
- | 中等 | `--segments 'filter_group'` | **Step 2** - 非 builder/manual 模型,有过滤或分组,需先完成 Step 1 |
69
- | 复杂 | `--segments 'examples'` | **Step 3** - 非 builder/manual 模型,需先完成 Step 1 |
65
+ | Builder 支持模型 | 不适用 | 所有非 SQL 模型禁止用此工具作为 QP 准备步骤,改用 builder |
66
+ | 简单 | 不传 `--segments` | **Step 1** - SQL manual path |
67
+ | 中等 | `--segments 'filter_group'` | **Step 2** - SQL manual path,有过滤或分组,需先完成 Step 1 |
68
+ | 复杂 | `--segments 'examples'` | **Step 3** - SQL manual path,需先完成 Step 1 |
70
69
 
71
70
  ## Next Steps on Failure
72
71
  - Verify model type and segment compatibility (e.g., aggregatetype not for funnel/path/interval/sql)
@@ -6,7 +6,7 @@ Domain: **Report Management**
6
6
 
7
7
  ## Constraints
8
8
 
9
- **Not a builder fallback:** Do not call `+get_report_definition` to repair or replace a failed `+build_event_analysis_qp`, `+build_retention_analysis_qp`, `+build_funnel_analysis_qp`, or `+build_prop_analysis_qp` call. For builder-supported ad-hoc analysis, builder failure means stop and ask for clarification or report the structured error.
9
+ **Not a builder fallback:** Do not call `+get_report_definition` to repair or replace a failed non-SQL QP builder call. Builder failure means stop and ask for clarification or report the structured error.
10
10
 
11
11
  ## Use Cases
12
12
  - Get the definition details of a single report. Returns model type, event configuration, display configuration, and other definition data without executing a data query.