@thinkingai/ae-cli 6.1.7 → 6.1.8

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.
Files changed (68) hide show
  1. package/dist/{auth-UPGUOKTW.js → auth-B2BRSYMS.js} +1 -1
  2. package/dist/{capability-TQ5KU5Q6.js → capability-6KPXYNO7.js} +1 -1
  3. package/dist/{capability-AJC5CBRT.js → capability-ROKYESAP.js} +1 -1
  4. package/dist/{chunk-6CHYBI64.js → chunk-EBPXT3TN.js} +1 -1
  5. package/dist/{chunk-4Q5TNP4Q.js → chunk-J7MZHDHQ.js} +48 -24
  6. package/dist/{chunk-IMMGMU54.js → chunk-JTKMDN4A.js} +64 -166
  7. package/dist/{chunk-ISY6HMHM.js → chunk-RRFK2W7I.js} +1 -1
  8. package/dist/{config-PMPISN5Y.js → config-DDYJPJX3.js} +1 -1
  9. package/dist/index.js +49 -22
  10. package/dist/{metadata-P5GIVMZ6.js → metadata-2ZFRMVOL.js} +2 -2
  11. package/dist/{metadata-ELUAR3EJ.js → metadata-ABQCKU5P.js} +2 -2
  12. package/dist/{model-OYQLXCQY.js → model-JASQVOFD.js} +1 -1
  13. package/dist/{raw-TPB7KSZO.js → raw-6HXFFHLV.js} +1 -1
  14. package/dist/{sync-EFJKFZK2.js → sync-BF3IWYFC.js} +2 -2
  15. package/dist/{te-agent-BOQ7ZY56.js → te-agent-3GJ5H2XF.js} +1 -1
  16. package/dist/{te-analysis-ZT2MYAHL.js → te-analysis-DJ6KELTU.js} +213 -129
  17. package/dist/{te-analysis-HZIP6SYW.js → te-analysis-PCGESPLW.js} +213 -129
  18. package/dist/{te-dataops-Y5QAPPPF.js → te-dataops-LXL5YULV.js} +1 -1
  19. package/dist/{te-dataops-VYN3IOKO.js → te-dataops-ROHUJOX5.js} +1 -1
  20. package/dist/{te-engage-2FSDUOIZ.js → te-engage-2YDCA552.js} +87 -4
  21. package/dist/{te-engage-BMJ6UOUU.js → te-engage-VW6NJZ5V.js} +87 -4
  22. package/dist/{te-experiment-4JC7WUKW.js → te-experiment-7JGJNDXO.js} +2 -2
  23. package/dist/{te-experiment-KYRWAUZY.js → te-experiment-OYK54B72.js} +2 -2
  24. package/dist/te-system-AH7DMCAQ.js +1706 -0
  25. package/dist/{te-team-PDKKW7Q5.js → te-team-RRZI4WRI.js} +1 -1
  26. package/dist/update-ER7VFU55.js +101 -0
  27. package/package.json +5 -1
  28. package/skills/ae-agent/references/create-automation.md +1 -0
  29. package/skills/ae-analysis/SKILL.md +1 -1
  30. package/skills/ae-analysis/references/alert_create.md +2 -3
  31. package/skills/ae-analysis/references/alert_update.md +2 -3
  32. package/skills/ae-analysis/references/analysis_gateway_assets.md +6 -4
  33. package/skills/ae-analysis/references/bi_panel_create.md +12 -4
  34. package/skills/ae-analysis/references/bi_panel_update.md +11 -8
  35. package/skills/ae-analysis/references/bi_panel_version_publish.md +3 -1
  36. package/skills/ae-analysis/references/command_index.md +10 -7
  37. package/skills/ae-analysis/references/dashboard_daily_report_get.md +18 -0
  38. package/skills/ae-analysis/references/dashboard_daily_report_send.md +12 -9
  39. package/skills/ae-analysis/references/dashboard_daily_report_send_status.md +22 -0
  40. package/skills/ae-analysis/references/dashboard_daily_report_update.md +13 -6
  41. package/skills/ae-analysis/references/drilldown_user_events_export.md +5 -0
  42. package/skills/ae-analysis/references/drilldown_user_events_run.md +6 -0
  43. package/skills/ae-analysis/references/super_metadata_batch_create.md +29 -0
  44. package/skills/ae-analysis/references/super_metadata_batch_edit.md +24 -0
  45. package/skills/ae-engage/SKILL.md +32 -5
  46. package/skills/ae-engage/references/activity-topic.md +34 -1
  47. package/skills/ae-engage/references/add-channel.md +2 -3
  48. package/skills/ae-engage/references/build-task-save-guide.md +17 -3
  49. package/skills/ae-engage/references/channel-detail.md +2 -3
  50. package/skills/ae-engage/references/channel-list.md +2 -5
  51. package/skills/ae-engage/references/channel-mgmt.md +17 -2
  52. package/skills/ae-engage/references/channel-test-send.md +1 -1
  53. package/skills/ae-engage/references/channel-update-config.md +1 -1
  54. package/skills/ae-engage/references/delete-channel.md +2 -3
  55. package/skills/ae-engage/references/save-flow.md +6 -3
  56. package/skills/ae-engage/references/save-task.md +12 -15
  57. package/skills/ae-engage/references/scene-config-channel.md +28 -4
  58. package/skills/ae-engage/references/scene-config-group.md +1 -1
  59. package/skills/ae-engage/references/scene-config-item.md +1 -1
  60. package/skills/ae-engage/references/scene-config-metric.md +1 -1
  61. package/skills/ae-engage/references/scene-config-param.md +1 -1
  62. package/skills/ae-engage/references/scene-preset-metric.md +1 -1
  63. package/skills/ae-engage/references/scene-strategy-audience.md +680 -0
  64. package/skills/ae-engage/references/scene-strategy.md +16 -1
  65. package/skills/ae-engage/references/scene-template.md +1 -1
  66. package/skills/ae-engage/references/update-channel-status.md +2 -3
  67. package/skills/ae-system/SKILL.md +357 -0
  68. package/skills/ae-analysis/references/alert_definition_schema_get.md +0 -24
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
+ import {
2
+ getLocalCliPackageInfo
3
+ } from "./chunk-VTWMIC5L.js";
1
4
  import {
2
5
  requiresConfirmation
3
6
  } from "./chunk-OO6XR6LK.js";
