@thinkingai/ae-cli 6.0.36 → 6.0.37
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 +216 -150
- package/README.zh.md +224 -159
- package/dist/{auth-B2BRSYMS.js → auth-56Z45UVR.js} +1 -1
- package/dist/{capability-6KPXYNO7.js → capability-2H6PAOA3.js} +1 -1
- package/dist/{capability-ROKYESAP.js → capability-YPOQX6PL.js} +1 -1
- package/dist/{chunk-JTKMDN4A.js → chunk-KTYR3U6D.js} +471 -31
- package/dist/{chunk-EBPXT3TN.js → chunk-LHVM35J4.js} +1 -1
- package/dist/{chunk-RRFK2W7I.js → chunk-PVBYJWC2.js} +1 -1
- package/dist/{config-DDYJPJX3.js → config-BSSALXEN.js} +1 -1
- package/dist/index.js +44 -14
- package/dist/{metadata-2ZFRMVOL.js → metadata-AN3YFZEV.js} +2 -2
- package/dist/{metadata-ABQCKU5P.js → metadata-JIQ77HFY.js} +2 -2
- package/dist/{raw-6HXFFHLV.js → raw-XJCAT3HX.js} +1 -1
- package/dist/{sync-BF3IWYFC.js → sync-QFP4XFN3.js} +1 -1
- package/dist/{te-agent-3GJ5H2XF.js → te-agent-JHUG6DVV.js} +27 -0
- package/dist/{te-analysis-PCGESPLW.js → te-analysis-IWQZO423.js} +2 -2
- package/dist/{te-analysis-DJ6KELTU.js → te-analysis-X222IRYR.js} +2 -2
- package/dist/{te-dataops-ROHUJOX5.js → te-dataops-PZQ5NQLY.js} +1 -1
- package/dist/{te-dataops-LXL5YULV.js → te-dataops-XTWVTJCA.js} +1 -1
- package/dist/{te-engage-2YDCA552.js → te-engage-E7F4HTXU.js} +2 -2
- package/dist/{te-engage-VW6NJZ5V.js → te-engage-NLZUPSBK.js} +2 -2
- package/dist/{te-team-RRZI4WRI.js → te-team-BQ3SKSZV.js} +1 -1
- package/dist/{update-ER7VFU55.js → update-DKG6UXEM.js} +44 -22
- package/package.json +4 -3
- package/skills/ae-agent/SKILL.md +2 -2
- package/skills/ae-agent/references/create-automation.md +11 -0
- package/skills/ae-agent/references/update-automation.md +11 -3
- package/skills/ae-generate-tracking-code/SKILL.md +5 -5
- package/skills/ae-generate-tracking-code/references/autotrack-enum.md +4 -4
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
- package/skills/ae-generate-tracking-code/references/debug-script.md +2 -2
- package/skills/ae-generate-tracking-code/references/logbus-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/restful-call.md +1 -1
- package/skills/ae-generate-tracking-code/references/sdk-index.md +36 -36
package/README.md
CHANGED
|
@@ -1,223 +1,289 @@
|
|
|
1
|
-
|
|
2
1
|
[中文版](./README.zh.md) | [English](./README.md)
|
|
3
2
|
|
|
4
3
|
# ae-cli
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
`ae-cli` is the command-line client for the ThinkingAI AgenticEngine (AE) platform. It provides stable, structured interfaces for both AI Agents and human operators across analytics, metadata, tracking, Engage, DataOps, knowledge bases, Agent resources, and system administration.
|
|
6
|
+
|
|
7
|
+
The CLI is designed around:
|
|
8
|
+
|
|
9
|
+
- JSON-first output that Agents can inspect and act on.
|
|
10
|
+
- Host-scoped authentication and environment configuration.
|
|
11
|
+
- Curated commands for common workflows plus Capability Gateway access for long-tail operations.
|
|
12
|
+
- Explicit validation, dry-run, and confirmation contracts for safer writes.
|
|
13
|
+
- Exact CLI and Skills version synchronization with the connected AE environment.
|
|
14
|
+
|
|
15
|
+
## Requirements
|
|
16
|
+
|
|
17
|
+
- Node.js 20 or later.
|
|
18
|
+
- Access to the npm registry for CLI installation.
|
|
19
|
+
- Access to GitHub when installing Skills initially or when the local Skills fallback cannot be used.
|
|
7
20
|
|
|
8
21
|
## Installation
|
|
9
22
|
|
|
10
|
-
|
|
23
|
+
Install the public CLI and Agent Skills:
|
|
11
24
|
|
|
12
25
|
```bash
|
|
13
26
|
npm install -g @thinkingai/ae-cli
|
|
27
|
+
npx -y skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
14
28
|
```
|
|
15
29
|
|
|
16
|
-
|
|
30
|
+
The Skills teach supported coding Agents, including Claude Code, Codex, Cursor, and similar tools, how to discover and call `ae-cli`.
|
|
31
|
+
|
|
32
|
+
Log in to an AE environment:
|
|
17
33
|
|
|
18
34
|
```bash
|
|
19
|
-
|
|
35
|
+
ae-cli auth login --host https://your-ae-host.example.com
|
|
36
|
+
ae-cli auth status
|
|
20
37
|
```
|
|
21
38
|
|
|
22
|
-
|
|
39
|
+
## Environment-Bound Updates
|
|
23
40
|
|
|
24
|
-
|
|
41
|
+
Each AE environment returns the exact `aeCliVersion` it expects. Use the unified update command to install that CLI version and its matching Skills:
|
|
25
42
|
|
|
26
43
|
```bash
|
|
27
|
-
|
|
28
|
-
|
|
44
|
+
ae-cli update
|
|
45
|
+
ae-cli update --dry-run
|
|
29
46
|
```
|
|
30
47
|
|
|
31
|
-
|
|
48
|
+
`ae-cli update` installs the exact version required by the active host rather than npm `latest`. It synchronizes Skills from the installed npm package first and uses the matching GitHub tag only as a fallback.
|
|
32
49
|
|
|
33
|
-
|
|
34
|
-
ae-cli auth login --host xxxxx
|
|
35
|
-
```
|
|
50
|
+
Starting with the `6.0.37` and `6.1.9` release lines, ordinary business commands can automatically upgrade or downgrade the CLI to the host-required version. After a successful synchronization, the old process exits with `AE_CLI_VERSION_SYNCED`; re-run the original command so it executes with the new CLI and Skills. Installation failures are reported without replacing the business command's JSON output.
|
|
36
51
|
|
|
37
|
-
|
|
52
|
+
Useful controls:
|
|
38
53
|
|
|
39
54
|
```bash
|
|
40
|
-
#
|
|
41
|
-
ae-cli
|
|
55
|
+
# Use another configured host
|
|
56
|
+
ae-cli update --host https://another-host.example.com
|
|
42
57
|
|
|
43
|
-
#
|
|
44
|
-
ae-cli
|
|
58
|
+
# Install an explicit version
|
|
59
|
+
ae-cli update --target 6.1.9
|
|
45
60
|
|
|
46
|
-
#
|
|
47
|
-
ae-cli
|
|
61
|
+
# Skip compatibility checks for one command
|
|
62
|
+
ae-cli --no-update-check capability list --domain analysis
|
|
63
|
+
```
|
|
48
64
|
|
|
49
|
-
|
|
50
|
-
ae-cli kb +new --scope company --name engineering-handbook --description "Team docs"
|
|
51
|
-
ae-cli kb +add --name engineering-handbook --files '["./docs/guide.md","https://example.com/page"]'
|
|
52
|
-
ae-cli kb +schema --name engineering-handbook
|
|
53
|
-
ae-cli kb +compile --name engineering-handbook
|
|
54
|
-
ae-cli kb +query -q "How to configure sandbox?" \
|
|
55
|
-
--sources '[{"scope":"company","name":"engineering-handbook"}]' \
|
|
56
|
-
--top-k 10
|
|
65
|
+
## Quick Start
|
|
57
66
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
ae-cli
|
|
61
|
-
|
|
62
|
-
ae-cli
|
|
63
|
-
|
|
67
|
+
```bash
|
|
68
|
+
# List and switch configured environments
|
|
69
|
+
ae-cli config list
|
|
70
|
+
ae-cli config current
|
|
71
|
+
ae-cli config use https://your-ae-host.example.com
|
|
72
|
+
|
|
73
|
+
# Discover capabilities exposed by the host
|
|
74
|
+
ae-cli capability list --domain analysis
|
|
75
|
+
ae-cli capability search "dashboard list" --domain analysis
|
|
76
|
+
ae-cli capability inspect analysis.dashboard.list
|
|
77
|
+
|
|
78
|
+
# Validate, preview, and execute
|
|
79
|
+
ae-cli capability validate analysis.dashboard.list --input '{"project_id":1}'
|
|
80
|
+
ae-cli capability dry-run analysis.dashboard.list --input '{"project_id":1}'
|
|
81
|
+
ae-cli capability run analysis.dashboard.list --input '{"project_id":1}'
|
|
82
|
+
|
|
83
|
+
# Filter structured output
|
|
84
|
+
ae-cli capability list --domain analysis --jq '.data.capabilities[] | .id'
|
|
64
85
|
```
|
|
65
86
|
|
|
66
|
-
##
|
|
67
|
-
|
|
68
|
-
|
|
87
|
+
## Command Surface
|
|
88
|
+
|
|
89
|
+
Run `ae-cli --help` or `ae-cli <command> --help` for the authoritative command list.
|
|
90
|
+
|
|
91
|
+
| Command or domain | Purpose |
|
|
92
|
+
|---|---|
|
|
93
|
+
| `analysis` | Reports, dashboards, ad-hoc analysis, drilldowns, details, alerts, and analysis schemas |
|
|
94
|
+
| `analysis-meta` | Event/property metadata, metrics, virtual metadata, tracking governance, and project configuration |
|
|
95
|
+
| `analysis-governance` | Asset search, lineage, impact analysis, and governance operations |
|
|
96
|
+
| `metadata` | Capability-backed data-table and property operations |
|
|
97
|
+
| `tracking` | Tracking-plan lifecycle, SDK samples, checks, ingestion diagnostics, code generation, and bundled wiki |
|
|
98
|
+
| `engage-flow`, `engage-task`, `engage-setting`, `engage-scene`, `engage-activity`, `engage-workbench` | Engage flows, tasks, settings, strategies, activities, and workbench operations |
|
|
99
|
+
| `community` | Community posts, comments, topics, sentiment, livestream, and report workflows |
|
|
100
|
+
| `dataops_repo`, `dataops_datatable`, `dataops_flow`, `dataops_ide`, `dataops_integration`, `dataops_operations` | Data warehouse, data-table, flow, IDE, integration, and operations workflows |
|
|
101
|
+
| `kb` | Knowledge-base lifecycle, LLM query, and deterministic index/grep/read retrieval |
|
|
102
|
+
| `agent` | Agents, automations, models, MCP servers, Skills, attachments, credentials, and sandbox tools |
|
|
103
|
+
| `system` | Root/admin operations for members, sandboxes, shared tools, models, usage, quotas, and IM channels |
|
|
104
|
+
| `team` | Agent Team lifecycle and TeamRun execution, chat, result, and artifact workflows |
|
|
105
|
+
| `capability` | Capability discovery, schema inspection, validation, dry-run, and generic execution |
|
|
106
|
+
| `auth`, `config` | Host-scoped authentication and multi-environment configuration |
|
|
107
|
+
| `api` | Raw authenticated HTTP requests for diagnostic or transitional use |
|
|
108
|
+
| `sync` | Push or pull local Skills and MCPs to/from the Agent application |
|
|
109
|
+
| `model` | Switch the current workspace model inside an Agent sandbox |
|
|
110
|
+
| `update` | Synchronize CLI and Skills to the version required by the current host |
|
|
111
|
+
|
|
112
|
+
`analysis_meta` remains available for legacy curated metadata commands. Prefer the hyphenated Capability Gateway domains for new integrations.
|
|
113
|
+
|
|
114
|
+
## Capability Gateway
|
|
115
|
+
|
|
116
|
+
Capability Gateway is the preferred entry point for operations that do not need a dedicated curated command:
|
|
69
117
|
|
|
70
118
|
```bash
|
|
71
|
-
|
|
72
|
-
ae-cli
|
|
119
|
+
ae-cli capability list --domain analysis --project-id 1
|
|
120
|
+
ae-cli capability search "report list" --domain analysis
|
|
121
|
+
ae-cli capability inspect analysis.report.list
|
|
122
|
+
ae-cli capability validate analysis.report.list --input input.json
|
|
123
|
+
ae-cli capability dry-run analysis.report.list --input input.json
|
|
124
|
+
ae-cli capability run analysis.report.list --input input.json
|
|
125
|
+
```
|
|
73
126
|
|
|
74
|
-
|
|
75
|
-
ae-cli auth status
|
|
127
|
+
`--input` accepts inline JSON, a JSON file path, `@<path>`, or `-` for stdin.
|
|
76
128
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
129
|
+
Use `validate` while fixing complex nested input. Use `dry-run` when you need the final risk, output mode, cancellation support, or delete confirmation preview. Do not stack `validate` and `dry-run` for the same final payload by default; `dry-run` already validates it.
|
|
130
|
+
|
|
131
|
+
Gateway-backed features follow the [Capability command admission rules](docs/capability-command-admission.md). Common workflows may have curated commands; long-tail capabilities remain dynamically discoverable.
|
|
132
|
+
|
|
133
|
+
## Authentication and Environments
|
|
134
|
+
|
|
135
|
+
Credentials are stored per host. Switching environments does not reuse a token from another host.
|
|
80
136
|
|
|
81
|
-
|
|
137
|
+
```bash
|
|
138
|
+
ae-cli auth login --host https://host-a.example.com
|
|
139
|
+
ae-cli auth status --host https://host-a.example.com
|
|
140
|
+
ae-cli auth logout --host https://host-a.example.com
|
|
141
|
+
|
|
142
|
+
ae-cli config list
|
|
143
|
+
ae-cli config current
|
|
144
|
+
ae-cli config set-host https://host-b.example.com --label staging
|
|
145
|
+
ae-cli config use staging
|
|
146
|
+
```
|
|
82
147
|
|
|
83
|
-
|
|
148
|
+
Login uses a cross-platform device-code flow. Use `--no-browser` when the environment cannot open a browser.
|
|
84
149
|
|
|
85
|
-
|
|
86
|
-
|--------|----------|-------------|
|
|
87
|
-
| `analysis` | 30+ | Analysis workflows: alerts, reports, dashboards, ad-hoc/drilldown, entity/event details, analysis schema |
|
|
88
|
-
| `analysis_meta` | 20+ | Metadata governance: events/properties, metrics, virtual metadata, project config, tracking plan, mark times, entity catalog |
|
|
89
|
-
| `engage` | 40+ | Hermes Engage MCP: channels, tasks, configs, flows, strategies |
|
|
90
|
-
| `dataops_repo` | 1 | DataOps repo utilities: space discovery |
|
|
91
|
-
| `dataops_datatable` | 5 | Data tables: table/view creation, publishing, details, data dictionary |
|
|
92
|
-
| `dataops_flow` | 15 | Task flows: flow creation, task nodes, scheduling, execution, release preview |
|
|
93
|
-
| `dataops_operations` | 4 | Operations: workflow instance search, instance detail, task logs, stop |
|
|
94
|
-
| `dataops_ide` | 9 | IDE queries: metadata browsing, SQL execution, query management |
|
|
95
|
-
| `dataops_integration` | 19 | Data integration: datasource management, sync solutions, data synchronization |
|
|
96
|
-
| `community` | 10+ | Community analysis: posts search, sentiment analysis, topic trends, livestream data |
|
|
97
|
-
| `analysis_common` | 2 | Cross-module common constraints: resource link completion, project ID gate |
|
|
98
|
-
| `team` | 14 | AI Agent Team: manage teams (list/create/update/delete/ai-generate/templates/projects) and execute TeamRuns (start/watch/chat/reply/cancel/result/artifacts) |
|
|
99
|
-
| `kb` | 11 | Knowledge base lifecycle: query / new / add (md/dir/url) / schema / compile / rm-source / remove; retrieval primitives: list / index / grep / read |
|
|
100
|
-
| `auth` / `config` | 2 | Authentication and host configuration |
|
|
150
|
+
## Output and Safety
|
|
101
151
|
|
|
102
|
-
|
|
152
|
+
Commands return a stable envelope:
|
|
103
153
|
|
|
104
|
-
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"ok": true,
|
|
157
|
+
"data": {},
|
|
158
|
+
"_notice": {}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
105
161
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
- **Remove KB** (`+remove`): `--name`
|
|
162
|
+
- `--format json` is the default and is recommended for Agents.
|
|
163
|
+
- `--format table` is available for supported human-facing list commands.
|
|
164
|
+
- `--jq <expr>` applies jq 1.8 filtering to the business payload before the output envelope is printed.
|
|
165
|
+
- `--validate` normalizes Capability Gateway input without business execution.
|
|
166
|
+
- `--dry-run` previews an operation without executing its business logic.
|
|
167
|
+
- `--yes` skips interactive confirmation for explicitly marked high-risk writes.
|
|
168
|
+
- `_notice` may include host compatibility or update guidance without changing successful business data.
|
|
114
169
|
|
|
115
|
-
|
|
170
|
+
JSON flags generally accept inline JSON, `@file`, a file path, or `-` for stdin. Check command help for the exact accepted forms.
|
|
116
171
|
|
|
117
|
-
|
|
118
|
-
- **Index** (`+index`): optional `--sources` JSON refs (omit to list all accessible KBs), optional `--locale`. Returns each KB's metadata plus its `index.md` navigation map.
|
|
119
|
-
- **Grep** (`+grep`): `--query` / `-q`, optional `--sources`, `--top-k` (1-50, default 10), `--locale`. Returns matched lines with path, line number, breadcrumb and context snippet.
|
|
120
|
-
- **Read** (`+read`): `--source` JSON ref (exactly one KB), `--path` (page path relative to the KB root), optional `--offset` / `--limit` (line window), `--locale`. Returns the full page or a line window.
|
|
172
|
+
## Knowledge Bases
|
|
121
173
|
|
|
122
|
-
|
|
174
|
+
Manage the server-side knowledge-base lifecycle:
|
|
123
175
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
| `--no-update-check` | Skip checking for newer ae-cli versions | false |
|
|
176
|
+
```bash
|
|
177
|
+
ae-cli kb +new --scope company --name engineering-handbook --description "Team docs"
|
|
178
|
+
ae-cli kb +add --name engineering-handbook --files '["./docs/guide.md","https://example.com/page"]'
|
|
179
|
+
ae-cli kb +schema --name engineering-handbook
|
|
180
|
+
ae-cli kb +compile --name engineering-handbook
|
|
181
|
+
ae-cli kb +status --name engineering-handbook
|
|
182
|
+
ae-cli kb +query -q "How is the sandbox configured?" --top-k 10
|
|
183
|
+
```
|
|
133
184
|
|
|
134
|
-
|
|
185
|
+
External Agents can use deterministic retrieval without a server-side LLM:
|
|
135
186
|
|
|
136
|
-
|
|
187
|
+
```bash
|
|
188
|
+
ae-cli kb +list
|
|
189
|
+
ae-cli kb +index --sources '[{"scope":"company","name":"engineering-handbook"}]'
|
|
190
|
+
ae-cli kb +grep -q "sandbox config" --sources '[{"scope":"company","name":"engineering-handbook"}]'
|
|
191
|
+
ae-cli kb +read --source '{"scope":"company","name":"engineering-handbook"}' --path "wiki/sandbox.md"
|
|
192
|
+
```
|
|
137
193
|
|
|
138
|
-
|
|
139
|
-
|-------|-------------|
|
|
140
|
-
| `ae-analysis` | Unified analysis skill: analysis + audience + metadata + common constraints (project gate/resource links) |
|
|
141
|
-
| `ae-engage` | Hermes Engage MCP: channels, tasks, configs, flows, strategies |
|
|
142
|
-
| `ae-dataops` | Data warehouse management, task flows, IDE queries, integration, operations |
|
|
143
|
-
| `ae-community` | Community analysis: posts, comments, topics, livestreams |
|
|
194
|
+
## Agent and System Administration
|
|
144
195
|
|
|
145
|
-
|
|
196
|
+
The `agent` domain manages user-visible Agent resources:
|
|
146
197
|
|
|
147
198
|
```bash
|
|
148
|
-
|
|
199
|
+
ae-cli agent +list-agents
|
|
200
|
+
ae-cli agent +list-models
|
|
201
|
+
ae-cli agent +list-mcps
|
|
202
|
+
ae-cli agent +list-skills
|
|
203
|
+
ae-cli agent +list-automations
|
|
204
|
+
ae-cli agent +list-attachments
|
|
149
205
|
```
|
|
150
206
|
|
|
151
|
-
|
|
207
|
+
The `system` domain calls administrative `/api/admin/**` endpoints and requires a `root` or `agent_admin` role:
|
|
152
208
|
|
|
153
|
-
|
|
209
|
+
```bash
|
|
210
|
+
ae-cli system +list-members --status enabled
|
|
211
|
+
ae-cli system +list-sandboxes
|
|
212
|
+
ae-cli system +get-usage-summary --days 30
|
|
213
|
+
ae-cli system +list-quota-rules
|
|
214
|
+
ae-cli system +list-channels
|
|
215
|
+
```
|
|
154
216
|
|
|
155
|
-
|
|
156
|
-
- **Analysis**: alerts, reports, dashboards, ad-hoc/drilldown, entity/event details, analysis schema
|
|
157
|
-
- **Audience**: cluster and tag lifecycle management, plus definition schema tools
|
|
158
|
-
- **Metadata**: events/properties, metrics, virtual metadata, project config, tracking plans, mark times
|
|
159
|
-
- **Common**: mandatory project ID gate and post-write resource-link completion
|
|
217
|
+
Authorization is always enforced by the server. Do not retry or bypass a permission error.
|
|
160
218
|
|
|
161
|
-
|
|
219
|
+
## Agent Skills
|
|
162
220
|
|
|
163
|
-
|
|
164
|
-
- **Channels**: channel management, config channels, approval, whitelist
|
|
165
|
-
- **Tasks**: task list, details, data/metrics overview, experiment reports
|
|
166
|
-
- **Configs**: config items, strategies, comparison, trigger/analysis reports
|
|
167
|
-
- **Flows**: flow creation, node config, reports, validation
|
|
221
|
+
The npm package includes the same `skills/` directory used by the public repository:
|
|
168
222
|
|
|
169
|
-
|
|
223
|
+
| Skill | Scope |
|
|
224
|
+
|---|---|
|
|
225
|
+
| `ae-capability` | Capability discovery and generic invocation |
|
|
226
|
+
| `ae-analysis`, `ae-analysis-global` | Analysis, audience, metadata, governance, and multi-cluster workflows |
|
|
227
|
+
| `ae-metadata` | Capability-backed metadata data-table operations |
|
|
228
|
+
| `ae-engage` | Engage operations and workflow guidance |
|
|
229
|
+
| `ae-dataops` | Data warehouse, flow, IDE, integration, and operations |
|
|
230
|
+
| `ae-community` | Community analysis and reporting |
|
|
231
|
+
| `ae-kb` | Knowledge-base lifecycle and retrieval |
|
|
232
|
+
| `ae-agent`, `ae-system`, `ae-team` | Agent resources, administration, and TeamRun workflows |
|
|
233
|
+
| `ae-generate-tracking-plan`, `ae-generate-tracking-code` | Tracking-plan and tracking-code generation |
|
|
234
|
+
| `ae-data-integration-helper` | SDK and LogBus2 integration guidance |
|
|
170
235
|
|
|
171
|
-
|
|
172
|
-
- **Repo Utilities**: space discovery
|
|
173
|
-
- **Data Tables**: table creation, views, batch operations, data dictionary
|
|
174
|
-
- **Task Flows**: flow creation, task nodes, scheduling, execution, monitoring
|
|
175
|
-
- **IDE Queries**: metadata browsing, SQL execution, query management
|
|
176
|
-
- **Data Integration**: datasource management, sync solutions, data synchronization
|
|
236
|
+
Reinstall all public Skills with:
|
|
177
237
|
|
|
178
|
-
|
|
238
|
+
```bash
|
|
239
|
+
npx -y skills add ThinkingAIAgenticEngine/ae-cli -g -y
|
|
240
|
+
```
|
|
179
241
|
|
|
180
|
-
|
|
181
|
-
- **Posts**: search, detail, corpus tags
|
|
182
|
-
- **Comments**: sentiment analysis, tag analysis, summary
|
|
183
|
-
- **Topics**: hot topics, trends, daily summaries
|
|
184
|
-
- **Livestreams**: rooms, sessions, analysis, metrics
|
|
185
|
-
- **Channel Info**: channel overview metrics
|
|
242
|
+
## Development
|
|
186
243
|
|
|
187
|
-
|
|
244
|
+
```bash
|
|
245
|
+
git clone https://github.com/ThinkingAIAgenticEngine/ae-cli.git
|
|
246
|
+
cd ae-cli
|
|
247
|
+
npm install
|
|
248
|
+
npm run build
|
|
249
|
+
node dist/index.js --help
|
|
250
|
+
```
|
|
188
251
|
|
|
189
|
-
|
|
190
|
-
- **TypeScript** (~8000 lines of code)
|
|
191
|
-
- **Commander.js** for CLI framework
|
|
192
|
-
- **WebSocket** for MCP server integration
|
|
193
|
-
- **Node.js** runtime (v20+)
|
|
252
|
+
Run from source during development:
|
|
194
253
|
|
|
195
|
-
|
|
254
|
+
```bash
|
|
255
|
+
npm run dev -- --help
|
|
196
256
|
```
|
|
257
|
+
|
|
258
|
+
Core structure:
|
|
259
|
+
|
|
260
|
+
```text
|
|
197
261
|
src/
|
|
198
|
-
├── core/ #
|
|
199
|
-
├── framework/ #
|
|
200
|
-
├── api/ #
|
|
201
|
-
└── commands/ #
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
├── te-community/
|
|
209
|
-
├── te-common/
|
|
210
|
-
└── te-kb/
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
## Verification Scripts
|
|
262
|
+
├── core/ # auth, config, clients, compatibility, version sync
|
|
263
|
+
├── framework/ # command registration, lifecycle, output, errors
|
|
264
|
+
├── api/ # raw authenticated API access
|
|
265
|
+
└── commands/ # business domains and CLI utilities
|
|
266
|
+
skills/ # Agent Skills shipped with the npm package
|
|
267
|
+
self-check/ # release and documentation consistency checks
|
|
268
|
+
test/, tests/ # command, contract, and regression tests
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
Useful verification commands:
|
|
214
272
|
|
|
215
273
|
```bash
|
|
216
|
-
npm run
|
|
217
|
-
npm run
|
|
218
|
-
npm run
|
|
274
|
+
npm run build
|
|
275
|
+
npm run qa-changed
|
|
276
|
+
npm run self-check
|
|
277
|
+
npm run check:release
|
|
278
|
+
npm run verify:update-check
|
|
279
|
+
npm run verify:version-sync
|
|
219
280
|
```
|
|
220
281
|
|
|
282
|
+
## Changelog
|
|
283
|
+
|
|
284
|
+
- [English changelog](./CHANGELOG.md)
|
|
285
|
+
- [中文更新日志](./CHANGELOG.zh-CN.md)
|
|
286
|
+
|
|
221
287
|
## License
|
|
222
288
|
|
|
223
289
|
MIT
|