@thinkingai/ae-cli 6.0.35 → 6.0.36
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/dist/{auth-UPGUOKTW.js → auth-B2BRSYMS.js} +1 -1
- package/dist/{capability-TQ5KU5Q6.js → capability-6KPXYNO7.js} +1 -1
- package/dist/{capability-AJC5CBRT.js → capability-ROKYESAP.js} +1 -1
- package/dist/{chunk-6CHYBI64.js → chunk-EBPXT3TN.js} +1 -1
- package/dist/{chunk-4Q5TNP4Q.js → chunk-J7MZHDHQ.js} +48 -24
- package/dist/{chunk-IMMGMU54.js → chunk-JTKMDN4A.js} +64 -166
- package/dist/{chunk-ISY6HMHM.js → chunk-RRFK2W7I.js} +1 -1
- package/dist/{config-PMPISN5Y.js → config-DDYJPJX3.js} +1 -1
- package/dist/index.js +45 -18
- package/dist/{metadata-P5GIVMZ6.js → metadata-2ZFRMVOL.js} +2 -2
- package/dist/{metadata-ELUAR3EJ.js → metadata-ABQCKU5P.js} +2 -2
- package/dist/{model-OYQLXCQY.js → model-JASQVOFD.js} +1 -1
- package/dist/{raw-TPB7KSZO.js → raw-6HXFFHLV.js} +1 -1
- package/dist/{sync-EFJKFZK2.js → sync-BF3IWYFC.js} +2 -2
- package/dist/{te-agent-BOQ7ZY56.js → te-agent-3GJ5H2XF.js} +1 -1
- package/dist/{te-analysis-ZT2MYAHL.js → te-analysis-DJ6KELTU.js} +213 -129
- package/dist/{te-analysis-HZIP6SYW.js → te-analysis-PCGESPLW.js} +213 -129
- package/dist/{te-dataops-Y5QAPPPF.js → te-dataops-LXL5YULV.js} +1 -1
- package/dist/{te-dataops-VYN3IOKO.js → te-dataops-ROHUJOX5.js} +1 -1
- package/dist/{te-engage-2FSDUOIZ.js → te-engage-2YDCA552.js} +87 -4
- package/dist/{te-engage-BMJ6UOUU.js → te-engage-VW6NJZ5V.js} +87 -4
- package/dist/te-system-AH7DMCAQ.js +1706 -0
- package/dist/{te-team-PDKKW7Q5.js → te-team-RRZI4WRI.js} +1 -1
- package/dist/update-ER7VFU55.js +101 -0
- package/package.json +5 -1
- package/skills/ae-agent/references/create-automation.md +1 -0
- package/skills/ae-analysis/SKILL.md +1 -1
- package/skills/ae-analysis/references/alert_create.md +2 -3
- package/skills/ae-analysis/references/alert_update.md +2 -3
- package/skills/ae-analysis/references/analysis_gateway_assets.md +6 -4
- package/skills/ae-analysis/references/bi_panel_create.md +12 -4
- package/skills/ae-analysis/references/bi_panel_update.md +11 -8
- package/skills/ae-analysis/references/bi_panel_version_publish.md +3 -1
- package/skills/ae-analysis/references/command_index.md +10 -7
- package/skills/ae-analysis/references/dashboard_daily_report_get.md +18 -0
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +12 -9
- package/skills/ae-analysis/references/dashboard_daily_report_send_status.md +22 -0
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +13 -6
- package/skills/ae-analysis/references/drilldown_user_events_export.md +5 -0
- package/skills/ae-analysis/references/drilldown_user_events_run.md +6 -0
- package/skills/ae-analysis/references/super_metadata_batch_create.md +29 -0
- package/skills/ae-analysis/references/super_metadata_batch_edit.md +24 -0
- package/skills/ae-engage/SKILL.md +32 -5
- package/skills/ae-engage/references/activity-topic.md +34 -1
- package/skills/ae-engage/references/add-channel.md +2 -3
- package/skills/ae-engage/references/build-task-save-guide.md +17 -3
- package/skills/ae-engage/references/channel-detail.md +2 -3
- package/skills/ae-engage/references/channel-list.md +2 -5
- package/skills/ae-engage/references/channel-mgmt.md +17 -2
- package/skills/ae-engage/references/channel-test-send.md +1 -1
- package/skills/ae-engage/references/channel-update-config.md +1 -1
- package/skills/ae-engage/references/delete-channel.md +2 -3
- package/skills/ae-engage/references/save-flow.md +6 -3
- package/skills/ae-engage/references/save-task.md +12 -15
- package/skills/ae-engage/references/scene-config-channel.md +28 -4
- package/skills/ae-engage/references/scene-config-group.md +1 -1
- package/skills/ae-engage/references/scene-config-item.md +1 -1
- package/skills/ae-engage/references/scene-config-metric.md +1 -1
- package/skills/ae-engage/references/scene-config-param.md +1 -1
- package/skills/ae-engage/references/scene-preset-metric.md +1 -1
- package/skills/ae-engage/references/scene-strategy-audience.md +680 -0
- package/skills/ae-engage/references/scene-strategy.md +16 -1
- package/skills/ae-engage/references/scene-template.md +1 -1
- package/skills/ae-engage/references/update-channel-status.md +2 -3
- package/skills/ae-system/SKILL.md +357 -0
- package/skills/ae-analysis/references/alert_definition_schema_get.md +0 -24
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TeAgentApiError,
|
|
6
6
|
TeAgentCredentialsError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J7MZHDHQ.js";
|
|
8
8
|
import {
|
|
9
9
|
getLocalCliPackageInfo
|
|
10
10
|
} from "./chunk-VTWMIC5L.js";
|
|
@@ -15,11 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-HQ2A7ITL.js";
|
|
16
16
|
import {
|
|
17
17
|
formatCapabilityMissCompatHint,
|
|
18
|
-
notifyIfUpdateAvailable,
|
|
19
18
|
printError,
|
|
20
19
|
printOutput,
|
|
21
20
|
runHostCompatCheck
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JTKMDN4A.js";
|
|
23
22
|
import {
|
|
24
23
|
clearCliToken,
|
|
25
24
|
getCliToken
|
|
@@ -3385,11 +3384,11 @@ program.name("ae-cli").version(version).description("CLI tool for ThinkingAI (AE
|
|
|
3385
3384
|
"--dry-run",
|
|
3386
3385
|
"Optional: pre-execution preview without business logic (gateway /dry-run; other transports preview). Use alone to confirm a run; do not stack with --validate",
|
|
3387
3386
|
false
|
|
3388
|
-
).option("--yes", "Skip confirmation for high-risk write operations", false).option("--no-update-check", "Skip
|
|
3387
|
+
).option("--yes", "Skip confirmation for high-risk write operations", false).option("--no-update-check", "Skip host compatibility checks", false);
|
|
3389
3388
|
async function loadCommands() {
|
|
3390
3389
|
const commands = [];
|
|
3391
3390
|
try {
|
|
3392
|
-
const teAnalysis = await import("./te-analysis-
|
|
3391
|
+
const teAnalysis = await import("./te-analysis-PCGESPLW.js");
|
|
3393
3392
|
commands.push(...teAnalysis.default);
|
|
3394
3393
|
} catch {
|
|
3395
3394
|
}
|
|
@@ -3399,7 +3398,7 @@ async function loadCommands() {
|
|
|
3399
3398
|
} catch {
|
|
3400
3399
|
}
|
|
3401
3400
|
try {
|
|
3402
|
-
const engage = await import("./te-engage-
|
|
3401
|
+
const engage = await import("./te-engage-VW6NJZ5V.js");
|
|
3403
3402
|
commands.push(...engage.default);
|
|
3404
3403
|
} catch {
|
|
3405
3404
|
}
|
|
@@ -3409,7 +3408,7 @@ async function loadCommands() {
|
|
|
3409
3408
|
} catch {
|
|
3410
3409
|
}
|
|
3411
3410
|
try {
|
|
3412
|
-
const dataops = await import("./te-dataops-
|
|
3411
|
+
const dataops = await import("./te-dataops-LXL5YULV.js");
|
|
3413
3412
|
commands.push(...dataops.default);
|
|
3414
3413
|
} catch {
|
|
3415
3414
|
}
|
|
@@ -3419,17 +3418,22 @@ async function loadCommands() {
|
|
|
3419
3418
|
} catch {
|
|
3420
3419
|
}
|
|
3421
3420
|
try {
|
|
3422
|
-
const teTeam = await import("./te-team-
|
|
3421
|
+
const teTeam = await import("./te-team-RRZI4WRI.js");
|
|
3423
3422
|
commands.push(...teTeam.default);
|
|
3424
3423
|
} catch {
|
|
3425
3424
|
}
|
|
3426
3425
|
try {
|
|
3427
|
-
const teAgent = await import("./te-agent-
|
|
3426
|
+
const teAgent = await import("./te-agent-3GJ5H2XF.js");
|
|
3428
3427
|
commands.push(...teAgent.default);
|
|
3429
3428
|
} catch {
|
|
3430
3429
|
}
|
|
3431
3430
|
try {
|
|
3432
|
-
const
|
|
3431
|
+
const teSystem = await import("./te-system-AH7DMCAQ.js");
|
|
3432
|
+
commands.push(...teSystem.default);
|
|
3433
|
+
} catch {
|
|
3434
|
+
}
|
|
3435
|
+
try {
|
|
3436
|
+
const metadata = await import("./metadata-2ZFRMVOL.js");
|
|
3433
3437
|
commands.push(...metadata.default);
|
|
3434
3438
|
} catch {
|
|
3435
3439
|
}
|
|
@@ -3437,50 +3441,58 @@ async function loadCommands() {
|
|
|
3437
3441
|
}
|
|
3438
3442
|
async function registerAuthCommands() {
|
|
3439
3443
|
try {
|
|
3440
|
-
const { registerAuth } = await import("./auth-
|
|
3444
|
+
const { registerAuth } = await import("./auth-B2BRSYMS.js");
|
|
3441
3445
|
registerAuth(program);
|
|
3442
3446
|
} catch {
|
|
3443
3447
|
}
|
|
3444
3448
|
}
|
|
3445
3449
|
async function registerConfigCommands() {
|
|
3446
3450
|
try {
|
|
3447
|
-
const { registerConfig } = await import("./config-
|
|
3451
|
+
const { registerConfig } = await import("./config-DDYJPJX3.js");
|
|
3448
3452
|
registerConfig(program);
|
|
3449
3453
|
} catch {
|
|
3450
3454
|
}
|
|
3451
3455
|
}
|
|
3452
3456
|
async function registerApiCommand() {
|
|
3453
3457
|
try {
|
|
3454
|
-
const { registerApi } = await import("./raw-
|
|
3458
|
+
const { registerApi } = await import("./raw-6HXFFHLV.js");
|
|
3455
3459
|
registerApi(program);
|
|
3456
3460
|
} catch {
|
|
3457
3461
|
}
|
|
3458
3462
|
}
|
|
3459
3463
|
async function registerCapabilityCommands() {
|
|
3460
3464
|
try {
|
|
3461
|
-
const { registerCapability } = await import("./capability-
|
|
3465
|
+
const { registerCapability } = await import("./capability-ROKYESAP.js");
|
|
3462
3466
|
registerCapability(program);
|
|
3463
3467
|
} catch {
|
|
3464
3468
|
}
|
|
3465
3469
|
}
|
|
3466
3470
|
async function registerSyncCommand() {
|
|
3467
3471
|
try {
|
|
3468
|
-
const { registerSync } = await import("./sync-
|
|
3472
|
+
const { registerSync } = await import("./sync-BF3IWYFC.js");
|
|
3469
3473
|
registerSync(program);
|
|
3470
3474
|
} catch {
|
|
3471
3475
|
}
|
|
3472
3476
|
}
|
|
3473
3477
|
async function registerModelCommand() {
|
|
3474
3478
|
try {
|
|
3475
|
-
const { registerModel } = await import("./model-
|
|
3479
|
+
const { registerModel } = await import("./model-JASQVOFD.js");
|
|
3476
3480
|
registerModel(program);
|
|
3477
3481
|
} catch {
|
|
3478
3482
|
}
|
|
3479
3483
|
}
|
|
3484
|
+
async function registerUpdateCommand() {
|
|
3485
|
+
try {
|
|
3486
|
+
const { registerUpdate } = await import("./update-ER7VFU55.js");
|
|
3487
|
+
registerUpdate(program);
|
|
3488
|
+
} catch {
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3480
3491
|
async function main() {
|
|
3481
3492
|
const pkgInfo = getLocalCliPackageInfo();
|
|
3482
|
-
|
|
3483
|
-
|
|
3493
|
+
if (!isRootUpdateCommand(process.argv.slice(2))) {
|
|
3494
|
+
await runHostCompatCheck(pkgInfo);
|
|
3495
|
+
}
|
|
3484
3496
|
const commands = await loadCommands();
|
|
3485
3497
|
registerCommands(program, commands);
|
|
3486
3498
|
await registerAuthCommands();
|
|
@@ -3489,6 +3501,7 @@ async function main() {
|
|
|
3489
3501
|
await registerCapabilityCommands();
|
|
3490
3502
|
await registerSyncCommand();
|
|
3491
3503
|
await registerModelCommand();
|
|
3504
|
+
await registerUpdateCommand();
|
|
3492
3505
|
registerTracking(program);
|
|
3493
3506
|
rejectUnknownHelpCommandPath(program, process.argv.slice(2));
|
|
3494
3507
|
await parseProgram(program);
|
|
@@ -3528,3 +3541,17 @@ function optionConsumesValue(token) {
|
|
|
3528
3541
|
}
|
|
3529
3542
|
return token === "--host" || token === "--mcp-url" || token === "--format" || token === "--jq";
|
|
3530
3543
|
}
|
|
3544
|
+
function isRootUpdateCommand(args) {
|
|
3545
|
+
for (let i = 0; i < args.length; i += 1) {
|
|
3546
|
+
const token = args[i];
|
|
3547
|
+
if (token === "--") return false;
|
|
3548
|
+
if (token.startsWith("-")) {
|
|
3549
|
+
if (optionConsumesValue(token)) {
|
|
3550
|
+
i += 1;
|
|
3551
|
+
}
|
|
3552
|
+
continue;
|
|
3553
|
+
}
|
|
3554
|
+
return token === "update";
|
|
3555
|
+
}
|
|
3556
|
+
return false;
|
|
3557
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCapabilityCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RRFK2W7I.js";
|
|
4
4
|
import {
|
|
5
5
|
registerCapabilityGatewayRoute
|
|
6
6
|
} from "./chunk-PTE56QPL.js";
|
|
7
7
|
import "./chunk-HQ2A7ITL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTKMDN4A.js";
|
|
9
9
|
import "./chunk-E7UXXHO3.js";
|
|
10
10
|
import "./chunk-IR4ZLVPW.js";
|
|
11
11
|
import "./chunk-V6FR6WTW.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCapabilityCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EBPXT3TN.js";
|
|
4
4
|
import {
|
|
5
5
|
registerCapabilityGatewayRoute
|
|
6
6
|
} from "./chunk-PTE56QPL.js";
|
|
7
7
|
import "./chunk-RGXCNC4N.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTKMDN4A.js";
|
|
9
9
|
import "./chunk-E7UXXHO3.js";
|
|
10
10
|
import "./chunk-IR4ZLVPW.js";
|
|
11
11
|
import "./chunk-V6FR6WTW.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
getSandboxSyncPullCandidates,
|
|
20
20
|
postSandboxSyncPull,
|
|
21
21
|
postToMainApp
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J7MZHDHQ.js";
|
|
23
23
|
import {
|
|
24
24
|
printError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JTKMDN4A.js";
|
|
26
26
|
import "./chunk-E7UXXHO3.js";
|
|
27
27
|
import "./chunk-IR4ZLVPW.js";
|
|
28
28
|
import "./chunk-V6FR6WTW.js";
|