4
7
  import {
5
8
  TeAgentApiError,
6
9
  TeAgentCredentialsError
7
- } from "./chunk-4Q5TNP4Q.js";
8
- import {
9
- getLocalCliPackageInfo
10
- } from "./chunk-VTWMIC5L.js";
10
+ } from "./chunk-J7MZHDHQ.js";
11
11
  import {
12
12
  CapabilityGatewayError,
13
13
  executeCapability,
@@ -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-IMMGMU54.js";
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 checking for newer ae-cli versions", false);
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-HZIP6SYW.js");
3391
+ const teAnalysis = await import("./te-analysis-PCGESPLW.js");
3393
3392
  commands.push(...teAnalysis.default);
3394
3393
  } catch {
3395
3394
  }
@@ -3399,12 +3398,12 @@ async function loadCommands() {
3399
3398
  } catch {
3400
3399
  }
3401
3400
  try {
3402
- const engage = await import("./te-engage-BMJ6UOUU.js");
3401
+ const engage = await import("./te-engage-VW6NJZ5V.js");
3403
3402
  commands.push(...engage.default);
3404
3403
  } catch {
3405
3404
  }
3406
3405
  try {
3407
- const experiment = await import("./te-experiment-4JC7WUKW.js");
3406
+ const experiment = await import("./te-experiment-7JGJNDXO.js");
3408
3407
  commands.push(...experiment.default);
3409
3408
  } catch {
3410
3409
  }
