@thinkingai/ae-cli 6.1.42 → 6.1.44

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 (121) hide show
  1. package/README.md +14 -4
  2. package/README.zh.md +14 -4
  3. package/bin/ae-cli.js +3 -0
  4. package/bin/heari/commander-LICENSE +22 -0
  5. package/bin/heari/engine.mjs +6136 -0
  6. package/bin/heari/package.json +6 -0
  7. package/bin/heari.mjs +29 -0
  8. package/cli-installation-guide.md +3 -5
  9. package/dist/{ai-monitor-E62FT3TT.js → ai-monitor-4VPHXQTL.js} +7 -6
  10. package/dist/ai-monitor.js +10 -9
  11. package/dist/{auth-SDK5OAGP.js → auth-RDSS2LUT.js} +18 -16
  12. package/dist/{automation-IMDCJUML.js → automation-VLIWG2XY.js} +5 -4
  13. package/dist/{capability-F6YWGPZZ.js → capability-CUOEIB5F.js} +5 -4
  14. package/dist/{chunk-KE5WGBXS.js → chunk-3DTMWDJX.js} +1 -1
  15. package/dist/{chunk-KAZ5FWPB.js → chunk-3FSYICDW.js} +6 -5
  16. package/dist/{chunk-ZK6KEGUR.js → chunk-3TV24AVQ.js} +10 -10
  17. package/dist/{chunk-DTODOQ6T.js → chunk-3U75VLCP.js} +1 -1
  18. package/dist/{chunk-N2QILIGH.js → chunk-4MOCV6HU.js} +1 -1
  19. package/dist/{chunk-M2OCZRVX.js → chunk-6VLHJKDD.js} +2 -2
  20. package/dist/{chunk-WG27BD67.js → chunk-7KBENPQF.js} +8 -16
  21. package/dist/{chunk-CDBW5RE6.js → chunk-BFSWGXM2.js} +3 -3
  22. package/dist/{chunk-UK7HQ4IL.js → chunk-CBNE2S44.js} +2 -2
  23. package/dist/{chunk-UWQXGF44.js → chunk-FEYZBUFQ.js} +4 -353
  24. package/dist/chunk-FKTVD63C.js +369 -0
  25. package/dist/{chunk-2H3SFJE3.js → chunk-FKVG7LOP.js} +5 -3
  26. package/dist/{chunk-GTENC5CO.js → chunk-IAZ4AMVY.js} +6 -4
  27. package/dist/{chunk-ZSKLELL7.js → chunk-LSELMDKQ.js} +2 -2
  28. package/dist/{chunk-2RORKIF6.js → chunk-NJGB4YOH.js} +2 -2
  29. package/dist/{chunk-L7MT53VM.js → chunk-PWG5IGCP.js} +1 -1
  30. package/dist/{chunk-DIYDOOBL.js → chunk-TFEGYB4X.js} +2 -2
  31. package/dist/{chunk-DZRQGI2Z.js → chunk-ZPAOEDK7.js} +5 -3
  32. package/dist/{compat-check-J5K3NO5G.js → compat-check-L3C7HCVG.js} +4 -3
  33. package/dist/{config-O3W6XLHO.js → config-LAF5MMYK.js} +6 -5
  34. package/dist/context-E4YKECC4.js +350 -0
  35. package/dist/{evaluation-OZM54MES.js → evaluation-I4IJ25CY.js} +4 -3
  36. package/dist/heari-cli-login.js +83 -0
  37. package/dist/index.js +42 -34
  38. package/dist/{memory-VPOPSU52.js → memory-Y7LPCRP4.js} +5 -4
  39. package/dist/{metadata-3GA2N27I.js → metadata-T6HYAU7E.js} +7 -6
  40. package/dist/{model-2F2354QP.js → model-2BNN72MN.js} +7 -6
  41. package/dist/{personal-semantic-preference-T2HFF2V4.js → personal-semantic-preference-WCZBOA7V.js} +42 -16
  42. package/dist/{project-semantic-WJOP2HGJ.js → project-semantic-WW5AZST3.js} +266 -17
  43. package/dist/{sync-K65X7ODO.js → sync-6PL25V42.js} +13 -12
  44. package/dist/{te-agent-QWZC36YS.js → te-agent-KXLDW4NE.js} +6 -5
  45. package/dist/{te-analysis-7E2GVKOR.js → te-analysis-KKRECQ7F.js} +311 -52
  46. package/dist/{te-community-NQNSLNON.js → te-community-6RGX7IWH.js} +8 -6
  47. package/dist/{te-dataops-PMI7UX36.js → te-dataops-RSPBC6WJ.js} +726 -220
  48. package/dist/{te-engage-EZBV5IPQ.js → te-engage-FIPP5L2Z.js} +6 -5
  49. package/dist/{te-experiment-RDB3TYBG.js → te-experiment-KQ5CBYKI.js} +86 -10
  50. package/dist/{te-kb-OWPJB243.js → te-kb-XYSDXZUG.js} +32 -11
  51. package/dist/{te-system-Z4VEB6PL.js → te-system-QSOHAP7M.js} +7 -6
  52. package/dist/{te-team-NCMN34IL.js → te-team-R6MZ4RK2.js} +6 -5
  53. package/dist/{things-UBMLTY3S.js → things-DEONFUGS.js} +6 -5
  54. package/dist/{update-LYVYF3KJ.js → update-C6G4P3C7.js} +5 -4
  55. package/dist/{web-runtime-XJWDFVP3.js → web-runtime-UGKPTBOK.js} +12 -10
  56. package/dist/{workspace-W5ZPVWJS.js → workspace-OBIIE5FN.js} +5 -4
  57. package/package.json +7 -5
  58. package/skills/ae-analysis/SKILL.md +41 -16
  59. package/skills/ae-analysis/references/adhoc_export.md +1 -1
  60. package/skills/ae-analysis/references/adhoc_run.md +8 -2
  61. package/skills/ae-analysis/references/analysis_drilldown_contract.md +1 -1
  62. package/skills/ae-analysis/references/audience_scheduling.md +30 -0
  63. package/skills/ae-analysis/references/business_semantics_workspace.md +57 -0
  64. package/skills/ae-analysis/references/command_index.md +18 -13
  65. package/skills/ae-analysis/references/context_prepare.md +49 -0
  66. package/skills/ae-analysis/references/drilldown_entities_export.md +1 -1
  67. package/skills/ae-analysis/references/drilldown_entities_run.md +1 -1
  68. package/skills/ae-analysis/references/drilldown_user_events_export.md +3 -1
  69. package/skills/ae-analysis/references/drilldown_user_events_run.md +2 -1
  70. package/skills/ae-analysis/references/governance_recommendation_export.md +1 -1
  71. package/skills/ae-analysis/references/personal_semantic_preference_add.md +5 -1
  72. package/skills/ae-analysis/references/personal_semantic_preference_get.md +4 -2
  73. package/skills/ae-analysis/references/personal_semantic_preference_list.md +7 -6
  74. package/skills/ae-analysis/references/personal_semantic_preference_submit.md +1 -1
  75. package/skills/ae-analysis/references/personal_semantic_preference_update.md +5 -1
  76. package/skills/ae-analysis/references/project_info_get.md +4 -0
  77. package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +1 -1
  78. package/skills/ae-analysis/references/project_semantic_setup.md +60 -0
  79. package/skills/ae-analysis/references/report_get.md +2 -0
  80. package/skills/ae-analysis/references/report_presentation.md +55 -0
  81. package/skills/ae-analysis/references/report_update.md +4 -2
  82. package/skills/ae-analysis/references/system_openapi_token_batch_generate.md +20 -0
  83. package/skills/ae-analysis/references/system_openapi_token_get.md +14 -0
  84. package/skills/ae-analysis/references/user_cluster_create.md +3 -1
  85. package/skills/ae-analysis/references/user_cluster_models.md +2 -0
  86. package/skills/ae-analysis/references/user_cluster_update.md +5 -3
  87. package/skills/ae-analysis/references/user_tag_create.md +4 -22
  88. package/skills/ae-analysis/references/user_tag_models.md +8 -0
  89. package/skills/ae-analysis/references/user_tag_update.md +6 -14
  90. package/skills/ae-analysis/scripts/read-semantic-catalog.mjs +40 -0
  91. package/skills/ae-analysis-global/SKILL.md +2 -2
  92. package/skills/ae-capability/SKILL.md +5 -1
  93. package/skills/ae-community/SKILL.md +1 -1
  94. package/skills/ae-data-integration/SKILL.md +1 -1
  95. package/skills/ae-data-integration-helper/SKILL.md +1 -1
  96. package/skills/ae-dataops/SKILL.md +9 -6
  97. package/skills/ae-dataops/references/dataops-flow-create.md +64 -47
  98. package/skills/ae-dataops/references/dataops-flow-monitor.md +4 -2
  99. package/skills/ae-dataops/references/dataops-flow-python.md +109 -0
  100. package/skills/ae-experiment/SKILL.md +9 -1
  101. package/skills/ae-experiment/references/manage_feature_fixed_value.md +73 -0
  102. package/skills/ae-experiment/references/save_feature.md +14 -1
  103. package/skills/ae-generate-tracking-code/SKILL.md +1 -1
  104. package/skills/ae-generate-tracking-plan/SKILL.md +2 -2
  105. package/skills/ae-heari-research/SKILL.md +40 -0
  106. package/skills/ae-heari-research/references/design.md +35 -0
  107. package/skills/ae-heari-research/references/examples.md +46 -0
  108. package/skills/ae-heari-research/references/platform-auth.md +35 -0
  109. package/skills/ae-heari-research/references/platform-research.md +74 -0
  110. package/skills/ae-heari-research/references/platform-results.md +73 -0
  111. package/skills/ae-heari-research/references/platform.md +34 -0
  112. package/skills/ae-heari-research/references/probing-screening.md +31 -0
  113. package/skills/ae-heari-research/references/quality.md +44 -0
  114. package/skills/ae-kb/SKILL.md +10 -5
  115. package/skills/ae-kb/references/analysis-workflow.md +19 -10
  116. package/skills/ae-kb/references/query-workflow.md +34 -17
  117. package/skills/ae-kb-discovery/SKILL.md +4 -3
  118. package/skills/ae-migrate-tracking-code/SKILL.md +2 -2
  119. package/skills/ae-onboarding/SKILL.md +3 -3
  120. package/dist/context-WJQGJD6F.js +0 -139
  121. package/dist/{data-integration-KMJWYAKK.js → data-integration-SCYYZLWI.js} +4 -4
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-KAZ5FWPB.js";
4
+ } from "./chunk-3FSYICDW.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute,
7
7
  resolveGatewayDomain
