Skip to content

KKTerm v0.1.36

Choose a tag to compare

@ryantsai ryantsai released this 24 May 15:20
· 2627 commits to main since this release

Highlights

  • Smarter Codex usage fallback for AI coding guidance: when the preferred refresh path doesn’t work, KKTerm can pull /wham/usage data from your local Codex auth (where available).
  • Prevents “missing window” surprises on Windows: if the main window is restored off-screen, KKTerm relocates it so you can get back to your Tabs and Panes without the hunt.

New

  • Added a Codex /wham/usage fallback path for AI coding usage normalization (uses ~/.codex/auth.json or CODEX_HOME/auth.json, with HTTPS/local-only filtering where applicable).
    • Preserves the full /wham/usage payload as raw provider JSON when this fallback path is used (so quota/limit details remain available for future explicit UI expansion).

Improved

  • Improved Windows window restore behavior: KKTerm now detects when the main window rect doesn’t overlap the Windows virtual desktop and moves/resizes the window to 0,0 at 1440x940.
    • Runs during startup restore, tray restore, and second-instance focus.

Fixed

  • Removed the SSH/local Terminal Codex/Claude Code detection path entirely (and its UI/badge wiring), including:

    • Deleted agentDetection.ts and its associated detection test wiring
    • Removed terminal agent badge CSS/locale key and updated the terminal manual to stop documenting the badge
    • Added a guard test (no-terminal-agent-detection.test.mjs) to prevent the detection file/wiring from creeping back in
  • Installer smoke test cleanup: during normal cleanup it now removes HKCU\Software\Ryan Tsai\KKTerm in scripts/smoke-installer.ps1, while skipping this deletion when -KeepInstall is used—matching the existing “keep cleanup artifacts” behavior. (Yes, your registry should be clean—unless you asked it not to be.)

Internal

  • None