@thinkingai/ae-cli 6.0.33 → 6.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +3 -2
  2. package/README.zh.md +3 -2
  3. package/dist/index.js +2 -2
  4. package/dist/{te-engage-GJRVQMK3.js → te-engage-2FSDUOIZ.js} +965 -1578
  5. package/dist/{te-engage-JIXX3WBI.js → te-engage-BMJ6UOUU.js} +965 -1578
  6. package/dist/{te-kb-CIZXRWMO.js → te-kb-E7NSCBRB.js} +25 -6
  7. package/package.json +1 -1
  8. package/skills/ae-engage/SKILL.md +127 -104
  9. package/skills/ae-engage/references/activity-activity-type.md +1 -1
  10. package/skills/ae-engage/references/activity-activity.md +1 -1
  11. package/skills/ae-engage/references/activity-approval.md +5 -7
  12. package/skills/ae-engage/references/activity-task.md +12 -18
  13. package/skills/ae-engage/references/activity-topic.md +39 -22
  14. package/skills/ae-engage/references/add-approver.md +4 -4
  15. package/skills/ae-engage/references/add-channel.md +10 -5
  16. package/skills/ae-engage/references/approval-approver-delete.md +1 -1
  17. package/skills/ae-engage/references/approver-list.md +4 -4
  18. package/skills/ae-engage/references/build-task-save-guide.md +13 -13
  19. package/skills/ae-engage/references/cancel-query-by-request-id.md +7 -6
  20. package/skills/ae-engage/references/channel-detail.md +14 -9
  21. package/skills/ae-engage/references/channel-list.md +15 -10
  22. package/skills/ae-engage/references/channel-mgmt.md +109 -0
  23. package/skills/ae-engage/references/channel-test-send.md +1 -1
  24. package/skills/ae-engage/references/channel-update-config.md +1 -1
  25. package/skills/ae-engage/references/channel_touch_limits_list.md +1 -1
  26. package/skills/ae-engage/references/client-param.md +34 -16
  27. package/skills/ae-engage/references/common-metric.md +85 -18
  28. package/skills/ae-engage/references/config-item-analysis-report.md +8 -27
  29. package/skills/ae-engage/references/config-item-strategy-comparison.md +7 -18
  30. package/skills/ae-engage/references/config-item-trigger-report.md +8 -35
  31. package/skills/ae-engage/references/delete-channel.md +5 -5
  32. package/skills/ae-engage/references/delete-flow.md +5 -5
  33. package/skills/ae-engage/references/flow-ab-split-node-report.md +11 -45
  34. package/skills/ae-engage/references/flow-detail.md +15 -10
  35. package/skills/ae-engage/references/flow-list.md +9 -4
  36. package/skills/ae-engage/references/flow-node-config-schema.md +9 -8
  37. package/skills/ae-engage/references/flow-node-detail-report.md +11 -46
  38. package/skills/ae-engage/references/flow-node-overview-report.md +11 -43
  39. package/skills/ae-engage/references/flow-process-report.md +12 -50
  40. package/skills/ae-engage/references/flow-update-remark.md +19 -0
  41. package/skills/ae-engage/references/manage-flow.md +19 -19
  42. package/skills/ae-engage/references/manage-task.md +5 -5
  43. package/skills/ae-engage/references/modify-flow-base-info.md +8 -8
  44. package/skills/ae-engage/references/preset-event.md +1 -1
  45. package/skills/ae-engage/references/push-language.md +1 -1
  46. package/skills/ae-engage/references/save-flow.md +54 -52
  47. package/skills/ae-engage/references/save-task.md +23 -17
  48. package/skills/ae-engage/references/scene-config-channel.md +90 -10
  49. package/skills/ae-engage/references/scene-config-group.md +1 -1
  50. package/skills/ae-engage/references/scene-config-item.md +27 -4
  51. package/skills/ae-engage/references/scene-config-metric.md +1 -1
  52. package/skills/ae-engage/references/scene-config-param.md +2 -2
  53. package/skills/ae-engage/references/scene-preset-metric.md +1 -1
  54. package/skills/ae-engage/references/scene-strategy.md +19 -3
  55. package/skills/ae-engage/references/scene-template.md +10 -4
  56. package/skills/ae-engage/references/task-data-detail.md +5 -67
  57. package/skills/ae-engage/references/task-data-overview.md +5 -35
  58. package/skills/ae-engage/references/task-detail.md +5 -5
  59. package/skills/ae-engage/references/task-experiment-report.md +5 -38
  60. package/skills/ae-engage/references/task-list.md +4 -4
  61. package/skills/ae-engage/references/task-metric-detail.md +5 -43
  62. package/skills/ae-engage/references/task-stats.md +5 -5
  63. package/skills/ae-engage/references/update-channel-status.md +6 -6
  64. package/skills/ae-engage/references/validate-flow-node-config.md +12 -11
  65. package/skills/ae-engage/references/whitelist-list.md +4 -4
  66. package/skills/ae-engage/references/whitelist.md +1 -1
  67. package/skills/ae-engage/references/workbench-workbench.md +1 -1
  68. package/skills/ae-kb/SKILL.md +9 -5
  69. package/skills/ae-engage/references/config-channel-detail.md +0 -31
  70. package/skills/ae-engage/references/config-channel-list.md +0 -26
  71. package/skills/ae-engage/references/config-item-detail.md +0 -29
  72. package/skills/ae-engage/references/config-item-list.md +0 -18
  73. package/skills/ae-engage/references/copy-config-template.md +0 -28
  74. package/skills/ae-engage/references/delete-config-channel.md +0 -23
  75. package/skills/ae-engage/references/delete-config-item.md +0 -24
  76. package/skills/ae-engage/references/engage-scene-config-item.md +0 -69
  77. package/skills/ae-engage/references/manage-strategy.md +0 -73
  78. package/skills/ae-engage/references/strategy-detail.md +0 -72
  79. package/skills/ae-engage/references/strategy-list.md +0 -20
  80. package/skills/ae-engage/references/update-config-channel-status.md +0 -31