@@ -9,16 +9,17 @@ import {
9
9
  import {
10
10
  printError,
11
11
  withOutputMetadata
12
- } from "./chunk-N2QILIGH.js";
13
- import "./chunk-GTENC5CO.js";
12
+ } from "./chunk-4MOCV6HU.js";
13
+ import "./chunk-IAZ4AMVY.js";
14
14
  import {
15
15
  CapabilityGatewayError,
16
16
  buildCapabilityGatewayUrl,
17
17
  fetchCapabilityGateway,
18
18
  requestCapabilityGateway,
19
19
  requestCapabilityGatewayWithEnvelope
20
- } from "./chunk-WG27BD67.js";
21
- import "./chunk-UWQXGF44.js";
20
+ } from "./chunk-7KBENPQF.js";
21
+ import "./chunk-FKTVD63C.js";
22
+ import "./chunk-FEYZBUFQ.js";
22
23
  import "./chunk-IGU3R2JD.js";
23
24
  import "./chunk-MTK4ZE7W.js";
24
25
  import {
@@ -1,14 +1,15 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-KAZ5FWPB.js";
4
+ } from "./chunk-3FSYICDW.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute
7
7
  } from "./chunk-AWW2T2WL.js";
8
- import "./chunk-N2QILIGH.js";
9
- import "./chunk-GTENC5CO.js";
10
- import "./chunk-WG27BD67.js";
11
- import "./chunk-UWQXGF44.js";
8
+ import "./chunk-4MOCV6HU.js";
9
+ import "./chunk-IAZ4AMVY.js";
10
+ import "./chunk-7KBENPQF.js";
11
+ import "./chunk-FKTVD63C.js";
12
+ import "./chunk-FEYZBUFQ.js";
12
13
  import "./chunk-IGU3R2JD.js";
