@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.
- package/dist/capability-KVA55RMK.js +227 -0
- package/dist/capability-LKHLZQPD.js +227 -0
- package/dist/chunk-CWZUGF2J.js +26 -0
- package/dist/{chunk-YNQFYBDB.js → chunk-OJR23CIK.js} +12 -0
- package/dist/chunk-OO6XR6LK.js +26 -0
- package/dist/{chunk-C4DH76LX.js → chunk-P2JRP6HJ.js} +4 -21
- package/dist/{chunk-LG5YT7P7.js → chunk-S5XN6KEX.js} +4 -21
- package/dist/{chunk-BXMXMUD7.js → chunk-THBBNYXI.js} +12 -0
- package/dist/index.js +22 -11
- package/dist/{metadata-IPSPQBX3.js → metadata-6CCFV4K5.js} +11 -8
- package/dist/{metadata-N5REJ7R7.js → metadata-PDOIWH5O.js} +11 -8
- package/dist/{te-agent-QLIVKRUN.js → te-agent-FAIBM3SA.js} +5 -5
- package/dist/{te-analysis-QMZ2UH7F.js → te-analysis-DDXGM7WM.js} +1239 -470
- package/dist/{te-analysis-2U5EPXQC.js → te-analysis-HCDNYI7E.js} +1239 -470
- package/dist/{te-audience-XMRMVD2V.js → te-audience-ECFS4GF4.js} +11 -10
- package/dist/{te-audience-PVMKQAFH.js → te-audience-WO377T2J.js} +11 -10
- package/dist/{te-engage-AGREUOW7.js → te-engage-545HJL6J.js} +4 -4
- package/dist/{te-engage-MIIUKY6M.js → te-engage-M7JQSJDP.js} +4 -4
- package/dist/{te-kb-KQJ53M3A.js → te-kb-NT33UHAE.js} +1 -1
- package/dist/{te-meta-QLANJ4B4.js → te-meta-FADFLTDM.js} +3 -3
- package/dist/{te-meta-TOA6FWDE.js → te-meta-PKT27OTN.js} +3 -3
- package/dist/{te-team-TQGMNHQQ.js → te-team-RG75PR5D.js} +1 -1
- package/package.json +2 -1
- package/skills/ae-agent/SKILL.md +4 -3
- package/skills/ae-analysis/SKILL.md +88 -17
- package/skills/ae-analysis/references/analysis_gateway_assets.md +49 -14
- package/skills/ae-analysis/references/asset_abnormal_get.md +27 -0
- package/skills/ae-analysis/references/asset_abnormal_list.md +24 -0
- package/skills/ae-analysis/references/asset_authentication_list.md +23 -0
- package/skills/ae-analysis/references/asset_authentication_update.md +24 -0
- package/skills/ae-analysis/references/asset_recent_list.md +24 -0
- package/skills/ae-analysis/references/asset_search.md +24 -0
- package/skills/ae-analysis/references/bi_panel_get.md +5 -0
- package/skills/ae-analysis/references/bi_panel_share.md +6 -0
- package/skills/ae-analysis/references/bi_panel_update.md +4 -1
- package/skills/ae-analysis/references/bi_panel_version_get.md +23 -0
- package/skills/ae-analysis/references/bi_panel_version_publish.md +20 -0
- package/skills/ae-analysis/references/build_event_analysis_qp.md +1 -1
- package/skills/ae-analysis/references/build_funnel_analysis_qp.md +1 -1
- package/skills/ae-analysis/references/build_prop_analysis_qp.md +1 -1
- package/skills/ae-analysis/references/build_retention_analysis_qp.md +1 -1
- package/skills/ae-analysis/references/cancel_query.md +1 -1
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +6 -1
- package/skills/ae-analysis/references/dashboard_report_data_export.md +6 -0
- package/skills/ae-analysis/references/dashboard_report_data_run.md +6 -0
- package/skills/ae-analysis/references/datatable_columns_get.md +24 -0
- package/skills/ae-analysis/references/datatable_influence_list.md +24 -0
- package/skills/ae-analysis/references/datatable_version_get.md +24 -0
- package/skills/ae-analysis/references/datatable_version_list.md +24 -0
- package/skills/ae-analysis/references/drilldown_user_events.md +4 -4
- package/skills/ae-analysis/references/event_changelog_list.md +24 -0
- package/skills/ae-analysis/references/event_create.md +24 -0
- package/skills/ae-analysis/references/event_delete.md +24 -0
- package/skills/ae-analysis/references/event_get.md +24 -0
- package/skills/ae-analysis/references/event_hide_update.md +25 -0
- package/skills/ae-analysis/references/event_influence_list.md +24 -0
- package/skills/ae-analysis/references/event_list.md +23 -0
- package/skills/ae-analysis/references/event_relation_update.md +24 -0
- package/skills/ae-analysis/references/event_update.md +26 -0
- package/skills/ae-analysis/references/exchange_config_update.md +24 -0
- package/skills/ae-analysis/references/exchange_rate_refresh.md +23 -0
- package/skills/ae-analysis/references/exchange_rule_list.md +23 -0
- package/skills/ae-analysis/references/exchange_rule_update.md +24 -0
- package/skills/ae-analysis/references/exchange_rule_validate.md +24 -0
- package/skills/ae-analysis/references/folder_create.md +18 -6
- package/skills/ae-analysis/references/folder_delete.md +21 -6
- package/skills/ae-analysis/references/folder_share.md +16 -6
- package/skills/ae-analysis/references/get_analysis_query_schema.md +17 -18
- package/skills/ae-analysis/references/get_report_definition.md +1 -1
- package/skills/ae-analysis/references/list_events.md +1 -1
- package/skills/ae-analysis/references/list_metrics.md +1 -1
- package/skills/ae-analysis/references/list_properties.md +1 -1
- package/skills/ae-analysis/references/metric_create.md +24 -0
- package/skills/ae-analysis/references/metric_delete.md +24 -0
- package/skills/ae-analysis/references/metric_get.md +24 -0
- package/skills/ae-analysis/references/metric_list.md +24 -0
- package/skills/ae-analysis/references/metric_update.md +24 -0
- package/skills/ae-analysis/references/project_space_create.md +19 -5
- package/skills/ae-analysis/references/project_space_delete.md +23 -6
- package/skills/ae-analysis/references/project_space_share.md +16 -6
- package/skills/ae-analysis/references/property_changelog_list.md +25 -0
- package/skills/ae-analysis/references/property_create.md +25 -0
- package/skills/ae-analysis/references/property_delete.md +25 -0
- package/skills/ae-analysis/references/property_get.md +25 -0
- package/skills/ae-analysis/references/property_hide_update.md +26 -0
- package/skills/ae-analysis/references/property_influence_list.md +25 -0
- package/skills/ae-analysis/references/property_list.md +24 -0
- package/skills/ae-analysis/references/property_related_events.md +24 -0
- package/skills/ae-analysis/references/property_relation_update.md +25 -0
- package/skills/ae-analysis/references/property_update.md +27 -0
- package/skills/ae-analysis/references/query_adhoc.md +34 -21
- package/skills/ae-analysis/references/super_metadata_export.md +36 -0
- package/skills/ae-analysis/references/super_metadata_import.md +24 -0
- package/skills/ae-analysis/references/update_report.md +3 -3
- package/skills/ae-analysis/references/virtual_event_create.md +25 -0
- package/skills/ae-analysis/references/virtual_event_delete.md +24 -0
- package/skills/ae-analysis/references/virtual_event_get.md +24 -0
- package/skills/ae-analysis/references/virtual_property_create.md +24 -0
- package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +25 -0
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +24 -0
- package/skills/ae-capability/SKILL.md +103 -0
- package/skills/ae-community/SKILL.md +1 -1
- package/skills/ae-dataops/references/dataops-integration.md +3 -3
- package/skills/ae-engage/SKILL.md +5 -5
- package/skills/ae-generate-tracking-code/SKILL.md +16 -1
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +17 -1
- package/skills/ae-generate-tracking-plan/SKILL.md +30 -8
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +60 -8
- package/skills/ae-team/SKILL.md +1 -1
- package/skills/ae-analysis/references/folder_members.md +0 -15
- package/skills/ae-analysis/references/project_space_members.md +0 -15
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta event delete
|
|
2
|
+
|
|
3
|
+
Use when the user needs to batch delete events or virtual events.
|
|
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 delete --project-id <project_id> --event-names '{}'
|
|
11
|
+
ae-cli analysis-meta event delete --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.delete`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `event_names`.
|
|
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-names` | Yes | Event names JSON array, or a JSON string accepted by common-service. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta event get
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get one super event metadata 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 event get --project-id <project_id> --event-name <event_name>
|
|
11
|
+
ae-cli analysis-meta event get --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.get`.
|
|
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,25 @@
|
|
|
1
|
+
# analysis-meta event hide-update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to batch hide or show events.
|
|
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 hide-update --project-id <project_id> --event-names '{}' --is-hide true
|
|
11
|
+
ae-cli analysis-meta event hide-update --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.hide_update`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `event_names`, `is_hide`.
|
|
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-names` | Yes | Event names JSON array, or a JSON string accepted by common-service. |
|
|
25
|
+
| `--is-hide` | Yes | Whether to hide the events. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta event influence-list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list assets affected by event delete, hide, or update.
|
|
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 influence-list --project-id <project_id> --event-name <event_name>
|
|
11
|
+
ae-cli analysis-meta event influence-list --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.influence_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,23 @@
|
|
|
1
|
+
# analysis-meta event list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list project super events.
|
|
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 list --project-id <project_id>
|
|
11
|
+
ae-cli analysis-meta event list --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.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 event relation-update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to update event-property connection or source relations.
|
|
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 relation-update --project-id <project_id> --payload '{}'
|
|
11
|
+
ae-cli analysis-meta event relation-update --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.relation_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,26 @@
|
|
|
1
|
+
# analysis-meta event update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to update event display names and remarks.
|
|
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 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
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.event.update`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `event_name`, `event_desc`, `remark`.
|
|
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. |
|
|
25
|
+
| `--event-desc` | No | Event display name. |
|
|
26
|
+
| `--remark` | No | Event remark. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta exchange config-update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to update exchange-rate configuration switch or value.
|
|
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 exchange config-update --project-id <project_id> --config-val <config_val>
|
|
11
|
+
ae-cli analysis-meta exchange config-update --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.exchange_config.update`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `config_val`.
|
|
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
|
+
| `--config-val` | Yes | Exchange-rate configuration value. |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# analysis-meta exchange rate-refresh
|
|
2
|
+
|
|
3
|
+
Use when the user needs to refresh exchange-rate data manually.
|
|
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 exchange rate-refresh --project-id <project_id>
|
|
11
|
+
ae-cli analysis-meta exchange rate-refresh --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.exchange_rate.refresh`.
|
|
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,23 @@
|
|
|
1
|
+
# analysis-meta exchange rule-list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list exchange-rate conversion rules.
|
|
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 exchange rule-list --project-id <project_id>
|
|
11
|
+
ae-cli analysis-meta exchange rule-list --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.exchange_rule.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 exchange rule-update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to save currency field, amount field, and target currency rules.
|
|
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 exchange rule-update --project-id <project_id> --payload '{}'
|
|
11
|
+
ae-cli analysis-meta exchange rule-update --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.exchange_rule.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 exchange rule-validate
|
|
2
|
+
|
|
3
|
+
Use when the user needs to validate affected range before saving exchange-rate rules.
|
|
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 exchange rule-validate --project-id <project_id> --payload '{}'
|
|
11
|
+
ae-cli analysis-meta exchange rule-validate --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.exchange_rule.validate`.
|
|
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. |
|
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
# analysis folder create
|
|
1
|
+
# analysis folder create (L3)
|
|
2
2
|
|
|
3
|
-
Use when the user
|
|
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 `
|
|
5
|
+
Do not use to create a project space. Use `analysis.project_space.create` via capability run.
|
|
6
6
|
|
|
7
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
3
|
+
Use when the user wants to delete one or more folders.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
7
|
+
**Phase 1 — preview:**
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
10
|
-
>
|
|
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
|
|
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
|
|
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
|
|
27
|
-
> **RIGHT:** `ae-cli analysis +get_analysis_query_schema --model_type
|
|
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
|
|
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
|
|
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
|
|
42
|
-
ae-cli analysis +get_analysis_query_schema --model_type
|
|
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
|
|
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
|
|
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
|
|
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 支持模型 | 不适用 |
|
|
67
|
-
| 简单 | 不传 `--segments` | **Step 1** -
|
|
68
|
-
| 中等 | `--segments 'filter_group'` | **Step 2** -
|
|
69
|
-
| 复杂 | `--segments 'examples'` | **Step 3** -
|
|
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
|
|
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.
|
|
@@ -8,7 +8,7 @@ Domain: **Metadata Query**
|
|
|
8
8
|
|
|
9
9
|
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
10
|
|
|
11
|
-
**Not a builder pre-step:** Do not call `+list_events` before
|
|
11
|
+
**Not a builder pre-step:** Do not call `+list_events` before non-SQL ad-hoc analysis. The matching QP builder resolves event names internally. If the builder returns MCP failure, stop and ask for clarification instead of using this command as a fallback.
|
|
12
12
|
|
|
13
13
|
## Use Cases
|
|
14
14
|
- Read-only query for SYSTEM METADATA already effective in the project. Use for super events in production metadata. Do NOT use for tracking-plan metadata (bury/track program); that belongs to BuryProgramTool.
|
|
@@ -8,7 +8,7 @@ Domain: **Metadata Query**
|
|
|
8
8
|
|
|
9
9
|
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
10
|
|
|
11
|
-
**Not a builder pre-step:** Do not call `+list_metrics` before
|
|
11
|
+
**Not a builder pre-step:** Do not call `+list_metrics` before non-SQL ad-hoc analysis. The matching builder resolves referenced metrics internally; the event builder accepts a saved metric name in `metrics[].event`. If the builder fails, stop and ask for clarification instead of using this command as a fallback.
|
|
12
12
|
|
|
13
13
|
## Use Cases
|
|
14
14
|
- List metric metadata in the project. Supports keyword filtering and returns metric IDs, names, display names, model types, remarks, and related metadata, but not metric calculation results.
|
|
@@ -6,7 +6,7 @@ Domain: **Metadata Query**
|
|
|
6
6
|
|
|
7
7
|
## Constraints
|
|
8
8
|
|
|
9
|
-
**Not a builder pre-step:** Do not call `+list_properties` before
|
|
9
|
+
**Not a builder pre-step:** Do not call `+list_properties` before non-SQL ad-hoc analysis. The matching QP builder resolves property names internally. If the builder returns MCP failure, stop and ask for clarification instead of using this command as a fallback.
|
|
10
10
|
|
|
11
11
|
## Use Cases
|
|
12
12
|
- Read-only query for SYSTEM METADATA properties already effective in the project. Supports event/user scope. Do NOT use for tracking-plan metadata (bury/track program); that belongs to BuryProgramTool.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta metric create
|
|
2
|
+
|
|
3
|
+
Use when the user needs to create a metric from event or retention analysis configuration.
|
|
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 metric create --project-id <project_id> --payload '{}'
|
|
11
|
+
ae-cli analysis-meta metric create --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.metric.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. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta metric delete
|
|
2
|
+
|
|
3
|
+
Use when the user needs to delete a metric.
|
|
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 metric delete --project-id <project_id> --metric-id <metric_id>
|
|
11
|
+
ae-cli analysis-meta metric delete --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.metric.delete`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `metric_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
|
+
| `--metric-id` | Yes | Metric ID. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta metric get
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get metric definition, events, and params.
|
|
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 metric get --project-id <project_id> --metric-id <metric_id>
|
|
11
|
+
ae-cli analysis-meta metric get --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.metric.get`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `metric_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
|
+
| `--metric-id` | Yes | Metric ID. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-meta metric list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list project metrics.
|
|
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 metric list --project-id <project_id> --ignore-authentication true
|
|
11
|
+
ae-cli analysis-meta metric list --dry-run
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `metadata.metric.list`.
|
|
15
|
+
|
|
16
|
+
Input sends `project_id`, `ignore_authentication`.
|
|
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
|
+
| `--ignore-authentication` | No | Whether to skip asset authentication status decoration. |
|