chore: merge 11 unmerged main commits (oauth+gateway+routing/model fixes)#60
chore: merge 11 unmerged main commits (oauth+gateway+routing/model fixes)#60drpedapati merged 13 commits intomainfrom
Conversation
12+ tabs overflow on constrained screens. Split evenly into two rows: primary workflow tabs on top, admin/config tabs below. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Deploying sciclaw with
|
| Latest commit: |
f3ceca0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://56b4e15c.sciclaw.pages.dev |
| Branch Preview URL: | https://chore-main-rollup-20260223.sciclaw.pages.dev |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 84b7010f9c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| workspace := expandHomeForExecPath(val, m.exec.HomePath()) | ||
| m.mode = routingNormal | ||
| m.editWorkspaceInput.Blur() | ||
| return m, routingAddMappingCmd(m.exec, row.Channel, row.ChatID, workspace, row.AllowedSenders, row.Label) |
There was a problem hiding this comment.
Preserve empty labels when updating routing workspace
This edit path forwards row.Label directly back into routing add, but rows parsed from routing list can carry the placeholder "-" for unlabeled mappings; saving from this screen then persists - as a real label instead of keeping the label empty. This silently mutates previously unlabeled mappings after a folder-only edit and leaks the sentinel into later routing output/diagnostics.
Useful? React with 👍 / 👎.
| home, _ := os.UserHomeDir() | ||
| extras := []string{ | ||
| filepath.Join(home, ".local", "bin"), |
There was a problem hiding this comment.
Skip relative .local/bin when home directory is unavailable
mergedExecPATH adds filepath.Join(home, ".local", "bin") even when os.UserHomeDir() fails, which makes that entry resolve to a relative .local/bin. In environments without a resolvable home (common for non-interactive/service contexts), subprocesses can unexpectedly resolve executables from the current working directory tree.
Useful? React with 👍 / 👎.
This PR rolls current local main into protected origin/main via reviewable PR.\n\nIncludes 11 commits currently ahead of origin/main:\n- fix(exec): normalize PATH so brew tools resolve in all run modes\n- fix(routing): restore persona/skills context and launchd tool path\n- fix(service): normalize launchd kickstart failures and doctor log checks\n- fix(models): include configured secondary provider catalogs in discover\n- fix(tui): prefer current binary path for local subprocess commands\n- feat(models): add discover endpoint-backed catalog and TUI model picker\n- tui: refresh routing after actions and add folder edit/detach UX\n- feat(tui): add richer gateway action feedback and momentum\n- fix(tui): improve gateway status parsing and action feedback\n- fix(tui): expand tilde workspace paths in routing browser\n- fix(tui): split tab bar into two rows for narrow terminals\n\nNotes:\n- Stale duplicate routing PRs #39 and #40 were closed as superseded by #41 lineage.\n- No history rewrite; branch is a direct rollup from local main HEAD.