@thinkingai/ae-cli 6.1.18 → 6.1.20
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 +97 -38
- package/README.zh.md +101 -38
- package/dist/{auth-ROB2EDYV.js → auth-FUM37MHF.js} +241 -126
- package/dist/{capability-DKMYUTLC.js → capability-AXFQW5WM.js} +49 -35
- package/dist/{chunk-JHENBQ5B.js → chunk-4P355ZWB.js} +70 -1
- package/dist/chunk-6ZIQV5GW.js +26 -0
- package/dist/{chunk-TUKQZTMI.js → chunk-7K24F7T2.js} +2 -0
- package/dist/{chunk-OO6XR6LK.js → chunk-AMBFK2K3.js} +2 -0
- package/dist/chunk-ATSM5XAW.js +623 -0
- package/dist/{chunk-4XXOWOTA.js → chunk-BBEFP4SB.js} +31 -38
- package/dist/{chunk-BYYS3ANB.js → chunk-CZU3V3DQ.js} +5 -15
- package/dist/{chunk-VTWMIC5L.js → chunk-E2JKXMVO.js} +2 -0
- package/dist/chunk-ECBLHAZO.js +15 -0
- package/dist/{sync-HKIOZXQE.js → chunk-I4WQAEYB.js} +31 -540
- package/dist/{chunk-DWO43OIB.js → chunk-JQ3ENZZH.js} +2 -0
- package/dist/chunk-LNZBEQXW.js +25216 -0
- package/dist/{chunk-ZQ47LWTI.js → chunk-QJQZH5GQ.js} +49 -79
- package/dist/{chunk-QZ3AS4KK.js → chunk-RSG4ONOI.js} +9 -8
- package/dist/{chunk-4NN5IWVN.js → chunk-T6OSFQZD.js} +2 -0
- package/dist/{chunk-Y3LOALAV.js → chunk-TAL6CZH6.js} +8 -7
- package/dist/{chunk-3KWQYGYI.js → chunk-TKHSULJT.js} +2 -0
- package/dist/chunk-VXNMYUXU.js +202 -0
- package/dist/{chunk-3FY3RJ26.js → chunk-WZ6YVQSF.js} +15 -14
- package/dist/{chunk-6EIJSNBD.js → chunk-Y74WTIKJ.js} +2 -0
- package/dist/{community-report-client-C7WDGET3.js → community-report-client-XXWGSBSD.js} +3 -4
- package/dist/{config-BMYZX2UE.js → config-EXUGQN5T.js} +10 -10
- package/dist/{data-integration-QEKDWQDY.js → data-integration-4NZ53OMT.js} +920 -97
- package/dist/index.js +56 -81
- package/dist/{local-data-upload-client-4YYHSYD6.js → local-data-upload-client-KYOKVYZV.js} +3 -4
- package/dist/{memory-I2WXDTV2.js → memory-ATNKZNW5.js} +6 -7
- package/dist/{metadata-I4C2EWUN.js → metadata-VZVC7YMH.js} +10 -11
- package/dist/{model-HLHIEFMU.js → model-E4JMQ4V2.js} +8 -9
- package/dist/{personal-semantic-preference-LIPACBDX.js → personal-semantic-preference-7S2SQ3UV.js} +9 -10
- package/dist/{project-semantic-RT3R2VQD.js → project-semantic-2SZP2OPO.js} +13 -14
- package/dist/sync-YV3E66IF.js +520 -0
- package/dist/{te-agent-BR6VDBNX.js → te-agent-JB5T3PO7.js} +396 -92
- package/dist/{te-analysis-7VUNUYWZ.js → te-analysis-3YJAAT2D.js} +196 -43
- package/dist/{te-community-5DMNKJWY.js → te-community-UDBI672N.js} +12 -34
- package/dist/{te-dataops-6P5IKWNJ.js → te-dataops-ZLYOCXZ4.js} +480 -81
- package/dist/{te-engage-KZPR5R22.js → te-engage-4XG6OJML.js} +88 -16
- package/dist/{te-experiment-6BITX4RD.js → te-experiment-VXUWPINJ.js} +83 -12
- package/dist/te-kb-WYQWHFSC.js +1732 -0
- package/dist/{te-system-FXITO2JG.js → te-system-7G6F2LJA.js} +569 -35
- package/dist/{te-team-ADOC2ROP.js → te-team-E7FBBXMQ.js} +8 -7
- package/dist/{update-YCYCKJOO.js → update-D47BUG25.js} +8 -8
- package/package.json +22 -10
- package/skills/ae-agent/SKILL.md +30 -13
- package/skills/ae-agent/references/agent-distribution.md +94 -0
- package/skills/ae-agent/references/approval-request.md +4 -0
- package/skills/ae-agent/references/command_index.md +9 -2
- package/skills/ae-agent/references/create-automation.md +20 -2
- package/skills/ae-agent/references/get-agent-context.md +70 -0
- package/skills/ae-agent/references/list-automations.md +18 -3
- package/skills/ae-agent/references/list-mcp-credentials.md +1 -1
- package/skills/ae-agent/references/mcp-token.md +3 -3
- package/skills/ae-agent/references/set-mcp-credential.md +0 -1
- package/skills/ae-agent/references/update-automation.md +18 -0
- package/skills/ae-analysis/SKILL.md +11 -2
- package/skills/ae-analysis/references/adhoc_run.md +2 -0
- package/skills/ae-analysis/references/ai_models.md +23 -3
- package/skills/ae-analysis/references/analysis_gateway_assets.md +3 -3
- package/skills/ae-analysis/references/audience_models.md +18 -0
- package/skills/ae-analysis/references/command_index.md +9 -9
- package/skills/ae-analysis/references/cross_source_config.md +84 -0
- package/skills/ae-analysis/references/dashboard_update.md +1 -1
- package/skills/ae-analysis/references/project_timezone_update.md +13 -4
- package/skills/ae-analysis/references/property_create.md +2 -0
- package/skills/ae-analysis/references/super_metadata_batch_create.md +2 -0
- package/skills/ae-analysis/references/user_cluster_models.md +2 -0
- package/skills/ae-analysis/references/user_cluster_update.md +8 -4
- package/skills/ae-analysis/references/user_tag_create.md +30 -2
- package/skills/ae-analysis/references/user_tag_models.md +17 -3
- package/skills/ae-analysis/references/user_tag_update.md +14 -2
- package/skills/ae-data-integration/SKILL.md +3 -1
- package/skills/ae-data-integration/references/dimension-routing.md +36 -0
- package/skills/ae-data-integration/references/error-handling.md +54 -1
- package/skills/ae-data-integration/references/local-analysis.md +2 -0
- package/skills/ae-data-integration/references/source-inspect.md +18 -2
- package/skills/ae-data-integration/references/tracking-plan.md +1 -1
- package/skills/ae-data-integration/references/transform.md +4 -2
- package/skills/ae-data-integration/references/ue-mapping.md +5 -2
- package/skills/ae-data-integration/references/ue-routing.md +40 -1
- package/skills/ae-dataops/SKILL.md +11 -1
- package/skills/ae-dataops/references/dataops-backfill.md +135 -0
- package/skills/ae-engage/SKILL.md +5 -0
- package/skills/ae-engage/references/build-task-save-guide.md +5 -1
- package/skills/ae-engage/references/save-flow.md +37 -1
- package/skills/ae-engage/references/save-task.md +6 -0
- package/skills/ae-experiment/SKILL.md +6 -2
- package/skills/ae-experiment/references/save_metric.md +20 -8
- package/skills/ae-generate-tracking-plan/SKILL.md +25 -13
- package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +1 -1
- package/skills/ae-kb/SKILL.md +218 -36
- package/skills/ae-kb/references/query-workflow.md +59 -29
- package/skills/ae-kb/references/versions.md +46 -0
- package/skills/ae-system/SKILL.md +29 -31
- package/skills/ae-system/references/channel-management.md +303 -0
- package/skills/ae-use-agent/SKILL.md +42 -0
- package/skills/ae-use-agent/references/local-agent.md +114 -0
- package/dist/auth-GBMV6TEJ.js +0 -14
- package/dist/capability-HYVVPG25.js +0 -352
- package/dist/chunk-EFH4XWYC.js +0 -556
- package/dist/chunk-J2DEBMRF.js +0 -313
- package/dist/chunk-JRJY5DMJ.js +0 -71
- package/dist/chunk-OMPRXM3V.js +0 -349
- package/dist/chunk-QNOLN2LJ.js +0 -509
- package/dist/chunk-RJDU7NYP.js +0 -1198
- package/dist/chunk-RNAALWJK.js +0 -98
- package/dist/chunk-SERWF6G5.js +0 -13
- package/dist/chunk-UW5UN47B.js +0 -70
- package/dist/chunk-ZQKDZXDO.js +0 -317
- package/dist/client-L2YDMHQ6.js +0 -203
- package/dist/memory-3ORCR7JH.js +0 -893
- package/dist/metadata-VUOQJE26.js +0 -339
- package/dist/model-UGRDX4MW.js +0 -139
- package/dist/personal-semantic-preference-OEISBRHM.js +0 -239
- package/dist/project-semantic-FFPWFPIW.js +0 -1114
- package/dist/sync-TFHU2UTG.js +0 -10261
- package/dist/te-agent-VLYOV7S4.js +0 -3894
- package/dist/te-analysis-4YGQL5RC.js +0 -9357
- package/dist/te-community-ISDQWJU7.js +0 -1859
- package/dist/te-dataops-CVULXNVB.js +0 -2209
- package/dist/te-engage-N5WI32H6.js +0 -4898
- package/dist/te-experiment-UVR4HLND.js +0 -988
- package/dist/te-kb-RCLSSH2Q.js +0 -935
- package/dist/te-system-K2GYMCTB.js +0 -2213
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +0 -57
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ae-cli
|
|
4
4
|
|
|
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, experimentation, metadata, tracking, Engage, DataOps, knowledge bases, Agent resources, and system administration.
|
|
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, experimentation, project configuration, metadata, tracking, local-data ingestion, Engage, DataOps, knowledge bases, Agent resources, user memory, and system administration.
|
|
6
6
|
|
|
7
7
|
The CLI is designed around:
|
|
8
8
|
|
|
@@ -20,6 +20,8 @@ The CLI is designed around:
|
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
|
+
For setup through Codex, Claude Code, Cursor, or another terminal-capable AI Agent, see the [AE CLI installation and upgrade guide](./cli-installation-guide.md).
|
|
24
|
+
|
|
23
25
|
Install the public CLI and Agent Skills:
|
|
24
26
|
|
|
25
27
|
```bash
|
|
@@ -99,31 +101,49 @@ ae-cli capability run analysis.dashboard.list --input '{"project_id":1}'
|
|
|
99
101
|
ae-cli capability list --domain analysis --jq '.data.capabilities[] | .id'
|
|
100
102
|
```
|
|
101
103
|
|
|
102
|
-
## Command
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
| `
|
|
110
|
-
| `
|
|
111
|
-
| `analysis-
|
|
112
|
-
| `
|
|
113
|
-
| `
|
|
114
|
-
|
|
|
115
|
-
| `
|
|
116
|
-
|
|
|
117
|
-
| `
|
|
118
|
-
| `
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `
|
|
122
|
-
|
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
104
|
+
## Command Map
|
|
105
|
+
|
|
106
|
+
The table covers every current root command individually. Use `ae-cli --help` for root commands and `ae-cli <command> --help` for the next resource or operation; append `--help` at deeper levels, for example `ae-cli project member --help`. Discover server-provided operations with `ae-cli capability list|search|inspect`.
|
|
107
|
+
|
|
108
|
+
<!-- root-command-surface:start -->
|
|
109
|
+
| Category | Root command | Purpose |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| Analysis and projects | `analysis` | Reports, dashboards, ad-hoc analysis, drilldowns, details, alerts, tags, and cohorts |
|
|
112
|
+
| Analysis and projects | `experiment` | Atlas experiments, reports, traffic layers, buckets, Features, metrics, and operation logs |
|
|
113
|
+
| Analysis and projects | `analysis-meta` | Event/property catalogs, metrics, virtual metadata, tracking governance, and project analysis settings |
|
|
114
|
+
| Analysis and projects | `analysis-governance` | Data-asset search, lineage, impact analysis, certification, and governance |
|
|
115
|
+
| Analysis and projects | `project` | Project information, members, roles, permissions, entities, time zones, and handover settings |
|
|
116
|
+
| Analysis and projects | `metadata` | Capability-backed data-table, property, and dimension-table binding operations |
|
|
117
|
+
| Analysis and projects | `personal-semantic-preference` | Project-scoped lightweight semantic preferences for the current user |
|
|
118
|
+
| Analysis and projects | `project-semantic` | Governed project semantics, asset packages, candidate validation, review, and publishing |
|
|
119
|
+
| Data and tracking | `tracking` | Tracking plans, SDK samples, checks, ingestion diagnostics, code generation, and bundled wiki |
|
|
120
|
+
| Data and tracking | `data-integration` | Inspect, plan, convert, upload, hand off, and reuse local CSV/JSON/Excel data |
|
|
121
|
+
| Community insights | `community` | Community posts, comments, topics, sentiment, livestream, and report workflows |
|
|
122
|
+
| Engage | `engage-flow` | Engage flow management |
|
|
123
|
+
| Engage | `engage-task` | Engage task and delivery-content management |
|
|
124
|
+
| Engage | `engage-setting` | Channel, audience, and Engage settings |
|
|
125
|
+
| Engage | `engage-scene` | Engage scene and strategy management |
|
|
126
|
+
| Engage | `engage-activity` | Activity, topic, and related task management |
|
|
127
|
+
| Engage | `engage-workbench` | Engage workbench and to-do management |
|
|
128
|
+
| Engage | `engage-query` | Engage queries, asynchronous exports, and artifact management |
|
|
129
|
+
| DataOps | `dataops_repo` | Data-warehouse and data-source management |
|
|
130
|
+
| DataOps | `dataops_datatable` | Data-table lifecycle management |
|
|
131
|
+
| DataOps | `dataops_flow` | Development flows, scheduling, and backfill-job management |
|
|
132
|
+
| DataOps | `dataops_ide` | IDE queries and result downloads |
|
|
133
|
+
| DataOps | `dataops_integration` | Data-integration task management |
|
|
134
|
+
| DataOps | `dataops_operations` | Operations, monitoring, and alert workflows |
|
|
135
|
+
| Agent platform | `kb` | Knowledge-base lifecycle, LLM Q&A, and deterministic index/grep/read retrieval |
|
|
136
|
+
| Agent platform | `agent` | Agents, approvals, automations, models, MCP servers, Skills, attachments, credentials, and sandbox tools |
|
|
137
|
+
| Agent platform | `memory` | User memory, Top-K context writing, and actual-usage accounting |
|
|
138
|
+
| Agent platform | `team` | Agent Team and TeamRun execution, chat, results, and artifacts |
|
|
139
|
+
| Agent platform | `system` | Root/admin management of members, sandboxes, tools, models, usage, quotas, and channels |
|
|
140
|
+
| General tools | `capability` | Capability discovery, schema inspection, validation, dry-run, and generic execution |
|
|
141
|
+
| General tools | `auth` | Host-scoped login, status, and multi-account management |
|
|
142
|
+
| General tools | `config` | Add, switch, rename, and remove Host environments |
|
|
143
|
+
| General tools | `sync` | Push or pull local Skills and MCPs to/from the Agent application |
|
|
144
|
+
| General tools | `model` | Inspect and switch the current workspace model inside an Agent sandbox |
|
|
145
|
+
| General tools | `update` | Synchronize CLI and Skills to the version required by the current Host |
|
|
146
|
+
<!-- root-command-surface:end -->
|
|
127
147
|
|
|
128
148
|
## Capability Gateway
|
|
129
149
|
|
|
@@ -144,16 +164,24 @@ Use `validate` while fixing complex nested input. Use `dry-run` when you need th
|
|
|
144
164
|
|
|
145
165
|
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.
|
|
146
166
|
|
|
167
|
+
`analysis user-tag create|update` supports periodic refresh in one command: pass `--auto-refresh-schedule '{"frequency":"daily","time":"02:30"}'` (also weekly/monthly), or `--auto-refresh-cron`. Use `--enable-auto-refresh false` to disable it. Scheduling-only updates do not recompute; omitted settings preserve the existing plan. See the [tag create](skills/ae-analysis/references/user_tag_create.md) and [tag update](skills/ae-analysis/references/user_tag_update.md) references.
|
|
168
|
+
|
|
147
169
|
## Authentication and Environments
|
|
148
170
|
|
|
149
171
|
Credentials are stored per host. Switching environments does not reuse a token from another host.
|
|
150
172
|
Run `ae-cli config` in a terminal to add, activate, rename, or remove environments interactively.
|
|
173
|
+
Run `ae-cli auth` to choose the active account for the current host interactively. `ae-cli auth use` opens the same selector when `--account` is omitted.
|
|
151
174
|
For scripts and agents, use the non-interactive subcommands:
|
|
152
175
|
|
|
153
176
|
```bash
|
|
154
177
|
ae-cli auth login --host https://host-a.example.com
|
|
155
178
|
ae-cli auth status --host https://host-a.example.com
|
|
179
|
+
# For the uncommon case where one Host needs multiple accounts
|
|
180
|
+
ae-cli auth login --host https://host-a.example.com --add
|
|
181
|
+
ae-cli auth list --host https://host-a.example.com
|
|
182
|
+
ae-cli auth use --host https://host-a.example.com --account <login-name-or-open-id>
|
|
156
183
|
ae-cli auth logout --host https://host-a.example.com
|
|
184
|
+
ae-cli auth logout --host https://host-a.example.com --all
|
|
157
185
|
|
|
158
186
|
ae-cli config list
|
|
159
187
|
ae-cli config current
|
|
@@ -165,6 +193,10 @@ ae-cli config remove pre-production --yes
|
|
|
165
193
|
|
|
166
194
|
`<env>` accepts either an exact URL or a unique label. The active environment is clearly marked in the interactive manager and in `config list`. Removing an active environment is rejected while other environments remain; switch first so replacement is explicit. `config set-host` remains available as a compatibility command that adds or updates a host and activates it.
|
|
167
195
|
|
|
196
|
+
A regular `auth login` keeps the simple one-Host/one-account behavior and replaces credentials for that Host; use `--add` only when other accounts must be retained. `auth status` reports CLI-token state only. A new backend can also provide account identity and expiration; when an older backend does not support `/validate`, the CLI preserves the historical behavior of trusting the stored CLI token and omits `account` instead of returning null fields.
|
|
197
|
+
|
|
198
|
+
The new CLI persists only CLI tokens, never access or refresh tokens. Multiple accounts live in an encrypted V1 vault while the active account is projected into the historical file shape for automatic downgrades. When the CLI upgrades again, it reconciles login, switch, or logout changes made by the old CLI.
|
|
199
|
+
|
|
168
200
|
Login uses a cross-platform device-code flow. Use `--no-browser` when the environment cannot open a browser.
|
|
169
201
|
Trial guidance is emitted only when no Host is configured; normal commands and authentication flows for configured environments do not display it.
|
|
170
202
|
|
|
@@ -196,23 +228,35 @@ Manage the server-side knowledge-base lifecycle:
|
|
|
196
228
|
|
|
197
229
|
```bash
|
|
198
230
|
ae-cli kb +new --scope company --name engineering-handbook --description "Team docs"
|
|
199
|
-
ae-cli kb +
|
|
200
|
-
ae-cli kb +
|
|
201
|
-
ae-cli kb +
|
|
202
|
-
ae-cli kb +
|
|
231
|
+
ae-cli kb +import --file ./knowledge-base.zip --name "Imported handbook"
|
|
232
|
+
ae-cli kb +import-status --request-id <requestId>
|
|
233
|
+
ae-cli kb +add --name engineering-handbook --scope company --files '["./docs/guide.md","https://example.com/page"]'
|
|
234
|
+
ae-cli kb +list-sources --name engineering-handbook --scope company
|
|
235
|
+
ae-cli kb +rm-source --name engineering-handbook --scope company --id <source-id>
|
|
236
|
+
# Legacy compatibility when a source ID is unavailable:
|
|
237
|
+
ae-cli kb +rm-source --name engineering-handbook --scope company --display-name kb-1780046712-guide.md
|
|
238
|
+
ae-cli kb +schema --name engineering-handbook --scope company --model <model-ref>
|
|
239
|
+
ae-cli kb +compile --name engineering-handbook --scope company --model <model-ref>
|
|
240
|
+
ae-cli kb +status --name engineering-handbook --scope company
|
|
203
241
|
ae-cli kb +ask -q "How is the sandbox configured?"
|
|
204
242
|
# Submit only, poll later:
|
|
205
243
|
ae-cli kb +ask -q "Another question" --no-wait
|
|
206
244
|
ae-cli kb +ask-status --execution-id <id>
|
|
207
245
|
```
|
|
208
246
|
|
|
247
|
+
`kb +list-sources` returns stable source `id` values. Copy the exact `id` into `kb +rm-source`; do not guess it from a filename or URL. The `--display-name` selector remains available only for legacy compatibility when an ID is unavailable.
|
|
248
|
+
|
|
249
|
+
Name-based management commands accept optional `--scope personal|company`; omit it to keep the legacy personal-to-company lookup. For Schema and Compile, prefer the model record `id` from `ae-cli agent +list-models`; historical `modelId` and `modelId::scope` remain compatible, while `displayName` is not a stable reference.
|
|
250
|
+
|
|
251
|
+
`kb +import` accepts a compiled Markdown ZIP up to 50 MB with root `index.md` and `wiki/**/*.md` pages. It returns `{requestId, status: "queued"}` immediately; use `ae-cli kb +import-status --request-id <requestId>` to read `queued`, `running`, `succeeded`, or `failed`. A succeeded personal read-only snapshot supports list, Index/Wiki, grep/read, Ask, and delete operations; source, Schema, usage, compile, member/settings, ownership transfer, and company publication are unavailable.
|
|
252
|
+
|
|
209
253
|
External Agents can use deterministic retrieval without a server-side LLM:
|
|
210
254
|
|
|
211
255
|
```bash
|
|
212
256
|
ae-cli kb +list
|
|
213
257
|
ae-cli kb +index --sources '[{"scope":"company","name":"engineering-handbook"}]'
|
|
214
258
|
ae-cli kb +grep -q "sandbox config" --sources '[{"scope":"company","name":"engineering-handbook"}]' --paths '["wiki/sandbox.md"]'
|
|
215
|
-
ae-cli kb +read --source '{"scope":"company","name":"engineering-handbook"}' --path "wiki/sandbox.md"
|
|
259
|
+
ae-cli kb +read --source '{"scope":"company","name":"engineering-handbook"}' --path "wiki/sandbox.md" --limit 2000 --expand block
|
|
216
260
|
```
|
|
217
261
|
|
|
218
262
|
## Agent and System Administration
|
|
@@ -226,19 +270,32 @@ ae-cli agent +list-mcps
|
|
|
226
270
|
ae-cli agent +list-skills
|
|
227
271
|
ae-cli agent +list-automations
|
|
228
272
|
ae-cli agent +list-attachments
|
|
273
|
+
ae-cli agent approval-type list
|
|
274
|
+
ae-cli agent approval-request list --status pending
|
|
275
|
+
ae-cli agent approval-task list --status pending
|
|
276
|
+
ae-cli agent approval-effect list --status manual_required
|
|
229
277
|
```
|
|
230
278
|
|
|
231
|
-
|
|
279
|
+
Generic approval commands use versioned CLI-token REST under the Agent application's `/agent` base path. Use `approval-type get` before submitting type-specific snake_case payloads. Effect retry is a `high-risk-write` and requires an auditable reason plus explicit `--yes`. Write-command `--dry-run` output is a local request preview only; it does not verify server permissions, current state, or future conditional routing.
|
|
280
|
+
|
|
281
|
+
The `system` domain calls administrative `/api/admin/**` and versioned channel `/api/cli/channel/v1/**` endpoints and requires a `root` or `agent_admin` role:
|
|
232
282
|
|
|
233
283
|
```bash
|
|
234
284
|
ae-cli system +list-members --status enabled
|
|
235
285
|
ae-cli system +list-sandboxes
|
|
236
|
-
ae-cli system +get-
|
|
286
|
+
ae-cli system +get-sandbox-config
|
|
287
|
+
ae-cli system +get-usage-summary --days 30 --refresh true
|
|
288
|
+
ae-cli system +export-usage --start-date 2026-07-01 --end-date 2026-07-31 --group-by user --output ./system-usage.csv
|
|
237
289
|
ae-cli system +list-quota-rules
|
|
238
290
|
ae-cli system +list-channels
|
|
291
|
+
ae-cli system channel routing get --endpoint-id <endpoint-id>
|
|
292
|
+
ae-cli --dry-run system +bind-feishu-users --channel-id <channel-id> --endpoint-id <endpoint-id> --bindings @bindings.json
|
|
293
|
+
ae-cli system +list-sandbox-tools
|
|
239
294
|
```
|
|
240
295
|
|
|
241
|
-
|
|
296
|
+
The system domain now exposes 71 commands across members, sandboxes, shared sandbox tools, models and pricing, usage drill-down/CSV export, cost controls, quotas, and channels. Channel management covers nine channel types, endpoint routing, WhatsApp Web QR linking, and 1-100 item Feishu binding batches with per-item results and optional default/per-user Agent assignment. CSV exports stream to a required local path, never overwrite an existing file, and remove partial files on failure.
|
|
297
|
+
|
|
298
|
+
Authorization and company/resource ownership are always enforced by the server. A missing CLI command is not an access-control boundary: an Agent with Bash/network access can still construct HTTP requests. Do not retry or bypass a permission error, do not use excluded internal member-delete or sandbox-orchestration routes, and obtain explicit user confirmation before every administrative write. Skill instructions, dry-run, and the CLI confirmation prompt are safeguards against mistakes, not substitutes for server authorization; `--yes` bypasses that prompt.
|
|
242
299
|
|
|
243
300
|
## Agent Skills
|
|
244
301
|
|
|
@@ -248,13 +305,13 @@ The npm package includes the same `skills/` directory used by the public reposit
|
|
|
248
305
|
|---|---|
|
|
249
306
|
| `ae-capability` | Capability discovery and generic invocation |
|
|
250
307
|
| `ae-analysis`, `ae-analysis-global` | Analysis, audience, metadata, governance, and multi-cluster workflows |
|
|
251
|
-
| `ae-experiment` | Atlas experiment, Feature, metric, traffic-layer, and report workflows |
|
|
252
308
|
| `ae-metadata` | Capability-backed metadata data-table operations |
|
|
253
309
|
| `ae-engage` | Engage operations and workflow guidance |
|
|
254
310
|
| `ae-dataops` | Data warehouse, flow, IDE, integration, and operations |
|
|
255
311
|
| `ae-community` | Community analysis and reporting |
|
|
256
|
-
| `ae-
|
|
257
|
-
| `ae-
|
|
312
|
+
| `ae-data-integration` | Local CSV/JSON/Excel inspection, mapping, conversion, upload, and reusable handoff |
|
|
313
|
+
| `ae-kb`, `ae-kb-discovery` | Knowledge-base lifecycle, Q&A, deterministic retrieval, and read-only knowledge-base discovery |
|
|
314
|
+
| `ae-agent`, `ae-system`, `ae-team` | Agent resources and user memory, administration, and TeamRun workflows |
|
|
258
315
|
| `ae-generate-tracking-plan`, `ae-generate-tracking-code` | Tracking-plan and tracking-code generation |
|
|
259
316
|
| `ae-data-integration-helper` | SDK and LogBus2 integration guidance |
|
|
260
317
|
|
|
@@ -286,7 +343,6 @@ Core structure:
|
|
|
286
343
|
src/
|
|
287
344
|
├── core/ # auth, config, clients, compatibility, version sync
|
|
288
345
|
├── framework/ # command registration, lifecycle, output, errors
|
|
289
|
-
├── api/ # raw authenticated API access
|
|
290
346
|
└── commands/ # business domains and CLI utilities
|
|
291
347
|
skills/ # Agent Skills shipped with the npm package
|
|
292
348
|
self-check/ # release and documentation consistency checks
|
|
@@ -297,10 +353,13 @@ Useful verification commands:
|
|
|
297
353
|
|
|
298
354
|
```bash
|
|
299
355
|
npm run build
|
|
356
|
+
npm test
|
|
300
357
|
npm run qa-changed
|
|
301
358
|
npm run self-check
|
|
302
359
|
npm run check:release
|
|
303
360
|
npm run verify:experiment-tools
|
|
361
|
+
npm run verify:readme
|
|
362
|
+
npm run verify:auth-credentials
|
|
304
363
|
npm run verify:update-check
|
|
305
364
|
npm run verify:version-sync
|
|
306
365
|
```
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ae-cli
|
|
4
4
|
|
|
5
|
-
`ae-cli` 是 ThinkingAI AgenticEngine(AE)平台的命令行客户端,为 AI Agent
|
|
5
|
+
`ae-cli` 是 ThinkingAI AgenticEngine(AE)平台的命令行客户端,为 AI Agent 和人工操作提供稳定、结构化的接口,覆盖分析、实验、项目配置、元数据、埋点、本地数据接入、运营、DataOps、知识库、Agent 资源、用户记忆及系统管理。
|
|
6
6
|
|
|
7
7
|
CLI 的核心设计包括:
|
|
8
8
|
|
|
@@ -20,6 +20,12 @@ CLI 的核心设计包括:
|
|
|
20
20
|
|
|
21
21
|
## 安装
|
|
22
22
|
|
|
23
|
+
如果你希望由 Codex、Claude Code、Cursor 等 AI Agent 自动检查 Node.js、安装 CLI、完成登录并同步匹配版本,请让 Agent 阅读并执行 [AE CLI Installation and Upgrade](./cli-installation-guide.md)。
|
|
24
|
+
|
|
25
|
+
可直接复制给 Agent,并把 `<AE_HOST>` 替换为你的 AE 地址:
|
|
26
|
+
|
|
27
|
+
> 请阅读 https://raw.githubusercontent.com/ThinkingAIAgenticEngine/ae-cli/main/cli-installation-guide.md 并按说明帮我安装或升级 AE CLI。我的 AE 地址是 `<AE_HOST>`。只安装 AE CLI 和配套 Skills,不要修改当前项目;遇到登录授权或需要管理员权限时请暂停并提示我。
|
|
28
|
+
|
|
23
29
|
安装公开版 CLI 和 Agent Skills:
|
|
24
30
|
|
|
25
31
|
```bash
|
|
@@ -99,31 +105,49 @@ ae-cli capability run analysis.dashboard.list --input '{"project_id":1}'
|
|
|
99
105
|
ae-cli capability list --domain analysis --jq '.data.capabilities[] | .id'
|
|
100
106
|
```
|
|
101
107
|
|
|
102
|
-
##
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
| `
|
|
110
|
-
| `
|
|
111
|
-
| `analysis-
|
|
112
|
-
| `
|
|
113
|
-
| `
|
|
114
|
-
| `
|
|
115
|
-
| `
|
|
116
|
-
| `
|
|
117
|
-
| `
|
|
118
|
-
| `
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
108
|
+
## 命令地图
|
|
109
|
+
|
|
110
|
+
下表逐项覆盖当前所有根命令。使用 `ae-cli --help` 查看根命令,使用 `ae-cli <命令> --help` 查看下一层资源或操作;层级命令可以继续追加 `--help`,例如 `ae-cli project member --help`。服务端动态能力通过 `ae-cli capability list|search|inspect` 发现。
|
|
111
|
+
|
|
112
|
+
<!-- root-command-surface:start -->
|
|
113
|
+
| 类别 | 根命令 | 用途 |
|
|
114
|
+
|---|---|---|
|
|
115
|
+
| 分析与项目 | `analysis` | 报告、看板、即席分析、下钻、详情、告警、标签和分群 |
|
|
116
|
+
| 分析与项目 | `experiment` | Atlas 实验、报表、流量层、分桶、Feature、指标和操作日志 |
|
|
117
|
+
| 分析与项目 | `analysis-meta` | 事件/属性目录、指标、虚拟元数据、埋点治理和项目分析配置 |
|
|
118
|
+
| 分析与项目 | `analysis-governance` | 数据资产搜索、血缘、影响分析、认证和治理 |
|
|
119
|
+
| 分析与项目 | `project` | 项目信息、成员、角色、权限、实体、时区和交接配置 |
|
|
120
|
+
| 分析与项目 | `metadata` | 基于 Capability Gateway 的数据表、属性及维度表绑定 |
|
|
121
|
+
| 分析与项目 | `personal-semantic-preference` | 当前用户按项目维护轻量个人语义偏好 |
|
|
122
|
+
| 分析与项目 | `project-semantic` | 项目语义治理、资产包、候选校验、审核和发布 |
|
|
123
|
+
| 数据与埋点 | `tracking` | 埋点方案、SDK 示例、检查、采集诊断、代码生成和内置 Wiki |
|
|
124
|
+
| 数据与埋点 | `data-integration` | 检查、规划、转换、上传、交接和复用本地 CSV/JSON/Excel 数据 |
|
|
125
|
+
| 社区洞察 | `community` | 社区帖子、评论、话题、情感、直播和报告工作流 |
|
|
126
|
+
| 运营 | `engage-flow` | 运营流程管理 |
|
|
127
|
+
| 运营 | `engage-task` | 运营任务及触达内容管理 |
|
|
128
|
+
| 运营 | `engage-setting` | 渠道、受众和运营设置 |
|
|
129
|
+
| 运营 | `engage-scene` | 运营场景和策略管理 |
|
|
130
|
+
| 运营 | `engage-activity` | 活动、专题及其任务管理 |
|
|
131
|
+
| 运营 | `engage-workbench` | 运营工作台和待办管理 |
|
|
132
|
+
| 运营 | `engage-query` | 运营查询、异步导出和产物管理 |
|
|
133
|
+
| DataOps | `dataops_repo` | 数仓和数据源管理 |
|
|
134
|
+
| DataOps | `dataops_datatable` | 数据表生命周期管理 |
|
|
135
|
+
| DataOps | `dataops_flow` | 开发流程、调度和补数作业管理 |
|
|
136
|
+
| DataOps | `dataops_ide` | IDE 查询及结果下载 |
|
|
137
|
+
| DataOps | `dataops_integration` | 数据集成任务管理 |
|
|
138
|
+
| DataOps | `dataops_operations` | 运维、监控和告警工作流 |
|
|
139
|
+
| Agent 平台 | `kb` | 知识库生命周期、LLM 问答及确定性的 index/grep/read 检索 |
|
|
140
|
+
| Agent 平台 | `agent` | Agent、审批、自动化、模型、MCP、Skills、附件、凭证和沙盒工具 |
|
|
141
|
+
| Agent 平台 | `memory` | 用户记忆、Top-K 上下文写入和实际采用计数 |
|
|
142
|
+
| Agent 平台 | `team` | Agent Team 和 TeamRun 的执行、对话、结果及产物 |
|
|
143
|
+
| Agent 平台 | `system` | root/admin 的成员、沙盒、工具、模型、用量、配额和渠道管理 |
|
|
144
|
+
| 通用工具 | `capability` | 能力发现、Schema 查看、参数校验、dry-run 和通用执行 |
|
|
145
|
+
| 通用工具 | `auth` | 按 Host 登录、查看状态及管理同一 Host 的多个账号 |
|
|
146
|
+
| 通用工具 | `config` | 添加、切换、重命名和删除 Host 环境 |
|
|
147
|
+
| 通用工具 | `sync` | 在本地工作区与 Agent 应用之间推送或拉取 Skills 和 MCP |
|
|
148
|
+
| 通用工具 | `model` | 在 Agent 沙盒中查看并切换当前工作区模型 |
|
|
149
|
+
| 通用工具 | `update` | 将 CLI 和 Skills 同步到当前 Host 要求的版本 |
|
|
150
|
+
<!-- root-command-surface:end -->
|
|
127
151
|
|
|
128
152
|
## Capability Gateway
|
|
129
153
|
|
|
@@ -144,16 +168,24 @@ ae-cli capability run analysis.report.list --input input.json
|
|
|
144
168
|
|
|
145
169
|
Gateway 命令遵循 [Capability 命令收录规则](docs/capability-command-admission.md)。常见工作流可以提供精选命令,长尾能力则保持动态发现。
|
|
146
170
|
|
|
171
|
+
`analysis user-tag create|update` 支持一次配置自动更新:传入 `--auto-refresh-schedule '{"frequency":"daily","time":"02:30"}'`(也支持每周、每月),或使用 `--auto-refresh-cron`。用 `--enable-auto-refresh false` 关闭自动更新。仅修改调度计划不触发即时重算;省略调度参数则保留原计划。详见[创建标签](skills/ae-analysis/references/user_tag_create.md)和[更新标签](skills/ae-analysis/references/user_tag_update.md)。
|
|
172
|
+
|
|
147
173
|
## 认证与多环境
|
|
148
174
|
|
|
149
175
|
凭证按 Host 独立存储,切换环境不会复用其他 Host 的 token。
|
|
150
176
|
在终端运行 `ae-cli config`,可以交互式添加、激活、重命名或删除环境。
|
|
177
|
+
运行 `ae-cli auth` 可以交互式选择当前 Host 的 active 账号;省略 `--account` 的 `ae-cli auth use` 也会打开同一个选择器。
|
|
151
178
|
脚本和 Agent 应使用非交互子命令:
|
|
152
179
|
|
|
153
180
|
```bash
|
|
154
181
|
ae-cli auth login --host https://host-a.example.com
|
|
155
182
|
ae-cli auth status --host https://host-a.example.com
|
|
183
|
+
# 少量需要同一 Host 多账号的场景
|
|
184
|
+
ae-cli auth login --host https://host-a.example.com --add
|
|
185
|
+
ae-cli auth list --host https://host-a.example.com
|
|
186
|
+
ae-cli auth use --host https://host-a.example.com --account <login-name-or-open-id>
|
|
156
187
|
ae-cli auth logout --host https://host-a.example.com
|
|
188
|
+
ae-cli auth logout --host https://host-a.example.com --all
|
|
157
189
|
|
|
158
190
|
ae-cli config list
|
|
159
191
|
ae-cli config current
|
|
@@ -165,6 +197,10 @@ ae-cli config remove pre-production --yes
|
|
|
165
197
|
|
|
166
198
|
`<env>` 可以是完整 URL 或唯一 label。交互管理器和 `config list` 都会明确标识 active 环境。当还存在其他环境时,不允许直接删除 active 环境;应先显式切换。`config set-host` 作为兼容命令继续保留,其语义是添加或更新 Host 并立即激活。
|
|
167
199
|
|
|
200
|
+
普通 `auth login` 保持一个 Host 一个账号的简单语义,并替换该 Host 已保存的账号;仅在需要时使用 `--add` 保留其他账号。`auth status` 只展示 CLI Token 状态;新版后端可同时返回账号和到期时间,旧版后端不支持 `/validate` 时仍按历史行为信任本地 CLI Token,且不会输出含 null 字段的 `account`。
|
|
201
|
+
|
|
202
|
+
新版 CLI 只持久化 CLI Token,不保存 access token 或 refresh token。多账号保存在加密的 V1 凭据文件中,同时维护旧文件格式的当前账号投影,保证 CLI 自动降级后仍可登录;再次升级时会合并旧 CLI 对投影的登录、切换或退出变更。
|
|
203
|
+
|
|
168
204
|
登录使用跨平台设备码流程。当前环境无法打开浏览器时,可使用 `--no-browser`。
|
|
169
205
|
试用引导仅在尚未配置 Host 时出现;已配置环境的正常命令和认证流程不会展示该提示。
|
|
170
206
|
|
|
@@ -196,23 +232,35 @@ JSON 参数通常支持内联 JSON、`@file`、文件路径或通过 `-` 从 std
|
|
|
196
232
|
|
|
197
233
|
```bash
|
|
198
234
|
ae-cli kb +new --scope company --name engineering-handbook --description "Team docs"
|
|
199
|
-
ae-cli kb +
|
|
200
|
-
ae-cli kb +
|
|
201
|
-
ae-cli kb +
|
|
202
|
-
ae-cli kb +
|
|
235
|
+
ae-cli kb +import --file ./knowledge-base.zip --name "Imported handbook"
|
|
236
|
+
ae-cli kb +import-status --request-id <requestId>
|
|
237
|
+
ae-cli kb +add --name engineering-handbook --scope company --files '["./docs/guide.md","https://example.com/page"]'
|
|
238
|
+
ae-cli kb +list-sources --name engineering-handbook --scope company
|
|
239
|
+
ae-cli kb +rm-source --name engineering-handbook --scope company --id <source-id>
|
|
240
|
+
# 兼容旧命令:无法取得来源 ID 时仍可使用精确展示名
|
|
241
|
+
ae-cli kb +rm-source --name engineering-handbook --scope company --display-name kb-1780046712-guide.md
|
|
242
|
+
ae-cli kb +schema --name engineering-handbook --scope company --model <model-ref>
|
|
243
|
+
ae-cli kb +compile --name engineering-handbook --scope company --model <model-ref>
|
|
244
|
+
ae-cli kb +status --name engineering-handbook --scope company
|
|
203
245
|
ae-cli kb +ask -q "如何配置沙盒?"
|
|
204
246
|
# 仅提交,后续轮询:
|
|
205
247
|
ae-cli kb +ask -q "另一个问题" --no-wait
|
|
206
248
|
ae-cli kb +ask-status --execution-id <id>
|
|
207
249
|
```
|
|
208
250
|
|
|
251
|
+
`kb +list-sources` 返回稳定的来源 `id`。请把精确的 `id` 复制到 `kb +rm-source`,不要根据文件名或 URL 猜测。`--display-name` 仅用于无法取得 ID 时的旧版兼容。
|
|
252
|
+
|
|
253
|
+
按名称管理知识库的命令都支持可选 `--scope personal|company`;省略时保留 personal 到 company 的旧查找顺序。Schema 与 Compile 优先使用 `ae-cli agent +list-models` 返回的模型记录 `id`;历史 `modelId` 和 `modelId::scope` 仍兼容,`displayName` 不是稳定引用。
|
|
254
|
+
|
|
255
|
+
`kb +import` 接受最大 50 MB 的编译后 Markdown ZIP,根目录必须包含 `index.md`,页面放在 `wiki/**/*.md`。命令立即返回 `{requestId, status: "queued"}`;通过 `ae-cli kb +import-status --request-id <requestId>` 查询 `queued`、`running`、`succeeded` 或 `failed`。导入成功后可执行列表、Index/Wiki、grep/read、Ask 和删除;个人只读快照不支持来源、Schema、用量、编译、成员/设置、所有权转移和公司发布。
|
|
256
|
+
|
|
209
257
|
外部 Agent 可以使用不依赖服务端 LLM 的确定性检索:
|
|
210
258
|
|
|
211
259
|
```bash
|
|
212
260
|
ae-cli kb +list
|
|
213
261
|
ae-cli kb +index --sources '[{"scope":"company","name":"engineering-handbook"}]'
|
|
214
262
|
ae-cli kb +grep -q "沙盒配置" --sources '[{"scope":"company","name":"engineering-handbook"}]' --paths '["wiki/sandbox.md"]'
|
|
215
|
-
ae-cli kb +read --source '{"scope":"company","name":"engineering-handbook"}' --path "wiki/sandbox.md"
|
|
263
|
+
ae-cli kb +read --source '{"scope":"company","name":"engineering-handbook"}' --path "wiki/sandbox.md" --limit 2000 --expand block
|
|
216
264
|
```
|
|
217
265
|
|
|
218
266
|
## Agent 与系统管理
|
|
@@ -226,19 +274,32 @@ ae-cli agent +list-mcps
|
|
|
226
274
|
ae-cli agent +list-skills
|
|
227
275
|
ae-cli agent +list-automations
|
|
228
276
|
ae-cli agent +list-attachments
|
|
277
|
+
ae-cli agent approval-type list
|
|
278
|
+
ae-cli agent approval-request list --status pending
|
|
279
|
+
ae-cli agent approval-task list --status pending
|
|
280
|
+
ae-cli agent approval-effect list --status manual_required
|
|
229
281
|
```
|
|
230
282
|
|
|
231
|
-
|
|
283
|
+
通用审批命令使用 Agent 应用 `/agent` base path 下的版本化 CLI-token REST。提交类型专属的 snake_case payload 前,先用 `approval-type get` 获取契约。Effect 人工重试属于 `high-risk-write`,必须提供可审计理由并显式传入 `--yes`。写命令的 `--dry-run` 仅在本地预览请求,不验证服务端权限、实时状态或未来条件流转。
|
|
284
|
+
|
|
285
|
+
`system` 域调用管理接口 `/api/admin/**` 和版本化渠道接口 `/api/cli/channel/v1/**`,要求当前用户拥有 `root` 或 `agent_admin` 角色:
|
|
232
286
|
|
|
233
287
|
```bash
|
|
234
288
|
ae-cli system +list-members --status enabled
|
|
235
289
|
ae-cli system +list-sandboxes
|
|
236
|
-
ae-cli system +get-
|
|
290
|
+
ae-cli system +get-sandbox-config
|
|
291
|
+
ae-cli system +get-usage-summary --days 30 --refresh true
|
|
292
|
+
ae-cli system +export-usage --start-date 2026-07-01 --end-date 2026-07-31 --group-by user --output ./system-usage.csv
|
|
237
293
|
ae-cli system +list-quota-rules
|
|
238
294
|
ae-cli system +list-channels
|
|
295
|
+
ae-cli system channel routing get --endpoint-id <endpoint-id>
|
|
296
|
+
ae-cli --dry-run system +bind-feishu-users --channel-id <channel-id> --endpoint-id <endpoint-id> --bindings @bindings.json
|
|
297
|
+
ae-cli system +list-sandbox-tools
|
|
239
298
|
```
|
|
240
299
|
|
|
241
|
-
|
|
300
|
+
system 域现有 71 条命令,覆盖成员、沙箱、共享沙箱工具、模型与价格、用量下钻与 CSV 导出、成本控制、配额和渠道。渠道管理覆盖九类渠道、Endpoint 路由、WhatsApp Web 扫码关联,以及 1-100 人飞书批量绑定的逐项结果与公共/逐人默认 Agent 分配。CSV 导出必须显式指定本地路径,采用流式写入,不覆盖已有文件,失败时清理不完整文件。
|
|
301
|
+
|
|
302
|
+
最终权限、公司隔离和资源归属始终由服务端校验。“没有对应 CLI 命令”不是安全边界:拥有 Bash/网络能力的 Agent 仍可直接构造 HTTP 请求。遇到权限错误时不要重试或绕过,不要调用明确排除的其他系统成员删除或底层沙箱编排接口;所有管理员写操作都应先 dry-run 并取得用户明确确认。Skill、dry-run 和 CLI 确认提示只是防误操作措施,不能替代服务端鉴权;`--yes` 会跳过该提示。
|
|
242
303
|
|
|
243
304
|
## Agent Skills
|
|
244
305
|
|
|
@@ -248,13 +309,13 @@ npm 包内包含与公开仓库一致的 `skills/` 目录:
|
|
|
248
309
|
|---|---|
|
|
249
310
|
| `ae-capability` | Capability 发现和通用调用 |
|
|
250
311
|
| `ae-analysis`、`ae-analysis-global` | 分析、受众、元数据、治理及多集群工作流 |
|
|
251
|
-
| `ae-experiment` | Atlas 实验、Feature、指标、流量层和报表工作流 |
|
|
252
312
|
| `ae-metadata` | 基于 Capability Gateway 的元数据数据表操作 |
|
|
253
313
|
| `ae-engage` | 运营操作和工作流指南 |
|
|
254
314
|
| `ae-dataops` | 数仓、任务流、IDE、数据集成和运维 |
|
|
255
315
|
| `ae-community` | 社区分析和报告 |
|
|
256
|
-
| `ae-
|
|
257
|
-
| `ae-
|
|
316
|
+
| `ae-data-integration` | 本地 CSV/JSON/Excel 数据的检查、映射、转换、上传和可复用交接 |
|
|
317
|
+
| `ae-kb`、`ae-kb-discovery` | 知识库生命周期、问答、确定性检索及只读知识库发现 |
|
|
318
|
+
| `ae-agent`、`ae-system`、`ae-team` | Agent 资源与用户记忆(含 `memory +write-context`)、系统管理和 TeamRun 工作流 |
|
|
258
319
|
| `ae-generate-tracking-plan`、`ae-generate-tracking-code` | 埋点方案和埋点代码生成 |
|
|
259
320
|
| `ae-data-integration-helper` | SDK 和 LogBus2 集成指南 |
|
|
260
321
|
|
|
@@ -286,7 +347,6 @@ npm run dev -- --help
|
|
|
286
347
|
src/
|
|
287
348
|
├── core/ # 认证、配置、客户端、兼容性和版本同步
|
|
288
349
|
├── framework/ # 命令注册、生命周期、输出和错误
|
|
289
|
-
├── api/ # 原始认证 API 访问
|
|
290
350
|
└── commands/ # 业务域和 CLI 工具
|
|
291
351
|
skills/ # 随 npm 包发布的 Agent Skills
|
|
292
352
|
self-check/ # 发布和文档一致性检查
|
|
@@ -297,10 +357,13 @@ test/, tests/ # 命令、契约和回归测试
|
|
|
297
357
|
|
|
298
358
|
```bash
|
|
299
359
|
npm run build
|
|
360
|
+
npm test
|
|
300
361
|
npm run qa-changed
|
|
301
362
|
npm run self-check
|
|
302
363
|
npm run check:release
|
|
303
364
|
npm run verify:experiment-tools
|
|
365
|
+
npm run verify:readme
|
|
366
|
+
npm run verify:auth-credentials
|
|
304
367
|
npm run verify:update-check
|
|
305
368
|
npm run verify:version-sync
|
|
306
369
|
```
|