sisyphi 1.2.21 → 1.2.22

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.
package/dist/cli.js CHANGED
@@ -6760,9 +6760,9 @@ function showAskTriagePopup(opts) {
6760
6760
  "",
6761
6761
  ...titleLines.map((l) => ` ${l}`),
6762
6762
  "",
6763
- " [1] Dismiss",
6764
- " [2] Open in dashboard",
6765
- " [3] Open in agent",
6763
+ " [a] Answer in agent",
6764
+ " [d] Answer in dashboard",
6765
+ " [x] Dismiss",
6766
6766
  "",
6767
6767
  ` (auto-dismiss in ${POPUP_TIMEOUT}s)`,
6768
6768
  ""
@@ -6778,9 +6778,9 @@ cat <<'__SISYPHUS_ASK_EOF__'
6778
6778
  ${content}__SISYPHUS_ASK_EOF__
6779
6779
  while IFS= read -r -n1 -t ${POPUP_TIMEOUT} k; do
6780
6780
  case "$k" in
6781
- 1|d|D|q|Q|'') printf 'dismiss' > "$RESULT_FILE"; break ;;
6782
- 2|b|B) printf 'dashboard' > "$RESULT_FILE"; break ;;
6783
- 3|a|A) printf 'agent' > "$RESULT_FILE"; break ;;
6781
+ a|A) printf 'agent' > "$RESULT_FILE"; break ;;
6782
+ d|D) printf 'dashboard' > "$RESULT_FILE"; break ;;
6783
+ x|X|q|Q|'') printf 'dismiss' > "$RESULT_FILE"; break ;;
6784
6784
  esac
6785
6785
  done
6786
6786
  if [ ! -f "$RESULT_FILE" ]; then printf 'dismiss' > "$RESULT_FILE"; fi