@rallycry/conveyor-agent 10.13.1 → 10.13.3

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.
@@ -1920,7 +1920,7 @@ var DEFAULT_RISK_LEVELS = [
1920
1920
  {
1921
1921
  level: "high",
1922
1922
  value: 3,
1923
- label: "High",
1923
+ label: "Elevated",
1924
1924
  description: "Touches important surface area; review carefully.",
1925
1925
  color: "#ea580c",
1926
1926
  ordinal: 1
@@ -1928,7 +1928,7 @@ var DEFAULT_RISK_LEVELS = [
1928
1928
  {
1929
1929
  level: "medium",
1930
1930
  value: 2,
1931
- label: "Medium",
1931
+ label: "Moderate",
1932
1932
  description: "Moderate surface area; normal review.",
1933
1933
  color: "#d97706",
1934
1934
  ordinal: 2
@@ -1936,13 +1936,15 @@ var DEFAULT_RISK_LEVELS = [
1936
1936
  {
1937
1937
  level: "low",
1938
1938
  value: 1,
1939
- label: "Low",
1939
+ label: "Minimal",
1940
1940
  description: "Small or isolated surface area.",
1941
1941
  color: "#64748b",
1942
1942
  ordinal: 3
1943
1943
  }
1944
1944
  ];
1945
- var LEVEL_BY_VALUE = new Map(DEFAULT_RISK_LEVELS.map((m) => [m.value, m.level]));
1945
+ var LEVEL_BY_VALUE = new Map(
1946
+ DEFAULT_RISK_LEVELS.map((m) => [m.value, m.level])
1947
+ );
1946
1948
  var ACTIVE_WORK_STATUSES = [
1947
1949
  "InProgress",
1948
1950
  "ReviewPR",
@@ -3757,9 +3759,9 @@ function stringField2(record, ...keys) {
3757
3759
  function truncate(text, max) {
3758
3760
  return text.length > max ? `${text.slice(0, max)}\u2026` : text;
3759
3761
  }
3760
- function isCommandWrapperText(text) {
3762
+ function isNonConversationText(text) {
3761
3763
  const trimmed = text.trimStart();
3762
- return trimmed.startsWith("<command-name>") || trimmed.startsWith("<local-command-");
3764
+ return trimmed.startsWith("<command-name>") || trimmed.startsWith("<local-command-") || trimmed.startsWith("<task-notification>");
3763
3765
  }
3764
3766
  function mapSystem2(record) {
3765
3767
  if (record.subtype === "init") {
@@ -3841,7 +3843,7 @@ function mapUser(record) {
3841
3843
  return [];
3842
3844
  }
3843
3845
  const trimmed = text.trim();
3844
- if (trimmed.length === 0 || isCommandWrapperText(trimmed)) return [];
3846
+ if (trimmed.length === 0 || isNonConversationText(trimmed)) return [];
3845
3847
  return [{ kind: "user_text", text: truncate(trimmed, TEXT_MAX) }];
3846
3848
  }
3847
3849
  function mapChatRecords(raw) {
@@ -12061,4 +12063,4 @@ export {
12061
12063
  runStartCommand,
12062
12064
  unshallowRepo
12063
12065
  };
12064
- //# sourceMappingURL=chunk-NMZNCP66.js.map
12066
+ //# sourceMappingURL=chunk-P4VWWR5O.js.map