@@ -1,44 +1,11 @@
1
- # ae-engage +task_experiment_report
1
+ # engage-task.task-data.experiment-report
2
2
 
3
+ Query a task experiment report through the L3 Capability Gateway.
3
4
 
4
- Query the task experiment report.
5
+ Mapped command: `ae-cli capability run engage-task.task-data.experiment-report --input '<json>'`
5
6
 
6
- Mapped command: `ae-cli engage +task_experiment_report`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--task_id` | string | Yes | task ID |
14
- | `--report_type` | string | Yes | report type: `overview` or `detail` |
15
- | `--start_time` | string | Yes | Start date |
16
- | `--end_time` | string | Yes | End date |
17
- | `--request_id` | string | No | query requestId |
18
- | `--push_language_code` | string | No | push language code |
19
-
20
- ## Enum Notes
21
-
22
- ### `--report_type`
23
-
24
- - `overview`: experiment overview
25
- - `detail`: experiment detail
26
-
27
- ### `--push_language_code`
28
-
29
- Common values include:
30
-
31
- - `default`
32
- - `en`
33
- - `zh-Hans`
34
- - `zh-Hant`
35
- - `ja`
36
- - `ko`
37
-
38
- ## Examples
7
+ Required input: `project_id`, `task_id`, `report_type`, `start_time`, `end_time`. `report_type` is `overview` or `detail`.
39
8
 
40
9
  ```bash
