@thinkingai/ae-cli 6.0.27 → 6.0.29

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 (111) 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-QMZ2UH7F.js → te-analysis-DDXGM7WM.js} +1239 -470
  14. package/dist/{te-analysis-2U5EPXQC.js → te-analysis-HCDNYI7E.js} +1239 -470
  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 +88 -17
  26. package/skills/ae-analysis/references/analysis_gateway_assets.md +49 -14
  27. package/skills/ae-analysis/references/asset_abnormal_get.md +27 -0
  28. package/skills/ae-analysis/references/asset_abnormal_list.md +24 -0
  29. package/skills/ae-analysis/references/asset_authentication_list.md +23 -0
  30. package/skills/ae-analysis/references/asset_authentication_update.md +24 -0
  31. package/skills/ae-analysis/references/asset_recent_list.md +24 -0
  32. package/skills/ae-analysis/references/asset_search.md +24 -0
  33. package/skills/ae-analysis/references/bi_panel_get.md +5 -0
  34. package/skills/ae-analysis/references/bi_panel_share.md +6 -0
  35. package/skills/ae-analysis/references/bi_panel_update.md +4 -1
  36. package/skills/ae-analysis/references/bi_panel_version_get.md +23 -0
  37. package/skills/ae-analysis/references/bi_panel_version_publish.md +20 -0
  38. package/skills/ae-analysis/references/build_event_analysis_qp.md +1 -1
  39. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +1 -1
  40. package/skills/ae-analysis/references/build_prop_analysis_qp.md +1 -1
  41. package/skills/ae-analysis/references/build_retention_analysis_qp.md +1 -1
  42. package/skills/ae-analysis/references/cancel_query.md +1 -1
  43. package/skills/ae-analysis/references/dashboard_daily_report_send.md +6 -1
  44. package/skills/ae-analysis/references/dashboard_report_data_export.md +6 -0
  45. package/skills/ae-analysis/references/dashboard_report_data_run.md +6 -0
  46. package/skills/ae-analysis/references/datatable_columns_get.md +24 -0
  47. package/skills/ae-analysis/references/datatable_influence_list.md +24 -0
  48. package/skills/ae-analysis/references/datatable_version_get.md +24 -0
  49. package/skills/ae-analysis/references/datatable_version_list.md +24 -0
  50. package/skills/ae-analysis/references/drilldown_user_events.md +4 -4
  51. package/skills/ae-analysis/references/event_changelog_list.md +24 -0
  52. package/skills/ae-analysis/references/event_create.md +24 -0
  53. package/skills/ae-analysis/references/event_delete.md +24 -0
  54. package/skills/ae-analysis/references/event_get.md +24 -0
  55. package/skills/ae-analysis/references/event_hide_update.md +25 -0
  56. package/skills/ae-analysis/references/event_influence_list.md +24 -0
  57. package/skills/ae-analysis/references/event_list.md +23 -0
  58. package/skills/ae-analysis/references/event_relation_update.md +24 -0
  59. package/skills/ae-analysis/references/event_update.md +26 -0
  60. package/skills/ae-analysis/references/exchange_config_update.md +24 -0
  61. package/skills/ae-analysis/references/exchange_rate_refresh.md +23 -0
  62. package/skills/ae-analysis/references/exchange_rule_list.md +23 -0
  63. package/skills/ae-analysis/references/exchange_rule_update.md +24 -0
  64. package/skills/ae-analysis/references/exchange_rule_validate.md +24 -0
  65. package/skills/ae-analysis/references/folder_create.md +18 -6
  66. package/skills/ae-analysis/references/folder_delete.md +21 -6
  67. package/skills/ae-analysis/references/folder_share.md +16 -6
  68. package/skills/ae-analysis/references/get_analysis_query_schema.md +17 -18
  69. package/skills/ae-analysis/references/get_report_definition.md +1 -1
  70. package/skills/ae-analysis/references/list_events.md +1 -1
  71. package/skills/ae-analysis/references/list_metrics.md +1 -1
  72. package/skills/ae-analysis/references/list_properties.md +1 -1
  73. package/skills/ae-analysis/references/metric_create.md +24 -0
  74. package/skills/ae-analysis/references/metric_delete.md +24 -0
  75. package/skills/ae-analysis/references/metric_get.md +24 -0
  76. package/skills/ae-analysis/references/metric_list.md +24 -0
  77. package/skills/ae-analysis/references/metric_update.md +24 -0
  78. package/skills/ae-analysis/references/project_space_create.md +19 -5
  79. package/skills/ae-analysis/references/project_space_delete.md +23 -6
  80. package/skills/ae-analysis/references/project_space_share.md +16 -6
  81. package/skills/ae-analysis/references/property_changelog_list.md +25 -0
  82. package/skills/ae-analysis/references/property_create.md +25 -0
  83. package/skills/ae-analysis/references/property_delete.md +25 -0
  84. package/skills/ae-analysis/references/property_get.md +25 -0
  85. package/skills/ae-analysis/references/property_hide_update.md +26 -0
  86. package/skills/ae-analysis/references/property_influence_list.md +25 -0
  87. package/skills/ae-analysis/references/property_list.md +24 -0
  88. package/skills/ae-analysis/references/property_related_events.md +24 -0
  89. package/skills/ae-analysis/references/property_relation_update.md +25 -0
  90. package/skills/ae-analysis/references/property_update.md +27 -0
  91. package/skills/ae-analysis/references/query_adhoc.md +34 -21
  92. package/skills/ae-analysis/references/super_metadata_export.md +36 -0
  93. package/skills/ae-analysis/references/super_metadata_import.md +24 -0
  94. package/skills/ae-analysis/references/update_report.md +3 -3
  95. package/skills/ae-analysis/references/virtual_event_create.md +25 -0
  96. package/skills/ae-analysis/references/virtual_event_delete.md +24 -0
  97. package/skills/ae-analysis/references/virtual_event_get.md +24 -0
  98. package/skills/ae-analysis/references/virtual_property_create.md +24 -0
  99. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +25 -0
  100. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +24 -0
  101. package/skills/ae-capability/SKILL.md +103 -0
  102. package/skills/ae-community/SKILL.md +1 -1
  103. package/skills/ae-dataops/references/dataops-integration.md +3 -3
  104. package/skills/ae-engage/SKILL.md +5 -5
  105. package/skills/ae-generate-tracking-code/SKILL.md +16 -1
  106. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +17 -1
  107. package/skills/ae-generate-tracking-plan/SKILL.md +30 -8
  108. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +60 -8
  109. package/skills/ae-team/SKILL.md +1 -1
  110. package/skills/ae-analysis/references/folder_members.md +0 -15
  111. package/skills/ae-analysis/references/project_space_members.md +0 -15
