Skip to content

v1.2.0

Choose a tag to compare

@clcollins clcollins released this 07 Jun 21:50
· 160 commits to main since this release
f2920e3

Config Wizard Integration

The srepd config command now runs inside the srepd TUI as an inline mode, replacing the previous standalone form. The wizard uses srepd's styles, header, and help system.

New Features

  • Inline config wizard — srepd config opens the wizard inside the TUI, no separate program or terminal flash
  • Auto-detect missing config — running srepd with no config file automatically enters the wizard
  • Token validation — PD API token is validated before advancing to team selection
  • Human-readable names — team names, escalation policy names shown alongside IDs in prompts and summary
  • Old format migration — service_escalation_policies automatically migrated to new default_silent_escalation_policy + custom_service_escalation_policies keys, old block commented out
  • Complete config files — new configs include all required keys plus defaults for optional settings
  • Contextual help — each prompt includes guidance on where to find the required data in PagerDuty

Config Format

  • New keys: default_silent_escalation_policy, custom_service_escalation_policies
  • Old key service_escalation_policies is deprecated and auto-commented on migration
  • Config file written with defaults for editor, terminal, cluster_login_command, toolbox_mode, chord_prefix

Pure Config Functions

  • Config resolution, change detection, and file writing extracted to pkg/config/ package with full test coverage