@@ -3414,7 +3413,7 @@ async function loadCommands() {
3414
3413
  } catch {
3415
3414
  }
3416
3415
  try {
3417
- const dataops = await import("./te-dataops-Y5QAPPPF.js");
3416
+ const dataops = await import("./te-dataops-LXL5YULV.js");
3418
3417
  commands.push(...dataops.default);
3419
3418
  } catch {
3420
3419
  }
@@ -3424,17 +3423,22 @@ async function loadCommands() {
3424
3423
  } catch {
3425
3424
  }
3426
3425
  try {
3427
- const teTeam = await import("./te-team-PDKKW7Q5.js");
3426
+ const teTeam = await import("./te-team-RRZI4WRI.js");
3428
3427
  commands.push(...teTeam.default);
3429
3428
  } catch {
3430
3429
  }
3431
3430
  try {
3432
- const teAgent = await import("./te-agent-BOQ7ZY56.js");
3431
+ const teAgent = await import("./te-agent-3GJ5H2XF.js");
3433
3432
  commands.push(...teAgent.default);
3434
3433
  } catch {
3435
3434
  }
3436
3435
  try {
3437
- const metadata = await import("./metadata-P5GIVMZ6.js");
3436
+ const teSystem = await import("./te-system-AH7DMCAQ.js");
3437
+ commands.push(...teSystem.default);
3438
+ } catch {
3439
+ }
3440
+ try {
3441
+ const metadata = await import("./metadata-2ZFRMVOL.js");
3438
3442
  commands.push(...metadata.default);
3439
3443
  } catch {
3440
3444
  }
@@ -3442,50 +3446,58 @@ async function loadCommands() {
3442
3446
  }
3443
3447
  async function registerAuthCommands() {
3444
3448
  try {
3445
- const { registerAuth } = await import("./auth-UPGUOKTW.js");
3449
+ const { registerAuth } = await import("./auth-B2BRSYMS.js");
3446
3450
  registerAuth(program);
3447
3451
  } catch {
3448
3452
  }
3449
3453
  }
3450
3454
  async function registerConfigCommands() {
3451
3455
  try {
3452
- const { registerConfig } = await import("./config-PMPISN5Y.js");
3456
+ const { registerConfig } = await import("./config-DDYJPJX3.js");
3453
3457
  registerConfig(program);
3454
3458
  } catch {
3455
3459
  }
3456
3460
  }
3457
3461
  async function registerApiCommand() {
3458
3462
  try {
3459
- const { registerApi } = await import("./raw-TPB7KSZO.js");
3463
+ const { registerApi } = await import("./raw-6HXFFHLV.js");
3460
3464
  registerApi(program);
3461
3465
  } catch {
3462
3466
  }
3463
3467
  }
3464
3468
  async function registerCapabilityCommands() {
3465
3469
  try {
3466
- const { registerCapability } = await import("./capability-AJC5CBRT.js");
3470
+ const { registerCapability } = await import("./capability-ROKYESAP.js");
3467
3471
  registerCapability(program);
3468
3472
  } catch {
3469
3473
  }
3470
3474
  }
3471
3475
  async function registerSyncCommand() {
3472
3476
  try {
3473
- const { registerSync } = await import("./sync-EFJKFZK2.js");
3477
+ const { registerSync } = await import("./sync-BF3IWYFC.js");
3474
3478
  registerSync(program);
3475
3479
  } catch {
3476
3480
  }
3477
3481
  }
3478
3482
  async function registerModelCommand() {
3479
3483
  try {
3480
- const { registerModel } = await import("./model-OYQLXCQY.js");
3484
+ const { registerModel } = await import("./model-JASQVOFD.js");
3481
3485
  registerModel(program);
3482
3486
  } catch {
3483
3487
  }
3484
3488
  }
