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: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.26.1
Choose a base ref
...
head repository: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.26.2
Choose a head ref
  • 2 commits
  • 12 files changed
  • 3 contributors

Commits on Nov 19, 2026

  1. perf: log in to NPM and query it in one SSH round trip (#162)

    getNpmToken made its own execSSH call to fetch a token, then each NPM
    tool made a second call with it; certList made three. Every execSSH
    opens a new ssh2 connection, so the handshake dominated these calls.
    
    npmGet() in service-http.ts runs one remote script that logs in, pulls
    the token out of the response, and GETs the API path with it. curl
    exit codes (7, 22, 28) still reach curlErrorResponse; a login response
    without a token exits 65 with a message naming HOMELAB_NPM_EMAIL and
    HOMELAB_NPM_PASSWORD. The login payload is now shell-quoted, so a
    password containing a quote is passed intact. npmProxyHosts and
    npmCerts use one round trip, certList two; getNpmToken is removed.
    
    Tests run the generated script in sh with a stubbed curl (token reuse,
    quoted password, missing token) and pin the call counts.
    
    Fixes #162
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    4d82568 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4dd5bc View commit details
    Browse the repository at this point in the history
Loading