Skip to content

Detect backends in GUI launches, add tool path overrides#1

Merged
mikkeldamsgaard merged 1 commit intomainfrom
feature/rich-output
Apr 14, 2026
Merged

Detect backends in GUI launches, add tool path overrides#1
mikkeldamsgaard merged 1 commit intomainfrom
feature/rich-output

Conversation

@mikkeldamsgaard
Copy link
Copy Markdown
Contributor

Summary

  • Augment PATH at startup so GUI-launched apps detect user-installed CLIs (macOS: login-shell probe; Linux: common per-user bin dirs; Windows: no-op)
  • New Tools section in Settings with per-tool Binary Path overrides, Browse picker, and detected-path display (selectable/copyable)
  • Gate start_session / resume_session on the selected tool being available; show actionable message in New Session when it isn't
  • Esc closes Settings and New Session dialogs
  • Fix UTF-8 char-boundary panic when a preamble contains multi-byte characters
  • Bump to 0.2.3 (tag release-0.2.3 already pushed, workflow running)

Test plan

  • Launch .app from Finder — backends now detected without terminal
  • Settings → Tools flipper expands; Browse picker works; detected path is copyable
  • Starting a session with an unavailable tool is blocked with a clear message
  • Esc closes both dialogs
  • Preamble with em-dash no longer crashes the app

🤖 Generated with Claude Code

- PATH augmentation at startup for GUI-launched apps (macOS: probe login
  shell; Linux: merge common per-user bin dirs; Windows: no-op)
- Tool Binary Paths section in Settings, collapsible, with Browse picker
  and per-tool detected path displayed (selectable/copyable)
- Gate start_session / resume_session on the selected tool being detected
  or explicitly configured; show an actionable message in New Session
- Esc key closes Settings and New Session dialogs
- Fix UTF-8 char-boundary panic in path-shortening when a preamble
  contains multi-byte characters

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mikkeldamsgaard mikkeldamsgaard merged commit ae014bb into main Apr 14, 2026
9 checks passed
@mikkeldamsgaard mikkeldamsgaard deleted the feature/rich-output branch April 14, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant