@thinkingai/ae-cli 6.0.22 → 6.0.27
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/{auth-RDN6D5HU.js → auth-7TQRGLBC.js} +13 -15
- package/dist/auth-MEJ642P4.js +13 -0
- package/dist/chunk-2NDGFQHW.js +190 -0
- package/dist/{chunk-5FBLRSMU.js → chunk-7QQ4233A.js} +3 -3
- package/dist/{chunk-U6QPKCN3.js → chunk-AJTH7LT3.js} +10 -116
- package/dist/chunk-BXMXMUD7.js +254 -0
- package/dist/chunk-C4DH76LX.js +59 -0
- package/dist/chunk-GWZ5MYWE.js +209 -0
- package/dist/{chunk-E34XH4GW.js → chunk-KCA6BA5D.js} +8 -8
- package/dist/{chunk-XE2PI5DS.js → chunk-KGJQCYVC.js} +1 -1
- package/dist/chunk-LG5YT7P7.js +59 -0
- package/dist/{chunk-2W7HULUD.js → chunk-MDJGDI6K.js} +2 -2
- package/dist/{chunk-H52CSLJW.js → chunk-R77JT7XD.js} +53 -6
- package/dist/{chunk-WPXHCP4A.js → chunk-YCLVYFK7.js} +52 -9
- package/dist/{chunk-4EUZRJPO.js → chunk-YNQFYBDB.js} +102 -14
- package/dist/{chunk-YACCPUNQ.js → chunk-ZAOL36CG.js} +1 -1
- package/dist/cli-token-TVQRSE46.js +18 -0
- package/dist/{client-VTJMUZ4O.js → client-2643Z5AG.js} +3 -3
- package/dist/{config-2SDTLGOC.js → config-ZVPARN4R.js} +4 -9
- package/dist/index.js +27 -24
- package/dist/{metadata-JZ2OTWBK.js → metadata-IPSPQBX3.js} +56 -65
- package/dist/metadata-N5REJ7R7.js +411 -0
- package/dist/{model-ZYMRN4VS.js → model-T3KZJWLW.js} +2 -2
- package/dist/{raw-NGYHAL3F.js → raw-OHSUK42D.js} +4 -4
- package/dist/{sync-JVLX6TGW.js → sync-ULT5SECP.js} +3 -3
- package/dist/{te-agent-QPZTLHPH.js → te-agent-QLIVKRUN.js} +1146 -61
- package/dist/{te-analysis-WWX3Z6RP.js → te-analysis-2U5EPXQC.js} +1213 -341
- package/dist/te-analysis-QMZ2UH7F.js +2419 -0
- package/dist/{te-audience-UXGHUVBB.js → te-audience-PVMKQAFH.js} +5 -5
- package/dist/te-audience-XMRMVD2V.js +599 -0
- package/dist/{te-common-7XXH73MF.js → te-common-CFGQXTFV.js} +5 -5
- package/dist/te-common-SDB3O2QG.js +130 -0
- package/dist/{te-community-QKE67HR2.js → te-community-6A7LKYUH.js} +5 -5
- package/dist/te-community-GMWFGILT.js +687 -0
- package/dist/te-dataops-6LIPYNGH.js +1864 -0
- package/dist/{te-dataops-6W7NNYST.js → te-dataops-Z53CTG2U.js} +90 -68
- package/dist/{te-engage-NCFAQFX3.js → te-engage-AGREUOW7.js} +30 -15
- package/dist/te-engage-MIIUKY6M.js +1525 -0
- package/dist/{te-kb-K5BQYUCM.js → te-kb-KQJ53M3A.js} +4 -4
- package/dist/{te-meta-LJZBOSMO.js → te-meta-QLANJ4B4.js} +5 -5
- package/dist/te-meta-TOA6FWDE.js +595 -0
- package/dist/{te-team-DHK5R7MV.js → te-team-TQGMNHQQ.js} +5 -5
- package/package.json +3 -1
- package/skills/ae-agent/SKILL.md +158 -189
- package/skills/ae-agent/references/accept-skill-share.md +39 -0
- package/skills/ae-agent/references/add-attachment.md +57 -0
- package/skills/ae-agent/references/add-mcp.md +75 -0
- package/skills/ae-agent/references/add-model.md +70 -0
- package/skills/ae-agent/references/add-skill.md +71 -0
- package/skills/ae-agent/references/approve-skill.md +41 -0
- package/skills/ae-agent/references/attachment-stats.md +50 -0
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +57 -0
- package/skills/ae-agent/references/cancel-skill-submission.md +39 -0
- package/skills/ae-agent/references/copy-skill.md +53 -0
- package/skills/ae-agent/references/create-agent.md +71 -0
- package/skills/ae-agent/references/create-automation.md +99 -0
- package/skills/ae-agent/references/del-agent.md +38 -0
- package/skills/ae-agent/references/del-attachment.md +35 -0
- package/skills/ae-agent/references/del-mcp.md +35 -0
- package/skills/ae-agent/references/del-model.md +37 -0
- package/skills/ae-agent/references/del-skill-asset.md +41 -0
- package/skills/ae-agent/references/del-skill-reference.md +41 -0
- package/skills/ae-agent/references/del-skill-script.md +41 -0
- package/skills/ae-agent/references/del-skill.md +36 -0
- package/skills/ae-agent/references/edit-skill.md +64 -0
- package/skills/ae-agent/references/get-agent.md +37 -0
- package/skills/ae-agent/references/get-skill-content.md +36 -0
- package/skills/ae-agent/references/list-agents.md +40 -0
- package/skills/ae-agent/references/list-attachments.md +42 -0
- package/skills/ae-agent/references/list-automations.md +41 -0
- package/skills/ae-agent/references/list-mcp-credentials.md +65 -0
- package/skills/ae-agent/references/list-mcp-market.md +58 -0
- package/skills/ae-agent/references/list-mcps.md +37 -0
- package/skills/ae-agent/references/list-models.md +38 -0
- package/skills/ae-agent/references/list-skill-assets.md +35 -0
- package/skills/ae-agent/references/list-skill-market.md +59 -0
- package/skills/ae-agent/references/list-skill-references.md +36 -0
- package/skills/ae-agent/references/list-skill-scripts.md +35 -0
- package/skills/ae-agent/references/list-skill-shares.md +49 -0
- package/skills/ae-agent/references/list-skill-submissions.md +45 -0
- package/skills/ae-agent/references/list-skills.md +37 -0
- package/skills/ae-agent/references/mcp-auth-disconnect.md +50 -0
- package/skills/ae-agent/references/mcp-auth-start.md +61 -0
- package/skills/ae-agent/references/mcp-auth-status.md +56 -0
- package/skills/ae-agent/references/mcp-stats.md +68 -0
- package/skills/ae-agent/references/mcp-token.md +63 -0
- package/skills/ae-agent/references/mcp-tools.md +55 -0
- package/skills/ae-agent/references/read-skill-asset.md +51 -0
- package/skills/ae-agent/references/read-skill-reference.md +50 -0
- package/skills/ae-agent/references/read-skill-script.md +51 -0
- package/skills/ae-agent/references/reject-skill-share.md +37 -0
- package/skills/ae-agent/references/reject-skill.md +42 -0
- package/skills/ae-agent/references/rescan-skills.md +44 -0
- package/skills/ae-agent/references/set-mcp-credential.md +67 -0
- package/skills/ae-agent/references/set-mcp-meta.md +52 -0
- package/skills/ae-agent/references/set-skill-meta.md +51 -0
- package/skills/ae-agent/references/share-skill.md +50 -0
- package/skills/ae-agent/references/submit-skill.md +51 -0
- package/skills/ae-agent/references/test-model.md +61 -0
- package/skills/ae-agent/references/toggle-mcp.md +39 -0
- package/skills/ae-agent/references/toggle-model.md +37 -0
- package/skills/ae-agent/references/toggle-skill.md +37 -0
- package/skills/ae-agent/references/update-agent.md +71 -0
- package/skills/ae-agent/references/update-automation.md +83 -0
- package/skills/ae-agent/references/update-mcp.md +79 -0
- package/skills/ae-agent/references/update-model.md +77 -0
- package/skills/ae-agent/references/upload-skill-asset.md +49 -0
- package/skills/ae-agent/references/upload-skill-reference.md +51 -0
- package/skills/ae-agent/references/upload-skill-script.md +49 -0
- package/skills/ae-agent/references/upload-skill.md +89 -0
- package/skills/ae-analysis/SKILL.md +53 -25
- package/skills/ae-analysis/references/analysis_gateway_assets.md +129 -0
- package/skills/ae-analysis/references/artifact_download.md +17 -0
- package/skills/ae-analysis/references/bi_panel_copy.md +15 -0
- package/skills/ae-analysis/references/bi_panel_create.md +15 -0
- package/skills/ae-analysis/references/bi_panel_delete.md +15 -0
- package/skills/ae-analysis/references/bi_panel_get.md +18 -0
- package/skills/ae-analysis/references/bi_panel_list.md +15 -0
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +25 -0
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +15 -0
- package/skills/ae-analysis/references/bi_panel_share.md +15 -0
- package/skills/ae-analysis/references/bi_panel_update.md +15 -0
- package/skills/ae-analysis/references/dashboard_abnormal_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_copy.md +17 -0
- package/skills/ae-analysis/references/dashboard_create.md +15 -0
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +17 -0
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +17 -0
- package/skills/ae-analysis/references/dashboard_definition_export.md +33 -0
- package/skills/ae-analysis/references/dashboard_definition_import.md +15 -0
- package/skills/ae-analysis/references/dashboard_delete.md +15 -0
- package/skills/ae-analysis/references/dashboard_freeze.md +15 -0
- package/skills/ae-analysis/references/dashboard_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_handover.md +15 -0
- package/skills/ae-analysis/references/dashboard_list.md +15 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +25 -0
- package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -0
- package/skills/ae-analysis/references/dashboard_share.md +15 -0
- package/skills/ae-analysis/references/dashboard_share_info.md +15 -0
- package/skills/ae-analysis/references/dashboard_task_status.md +15 -0
- package/skills/ae-analysis/references/dashboard_update.md +16 -0
- package/skills/ae-analysis/references/favorite_add.md +15 -0
- package/skills/ae-analysis/references/favorite_remove.md +15 -0
- package/skills/ae-analysis/references/folder_create.md +15 -0
- package/skills/ae-analysis/references/folder_delete.md +15 -0
- package/skills/ae-analysis/references/folder_members.md +15 -0
- package/skills/ae-analysis/references/folder_share.md +15 -0
- package/skills/ae-analysis/references/project_space_create.md +15 -0
- package/skills/ae-analysis/references/project_space_delete.md +15 -0
- package/skills/ae-analysis/references/project_space_get.md +18 -0
- package/skills/ae-analysis/references/project_space_list.md +15 -0
- package/skills/ae-analysis/references/project_space_members.md +15 -0
- package/skills/ae-analysis/references/project_space_share.md +15 -0
- package/skills/ae-analysis/references/public_link_create.md +15 -0
- package/skills/ae-analysis/references/public_link_delete.md +15 -0
- package/skills/ae-analysis/references/public_link_list.md +15 -0
- package/skills/ae-analysis/references/public_link_offline.md +15 -0
- package/skills/ae-analysis/references/public_link_update.md +15 -0
- package/skills/ae-analysis/references/query_cancel.md +15 -0
- package/skills/ae-analysis/references/run_inspect.md +22 -0
- package/skills/ae-dataops/references/dataops-flow-create.md +2 -2
- package/skills/ae-dataops/references/dataops-flow-monitor.md +3 -3
- package/skills/ae-dataops/references/dataops-integration.md +1 -0
- package/skills/ae-engage/references/flow-node-config-schema.md +32 -8
- package/skills/ae-engage/references/save-flow.md +65 -29
- package/skills/ae-engage/references/validate-flow-node-config.md +28 -10
- package/skills/ae-generate-tracking-plan/SKILL.md +9 -7
- package/skills/ae-metadata/references/metadata_data_table_csv_write.md +5 -3
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +5 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +5 -3
- package/dist/auth-I2G7OAU2.js +0 -19
- package/dist/chunk-FPE5LGVU.js +0 -105
- package/dist/cli-token-6AGEDJF4.js +0 -14
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard get
|
|
2
|
+
|
|
3
|
+
Use when the user needs one dashboard detail, including basic metadata such as creator and create/update time, settings, reports, notes, and sharing information.
|
|
4
|
+
|
|
5
|
+
Do not use to query report result data. Use `dashboard-report-data run` or `dashboard-report-data export`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard get --project-id <project_id> --dashboard-id <dashboard_id> [--use-cache true]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and optional `use_cache`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the dashboard detail returned by the capability gateway.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard handover
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to transfer one or more dashboards to another project user.
|
|
4
|
+
|
|
5
|
+
Do not use to share dashboards without ownership transfer. Use `dashboard share`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard handover --project-id <project_id> --dashboard-ids '[1001,1002]' --to-user-id <user_id> --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_ids`, and `to_user_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the handover result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to find dashboards they can access, with optional keyword, owner, permission, favorite, or projection filters supported by the gateway payload.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboard report data. Use `dashboard-report-data run` or `dashboard-report-data export` instead.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard list --project-id <project_id> [--query <keyword>] [--fields '["id","name"]'] [--limit 20] [--offset 0]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input uses `project_id` plus optional `query`, `fields`, `limit`, `offset`. Use `--payload` only when the dedicated gateway contract requires extra snake_case filters.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains dashboard summaries and paging metadata when returned by the gateway.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# analysis dashboard-report-data export
|
|
2
|
+
|
|
3
|
+
Use for dashboard report data queries that may be large or long-running.
|
|
4
|
+
|
|
5
|
+
Do not use when the user needs a tiny immediate preview. Use `dashboard-report-data run` with a small `--limit`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-report-data export --project-id <project_id> --dashboard-id <dashboard_id> [--report-ids '[1,2]'] [--filters '{...}'] [--start-time <time>] [--end-time <time>] [--artifact-format jsonl]
|
|
11
|
+
```
|
|
12
|
+
|
|
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
|
+
|
|
15
|
+
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
|
+
|
|
17
|
+
Follow-up workflow:
|
|
18
|
+
|
|
19
|
+
1. Save `data.run_id` and `data.artifact_id` from the export response.
|
|
20
|
+
2. Poll status with `ae-cli analysis run inspect --run-id <run_id>`.
|
|
21
|
+
3. Continue polling while status is running or pending. Treat `COMPLETED` or `SUCCEEDED` as success, and `FAILED`, `CANCELED`, or `CANCELLED` as terminal failure.
|
|
22
|
+
4. On success, download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
|
|
23
|
+
5. If the export is no longer needed, cancel with `ae-cli analysis query cancel --run-id <run_id> --yes`.
|
|
24
|
+
|
|
25
|
+
Do not write custom Python/curl for polling or download unless the CLI command itself is unavailable.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard-report-data run
|
|
2
|
+
|
|
3
|
+
Use for bounded inline dashboard report data queries when the expected result is small enough for immediate JSON output.
|
|
4
|
+
|
|
5
|
+
Do not use for large or long-running result sets. Use `dashboard-report-data export`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-report-data run --project-id <project_id> --dashboard-id <dashboard_id> [--report-ids '[1,2]'] [--filters '{...}'] [--start-time <time>] [--end-time <time>] [--limit 100] [--timeout-seconds 60]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `limit`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains bounded inline report data.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard share
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to add, remove, or batch modify dashboard sharing.
|
|
4
|
+
|
|
5
|
+
Do not use to read sharing only. Use `dashboard share-info`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard share --project-id <project_id> --dashboard-id <dashboard_id> [--member-authorities '{...}'] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and either `member_authorities` or a backend-compatible snake_case `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the share update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard share-info
|
|
2
|
+
|
|
3
|
+
Use when the user needs to inspect a dashboard's current sharing configuration.
|
|
4
|
+
|
|
5
|
+
Do not use to modify sharing. Use `dashboard share`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard share-info --project-id <project_id> --dashboard-id <dashboard_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `dashboard_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains dashboard sharing members and permissions.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard task-status
|
|
2
|
+
|
|
3
|
+
Use when the user needs scheduled task status for a dashboard.
|
|
4
|
+
|
|
5
|
+
Do not use to update daily report configuration. Use `dashboard-daily-report update`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard task-status --project-id <project_id> --dashboard-id <dashboard_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `dashboard_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains scheduled task status.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# analysis dashboard update
|
|
2
|
+
|
|
3
|
+
Use when the user wants to update dashboard settings in batch or upsert a dashboard note.
|
|
4
|
+
|
|
5
|
+
Do not use for moving/copying dashboards. Use `dashboard copy`, `dashboard handover`, or the relevant project-space/folder command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-ids '[1001,1002]' [--zone-offset 8] [--payload '{...}'] --yes
|
|
11
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation note-upsert --dashboard-id <dashboard_id> [--note-id <note_id>] [--note-title <title>] [--description <text>] --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Input sends `project_id`, `operation`, optional dashboard identifiers, setting fields (including `zone_offset` as hours, e.g. `8` for UTC+8), note fields, and optional `payload`.
|
|
15
|
+
|
|
16
|
+
Output is the gateway envelope. `data` contains the update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis favorite add
|
|
2
|
+
|
|
3
|
+
Use when the user wants to favorite one dashboard, BI panel, or folder.
|
|
4
|
+
|
|
5
|
+
Do not use for sharing or moving assets.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis favorite add --project-id <project_id> [--asset-id <id>] [--asset-type dashboard|bi_panel|folder] [--space-id <space_id>] [--id <backend_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and asset identity fields or backend-compatible `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the favorite result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis favorite remove
|
|
2
|
+
|
|
3
|
+
Use when the user wants to remove favorite from one dashboard, BI panel, or folder.
|
|
4
|
+
|
|
5
|
+
Do not use to delete the asset itself.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis favorite remove --project-id <project_id> [--asset-id <id>] [--asset-type dashboard|bi_panel|folder] [--space-id <space_id>] [--id <backend_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and asset identity fields or backend-compatible `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the remove-favorite result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis folder create
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to create a folder in personal space or a project space.
|
|
4
|
+
|
|
5
|
+
Do not use to create a project space. Use `project-space create`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
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
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `folder_name`, and optional `space_id`, `parent_folder_id`, `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the created folder result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis folder delete
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to delete one or more folders.
|
|
4
|
+
|
|
5
|
+
Do not use for deleting dashboards or BI panels inside a folder. Use the asset delete command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
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
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, either `folder_id` or `folder_ids`, and optional `space_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the delete result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis folder members
|
|
2
|
+
|
|
3
|
+
Use when the user needs to inspect folder members.
|
|
4
|
+
|
|
5
|
+
Do not use to modify members. Use `folder share`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis folder members --project-id <project_id> --folder-id <folder_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `folder_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains folder members.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis folder share
|
|
2
|
+
|
|
3
|
+
Use when the user wants to add, remove, or batch modify folder sharing members.
|
|
4
|
+
|
|
5
|
+
Do not use to inspect members only. Use `folder members`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis folder share --project-id <project_id> --folder-id <folder_id> [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `folder_id`, and backend-compatible snake_case `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the share update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis project-space create
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to create a project space.
|
|
4
|
+
|
|
5
|
+
Do not use to create folders inside a space. Use `folder create`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space create --project-id <project_id> [--space-name <name>] [--space-desc <text>] [--avatar-type <type>] [--color-key <key>] [--avatar <value>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` plus optional space metadata and `payload`. `avatar_type` defaults to `1` (word avatar) when omitted. When using `--payload`, put custom avatar fields in the payload or pass explicit top-level flags.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the created project-space result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis project-space delete
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to delete one or more project spaces.
|
|
4
|
+
|
|
5
|
+
Do not use for removing dashboard or folder membership. Use the matching resource command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space delete --project-id <project_id> [--space-id <space_id>] [--space-ids '[1,2]'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and either `space_id` or `space_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the delete result.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# analysis project-space get
|
|
2
|
+
|
|
3
|
+
Use when the user needs one project space detail or name.
|
|
4
|
+
|
|
5
|
+
Do not use to list all spaces. Use `project-space list`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space get --project-id <project_id> --space-id <space_id> [--fields '["spaceId","spaceName"]']
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `space_id`, and optional `fields`.
|
|
14
|
+
|
|
15
|
+
Supported fields are `spaceId`, `spaceName`, `spaceDesc`, `avatarType`, `colorKey`, `avatar`,
|
|
16
|
+
`allAuthUserAuthority`, `createTime`, `updateTime`, and `owner`.
|
|
17
|
+
|
|
18
|
+
Output is the gateway envelope. `data` contains project-space detail with snake_case field names.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis project-space list
|
|
2
|
+
|
|
3
|
+
Use when the user needs project spaces they can access.
|
|
4
|
+
|
|
5
|
+
Do not use for project lookup or project ID verification. Use `analysis_common +list_projects`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space list --project-id <project_id> [--query <keyword>] [--fields '["id","name"]'] [--limit 20] [--offset 0]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and optional `query`, `fields`, `limit`, `offset`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains project-space summaries.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis project-space members
|
|
2
|
+
|
|
3
|
+
Use when the user needs to inspect project-space members.
|
|
4
|
+
|
|
5
|
+
Do not use to modify members. Use `project-space share`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space members --project-id <project_id> --space-id <space_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `space_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains project-space members.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis project-space share
|
|
2
|
+
|
|
3
|
+
Use when the user wants to add, remove, or batch modify project-space sharing members.
|
|
4
|
+
|
|
5
|
+
Do not use to inspect members only. Use `project-space members`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis project-space share --project-id <project_id> --space-id <space_id> [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `space_id`, and backend-compatible snake_case `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the share update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis public-link create
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to generate a public link for a dashboard or BI panel.
|
|
4
|
+
|
|
5
|
+
Do not use for internal resource URLs. Use `analysis_common +get_resource_url` when applicable.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis public-link create --project-id <project_id> --resource-type dashboard --resource-id <id> --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00" [--access-controls '{...}'] [--remark <text>] [--company-id <company_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `resource_type`, `resource_id`, `effective_at`, `expires_at`, and optional public-link fields.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the generated public-link result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis public-link delete
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to delete one or more public links.
|
|
4
|
+
|
|
5
|
+
Do not use to temporarily stop access while keeping records. Use `public-link offline`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis public-link delete --project-id <project_id> [--link-id <link_id>] [--link-ids '[1,2]'] [--company-id <company_id>] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, optional `company_id`, and either `link_id` or `link_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the delete result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis public-link list
|
|
2
|
+
|
|
3
|
+
Use when the user needs public links in a project.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboard or BI panel asset listing. Use the matching list command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis public-link list --project-id <project_id> [--query <keyword>] [--fields '["id","resource_id"]'] [--limit 20] [--offset 0]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and optional `query`, `fields`, `limit`, `offset`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains public-link summaries.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis public-link offline
|
|
2
|
+
|
|
3
|
+
Use when the user wants to take one or more public links offline without deleting records.
|
|
4
|
+
|
|
5
|
+
Do not use to permanently delete links. Use `public-link delete`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis public-link offline --project-id <project_id> [--link-id <link_id>] [--link-ids '[1,2]'] [--company-id <company_id>] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, optional `company_id`, and either `link_id` or `link_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the offline result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis public-link update
|
|
2
|
+
|
|
3
|
+
Use when the user wants to edit an existing public link.
|
|
4
|
+
|
|
5
|
+
Do not use to take a link offline. Use `public-link offline`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis public-link update --project-id <project_id> --link-id <link_id> --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00" [--access-controls '{...}'] [--remark <text>] [--company-id <company_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `link_id`, effective/expiration time, and optional public-link fields.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis query cancel
|
|
2
|
+
|
|
3
|
+
Use to cancel an async capability-gateway query or export by `run_id`.
|
|
4
|
+
|
|
5
|
+
Do not use for MCP query cancellation by `request_id`; use `analysis +cancel_query`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis query cancel --run-id <run_id> [--reason <reason>] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `run_id` and optional `reason`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the cancellation result.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# analysis run inspect
|
|
2
|
+
|
|
3
|
+
Use after an export command returns `run_id`.
|
|
4
|
+
|
|
5
|
+
Do not use for MCP query cancellation or old `request_id` lifecycle. This is only for capability-gateway export `run_id`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `run_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains run status, artifact status, and error fields when the run failed.
|
|
16
|
+
|
|
17
|
+
Polling rule:
|
|
18
|
+
|
|
19
|
+
- Continue polling while status is running or pending.
|
|
20
|
+
- Treat `COMPLETED` or `SUCCEEDED` as success.
|
|
21
|
+
- Treat `FAILED`, `CANCELED`, or `CANCELLED` as terminal failure.
|
|
22
|
+
- After success, download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
|
|
@@ -120,7 +120,7 @@ ae-cli dataops_operations +get_flow_instance_detail --spaceCode "${spaceCode}" \
|
|
|
120
120
|
--flowCode ${flowCode} --flowInstanceId ${flowInstanceId}
|
|
121
121
|
ae-cli dataops_operations +get_task_instance_detail --spaceCode "${spaceCode}" \
|
|
122
122
|
--flowCode ${flowCode} --flowInstanceId ${flowInstanceId} \
|
|
123
|
-
--
|
|
123
|
+
--taskInstanceId ${taskInstanceId} --includeLog true
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
---
|
|
@@ -139,7 +139,7 @@ ae-cli dataops_operations +get_task_instance_detail --spaceCode "${spaceCode}" \
|
|
|
139
139
|
| `+get_task_params` | View DEV task parameter list | `--spaceCode` `--flowCode` `--taskCode` |
|
|
140
140
|
| `+execute_flow` | Manual PROD execution | `--spaceCode` `--flowCode` `[--baseDate]` |
|
|
141
141
|
| `dataops_operations +get_flow_instance_detail` | View operations instance DAG and task statuses | `--spaceCode` `--flowCode` `--flowInstanceId` |
|
|
142
|
-
| `dataops_operations +get_task_instance_detail` | View operations task detail and optional logs | `--spaceCode` `--flowCode` `--flowInstanceId` (`--taskCode` or `--taskName`) `[--includeLog]` |
|
|
142
|
+
| `dataops_operations +get_task_instance_detail` | View operations task detail and optional logs | `--spaceCode` `--flowCode` `--flowInstanceId` (`--taskInstanceId` or `--taskCode` or `--taskName`) `[--includeLog]` |
|
|
143
143
|
| `+preview_release_flow` | Preview pending DEV-to-PROD release changes without publishing | `--spaceCode` `--flowCode` |
|
|
144
144
|
| `+release_flow` | Submit DEV-to-PROD release | `--spaceCode` `--flowCode` |
|
|
145
145
|
|
|
@@ -55,7 +55,7 @@ ae-cli dataops_operations +get_flow_instance_detail --spaceCode "${spaceCode}" \
|
|
|
55
55
|
# Step 2: View task detail and logs
|
|
56
56
|
ae-cli dataops_operations +get_task_instance_detail --spaceCode "${spaceCode}" \
|
|
57
57
|
--flowCode ${flowCode} --flowInstanceId ${flowInstanceId} \
|
|
58
|
-
--
|
|
58
|
+
--taskInstanceId ${taskInstanceId} --includeLog true
|
|
59
59
|
|
|
60
60
|
# Step 3: Re-execute after fixing
|
|
61
61
|
ae-cli dataops_flow +execute_flow --spaceCode "${spaceCode}" \
|
|
@@ -105,7 +105,7 @@ ae-cli dataops_flow +get_flow_overview --spaceCode "${spaceCode}" \
|
|
|
105
105
|
| `+execute_flow` | Manual PROD execution | `--spaceCode` `--flowCode` `[--baseDate]` |
|
|
106
106
|
| `dataops_operations +search_flow_instances` | Search operations workflow instances | `--spaceCode` `[--keyword]` `[--startDate]` `[--endDate]` `[--status]` `[--pageNum]` `[--pageSize]` |
|
|
107
107
|
| `dataops_operations +get_flow_instance_detail` | Operations instance DAG and task statuses | `--spaceCode` `--flowCode` `--flowInstanceId` |
|
|
108
|
-
| `dataops_operations +get_task_instance_detail` | Operations task detail and optional logs | `--spaceCode` `--flowCode` `--flowInstanceId` (`--taskCode` or `--taskName`) `[--includeLog]` |
|
|
108
|
+
| `dataops_operations +get_task_instance_detail` | Operations task detail and optional logs | `--spaceCode` `--flowCode` `--flowInstanceId` (`--taskInstanceId` or `--taskCode` or `--taskName`) `[--includeLog]` |
|
|
109
109
|
| `dataops_operations +stop_flow_instance` | Stop a running execution | `--spaceCode` `--flowCode` exactly one of `--executeId` or `--flowInstanceId` |
|
|
110
110
|
| `+get_task_params` | DEV task parameter list | `--spaceCode` `--flowCode` `--taskCode` |
|
|
111
111
|
| `+update_flow` | Update DEV workflow name and/or remark | `--spaceCode` `--flowCode` `[--flowName]` `[--remark]` |
|
|
@@ -118,7 +118,7 @@ ae-cli dataops_flow +get_flow_overview --spaceCode "${spaceCode}" \
|
|
|
118
118
|
- **Flow update**: `+update_flow` requires `--spaceCode`, `--flowCode`, and at least one of `--flowName` or `--remark`. It returns `action/result/status`; `result` is an array with items containing `flowCode`, `operationStatus`, `nameChanged`, and optional `flowName`.
|
|
119
119
|
- **High-frequency release flows**: `+list_high_frequency_release_flows` requires `--spaceCode`; `--days`, `--topN`, `--minCount`, and `--status` are optional. Defaults are `days=30`, `topN=10`, and `status=SUCCESS`. It returns `period`, `filters`, `flows`, `returnedCount`, and `nextAction`; flow items include `rank`, `flowCode`, `flowName`, `releaseCount`, `lastReleaseTime`, and `avgIntervalHours`.
|
|
120
120
|
- **Operations instance search**: `dataops_operations +search_flow_instances` requires `--spaceCode`; `--keyword`, `--startDate`, `--endDate`, `--status`, `--pageNum`, and `--pageSize` are optional. `--keyword` fuzzy-matches `flowName` or `flowCode`. `pageNum` defaults to `1`; `pageSize` defaults to `20` and maxes at `100`. It returns `totalCount`, `returnedCount`, `pageNum`, `pageSize`, `hasMore`, `instances`, `statusCounts`, `triggerTypeCounts`, and `ownerCounts`.
|
|
121
|
-
- **Task instance detail**: `dataops_operations +get_task_instance_detail` requires `--spaceCode`, `--flowCode`, `--flowInstanceId`, and
|
|
121
|
+
- **Task instance detail**: `dataops_operations +get_task_instance_detail` requires `--spaceCode`, `--flowCode`, `--flowInstanceId`, and one selector: `--taskInstanceId`, `--taskCode`, or exact `--taskName`. Prefer `--taskInstanceId` because retries can create multiple instances with the same task code/name. `--includeLog` is optional and defaults to `false`. It returns `success`, `flowInstanceId`, `taskCode`, `taskName`, `taskInstanceId`, `status`, `task`, `taskInstance`, `definition`, and `log` only when requested.
|
|
122
122
|
- **env**: `DEV` (development) | `PROD` (production, instance list defaults to PROD)
|
|
123
123
|
- **flow list paging**: `+list_flows` requires `--spaceCode`; `--keyword`, `--pageNum`, and `--pageSize` are optional. It returns `flows`, `totalCount`, `returnedCount`, `pageNum`, `pageSize`, and `hasMore`; flow items include `latestProductionInstance` only when available. `pageSize` defaults to `20` and maxes at `100`.
|
|
124
124
|
- **Task parameters**: `+get_task_params` requires `--spaceCode`, `--flowCode`, and `--taskCode`; it has no optional flags. It queries DEV and returns `data` as an array. Items include fields such as `paramKey`, `paramType`, `paramDataType`, `paramFrom`, and built-in flags like `isBd`.
|
|
@@ -18,6 +18,7 @@ Use the `dataops_integration` subcommand to manage datasources and sync solution
|
|
|
18
18
|
- sourceConfig/sinkConfig/channelConfig/fieldsMapping are all JSON strings
|
|
19
19
|
- Sync solution updates are not partial patches: call `+get_sync_detail --withParams true` first, then submit complete sourceConfig and sinkConfig JSON. Pass channelConfig and fieldsMapping when keeping or updating them
|
|
20
20
|
- Test datasource connection before creating sync solution
|
|
21
|
+
- `sinkConfig.dataSaveMode` codes are fixed: `1 = APPEND_DATA` (insert/append new data; UI label `插入新数据`), `2 = OVERWRITE` (`DROP_DATA`; UI label `覆盖写入`). Never describe `dataSaveMode=1` as overwrite; use `2` for overwrite.
|
|
21
22
|
|
|
22
23
|
---
|
|
23
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ae-engage +flow_node_config_schema
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
Query the configuration schema for
|
|
4
|
+
Query the configuration schema for one flow node type before constructing a `save_flow` node config.
|
|
5
5
|
|
|
6
6
|
Mapped command: `ae-cli engage +flow_node_config_schema`
|
|
7
7
|
|
|
@@ -9,13 +9,34 @@ Mapped command: `ae-cli engage +flow_node_config_schema`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--node_type` | string | Yes | node type |
|
|
12
|
+
| `--node_type` | string | Yes | Flow node type |
|
|
13
|
+
|
|
14
|
+
## When To Use
|
|
15
|
+
|
|
16
|
+
Call this before writing any non-trivial `save_flow` `nodes[].config` or `nodeConfigs[].config`. The response is the source of truth for:
|
|
17
|
+
|
|
18
|
+
- `required` and `conditional_required` fields
|
|
19
|
+
- defaulted fields that can be omitted from draft input
|
|
20
|
+
- enum values and allowed modes
|
|
21
|
+
- `minimal_valid`, `full_valid`, and `common_invalid` examples
|
|
22
|
+
- submit-time requirements for stricter `save_submit_flow` validation
|
|
23
|
+
|
|
24
|
+
Do not use this command to build an old full `FlowSaveReqDTO`, `nodeList`, or `edgeList`. `save_flow` uses compact `nodes` / `edges`.
|
|
25
|
+
|
|
26
|
+
## Recent Save Flow Notes
|
|
27
|
+
|
|
28
|
+
- `event_trigger` supports `targetUserType=1` custom and `targetUserType=3` all users; existing cluster `targetUserType=2` is not supported for this node.
|
|
29
|
+
- `event_trigger` and `event_judge` A-segment trigger rules are non-branch rules and use `periodStart`, `periodEnd`, and `periodTimeSymbol`.
|
|
30
|
+
- `event_split_flow` branch rules use `delayTime` and `delayTimeSymbol`; `branchType=1` also needs `targetClusterType`, and non-all-user branches need `clusterKey`.
|
|
31
|
+
- Push nodes default `processType=1`, `enableChannelTouchLimits=0`, and `isOccasionUp=false`.
|
|
32
|
+
- The validator normalizes compatible inputs before schema validation: apostrophe-prefixed field aliases, case-insensitive property aliases, `enableChannelTouchLimits` booleans, string `"0"`/`"1"` QP relations inside `targetClusterQp`, and `clusterPredictCount: null`.
|
|
33
|
+
- For push nodes, `contentList[].content` should be a JSON array; the validator also accepts a JSON-stringified array for compatibility. For push `OBJ_ARRAY` params, `value` must still be a JSON array and `objArray` must be copied from `query_channel_detail data.config.paramsList[].objArray`.
|
|
13
34
|
|
|
14
35
|
## Enum Notes
|
|
15
36
|
|
|
16
37
|
### `--node_type`
|
|
17
38
|
|
|
18
|
-
|
|
39
|
+
Schema-backed node types include:
|
|
19
40
|
|
|
20
41
|
- `single_trigger`
|
|
21
42
|
- `repeat_trigger`
|
|
@@ -25,15 +46,10 @@ Common node types include:
|
|
|
25
46
|
- `message_push`
|
|
26
47
|
- `wechat_push`
|
|
27
48
|
- `webhook_push`
|
|
28
|
-
- `config_push`
|
|
29
|
-
- `tag`
|
|
30
49
|
- `time_control`
|
|
31
50
|
- `feature_split_flow`
|
|
32
51
|
- `event_split_flow`
|
|
33
|
-
- `trigger_prop_split_flow`
|
|
34
|
-
- `percent_split_flow`
|
|
35
52
|
- `ab_split_flow`
|
|
36
|
-
- `race_split_flow`
|
|
37
53
|
- `exit_flow`
|
|
38
54
|
|
|
39
55
|
## Examples
|
|
@@ -41,3 +57,11 @@ Common node types include:
|
|
|
41
57
|
```bash
|
|
42
58
|
ae-cli engage +flow_node_config_schema --node_type message_push
|
|
43
59
|
```
|
|
60
|
+
|
|
61
|
+
Typical flow:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
ae-cli engage +flow_node_config_schema --node_type event_trigger
|
|
65
|
+
ae-cli engage +validate_flow_node_config \
|
|
66
|
+
--node_type event_trigger --operation_mode save_flow --config '<config-json-string>'
|
|
67
|
+
```
|