41
- ae-cli engage +task_experiment_report \
42
- --project_id 1 --task_id task_123 \
43
- --report_type overview --start_time 2026-04-01 --end_time 2026-04-07
10
+ ae-cli capability run engage-task.task-data.experiment-report --input '{"project_id":1,"task_id":"task_123","report_type":"overview","start_time":"2026-04-01","end_time":"2026-04-07"}'
44
11
  ```
@@ -1,15 +1,15 @@
1
- # ae-engage +task_list
1
+ # ae-cli engage-task task list
2
2
 
3
3
 
4
4
  Query the paginated task list.
5
5
 
6
- Mapped command: `ae-cli engage +task_list`
6
+ Mapped command: `ae-cli engage-task task list`
7
7
 
8
8
  ## Flags
9
9
 
10
10
  | Flag | Type | Required | Description |
11
11
  |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
12
+ | `--project-id` / `-p` | number | Yes | Project ID |
13
13
  | `--req` | json | Yes | query-condition JSON object |
14
14
 
15
15
  ## `--req` Object Fields
@@ -86,5 +86,5 @@ Common fields are listed below; provide them as needed:
86
86
  ## Examples
87
87
 
88
88
  ```bash
89
- ae-cli engage +task_list --project_id 1 --req '{"pageNum":1,"pageSize":20}'
89
+ ae-cli engage-task task list --project-id 1 --req '{"pageNum":1,"pageSize":20}'
90
90
  ```
@@ -1,49 +1,11 @@
1
- # ae-engage +task_metric_detail
1
+ # engage-task.task-data.metric-detail
2
2
 
3
+ Query a task metric detail report through the L3 Capability Gateway.
3
4
 
4
- Query the metric-oriented detail report for a task.
5
+ Mapped command: `ae-cli capability run engage-task.task-data.metric-detail --input '<json>'`
5
6
 
6
- Mapped command: `ae-cli engage +task_metric_detail`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--task_id` | string | Yes | task ID |
14
- | `--start_time` | string | Yes | Start date |
15
- | `--end_time` | string | Yes | End date |
16
- | `--request_id` | string | No | query requestId |
17
- | `--push_language_code` | string | No | push language code |
18
- | `--metric_id_list` | json | No | metric ID JSON array |
19
- | `--group_type` | number | No | group type |
20
- | `--show_time_zone` | string | No | Display timezone offset |
21
-
22
- ## Enum Notes
23
-
24
- ### `--group_type`
25
-
26
- - `1`: group by batch
27
- - `2`: group by date
28
- - `3`: group by trigger
29
- - `4`: group by experiment result
30
-
31
- ### `--push_language_code`
32
-
33
- Common values include:
34
-
35
- - `default`
36
- - `en`
37
- - `zh-Hans`
38
- - `zh-Hant`
39
- - `ja`
40
- - `ko`
41
-
42
- ## Examples
7
+ Required input: `project_id`, `task_id`, `start_time`, `end_time`. Optional input includes `request_id`, `push_language_code`, `metric_id_list`, `group_type`, and `show_time_zone`.
43
8
 
44
9
  ```bash
45
- ae-cli engage +task_metric_detail \
46
- --project_id 1 --task_id task_123 \
47
- --start_time 2026-04-01 --end_time 2026-04-07 \
48
- --metric_id_list '["metric_1"]'
10
+ ae-cli capability run engage-task.task-data.metric-detail --input '{"project_id":1,"task_id":"task_123","start_time":"2026-04-01","end_time":"2026-04-07"}'
49
11
  ```
@@ -1,20 +1,20 @@
1
- # ae-engage +task_stats
1
+ # ae-cli engage-task task stats
2
2
 
3
3
 
4
4
  Query task status statistics.
5
5
 
6
- Mapped command: `ae-cli engage +task_stats`
6
+ Mapped command: `ae-cli engage-task task stats`
7
7
 
8
8
  ## Flags
9
9
 
10
10
  | Flag | Type | Required | Description |
11
11
  |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
12
+ | `--project-id` / `-p` | number | Yes | Project ID |
13
13
  | `--req` | json | Yes | statistics-condition JSON object |
14
14
 
15
15
  ## `--req` Object Fields
