Commit Graph

27 Commits

Author SHA1 Message Date
ekko f4e4296a70 [codex] stop bridge broker on restart by default (#1784)
* stop bridge broker on restart by default

* update generated openapi spec
2026-06-25 11:05:50 +08:00
ekko 3ab875998b [codex] Improve write gate and desktop startup UX (#1496)
* Split Hermes bridge Python modules

* Add Hermes write gate controls

* Adjust approval prompt width

* Improve write gate and desktop startup UX

* Fix bridge runtime patch sync

---------

Co-authored-by: Codex <codex@openai.com>
2026-06-11 20:21:13 +08:00
Zhicheng Han 808aec7edc fix: protect bundled skill injection conflicts (#1392) 2026-06-08 09:28:36 +08:00
ekko 6af2a0e204 split chat chain change logs into fragments 2026-06-05 10:47:00 +08:00
Zhicheng Han 23462e107e docs: record chat chain origin policy impact 2026-06-05 10:42:23 +08:00
ekko 7f8b76700c record pr number in chat session docs 2026-06-05 10:28:52 +08:00
ekko 49b6ec6da1 avoid bridge worker startup on resume 2026-06-05 10:28:52 +08:00
Zhicheng Han 537ba834b5 fix: rejoin group chat room after reconnect 2026-06-05 09:57:25 +08:00
ekko 982b76e869 fix(chat): preserve tool boundaries while merging reasoning 2026-06-05 09:44:00 +08:00
tangxuan f2524609b9 fix(chat): merge reasoning across tool cycles into single assistant message
When tool.started fires within a run, activeAssistantMessageId was
cleared, causing subsequent reasoning.delta events to create a new
separate assistant message just for the thinking block. This produced
one "思考过程" bubble per tool cycle instead of one per run.

Root cause: tool.started (line 1748) cleared activeAssistantMessageId,
and reasoning.delta required isStreaming=true to append — a state that
tool.started had turned off. Two fixes applied to both the live-stream
and history-replay handlers:

1. tool.started: stop clearing activeAssistantMessageId — keep the
   pointer alive so the same assistant message is reused across cycles.
2. reasoning.delta: drop the isStreaming requirement — as long as the
   tracked message exists (role === 'assistant'), resume streaming
   via updateMessage before appending reasoning text.

One run now produces exactly one assistant message with all reasoning
accumulated into a single collapsible thinking block.

Verified: 152 test files / 949 tests pass, vue-tsc compiles clean,
harness:check passes, production build succeeds.
2026-06-05 09:44:00 +08:00
Zhicheng Han 2940f2b564 docs: record chat payload chain change
(cherry picked from commit f23d945f806e85cf3068da9eb10ca2987c943827)
2026-06-05 09:22:53 +08:00
ekko 397e4de6f8 fix bridge abort timeout handling (#1326) 2026-06-04 20:46:43 +08:00
ekko f0783e498d [codex] fix shutdown bridge cleanup timing (#1320)
* fix chat bridge resume after web restart

* Handle bridge shutdown separately from restart

* fix shutdown bridge cleanup timing

---------

Co-authored-by: ove <ystwjove@gmail.com>
2026-06-04 16:59:53 +08:00
ekko 32a386acd5 Update OpenRouter attribution title (#1312) 2026-06-04 12:08:33 +08:00
ekko cbb2b5c7ac [codex] Document startup opt-out env flags (#1307)
* feat: allow disabling gateway autostart and skill injection

* Document startup opt-out environment variables

---------

Co-authored-by: Per Oskar Isdahl <po@isdahl.no>
2026-06-04 10:39:06 +08:00
ekko fe9cd83d37 Add Hermes native session title sync (#1306) 2026-06-04 10:20:15 +08:00
Zhicheng Han f9b22054bb 优化工具结果中的 diff 展示 (#1289)
* feat: render unified diffs in chat code blocks

* Improve diff rendering for tool results

* docs: record diff rendering chat chain change
2026-06-04 09:21:01 +08:00
ekko 9461a445ed [codex] fix desktop runtime startup robustness (#1284)
* fix windows bridge subprocess decoding

* localize desktop runtime startup text

* document bridge decoding chain change

* rename website branding to hermes studio

* update openapi endpoint docs
2026-06-03 17:27:36 +08:00
ekko b1bcec177a document chat chain harness (#1274) 2026-06-03 13:19:06 +08:00
ekko 14466dfc9f make bridge worker transport configurable (#1106) 2026-05-28 22:33:33 +08:00
ekko d03d5e6ac5 remove auth disabled support (#1013) 2026-05-25 12:49:01 +08:00
ekko 634a622934 [codex] fix media skill profile auth and run events (#965)
* fix media skill profile auth and run events

* test bridge run profile context
2026-05-24 12:52:14 +08:00
ekko 210b0ee6c2 Harden bridge broker restart (#862) 2026-05-20 10:02:15 +08:00
ekko 9a9416c99c Fix bridge history, profile models, and Windows gateway handling (#845)
* feat: support profile-aware group chat bridge flows

* feat: route cron jobs through hermes cli

* Fix group chat routing and isolate bridge tests

* Add Grok image-to-video media skill

* Default Grok videos to media directory

* Fix bridge profile fallback and cron repeat clearing

* Refine bridge chat and gateway platform handling

* Filter bridge tool-call text deltas

* Preserve structured bridge chat history

* Prepare beta release build artifacts

* Fix Windows run profile resolution

* Fix Windows path compatibility checks

* Fix profile-scoped model page display

* Hide Windows subprocess windows for jobs and updates

* Hide Windows file backend subprocess windows

* Avoid Windows gateway restart lock conflicts

* Treat Windows gateway lock as running on startup

* Force release Windows gateway lock on restart

* Tighten Windows gateway lock cleanup

* Update chat e2e source expectation

* Bump package version to 0.5.30

---------

Co-authored-by: Codex <codex@openai.com>
2026-05-19 16:09:59 +08:00
Zhicheng Han 68fbd568b7 docs: clarify session search scope (#774) 2026-05-16 08:29:51 +08:00
ekko fbb0236af4 Update docs and CLI upgrade notes (#760) 2026-05-15 16:13:51 +08:00
ekko eae7195ba8 Update CLI chat session bridge (#697)
* feat: add CLI chat sessions with Python agent bridge

Introduce a new CLI chat mode that connects Web UI directly to Hermes
Agent's AIAgent via a Python bridge subprocess and Socket.IO, bypassing
the API Server /v1/responses path. Supports streaming, slash commands
(/new, /undo, /retry, /branch, /compress, /save, /title), interrupt,
and steer.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat: update CLI chat session bridge

* fix: extend agent bridge startup timeouts

* docs: update bridge chat session design

* feat: align bridge compression and provider registry

* chore: bump version to 0.5.20

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 09:03:57 +08:00