@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
@@ -1,13 +1,13 @@
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
8
  import {
9
9
  printError
10
- } from "./chunk-IMMGMU54.js";
10
+ } from "./chunk-JTKMDN4A.js";
11
11
  import "./chunk-E7UXXHO3.js";
12
12
  import "./chunk-IR4ZLVPW.js";
13
13
  import "./chunk-V6FR6WTW.js";
@@ -1249,6 +1249,44 @@ var commonMetricDelete = createEngageSettingCapabilityCommand({
1249
1249
  })
1250
1250
  });
1251
1251
 
1252
+ // src/commands/te-engage/engage-setting/query/cluster-qp-skill.ts
1253
+ var queryClusterQpSkill = createEngageSettingCapabilityCommand({
1254
+ resource: "query",
1255
+ command: "cluster-qp-skill",
1256
+ capabilityId: "engage-setting.query.cluster-qp-skill",
1257
+ description: "Query the mix-cluster QP skill definition for audience, trigger, and completion event objects. Returns skill text (not final QP JSON). Use it before save when build-save-guide requires targetConfig.qp, triggerConfig.triggerRule, clientConfig.clientQp, or completionIndicatorDef.event.",
1258
+ flags: [
1259
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
1260
+ {
1261
+ name: "response-mode",
1262
+ type: "string",
1263
+ required: false,
1264
+ desc: "Skill content mode: base, examples, or full. Default: full."
1265
+ },
1266
+ {
1267
+ name: "condition-subtype",
1268
+ type: "string",
1269
+ required: false,
1270
+ desc: "Condition subtype selector: core, behavior_seq, or all. Default: all."
1271
+ }
1272
+ ],
1273
+ risk: "read",
1274
+ buildInput: (ctx) => {
1275
+ const input = {
1276
+ project_id: ctx.num("project-id")
1277
+ };
1278
+ const responseMode = ctx.str("response-mode");
1279
+ const conditionSubtype = ctx.str("condition-subtype");
1280
+ if (responseMode) {
1281
+ input.response_mode = responseMode;
1282
+ }
1283
+ if (conditionSubtype) {
1284
+ input.condition_subtype = conditionSubtype;
1285
+ }
1286
+ return input;
1287
+ }
1288
+ });
1289
+
1252
1290
  // src/commands/te-engage/engage-setting/index.ts
1253
1291
  var commands2 = [
1254
1292
  channelTouchLimitsList,
@@ -1288,7 +1326,8 @@ var commands2 = [
1288
1326
  commonMetricGet,
1289
1327
  commonMetricCreate,
1290
1328
  commonMetricUpdate,
1291
- commonMetricDelete
1329
+ commonMetricDelete,
1330
+ queryClusterQpSkill
1292
1331
  ];
1293
1332
  var engage_setting_default = commands2;
1294
1333
 
@@ -1990,6 +2029,49 @@ var strategyLog = createEngageSceneCapabilityCommand({
1990
2029
  })
1991
2030
  });
1992
2031
 