13
14
  import "./chunk-MTK4ZE7W.js";
14
15
  import {
@@ -775,6 +776,77 @@ var featureList = createExperimentCapabilityCommand({
775
776
  buildInput: (ctx) => ({ project_id: ctx.num("project-id") })
776
777
  });
777
778
 
779
+ // src/commands/te-experiment/feature/shared.ts
780
+ function fixedValueIdentity(ctx) {
781
+ const projectId = ctx.num("project-id");
782
+ const featureKey = ctx.str("feature-key");
783
+ if (!Number.isInteger(projectId) || projectId < 1 || projectId > 2147483647) {
784
+ throw new Error("Flag --project-id must be a positive 32-bit integer");
785
+ }
786
+ if (!featureKey.trim() || featureKey.length > 80) {
787
+ throw new Error("Flag --feature-key must contain 1 to 80 characters and cannot be blank");
788
+ }
789
+ return { project_id: projectId, feature_key: featureKey };
790
+ }
791
+
792
+ // src/commands/te-experiment/feature/update-fixed-value.ts
793
+ function buildInput15(ctx) {
794
+ const input = fixedValueIdentity(ctx);
795
+ if (!ctx.has("enabled")) throw new Error("Flag --enabled is required; use true or false");
796
+ return { ...input, fixed_value_enabled: ctx.bool("enabled") };
797
+ }
798
+ var featureUpdateFixedValue = createExperimentCapabilityCommand({
799
+ resource: "feature",
800
+ command: "update-fixed-value",
801
+ capabilityId: "experiment.feature.update_fixed_value",
802
+ description: "Enable or disable fixed Feature values. Disabling clears all users' fixed results.",
803
+ flags: [
804
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
805
+ { name: "feature-key", type: "string", required: true, desc: "Feature key, up to 80 characters." },
806
+ { name: "enabled", type: "boolean", required: true, desc: "true to fix the first valid result; false to clear fixed results and disable fixing." }
807
+ ],
808
+ risk: "high-risk-write",
809
+ validate: (ctx) => {
810
+ buildInput15(ctx);
811
+ },
812
+ buildInput: buildInput15
813
+ });
814
+
815
+ // src/commands/te-experiment/feature/reset-fixed-value.ts
816
+ function buildInput16(ctx) {
817
+ const input = fixedValueIdentity(ctx);
818
+ if (ctx.has("request-id")) {
819
+ const requestId = ctx.str("request-id");
820
+ if (!requestId.trim() || requestId.length > 64) {
821
+ throw new Error("Flag --request-id must contain 1 to 64 characters and cannot be blank");
822
+ }
823
+ input.request_id = requestId;
824
+ }
825
+ if (ctx.has("reason")) {
826
+ const reason = ctx.str("reason");
827
+ if (reason.length > 500) throw new Error("Flag --reason must contain at most 500 characters");
828
+ input.reason = reason;
829
+ }
830
+ return input;
831
+ }
832
+ var featureResetFixedValue = createExperimentCapabilityCommand({
833
+ resource: "feature",
834
+ command: "reset-fixed-value",
835
+ capabilityId: "experiment.feature.reset_fixed_value",
836
+ description: "Clear all users' fixed Feature results while keeping fixing enabled; preserve experiment assignments.",
837
+ flags: [
838
+ { name: "project-id", type: "number", required: true, alias: "p", desc: "Numeric project ID." },
839
+ { name: "feature-key", type: "string", required: true, desc: "Feature key, up to 80 characters." },
840
+ { name: "request-id", type: "string", desc: "Optional tracing ID, up to 64 characters; generated when omitted. Reusing it does not deduplicate resets." },
841
+ { name: "reason", type: "string", desc: "Optional reset reason saved in the operation log, up to 500 characters." }
842
+ ],
843
+ risk: "high-risk-write",
844
+ validate: (ctx) => {
845
+ buildInput16(ctx);
846
+ },
847
+ buildInput: buildInput16
848
+ });
849
+
778
850
  // src/commands/te-experiment/feature/save.ts
779
851
  var featureSave = createExperimentCapabilityCommand({
780
852
  resource: "feature",
@@ -916,7 +988,7 @@ var featureWhitelistBatchDelete = createExperimentCapabilityCommand({
916
988
  });
917
989
 
918
990
  // src/commands/te-experiment/feature-whitelist/list.ts
919
- function buildInput15(ctx) {
991
+ function buildInput17(ctx) {
920
992
  return {
921
993
  project_id: ctx.num("project-id"),
922
994
  feature_key: ctx.str("feature-key")
@@ -932,11 +1004,11 @@ var featureWhitelistList = createExperimentCapabilityCommand({
932
1004
  { name: "feature-key", type: "string", required: true, desc: "Existing Feature key." }
933
1005
  ],
934
1006
  risk: "read",
935
- buildInput: buildInput15
1007
+ buildInput: buildInput17
936
1008
  });
937
1009
 
938
1010
  // src/commands/te-experiment/feature-whitelist/save.ts
939
- function buildInput16(ctx) {
1011
+ function buildInput18(ctx) {
940
1012
  const ruleId = ctx.str("rule-id").trim();
941
1013
  const status = ctx.str("status").trim() || "draft";
942
1014
  if (!["draft", "enable", "disable"].includes(status)) {
@@ -973,9 +1045,9 @@ var featureWhitelistSave = createExperimentCapabilityCommand({
973
1045
  ],
974
1046
  risk: "write",
975
1047
  validate: (ctx) => {
976
- buildInput16(ctx);
1048
+ buildInput18(ctx);
977
1049
  },
978
- buildInput: buildInput16
1050
+ buildInput: buildInput18
979
1051
  });
980
1052
 
981
1053
  // src/commands/te-experiment/feature-whitelist/update-status.ts
@@ -1576,6 +1648,8 @@ var commands = [
1576
1648
  metricDelete,
1577
1649
  featureSave,
1578
1650
  featureUpdateStatus,
1651
+ featureUpdateFixedValue,
1652
+ featureResetFixedValue,
1579
1653
  featureGet,
1580
1654
  featureList,
1581
1655
  featureVersionList,
@@ -1614,7 +1688,9 @@ export {
1614
1688
  featureGet,
1615
1689
  featureList,
1616
1690
  featureOperationLogQuery,
1691
+ featureResetFixedValue,
1617
1692
  featureSave,
1693
+ featureUpdateFixedValue,
1618
1694
  featureUpdateStatus,
1619
1695
  featureVersionList,
1620
1696
  featureWhitelistBatchDelete,
@@ -2,18 +2,19 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  kbApi,
4
4
  kbUpload
5
- } from "./chunk-DZRQGI2Z.js";
6
- import {
7
- printError
8
- } from "./chunk-N2QILIGH.js";
5
+ } from "./chunk-ZPAOEDK7.js";
9
6
  import {
10
7
  TeAgentApiError
11
- } from "./chunk-KE5WGBXS.js";
12
- import "./chunk-GTENC5CO.js";
8
+ } from "./chunk-3DTMWDJX.js";
9
+ import {
10
+ printError
11
+ } from "./chunk-4MOCV6HU.js";
12
+ import "./chunk-IAZ4AMVY.js";
13
13
  import {
14
14
  CapabilityGatewayError
15
- } from "./chunk-WG27BD67.js";
16
- import "./chunk-UWQXGF44.js";
15
+ } from "./chunk-7KBENPQF.js";
16
+ import "./chunk-FKTVD63C.js";
17
+ import "./chunk-FEYZBUFQ.js";
17
18
  import "./chunk-IGU3R2JD.js";
18
19
  import {
19
20
  kbExecutionContextRequired
@@ -1434,7 +1435,7 @@ function buildBody6(ctx) {
1434
1435
  var status = {
1435
1436
  service: "kb",
1436
1437
  command: "+status",
1437
- description: "Query knowledge base status.",
1438
+ description: "Query knowledge base and compilation guideline status, including failure details when available.",
1438
1439
  flags: [
1439
1440
  { name: "name", type: "string", required: true, desc: "Knowledge base name" },
1440
1441
  { name: "scope", type: "string", required: false, desc: "Exact knowledge base scope: personal | company (omit for personal \u2192 company fallback)" },
@@ -1457,8 +1458,23 @@ var status = {
1457
1458
  var API_PATH11 = "/agent/api/external/knowledge-bases/index";
1458
1459
  function buildBody7(ctx) {
1459
1460
  const body4 = {};
1461
+ const name = ctx.str("name").trim();
1462
+ const scope = ctx.str("scope").trim();
1460
1463
  const sources = ctx.json("sources");
1461
- if (sources) body4.sources = sources;
1464
+ if (ctx.has?.("name") || ctx.has?.("scope") || name || scope) {
1465
+ if (ctx.has?.("sources") || sources !== void 0) {
1466
+ throw new CliValidationError("Use either --name with --scope or --sources.");
1467
+ }
1468
+ if (!name || name.length > 200) {
1469
+ throw new CliValidationError("--name must be a knowledge base name of 1 to 200 characters.");
1470
+ }
1471
+ if (scope !== "personal" && scope !== "company" && scope !== "system") {
1472
+ throw new CliValidationError("--name requires --scope personal, company, or system.");
1473
+ }
1474
+ body4.sources = [{ scope, name }];
1475
+ } else if (sources) {
1476
+ body4.sources = sources;
1477
+ }
1462
1478
  const locale = ctx.str("locale");
1463
1479
  if (locale) body4.locale = locale;
1464
1480
  return body4;
@@ -1469,15 +1485,20 @@ var kbIndex = {
1469
1485
  description: "List accessible knowledge bases and their index.md navigation maps via POST /agent/api/external/knowledge-bases/index. Call this first to see the layout, then use +grep to locate and +read to open pages.",
1470
1486
  flags: [
1471
1487
  { name: "read-context", type: "string", required: false, desc: "Pin reads to an existing read context" },
1488
+ { name: "name", type: "string", required: false, desc: "Exact knowledge base name. Requires --scope and cannot be combined with --sources." },
1489
+ { name: "scope", type: "string", required: false, desc: "Scope of --name: personal | company | system." },
1472
1490
  {
1473
1491
  name: "sources",
1474
1492
  type: "json",
1475
1493
  required: false,
1476
- desc: 'Optional JSON array of knowledge base refs to scope the index, e.g. [{"scope":"company","name":"engineering-handbook"}]. Omit to list all accessible knowledge bases.'
1494
+ desc: 'Optional JSON array of knowledge base refs, e.g. [{"scope":"company","name":"engineering-handbook"}]. Omit both filters to list all accessible knowledge bases.'
1477
1495
  },
1478
1496
  { name: "locale", type: "string", required: false, desc: "Optional locale: zh | en | ja | ko" }
1479
1497
  ],
1480
1498
  risk: "read",
1499
+ validate: (ctx) => {
1500
+ buildBody7(ctx);
1501
+ },
1481
1502
  dryRun: (ctx) => ({
1482
1503
  method: "POST",
1483
1504
  url: `${ctx.host().replace(/\/$/, "")}${API_PATH11}`,
@@ -1,8 +1,4 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
- import {
3
- require_archiver
4
- } from "./chunk-GD5JSAGV.js";
5
- import "./chunk-NPH5J65M.js";
6
2
  import {
7
3
  TeAgentApiError,
8
4
  deleteFromMainApp,
@@ -12,8 +8,13 @@ import {
12
8
  postToMainApp,
13
9
  putToMainApp,
14
10
  uploadToMainApp
15
- } from "./chunk-KE5WGBXS.js";
16
- import "./chunk-UWQXGF44.js";
11
+ } from "./chunk-3DTMWDJX.js";
12
+ import {
13
+ require_archiver
14
+ } from "./chunk-GD5JSAGV.js";
15
+ import "./chunk-NPH5J65M.js";
16
+ import "./chunk-FKTVD63C.js";
17
+ import "./chunk-FEYZBUFQ.js";
17
18
  import {
18
19
  isAeSandboxRuntime,
19
20
  readSandboxCliTokenEntry,
@@ -2,17 +2,18 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  getAuthHeaders,
4
4
  kbApi
5
- } from "./chunk-DZRQGI2Z.js";
5
+ } from "./chunk-ZPAOEDK7.js";
6
6
  import {
7
7
  detectCliLocale
8
8
  } from "./chunk-N2MAYIRU.js";
9
9
  import {
10
10
  printError,
11
11
  printOutput
12
- } from "./chunk-N2QILIGH.js";
13
- import "./chunk-GTENC5CO.js";
14
- import "./chunk-WG27BD67.js";
15
- import "./chunk-UWQXGF44.js";
12
+ } from "./chunk-4MOCV6HU.js";
13
+ import "./chunk-IAZ4AMVY.js";
14
+ import "./chunk-7KBENPQF.js";
15
+ import "./chunk-FKTVD63C.js";
16
+ import "./chunk-FEYZBUFQ.js";
16
17
  import "./chunk-IGU3R2JD.js";
17
18
  import {
18
19
  externalCliTokenRequestOptions,
@@ -1,15 +1,16 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  resolveMemoryApiBaseUrl
4
- } from "./chunk-DTODOQ6T.js";
5
- import "./chunk-UK7HQ4IL.js";
6
- import "./chunk-KE5WGBXS.js";
4
+ } from "./chunk-3U75VLCP.js";
5
+ import "./chunk-CBNE2S44.js";
6
+ import "./chunk-3DTMWDJX.js";
7
7
  import {
8
8
  CapabilityGatewayError,
9
9
  buildCapabilityGatewayUrl,
10
10
  callCapabilityApi
11
- } from "./chunk-WG27BD67.js";
12
- import "./chunk-UWQXGF44.js";
11
+ } from "./chunk-7KBENPQF.js";
12
+ import "./chunk-FKTVD63C.js";
13
+ import "./chunk-FEYZBUFQ.js";
13
14
  import "./chunk-IGU3R2JD.js";
14
15
  import "./chunk-MTK4ZE7W.js";
15
16
  import {
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  printError,
4
4
  printOutput
5
- } from "./chunk-N2QILIGH.js";
5
+ } from "./chunk-4MOCV6HU.js";
6
6
  import {
7
7
  buildVersionInstallPlan,
8
8
  exactVersion,
@@ -14,13 +14,14 @@ import {
14
14
  missingAeHostHint,
15
15
  recordVersionSyncResult,
16
16
  rememberBusinessConfig
17
- } from "./chunk-GTENC5CO.js";
17
+ } from "./chunk-IAZ4AMVY.js";
18
18
  import {
19
19
  getLocalCliPackageInfo
20
- } from "./chunk-WG27BD67.js";
20
+ } from "./chunk-7KBENPQF.js";
21
21
  import {
22
22
  peekCliToken
23
- } from "./chunk-UWQXGF44.js";
23
+ } from "./chunk-FKTVD63C.js";
24
+ import "./chunk-FEYZBUFQ.js";
24
25
  import {
25
26
  getActiveHost
26
27
  } from "./chunk-IGU3R2JD.js";
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  fetchSigned
4
- } from "./chunk-KE5WGBXS.js";
4
+ } from "./chunk-3DTMWDJX.js";
5
5
  import {
6
6
  assembleSyncJsonBody,
7
7
  localDataUpload,
@@ -13,7 +13,7 @@ import {
13
13
  openBrowser,
14
14
  pollDeviceToken,
15
15
  resolveDeviceSessionRoute
16
- } from "./chunk-2H3SFJE3.js";
16
+ } from "./chunk-FKVG7LOP.js";
17
17
  import {
18
18
  CHECKOUT_RECOVERY,
19
19
  DEMO_CONTEXT,
@@ -58,21 +58,23 @@ import {
58
58
  websiteEnvironment,
59
59
  websiteOrigin,
60
60
  writeProgress
61
- } from "./chunk-GTENC5CO.js";
61
+ } from "./chunk-IAZ4AMVY.js";
62
62
  import {
63
63
  CapabilityGatewayError,
64
64
  executeCapability,
65
65
  getLocalCliPackageInfo
66
- } from "./chunk-WG27BD67.js";
66
+ } from "./chunk-7KBENPQF.js";
67
67
  import {
68
- SecureStoreAuthError,
69
- assertCredentialsReadable,
70
- getActiveCredential,
71
68
  getCliToken,
72
- loadCliToken,
73
69
  peekCliToken,
74
70
  validateCliTokenOnServer
75
- } from "./chunk-UWQXGF44.js";
71
+ } from "./chunk-FKTVD63C.js";
72
+ import {
73
+ SecureStoreAuthError,
74
+ assertCredentialsReadable,
75
+ getActiveCredential,
76
+ loadCliToken
77
+ } from "./chunk-FEYZBUFQ.js";
76
78
  import {
77
79
  getActiveHost,
78
80
  getConfigDir,
@@ -1425,7 +1427,7 @@ var defaults = {
1425
1427
  authorize: authorizeLoginDevice,
1426
1428
  poll: (issuer, code, signal) => pollDeviceToken(issuer, code, code.startsWith("uba_") ? "uba" : "legacy", signal),
1427
1429
  async persist(host, tokens, signal) {
1428
- const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-SDK5OAGP.js");
1430
+ const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-RDSS2LUT.js");
1429
1431
  await persistDeviceTokens(host, tokens, { signal, checkCompatibility: false });
1430
1432
  activateHostAfterLogin(host, host);
1431
1433
  },
@@ -13,13 +13,14 @@ import {
13
13
  workspaceResourcePath,
14
14
  workspaceTargetFlags,
15
15
  workspaceTargetPath
16
- } from "./chunk-2RORKIF6.js";
16
+ } from "./chunk-NJGB4YOH.js";
17
17
  import "./chunk-RK6GLDGI.js";
18
18
  import {
19
19
  getAgentBuffer
20
- } from "./chunk-UK7HQ4IL.js";
21
- import "./chunk-KE5WGBXS.js";
22
- import "./chunk-UWQXGF44.js";
20
+ } from "./chunk-CBNE2S44.js";
21
+ import "./chunk-3DTMWDJX.js";
22
+ import "./chunk-FKTVD63C.js";
23
+ import "./chunk-FEYZBUFQ.js";
23
24
  import "./chunk-IGU3R2JD.js";
24
25
  import "./chunk-MTK4ZE7W.js";
25
26
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkingai/ae-cli",
3
- "version": "6.1.42",
3
+ "version": "6.1.44",
4
4
  "description": "CLI tool for ThinkingAI (AE) analytics platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,7 +26,7 @@
26
26
  "verify:skill-collaboration": "node --test test/skill-collaboration.test.mjs",
27
27
  "verify:skill-collaboration-install": "node test/skill-collaboration-install.mjs",
28
28
  "verify:config": "node test/config-commands.test.mjs",
29
- "verify:dataops-flow-params": "tsx --test tests/dataops-flow-params-contract.test.ts tests/dataops-flow-overview-contract.test.ts && tsx tests/dataops-integration.test.ts && tsx tests/dataops-flow-task-contract.test.ts && tsx tests/dataops-backfill-contract.test.ts && tsx tests/runner-variadic-flags.test.ts",
29
+ "verify:dataops-flow-params": "tsx --test tests/dataops-flow-params-contract.test.ts tests/dataops-flow-overview-contract.test.ts && tsx tests/dataops-integration.test.ts && tsx tests/dataops-flow-task-contract.test.ts && tsx tests/dataops-python-task-contract.test.ts && tsx tests/dataops-backfill-contract.test.ts && tsx tests/runner-variadic-flags.test.ts",
30
30
  "verify:dataops-entity-lifecycle": "tsx --test tests/dataops-entity-lifecycle.test.ts tests/dataops-lifecycle-command-surface.test.ts && tsx tests/dataops-table-field-mutation.test.ts && tsx tests/dataops-integration.test.ts && node test/release-gate-skill-risk-examples.test.mjs",
31
31
  "verify:json-utils": "npx tsx tests/json-utils.test.ts",
32
32
  "verify:jq-output": "npx tsx test/jq-output.test.mjs",
@@ -35,7 +35,8 @@
35
35
  "verify:analysis-skill": "tsx scripts/generate-analysis-skill-index.mts --check",
36
36
  "verify:analysis-four-modules": "tsx tests/dashboard-filter-transport.test.ts && tsx tests/analysis-report-capability-command.test.ts && npm run verify:analysis-presentation && tsx tests/analysis-export-flow-command.test.ts && tsx tests/analysis-dashboard-audience-contract.test.ts",
37
37
  "verify:analysis-contract-regressions": "tsx test/analysis-contract-regressions.test.mjs && tsx tests/analysis-sql-special-identifiers.test.ts",
38
- "verify:personal-semantic": "tsx tests/personal-semantic-preference-command.test.ts && tsx tests/personal-semantic-global-command.test.ts",
38
+ "verify:personal-semantic": "tsx tests/personal-semantic-preference-command.test.ts && tsx tests/personal-semantic-global-command.test.ts && tsx tests/business-semantic-command.test.ts && tsx tests/business-semantic-background-limit.test.ts && node --test tests/business-semantic-catalog.test.mjs",
39
+ "verify:analysis-context": "node --import tsx --test tests/analysis-context-prepare.test.ts",
39
40
  "verify:analysis-agent-contract": "tsx tests/analysis-agent-skill-contract.test.ts",
40
41
  "verify:analysis-presentation": "tsx --test tests/analysis-report-presentation.test.ts",
41
42
  "verify:analysis-system": "tsx tests/analysis-system-capability-command.test.ts",
@@ -51,7 +52,7 @@
51
52
  "verify:retired-analysis-commands": "node --test test/retired-analysis-commands.test.mjs",
52
53
  "verify:retired-api-command": "node --test test/retired-api-command.test.mjs",
53
54
  "verify:analysis-common-tools": "node scripts/verify-te-common-tools.mjs",
54
- "verify:experiment-tools": "node scripts/verify-te-experiment-tools.mjs && node --import tsx test/experiment/experiment-capability-command.test.mjs && node --import tsx --test test/experiment/experiment-approval-command.test.mjs && node --import tsx test/experiment/traffic-domain-command.test.mjs",
55
+ "verify:experiment-tools": "node scripts/verify-te-experiment-tools.mjs && node --import tsx test/experiment/experiment-capability-command.test.mjs && node --import tsx --test test/experiment/experiment-approval-command.test.mjs && node --import tsx test/experiment/traffic-domain-command.test.mjs && node --import tsx test/experiment/feature-fixed-value-command.test.mjs",
55
56
  "verify:team-tools": "node scripts/verify-te-team-tools.mjs && node --import tsx --test tests/team-run-watch.test.ts test/team-run-start-command.test.mjs test/team-scope-command.test.mjs",
56
57
  "verify:evaluation-tools": "node scripts/verify-evaluation-tools.mjs && node --import tsx tests/evaluation-client.test.ts && node --import tsx tests/evaluation-sandbox-session.test.ts && node --import tsx tests/evaluation-security.test.ts && node --import tsx tests/evaluation-command-contract.test.ts && node --import tsx --test tests/evaluation-onboarding.test.ts",
57
58
  "verify:a2a": "node --import tsx --test tests/a2a-client.test.ts",
@@ -82,6 +83,7 @@
82
83
  "verify:version-sync": "npx tsx tests/version-sync.test.ts && node --import tsx --test tests/compat-check-autosync.test.ts tests/resume-command.test.ts",
83
84
  "verify:auth-credentials": "npx tsx tests/secure-store.test.ts && npx tsx tests/secure-store-environment.test.ts && npx tsx tests/cli-token-validation.test.ts && npx tsx tests/auth-multi-account.test.ts && npx tsx tests/mcp-no-disk.test.ts && npx tsx tests/external-cli-token.test.ts && node --import tsx --test tests/secure-store-windows-lock.test.ts",
84
85
  "verify:readme": "node --test test/readme-command-surface.test.mjs",
86
+ "verify:heari": "node --test test/heari-integration.test.mjs && node --import tsx --test tests/heari-cli-login.test.ts",
85
87
  "verify:dependency-hygiene": "node --test test/dependency-hygiene.test.mjs",
86
88
  "qa-changed": "node scripts/qa-changed.mjs",
87
89
  "self-check": "node self-check/scan.mjs",
@@ -91,7 +93,7 @@
91
93
  "check:agents-docs": "node scripts/check-agents-docs-sync.mjs",
92
94
  "prepublishOnly": "npm run check:release && npm run build",
93
95
  "start": "node dist/index.js",
94
- "test": "npx tsx src/index.ts --help && npm run verify:retired-api-command && npm run verify:sandbox-tools && npm run verify:dependency-hygiene && npm run verify:readme && npm run verify:cli-agent-model-context && npm run verify:analysis-feedback && npm run verify:analysis-scenario",
96
+ "test": "npx tsx src/index.ts --help && npm run verify:heari && npm run verify:retired-api-command && npm run verify:sandbox-tools && npm run verify:dependency-hygiene && npm run verify:readme && npm run verify:cli-agent-model-context && npm run verify:analysis-feedback && npm run verify:analysis-scenario",
95
97
  "verify:kb-versions": "tsx test/kb-version-management-command.test.mjs",
96
98
  "verify:automation": "tsx tests/automation-command.test.ts",
97
99
  "verify:project-kb-schema": "tsx --test test/kb-schema-import-command.test.mjs && node --test test/project-semantic-compile-schema.test.mjs test/project-semantic-empty-skeleton.test.mjs test/project-semantic-execution-contract.test.mjs test/project-semantic-fidelity.test.mjs && node test/project-semantic-knowledge-wiki-reference.test.mjs",