Skip to content
Closed
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
374 commits
Select commit Hold shift + click to select a range
26ea3d0
fix(webapp): carry the launch surface explicitly, not through the env…
BearHuddleston Sep 26, 2026
8432aeb
refactor(update): walk interpreter argv with the canonical helpers
BearHuddleston Sep 26, 2026
6f64632
refactor(profiles): look up ledger-bound backends in process_identity
BearHuddleston Sep 26, 2026
2c3f687
fix(profiles): enforce "never recreate a deleted profile" in mkdir_un…
BearHuddleston Sep 26, 2026
cc23632
refactor(state): always pass the profile incarnation to SessionDB
BearHuddleston Sep 26, 2026
5246495
refactor(desktop): split the in-flight turn journal by topic
BearHuddleston Sep 26, 2026
3eab821
refactor(desktop): break mergeRuntimeTurn into named steps
BearHuddleston Sep 26, 2026
ee94ca1
refactor(desktop): mount the browser-hosted preview iframe from its o…
BearHuddleston Sep 26, 2026
a3c10b1
refactor(desktop): move terminal session helpers out of the hook
BearHuddleston Sep 26, 2026
15a7eaa
refactor(desktop): split terminal session attempts and snapshots out …
BearHuddleston Sep 26, 2026
8ecf87c
refactor(webapp): move the web-server lifespan into web_server_lifespan
BearHuddleston Sep 26, 2026
0bea3bf
refactor(webapp): split host_terminal into admission and input pump
BearHuddleston Sep 26, 2026
85d07fb
refactor(desktop): split the browser Desktop bridge by capability
BearHuddleston Sep 26, 2026
07a7210
fix(webapp): publish attachments where the filesystem refuses hard links
BearHuddleston Sep 26, 2026
d307438
fix(profiles): bind delete confirmation to the generation, not its ctime
BearHuddleston Sep 26, 2026
66994fb
fix(profiles): stop holding the clone source's lease across the copy
BearHuddleston Sep 26, 2026
e4632dc
fix(state): track the remaining in-process openers of probed databases
BearHuddleston Sep 26, 2026
b237c48
fix(state): release header probes off the tracked-connection hot path
BearHuddleston Sep 26, 2026
4910ad3
fix(update): stop a stale Webapp without respawning it
BearHuddleston Sep 26, 2026
e0723ad
fix(dashboard): judge cookie writes by the browser's Sec-Fetch-Site
BearHuddleston Sep 26, 2026
91228ed
fix(webapp): auto-open a one-use launch URL instead of a redirect file
BearHuddleston Sep 26, 2026
21d4340
fix(dashboard): read live argv only for process rows that can be Hermes
BearHuddleston Sep 26, 2026
678bc52
fix(webapp): ticket browser file URLs instead of carrying the session…
BearHuddleston Sep 26, 2026
e20fd95
fix(desktop): refuse non-web schemes in the browser bridge's external…
BearHuddleston Sep 26, 2026
5c6748f
fix(webapp): keep host-terminal ownership checks off the event loop
BearHuddleston Sep 26, 2026
1aa05d3
fix(desktop): report browser upload failures instead of a JSON Syntax…
BearHuddleston Sep 26, 2026
35830dd
fix(tui_gateway): decide profile admission without the lifecycle lease
BearHuddleston Sep 26, 2026
4163c9a
fix(config): memoize legacy named homes by adopting a generation marker
BearHuddleston Sep 26, 2026
e042246
Merge origin/main into feat/desktop-web
BearHuddleston Sep 26, 2026
3eb04ec
feat(webapp): switch profiles from the statusbar picker, not the rail
BearHuddleston Sep 26, 2026
9986331
fix(webapp): record a live profile switch in the tab's URL
BearHuddleston Sep 26, 2026
808105f
fix(tui_gateway): tag skin.changed with the profile whose config moved
BearHuddleston Sep 26, 2026
8eb9e33
fix(tui_gateway): a /skin for another profile no longer re-announces …
BearHuddleston Sep 26, 2026
624b164
feat(desktop): keep a profile's theme and light/dark mode in its conf…
BearHuddleston Sep 26, 2026
2116da1
fix(webapp): keep the profile picker at the sidebar foot
BearHuddleston Sep 27, 2026
2968967
Merge origin/main into feat/desktop-web
BearHuddleston Sep 27, 2026
caa7937
Merge origin/main into feat/desktop-web
BearHuddleston Sep 27, 2026
c9955dc
Merge origin/main into feat/desktop-web
BearHuddleston Sep 27, 2026
71202ba
fix(gateway): end the inline-source option walk at -m
BearHuddleston Sep 27, 2026
6d33409
fix(desktop): draw the onboarding plugin icon from the app icon set
BearHuddleston Sep 27, 2026
e8186d4
fix(profiles): settle process ownership before reading open files
BearHuddleston Sep 27, 2026
3919549
fix(webapp): write host-terminal input under the profile lease
BearHuddleston Sep 27, 2026
d344001
fix(webapp): renew expired media stream tickets from the player
BearHuddleston Sep 27, 2026
a7d8579
fix(desktop): write a profile's appearance picks in pick order
BearHuddleston Sep 27, 2026
62d4d4a
fix(profiles): fence every spelling of a named profile home
BearHuddleston Sep 27, 2026
231303d
Merge origin/main into feat/desktop-web
BearHuddleston Sep 27, 2026
137092e
fix(webapp): resolve the React Compiler plugin from the Desktop app
BearHuddleston Sep 27, 2026
3b7b964
perf(profiles): read open files on Windows only for possible holders
BearHuddleston Sep 27, 2026
78505c8
Merge origin/main into feat/desktop-web
BearHuddleston Sep 27, 2026
0164f26
fix(profiles): count orphaned processes as possible profile holders
BearHuddleston Sep 28, 2026
b8dc932
test(profiles): load YAML through hermes_yaml, not an undeclared PyYAML
BearHuddleston Sep 28, 2026
5603faa
fix(profiles): wait out a briefly held marker file on Windows
BearHuddleston Sep 28, 2026
6b7d893
test(profiles): live Windows E2E for an orphaned profile holder
BearHuddleston Sep 28, 2026
af055a6
test(profiles): keep profile bookkeeping tests off the live process t…
BearHuddleston Sep 28, 2026
7abac8c
test: reconcile merged tests with the PR's contracts
BearHuddleston Sep 28, 2026
905cc20
test(tui): bind main's /status profile test to its profile generation
BearHuddleston Sep 28, 2026
ea0fb05
fix(profiles): ask Restart Manager for profile holders on Windows
BearHuddleston Sep 28, 2026
78a9123
test(profiles): exercise the psutil census as the Windows fallback too
BearHuddleston Sep 28, 2026
524a31a
Merge origin/main into feat/desktop-web
BearHuddleston Sep 29, 2026
51e46c4
Merge origin/main into feat/desktop-web
BearHuddleston Sep 29, 2026
e3fa76a
Merge origin/main into feat/desktop-web
BearHuddleston Sep 30, 2026
2e504de
fix(desktop): keep a queued appearance write on the gateway it was pi…
BearHuddleston Sep 30, 2026
3e55c40
Merge origin/main into feat/desktop-web
BearHuddleston Sep 30, 2026
43b67d4
Merge origin/main into feat/desktop-web
BearHuddleston Sep 30, 2026
2826faf
Merge upstream main into feat/desktop-web
BearHuddleston Oct 2, 2026
a0d5c50
fix(desktop): preserve foreground appearance ownership
BearHuddleston Oct 2, 2026
f0fdfde
test(webapp): reconcile catalog and isolated regression fixtures
BearHuddleston Oct 2, 2026
c93f924
fix(webapp): preserve native media context menus
BearHuddleston Oct 2, 2026
31a9073
fix(desktop): expose touch message actions
BearHuddleston Oct 2, 2026
45ca1bb
fix(desktop): guard mobile actions and narrow composer
BearHuddleston Oct 2, 2026
b6b5201
fix(desktop): wrap minimal composer queue actions
BearHuddleston Oct 2, 2026
d5dadfe
test(desktop): honor clipboard bridge success contract
BearHuddleston Oct 2, 2026
9c830ec
Merge upstream main into feat/desktop-web
BearHuddleston Oct 2, 2026
01f65e6
test(desktop): adapt merged theme and pane fixtures
BearHuddleston Oct 2, 2026
398d3b8
fix(webapp): preserve native touch text selection
BearHuddleston Oct 2, 2026
b1ad03c
fix(webapp): keep mobile sidebar toggle visible and accurate
BearHuddleston Oct 2, 2026
20a6bc8
fix(webapp): honor explicit sidebar hide intent on hover
BearHuddleston Oct 2, 2026
71c5653
fix(webapp): hide the active sidebar zone mate
BearHuddleston Oct 2, 2026
387b3e0
fix(webapp): reflect review-only narrow sidebar state
BearHuddleston Oct 2, 2026
5e9d898
fix(webapp): use canonical review pane identity
BearHuddleston Oct 2, 2026
0808610
Merge upstream main into desktop webapp branch
BearHuddleston Oct 2, 2026
66e3ce4
Align close-lease regression with bounded settlement response
BearHuddleston Oct 2, 2026
364cb9c
Keep transcript videos inline on mobile browsers
BearHuddleston Oct 2, 2026
b26f46e
Preserve picked file names in browser composer chips
BearHuddleston Oct 2, 2026
550d9d7
Keep voice engine picker finger-sized on touch surfaces
BearHuddleston Oct 2, 2026
ebdf408
Align browser filename changes with padding lint
BearHuddleston Oct 2, 2026
635c882
fix(desktop): merge folded replies by stored source identity
BearHuddleston Oct 2, 2026
2d877c2
Merge upstream main into feat/desktop-web
BearHuddleston Oct 2, 2026
c22751a
test(desktop): cover copy on desktop and touch action rows
BearHuddleston Oct 2, 2026
363fda4
Dismiss narrow sidebars on completed outside taps
BearHuddleston Oct 3, 2026
bb1cde4
Respect touch and native media focus ownership
BearHuddleston Oct 3, 2026
55322f7
Expose phone session tabs through a compact picker
BearHuddleston Oct 3, 2026
8bbda6d
Let native media focus supersede queued composer retries
BearHuddleston Oct 3, 2026
0046fdd
Merge upstream main into feat/desktop-web
BearHuddleston Oct 3, 2026
1b16d44
test(attachments): retain collision and partial-write coverage after …
BearHuddleston Oct 3, 2026
6ba8383
test(webapp): align terminal and Node 26 storage fixtures
BearHuddleston Oct 3, 2026
a45f8f3
fix(webapp): refuse incompatible owners before renderer preparation
BearHuddleston Oct 3, 2026
7d2c130
fix(gateway): scope child mirrors and liveness to profile incarnation
BearHuddleston Oct 3, 2026
ce57d99
fix(terminal): serialize viewer takeover with final writes and reap d…
BearHuddleston Oct 3, 2026
c683cc4
fix(webapp): open sandbox previews and preserve confirmed appearance
BearHuddleston Oct 3, 2026
17659d2
fix(state): admit read-only profiles without writable lock metadata
BearHuddleston Oct 3, 2026
514b25a
fix(profiles): hold lifecycle admission through editor publication
BearHuddleston Oct 3, 2026
1723569
fix(state): track install-age readers across probe retirement
BearHuddleston Oct 3, 2026
96e120d
test(webapp): verify private launch authentication in browser smoke
BearHuddleston Oct 3, 2026
79043ab
fix(webapp): bind file tickets to profile generations
BearHuddleston Oct 3, 2026
fb7942c
fix(webapp): require manual private launch on macOS
BearHuddleston Oct 3, 2026
dbccdd4
test(webapp): spy on the actual Storage method owner
BearHuddleston Oct 3, 2026
4757ac4
fix(appearance): scope peer adoption to changed profile slots
BearHuddleston Oct 3, 2026
8f90a3e
Merge current upstream main after final review
BearHuddleston Oct 3, 2026
6ee5578
fix(docker): preserve user bind sources in reuse identity
BearHuddleston Oct 3, 2026
bf43d7e
fix(docker): distinguish sanitized skills mount identity
BearHuddleston Oct 3, 2026
d2b35ff
Merge upstream main to resolve terminal cleanup conflict
BearHuddleston Oct 3, 2026
34ec1ca
fix(desktop): fully dispose parked gateway routes
BearHuddleston Oct 3, 2026
4d73345
Merge main bd0affe5 into feat/desktop-web
BearHuddleston Oct 3, 2026
7bef727
test(gateway): align roster reads with snapshot admission
BearHuddleston Oct 3, 2026
dbe207e
fix(webapp): keep composer above mobile keyboards
BearHuddleston Oct 3, 2026
848f336
fix(webapp): restore keyboard space while pinch zoomed
BearHuddleston Oct 3, 2026
a516565
fix(webapp): keep mobile tab controls clear of titlebar
BearHuddleston Oct 3, 2026
1793739
fix(webapp): align layout edit veil with mobile tabs
BearHuddleston Oct 3, 2026
f4555e6
Merge upstream main into feat/desktop-web
BearHuddleston Oct 3, 2026
9780546
test(webapp): create live profile for rich session search
BearHuddleston Oct 3, 2026
2d48fec
Merge upstream main into feat/desktop-web
BearHuddleston Oct 4, 2026
a05b039
feat(webapp): show session status in the browser tab title
BearHuddleston Oct 4, 2026
e27c81a
merge: integrate upstream main into desktop webapp
BearHuddleston Oct 4, 2026
f5bd862
fix(web): deny framing for privileged SPA documents
BearHuddleston Oct 4, 2026
1280c70
test(profiles): verify export composition and scoped SSH resume
BearHuddleston Oct 4, 2026
c5ffe59
fix(desktop): share confirmed appearance settlement across windows
BearHuddleston Oct 4, 2026
cea3a3a
test(webapp): confine stop census to fixture-owned processes
BearHuddleston Oct 4, 2026
651a108
fix(desktop): scope appearance cleanup to the profile owner
BearHuddleston Oct 4, 2026
0fc97b4
fix(webapp): keep the iOS composer visible on focus zoom
BearHuddleston Oct 4, 2026
c68d68f
fix(webapp): keep iOS long-press callouts on message text
BearHuddleston Oct 4, 2026
54651c8
fix(webapp): leave a dismissed iOS keyboard down after Send
BearHuddleston Oct 5, 2026
8ac8d77
fix(webapp): reuse a prebuilt renderer without locking the install tree
BearHuddleston Oct 5, 2026
76f707a
test(webapp): expect the fatal-config exit when refusing a dashboard …
BearHuddleston Oct 5, 2026
c6d8b30
fix(desktop): settle racing appearance saves from the saved config
BearHuddleston Oct 5, 2026
2f46c42
test(desktop): check every action lane's Copy in the response-group test
BearHuddleston Oct 5, 2026
2b56921
fix(desktop): re-read a raced appearance save in every window on its …
BearHuddleston Oct 5, 2026
043389d
test(desktop): add the cross-window appearance transport smoke
BearHuddleston Oct 5, 2026
1ee8bb7
Merge origin/main into feat/desktop-web
BearHuddleston Oct 7, 2026
bb41488
fix(desktop): show the Webapp's serving host on the Gateways page
BearHuddleston Oct 7, 2026
806fb74
fix(desktop): explain /browser connect and disconnect refusals in the…
BearHuddleston Oct 7, 2026
b955b28
fix(desktop): report the serving host's version in the Webapp About page
BearHuddleston Oct 7, 2026
a7abe9a
fix(dashboard-auth): let native Desktop's cookie writes through the O…
BearHuddleston Oct 7, 2026
d59de09
fix(webapp): a stalled paste no longer kills the host terminal
BearHuddleston Oct 7, 2026
0899e5d
fix(profiles): an interrupted rename or delete no longer leaves the p…
BearHuddleston Oct 7, 2026
8cab7f5
fix(desktop): a resumed queue drain shows its reply and tools once
BearHuddleston Oct 7, 2026
6a13b85
test(tui-gateway): stub _child_run_active with the incarnation argument
BearHuddleston Oct 7, 2026
ec08053
fix(profiles): read incarnation and deletion markers through a UTF-8 BOM
BearHuddleston Oct 7, 2026
93d914f
fix(webapp): uninstall --data and the update host check recognise a r…
BearHuddleston Oct 7, 2026
96760bb
fix(webapp): idle Windows terminals no longer hold executor threads
BearHuddleston Oct 7, 2026
44fd2ae
fix(webapp): a stalled terminal viewer is told to reconnect, not that…
BearHuddleston Oct 7, 2026
1fc3cef
fix(webapp): host shells keep a valid Linux locale
BearHuddleston Oct 7, 2026
8c46bbe
test(gateway): restore main's strict single-call asserts
BearHuddleston Oct 7, 2026
c48c1d1
Merge origin/main into feat/desktop-web
BearHuddleston Oct 7, 2026
306bce1
test(desktop): trim low-value tests the PR adds (12 removed, 26 conve…
BearHuddleston Oct 7, 2026
a429eff
test(cli): trim low-value tests the PR adds, part 1 (11 removed, 14 c…
BearHuddleston Oct 7, 2026
b1040e0
test(cli): trim low-value tests the PR adds, part 2 (16 removed, 13 c…
BearHuddleston Oct 7, 2026
3425729
test(tui-gateway): trim low-value tests the PR adds (7 removed, 13 co…
BearHuddleston Oct 7, 2026
b00af63
fix(webapp): Windows host-terminal writes keep ConPTY's deadline
BearHuddleston Oct 7, 2026
dcc3a8b
refactor: simplify the review fixes
BearHuddleston Oct 7, 2026
922cb8c
Merge origin/main into feat/desktop-web
BearHuddleston Oct 7, 2026
51cf5b1
Merge origin/main into feat/desktop-web
BearHuddleston Oct 8, 2026
c2ca8f0
refactor(desktop): move the live-session projection into its own module
BearHuddleston Oct 8, 2026
4c0a4e0
refactor(desktop): extract the Webapp branches from over-cap renderer…
BearHuddleston Oct 8, 2026
13d04ba
refactor(desktop): move the preview.web strings into per-locale overlays
BearHuddleston Oct 8, 2026
d9fba50
refactor(profiles): move the process-stop helpers into profiles_proce…
BearHuddleston Oct 8, 2026
813036a
refactor: offset the PR's growth in gateway, config and tui_gateway f…
BearHuddleston Oct 8, 2026
2f516ac
fix(webapp): drop HERMES_DESKTOP_SHELL and narrow host-terminal excepts
BearHuddleston Oct 8, 2026
2f6cf94
fix(tui_gateway): drop the reverted Collective Wisdom hook
BearHuddleston Oct 8, 2026
d2c129a
fix(profiles): refuse invalid create flags before any side effect
BearHuddleston Oct 8, 2026
c6f33be
refactor(tui_gateway): share the session fences and the attach prologue
BearHuddleston Oct 8, 2026
3cc7155
perf(profiles): resolve a profile's marker once per lifecycle check
BearHuddleston Oct 8, 2026
2df090f
refactor(cli): drop dead parameters and duplicate filters in process …
BearHuddleston Oct 8, 2026
e20b917
refactor(webapp): one reap rule and one owner fence for host terminals
BearHuddleston Oct 8, 2026
02b52d2
fix(desktop): draw the setup-card plugin icon from the app icon set
BearHuddleston Oct 8, 2026
5af792c
refactor(desktop): dedupe appearance guards and bridge capability loo…
BearHuddleston Oct 8, 2026
de67fc5
refactor(desktop): simplify the browser bridge; name cross-origin ima…
BearHuddleston Oct 8, 2026
b720173
perf(desktop): mount the touch action cluster only on touch surfaces
BearHuddleston Oct 8, 2026
fe0aa86
refactor(desktop): trim terminal revive and live-projection helpers
BearHuddleston Oct 8, 2026
88963fb
fix(webapp): decide `webapp --stop`'s exit code from the kill result
BearHuddleston Oct 8, 2026
d8e63d0
fix(profiles): release this process's handles before renaming a profile
BearHuddleston Oct 8, 2026
18b971a
perf(webapp): give host-terminal drains their own reader pool
BearHuddleston Oct 8, 2026
614368d
refactor(webapp): one module owns the staged-upload contract
BearHuddleston Oct 8, 2026
7a29450
fix(desktop): surface why a dropped file could not be staged
BearHuddleston Oct 8, 2026
04f0d45
refactor(desktop): parse file: URLs once in preview targets
BearHuddleston Oct 8, 2026
19c48e8
refactor(profiles): one profile-tombstone reader and one writer pair
BearHuddleston Oct 8, 2026
24a5470
Merge remote-tracking branch 'origin/main' into feat/desktop-web
BearHuddleston Oct 8, 2026
228960e
chore(desktop): drop the lucide-react dependency nothing imports
BearHuddleston Oct 8, 2026
1d1f2da
fix(webapp): resolve upload targets without entering a profile scope
BearHuddleston Oct 8, 2026
6773bf4
fix(dashboard): tokenize lifecycle probes like the server classifier
BearHuddleston Oct 8, 2026
87abc28
fix(update): read profile tombstones at their canonical marker
BearHuddleston Oct 8, 2026
d8c8a45
refactor(desktop): one file: URL parser in @hermes/shared
BearHuddleston Oct 8, 2026
69df048
fix(profiles): gate profile delete/rename on main's descriptor census
BearHuddleston Oct 8, 2026
8709803
perf(tui_gateway): resolve a request's profile generation once
BearHuddleston Oct 8, 2026
dc7299d
refactor(desktop): order profile appearance by a config revision
BearHuddleston Oct 8, 2026
844e3fd
perf(tui_gateway): reuse the resolved profile in create's cwd and pro…
BearHuddleston Oct 8, 2026
a49fb78
fix(profiles): an interrupted delete teardown no longer hides the int…
BearHuddleston Oct 8, 2026
ebcc743
fix(desktop): browser-hosted media reads follow the tile's owner profile
BearHuddleston Oct 8, 2026
3088d0b
Merge origin/main into feat/desktop-web
BearHuddleston Oct 8, 2026
76b8586
Merge origin/main into feat/desktop-web
BearHuddleston Oct 9, 2026
99cadfc
fix(state): linked named profiles keep their lifecycle fence on the p…
jquesnelle Oct 12, 2026
f8ef711
fix(tui_gateway): a session on a deleted or recreated profile says so
jquesnelle Oct 12, 2026
f2c1127
fix(build): Webapp receipts track the renderer environment
jquesnelle Oct 12, 2026
ebac592
fix(desktop): browser default-folder Choose uses the server folder pi…
jquesnelle Oct 12, 2026
3d7b11b
fix(desktop): background-tile audio and video stream on the tile's owner
jquesnelle Oct 12, 2026
2793da5
Merge origin/main into feat/desktop-web
jquesnelle Oct 12, 2026
38b832b
test(terminal): wait on conditions instead of wall-clock sleeps
jquesnelle Oct 12, 2026
4d23335
test(profiles): the external-holder census collects on Windows
jquesnelle Oct 12, 2026
e856585
fix(tui_gateway): attachment staging keeps writing through io.open
jquesnelle Oct 12, 2026
211eb9d
test(profiles): the rename test stubs holographic through the provide…
jquesnelle Oct 12, 2026
16aa129
test(desktop): the Windows holder-scan test runs a real -m hermes_cli…
jquesnelle Oct 12, 2026
263139e
fix(desktop-web): act on review: terminal lease waits, video tickets,…
jquesnelle Oct 12, 2026
2003045
Merge main 0b29a34 into feat/desktop-web
jquesnelle Oct 13, 2026
9919635
Merge main 63d0b94 into feat/desktop-web
jquesnelle Oct 13, 2026
c36c6cc
Merge main 8f0367c into feat/desktop-web
BearHuddleston Oct 15, 2026
38bba6a
Merge main 2823fbe into feat/desktop-web
jquesnelle Oct 15, 2026
c0bf749
fix(gateway): pass the branch's attachment owner and size cap from au…
BearHuddleston Oct 15, 2026
97731af
fix(config): answer a config PUT with the revision of the bytes it wrote
BearHuddleston Oct 15, 2026
5b7bcde
fix(desktop): re-check a recreated profile's appearance for a local pick
BearHuddleston Oct 15, 2026
16973b1
fix(webapp): read a browser image paste from the host for an SSH profile
BearHuddleston Oct 15, 2026
89b33dd
fix(desktop): keep the browser's default project folder across reloads
BearHuddleston Oct 15, 2026
953efdb
test(profiles): place profile-deletion race tests with the code they …
BearHuddleston Oct 15, 2026
740cffa
fix(desktop): declare lucide-react again for the plugin install dialog
BearHuddleston Oct 15, 2026
ec9d920
Merge main acc3cada0d into feat/desktop-web
BearHuddleston Oct 15, 2026
980e1d9
Merge main b65e078cdc into feat/desktop-web
BearHuddleston Oct 16, 2026
8942bb4
fix(desktop): seed appearance only on a backend that reports config r…
BearHuddleston Oct 16, 2026
768a524
fix(tui_gateway): read the settlement-bearing pending-turn entry in h…
BearHuddleston Oct 16, 2026
b0be51c
fix(profiles): ask the multiplexer to serve a profile only after rele…
BearHuddleston Oct 16, 2026
30a9d07
fix(webapp): keep the shell when a takeover cancels an input write
BearHuddleston Oct 16, 2026
7298c19
fix(profiles): a refused delete restores the profile's service slot a…
BearHuddleston Oct 16, 2026
ad8d2e5
fix(webapp): give a reattach replay time to cross a slow link
BearHuddleston Oct 16, 2026
6a0818e
Merge main e6f57427c1 into feat/desktop-web
BearHuddleston Oct 17, 2026
a87dc2a
Merge remote-tracking branch 'origin/main' into feat/desktop-web
BearHuddleston Oct 18, 2026
b9dfdbd
fix(desktop): show a switched-to profile's failed session read instea…
BearHuddleston Oct 18, 2026
1e09057
feat(gateway): delegated exposure grant for a proxy's remote login
BearHuddleston Oct 19, 2026
926f335
fix(gateway): canonical file.attach accepts a browser staged_upload
BearHuddleston Oct 19, 2026
9243a18
feat(sessions): `hermes sessions adopt` brings pre-gateway chats unde…
BearHuddleston Oct 19, 2026
335fd93
feat(webapp): attach the browser to the profile's gateway
BearHuddleston Oct 19, 2026
a474655
fix(sessions): adopt reads whole-history resume answers and names fie…
BearHuddleston Oct 19, 2026
d110e52
fix(desktop): browser smoke waits for the relayed gateway socket on a…
BearHuddleston Oct 19, 2026
9a6c5fb
Merge remote-tracking branch 'origin/main' into feat/desktop-web
BearHuddleston Oct 19, 2026
37154d1
fix(tui_gateway): session.close reports the close it performed again
BearHuddleston Oct 19, 2026
54eaba4
refactor(tui_gateway): legacy file.attach drops the browser's staged_…
BearHuddleston Oct 19, 2026
00bb0c1
fix(webapp): refuse the embedded dashboard chat; keep only the Webapp…
BearHuddleston Oct 19, 2026
1cc5975
refactor(webapp): one session-token principal; drop the relay's unrea…
BearHuddleston Oct 19, 2026
e3e7dd9
refactor(desktop): the browser bridge no longer bootstraps from an in…
BearHuddleston Oct 19, 2026
c6f04a5
docs(webapp): drop in-process-era wording; say where the Webapp's cha…
BearHuddleston Oct 19, 2026
7f95c96
Merge remote-tracking branch 'origin/main' into feat/desktop-web
BearHuddleston Oct 19, 2026
1f63757
fix(webapp): never start a gateway for an unauthenticated screen socket
jquesnelle Oct 19, 2026
2fd2271
fix(webapp): start the default gateway for profiles it serves, once
jquesnelle Oct 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,12 @@ environments/benchmarks/evals/
hermes_cli/web_dist/
# Cross-process web UI build lock (flock target, always empty)
.web_ui_build.lock
.desktop_webapp_build.lock
apps/desktop/build/
apps/desktop/dist/
apps/desktop/dist-webapp/
.dist-webapp-build-*
.dist-webapp-backup-*

# tsc-emitted artifacts (a stray `tsc -b` compiles into src/, and vite then
# resolves the stale .js OVER the .tsx — never track these)
Expand Down
34 changes: 22 additions & 12 deletions agent/compaction_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

from typing import Any, Dict, Optional

from agent.context_compressor import ContextCompressor, is_compaction_summary_message
from agent.context_compressor import (
ContextCompressor, is_compaction_summary_message, user_originated_turn_view,
)


_COMPACTION_INTERNAL_FIELDS = (
Expand Down Expand Up @@ -36,19 +38,27 @@ def project_compaction_message_for_display(message: Dict[str, Any]) -> Optional[
Model-facing recovery history retains the complete carrier. Display
projections instead remove the handoff, inherited tool state, and internal
reasoning while preserving any real prior-tail content or live user ask
embedded in the carrier.
embedded in the carrier. User rows carry the canonical human-turn
classification derived from the original row, before display unwrapping.
"""
if not isinstance(message, dict):
return None
if not is_compaction_summary_message(message):
return message.copy()

projected = ContextCompressor._strip_context_summary_handoff_message(message)
if projected is None:
return None
if is_compaction_summary_message(message):
projected = ContextCompressor._strip_context_summary_handoff_message(message)
if projected is None:
return None
projected = projected.copy()
for key in _COMPACTION_INTERNAL_FIELDS:
projected.pop(key, None)
projected.pop("display_kind", None)
else:
projected = message.copy()

projected = projected.copy()
for key in _COMPACTION_INTERNAL_FIELDS:
projected.pop(key, None)
projected.pop("display_kind", None)
if message.get("role") == "user":
# Classify the physical row before unwrapping its display content. A
# composite carrier can contain a real ask even with a hidden wrapper;
# a typed runtime notice can contain ordinary-looking prose. The same
# canonical view owns backend retry/undo ordinals. This field belongs
# only to the fresh display copy, never model history or persistence.
projected["user_originated"] = user_originated_turn_view(message) is not None
return projected
9 changes: 9 additions & 0 deletions apps/desktop/e2e/large-session-resume.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,15 @@ test.describe('large session resume', () => {
{ timeout: 60_000 },
)
await fixture.page.waitForTimeout(300)
const viewportText =
(await fixture.page.locator('[data-slot="aui_thread-viewport"]').textContent()) ?? ''
const promptOffset = viewportText.lastIndexOf(BACKGROUND_PROMPT)
const replyOffset = viewportText.lastIndexOf(MOCK_REPLY)

expect(promptOffset, 'the running user prompt should remain in the transcript').toBeGreaterThanOrEqual(0)
expect(replyOffset, 'the completed reply should remain after its user prompt').toBeGreaterThan(promptOffset)

await fixture.page.getByText(BACKGROUND_PROMPT, { exact: true }).last().scrollIntoViewIfNeeded()
await fixture.page.screenshot({ path: testInfo.outputPath(`${resumeKind}-background-inference-resume.png`), fullPage: false })

expect(await textNodeOccurrences(fixture.page, BACKGROUND_PROMPT), 'the running user prompt should appear once').toBe(1)
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"profile:main:cpu": "tsc --build tsconfig.electron.json && wait-on http://127.0.0.1:5174 && node scripts/bundle-electron-main.mjs --dev && cross-env XCURSOR_SIZE=24 NODE_OPTIONS=--cpu-prof HERMES_DESKTOP_DEV_SERVER=http://127.0.0.1:5174 electron .",
"start": "npm run build && electron .",
"prebuild": "node scripts/assert-root-install.mjs && npm run clean",
"build:webapp": "node scripts/assert-root-install.mjs && vite build --outDir dist-webapp",
"build": "node scripts/assert-root-install.mjs && node scripts/write-build-stamp.mjs && vite build && node scripts/bundle-electron-main.mjs && node scripts/stage-native-deps.mjs",
"smoke:browser-host": "node scripts/smoke-browser-host.mjs",
"postbuild": "node scripts/assert-dist-built.mjs",
"prebuilder": "node scripts/patch-electron-builder-mac-binary.mjs",
"builder": "cross-env NODE_OPTIONS=--max-old-space-size=16384 node scripts/run-electron-builder.mjs",
Expand Down
82 changes: 74 additions & 8 deletions apps/desktop/scripts/perf/lib/cdp.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// The one Chrome DevTools Protocol client for the desktop perf harness.
// The one Chrome DevTools Protocol client for desktop scripts.
//
// Before this, every measure-*/profile-* script shipped its own copy-pasted
// `CDP` class (four subtly different implementations), its own `/json` vs
Expand All @@ -21,6 +21,17 @@ export const SELECTORS = {

const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))

async function websocketMessageText(data) {
if (typeof data === 'string') return data
if (typeof Blob !== 'undefined' && data instanceof Blob) return data.text()
if (data instanceof ArrayBuffer) return new TextDecoder().decode(data)
if (ArrayBuffer.isView(data)) {
return new TextDecoder().decode(new Uint8Array(data.buffer, data.byteOffset, data.byteLength))
}

return data.toString('utf8')
}

/**
* Poll the CDP HTTP endpoint until a page target is available.
* @param {object} [opts]
Expand Down Expand Up @@ -62,18 +73,38 @@ export class CDP {
this.listeners = new Map()
}

static async open(url) {
static async open(url, { timeoutMs = 10_000 } = {}) {
const ws = new WebSocket(url)

await new Promise((resolve, reject) => {
ws.addEventListener('open', resolve, { once: true })
ws.addEventListener('error', reject, { once: true })
const cleanup = () => {
clearTimeout(timeout)
ws.removeEventListener('open', opened)
ws.removeEventListener('error', failed)
}
const opened = () => {
cleanup()
resolve()
}
const failed = () => {
cleanup()
reject(new Error('CDP websocket failed to open'))
}
const timeout = setTimeout(() => {
cleanup()
ws.close()
reject(new Error('CDP websocket open timeout'))
}, timeoutMs)

timeout.unref?.()
ws.addEventListener('open', opened, { once: true })
ws.addEventListener('error', failed, { once: true })
})

const cdp = new CDP(ws)

ws.addEventListener('message', ev => {
const m = JSON.parse(typeof ev.data === 'string' ? ev.data : ev.data.toString('utf8'))
ws.addEventListener('message', async ev => {
const m = JSON.parse(await websocketMessageText(ev.data))

if (m.id != null && cdp.pending.has(m.id)) {
const { resolve, reject } = cdp.pending.get(m.id)
Expand Down Expand Up @@ -110,6 +141,10 @@ export class CDP {
}

send(method, params = {}) {
if (this.ws.readyState !== WebSocket.OPEN) {
return Promise.reject(new Error(`CDP websocket is not open for ${method}`))
}

const id = ++this.id

return new Promise((resolve, reject) => {
Expand All @@ -124,11 +159,42 @@ export class CDP {
}

this.listeners.get(method).push(handler)

return () => {
const handlers = this.listeners.get(method)

if (!handlers) return
const index = handlers.indexOf(handler)

if (index >= 0) handlers.splice(index, 1)
if (handlers.length === 0) this.listeners.delete(method)
}
}

waitFor(method, timeoutMs = 30_000) {
return new Promise((resolve, reject) => {
const unsubscribe = this.on(method, params => {
clearTimeout(timeout)
unsubscribe()
resolve(params)
})
const timeout = setTimeout(() => {
unsubscribe()
reject(new Error(`timed out waiting for CDP event ${method}`))
}, timeoutMs)

timeout.unref?.()
})
}

/** Evaluate an expression in the page and return its value (awaits promises). */
async eval(expression) {
const r = await this.send('Runtime.evaluate', { expression, returnByValue: true, awaitPromise: true })
async eval(expression, options = {}) {
const r = await this.send('Runtime.evaluate', {
expression,
returnByValue: true,
awaitPromise: true,
...options
})

if (r.exceptionDetails) {
throw new Error(r.exceptionDetails.exception?.description || r.exceptionDetails.text || 'eval failed')
Expand Down
Loading
Loading