@@ -10,11 +10,11 @@ ae-cli analysis <resource> <action> [options]
10
10
 
11
11
  Flags use kebab-case. The gateway input JSON uses snake_case. Do not pass camelCase flags or payload keys unless a nested backend DTO explicitly requires them inside `--payload`.
12
12
 
13
- This file is an overview only. Before running one command, read the dedicated command reference named `references/<resource>_<action>.md` with hyphens converted to underscores, for example `dashboard_report_data_export.md`.
13
+ This file is an overview only. Before running an L2 command, read the dedicated command reference named `references/<resource>_<action>.md` with hyphens converted to underscores, for example `dashboard_report_data_export.md`. L3 capabilities without a dedicated reference use dynamic discovery per [`ae-capability`](../../ae-capability/SKILL.md) and the L3 section below.
14
14
 
15
15
  ## When to use
16
16
 
17
- Use these commands for dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI page data workflows.
17
+ Use these commands for dashboard, BI panel, BI panel version, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI page data workflows.
18
18
 
19
19
  Prefer export commands for long-running or large data:
20
20
 
@@ -28,7 +28,7 @@ ae-cli analysis query cancel --run-id run_0123456789abcdef0123456789abcdef
28
28
 
29
29
  ## When not to use
30
30
 
31
- Do not use these commands for ad-hoc model analysis, report definition, report data, drilldown, schema helpers, alerts, audience clusters/tags, project lookup, metadata governance, dashboard locks, BI panel version/lock, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
31
+ Do not use these commands for ad-hoc model analysis, report definition, report data, drilldown, schema helpers, alerts, audience clusters/tags, project lookup, metadata governance, dashboard locks, BI panel lock, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
32
32
 
