chore: update packages and enhance backup services

Merged
SH
10mo ago
+202-141

Summary

Update package dependencies and improve backup service configurations with better path handling and error checking.

Changes

  • Added bash interpreter to backup and recovery scripts for improved execution
  • Refactored backup and recovery scripts with improved path handling and error checking
  • Added check for OBJECTSTORE_ENDPOINT before syncing to R2
  • Added CCS auth directory sync to backup process
  • Enhanced cliproxyapi backup service with file watching and environment variables
  • Updated Homebrew packages list (added pulumi)

Related Issues

Part of ongoing maintenance and improvements to backup authentication and package management.


Summary by cubic

Improves cliproxyapi backup reliability with real-time file watching, safer path handling, and guarded R2 sync. Also refreshes dev tooling by expanding Nix packages and adding Pulumi via Homebrew.

  • New Features

    • Added WatchPaths to run backups immediately on auth file changes.
    • Pulls from R2 (main and backup) into local cache before syncing.
    • Syncs CCS auth directory and dotfiles both ways to keep tokens consistent.
    • Uses replaceVars to bake tool paths and a bash interpreter; sets PATH in the agent.
    • Skips R2 sync when OBJECTSTORE_ENDPOINT is unset; removed recover-auth in favor of pull-first.
  • Dependencies

    • Added Pulumi to Homebrew.
    • Expanded Nix package list with common CLI tools.