Commit graph

7614 commits

Author SHA1 Message Date
Frank Song
5c3ead61a2 Restore unpinned desktop stream scroll 2026-07-31 22:24:25 +08:00
nesquena-hermes
dd7f6ac318
Merge pull request #6627 from nesquena/release/stage-6473
Release exp-v0.52.158: preserve live Worklog through final settlement (#6473)
2026-07-30 11:08:44 -07:00
nesquena-hermes
dbe58ffff5 changelog: preserve live Worklog through final settlement — no blank frame (#6473) 2026-07-30 18:06:22 +00:00
nesquena-hermes
0f010db5be
Merge pull request #6473 from franksong2702/franksong2702/live-worklog-settle-no-blank
Preserve Live Worklog through final settlement
2026-07-30 11:04:46 -07:00
Frank Song
1c385e6935 Merge remote-tracking branch 'origin/master' into franksong2702/live-worklog-settle-no-blank 2026-07-31 01:27:57 +08:00
nesquena-hermes
0a40159759
Release exp-v0.52.157: reconnect transcript ordering (#6457) (#6609)
Ships #6457 (@nankingjing) — one shared pending_user_message merge helper keeps the reconnect prompt above the live worklog (#6419). Supersedes #6465.
2026-07-29 16:05:41 -07:00
nesquena-hermes
f989c4828d changelog: reconnect transcript ordering — pending user above live worklog (#6419, #6457) 2026-07-29 22:51:18 +00:00
nankingjing
95a1647557 fix(#6419): route every recovery path through one pending_user_message merge helper
The mid-stream reconnect path could render the just-sent user message below
the live streaming assistant response it triggered, because
`refreshSession()` appended `pending_user_message` at the end of
`S.messages` unconditionally while `loadSession()` correctly inserted
it before the first live assistant message. When the client went through
its reconnect/recovery path mid-turn (typical on iOS PWA screen
lock/resume) the live assistant tail rendered above the prompt.

Centralize every recovery/reconnect reinsertion through one
identity-aware helper (`_mergePendingSessionMessage`) that:

- inserts the owning user turn before its live assistant/Worklog tail,
- appends only when no live tail exists,
- deduplicates against the current tail user row,
- remains idempotent across repeated resume probes.

`refreshSession()` now calls the same helper instead of pushing at
the end. `loadSession()` continues to use the helper unchanged.

Adds `tests/test_issue6419_pending_user_reconnect_order.py` pinning:
- the helper is defined exactly once at module top level,
- it inserts before live assistant and falls back to append,
- `refreshSession()` uses the helper and does not push unconditionally,
- `loadSession()` still merges before renderMessages in the INFLIGHT
  reattach branch.

Renames the inner end-marker in
`tests/test_gateway_sse_reconnect_dedupe.py` to a stable inside-loadSession
boundary (`// Phase 2a:`) since the helper is no longer nested.
2026-07-29 22:37:58 +00:00
nesquena-hermes
ab6f0855a5
Release exp-v0.52.156: hard-refresh session restore (#6507) (#6608)
Ships #6507 (@ruizanthony) — preserve active chat across hard refresh + fully consume PWA launch action.
2026-07-29 15:26:26 -07:00
nesquena-hermes
86d3e6a571 changelog: hard-refresh session restore + PWA launch-action consume (#6507) 2026-07-29 22:22:05 +00:00
Anthony Ruiz
127a57e0c5 fix(sessions): fully consume PWA launch action 2026-07-29 21:50:54 +00:00
Anthony Ruiz
cd04f5fcc2 fix(sessions): preserve active chat across hard refresh 2026-07-29 21:50:54 +00:00
nesquena-hermes
480de19710
Merge pull request #6605 from nesquena/changelog/stamp-v0.52.106
docs(changelog): stamp v0.52.106
2026-07-29 13:52:04 -07:00
nesquena-hermes
16dfeeb3f0 docs(changelog): stamp v0.52.106 stable section (promotion) 2026-07-29 20:50:41 +00:00
nesquena-hermes
0fa4b5f5ac
Merge pull request #6604 from nesquena/revert/stable-v0.52.113-stamp
docs(changelog): revert withdrawn v0.52.113 stable stamp
2026-07-29 13:42:01 -07:00
nesquena-hermes
bff58ffb31 Revert "Merge pull request #6599 from nesquena/changelog/stamp-v0.52.113"
This reverts commit edb69763a7, reversing
changes made to b8f615e4bd.
2026-07-29 20:40:42 +00:00
nesquena-hermes
edb69763a7
Merge pull request #6599 from nesquena/changelog/stamp-v0.52.113
docs(changelog): stamp v0.52.113
2026-07-29 13:24:02 -07:00
nesquena-hermes
15e290dff0 docs(changelog): stamp v0.52.113 stable section (promotion) 2026-07-29 20:06:57 +00:00
nesquena-hermes
b8f615e4bd
Merge pull request #6503 from rodboev/pr/6481-verification-evidence-contamination
fix(#6481): settle verification turns from exact turn ownership
2026-07-29 11:51:07 -07:00
Rod Boev
4a7b851c8c fix(#6481): materialize pending turns without borrowed display indexes 2026-07-29 18:36:24 +00:00
Rod Boev
9b0506d31d fix(#6481): keep display ownership out of context indexes 2026-07-29 18:36:24 +00:00
Rod Boev
525edef5f7 Fix silent-result ownership for repeated prompts 2026-07-29 18:36:24 +00:00
Rod Boev
66438f07bc Settle verification turns from exact turn ownership 2026-07-29 18:36:24 +00:00
Rod Boev
920b48d709 fix(#6481): preserve repeated pending turns through verification cleanup 2026-07-29 18:36:24 +00:00
Rod Boev
5e447683f8 fix(#6481): keep verification cleanup from duplicating the current turn 2026-07-29 18:36:24 +00:00
Rod Boev
ad3770fd6e fix(#6481): restore marker-only verification cleanup 2026-07-29 18:36:24 +00:00
Rod Boev
663aec682e fix(#6481): prevent verification follow-up context contamination 2026-07-29 18:36:24 +00:00
nesquena-hermes
41321f6f70
Merge pull request #6307 from pxxD1998/fix/recover-stale-file-workspaces
fix: recover deleted session workspaces
2026-07-29 11:34:12 -07:00
pxxD1998
cc6c87903a fix(session): bound delete lock wait 2026-07-29 18:22:22 +00:00
pxxD1998
e2b052a637 fix(workspace): persist recovered session bindings 2026-07-29 18:22:22 +00:00
nesquena-hermes
7e091e09dd
Merge pull request #6488 from happy5318/fix/qwen-prefixed-reasoning-heuristic
fix: Qwen reasoning heuristic fails for prefixed model IDs
2026-07-29 11:12:13 -07:00
happy5318
a57d576805 fix: make prefixed Qwen detection positive-only to avoid shadowing hybrid IDs
Gate review found that the broadened token-prefix check caused
deepseek-r1-distill-qwen2.5-bakeneko-32b to enter the Qwen branch
(qwen2 token), return False, and prevent the DeepSeek detector from
running — a silent regression.

Fix: split into two phases:
1. Positive-only scan: any token matching qwen(\d+) with major >= 3
   immediately returns True. No False path — Qwen 2.x in hybrid IDs
   falls through to subsequent detectors.
2. Terminal guard (original behavior): standalone "qwen" token or
   normalized.startswith("qwen") still applies the 3+ gate with
   return False for 2.x, since those ARE pure Qwen models.

Add regression test for deepseek-r1-distill-qwen2.5-bakeneko-32b.
2026-07-29 18:07:55 +00:00
happy5318
90250adfb7 fix: address review — remove redundant guard, add regression tests
- Drop the now-subsumed `normalized.startswith("qwen")` guard
  (token-prefix matching already covers the bare case)
- Add test_qwen_prefixed_alias_reasoning_detection covering:
  prefixed Qwen 3+ (al-/sn-), bare Qwen 3+, and Qwen 2.x exclusion
2026-07-29 18:07:55 +00:00
happy5318
041e311f1e fix: Qwen reasoning heuristic fails for prefixed model IDs
The Qwen branch in _candidate_supports_reasoning() checks
"qwen" in token_set, but model IDs like "al-qwen3.8-max-preview"
(New-API alias prefixes) normalize to tokens ["al", "qwen3", "8", ...]
where "qwen" is not a standalone token. This causes the reasoning
effort toggle to disappear for any prefixed Qwen model.

Switch to token-prefix matching (token.startswith("qwen")), consistent
with the position-independent approach already used for DeepSeek
(tokens.index). This handles arbitrary vendor/alias prefixes while
still correctly excluding Qwen 2.x via the existing version gate.
2026-07-29 18:07:55 +00:00
nesquena-hermes
4b3fdde31b
Merge pull request #6567 from stefanpieter/fix/sigusr1-stack-dump-no-restart
fix: keep SIGUSR1 stack dumps non-terminating
2026-07-29 10:53:29 -07:00
StefanPieter
8db75f8b78 fix: keep SIGUSR1 stack dumps non-terminating 2026-07-29 17:41:46 +00:00
starship-s
d00c3332e4
ci: constrain MCP SDK to compatible 1.x releases (#6564)
Assisted-by: Hermes Agent:gpt-5.6-sol
2026-07-29 10:35:23 -07:00
nesquena-hermes
21bdd7c1f1
Merge pull request #6538 from nesquena/gate-6529-title-echo
Release exp-v0.52.153: reject trivial-echo session titles (#6529)
2026-07-26 13:27:24 -07:00
nesquena-hermes
4e1a217670 changelog: reject trivial-echo session titles (#6529) 2026-07-26 20:23:01 +00:00
nesquena-hermes
b145f59312 fix(titles): reject trivial-echo new session titles (gate-rebase of #6529)
Co-authored-by: Hermes Agent <hermes@nousresearch.com>
2026-07-26 20:22:25 +00:00
nesquena-hermes
8e3bb02e0e
Merge pull request #6537 from nesquena/gate-6527-sse-relay-close
Release exp-v0.52.152: SSE relay apperror-hang fix (#6527)
2026-07-26 13:20:11 -07:00
nesquena-hermes
10223e3145 changelog: SSE apperror relay-close fix (#6527) 2026-07-26 20:15:14 +00:00
nesquena-hermes
c6e9ad79d2 test: update legacy SSE-break regression test for SSE_RELAY_CLOSE_EVENTS (#6527 maintainer fold-in)
The R5b static-pattern test pinned the old inline ('stream_end','error','cancel')
tuple; #6527 replaced it with the named SSE_RELAY_CLOSE_EVENTS frozenset. Accept
either shape and assert behavior (cancel+apperror in the resolved close set)
rather than source syntax. Intent-preserving; non-vacuous (fails on master:
SSE_RELAY_CLOSE_EVENTS absent + apperror not in old tuple).
2026-07-26 19:58:43 +00:00
nesquena-hermes
c49568101c fix(sse): close relays on apperror terminal events (gate-rebase of #6527)
Co-authored-by: Hermes Agent <hermes@nousresearch.com>
2026-07-26 19:45:38 +00:00
Frank Song
c8d9faea29 Merge remote-tracking branch 'origin/master' into franksong2702/live-worklog-settle-no-blank 2026-07-26 11:03:04 +08:00
nesquena-hermes
a7180a8108
Merge pull request #6523 from nesquena/release/stage-6477
Release exp-v0.52.151: repair admin model reload rebinding (#6477, @mspgle-dotcom)
2026-07-25 19:13:28 -07:00
nesquena-hermes
20972409e3 docs(changelog): repair admin model reload rebinding (#6477, @mspgle-dotcom) 2026-07-26 02:08:45 +00:00
nesquena-hermes
44877274da Release exp-v0.52.151: repair admin model reload rebinding (#6477, @mspgle-dotcom) 2026-07-26 02:08:30 +00:00
Frank Song
95aa8ece36 Merge remote-tracking branch 'origin/master' into franksong2702/live-worklog-settle-no-blank 2026-07-26 09:22:09 +08:00
nesquena-hermes
dd155912a7
Merge pull request #6520 from nesquena/release/stage-5844
Release exp-v0.52.150: reap idle abandoned terminals (#5844, @ai-ag2026)
2026-07-25 18:03:47 -07:00