33
33
  ## Output
34
34
 
@@ -82,7 +82,7 @@ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The de
82
82
  | `dashboard freeze` | `analysis.dashboard.freeze` | Freeze/unfreeze dashboards | `--dashboard-ids`, optional `--freeze false` | Freeze status |
83
83
  | `dashboard abnormal-get` | `analysis.dashboard.abnormal_get` | Inspect abnormal dependencies | `--dashboard-id` | Abnormal info |
84
84
  | `dashboard task-status` | `analysis.dashboard.task_status` | Inspect scheduled task status | `--dashboard-id` | Task status |
85
- | `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data | `--dashboard-id`, optional `--report-ids`, `--start-time`, `--end-time`, `--limit` | Inline data |
85
+ | `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data; `--filters` is analysis Filter JSON from `+get_filter_schema` | `--dashboard-id`, optional `--report-ids`, `--filters`, `--start-time`, `--end-time`, `--limit` | Inline data |
86
86
  | `dashboard-report-data export` | `analysis.dashboard_report_data.export` | Large/long dashboard report data | same as run, plus optional `--artifact-format jsonl` | Async artifact descriptor |
87
87
  | `run inspect` | `analysis.run.inspect` | Poll async export status | `--run-id` | Run and artifact status |
88
88
  | `artifact download` | `analysis.artifact.download` | Download run-bound export artifact | `--run-id`, `--artifact-id`, `--output` | Local output file info |
@@ -90,26 +90,20 @@ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The de
90
90
  | `dashboard-definition export` | `analysis.dashboard_definition.export` | Export dashboard definition JSON | `--dashboard-id`, `--dashboard-ids`, `--dashboard-folder-ids`, `--shared-spaces`, or `--payload` | Definition JSON |
91
91
  | `dashboard-definition import` | `analysis.dashboard_definition.import` | Validate/import dashboard definition | `--definition`, optional `--validate-only true` | Validation or import result |
92
92
  | `dashboard-daily-report update` | `analysis.dashboard_daily_report.update` | Update daily report config; defaults are sent when `--payload` is absent | `--dashboard-id`, optional config flags or `--payload` | Config result |
93
- | `dashboard-daily-report send` | `analysis.dashboard_daily_report.send` | Send daily report immediately; defaults are sent when `--payload` is absent | `--dashboard-id`, optional config flags or `--payload` | Async send result |
93
+ | `dashboard-daily-report send` | `analysis.dashboard_daily_report.send` | Send daily report immediately; no config flags means use saved config, missing saved config fails | `--dashboard-id`, optional config flags or `--payload` | Async send result |
94
94
  | `bi-panel list` | `analysis.bi_panel.list` | Find accessible BI panels | `--project-id`, optional list filters | Paginated BI panel summaries |
95
- | `bi-panel get` | `analysis.bi_panel.get` | Inspect released BI panel page structure | `--panel-id`, optional `--fields` | Panel structure |
95
+ | `bi-panel get` | `analysis.bi_panel.get` | Inspect released BI panel page structure only | `--panel-id`, optional `--fields` | Panel structure |
96
96
  | `bi-panel create` | `analysis.bi_panel.create` | Create a BI panel | optional `--panel-name`, `--payload` | Created panel |
97
97
  | `bi-panel update` | `analysis.bi_panel.update` | Update BI panel content/metadata | optional `--payload` | Update result |
98
98
  | `bi-panel delete` | `analysis.bi_panel.delete` | Delete BI panels | `--panel-ids '[...]'` | Delete result |
99
99
  | `bi-panel share` | `analysis.bi_panel.share` | Modify BI panel sharing | `--panel-id`, `--payload` | Share update result |
100
100
  | `bi-panel copy` | `analysis.bi_panel.copy` | Copy a BI panel | optional source/target flags and `--payload` | Copied panel |
101
+ | `bi-panel-version get` | `analysis.bi_panel_version.get` | Inspect BI panel released or draft version | `--panel-id` or `--panel-uuid`, optional `--version-type release|draft` | Version detail |
102
+ | `bi-panel-version publish` | `analysis.bi_panel_version.publish` | Publish current BI panel draft after source version matches | `--panel-id` or `--panel-uuid`, `--source-version` | Published version |
101
103
  | `bi-panel-page-data run` | `analysis.bi_panel_page_data.run` | Bounded inline BI page data | `--panel-id`, `--page-key`, `--result-type charts|summary` | Inline page data |
