Skip to content

chore: sync upstream main through be55e99cb - #2

Merged
huseonglee-spec merged 4 commits into
mainfrom
sync/upstream-main-20260804
Aug 4, 2026
Merged

huseonglee-spec merged 4 commits into
mainfrom
sync/upstream-main-20260804

Conversation

@huseonglee-spec

Copy link
Copy Markdown
Owner

Summary

Verification

  • upstream head and voice-fix commit are both ancestors of the merge candidate
  • 272 focused Python tests passed
  • git diff --check passed

OutThisLife and others added 4 commits August 4, 2026 11:26
Hitting ⌘1 (or cycling ⌃Tab onto the main tab) while Capabilities /
Messaging / Artifacts covered the workspace looked dead: the workspace
pane was already the zone's active tab behind the page, so fronting it
changed nothing on screen.

activateTreeTabSlot / cycleTreeTabInFocusedZone now return the activated
pane id, and the keybind handlers route back to the loaded session (or
the new-chat draft) when the landing pane is the workspace under a full
page — the same rule openSession already applies.
…earch#22622)

* fix(credential-pool): clear exhaustion state on key rotation

When a user rotates an API key (e.g. via `hermes setup` after hitting a
rate limit), _upsert_entry updates the access_token on the existing pool
entry but preserves the stale last_status=exhausted from the old key.
On the next session the pool finds the entry, sees it exhausted, and
returns no usable credentials — even though the new key is valid.

Fix: when access_token changes on an existing entry, reset last_status,
last_error_code, last_error_reason, last_error_message, and
last_error_reset_at. The exhaustion state belongs to the old key, not
the new one.

* chore: add pasevin@gmail.com to AUTHOR_MAP

* fix: clear last_status_at on key rotation, remove unused pytest import

Address review feedback from teknium1 on PR NousResearch#22622:
- Add last_status_at=None to the reset block (matches all other
  token-sync reset paths in credential_pool.py)
- Assert last_status_at is None in the regression test
- Remove unused pytest import flagged by ruff + ty
…eave-pages

⌘1 / ⌃Tab return to the chat from a full-page view
@huseonglee-spec
huseonglee-spec merged commit 6eed584 into main Aug 4, 2026
@huseonglee-spec
huseonglee-spec deleted the sync/upstream-main-20260804 branch August 4, 2026 17:47
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.

4 participants