16
16
 
17
- The `--req` structure of `+task_stats` is broadly the same as `+task_list`, and common fields include:
17
+ The `--req` structure of `engage-task task stats` is broadly the same as `engage-task task list`, and common fields include:
18
18
 
19
19
  | Field | Type | Required | Description |
20
20
  |------|------|------|------|
@@ -84,5 +84,5 @@ The `--req` structure of `+task_stats` is broadly the same as `+task_list`, and
84
84
  ## Examples
85
85
 
86
86
  ```bash
87
- ae-cli engage +task_stats --project_id 1 --req '{"pageNum":1,"pageSize":20}'
87
+ ae-cli engage-task task stats --project-id 1 --req '{"pageNum":1,"pageSize":20}'
88
88
  ```
@@ -1,24 +1,24 @@
1
- # ae-engage +update_channel_status
1
+ # ae-engage engage-setting channel update-status
2
2
 
3
3
 
4
4
  Update the status of an Engage channel.
5
5
 
6
- Mapped command: `ae-cli engage +update_channel_status`
6
+ Mapped command: `ae-cli engage-setting channel update-status`
7
7
 
8
8
  ## Flags
9
9
 
10
10
  | Flag | Type | Required | Description |
11
11
  |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--channel_id` | string | Yes | channel ID |
12
+ | `--project-id` / `-p` | number | Yes | Project ID |
13
+ | `--channel-id` | string | Yes | channel ID |
14
14
  | `--status` | number | Yes | channel status |
15
15
 
16
16
  ## Enum Notes
17
17
 
18
18
  ### `--status`
19
19
 
20
- - `0`: disabled
21
20
  - `1`: enabled
21
+ - `2`: disabled
22
22
 
23
23
  ## Safety Constraints
24
24
 
@@ -27,5 +27,5 @@ This command is a **write operation** and Before executing, confirm that the use
27
27
  ## Examples
28
28
 
29
29
  ```bash
30
- ae-cli engage +update_channel_status --project_id 1 --channel_id <channel_id> --status 1
30
+ ae-cli engage-setting channel update-status --project-id 1 --channel-id <channel_id> --status 1
31
31
  ```
@@ -1,30 +1,31 @@
1
- # ae-engage +validate_flow_node_config
1
+ # ae-cli engage-flow node-config validate
2
2
 
3
3
 
4
4
  Validate and normalize a single node configuration before placing it into a `save_flow` request.
5
5
 
6
- Mapped command: `ae-cli engage +validate_flow_node_config`
6
+ Mapped command: `ae-cli engage-flow node-config validate`
7
7
 
8
8
  ## Flags
9
9
 
10
10
  | Flag | Type | Required | Description |
11
11
  |------|------|------|------|
12
- | `--node_type` | string | Yes | Flow node type |
12
+ | `--project-id` / `-p` | number | Yes | Project ID |
13
+ | `--node-type` | string | Yes | Flow node type |
13
14
  | `--config` | string | Yes | Node config JSON object encoded as a string |
14
- | `--operation_mode` | string | Yes | Validation mode |
15
+ | `--operation-mode` | string | Yes | Validation mode |
15
16
 
16
17
  ## When To Use
17
18
 
18
- Use this after `+flow_node_config_schema` and before passing a config into `+save_flow`.
19
+ Use this after `engage-flow node-config schema` and before passing a config into `engage-flow flow save`.
19
20
 
20
21
  The command validates one node config only; it does not validate the full canvas topology. It returns:
21
22
 
22
23
  - `valid`: whether the candidate config passed validation
23
24
  - `normalizedConfigObject`: backend-normalized config with defaulted fields
24
- - `errors`: hard validation failures to fix before calling `+save_flow`
25
+ - `errors`: hard validation failures to fix before calling `engage-flow flow save`
25
26
  - `warnings`: issues that depend on live channel/template/config data
26
27
 
27
- Use `--operation_mode save_flow` for the current exposed MCP protocol. Use `save_submit_flow` only when you intentionally want stricter submit-time checks.
28
+ Use `--operation-mode save_flow` for the current exposed MCP protocol. Use `save_submit_flow` only when you intentionally want stricter submit-time checks.
28
29
 
29
30
  Important current rules:
30
31
 
@@ -38,7 +39,7 @@ Important current rules:
38
39
 
39
40
  ## Enum Notes
40
41
 
41
- ### `--node_type`
42
+ ### `--node-type`
42
43
 
43
44
  Schema-backed node types include:
44
45
 
@@ -56,7 +57,7 @@ Schema-backed node types include:
56
57
  - `ab_split_flow`
57
58
  - `exit_flow`
58
59
 
59
- ### `--operation_mode`
60
+ ### `--operation-mode`
60
61
 
61
62
  - `save_flow`
62
63
  - `save_submit_flow`
@@ -64,6 +65,6 @@ Schema-backed node types include:
64
65
  ## Examples
65
66
 
66
67
  ```bash
