Skip to content

fix: correctly extract project names containing hyphens#222

Merged
kianwoon merged 4 commits intomainfrom
fix/project-name-hyphens
Apr 9, 2026
Merged

fix: correctly extract project names containing hyphens#222
kianwoon merged 4 commits intomainfrom
fix/project-name-hyphens

Conversation

@kianwoon
Copy link
Copy Markdown
Owner

@kianwoon kianwoon commented Apr 9, 2026

Summary

  • Replace naive split("-").pop() with right-to-left filesystem-aware splitting
  • Correctly preserves hyphens in real folder names (e.g. Mousecape-swiftUIMousecape-swiftUI instead of swiftUI)

Test plan

  • Verify GUI shows Mousecape-swiftUI for sessions from that project
  • Verify non-hyphenated projects still display correctly (e.g. modelweaver)

kianwoon added 4 commits April 9, 2026 12:00
Use KeepAlive with PathState in launchd plist so launchd only
restarts the daemon when the entry script actually exists.

Closes #216
Add provider attribution to 'Request completed' log entries and a
x-modelweaver-provider response header so clients and logs can
identify which provider served the request, including fallbacks.

Closes #218
Replace naive split("-").pop() with right-to-left filesystem-aware
splitting that preserves hyphens in real folder names like
Mousecape-swiftUI.
@kianwoon kianwoon merged commit f113b2e into main Apr 9, 2026
3 checks passed
@kianwoon kianwoon deleted the fix/project-name-hyphens branch April 9, 2026 04:57
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