102
104
  | `bi-panel-page-data export` | `analysis.bi_panel_page_data.export` | Large/long BI page data | same as run, optional `--artifact-format jsonl` | Async artifact descriptor |
103
105
  | `project-space list` | `analysis.project_space.list` | Find accessible project spaces | `--project-id`, optional list filters | Paginated project spaces |
104
106
  | `project-space get` | `analysis.project_space.get` | Inspect one project space | `--project-id`, `--space-id` | Project space detail |
105
- | `project-space create` | `analysis.project_space.create` | Create a project space; `avatar_type` defaults to 1 when omitted | `--space-name` or `--payload` | Created space |
106
- | `project-space delete` | `analysis.project_space.delete` | Delete project spaces | `--space-id` or `--space-ids` | Delete result |
107
- | `project-space share` | `analysis.project_space.share` | Modify project-space members | `--space-id`, `--payload` | Share update result |
108
- | `project-space members` | `analysis.project_space.members` | Read project-space members | `--space-id` | Members |
109
- | `folder create` | `analysis.folder.create` | Create personal/project-space folder | `--folder-name`, optional `--space-id`, `--parent-folder-id` | Created folder |
110
- | `folder delete` | `analysis.folder.delete` | Delete folders | `--folder-id` or `--folder-ids`, optional `--space-id` | Delete result |
111
- | `folder share` | `analysis.folder.share` | Modify folder members | `--folder-id`, `--payload` | Share update result |
112
- | `folder members` | `analysis.folder.members` | Read folder members | `--folder-id` | Members |
113
107
  | `favorite add` | `analysis.favorite.add` | Favorite dashboard/BI/folder | `--asset-id`, `--asset-type`, optional `--payload` | Favorite result |
114
108
  | `favorite remove` | `analysis.favorite.remove` | Remove favorite | same as add | Remove result |
115
109
  | `public-link create` | `analysis.public_link.create` | Generate public link | `--resource-type`, `--resource-id`, `--effective-at`, `--expires-at` | Link result |
@@ -118,6 +112,47 @@ Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The de
118
112
  | `public-link offline` | `analysis.public_link.offline` | Take links offline | `--link-id` or `--link-ids` | Offline result |
119
113
  | `public-link delete` | `analysis.public_link.delete` | Delete public links | `--link-id` or `--link-ids` | Delete result |
120
114
 
115
+ ## L3 project-space and folder capabilities
116
+
117
+ Per [`capability-command-admission` §10](../../../docs/capability-command-admission.md): new gateway capabilities default to **dynamic discovery** (`capability search` → `inspect` → `dry-run` → `run`); standalone skill references are **exceptions only** (L2 bar, confusion, high-risk delete, multi-step orchestration).
118
+
119
+ For **create / delete / share**, read the linked reference before `capability inspect/dry-run/run`. For **`*.members` read**, use this matrix only — no separate `references/*.md` (pilot).
120
+
121
+ | Capability ID | Use for | Reference / discovery |
122
+ | --- | --- | --- |
123
+ | `analysis.project_space.create` | Create a project space | [`project_space_create.md`](project_space_create.md) |
124
+ | `analysis.project_space.delete` | Delete project spaces | [`project_space_delete.md`](project_space_delete.md) |
125
+ | `analysis.project_space.share` | Modify project-space members | [`project_space_share.md`](project_space_share.md) |
126
+ | `analysis.project_space.members` | Read project-space members | Matrix only (see below) |
127
+ | `analysis.folder.create` | Create personal/project-space folder | [`folder_create.md`](folder_create.md) |
128
+ | `analysis.folder.delete` | Delete folders | [`folder_delete.md`](folder_delete.md) |
129
+ | `analysis.folder.share` | Modify folder members | [`folder_share.md`](folder_share.md) |
130
+ | `analysis.folder.members` | Read folder members | Matrix only (see below) |
131
+
132
+ ### L3 members (matrix-only pilot)
133
+
134
+ Read-only member lists; `risk=read`. Do not use to modify members — use the matching `*.share` capability.
135
+
136
+ **When to use:** inspect who has access to a project space or folder.
137
+
138
+ **When not to use:** modify members → `analysis.project_space.share` or `analysis.folder.share`.
139
+
140
+ ```bash
141
+ ae-cli capability inspect analysis.project_space.members
142
+ ae-cli capability run analysis.project_space.members --input '{"project_id":1,"space_id":10}'
143
+
144
+ ae-cli capability inspect analysis.folder.members
145
+ ae-cli capability run analysis.folder.members --input '{"project_id":1,"folder_id":1001}'
146
+ ```
147
+
148
+ | field | type | required | capability |
149
+ | --- | --- | --- | --- |
150
+ | `project_id` | integer | yes | both |
151
+ | `space_id` | integer | yes | `project_space.members` |
152
+ | `folder_id` | integer | yes | `folder.members` |
153
+
154
+ Output is the gateway envelope; `data` contains members.
155
+
121
156
  ## Examples