67
- ae-cli engage +validate_flow_node_config \
68
- --node_type message_push --operation_mode save_flow --config '{}'
68
+ ae-cli engage-flow node-config validate \
69
+ --project-id 1 --node-type message_push --operation-mode save_flow --config '{}'
69
70
  ```
@@ -1,18 +1,18 @@
1
- # ae-engage +whitelist_list
1
+ # ae-engage engage-setting whitelist list
2
2
 
3
3
 
4
4
  Query the whitelist list in a project.
5
5
 
6
- Mapped command: `ae-cli engage +whitelist_list`
6
+ Mapped command: `ae-cli engage-setting whitelist list`
7
7
 
8
8
  ## Flags
9
9
 
10
10
  | Flag | Type | Required | Description |
11
11
  |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
12
+ | `--project-id` / `-p` | number | Yes | Project ID |
13
13
 
14
14
  ## Examples
15
15
 
16
16
  ```bash
17
- ae-cli engage +whitelist_list --project_id 1
17
+ ae-cli engage-setting whitelist list --project-id 1
18
18
  ```
@@ -68,5 +68,5 @@ ae-cli engage-setting whitelist verify \
68
68
  ## Decision Rules
69
69
 
70
70
  - Use these commands when the user asks to add / edit / delete / verify project whitelist entries.
71
- - Discover existing whitelist IDs with `ae-cli engage +whitelist_list --project_id <project_id>` first; never invent IDs.
71
+ - Discover existing whitelist IDs with `ae-cli engage-setting whitelist list --project-id <project_id>` first; never invent IDs.
72
72
  - `delete` is `high-risk-write` and requires `--yes` (or interactive confirmation).
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Capability ids: `engage-workbench.workbench.{list,add,update,delete}` · Domain: `engage`.
4
4
 
5
- 工作台 - 工作台指标卡槽(workbench slot)管理。每个用户在每个项目下最多 4 个指标卡;卡槽按当前登录用户隔离,`update`/`delete` 只能操作本人卡槽。首次 `list` 会自动初始化 4 个默认卡槽。
5
+ Workbench workbench metric slot management. Each user may configure up to 4 metric cards per project; slots are scoped to the current login user, so `update`/`delete` only affect the caller's own slots. The first `list` auto-initialises 4 default slots.
6
6
 
7
7
  ## Commands
8
8
 
@@ -125,15 +125,17 @@ ae-cli kb +status --name engineering-handbook
125
125
 
126
126
  ### Query Knowledge
127
127
 
128
- Use `+query` with a natural-language question and a JSON array of source refs.
128
+ Use `+query` with a natural-language question. Optionally scope to specific knowledge bases or tune result count and locale.
129
129
 
130
130
  ```bash
131
131
  ae-cli kb +query \
132
132
  --query "How do we release a dashboard?" \
