@integrity-labs/agt-cli 0.28.158 → 0.28.159

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.
@@ -5999,6 +5999,68 @@ var PERIOD_WINDOW_MS = {
5999
5999
  "30d": 30 * 24 * 60 * 60 * 1e3
6000
6000
  };
6001
6001
 
6002
+ // ../../packages/core/dist/conversations/eval-failure-categories.js
6003
+ var CONVERSATION_FAILURE_CATEGORIES = [
6004
+ "unresolved",
6005
+ "incorrect",
6006
+ "missing_integration",
6007
+ "missing_skill",
6008
+ "lacking_permission",
6009
+ "out_of_scope",
6010
+ "user_abandoned",
6011
+ "agent_unresponsive",
6012
+ "other"
6013
+ ];
6014
+ var CONVERSATION_FAILURE_CATEGORY_INFO = {
6015
+ unresolved: {
6016
+ label: "Unresolved",
6017
+ description: "Could not resolve the user's request."
6018
+ },
6019
+ incorrect: {
6020
+ label: "Incorrect answer",
6021
+ description: "Gave a wrong or misleading answer."
6022
+ },
6023
+ missing_integration: {
6024
+ label: "Missing integration",
6025
+ description: "Lacked a connected integration or external service needed to help."
6026
+ },
6027
+ missing_skill: {
6028
+ label: "Missing skill",
6029
+ description: "Lacked a skill or ability needed to perform the task."
6030
+ },
6031
+ lacking_permission: {
6032
+ label: "Lacking permission",
6033
+ description: "Lacked permission or authorization to perform the action."
6034
+ },
6035
+ out_of_scope: {
6036
+ label: "Out of scope",
6037
+ description: "Request was outside the agent's remit."
6038
+ },
6039
+ user_abandoned: {
6040
+ label: "User abandoned",
6041
+ description: "User dropped off before resolution."
6042
+ },
6043
+ agent_unresponsive: {
6044
+ label: "Agent unresponsive",
6045
+ description: "Agent stopped responding or never replied to the user."
6046
+ },
6047
+ other: {
6048
+ label: "Other",
6049
+ description: "Failed for a reason outside the set above."
6050
+ }
6051
+ };
6052
+ function buildFailureCategoryPromptLines() {
6053
+ return CONVERSATION_FAILURE_CATEGORIES.map((c) => `"${c}" (${CONVERSATION_FAILURE_CATEGORY_INFO[c].description})`).join(", ");
6054
+ }
6055
+ function isConversationFailureCategory(v) {
6056
+ return typeof v === "string" && CONVERSATION_FAILURE_CATEGORIES.includes(v);
6057
+ }
6058
+ var PERIOD_WINDOW_MS2 = {
6059
+ "24h": 24 * 60 * 60 * 1e3,
6060
+ "7d": 7 * 24 * 60 * 60 * 1e3,
6061
+ "30d": 30 * 24 * 60 * 60 * 1e3
6062
+ };
6063
+
6002
6064
  // ../../packages/core/dist/ratings/kanban-ratings.js
6003
6065
  var RATING_MA_WINDOW_MS = 28 * 24 * 60 * 60 * 1e3;
6004
6066
  var PERIOD_CONFIG3 = {
@@ -6379,6 +6441,9 @@ export {
6379
6441
  isEmptyTotals,
6380
6442
  attributeTranscriptUsageByRun,
6381
6443
  KANBAN_CHECK_COMMAND,
6444
+ CONVERSATION_FAILURE_CATEGORIES,
6445
+ buildFailureCategoryPromptLines,
6446
+ isConversationFailureCategory,
6382
6447
  FLAG_REGISTRY,
6383
6448
  getFlagDefinition,
6384
6449
  listFlagDefinitions,
@@ -6390,4 +6455,4 @@ export {
6390
6455
  parseEnvIntegrations,
6391
6456
  probeMcpEnvSubstitution
6392
6457
  };
6393
- //# sourceMappingURL=chunk-TLX6ORJ5.js.map
6458
+ //# sourceMappingURL=chunk-SAAK2IP4.js.map