2032
+ // src/commands/te-engage/engage-scene/strategy/predict.ts
2033
+ var strategyPredict = createEngageSceneCapabilityCommand({
2034
+ resource: "strategy",
2035
+ command: "predict",
2036
+ capabilityId: "engage-scene.strategy.predict",
2037
+ description: "Predict custom-audience size for a config strategy (maps to POST /v1/hermes/config/strategy/predictEntityCount).",
2038
+ flags: [
2039
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
2040
+ {
2041
+ name: "qp",
2042
+ type: "string",
2043
+ required: true,
2044
+ desc: "Mix QP JSON string (same as targetClusterQp on the strategy)."
2045
+ },
2046
+ {
2047
+ name: "zone-offset",
2048
+ type: "number",
2049
+ required: true,
2050
+ desc: "Strategy timezone offset in hours (e.g. 8)."
2051
+ },
2052
+ {
2053
+ name: "strategy-uuid",
2054
+ type: "string",
2055
+ required: false,
2056
+ desc: "Optional strategy UUID; when set, persists clusterUserNum on the strategy."
2057
+ },
2058
+ {
2059
+ name: "request-id",
2060
+ type: "string",
2061
+ required: false,
2062
+ desc: "Optional client request id; auto-generated when omitted."
2063
+ }
2064
+ ],
2065
+ risk: "read",
2066
+ buildInput: (ctx) => ({
2067
+ project_id: ctx.num("project-id"),
2068
+ qp: ctx.str("qp"),
2069
+ zone_offset: ctx.num("zone-offset"),
2070
+ ...ctx.str("strategy-uuid") ? { strategy_uuid: ctx.str("strategy-uuid") } : {},
2071
+ ...ctx.str("request-id") ? { request_id: ctx.str("request-id") } : {}
2072
+ })
2073
+ });
2074
+
1993
2075
  // src/commands/te-engage/engage-scene/strategy/batch-copy.ts