122
157
 
123
158
  ```bash
@@ -0,0 +1,27 @@
1
+ # analysis-meta asset abnormal-get
2
+
3
+ Use when the user needs to get abnormal reason for one asset.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset abnormal-get --project-id <project_id> --resource-type <resource_type> --resource-id <resource_id> --resource-name <resource_name> --table-type <table_type>
11
+ ae-cli analysis-meta asset abnormal-get --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset_abnormal.get`.
15
+
16
+ Input sends `project_id`, `resource_type`, `resource_id`, `resource_name`, `table_type`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--resource-type` | Yes | Resource type. |
25
+ | `--resource-id` | No | Resource ID. |
26
+ | `--resource-name` | No | Resource name. |
27
+ | `--table-type` | No | Property table type when the resource is a property. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta asset abnormal-list
2
+
3
+ Use when the user needs to list abnormal assets by resource type.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset abnormal-list --project-id <project_id> --resource-types <resource_types>
11
+ ae-cli analysis-meta asset abnormal-list --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset_abnormal.list`.
15
+
16
+ Input sends `project_id`, `resource_types`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--resource-types` | Yes | Resource types to query. |
@@ -0,0 +1,23 @@
1
+ # analysis-meta asset authentication-list
2
+
3
+ Use when the user needs to list authenticatable project assets and authentication status.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset authentication-list --project-id <project_id>
11
+ ae-cli analysis-meta asset authentication-list --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset_authentication.list`.
15
+
16
+ Input sends `project_id`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta asset authentication-update
2
+
3
+ Use when the user needs to batch authenticate or unauthenticate assets.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset authentication-update --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta asset authentication-update --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset_authentication.update`.
15
+
16
+ Input sends `project_id`, `payload`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--payload` | Yes | Capability payload JSON. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta asset recent-list
2
+
3
+ Use when the user needs to list recently visited assets for the current user.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset recent-list --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta asset recent-list --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset.recent_list`.
15
+
16
+ Input sends `project_id`, `payload`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--payload` | Yes | Capability payload JSON. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta asset search
2
+
3
+ Use when the user needs to search project assets by keyword.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta asset search --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta asset search --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.asset.search`.
15
+
16
+ Input sends `project_id`, `payload`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--payload` | Yes | Capability payload JSON. |
@@ -2,6 +2,11 @@
2
2
 
3
3
  Use when the user needs one BI panel's released page structure.
4
4
 
5
+ This command reads only the released/queryable structure. It can fail with
6
+ `NOT_FOUND` for a newly created or draft-only panel. To inspect unpublished
7
+ edits, use `bi-panel-version get --version-type draft`. To make draft edits
8
+ queryable, publish them with `bi-panel-version publish`.
9
+
5
10
  Do not use to query chart data. Use `bi-panel-page-data run` or `bi-panel-page-data export`.
6
11
 
7
12
  Command:
