Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: klaas-sh/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.4
Choose a base ref
...
head repository: klaas-sh/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.5
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 19, 2026

  1. cli: Fire install analytics before CLI arg parsing

    Move install event tracking to run before Cli::parse() so it fires
    on any first invocation (including --version). Previously the event
    only fired when starting a full session, missing users who just
    ran 'klaas -v' to verify installation.
    
    Use track_and_wait() to ensure the HTTP request completes even if
    clap exits immediately after parsing.
    magikMaker committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    c821106 View commit details
    Browse the repository at this point in the history
  2. cli: Improve install analytics - non-blocking with retry on failure

    Refactor install tracking to be non-blocking:
    - Spawn analytics task at startup, do work, await before exit
    - Only delete .installed marker on successful 2xx response
    - Failed requests keep the marker for retry on next run
    - Handle --version flag manually to control exit path
    
    This ensures responsive CLI even on slow/no network, while still
    guaranteeing analytics completes before process termination.
    magikMaker committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    600d0e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42c426f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    258cd1d View commit details
    Browse the repository at this point in the history
Loading