1994
2076
  var strategyBatchCopy = createEngageSceneCapabilityCommand({
1995
2077
  resource: "strategy",
@@ -2189,6 +2271,7 @@ var commands3 = [
2189
2271
  strategyManage,
2190
2272
  strategyUpdate,
2191
2273
  strategyLog,
2274
+ strategyPredict,
2192
2275
  strategyBatchCopy,
2193
2276
  // strategySaveSubmit,
2194
2277
  // strategyTestSend,
@@ -3204,7 +3287,7 @@ var taskSave = createEngageTaskCapabilityCommand({
3204
3287
  resource: "task",
3205
3288
  command: "save",
3206
3289
  capabilityId: "engage-task.task.save",
3207
- description: "Create or update a task draft.",
3290
+ description: "Create a task draft, or update an existing draft/paused task.",
3208
3291
  flags: [
3209
3292
  { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
3210
3293
  { name: "req", type: "json", required: true, desc: "Task save request JSON object." }
@@ -1,13 +1,13 @@
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
8
  import {
9
9
  printError
10
- } from "./chunk-IMMGMU54.js";
10
+ } from "./chunk-JTKMDN4A.js";
11
11
  import "./chunk-E7UXXHO3.js";
12
12
  import "./chunk-IR4ZLVPW.js";
13
13
  import "./chunk-V6FR6WTW.js";
@@ -1249,6 +1249,44 @@ var commonMetricDelete = createEngageSettingCapabilityCommand({
1249
1249
  })
1250
1250
  });
1251
1251
 
1252
+ // src/commands/te-engage/engage-setting/query/cluster-qp-skill.ts
1253
+ var queryClusterQpSkill = createEngageSettingCapabilityCommand({
1254
+ resource: "query",
1255
+ command: "cluster-qp-skill",
1256
+ capabilityId: "engage-setting.query.cluster-qp-skill",
1257
+ description: "Query the mix-cluster QP skill definition for audience, trigger, and completion event objects. Returns skill text (not final QP JSON). Use it before save when build-save-guide requires targetConfig.qp, triggerConfig.triggerRule, clientConfig.clientQp, or completionIndicatorDef.event.",
1258
+ flags: [
1259
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
1260
+ {
1261
+ name: "response-mode",
1262
+ type: "string",
1263
+ required: false,
1264
+ desc: "Skill content mode: base, examples, or full. Default: full."
1265
+ },
1266
+ {
1267
+ name: "condition-subtype",
1268
+ type: "string",
1269
+ required: false,
1270
+ desc: "Condition subtype selector: core, behavior_seq, or all. Default: all."
1271
+ }
1272
+ ],
1273
+ risk: "read",
1274
+ buildInput: (ctx) => {
1275
+ const input = {
1276
+ project_id: ctx.num("project-id")
1277
+ };
1278
+ const responseMode = ctx.str("response-mode");
1279
+ const conditionSubtype = ctx.str("condition-subtype");
1280
+ if (responseMode) {
1281
+ input.response_mode = responseMode;
1282
+ }
1283
+ if (conditionSubtype) {
1284
+ input.condition_subtype = conditionSubtype;
1285
+ }
1286
+ return input;
1287
+ }
1288
+ });
1289
+
1252
1290
  // src/commands/te-engage/engage-setting/index.ts
1253
1291
  var commands2 = [
1254
1292
  channelTouchLimitsList,
@@ -1288,7 +1326,8 @@ var commands2 = [
1288
1326
  commonMetricGet,
1289
1327
  commonMetricCreate,
1290
1328
  commonMetricUpdate,
1291
- commonMetricDelete
1329
+ commonMetricDelete,
1330
+ queryClusterQpSkill
1292
1331
  ];
1293
1332
  var engage_setting_default = commands2;
1294
1333
 
@@ -1990,6 +2029,49 @@ var strategyLog = createEngageSceneCapabilityCommand({
1990
2029
  })
1991
2030
  });
1992
2031
 
2032
+ // src/commands/te-engage/engage-scene/strategy/predict.ts
2033
+ var strategyPredict = createEngageSceneCapabilityCommand({
2034
+ resource: "strategy",
2035
+ command: "predict",
2036
+ capabilityId: "engage-scene.strategy.predict",
2037
+ description: "Predict custom-audience size for a config strategy (maps to POST /v1/hermes/config/strategy/predictEntityCount).",
2038
+ flags: [
2039
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
2040
+ {
2041
+ name: "qp",
2042
+ type: "string",
2043
+ required: true,
2044
+ desc: "Mix QP JSON string (same as targetClusterQp on the strategy)."
2045
+ },
2046
+ {
2047
+ name: "zone-offset",
2048
+ type: "number",
2049
+ required: true,
2050
+ desc: "Strategy timezone offset in hours (e.g. 8)."
2051
+ },
2052
+ {
2053
+ name: "strategy-uuid",
2054
+ type: "string",
2055
+ required: false,
2056
+ desc: "Optional strategy UUID; when set, persists clusterUserNum on the strategy."
2057
+ },
2058
+ {
2059
+ name: "request-id",
2060
+ type: "string",
2061
+ required: false,
2062
+ desc: "Optional client request id; auto-generated when omitted."
2063
+ }
2064
+ ],
2065
+ risk: "read",
2066
+ buildInput: (ctx) => ({
2067
+ project_id: ctx.num("project-id"),
2068
+ qp: ctx.str("qp"),
2069
+ zone_offset: ctx.num("zone-offset"),
2070
+ ...ctx.str("strategy-uuid") ? { strategy_uuid: ctx.str("strategy-uuid") } : {},
2071
+ ...ctx.str("request-id") ? { request_id: ctx.str("request-id") } : {}
2072
+ })
2073
+ });
2074
+
1993
2075
  // src/commands/te-engage/engage-scene/strategy/batch-copy.ts
1994
2076
  var strategyBatchCopy = createEngageSceneCapabilityCommand({
1995
2077
  resource: "strategy",
@@ -2189,6 +2271,7 @@ var commands3 = [
2189
2271
  strategyManage,
2190
2272
  strategyUpdate,
2191
2273
  strategyLog,
2274
+ strategyPredict,
2192
2275
  strategyBatchCopy,
2193
2276
  // strategySaveSubmit,
2194
2277
  // strategyTestSend,
@@ -3204,7 +3287,7 @@ var taskSave = createEngageTaskCapabilityCommand({
3204
3287
  resource: "task",
3205
3288
  command: "save",
3206
3289
  capabilityId: "engage-task.task.save",
3207
- description: "Create or update a task draft.",
3290
+ description: "Create a task draft, or update an existing draft/paused task.",
3208
3291
  flags: [
3209
3292
  { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
3210
3293
  { name: "req", type: "json", required: true, desc: "Task save request JSON object." }
@@ -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";