@@ -12,4 +12,10 @@ ae-cli analysis bi-panel share --project-id <project_id> --panel-id <panel_id> [
12
12
 
13
13
  Input sends `project_id`, `panel_id`, and backend-compatible snake_case `payload`.
14
14
 
15
+ Supported payload fields include:
16
+
17
+ - `all_auth_user_authority`: project-wide BI panel authority. Use `READ`, `JUNIOR`, `SENIOR`, or `MAINTAIN`; `VIEWER` is accepted as `READ`.
18
+ - `auth_users`: user authority list.
19
+ - `auth_user_groups`: user-group authority list.
20
+
15
21
  Output is the gateway envelope. `data` contains the share update result.
@@ -2,7 +2,10 @@
2
2
 
3
3
  Use when the user wants to update BI panel content or metadata.
4
4
 
5
- Do not use for BI panel version or lock workflows; those are intentionally not CLI-enabled.
5
+ Do not use this command to verify draft content or publish a draft. `bi-panel get`
6
+ reads only the released/queryable version. Use `bi-panel-version get` to inspect
7
+ `release` or `draft`, and `bi-panel-version publish` to publish a matching draft
8
+ `source_version`.
6
9
 
7
10
  Command:
8
11
 
@@ -0,0 +1,23 @@
1
+ # analysis bi-panel-version get
2
+
3
+ Use when the user needs a BI panel's released version or unpublished draft version.
4
+
5
+ Do not use `bi-panel get` for draft verification; `bi-panel get` reads only the
6
+ released/queryable structure.
7
+
8
+ Command:
9
+
10
+ ```bash
11
+ ae-cli analysis bi-panel-version get --project-id <project_id> --panel-id <panel_id> --version-type draft
12
+ ae-cli analysis bi-panel-version get --project-id <project_id> --panel-uuid <panel_uuid> --version-type release
13
+ ```
14
+
15
+ Input sends `project_id`, one of `panel_id` or `panel_uuid`, optional
16
+ `version_type` (`release` by default), and optional `fields`.
17
+
18
+ Output is the gateway envelope. `data` contains `panel_id`, `panel_uuid`,
19
+ `requested_version_type`, `version_type`, `version`, `page_content`,
20
+ `panel_config`, and `worksheet_map`.
21
+
22
+ When the result is used before publishing, save `data.version` and pass it as
23
+ `--source-version` to `bi-panel-version publish`.
@@ -0,0 +1,20 @@
1
+ # analysis bi-panel-version publish
2
+
3
+ Use when the user wants to publish the current BI panel draft so `bi-panel get`
4
+ and BI page-data queries can read it as a released/queryable version.
5
+
6
+ Do not use this command blindly after `bi-panel update`. First inspect the draft with
7
+ `bi-panel-version get --version-type draft` and use the returned `data.version`
8
+ as `--source-version`. The gateway rejects stale `source_version` values.
9
+
10
+ Command:
11
+
12
+ ```bash
13
+ ae-cli analysis bi-panel-version publish --project-id <project_id> --panel-id <panel_id> --source-version <draft_version> --yes
14
+ ```
15
+
16
+ Input sends `project_id`, one of `panel_id` or `panel_uuid`, and required
17
+ `source_version`.
18
+
19
+ Output is the gateway envelope. `data` contains `panel_id`, `panel_uuid`,
20
+ `source_version_type`, `source_version`, and `published_version`.
@@ -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.
@@ -12,6 +12,11 @@ ae-cli analysis dashboard-daily-report send --project-id <project_id> --dashboar
12
12
 
13
13
  Input sends `project_id`, `dashboard_id`, and optional daily report fields or `payload`.
14
14
 
15
- When `--payload` is absent, the command sends safe defaults expected by the gateway: `need_csv=false`, empty `host_url`, all channel switches false, `send_date=1,2,3,4,5,6,7`, `send_time=09:00`, `lang=zh-CN`, `screen_type=normal`, and `zone_offset=0`. When `--payload` is present, payload values remain authoritative; pass top-level flags only for fields you intentionally want to override.
15
+ Behavior:
16
+
17
+ - If no daily report config flags and no `--payload` are provided, the gateway uses the dashboard's saved daily report config.
18
+ - If the dashboard has no saved daily report config, the command fails with a stable business error instead of creating a misleading task.
19
+ - If any config flag or `--payload` is provided, the request config is used for this immediate send. Provide at least one valid channel, for example `--enable-dd true --dd-url '["https://..."]'`, or email fields such as `--enable-email true --email-login-users user@example.com`.
20
+ - Use `dashboard-daily-report update` to save or change scheduled daily report config.
16
21
 
17
22
  Output is the gateway envelope. `data` contains the immediate send result.
@@ -12,6 +12,12 @@ ae-cli analysis dashboard-report-data export --project-id <project_id> --dashboa
12
12
 
13
13
  Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `format`. Use CLI flag `--artifact-format` for the gateway `format` input; `--format` is the CLI output formatter.
14
14
 
15
+ `--filters` is an analysis Filter JSON injected as `commonFilter.aiFilter` for each queried report. It is not a dashboard UI control dump. Use `ae-cli analysis +get_filter_schema` for the exact schema. Minimal shape:
16
+
17
+ ```json
18
+ {"relation":"and","filts":[{"field":{"type":"event_property","propertyName":"#event_name"},"operator":"equal","values":["login"]}]}
19
+ ```
20
+
15
21
  Output is the gateway envelope. `data` contains an async export descriptor with `run_id`, `artifact_id`, status fields, and expiration fields. It does not expose inspect/download API paths; use the CLI commands below.
16
22
 
17
23
  Follow-up workflow:
@@ -12,4 +12,10 @@ ae-cli analysis dashboard-report-data run --project-id <project_id> --dashboard-
12
12
 
13
13
  Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `limit`.
14
14
 
15
+ `--filters` is an analysis Filter JSON injected as `commonFilter.aiFilter` for each queried report. It is not a dashboard UI control dump. Use `ae-cli analysis +get_filter_schema` for the exact schema. Minimal shape:
16
+
17
+ ```json
18
+ {"relation":"and","filts":[{"field":{"type":"event_property","propertyName":"#event_name"},"operator":"equal","values":["login"]}]}
19
+ ```
20
+
15
21
  Output is the gateway envelope. `data` contains bounded inline report data.
@@ -0,0 +1,24 @@
1
+ # analysis-meta datatable columns-get
2
+
3
+ Use when the user needs to get columns for a project table reference.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
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
+ ```
13
+
14
+ Capability id: `metadata.data_table.columns_get`.
15
+
16
+ Input sends `project_id`, `table_ref`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--table-ref` | Yes | Project table reference. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta datatable influence-list
2
+
3
+ Use when the user needs to list metadata and assets affected by data table deletion or column changes.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
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
+ ```
13
+
14
+ Capability id: `metadata.data_table.influence_list`.
15
+
16
+ Input sends `project_id`, `datatable_id`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--datatable-id` | Yes | Data table ID. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta datatable version-get
2
+
3
+ Use when the user needs to get data table version detail.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
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
+ ```
13
+
14
+ Capability id: `metadata.data_table_version.get`.
15
+
16
+ Input sends `project_id`, `version_id`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--version-id` | Yes | Data table version ID. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta datatable version-list
2
+
3
+ Use when the user needs to list data table historical versions.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
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
+ ```
13
+
14
+ Capability id: `metadata.data_table_version.list`.
15
+
16
+ Input sends `project_id`, `datatable_id`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--datatable-id` | Yes | Data table ID. |
@@ -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
 
@@ -0,0 +1,24 @@
1
+ # analysis-meta event changelog-list
2
+
3
+ Use when the user needs to list event metadata change logs.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
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
+ ```
13
+
14
+ Capability id: `metadata.event.changelog_list`.
15
+
16
+ Input sends `project_id`, `event_name`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--event-name` | Yes | Event name. |
@@ -0,0 +1,24 @@
1
+ # analysis-meta event create
2
+
3
+ Use when the user needs to create super events and optionally associate event properties.
4
+
5
+ Do not use this command for unrelated analysis queries, ad-hoc query construction, or MCP metadata discovery when an existing specialized command already fits the user's request.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis-meta event create --project-id <project_id> --payload '{}'
11
+ ae-cli analysis-meta event create --dry-run
12
+ ```
13
+
14
+ Capability id: `metadata.event.create`.
15
+
16
+ Input sends `project_id`, `payload`.
17
+
18
+ Output is the gateway envelope. `data` contains the common-service capability result.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--payload` | Yes | Capability payload JSON. |