@thinkingai/ae-cli 1.0.3 → 1.0.15
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 +24 -53
- package/README.zh.md +203 -0
- package/dist/{auth-BQC5DBE7.js → auth-4GAHTBVH.js} +1 -1
- package/dist/{auth-DXKYLMO7.js → auth-U2GHFMFY.js} +5 -5
- package/dist/{chunk-ZYXIGPG7.js → chunk-OQ4XEG77.js} +2 -2
- package/dist/{chunk-53FNNCZW.js → chunk-TJIMDNAU.js} +1 -1
- package/dist/{chunk-3CDLNXTD.js → chunk-UK6HO5O5.js} +2 -2
- package/dist/{client-T4VODLA6.js → client-HU63573O.js} +2 -2
- package/dist/{config-V7AXKDMB.js → config-OLF7RBPM.js} +4 -4
- package/dist/index.js +14 -14
- package/dist/{raw-G3GKHAPZ.js → raw-GDO4IWNW.js} +3 -3
- package/dist/{te-analysis-CHFTDN55.js → te-analysis-ZDJXMWZY.js} +61 -23
- package/dist/{te-audience-M6LQY6M7.js → te-audience-T5B52EEB.js} +60 -20
- package/dist/{te-common-BLQ7DVGC.js → te-common-BPTXXTHQ.js} +5 -32
- package/dist/{community-FVDAWGS4.js → te-community-FPB5LH56.js} +58 -58
- package/dist/{te-dataops-V4OTKY35.js → te-dataops-2NUJVG47.js} +2 -27
- package/dist/{te-engage-DXE4R5EW.js → te-engage-K3EANZ5P.js} +3 -21
- package/dist/{te-meta-FMM7KCVI.js → te-meta-JJMV75KB.js} +85 -17
- package/package.json +3 -3
- package/skills/ae-analysis/SKILL.md +229 -0
- package/skills/{te-meta/references/batch-create-metadata.md → ae-analysis/references/batch_create_metadata.md} +3 -3
- package/skills/{te-meta/references/batch-edit-metadata.md → ae-analysis/references/batch_edit_metadata.md} +2 -2
- package/skills/{te-analysis/references/build-entity-details-sql.md → ae-analysis/references/build_entity_details_sql.md} +9 -9
- package/skills/{te-analysis/references/build-event-details-sql.md → ae-analysis/references/build_event_details_sql.md} +9 -9
- package/skills/{te-analysis/references/create-alert.md → ae-analysis/references/create_alert.md} +4 -4
- package/skills/{te-audience/references/create-cluster.md → ae-analysis/references/create_cluster.md} +23 -19
- package/skills/{te-analysis/references/create-dashboard.md → ae-analysis/references/create_dashboard.md} +4 -4
- package/skills/{te-meta/references/create-metric.md → ae-analysis/references/create_metric.md} +10 -10
- package/skills/{te-analysis/references/create-or-update-dashboard-note.md → ae-analysis/references/create_or_update_dashboard_note.md} +3 -3
- package/skills/{te-meta/references/create-project-mark-time.md → ae-analysis/references/create_project_mark_time.md} +3 -3
- package/skills/{te-analysis/references/create-public-access-link.md → ae-analysis/references/create_public_access_link.md} +3 -3
- package/skills/{te-analysis/references/create-report.md → ae-analysis/references/create_report.md} +9 -9
- package/skills/{te-analysis/references/create-result-cluster.md → ae-analysis/references/create_result_cluster.md} +6 -6
- package/skills/{te-audience/references/create-tag.md → ae-analysis/references/create_tag.md} +16 -15
- package/skills/{te-meta/references/create-virtual-event.md → ae-analysis/references/create_virtual_event.md} +9 -9
- package/skills/{te-meta/references/create-virtual-property.md → ae-analysis/references/create_virtual_property.md} +7 -7
- package/skills/{te-meta/references/delete-project-mark-times.md → ae-analysis/references/delete_project_mark_times.md} +2 -2
- package/skills/{te-meta/references/delete-track-items.md → ae-analysis/references/delete_track_items.md} +2 -2
- package/skills/{te-analysis/references/drilldown-user-events.md → ae-analysis/references/drilldown_user_events.md} +8 -8
- package/skills/{te-analysis/references/drilldown-users.md → ae-analysis/references/drilldown_users.md} +10 -7
- package/skills/ae-analysis/references/generate_track_program.md +51 -0
- package/skills/ae-analysis/references/generate_track_sdk_sample.md +43 -0
- package/skills/{te-analysis/references/get-alert.md → ae-analysis/references/get_alert.md} +2 -2
- package/skills/{te-analysis/references/get-alert-definition-schema.md → ae-analysis/references/get_alert_definition_schema.md} +1 -1
- package/skills/ae-analysis/references/get_analysis_query_schema.md +61 -0
- package/skills/ae-analysis/references/get_cluster_definition_schema.md +53 -0
- package/skills/ae-analysis/references/get_clusters_by_name.md +69 -0
- package/skills/{te-analysis/references/get-filter-schema.md → ae-analysis/references/get_filter_schema.md} +1 -1
- package/skills/{te-analysis/references/get-groupby-schema.md → ae-analysis/references/get_groupby_schema.md} +1 -1
- package/skills/{te-meta/references/get-metric.md → ae-analysis/references/get_metric.md} +2 -2
- package/skills/{te-meta/references/get-project-config.md → ae-analysis/references/get_project_config.md} +2 -2
- package/skills/{te-analysis/references/get-report-definition.md → ae-analysis/references/get_report_definition.md} +2 -2
- package/skills/{te-common/references/get-resource-url.md → ae-analysis/references/get_resource_url.md} +4 -4
- package/skills/{te-analysis/references/get-table-columns.md → ae-analysis/references/get_table_columns.md} +2 -2
- package/skills/ae-analysis/references/get_tag_definition_schema.md +49 -0
- package/skills/ae-analysis/references/get_tags_by_name.md +69 -0
- package/skills/{te-meta/references/get-track-program.md → ae-analysis/references/get_track_program.md} +2 -2
- package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md} +6 -3
- package/skills/{te-audience/references/list-cluster-members.md → ae-analysis/references/list_cluster_members.md} +11 -4
- package/skills/{te-audience/references/list-clusters.md → ae-analysis/references/list_clusters.md} +10 -4
- package/skills/{te-analysis/references/list-dashboards.md → ae-analysis/references/list_dashboards.md} +8 -4
- package/skills/{te-meta/references/list-entities.md → ae-analysis/references/list_entities.md} +10 -3
- package/skills/{te-meta/references/list-events.md → ae-analysis/references/list_events.md} +8 -5
- package/skills/ae-analysis/references/list_metrics.md +41 -0
- package/skills/ae-analysis/references/list_project_mark_times.md +42 -0
- package/skills/{te-meta/references/list-project-users.md → ae-analysis/references/list_project_users.md} +2 -2
- package/skills/{te-common/references/list-projects.md → ae-analysis/references/list_projects.md} +6 -4
- package/skills/{te-meta/references/list-properties.md → ae-analysis/references/list_properties.md} +9 -4
- package/skills/ae-analysis/references/list_public_access_links.md +41 -0
- package/skills/{te-analysis/references/list-reports.md → ae-analysis/references/list_reports.md} +8 -4
- package/skills/{te-audience/references/list-tag-members.md → ae-analysis/references/list_tag_members.md} +11 -4
- package/skills/{te-audience/references/list-tags.md → ae-analysis/references/list_tags.md} +10 -4
- package/skills/{te-analysis/references/load-filters.md → ae-analysis/references/load_filters.md} +3 -3
- package/skills/{te-analysis/references/query-adhoc.md → ae-analysis/references/query_adhoc.md} +14 -9
- package/skills/{te-analysis/references/query-dashboard-detail.md → ae-analysis/references/query_dashboard_detail.md} +2 -2
- package/skills/{te-analysis/references/query-dashboard-report-data.md → ae-analysis/references/query_dashboard_report_data.md} +9 -9
- package/skills/{te-analysis/references/query-entity-details.md → ae-analysis/references/query_entity_details.md} +10 -10
- package/skills/{te-analysis/references/query-event-details.md → ae-analysis/references/query_event_details.md} +12 -12
- package/skills/{te-analysis/references/query-report-data.md → ae-analysis/references/query_report_data.md} +11 -11
- package/skills/{te-audience/references/refresh-cluster.md → ae-analysis/references/refresh_cluster.md} +2 -2
- package/skills/{te-audience/references/refresh-tag.md → ae-analysis/references/refresh_tag.md} +2 -2
- package/skills/{te-meta/references/save-track-items.md → ae-analysis/references/save_track_items.md} +2 -2
- package/skills/{te-analysis/references/update-alert.md → ae-analysis/references/update_alert.md} +4 -4
- package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md} +15 -13
- package/skills/{te-analysis/references/update-dashboard.md → ae-analysis/references/update_dashboard.md} +3 -3
- package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md} +9 -9
- package/skills/{te-meta/references/update-project-mark-time.md → ae-analysis/references/update_project_mark_time.md} +3 -3
- package/skills/{te-analysis/references/update-public-access-link.md → ae-analysis/references/update_public_access_link.md} +3 -3
- package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md} +15 -14
- package/skills/ae-community/SKILL.md +305 -0
- package/skills/{te-community → ae-community}/references/community-activity-analysis.md +6 -7
- package/skills/{te-community → ae-community}/references/community-analyzing-official-content.md +3 -4
- package/skills/{te-community → ae-community}/references/community-analyzing-theme-comment.md +5 -6
- package/skills/{te-community → ae-community}/references/community-character-analysis.md +5 -6
- package/skills/{te-community → ae-community}/references/community-daily-report.md +7 -8
- package/skills/{te-community → ae-community}/references/community-hottopic-insight.md +4 -5
- package/skills/{te-community → ae-community}/references/community-weekly-report.md +7 -8
- package/skills/{te-community → ae-community}/references/get_channel_info.md +4 -5
- package/skills/{te-community → ae-community}/references/get_comment_tag_analysis.md +3 -4
- package/skills/{te-community → ae-community}/references/get_comments_summary.md +4 -5
- package/skills/{te-community → ae-community}/references/get_corpus_tags.md +3 -4
- package/skills/{te-community → ae-community}/references/get_daily_summary.md +3 -4
- package/skills/{te-community → ae-community}/references/get_hot_topics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_analysis.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_detail.md +4 -5
- package/skills/{te-community → ae-community}/references/get_livestream_list.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_overview.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_room_metrics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_rooms.md +3 -4
- package/skills/{te-community → ae-community}/references/get_overview_metrics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_post_detail.md +4 -5
- package/skills/{te-community → ae-community}/references/get_risk_content.md +5 -6
- package/skills/{te-community → ae-community}/references/get_sentiment_overview.md +4 -5
- package/skills/{te-community → ae-community}/references/get_tag_trends.md +3 -4
- package/skills/{te-community → ae-community}/references/get_topic_detail.md +3 -4
- package/skills/{te-community → ae-community}/references/search_posts.md +5 -6
- package/skills/{te-dataops → ae-dataops}/SKILL.md +73 -10
- package/skills/{te-dataops → ae-dataops}/references/dataops-flow-create.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-flow-monitor.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-integration.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-query.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-table.md +1 -1
- package/skills/{te-engage → ae-engage}/SKILL.md +106 -6
- package/skills/{te-engage → ae-engage}/references/add-approver.md +2 -2
- package/skills/{te-engage → ae-engage}/references/add-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/approver-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/cancel-query-by-request-id.md +2 -2
- package/skills/{te-engage → ae-engage}/references/channel-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/channel-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-channel-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-channel-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-analysis-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-strategy-comparison.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-trigger-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/copy-config-template.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-config-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-config-item.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-flow.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-ab-split-node-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-config-schema.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-detail-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-overview-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-process-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-flow.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-strategy.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-task.md +2 -2
- package/skills/{te-engage → ae-engage}/references/modify-flow-base-info.md +2 -2
- package/skills/{te-engage → ae-engage}/references/save-flow.md +3 -3
- package/skills/{te-engage → ae-engage}/references/strategy-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/strategy-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-data-detail.md +3 -10
- package/skills/{te-engage → ae-engage}/references/task-data-overview.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-experiment-report.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-metric-detail.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-stats.md +2 -2
- package/skills/{te-engage → ae-engage}/references/update-channel-status.md +2 -2
- package/skills/{te-engage → ae-engage}/references/update-config-channel-status.md +2 -2
- package/skills/{te-engage → ae-engage}/references/validate-flow-node-config.md +2 -2
- package/skills/{te-engage → ae-engage}/references/whitelist-list.md +2 -2
- package/dist/auth-JXELJNDS.js +0 -19
- package/dist/auth-L3G3A74I.js +0 -67
- package/dist/chunk-3GM5LJZR.js +0 -145
- package/dist/chunk-JD5DXMKL.js +0 -172
- package/dist/chunk-OVQOK35G.js +0 -108
- package/dist/chunk-RJNLN3KQ.js +0 -217
- package/dist/client-5QSQBBDB.js +0 -16
- package/dist/community-GMALVSRF.js +0 -684
- package/dist/config-Q7J3Z7Z2.js +0 -242
- package/dist/raw-ZNVURYMR.js +0 -59
- package/dist/te-analysis-7NN3SY3I.js +0 -871
- package/dist/te-audience-P43BWMHM.js +0 -350
- package/dist/te-common-H3IPTI2I.js +0 -144
- package/dist/te-dataops-WCGDBJLF.js +0 -1853
- package/dist/te-engage-UTRVNTGU.js +0 -1470
- package/dist/te-meta-HGYNXVGF.js +0 -479
- package/skills/te-analysis/SKILL.md +0 -107
- package/skills/te-analysis/references/get-analysis-query-schema.md +0 -36
- package/skills/te-analysis/references/list-public-access-links.md +0 -31
- package/skills/te-audience/SKILL.md +0 -63
- package/skills/te-audience/references/get-cluster-definition-schema.md +0 -37
- package/skills/te-audience/references/get-clusters-by-name.md +0 -32
- package/skills/te-audience/references/get-tag-definition-schema.md +0 -32
- package/skills/te-audience/references/get-tags-by-name.md +0 -32
- package/skills/te-common/SKILL.md +0 -135
- package/skills/te-community/SKILL.md +0 -125
- package/skills/te-meta/SKILL.md +0 -71
- package/skills/te-meta/references/list-metrics.md +0 -33
- package/skills/te-meta/references/list-project-mark-times.md +0 -33
- package/skills/te-shared/SKILL.md +0 -115
package/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
[中文版](./README.zh.md) | [English](./README.md)
|
|
3
|
+
|
|
1
4
|
# ae-cli
|
|
2
5
|
|
|
3
6
|
CLI tool for ThinkingAI AgenticEngine (AE) platform. Designed for both AI Agent and human use.
|
|
@@ -16,7 +19,7 @@ npm install -g @thinkingai/ae-cli
|
|
|
16
19
|
npx skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
17
20
|
```
|
|
18
21
|
|
|
19
|
-
This installs
|
|
22
|
+
This installs 4 skill packages into your AI coding agent (Claude Code, Trae, Cursor, etc.), enabling the agent to understand and call ae-cli commands.
|
|
20
23
|
|
|
21
24
|
To update:
|
|
22
25
|
|
|
@@ -33,11 +36,11 @@ ae-cli config
|
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
The `config` command opens an interactive terminal UI:
|
|
36
|
-
- First run: prompts you to add a
|
|
39
|
+
- First run: prompts you to add a AE host URL and label, then auto-authenticates
|
|
37
40
|
- Subsequent runs: shows all configured hosts, lets you switch, edit, delete, or add new ones
|
|
38
41
|
|
|
39
42
|
```
|
|
40
|
-
|
|
43
|
+
AE Host Manager (↑↓ select · Enter switch · e edit label · d delete · a add · q quit)
|
|
41
44
|
|
|
42
45
|
❯ ● Production https://ta.thinkingdata.cn ✓
|
|
43
46
|
○ Staging https://ta-staging.example.com:8080 ✗
|
|
@@ -49,7 +52,7 @@ After selecting a host, ae-cli automatically checks if the token is valid. If no
|
|
|
49
52
|
## Usage
|
|
50
53
|
|
|
51
54
|
```bash
|
|
52
|
-
#
|
|
55
|
+
# AE meta domain (metadata and governance)
|
|
53
56
|
ae-cli analysis_meta +list_events --project_id 1
|
|
54
57
|
|
|
55
58
|
# Table output
|
|
@@ -61,7 +64,7 @@ ae-cli api GET /v1/ta/event/catalog/listEvent --params '{"projectId": 1}'
|
|
|
61
64
|
|
|
62
65
|
## Authentication
|
|
63
66
|
|
|
64
|
-
Authentication is handled per-host. Each
|
|
67
|
+
Authentication is handled per-host. Each AE host URL maintains its own token.
|
|
65
68
|
|
|
66
69
|
```bash
|
|
67
70
|
# Auto-login for active host (macOS, extracts token from Chrome)
|
|
@@ -96,7 +99,7 @@ ae-cli auth logout
|
|
|
96
99
|
|
|
97
100
|
| Option | Description | Default |
|
|
98
101
|
|--------|-------------|---------|
|
|
99
|
-
| `--host <url>` | Override active
|
|
102
|
+
| `--host <url>` | Override active AE host URL | from config |
|
|
100
103
|
| `--format <json\|table>` | Output format | json |
|
|
101
104
|
| `--jq <expr>` | Filter expression | - |
|
|
102
105
|
| `--dry-run` | Preview request | false |
|
|
@@ -104,52 +107,35 @@ ae-cli auth logout
|
|
|
104
107
|
|
|
105
108
|
## Skills
|
|
106
109
|
|
|
107
|
-
|
|
110
|
+
5 AI Agent skill packages are included in the `skills/` directory:
|
|
108
111
|
|
|
109
112
|
| Skill | Description |
|
|
110
113
|
|-------|-------------|
|
|
111
|
-
| `
|
|
112
|
-
| `
|
|
113
|
-
| `
|
|
114
|
-
| `
|
|
115
|
-
| `te-engage` | Hermes Engage MCP: channels, tasks, configs, flows, strategies |
|
|
116
|
-
| `te-dataops` | Data warehouse management, task flows, IDE queries, integration, operations |
|
|
117
|
-
| `te-community` | Community analysis: posts, comments, topics, livestreams |
|
|
118
|
-
| `te-common` | Cross-module constraints: project ID gate, resource link completion |
|
|
114
|
+
| `ae-analysis` | Unified analysis skill: analysis + audience + metadata + common constraints (project gate/resource links) |
|
|
115
|
+
| `ae-engage` | Hermes Engage MCP: channels, tasks, configs, flows, strategies |
|
|
116
|
+
| `ae-dataops` | Data warehouse management, task flows, IDE queries, integration, operations |
|
|
117
|
+
| `ae-community` | Community analysis: posts, comments, topics, livestreams |
|
|
119
118
|
|
|
120
119
|
Install them with:
|
|
121
120
|
|
|
122
121
|
```bash
|
|
123
|
-
npx skills add
|
|
122
|
+
npx skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
124
123
|
```
|
|
125
124
|
|
|
126
125
|
## Skill Details
|
|
127
126
|
|
|
128
|
-
###
|
|
127
|
+
### ae-analysis (67 tools)
|
|
129
128
|
|
|
130
|
-
|
|
129
|
+
Unified AE analysis capabilities:
|
|
131
130
|
- **Alerts**: view, create, update alert definitions
|
|
132
131
|
- **Reports & Dashboards**: create, query, update reports and dashboards
|
|
133
132
|
- **Model Analysis**: event analysis, retention analysis, funnel analysis, SQL analysis, user property analysis, distribution analysis, interval analysis, path analysis, attribution analysis
|
|
133
|
+
- **Audience**: cluster and tag lifecycle management, plus definition schema tools
|
|
134
|
+
- **Metadata Governance**: events/properties, metrics, virtual metadata, project config, tracking plans, mark times, entity catalog
|
|
135
|
+
- **Common Constraints**: mandatory project ID gate and post-write resource-link completion
|
|
134
136
|
- **Entity/Event Details**: query details, generate analysis SQL
|
|
135
137
|
- **Schema Helpers**: analysis query schema, filter schema, groupby schema
|
|
136
138
|
|
|
137
|
-
### te-audience (14 tools)
|
|
138
|
-
|
|
139
|
-
Audience operations and targeting:
|
|
140
|
-
- **Clusters**: create, update, query, member inspection, recomputation
|
|
141
|
-
- **Tags**: create, update, query, member inspection, recomputation
|
|
142
|
-
- **Schema Definitions**: cluster/tag definition schemas
|
|
143
|
-
|
|
144
|
-
### te-meta (20 tools)
|
|
145
|
-
|
|
146
|
-
Metadata and tracking-plan governance:
|
|
147
|
-
- **Metadata Governance**: events/properties, metrics, virtual metadata
|
|
148
|
-
- **Project Configuration**: project config, project users
|
|
149
|
-
- **Tracking Plans**: track program management
|
|
150
|
-
- **Mark Times**: date markers management
|
|
151
|
-
- **Entity Catalog**: entity listing
|
|
152
|
-
|
|
153
139
|
### engage (40+ tools)
|
|
154
140
|
|
|
155
141
|
Hermes Engage MCP capabilities:
|
|
@@ -158,7 +144,7 @@ Hermes Engage MCP capabilities:
|
|
|
158
144
|
- **Configs**: config items, strategies, strategy comparison, trigger/analysis reports
|
|
159
145
|
- **Flows**: flow creation, node config, flow reports, flow validation
|
|
160
146
|
|
|
161
|
-
###
|
|
147
|
+
### ae-dataops (50+ tools)
|
|
162
148
|
|
|
163
149
|
Data warehouse management:
|
|
164
150
|
- **Repo Management**: spaces, catalogs, schemas, members
|
|
@@ -168,7 +154,7 @@ Data warehouse management:
|
|
|
168
154
|
- **Integration**: datasource management, sync solutions, data synchronization
|
|
169
155
|
- **Operations**: flow instances, task instances, backfill jobs
|
|
170
156
|
|
|
171
|
-
###
|
|
157
|
+
### ae-community (30+ tools)
|
|
172
158
|
|
|
173
159
|
Community social media analysis:
|
|
174
160
|
- **Posts**: search, detail, corpus tags
|
|
@@ -177,21 +163,6 @@ Community social media analysis:
|
|
|
177
163
|
- **Livestreams**: rooms, sessions, analysis, metrics
|
|
178
164
|
- **Advanced Analysis**: activity analysis, character analysis, weekly reports, release analysis
|
|
179
165
|
|
|
180
|
-
### te-common (2 tools)
|
|
181
|
-
|
|
182
|
-
Cross-module common constraints:
|
|
183
|
-
- **Project ID Gate**: mandatory project verification before execution
|
|
184
|
-
- **Resource Link Completion**: post-write link generation for dashboards, reports, metrics, alerts, clusters, tags
|
|
185
|
-
|
|
186
|
-
## Development
|
|
187
|
-
|
|
188
|
-
```bash
|
|
189
|
-
git clone https://github.com/ThinkingAIAgenticEngine/ae-cli.git
|
|
190
|
-
cd ae-cli
|
|
191
|
-
npm install
|
|
192
|
-
npx tsx src/index.ts --help
|
|
193
|
-
```
|
|
194
|
-
|
|
195
166
|
## Architecture
|
|
196
167
|
|
|
197
168
|
ae-cli is built with:
|
|
@@ -214,7 +185,7 @@ src/
|
|
|
214
185
|
├── te-meta/
|
|
215
186
|
├── te-engage/
|
|
216
187
|
├── te-dataops/
|
|
217
|
-
├── community/
|
|
188
|
+
├── te-community/
|
|
218
189
|
└── te-common/
|
|
219
190
|
```
|
|
220
191
|
|
|
@@ -229,4 +200,4 @@ npm run verify:analysis-common-tools
|
|
|
229
200
|
|
|
230
201
|
## License
|
|
231
202
|
|
|
232
|
-
MIT
|
|
203
|
+
MIT
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
|
|
2
|
+
[中文版](./README.zh.md) | [English](./README.md)
|
|
3
|
+
|
|
4
|
+
# ae-cli
|
|
5
|
+
|
|
6
|
+
ThinkingAI AgenticEngine (AE) 平台的 CLI 工具。专为 AI Agent 和人类用户设计。
|
|
7
|
+
|
|
8
|
+
## 安装
|
|
9
|
+
|
|
10
|
+
**第一步:安装 ae-cli**
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g @thinkingai/ae-cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**第二步:安装 AI Agent Skills**
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
这将安装 4 个技能包到您的 AI 编程助手(Claude Code、Trae、Cursor 等)中,使助手能够理解并调用 ae-cli 命令。
|
|
23
|
+
|
|
24
|
+
更新方式:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm cache clean --force && npm install -g @thinkingai/ae-cli
|
|
28
|
+
npx skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 快速开始
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# 首次运行 — 交互式主机配置 + 自动登录
|
|
35
|
+
ae-cli config
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
`config` 命令会打开一个交互式终端界面:
|
|
39
|
+
- 首次运行:提示您添加 AE 主机 URL 和标签,然后自动进行身份验证
|
|
40
|
+
- 后续运行:显示所有已配置的主机,可以切换、编辑、删除或添加新主机
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
AE Host Manager (↑↓ 选择 · Enter 切换 · e 编辑标签 · d 删除 · a 添加 · q 退出)
|
|
44
|
+
|
|
45
|
+
❯ ● Production https://ta.thinkingdata.cn ✓
|
|
46
|
+
○ Staging https://ta-staging.example.com:8080 ✗
|
|
47
|
+
+ Add new host...
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
选择主机后,ae-cli 会自动检查 token 是否有效。如果无效,会自动触发 `auth login`。
|
|
51
|
+
|
|
52
|
+
## 使用方法
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# AE 元数据域(元数据和治理)
|
|
56
|
+
ae-cli analysis_meta +list_events --project_id 1
|
|
57
|
+
|
|
58
|
+
# 表格输出
|
|
59
|
+
ae-cli analysis_meta +list_events --project_id 1 --format table
|
|
60
|
+
|
|
61
|
+
# 原始 API 调用
|
|
62
|
+
ae-cli api GET /v1/ta/event/catalog/listEvent --params '{"projectId": 1}'
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 身份验证
|
|
66
|
+
|
|
67
|
+
每个 AE 主机 URL 维护独立的身份验证 token。
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# 自动登录当前主机(macOS,从 Chrome 提取 token)
|
|
71
|
+
ae-cli auth login
|
|
72
|
+
|
|
73
|
+
# 手动设置 token
|
|
74
|
+
ae-cli auth set-token <your-token>
|
|
75
|
+
|
|
76
|
+
# 检查状态
|
|
77
|
+
ae-cli auth status
|
|
78
|
+
|
|
79
|
+
# 登出
|
|
80
|
+
ae-cli auth logout
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## 命令
|
|
84
|
+
|
|
85
|
+
### 域
|
|
86
|
+
|
|
87
|
+
| 域 | 命令数 | 描述 |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| `analysis` | 31 | 分析工作流:告警、报表、仪表板、即时分析/下钻、分群/标签、元数据/指标、项目工具、实体详情、分析模型 |
|
|
90
|
+
| `analysis_audience` | 14 | 受众运营:分群、标签及其定义模型 |
|
|
91
|
+
| `analysis_meta` | 20 | 元数据治理:事件/属性、指标、虚拟元数据、项目配置、埋点方案、标记时间、资源链接 |
|
|
92
|
+
| `engage` | 40+ | Hermes Engage MCP:渠道、任务、配置、流程、策略 |
|
|
93
|
+
| `te_dataops` | 50+ | 数仓管理:仓库、数据表、任务流、IDE 查询、数据集成、运维管理 |
|
|
94
|
+
| `te_community` | 30+ | 社区分析:帖子搜索、情感分析、话题趋势、直播数据 |
|
|
95
|
+
| `analysis_common` | 2 | 跨模块通用约束:资源链接补全、项目 ID 门控 |
|
|
96
|
+
| `operation` | 11 | 任务、流程、渠道、空间导航 |
|
|
97
|
+
|
|
98
|
+
### 全局选项
|
|
99
|
+
|
|
100
|
+
| 选项 | 描述 | 默认值 |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| `--host <url>` | 覆盖当前 AE 主机 URL | 从配置读取 |
|
|
103
|
+
| `--format <json\|table>` | 输出格式 | json |
|
|
104
|
+
| `--jq <expr>` | 过滤表达式 | - |
|
|
105
|
+
| `--dry-run` | 预览请求 | false |
|
|
106
|
+
| `--yes` | 跳过确认 | false |
|
|
107
|
+
|
|
108
|
+
## Skills
|
|
109
|
+
|
|
110
|
+
`skills/` 目录包含 4 个 AI Agent 技能包:
|
|
111
|
+
|
|
112
|
+
| Skill | 描述 |
|
|
113
|
+
|---|---|
|
|
114
|
+
| `ae-analysis` | 统一分析技能:analysis + audience + metadata + 通用约束(项目门控/资源链接) |
|
|
115
|
+
| `ae-engage` | Hermes Engage MCP:渠道、任务、配置、流程、策略 |
|
|
116
|
+
| `ae-dataops` | 数仓管理、任务流、IDE 查询、数据集成、运维管理 |
|
|
117
|
+
| `ae-community` | 社区分析:帖子、评论、话题、直播 |
|
|
118
|
+
|
|
119
|
+
安装方式:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npx skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Skill 详情
|
|
126
|
+
|
|
127
|
+
### ae-analysis(67 个工具)
|
|
128
|
+
|
|
129
|
+
统一的 AE 分析能力:
|
|
130
|
+
- **告警**:查看、创建、更新告警定义
|
|
131
|
+
- **报表和仪表板**:创建、查询、更新报表和仪表板
|
|
132
|
+
- **模型分析**:事件分析、留存分析、漏斗分析、SQL 分析、用户属性分析、分布分析、间隔分析、路径分析、归因分析
|
|
133
|
+
- **受众**:分群和标签生命周期管理,以及定义模型工具
|
|
134
|
+
- **元数据治理**:事件/属性、指标、虚拟元数据、项目配置、埋点方案、标记时间、实体目录
|
|
135
|
+
- **通用约束**:强制的项目 ID 门控和写入后资源链接补全
|
|
136
|
+
- **实体/事件详情**:查询详情、生成分析 SQL
|
|
137
|
+
- **模型辅助**:分析查询模型、过滤模型、分组模型
|
|
138
|
+
|
|
139
|
+
### engage(40+ 个工具)
|
|
140
|
+
|
|
141
|
+
Hermes Engage MCP 能力:
|
|
142
|
+
- **渠道**:渠道管理、配置渠道、审批管理
|
|
143
|
+
- **任务**:任务列表、任务详情、任务数据/指标概览、实验报告
|
|
144
|
+
- **配置**:配置项、策略、策略对比、触发/分析报告
|
|
145
|
+
- **流程**:流程创建、节点配置、流程报告、流程验证
|
|
146
|
+
|
|
147
|
+
### ae-dataops(50+ 个工具)
|
|
148
|
+
|
|
149
|
+
数仓管理:
|
|
150
|
+
- **仓库管理**:空间、目录、模式、成员
|
|
151
|
+
- **数据表**:表创建、视图、批量操作、数据字典
|
|
152
|
+
- **任务流**:流程创建、任务节点、调度、执行、监控
|
|
153
|
+
- **IDE 查询**:元数据浏览、SQL 执行、查询管理
|
|
154
|
+
- **数据集成**:数据源管理、同步方案、数据同步
|
|
155
|
+
- **运维管理**:流程实例、任务实例、补数据任务
|
|
156
|
+
|
|
157
|
+
### ae-community(30+ 个工具)
|
|
158
|
+
|
|
159
|
+
社区社媒分析:
|
|
160
|
+
- **帖子**:搜索、详情、语料标签
|
|
161
|
+
- **评论**:情感分析、标签分析、摘要
|
|
162
|
+
- **话题**:热门话题、趋势、每日摘要
|
|
163
|
+
- **直播**:直播间、场次、分析、指标
|
|
164
|
+
- **高级分析**:活动分析、角色分析、周报、发布分析
|
|
165
|
+
|
|
166
|
+
## 架构
|
|
167
|
+
|
|
168
|
+
ae-cli 基于:
|
|
169
|
+
- **TypeScript**(约 8000 行代码)
|
|
170
|
+
- **Commander.js** 作为 CLI 框架
|
|
171
|
+
- **WebSocket** 用于 MCP 服务器集成
|
|
172
|
+
- **Node.js** 运行时(v18+)
|
|
173
|
+
|
|
174
|
+
项目结构:
|
|
175
|
+
```
|
|
176
|
+
src/
|
|
177
|
+
├── core/ # 核心模块:auth, config, client, mcp
|
|
178
|
+
├── framework/ # 框架:types, register, runner, output
|
|
179
|
+
├── api/ # 原始 API 访问
|
|
180
|
+
└── commands/ # 领域特定命令
|
|
181
|
+
├── auth.ts
|
|
182
|
+
├── config.ts
|
|
183
|
+
├── te-analysis/
|
|
184
|
+
├── te-audience/
|
|
185
|
+
├── te-meta/
|
|
186
|
+
├── te-engage/
|
|
187
|
+
├── te-dataops/
|
|
188
|
+
├── te-community/
|
|
189
|
+
└── te-common/
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
## 验证脚本
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
npm run verify:analysis-tools
|
|
196
|
+
npm run verify:analysis-audience-tools
|
|
197
|
+
npm run verify:analysis-meta-tools
|
|
198
|
+
npm run verify:analysis-common-tools
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## 许可证
|
|
202
|
+
|
|
203
|
+
MIT
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getToken,
|
|
9
9
|
resolveHost,
|
|
10
10
|
setTokenManual
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UK6HO5O5.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig,
|
|
14
14
|
saveConfig
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
// src/commands/auth.ts
|
|
18
18
|
function registerAuth(program) {
|
|
19
19
|
const auth = program.command("auth").description("Authentication management");
|
|
20
|
-
auth.command("login").description("Login to
|
|
20
|
+
auth.command("login").description("Login to AE (auto-extract token from Chrome on macOS)").action(async () => {
|
|
21
21
|
const host = resolveHost(program.opts().host);
|
|
22
22
|
if (!host) {
|
|
23
|
-
printError("config", "No
|
|
23
|
+
printError("config", "No AE host configured.", "Run: ae-cli config set-host");
|
|
24
24
|
process.exit(1);
|
|
25
25
|
}
|
|
26
26
|
try {
|
|
@@ -36,7 +36,7 @@ function registerAuth(program) {
|
|
|
36
36
|
auth.command("set-token <token>").description("Manually set authentication token for active host").action((token) => {
|
|
37
37
|
const host = resolveHost(program.opts().host);
|
|
38
38
|
if (!host) {
|
|
39
|
-
printError("config", "No
|
|
39
|
+
printError("config", "No AE host configured.", "Run: ae-cli config set-host");
|
|
40
40
|
process.exit(1);
|
|
41
41
|
}
|
|
42
42
|
const config = loadConfig();
|
|
@@ -67,7 +67,7 @@ function registerAuth(program) {
|
|
|
67
67
|
auth.command("logout").description("Clear stored token for active host").action(() => {
|
|
68
68
|
const host = resolveHost(program.opts().host);
|
|
69
69
|
if (!host) {
|
|
70
|
-
printError("config", "No
|
|
70
|
+
printError("config", "No AE host configured.", "Run: ae-cli config set-host");
|
|
71
71
|
process.exit(1);
|
|
72
72
|
}
|
|
73
73
|
clearToken(host);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clearToken,
|
|
3
3
|
getToken,
|
|
4
4
|
resolveHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UK6HO5O5.js";
|
|
6
6
|
import {
|
|
7
7
|
safeJsonParse
|
|
8
8
|
} from "./chunk-EBFUVWIZ.js";
|
|
@@ -49,7 +49,7 @@ async function request(method, modulePath, params = {}, body = null, retry = tru
|
|
|
49
49
|
return request(method, modulePath, params, body, false, resolvedHost);
|
|
50
50
|
}
|
|
51
51
|
if (data.return_code !== 0 && data.return_code !== void 0) {
|
|
52
|
-
throw new Error(`
|
|
52
|
+
throw new Error(`AE API error: ${data.return_message || "unknown"} (code: ${data.return_code})`);
|
|
53
53
|
}
|
|
54
54
|
return data.data !== void 0 ? data.data : data;
|
|
55
55
|
}
|
|
@@ -130,7 +130,7 @@ function extractTokenViaOsascript(hostUrl) {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
async function requestTokenViaOsascript(hostUrl) {
|
|
133
|
-
process.stderr.write(`[ae-cli] No
|
|
133
|
+
process.stderr.write(`[ae-cli] No AE tab found in Chrome. Opening ${hostUrl} ...
|
|
134
134
|
`);
|
|
135
135
|
process.stderr.write(`[ae-cli] Please login, then your token will be captured automatically.
|
|
136
136
|
`);
|
|
@@ -168,7 +168,7 @@ async function requestTokenViaOsascript(hostUrl) {
|
|
|
168
168
|
async function getToken(hostUrl) {
|
|
169
169
|
if (!hostUrl) {
|
|
170
170
|
throw new Error(
|
|
171
|
-
`No
|
|
171
|
+
`No AE host configured.
|
|
172
172
|
Run: ae-cli config set-host`
|
|
173
173
|
);
|
|
174
174
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthStatus,
|
|
3
3
|
getToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UK6HO5O5.js";
|
|
5
5
|
import {
|
|
6
6
|
addHost,
|
|
7
7
|
listHosts,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
// src/commands/config.ts
|
|
14
14
|
import * as readline from "readline";
|
|
15
15
|
function registerConfig(program) {
|
|
16
|
-
program.command("config").description("Interactive
|
|
16
|
+
program.command("config").description("Interactive AE host configuration manager").action(async () => {
|
|
17
17
|
await runConfigUI(program);
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
async function runConfigUI(program) {
|
|
21
21
|
const hosts = listHosts();
|
|
22
22
|
if (hosts.length === 0) {
|
|
23
|
-
process.stderr.write("\x1B[1m[ae-cli] No
|
|
23
|
+
process.stderr.write("\x1B[1m[ae-cli] No AE hosts configured. Let's add one.\x1B[0m\n\n");
|
|
24
24
|
const newHost = await promptNewHost();
|
|
25
25
|
if (!newHost) {
|
|
26
26
|
process.stderr.write("Cancelled.\n");
|
|
@@ -157,7 +157,7 @@ async function ensureAuth(hostUrl) {
|
|
|
157
157
|
async function promptNewHost() {
|
|
158
158
|
const rl = readline.createInterface({ input: process.stdin, output: process.stderr });
|
|
159
159
|
const ask = (q) => new Promise((resolve) => rl.question(q, (a) => resolve(a.trim())));
|
|
160
|
-
const url = await ask("
|
|
160
|
+
const url = await ask("AE host URL (e.g., https://ta.thinkingdata.cn): ");
|
|
161
161
|
if (!url) {
|
|
162
162
|
rl.close();
|
|
163
163
|
return null;
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ async function runCommand(cmd, opts, globalOpts) {
|
|
|
50
50
|
const message = err.message || String(err);
|
|
51
51
|
if (message.includes("token") || message.includes("auth") || message.includes("401") || message.includes("403")) {
|
|
52
52
|
printError("auth", message, "Run: ae-cli auth login");
|
|
53
|
-
} else if (message.includes("
|
|
53
|
+
} else if (message.includes("AE API error")) {
|
|
54
54
|
printError("api", message);
|
|
55
55
|
} else {
|
|
56
56
|
printError("api", message);
|
|
@@ -62,7 +62,7 @@ function createRuntimeContext(cmd, opts, globalOpts) {
|
|
|
62
62
|
let _clientModule = null;
|
|
63
63
|
async function getClient() {
|
|
64
64
|
if (!_clientModule) {
|
|
65
|
-
_clientModule = await import("./client-
|
|
65
|
+
_clientModule = await import("./client-HU63573O.js");
|
|
66
66
|
}
|
|
67
67
|
return _clientModule;
|
|
68
68
|
}
|
|
@@ -105,7 +105,7 @@ function createRuntimeContext(cmd, opts, globalOpts) {
|
|
|
105
105
|
return client.queryReportData(projectId, reportId, qp, eventModel, options, ctx.host());
|
|
106
106
|
},
|
|
107
107
|
async token() {
|
|
108
|
-
const { getToken } = await import("./auth-
|
|
108
|
+
const { getToken } = await import("./auth-4GAHTBVH.js");
|
|
109
109
|
return getToken(ctx.host());
|
|
110
110
|
},
|
|
111
111
|
host() {
|
|
@@ -206,41 +206,41 @@ function extractGlobalOptions(program2) {
|
|
|
206
206
|
var require2 = createRequire(import.meta.url);
|
|
207
207
|
var { version } = require2("../package.json");
|
|
208
208
|
var program = new CommanderCommand();
|
|
209
|
-
program.name("ae-cli").version(version).description("CLI tool for
|
|
209
|
+
program.name("ae-cli").version(version).description("CLI tool for ThinkingAI (AE) analytics platform").option("--host <url>", "Override active AE host URL (e.g., https://ta.thinkingdata.cn)").option("--mcp-url <url>", "Override MCP server URL (e.g., http://localhost/mcp/http/example)").option("--format <format>", "Output format: json | table", "json").option("--jq <expr>", "jq filter expression").option("--dry-run", "Show request details without executing", false).option("--yes", "Skip confirmation for write operations", false);
|
|
210
210
|
async function loadCommands() {
|
|
211
211
|
const commands = [];
|
|
212
212
|
try {
|
|
213
|
-
const teAnalysis = await import("./te-analysis-
|
|
213
|
+
const teAnalysis = await import("./te-analysis-ZDJXMWZY.js");
|
|
214
214
|
commands.push(...teAnalysis.default);
|
|
215
215
|
} catch {
|
|
216
216
|
}
|
|
217
217
|
try {
|
|
218
|
-
const teAudience = await import("./te-audience-
|
|
218
|
+
const teAudience = await import("./te-audience-T5B52EEB.js");
|
|
219
219
|
commands.push(...teAudience.default);
|
|
220
220
|
} catch {
|
|
221
221
|
}
|
|
222
222
|
try {
|
|
223
|
-
const teMeta = await import("./te-meta-
|
|
223
|
+
const teMeta = await import("./te-meta-JJMV75KB.js");
|
|
224
224
|
commands.push(...teMeta.default);
|
|
225
225
|
} catch {
|
|
226
226
|
}
|
|
227
227
|
try {
|
|
228
|
-
const teCommon = await import("./te-common-
|
|
228
|
+
const teCommon = await import("./te-common-BPTXXTHQ.js");
|
|
229
229
|
commands.push(...teCommon.default);
|
|
230
230
|
} catch {
|
|
231
231
|
}
|
|
232
232
|
try {
|
|
233
|
-
const engage = await import("./te-engage-
|
|
233
|
+
const engage = await import("./te-engage-K3EANZ5P.js");
|
|
234
234
|
commands.push(...engage.default);
|
|
235
235
|
} catch {
|
|
236
236
|
}
|
|
237
237
|
try {
|
|
238
|
-
const community = await import("./community-
|
|
238
|
+
const community = await import("./te-community-FPB5LH56.js");
|
|
239
239
|
commands.push(...community.default);
|
|
240
240
|
} catch {
|
|
241
241
|
}
|
|
242
242
|
try {
|
|
243
|
-
const dataops = await import("./te-dataops-
|
|
243
|
+
const dataops = await import("./te-dataops-2NUJVG47.js");
|
|
244
244
|
commands.push(...dataops.default);
|
|
245
245
|
} catch {
|
|
246
246
|
}
|
|
@@ -248,21 +248,21 @@ async function loadCommands() {
|
|
|
248
248
|
}
|
|
249
249
|
async function registerAuthCommands() {
|
|
250
250
|
try {
|
|
251
|
-
const { registerAuth } = await import("./auth-
|
|
251
|
+
const { registerAuth } = await import("./auth-U2GHFMFY.js");
|
|
252
252
|
registerAuth(program);
|
|
253
253
|
} catch {
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
async function registerConfigCommands() {
|
|
257
257
|
try {
|
|
258
|
-
const { registerConfig } = await import("./config-
|
|
258
|
+
const { registerConfig } = await import("./config-OLF7RBPM.js");
|
|
259
259
|
registerConfig(program);
|
|
260
260
|
} catch {
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
async function registerApiCommand() {
|
|
264
264
|
try {
|
|
265
|
-
const { registerApi } = await import("./raw-
|
|
265
|
+
const { registerApi } = await import("./raw-GDO4IWNW.js");
|
|
266
266
|
registerApi(program);
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
httpGet,
|
|
7
7
|
httpPost
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OQ4XEG77.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveHost
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UK6HO5O5.js";
|
|
12
12
|
import {
|
|
13
13
|
safeJsonParse
|
|
14
14
|
} from "./chunk-EBFUVWIZ.js";
|
|
@@ -21,7 +21,7 @@ function registerApi(program) {
|
|
|
21
21
|
const format = globalOpts.format || "json";
|
|
22
22
|
const jq = globalOpts.jq;
|
|
23
23
|
if (!host) {
|
|
24
|
-
printError("config", "No
|
|
24
|
+
printError("config", "No AE host configured.", "Run: ae-cli config set-host");
|
|
25
25
|
process.exit(1);
|
|
26
26
|
}
|
|
27
27
|
try {
|