133
- --sources '[{"scope":"company","name":"engineering-handbook"}]'
133
+ --sources '[{"scope":"company","name":"engineering-handbook"}]' \
134
+ --top-k 10 \
135
+ --locale zh
134
136
  ```
135
137
 
136
- `--sources` entries require:
138
+ When `--sources` is provided, each entry requires:
137
139
 
138
140
  - `scope`: knowledge base scope such as `personal` or `company`.
139
141
  - `name`: knowledge base name.
@@ -234,11 +236,13 @@ ae-cli kb +remove --name engineering-handbook
234
236
  ### `+query`
235
237
 
236
238
  ```bash
237
- ae-cli kb +query --query "<question>" --sources '[{"scope":"company","name":"kb-name"}]'
239
+ ae-cli kb +query --query "<question>" [--sources '[{"scope":"company","name":"kb-name"}]'] [--top-k 10] [--locale zh|en|ja|ko]
238
240
  ```
239
241
 
240
242
  - `--query`, alias `-q`: required natural-language question.
241
- - `--sources`: required JSON array of knowledge base refs.
243
+ - `--sources`: optional JSON array of knowledge base refs. Omit to search all accessible knowledge bases.
244
+ - `--top-k`: optional max number of hits, 1-50, default 10.
245
+ - `--locale`: optional locale: `zh`, `en`, `ja`, or `ko`.
242
246
 
243
247
  ### `+ask`
244
248
 
@@ -1,31 +0,0 @@
1
- # ae-engage +config_channel_detail
2
-
3
-
4
- Query config channel details.
5
-
6
- Mapped command: `ae-cli engage +config_channel_detail`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--channel_id` | string | Yes | config channel ID |
14
-
15
- ## Common enums in the response
16
-
17
- ### `channelType`
18
-
19
- - `0`: `WEBHOOK`
20
- - `1`: `CLIENT`
21
-
22
- ### `channelStatus`
23
-
24
- - `1`: enabled
25
- - `2`: disabled
26
-
27
- ## Examples
28
-
29
- ```bash
30
- ae-cli engage +config_channel_detail --project_id 1 --channel_id <channel_id>
31
- ```
@@ -1,26 +0,0 @@
1
- # ae-engage +config_channel_list
2
-
3
-
4
- Query the config channel list.
5
-
6
- Mapped command: `ae-cli engage +config_channel_list`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--channel_type` | number | No | config channel type |
14
-
15
- ## Enum Notes
16
-
17
- ### `--channel_type`
18
-
19
- - `0`: `WEBHOOK`
20
- - `1`: `CLIENT`
21
-
22
- ## Examples
23
-
24
- ```bash
25
- ae-cli engage +config_channel_list --project_id 1
26
- ```
@@ -1,29 +0,0 @@
1
- # ae-engage +config_item_detail
2
-
3
-
4
- Query config item details.
5
-
6
- Mapped command: `ae-cli engage +config_item_detail`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--config_id` | string | Yes | config item ID |
14
-
15
- ## Common enums in the response
16
-
17
- ### `channelType`
18
-
19
- - `1`: `WEBHOOK`
20
- - `2`: `APP_PUSH`
21
- - `3`: `CLIENT_PUSH`
22
- - `4`: `WECHAT`
23
- - `5`: `DOU_YIN`
24
-
25
- ## Examples
26
-
27
- ```bash
28
- ae-cli engage +config_item_detail --project_id 1 --config_id cfg_123
29
- ```
@@ -1,18 +0,0 @@
1
- # ae-engage +config_item_list
2
-
3
-
4
- Query the list of config items in a project.
5
-
6
- Mapped command: `ae-cli engage +config_item_list`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
-
14
- ## Examples
15
-
16
- ```bash
17
- ae-cli engage +config_item_list --project_id 1
18
- ```
@@ -1,28 +0,0 @@
1
- # ae-engage +copy_config_template
2
-
3
-
4
- Copy a template from the source config item to the target config item.
5
-
6
- Mapped command: `ae-cli engage +copy_config_template`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--source_project_id` | number | Yes | source Project ID |
13
- | `--source_config_id` | string | Yes | source config item ID |
14
- | `--source_template_id` | string | Yes | source template ID |
15
- | `--project_id` / `-p` | number | Yes | target Project ID |
16
- | `--config_id` | string | Yes | target config item ID |
17
-
18
- ## Safety Constraints
19
-
20
- This command is a **write operation** and and copies the template and dependent resources.
21
-
22
- ## Examples
23
-
24
- ```bash
25
- ae-cli engage +copy_config_template \
26
- --source_project_id 1 --source_config_id src_cfg --source_template_id tpl_1 \
27
- --project_id 2 --config_id dst_cfg
28
- ```
@@ -1,23 +0,0 @@
1
- # ae-engage +delete_config_channel
2
-
3
-
4
- Delete a config channel.
5
-
6
- Mapped command: `ae-cli engage +delete_config_channel`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--channel_id` | string | Yes | config channel ID |
14
-
15
- ## Safety Constraints
16
-
17
- This command is a **write operation** and and deletes a config channel.
18
-
19
- ## Examples
20
-
21
- ```bash
22
- ae-cli engage +delete_config_channel --project_id 1 --channel_id <channel_id>
23
- ```
@@ -1,24 +0,0 @@
1
- # ae-engage +delete_config_item
2
-
3
-
4
- Delete a config item.
5
-
6
- Mapped command: `ae-cli engage +delete_config_item`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--config_id` | string | Yes | config item ID |
14
- | `--open_id` | string | Yes | operator open ID |
15
-
16
- ## Safety Constraints
17
-
18
- This command is a **write operation** and deletes a config item.
19
-
20
- ## Examples
21
-
22
- ```bash
23
- ae-cli engage +delete_config_item --project_id 1 --config_id cfg_123 --open_id ou_xxx
24
- ```
@@ -1,69 +0,0 @@
1
- # engage-scene config-item
2
-
3
- > Capability ids: `engage-scene.config-item.{list,create,update}` · Domain: `engage`.
4
-
5
- `config-item` 是配置中心(场景管理)里的配置项。create 走 multipart,可携带可选头像文件。
6
-
7
- ## Commands
8
-
9
- ```bash
10
- # List config items of a project
11
- ae-cli engage-scene config-item list --project-id <project_id>
12
-
13
- # Create a config item (business type, group, optional avatar)
14
- ae-cli engage-scene config-item create \
15
- --project-id <project_id> --config-id <config_id> --config-name <name> \
16
- --business-type <config_file|params> \
17
- [--config-remark <remark>] [--group-id <group_id>] \
18
- [--avatar-word '["A","B"]'] [--file-name avatar.png] [--file-content "$(base64 -i avatar.png)"]
19
-
20
- # Update a config item's basic info and bound channel
21
- ae-cli engage-scene config-item update \
22
- --project-id <project_id> --config-id <config_id> \
23
- [--config-name <name>] [--config-remark <remark>] [--business-type <type>] \
24
- [--group-id <group_id>] [--channel-id <channel_id>]
25
- ```
26
-
27
- ## Parameters
28
-
29
- ### list
30
-
31
- | Parameter | Required | Description |
32
- |---|---|---|
33
- | `--project-id` / `-p` | Yes | Numeric project ID. |
34
-
35
- ### create
36
-
37
- | Parameter | Required | Description |
38
- |---|---|---|
39
- | `--project-id` / `-p` | Yes | Numeric project ID. |
40
- | `--config-id` | Yes | Config item ID (unique within the project). |
41
- | `--config-name` | Yes | Config item display name (<=80 chars). |
42
- | `--business-type` | Yes | Business type: `config_file` or `params`. |
43
- | `--config-remark` | No | Remark (<=200 chars). |
44
- | `--group-id` | No | Group ID (0 = default group). |
45
- | `--avatar-word` | No | JSON array of avatar words for the icon. |
46
- | `--file-name` | No | Avatar file name incl. extension. |
47
- | `--file-content` | No | Base64-encoded avatar file content. |
48
-
49
- ### update
50
-
51
- | Parameter | Required | Description |
52
- |---|---|---|
53
- | `--project-id` / `-p` | Yes | Numeric project ID. |
54
- | `--config-id` | Yes | Config item ID to update. |
55
- | `--config-name` | No | New display name. |
56
- | `--config-remark` | No | New remark. |
57
- | `--business-type` | No | New business type. |
58
- | `--group-id` | No | New group ID. |
59
- | `--channel-id` | No | Config channel ID to bind. |
60
-
61
- ## Output
62
-
63
- - `list`: `data.items` + `data.total`.
64
- - `create` / `update`: `data.success` — whether the operation succeeded.
65
-
66
- ## Decision Rules
67
-
68
- - `create` / `update` are `write`; `list` is read.
69
- - Use `config-item list` (or `engage +config_item_list`) to discover existing config items first; never invent IDs.
@@ -1,73 +0,0 @@
1
- # ae-engage +manage_strategy
2
-
3
-
4
- Batch manage strategy status or review actions.
5
-
6
- Mapped command: `ae-cli engage +manage_strategy`
7
-
8
- ## Flags
9
-
10
- | Flag | Type | Required | Description |
11
- |------|------|------|------|
12
- | `--project_id` / `-p` | number | Yes | Project ID |
13
- | `--config_id` | string | Yes | config item ID |
14
- | `--action` | string | Yes | action type |
15
- | `--strategy_uuid_list` | json | No | Strategy UUID JSON array |
16
- | `--strategy_list` | json | No | Review-entry JSON array |
17
- | `--reason` | string | No | review reason |
18
-
19
- ## Enum Notes
20
-
21
- ### `--action`
22
-
23
- - `online`: publish strategy, requires `--strategy_uuid_list`
24
- - `offline`: take strategy offline, requires `--strategy_uuid_list`
25
- - `suspend`: suspend strategy, requires `--strategy_uuid_list`
26
- - `delete`: delete strategy, requires `--strategy_uuid_list`
27
- - `approve`: review approved, requires `--strategy_list`
28
- - `deny`: review denied, requires `--strategy_list`
29
- - `cancel`: cancel review, requires `--strategy_list`
30
-
31
- ## JSON Parameter Notes
32
-
33
- ### `--strategy_uuid_list`
34
-
35
- Used for actions such as `online`, `offline`, `suspend`, and `delete` that batch-process items directly by UUID.
36
-
37
- ```json
38
- ["uuid_1", "uuid_2"]
39
- ```
40
-
41
- ### `--strategy_list`
42
-
43
- Used for review actions such as `approve`, `deny`, and `cancel`. Each array item is an object:
44
-
45
- | Field | Type | Required | Description |
46
- |------|------|------|------|
47
- | `strategyUuid` | string | Yes | strategy UUID |
48
- | `reason` | string | No | review reason for that strategy |
49
-
50
- Examples:
51
-
52
- ```json
53
- [
54
- { "strategyUuid": "uuid_1", "reason": "approve by ops" }
55
- ]
56
- ```
57
-
58
- ## Safety Constraints
59
-
60
- This command is a **write operation** and changes the strategy status.
61
-
62
- Different `action` values require different parameters:
63
-
64
- - `online` / `offline` / `suspend` / `delete`: must include `--strategy_uuid_list`
65
- - `approve` / `deny` / `cancel`: must include `--strategy_list`
66
-
67
- ## Examples
68
-
69
- ```bash
70
- ae-cli engage +manage_strategy \
71
- --project_id 1 --config_id cfg_123 --action online \
72
- --strategy_uuid_list '["uuid_1"]'
73
- ```