Commit Graph

3066 Commits

Author SHA1 Message Date
nesquena-hermes 4d3a59d72c stage-batch19: stamp v0.51.137 / Release DI 2026-05-25 17:52:38 +00:00
nesquena-hermes f13433b7d3 stage-batch19: backfill CHANGELOG entry for #2915 (marker-based anchor) 2026-05-25 17:48:43 +00:00
george-andraws 0f388de09c fix duplicate chat upload filenames 2026-05-25 17:48:19 +00:00
nesquena-hermes 0c6af12723 Merge pull request #2933
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:48:05 +00:00
nesquena-hermes 7c666d8e4d Merge pull request #2913
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:47:51 +00:00
nesquena-hermes fb9d67865b Merge pull request #2937
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:47:36 +00:00
nesquena-hermes c6869806f0 Merge pull request #2923
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:47:23 +00:00
nesquena-hermes c2fc390723 Merge pull request #2915 2026-05-25 17:46:56 +00:00
nesquena-hermes 2577432f14 Merge pull request #2945 from nesquena/release/stage-batch18
Release DH — stage-batch18 — 5-PR streaming + session index batch (v0.51.136)
v0.51.136
2026-05-25 10:25:05 -07:00
nesquena-hermes 785b3eebb5 stage-batch18: stamp v0.51.136 / Release DH 2026-05-25 17:21:47 +00:00
nesquena-hermes 668cdeade0 stage-batch18: backfill CHANGELOG entry for #2907 2026-05-25 17:18:17 +00:00
nesquena-hermes 4a8b29db9e Merge pull request #2928
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:18:02 +00:00
nesquena-hermes f6dc7aad6f Merge pull request #2907 2026-05-25 17:17:44 +00:00
nesquena-hermes 68afa0e44a Merge pull request #2932
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:17:44 +00:00
nesquena-hermes 0be9874549 Merge pull request #2918
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:17:31 +00:00
nesquena-hermes 6eaddada93 Merge pull request #2934
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:17:06 +00:00
nesquena-hermes a0ab1687b1 Merge pull request #2944 from nesquena/release/stage-batch17
Release DG — stage-batch17 — 9-PR small-fix batch (v0.51.135)
v0.51.135
2026-05-25 10:14:51 -07:00
nesquena-hermes fe9d95e22b stage-batch17: skip #2927 test file when hermes-agent module not available (CI fix) 2026-05-25 17:11:59 +00:00
nesquena-hermes 41e424b3d5 stage-batch17: stamp v0.51.135 / Release DG 2026-05-25 17:06:27 +00:00
nesquena-hermes fa9881445a stage-batch17: backfill CHANGELOG entries for #2906 and #2940 2026-05-25 17:03:00 +00:00
nesquena-hermes f7ff8b5297 Merge pull request #2919
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:02:33 +00:00
nesquena-hermes bf28f400ec Merge pull request #2921
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:02:16 +00:00
nesquena-hermes 67b41b2b54 Merge pull request #2927 2026-05-25 17:02:02 +00:00
nesquena-hermes fdb0ccb392 Merge pull request #2940 2026-05-25 17:02:02 +00:00
nesquena-hermes 84218ce5a9 Merge pull request #2936
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:02:02 +00:00
nesquena-hermes d86aa6013f Merge pull request #2906 2026-05-25 17:01:47 +00:00
nesquena-hermes da25aad946 Merge pull request #2912
# Conflicts:
#	CHANGELOG.md
2026-05-25 17:01:47 +00:00
nesquena-hermes c876724ff4 Merge pull request #2922 2026-05-25 17:01:32 +00:00
nesquena-hermes 6b80df8252 Merge pull request #2917 2026-05-25 17:01:27 +00:00
george-andraws fe597c1cdf fix chat upload attachment paths 2026-05-25 09:12:14 -07:00
Frank Song 3ee0173cd3 feat(server): allow extra CSP connect sources 2026-05-25 21:48:52 +08:00
Frank Song aa6daf82f2 fix(gateway): treat active sessions as configured 2026-05-25 21:48:51 +08:00
Frank Song 524ed6cce3 fix(streaming): preserve profile env for checkpoints 2026-05-25 21:29:06 +08:00
Frank Song e265389116 perf(sessions): prime missing index in background 2026-05-25 21:21:20 +08:00
Frank Song 459286830b fix(session): preserve sidecar truncation boundary 2026-05-25 21:21:15 +08:00
ai-ag2026 47f6648905 fix(chat): keep one live SSE source per stream 2026-05-25 13:14:55 +02:00
carryzuo00 2881fcec89 fix(agent_health): detect profile-scoped gateway.pid for correct status
_gateway_root_pid_path() unconditionally returned <hermes_root>/gateway.pid.
Profile-scoped gateways (started with --profile <name> or via active_profile)
write their runtime files under <hermes_root>/profiles/<name>/ instead of the
root, so the root-level path never existed.

