@thinkingai/ae-cli 6.0.37 → 6.0.39
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/README.md +25 -3
- package/README.zh.md +25 -3
- package/dist/{auth-56Z45UVR.js → auth-GDV3H5I4.js} +18 -8
- package/dist/{auth-ENM3FE6L.js → auth-NN55553T.js} +3 -3
- package/dist/{capability-2H6PAOA3.js → capability-TPORIKRQ.js} +19 -15
- package/dist/{capability-YPOQX6PL.js → capability-VQNC5CF7.js} +19 -15
- package/dist/chunk-4NN5IWVN.js +26 -0
- package/dist/{chunk-DB4Q3ANU.js → chunk-6A2FUCIS.js} +3 -3
- package/dist/{chunk-PVBYJWC2.js → chunk-7KQWSBSL.js} +4 -4
- package/dist/{chunk-24BAVOX3.js → chunk-AXDXJTPC.js} +3 -1
- package/dist/{chunk-CPVTECJ3.js → chunk-DT6Y3TD7.js} +5 -5
- package/dist/{chunk-EGEIXA2Z.js → chunk-DWO43OIB.js} +0 -248
- package/dist/{chunk-V6FR6WTW.js → chunk-GJJA4CQZ.js} +34 -2
- package/dist/{chunk-RGXCNC4N.js → chunk-GS2P7LFD.js} +50 -17
- package/dist/{chunk-LYVNONC4.js → chunk-JHENBQ5B.js} +35 -0
- package/dist/{chunk-3P3562ZX.js → chunk-MVDZ7DBQ.js} +5 -5
- package/dist/{chunk-LCXU3AAT.js → chunk-NBPKWKRA.js} +2 -2
- package/dist/{chunk-HQ2A7ITL.js → chunk-RBNKI5ZW.js} +50 -17
- package/dist/{chunk-LHVM35J4.js → chunk-TS6BUGUY.js} +4 -4
- package/dist/chunk-TUKQZTMI.js +250 -0
- package/dist/{chunk-J7MZHDHQ.js → chunk-VKD5WQKN.js} +5 -5
- package/dist/{chunk-3KI3RRXX.js → chunk-VTXHDCBW.js} +3 -3
- package/dist/{chunk-KTYR3U6D.js → chunk-YTG6Q75E.js} +10 -6
- package/dist/{chunk-IR4ZLVPW.js → chunk-YV52FB5G.js} +25 -3
- package/dist/{chunk-E7UXXHO3.js → chunk-Z3OXWCIA.js} +3 -3
- package/dist/{cli-token-4SBMXAUK.js → cli-token-GL5MS5FK.js} +4 -4
- package/dist/{client-PP5FETMW.js → client-DAIPF7XN.js} +4 -4
- package/dist/{community-report-client-KK2QBANO.js → community-report-client-M2RW4MXD.js} +2 -2
- package/dist/config-4VZNLBKF.js +489 -0
- package/dist/index.js +96 -37
- package/dist/memory-RWJW4XFO.js +892 -0
- package/dist/memory-VO2ZJCRT.js +892 -0
- package/dist/{metadata-JIQ77HFY.js → metadata-YGTHR2XJ.js} +8 -8
- package/dist/{metadata-AN3YFZEV.js → metadata-ZRN2GHPN.js} +8 -8
- package/dist/{model-JASQVOFD.js → model-CLUIK3K5.js} +7 -5
- package/dist/{raw-XJCAT3HX.js → raw-52B4UKO4.js} +8 -7
- package/dist/sync-3REDHGY6.js +10259 -0
- package/dist/{te-agent-JHUG6DVV.js → te-agent-XNPELAKX.js} +580 -84
- package/dist/{te-analysis-IWQZO423.js → te-analysis-GJI5FZUL.js} +1611 -25
- package/dist/{te-analysis-X222IRYR.js → te-analysis-N2BRDJZ5.js} +1611 -25
- package/dist/{te-community-QOYIYEJI.js → te-community-SQXKE5OO.js} +7 -7
- package/dist/{te-community-UFKI6ONP.js → te-community-TYSNU3NQ.js} +7 -7
- package/dist/{te-dataops-PZQ5NQLY.js → te-dataops-5TM7WZDI.js} +370 -189
- package/dist/{te-dataops-XTWVTJCA.js → te-dataops-OWIADNSM.js} +370 -189
- package/dist/{te-engage-NLZUPSBK.js → te-engage-F7V55KVW.js} +333 -105
- package/dist/{te-engage-E7F4HTXU.js → te-engage-FMYAYCNV.js} +333 -105
- package/dist/{te-kb-E7NSCBRB.js → te-kb-VRMEY3D4.js} +6 -6
- package/dist/{te-meta-GBDTMPEL.js → te-meta-53BVXPFI.js} +7 -7
- package/dist/{te-meta-ZTLTSHXC.js → te-meta-TOCBPBXI.js} +7 -7
- package/dist/{te-system-AH7DMCAQ.js → te-system-XGS5EQIQ.js} +4 -4
- package/dist/{te-team-BQ3SKSZV.js → te-team-BZRDV2CM.js} +7 -7
- package/dist/{update-DKG6UXEM.js → update-HEDXGOJH.js} +8 -6
- package/package.json +5 -2
- package/skills/ae-agent/SKILL.md +178 -16
- package/skills/ae-agent/references/add-skill.md +22 -10
- package/skills/ae-agent/references/edit-skill.md +24 -14
- package/skills/ae-agent/references/find-archived-conversations.md +82 -0
- package/skills/ae-agent/references/restore-conversation.md +54 -0
- package/skills/ae-agent/references/upload-skill.md +24 -14
- package/skills/ae-analysis/SKILL.md +1 -1
- package/skills/ae-analysis/references/command_index.md +109 -42
- package/skills/ae-analysis/references/debug_data_list.md +28 -0
- package/skills/ae-analysis/references/debug_device_add.md +23 -0
- package/skills/ae-analysis/references/debug_device_list.md +19 -0
- package/skills/ae-analysis/references/debug_device_select.md +22 -0
- package/skills/ae-analysis/references/entity_id_import_options.md +1 -1
- package/skills/ae-analysis/references/plan_sync_display_names.md +28 -0
- package/skills/ae-analysis/references/project_access_detail_get.md +3 -3
- package/skills/ae-analysis/references/project_data_power_delete.md +3 -3
- package/skills/ae-analysis/references/project_data_power_get.md +3 -3
- package/skills/ae-analysis/references/project_data_power_list.md +3 -3
- package/skills/ae-analysis/references/project_data_power_upsert.md +3 -3
- package/skills/ae-analysis/references/project_entity_create.md +3 -3
- package/skills/ae-analysis/references/project_entity_delete.md +3 -3
- package/skills/ae-analysis/references/project_entity_event_list.md +3 -3
- package/skills/ae-analysis/references/project_entity_get.md +3 -3
- package/skills/ae-analysis/references/project_entity_list.md +3 -3
- package/skills/ae-analysis/references/project_entity_update.md +3 -3
- package/skills/ae-analysis/references/project_function_list.md +3 -3
- package/skills/ae-analysis/references/project_info_create.md +25 -0
- package/skills/ae-analysis/references/project_info_delete.md +24 -0
- package/skills/ae-analysis/references/project_info_get.md +3 -3
- package/skills/ae-analysis/references/project_info_list.md +3 -3
- package/skills/ae-analysis/references/project_info_update.md +3 -3
- package/skills/ae-analysis/references/project_mark_time_create.md +3 -3
- package/skills/ae-analysis/references/project_mark_time_delete.md +3 -3
- package/skills/ae-analysis/references/project_mark_time_list.md +3 -3
- package/skills/ae-analysis/references/project_mark_time_update.md +3 -3
- package/skills/ae-analysis/references/project_member_add.md +3 -3
- package/skills/ae-analysis/references/project_member_batch_update.md +3 -3
- package/skills/ae-analysis/references/project_member_candidate_list.md +3 -3
- package/skills/ae-analysis/references/project_member_handover_export.md +3 -3
- package/skills/ae-analysis/references/project_member_handover_run.md +3 -3
- package/skills/ae-analysis/references/project_member_import.md +3 -3
- package/skills/ae-analysis/references/project_member_list.md +3 -3
- package/skills/ae-analysis/references/project_member_receiver_list.md +3 -3
- package/skills/ae-analysis/references/project_member_remove.md +3 -3
- package/skills/ae-analysis/references/project_member_update.md +3 -3
- package/skills/ae-analysis/references/project_owner_update.md +3 -3
- package/skills/ae-analysis/references/project_permission_binding_list.md +3 -3
- package/skills/ae-analysis/references/project_receive_status_update.md +3 -3
- package/skills/ae-analysis/references/project_role_delete.md +3 -3
- package/skills/ae-analysis/references/project_role_function_list.md +3 -3
- package/skills/ae-analysis/references/project_role_get.md +3 -3
- package/skills/ae-analysis/references/project_role_list.md +3 -3
- package/skills/ae-analysis/references/project_role_upsert.md +3 -3
- package/skills/ae-analysis/references/project_role_user_list.md +3 -3
- package/skills/ae-analysis/references/project_space_list.md +1 -1
- package/skills/ae-analysis/references/project_timezone_get.md +3 -3
- package/skills/ae-analysis/references/project_timezone_overview.md +3 -3
- package/skills/ae-analysis/references/project_timezone_update.md +3 -3
- package/skills/ae-analysis/references/project_user_id_items_update.md +3 -3
- package/skills/ae-analysis/references/system_admin_function_list.md +22 -0
- package/skills/ae-analysis/references/system_admin_function_update.md +26 -0
- package/skills/ae-analysis/references/system_admin_list.md +21 -0
- package/skills/ae-analysis/references/system_admin_remove.md +25 -0
- package/skills/ae-analysis/references/system_admin_upsert.md +25 -0
- package/skills/ae-analysis/references/system_function_list.md +21 -0
- package/skills/ae-analysis/references/system_member_add.md +25 -0
- package/skills/ae-analysis/references/system_member_candidate_list.md +22 -0
- package/skills/ae-analysis/references/system_member_delete.md +25 -0
- package/skills/ae-analysis/references/system_member_list.md +24 -0
- package/skills/ae-analysis/references/system_member_mfa_unbind.md +25 -0
- package/skills/ae-analysis/references/system_member_password_reset.md +32 -0
- package/skills/ae-analysis/references/system_member_project_batch_update.md +27 -0
- package/skills/ae-analysis/references/system_member_status_update.md +26 -0
- package/skills/ae-analysis/references/system_member_update.md +23 -0
- package/skills/ae-analysis/references/system_mfa_get.md +21 -0
- package/skills/ae-analysis/references/system_mfa_update.md +25 -0
- package/skills/ae-analysis/references/system_node_monitor_list.md +24 -0
- package/skills/ae-analysis/references/system_oauth2_update.md +22 -0
- package/skills/ae-analysis/references/system_ops_alert_contact_delete.md +25 -0
- package/skills/ae-analysis/references/system_ops_alert_contact_list.md +23 -0
- package/skills/ae-analysis/references/system_ops_alert_contact_test.md +29 -0
- package/skills/ae-analysis/references/system_ops_alert_contact_upsert.md +39 -0
- package/skills/ae-analysis/references/system_preference_get.md +21 -0
- package/skills/ae-analysis/references/system_preference_update.md +22 -0
- package/skills/ae-analysis/references/system_project_usage_list.md +28 -0
- package/skills/ae-analysis/references/system_query_alert_rule_list.md +21 -0
- package/skills/ae-analysis/references/system_query_alert_rule_update.md +26 -0
- package/skills/ae-analysis/references/system_query_monitor_overview.md +26 -0
- package/skills/ae-analysis/references/system_query_task_cancel.md +25 -0
- package/skills/ae-analysis/references/system_query_task_export.md +49 -0
- package/skills/ae-analysis/references/system_query_task_get.md +23 -0
- package/skills/ae-analysis/references/system_query_task_list.md +35 -0
- package/skills/ae-analysis/references/system_query_task_options.md +27 -0
- package/skills/ae-analysis/references/system_receiver_address_delete.md +26 -0
- package/skills/ae-analysis/references/system_receiver_address_overview.md +21 -0
- package/skills/ae-analysis/references/system_receiver_address_project_list.md +21 -0
- package/skills/ae-analysis/references/system_receiver_address_promote.md +24 -0
- package/skills/ae-analysis/references/system_receiver_address_upsert.md +27 -0
- package/skills/ae-analysis/references/system_receiver_detection_get.md +22 -0
- package/skills/ae-analysis/references/system_receiver_detection_run.md +22 -0
- package/skills/ae-analysis/references/system_receiver_detection_update.md +25 -0
- package/skills/ae-analysis/references/system_role_delete.md +26 -0
- package/skills/ae-analysis/references/system_role_function_list.md +22 -0
- package/skills/ae-analysis/references/system_role_get.md +22 -0
- package/skills/ae-analysis/references/system_role_list.md +24 -0
- package/skills/ae-analysis/references/system_role_upsert.md +27 -0
- package/skills/ae-analysis/references/system_role_user_list.md +22 -0
- package/skills/ae-analysis/references/system_seat_list.md +25 -0
- package/skills/ae-analysis/references/system_seat_update.md +26 -0
- package/skills/ae-analysis/references/system_smtp_delete.md +24 -0
- package/skills/ae-analysis/references/system_smtp_get.md +21 -0
- package/skills/ae-analysis/references/system_smtp_test.md +22 -0
- package/skills/ae-analysis/references/system_smtp_upsert.md +31 -0
- package/skills/ae-analysis/references/system_third_party_login_disable.md +25 -0
- package/skills/ae-analysis/references/system_third_party_login_list.md +21 -0
- package/skills/ae-analysis/references/system_third_party_login_upsert.md +33 -0
- package/skills/ae-analysis/references/system_usage_overview.md +21 -0
- package/skills/ae-analysis/references/system_usage_trend_export.md +44 -0
- package/skills/ae-analysis/references/system_usage_trend_query.md +28 -0
- package/skills/ae-dataops/SKILL.md +1 -1
- package/skills/ae-dataops/references/dataops-flow-create.md +51 -16
- package/skills/ae-engage/SKILL.md +56 -26
- package/skills/ae-engage/references/activity-activity.md +3 -0
- package/skills/ae-engage/references/activity-approval.md +12 -4
- package/skills/ae-engage/references/activity-task.md +21 -6
- package/skills/ae-engage/references/activity-topic.md +31 -13
- package/skills/ae-engage/references/add-channel.md +170 -41
- package/skills/ae-engage/references/build-task-save-guide.md +40 -27
- package/skills/ae-engage/references/channel-update-config.md +3 -2
- package/skills/ae-engage/references/common-metric.md +48 -120
- package/skills/ae-engage/references/flow-detail.md +13 -0
- package/skills/ae-engage/references/preset-event.md +12 -32
- package/skills/ae-engage/references/save-flow.md +127 -64
- package/skills/ae-engage/references/save-task.md +197 -59
- package/skills/ae-engage/references/scene-config-metric.md +3 -0
- package/skills/ae-engage/references/scene-preset-metric.md +8 -37
- package/skills/ae-engage/references/scene-strategy-audience.md +51 -643
- package/skills/ae-engage/references/scene-strategy.md +6 -6
- package/skills/ae-engage/references/task-detail.md +10 -0
- package/skills/ae-engage/references/task-submit-approval.md +45 -0
- package/skills/ae-engage/references/validate-flow-node-config.md +1 -1
- package/skills/ae-generate-tracking-code/SKILL.md +24 -8
- package/skills/ae-generate-tracking-code/references/debug-script.md +46 -37
- package/skills/ae-generate-tracking-plan/SKILL.md +26 -1
- package/skills/ae-metadata/SKILL.md +1 -1
- package/dist/config-BSSALXEN.js +0 -128
- package/dist/sync-QFP4XFN3.js +0 -485
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# system receiver-detection run
|
|
2
|
+
|
|
3
|
+
Use when the user needs to run receiver-address detection now.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system receiver-detection operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system receiver-detection run --company-id <company-id> --address-url <address-url>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.receiver_detection.run`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--address-url` | Yes | Receiver address URL. |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# system receiver-detection update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to update typed receiver-address detection configuration.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system receiver-detection operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system receiver-detection update --company-id <company-id> --address-url <address-url> --execute-type <execute-type> --schedule-type <schedule-type> --allow-notification <true_or_false>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.receiver_detection.update`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--address-url` | Yes | Receiver address URL. |
|
|
23
|
+
| `--execute-type` | Yes | Detection execution scope. |
|
|
24
|
+
| `--schedule-type` | Yes | Detection schedule. |
|
|
25
|
+
| `--allow-notification` | Yes | Allow detection notifications. |
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# system role delete
|
|
2
|
+
|
|
3
|
+
Use when the user needs to delete a company role and optionally migrate its users.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role delete --dry-run --company-id <company-id> --role-name <role-name>
|
|
11
|
+
ae-cli system role delete --company-id <company-id> --role-name <role-name> --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.role.delete`.
|
|
15
|
+
|
|
16
|
+
Run `--dry-run` first, summarize the affected target and impact, then wait for explicit user confirmation before rerunning the unchanged command with global `--yes`.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
25
|
+
| `--role-name` | Yes | Role name. |
|
|
26
|
+
| `--new-role-name` | No | Replacement role for affected users. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# system role-function list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list functions assigned to a company role.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role-function operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role-function list --company-id <company-id> --role-name <role-name>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.role_function.list`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--role-name` | Yes | Role name. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# system role get
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get one company role.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role get --company-id <company-id> --role-name <role-name>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.role.get`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--role-name` | Yes | Role name. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# system role list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list company roles.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role list --company-id <company-id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.role.list`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--query` | No | Optional keyword filter. |
|
|
23
|
+
| `--limit` | No | Page size. Default and maximum depend on the capability schema. |
|
|
24
|
+
| `--offset` | No | Zero-based result offset. |
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# system role upsert
|
|
2
|
+
|
|
3
|
+
Use when the user needs to create or update a company role and its function set.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role upsert --dry-run --company-id <company-id> --role-desc <role-desc> --function-names <function-names_json>
|
|
11
|
+
ae-cli system role upsert --company-id <company-id> --role-desc <role-desc> --function-names <function-names_json> --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.role.upsert`.
|
|
15
|
+
|
|
16
|
+
Run `--dry-run` first, summarize the affected target and impact, then wait for explicit user confirmation before rerunning the unchanged command with global `--yes`.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
25
|
+
| `--role-name` | No | Existing role name for update; omit when creating. |
|
|
26
|
+
| `--role-desc` | Yes | Role description. |
|
|
27
|
+
| `--function-names` | Yes | Complete function-name JSON array. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# system role-user list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list users assigned to a company role.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system role-user operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system role-user list --company-id <company-id> --role-name <role-name>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.role_user.list`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--role-name` | Yes | Role name. |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# system seat list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list company seat assignments.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system seat operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system seat list --company-id <company-id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.seat.list`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--query` | No | Optional keyword filter. |
|
|
23
|
+
| `--limit` | No | Page size. Default and maximum depend on the capability schema. |
|
|
24
|
+
| `--offset` | No | Zero-based result offset. |
|
|
25
|
+
| `--seat-type` | No | Optional seat type. |
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# system seat update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to assign management/view BI seats or remove seats from an explicit member set.
|
|
4
|
+
|
|
5
|
+
Do not use it without first reading current seat assignments and company quota with `ae-cli system seat list`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system seat update --dry-run --company-id <company_id> --seat-type <manage_or_view_or_empty> --open-ids '["ou_xxx"]'
|
|
11
|
+
ae-cli system seat update --company-id <company_id> --seat-type <manage_or_view_or_empty> --open-ids '["ou_xxx"]' --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.seat.update`.
|
|
15
|
+
|
|
16
|
+
`seat-type=empty` removes seats. Run `--dry-run` first and verify additions, removals, unchanged members, and license quota impact. Wait for explicit user confirmation before rerunning the unchanged command with global `--yes`.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. A quota conflict is not proof of a partial update; inspect the returned transactional result.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
25
|
+
| `--seat-type` | Yes | `manage`, `view`, or `empty`; `empty` removes seats. |
|
|
26
|
+
| `--open-ids` | Yes | Non-empty company member open-ID JSON array. |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# system smtp delete
|
|
2
|
+
|
|
3
|
+
Use when the user needs to delete company SMTP configuration.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system smtp operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system smtp delete --dry-run --company-id <company-id>
|
|
11
|
+
ae-cli system smtp delete --company-id <company-id> --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.smtp.delete`.
|
|
15
|
+
|
|
16
|
+
Run `--dry-run` first, summarize the affected target and impact, then wait for explicit user confirmation before rerunning the unchanged command with global `--yes`.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# system smtp get
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get sanitized company SMTP configuration.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system smtp operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system smtp get --company-id <company-id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.smtp.get`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# system smtp test
|
|
2
|
+
|
|
3
|
+
Use when the user needs to send one SMTP test using the saved configuration.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system smtp operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system smtp test --company-id <company-id> --receiver <receiver>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.smtp.test`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--receiver` | Yes | Test email receiver. |
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# system smtp upsert
|
|
2
|
+
|
|
3
|
+
Use when the user needs to create or update company SMTP configuration using a protected password source.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system smtp operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system smtp upsert --company-id <company-id> --server-host <server-host> --server-port <server-port> --sender-address <sender-address> --sender-name <sender-name> --password-file <chmod_600_file>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.smtp.upsert`.
|
|
14
|
+
|
|
15
|
+
Sensitive values are accepted only through a permission-protected file or stdin. Never put a secret value in argv, examples, logs, validation output, dry-run output, or the response.
|
|
16
|
+
|
|
17
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
| Parameter | Required | Description |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `--company-id` | Yes | Company ID. |
|
|
24
|
+
| `--server-host` | Yes | SMTP server host. |
|
|
25
|
+
| `--server-port` | Yes | SMTP server port. |
|
|
26
|
+
| `--has-encrypt` | No | Encryption mode: 0, 1, or 2. |
|
|
27
|
+
| `--sender-address` | Yes | Sender email address. |
|
|
28
|
+
| `--sender-name` | Yes | Sender display name. |
|
|
29
|
+
| `--subject-prefix` | No | Optional subject prefix. |
|
|
30
|
+
| `--password-file` | No | SMTP password. Read from a local permission-protected file; one of file/stdin is required. |
|
|
31
|
+
| `--password-stdin` | No | SMTP password. Read from stdin; one of file/stdin is required. |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# system third-party-login disable
|
|
2
|
+
|
|
3
|
+
Use when the user needs to disable a third-party login provider.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system third-party-login operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system third-party-login disable --dry-run --company-id <company-id> --login-type <login-type>
|
|
11
|
+
ae-cli system third-party-login disable --company-id <company-id> --login-type <login-type> --yes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.third_party_login.disable`.
|
|
15
|
+
|
|
16
|
+
Run `--dry-run` first, summarize the affected target and impact, then wait for explicit user confirmation before rerunning the unchanged command with global `--yes`.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
25
|
+
| `--login-type` | Yes | Third-party login type. |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# system third-party-login list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to list sanitized third-party login configurations.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system third-party-login operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system third-party-login list --company-id <company-id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.third_party_login.list`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# system third-party-login upsert
|
|
2
|
+
|
|
3
|
+
Use when the user needs to create or update a third-party login configuration using protected secret sources.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system third-party-login operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system third-party-login upsert --company-id <company_id> --login-type feishu --app-id <app_id> --app-secret-file <chmod_600_file>
|
|
11
|
+
ae-cli system third-party-login upsert --company-id <company_id> --login-type dingtalk --app-id <app_id> --corp-id <corp_id> --agent-id <agent_id> --dd-scan-app-id <scan_app_id> --app-secret-file <chmod_600_file> --dd-scan-app-secret-file <chmod_600_file>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: `system.third_party_login.upsert`.
|
|
15
|
+
|
|
16
|
+
Sensitive values are accepted only through a permission-protected file or stdin. Never put a secret value in argv, examples, logs, validation output, dry-run output, or the response.
|
|
17
|
+
|
|
18
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--company-id` | Yes | Company ID. |
|
|
25
|
+
| `--login-type` | Yes | Third-party login type. |
|
|
26
|
+
| `--app-id` | Yes | Provider application ID. |
|
|
27
|
+
| `--corp-id` | No | Provider corporation ID. |
|
|
28
|
+
| `--agent-id` | No | Provider agent ID. |
|
|
29
|
+
| `--dd-scan-app-id` | No | DingTalk scan-login application ID. |
|
|
30
|
+
| `--app-secret-file` | No | Provider application secret. Read from a local permission-protected file; one of file/stdin is required. |
|
|
31
|
+
| `--app-secret-stdin` | No | Provider application secret. Read from stdin; one of file/stdin is required. |
|
|
32
|
+
| `--dd-scan-app-secret-file` | No | DingTalk scan-login application secret. Read from a local permission-protected file; the value is never accepted directly on argv. |
|
|
33
|
+
| `--dd-scan-app-secret-stdin` | No | DingTalk scan-login application secret. Read from stdin; do not combine with --dd-scan-app-secret-file. |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# system usage overview
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get the current company system-usage summary.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system usage operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system usage overview --company-id <company-id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.usage.overview`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# system usage-trend export
|
|
2
|
+
|
|
3
|
+
Use when the user needs the complete usage-trend result as a cancellable gzip JSONL artifact.
|
|
4
|
+
|
|
5
|
+
Do not use it for a small inline result; use `ae-cli system usage-trend query` instead.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system usage-trend export --company-id <company_id> --metric <metric> --start-time <yyyy-MM-dd> --end-time <yyyy-MM-dd> --time-granularity <day_or_week_or_month>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.usage_trend.export`.
|
|
14
|
+
|
|
15
|
+
The submit response returns the `run_id` for this exact export. Preserve it and poll:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
When the run succeeds, preserve its `artifact_id` and download the same run-scoped artifact:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <output_path>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The artifact format is fixed gzip-compressed JSONL (`.jsonl.gz`); this command intentionally has no `--artifact-format`. Cancel an unfinished export with `ae-cli analysis query cancel --run-id <run_id>`.
|
|
28
|
+
|
|
29
|
+
The response uses `ok`, `data`, and `meta`. Empty exported data is success when `ok=true`; preserve `request_id` and `invocation_id`.
|
|
30
|
+
|
|
31
|
+
## Parameters
|
|
32
|
+
|
|
33
|
+
| Parameter | Required | Description |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `--company-id` | Yes | Company ID. |
|
|
36
|
+
| `--metric` | Yes | One supported usage metric; `apollo_token` is not implemented. |
|
|
37
|
+
| `--start-time` | Yes | Inclusive start date in `yyyy-MM-dd`. |
|
|
38
|
+
| `--end-time` | Yes | Inclusive end date in `yyyy-MM-dd`. |
|
|
39
|
+
| `--time-granularity` | Yes | `day`, `week`, or `month`. |
|
|
40
|
+
| `--scope` | No | `company` or `project`; project scope requires `--project-ids`. |
|
|
41
|
+
| `--project-ids` | No | Project ID JSON array. |
|
|
42
|
+
| `--data-type` | No | `all`, `event`, or `user` for project-scoped total event volume. |
|
|
43
|
+
| `--request-id` | No | Caller-supplied `cli_<32 lowercase hex>` lifecycle ID; generated when omitted. |
|
|
44
|
+
| `--timeout-seconds` | No | Maximum runtime, `1..21600`; default `21600`. |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# system usage-trend query
|
|
2
|
+
|
|
3
|
+
Use when the user needs to query a bounded company or project usage trend.
|
|
4
|
+
|
|
5
|
+
Do not use it outside the system usage-trend operation or with fields absent from the inspected capability schema.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli system usage-trend query --company-id <company-id> --start-time <start-time> --end-time <end-time> --metric <metric> --time-granularity <time-granularity>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `system.usage_trend.query`.
|
|
14
|
+
|
|
15
|
+
The response uses `ok`, `data`, and `meta`. Treat empty `data` as success when `ok=true`; preserve `request_id` and `invocation_id` when present.
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Required | Description |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `--company-id` | Yes | Company ID. |
|
|
22
|
+
| `--start-time` | Yes | Inclusive ISO date/time lower bound. |
|
|
23
|
+
| `--end-time` | Yes | Inclusive ISO date/time upper bound. |
|
|
24
|
+
| `--metric` | Yes | Supported usage metric; apollo_token is not available. |
|
|
25
|
+
| `--time-granularity` | Yes | Aggregation granularity. |
|
|
26
|
+
| `--scope` | No | Aggregation scope. |
|
|
27
|
+
| `--project-ids` | No | Project ID JSON array; required for project scope. |
|
|
28
|
+
| `--data-type` | No | Optional event-volume data type. |
|
|
@@ -89,7 +89,7 @@ You must understand the following key concepts before use, otherwise errors are
|
|
|
89
89
|
### Flow Lifecycle
|
|
90
90
|
|
|
91
91
|
```
|
|
92
|
-
Create DEV Flow → Create/Update DEV SQL Tasks → Configure Dependencies/Schedule → Preview Release → Release to PROD → PROD Manual Execution / Operations Troubleshooting
|
|
92
|
+
Create DEV Flow → Create/Update DEV SQL, Integration, or Workflow Instance Check Tasks → Configure Dependencies/Schedule → Preview Release → Release to PROD → PROD Manual Execution / Operations Troubleshooting
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
### CRON Format (6 fields)
|