@thinkingai/ae-cli 6.1.18 → 6.1.19
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 +2 -0
- package/README.zh.md +6 -0
- package/dist/{auth-ROB2EDYV.js → auth-QPEVVBKT.js} +13 -7
- package/dist/auth-UMJAA72O.js +15 -0
- package/dist/{capability-DKMYUTLC.js → capability-ASI62I4A.js} +11 -10
- package/dist/{chunk-UW5UN47B.js → chunk-533JK3YX.js} +2 -0
- package/dist/{chunk-4XXOWOTA.js → chunk-6QK7SYYY.js} +5 -4
- package/dist/{chunk-TUKQZTMI.js → chunk-7K24F7T2.js} +2 -0
- package/dist/{chunk-OO6XR6LK.js → chunk-AMBFK2K3.js} +2 -0
- package/dist/{sync-HKIOZXQE.js → chunk-B5HMQAOM.js} +31 -540
- package/dist/{chunk-Y3LOALAV.js → chunk-DKEXH6Q5.js} +4 -3
- package/dist/{chunk-VTWMIC5L.js → chunk-E2JKXMVO.js} +2 -0
- package/dist/{chunk-JHENBQ5B.js → chunk-FR2EDAQM.js} +1 -0
- package/dist/{chunk-ZQ47LWTI.js → chunk-GJXRF7Y6.js} +6 -5
- package/dist/{chunk-DWO43OIB.js → chunk-JQ3ENZZH.js} +2 -0
- package/dist/chunk-JYMGHGCE.js +191 -0
- package/dist/{chunk-BYYS3ANB.js → chunk-KEWVSO64.js} +5 -4
- package/dist/{chunk-3FY3RJ26.js → chunk-KZ6ZHF5J.js} +2 -1
- package/dist/{chunk-ZQKDZXDO.js → chunk-O6K2ODUE.js} +3 -2
- package/dist/chunk-QL6R6TSK.js +25215 -0
- package/dist/{chunk-J2DEBMRF.js → chunk-RWXIXOZG.js} +22 -9
- package/dist/{chunk-QZ3AS4KK.js → chunk-S5PONFBM.js} +5 -4
- package/dist/{chunk-4NN5IWVN.js → chunk-T6OSFQZD.js} +2 -0
- package/dist/{chunk-3KWQYGYI.js → chunk-TKHSULJT.js} +2 -0
- package/dist/{chunk-6EIJSNBD.js → chunk-Y74WTIKJ.js} +2 -0
- package/dist/{client-L2YDMHQ6.js → client-N7NGZUNI.js} +4 -3
- package/dist/{community-report-client-C7WDGET3.js → community-report-client-6OL6GBQW.js} +3 -2
- package/dist/{config-BMYZX2UE.js → config-XNMACCKX.js} +8 -7
- package/dist/{data-integration-QEKDWQDY.js → data-integration-4NZGZ45E.js} +913 -92
- package/dist/index.js +38 -36
- package/dist/{local-data-upload-client-4YYHSYD6.js → local-data-upload-client-EFHDLXFG.js} +3 -2
- package/dist/{memory-I2WXDTV2.js → memory-HBJQ2GC5.js} +8 -7
- package/dist/{metadata-I4C2EWUN.js → metadata-62EWBEIG.js} +12 -11
- package/dist/{model-HLHIEFMU.js → model-BHLJ2QMT.js} +10 -9
- package/dist/{personal-semantic-preference-LIPACBDX.js → personal-semantic-preference-JBVMAI7L.js} +11 -10
- package/dist/{project-semantic-RT3R2VQD.js → project-semantic-BQ4MPUS5.js} +12 -11
- package/dist/sync-MUWPRM5I.js +522 -0
- package/dist/{te-agent-BR6VDBNX.js → te-agent-WQZTMEK4.js} +10 -9
- package/dist/{te-analysis-7VUNUYWZ.js → te-analysis-MNCG65LU.js} +107 -20
- package/dist/{te-community-5DMNKJWY.js → te-community-BNE6KREL.js} +8 -7
- package/dist/{te-dataops-6P5IKWNJ.js → te-dataops-TXLKM2W6.js} +467 -67
- package/dist/{te-engage-KZPR5R22.js → te-engage-TPKLRVTL.js} +84 -10
- package/dist/{te-experiment-6BITX4RD.js → te-experiment-6BYKTCY7.js} +85 -12
- package/dist/{te-kb-RCLSSH2Q.js → te-kb-BUD6N3NI.js} +311 -24
- package/dist/{te-system-FXITO2JG.js → te-system-44LZJDTQ.js} +573 -37
- package/dist/{te-team-ADOC2ROP.js → te-team-XMP47YXE.js} +10 -7
- package/dist/{update-YCYCKJOO.js → update-UODFOZ4P.js} +7 -6
- package/package.json +18 -9
- package/skills/ae-analysis/references/analysis_gateway_assets.md +1 -1
- package/skills/ae-analysis/references/audience_models.md +18 -0
- package/skills/ae-analysis/references/command_index.md +2 -2
- 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 +7 -1
- package/skills/ae-analysis/references/user_tag_models.md +8 -2
- package/skills/ae-data-integration/SKILL.md +1 -0
- package/skills/ae-data-integration/references/error-handling.md +54 -1
- package/skills/ae-data-integration/references/source-inspect.md +18 -2
- package/skills/ae-data-integration/references/transform.md +3 -1
- package/skills/ae-data-integration/references/ue-routing.md +23 -0
- 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-kb/SKILL.md +120 -9
- package/skills/ae-system/SKILL.md +28 -30
- package/skills/ae-system/references/channel-management.md +303 -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-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/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-system-K2GYMCTB.js +0 -2213
package/README.md
CHANGED
|
@@ -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
|
package/README.zh.md
CHANGED
|
@@ -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
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
getLocalCliPackageInfo
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E2JKXMVO.js";
|
|
4
5
|
import {
|
|
5
6
|
printError,
|
|
6
7
|
printOutput,
|
|
7
8
|
runHostCompatCheck
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KEWVSO64.js";
|
|
9
10
|
import {
|
|
11
|
+
CliTokenValidationUnavailableError,
|
|
10
12
|
clearCliToken,
|
|
11
13
|
mintCliToken,
|
|
12
14
|
validateCliTokenOnServer
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RWXIXOZG.js";
|
|
14
16
|
import {
|
|
15
17
|
SecureStoreAuthError,
|
|
16
18
|
clear,
|
|
@@ -19,19 +21,19 @@ import {
|
|
|
19
21
|
missingAeHostHint,
|
|
20
22
|
resolveHost,
|
|
21
23
|
save
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-O6K2ODUE.js";
|
|
23
25
|
import {
|
|
24
26
|
getFallbackCliToken,
|
|
25
27
|
loadConfig,
|
|
26
28
|
normalizeUrl,
|
|
27
29
|
saveConfig
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KZ6ZHF5J.js";
|
|
29
31
|
import {
|
|
30
32
|
PermissionError
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-533JK3YX.js";
|
|
32
34
|
import {
|
|
33
35
|
logger
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FR2EDAQM.js";
|
|
35
37
|
|
|
36
38
|
// src/core/device-auth.ts
|
|
37
39
|
import { execFileSync } from "child_process";
|
|
@@ -264,6 +266,10 @@ async function validateExistingCliToken(host, cliToken) {
|
|
|
264
266
|
await validateCliTokenOnServer(host, cliToken);
|
|
265
267
|
return true;
|
|
266
268
|
} catch (error) {
|
|
269
|
+
if (error instanceof CliTokenValidationUnavailableError) {
|
|
270
|
+
logger.warn(`auth status: ${error.message}; trusting the stored CLI token for compatibility`);
|
|
271
|
+
return true;
|
|
272
|
+
}
|
|
267
273
|
if (!(error instanceof SecureStoreAuthError)) {
|
|
268
274
|
throw error;
|
|
269
275
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
getToken,
|
|
4
|
+
invalidateAccessTokenForRetry,
|
|
5
|
+
resolveHost,
|
|
6
|
+
validateToken
|
|
7
|
+
} from "./chunk-O6K2ODUE.js";
|
|
8
|
+
import "./chunk-KZ6ZHF5J.js";
|
|
9
|
+
import "./chunk-FR2EDAQM.js";
|
|
10
|
+
export {
|
|
11
|
+
getToken,
|
|
12
|
+
invalidateAccessTokenForRetry,
|
|
13
|
+
resolveHost,
|
|
14
|
+
validateToken
|
|
15
|
+
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
normalizeRiskLevel,
|
|
3
4
|
requiresConfirmation
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AMBFK2K3.js";
|
|
5
6
|
import {
|
|
6
7
|
findGatewayDomain,
|
|
7
8
|
listRegisteredCapabilityDomains,
|
|
8
9
|
resolveGatewayDomain
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TKHSULJT.js";
|
|
10
11
|
import {
|
|
11
12
|
printError,
|
|
12
13
|
printOutput
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KEWVSO64.js";
|
|
14
15
|
import {
|
|
15
16
|
CapabilityGatewayError,
|
|
16
17
|
dryRunCapability,
|
|
@@ -18,20 +19,20 @@ import {
|
|
|
18
19
|
inspectCapability,
|
|
19
20
|
listCapabilities,
|
|
20
21
|
validateCapability
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-GJXRF7Y6.js";
|
|
23
|
+
import "./chunk-Y74WTIKJ.js";
|
|
24
|
+
import "./chunk-RWXIXOZG.js";
|
|
24
25
|
import {
|
|
25
26
|
SecureStoreAuthError,
|
|
26
27
|
resolveHost
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O6K2ODUE.js";
|
|
28
29
|
import {
|
|
29
30
|
safeJsonParse
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KZ6ZHF5J.js";
|
|
31
32
|
import {
|
|
32
33
|
PermissionError
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-533JK3YX.js";
|
|
35
|
+
import "./chunk-FR2EDAQM.js";
|
|
35
36
|
|
|
36
37
|
// src/commands/capability/index.ts
|
|
37
38
|
import * as readline from "readline";
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
internalCallSourceHeaders
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y74WTIKJ.js";
|
|
4
5
|
import {
|
|
5
6
|
clearCliToken,
|
|
6
7
|
getCliToken
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RWXIXOZG.js";
|
|
8
9
|
import {
|
|
9
10
|
getActiveHost,
|
|
10
11
|
getSandboxRuntimeRoot
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KZ6ZHF5J.js";
|
|
12
13
|
import {
|
|
13
14
|
PermissionError
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-533JK3YX.js";
|
|
15
16
|
|
|
16
17
|
// src/core/te-agent-credentials.ts
|
|
17
18
|
import { readFileSync } from "fs";
|