build_agent_health_payload() therefore always received a non-existent pid_path,
fell through to the stale root-level gateway_state.json, and returned alive=None.
This caused the cron/scheduled-jobs page to display "Gateway not configured" even
when a gateway was actively running.

Fix: after failing to find a root-level gateway.pid, fall back to the active
profile directory via get_active_hermes_home(). Root-level wins when it exists,
so deployments that do write there are unaffected. Errors from profile lookup are
swallowed and the root path is returned, preserving the previous safe default.

Adds five focused unit tests covering the new fallback, the priority rule, and
the error-handling path.
2026-05-25 10:35:37 +00:00
MinhoJJang d920d4222a Trim paginated session tool call payloads 2026-05-25 18:28:43 +09:00
ai-ag2026 5e1b51d16f docs: add canonical session resolution contract 2026-05-25 11:14:15 +02:00
Frank Song cfca26f2e8 Repaint sidebar after session archive or delete 2026-05-25 16:31:15 +08:00
Frank Song 10463158f8 docs: add clarify dialog screenshot evidence 2026-05-25 16:25:11 +08:00
Frank Song 89d8c3a94c fix: cap live tool prompt estimate per turn 2026-05-25 16:04:40 +08:00
Frank Song 85e13a6121 fix: reserve space for clarify dialogs 2026-05-25 15:58:27 +08:00
Frank Song 21e981a166 test: cover metadata-only profile routing 2026-05-25 15:50:47 +08:00
fxd-jason 5b6e1e1477 fix: restore messages.js from upstream to fix inflight stream tests 2026-05-25 15:27:57 +08:00
fxd-jason dd09e1c2a8 Merge remote-tracking branch 'origin/master' into fix/compression-anchor-marker-based
# Conflicts:
#	tests/test_issue2028_compression_anchor_helpers.py
2026-05-25 15:23:17 +08:00
fxd-jason 90dfbf2f2d fix: marker-based compression anchor calculation
Instead of using len(visible_after)-1 (which points to the last visible
message and gets pushed behind the render window as more turns accumulate),
find the last [CONTEXT COMPACTION] marker in s.messages and compute the
anchor from visible messages before it.

This keeps the compression reference card at the correct boundary even
after 50+ subsequent turns have scrolled the render window past the old
anchor position.

Fixes a bug where the assistant's output message appeared to disappear
after automatic context compression because the reference card was placed
at the wrong position.
2026-05-25 15:16:26 +08:00
ai-ag2026 9e74072bf3 fix(chat): resolve stale compression parent routes 2026-05-25 08:54:46 +02:00
ai-ag2026 3009c0bf71 fix(chat): keep compression tip selected in sidebar 2026-05-25 08:28:12 +02:00
ai-ag2026 21655af09b fix(chat): accept session_id URL parameter 2026-05-25 07:59:21 +02:00