3489
+ async function registerUpdateCommand() {
3490
+ try {
3491
+ const { registerUpdate } = await import("./update-ER7VFU55.js");
3492
+ registerUpdate(program);
3493
+ } catch {
3494
+ }
3495
+ }
3485
3496
  async function main() {
3486
3497
  const pkgInfo = getLocalCliPackageInfo();
3487
- notifyIfUpdateAvailable({ name: pkg.name, version: pkg.version });
3488
- await runHostCompatCheck(pkgInfo);
3498
+ if (!isRootUpdateCommand(process.argv.slice(2))) {
3499
+ await runHostCompatCheck(pkgInfo);
3500
+ }
3489
3501
  const commands = await loadCommands();
3490
3502
  registerCommands(program, commands);
3491
3503
  await registerAuthCommands();
@@ -3494,6 +3506,7 @@ async function main() {
3494
3506
  await registerCapabilityCommands();
3495
3507
  await registerSyncCommand();
3496
3508
  await registerModelCommand();
3509
+ await registerUpdateCommand();
3497
3510
  registerTracking(program);
3498
3511
  rejectUnknownHelpCommandPath(program, process.argv.slice(2));
3499
3512
  await parseProgram(program);
@@ -3533,3 +3546,17 @@ function optionConsumesValue(token) {
3533
3546
  }
3534
3547
  return token === "--host" || token === "--mcp-url" || token === "--format" || token === "--jq";
3535
3548
  }
3549
+ function isRootUpdateCommand(args) {
3550
+ for (let i = 0; i < args.length; i += 1) {
3551
+ const token = args[i];
3552
+ if (token === "--") return false;
3553
+ if (token.startsWith("-")) {
3554
+ if (optionConsumesValue(token)) {
3555
+ i += 1;
3556
+ }
3557
+ continue;
3558
+ }
3559
+ return token === "update";
3560
+ }
3561
+ return false;
3562
+ }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createCapabilityCommand
3
- } from "./chunk-ISY6HMHM.js";
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-IMMGMU54.js";
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-6CHYBI64.js";
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-IMMGMU54.js";
8
+ import "./chunk-JTKMDN4A.js";
9
9
  import "./chunk-E7UXXHO3.js";
10
10
  import "./chunk-IR4ZLVPW.js";
11
11
  import "./chunk-V6FR6WTW.js";
@@ -9,7 +9,7 @@ import {
9
9
  getClaudeConfigDir,
10
10
  getSandboxModels,
11
11
  postSandboxModelSelection
12
- } from "./chunk-4Q5TNP4Q.js";
12
+ } from "./chunk-J7MZHDHQ.js";
13
13
  import "./chunk-V6FR6WTW.js";
14
14
  import "./chunk-LYVNONC4.js";
15
15
 
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  printError,
7
7
  printOutput
8
- } from "./chunk-IMMGMU54.js";
8
+ } from "./chunk-JTKMDN4A.js";
9
9
  import "./chunk-E7UXXHO3.js";
10
10
  import {
11
11
  SecureStoreAuthError,
@@ -19,10 +19,10 @@ import {
19
19
  getSandboxSyncPullCandidates,
20
20
  postSandboxSyncPull,
21
21
  postToMainApp
22
- } from "./chunk-4Q5TNP4Q.js";
22
+ } from "./chunk-J7MZHDHQ.js";
23
23
  import {
24
24
  printError
25
- } from "./chunk-IMMGMU54.js";
25
+ } from "./chunk-JTKMDN4A.js";
26
26
  import "./chunk-E7UXXHO3.js";
27
27
  import "./chunk-IR4ZLVPW.js";
28
28
  import "./chunk-V6FR6WTW.js";
@@ -6,7 +6,7 @@ import {
6
6
  postToMainApp,
7
7
  putToMainApp,
8
8
  uploadToMainApp
9
- } from "./chunk-4Q5TNP4Q.js";
9
+ } from "./chunk-J7MZHDHQ.js";
10
10
  import "./chunk-V6FR6WTW.js";
11
11
  import "./chunk-LYVNONC4.js";
12
12