hermes-agent/apps/desktop/electron
Teknium 666434e4ae
Inspired by ChatGPT Work: convert large pastes into .txt attachments in the Desktop composer
Pasting more than 10k characters of plain text into the Desktop composer
now converts the content into a 'Pasted content (NN KB)' .txt attachment
chip instead of flooding the input, mirroring ChatGPT's large-paste
handling (OpenAI release notes, Aug 4 2026). Short pastes stay inline;
the exact text is preserved byte-for-byte in a Hermes-managed
composer-pastes file and rides the existing @file: attachment pipeline.
If the desktop bridge is missing or the write fails, the paste falls
back to inline insertion so nothing is ever lost.

Implements #66622.
2026-08-06 19:19:03 -07:00
..
active-runtime-state.test.ts
active-runtime-state.ts
backend-child.ts
backend-command.test.ts
backend-command.ts
backend-connection-state.test.ts
backend-connection-state.ts
backend-env.test.ts fmt(js): `npm run fix` on merge (#76547) 2026-08-02 03:33:09 +00:00
backend-env.ts fix(desktop,install): keep bundled Node ahead of system Node on Windows 2026-08-01 20:09:35 -04:00
backend-health.test.ts
backend-health.ts
backend-probes.test.ts
backend-probes.ts
backend-ready.test.ts
backend-ready.ts
backend-start-failure.test.ts
backend-start-failure.ts
bootstrap-platform.test.ts
bootstrap-platform.ts
bootstrap-repair-guard.test.ts fix(desktop): break renderer-led reinstall loop on transient backend stalls 2026-07-31 22:33:53 -07:00
bootstrap-repair-guard.ts fmt(js): `npm run fix` on merge (#76404) 2026-08-01 20:45:40 +00:00
bootstrap-runner.test.ts
bootstrap-runner.ts
connection-apply.test.ts
connection-apply.ts
connection-config.test.ts fix(desktop): reject reserved remote profile names 2026-08-01 14:30:16 -07:00
connection-config.ts fix(desktop): reject reserved remote profile names 2026-08-01 14:30:16 -07:00
crash-forensics.test.ts
crash-forensics.ts
dashboard-token.test.ts
dashboard-token.ts
desktop-electron-pin.test.ts
desktop-installation.test.ts
desktop-installation.ts
desktop-uninstall.test.ts
desktop-uninstall.ts
dev-cdp.test.ts
dev-cdp.ts
embed-referer.ts
entitlements.mac.inherit.plist
entitlements.mac.plist
event-dedupe.test.ts
event-dedupe.ts
find-git-bash.test.ts
find-git-bash.ts
find-in-page.test.ts
find-in-page.ts
first-run-setup-gate.test.ts
first-run-setup-gate.ts
first-run-setup-main-process.test.ts
fs-read-dir.test.ts
fs-read-dir.ts
gateway-ws-probe.test.ts
gateway-ws-probe.ts
git-repo-scan.test.ts
git-repo-scan.ts
git-review-ops.test.ts fix(desktop): bound review workspace scans 2026-08-03 00:08:30 +05:30
git-review-ops.ts fix(desktop): bound review workspace scans 2026-08-03 00:08:30 +05:30
git-root.test.ts
git-root.ts
git-worktree-ops.test.ts fmt(js): `npm run fix` on merge (#79505) 2026-08-05 16:32:54 +00:00
git-worktree-ops.ts feat(desktop): let convert-a-branch reach remote branches too 2026-08-05 11:43:09 -04:00
hardening.test.ts
hardening.ts
link-title-window.test.ts
link-title-window.ts
main-window-lifecycle.test.ts
main-window-lifecycle.ts
main.ts Inspired by ChatGPT Work: convert large pastes into .txt attachments in the Desktop composer 2026-08-06 19:19:03 -07:00
native-auth-decisions.test.ts
native-auth-decisions.ts
native-oauth-login.test.ts
native-oauth-login.ts
native-oauth.test.ts fmt(js): `npm run fix` on merge (#75517) 2026-07-31 16:22:58 +00:00
native-oauth.ts fix(desktop): restore native OAuth tokens after restart 2026-07-31 10:16:21 -04:00
native-token-store.test.ts fix(desktop): redact gateway credentials from token logs 2026-07-31 10:16:21 -04:00
native-token-store.ts fix(desktop): redact gateway credentials from token logs 2026-07-31 10:16:21 -04:00
oauth-net-request.test.ts
oauth-net-request.ts
power-save.test.ts
power-save.ts
preload.ts Inspired by ChatGPT Work: convert large pastes into .txt attachments in the Desktop composer 2026-08-06 19:19:03 -07:00
primary-backend-startup.test.ts
primary-backend-startup.ts fmt(js): `npm run fix` on merge (#75582) 2026-07-31 18:54:27 +00:00
primary-connection-rehome.ts
profile-delete-routing.test.ts
profile-delete-routing.ts
profile-session-routing.test.ts
profile-session-routing.ts
quick-entry.test.ts
quick-entry.ts fmt(js): `npm run fix` on merge (#75582) 2026-07-31 18:54:27 +00:00
quit-guard.test.ts
quit-guard.ts
remote-lifecycle.test.ts fmt(js): `npm run fix` on merge (#76498) 2026-08-02 01:23:45 +00:00
remote-lifecycle.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
remote-liveness.test.ts
remote-liveness.ts
session-windows.test.ts
session-windows.ts
spawn-helper-perms.test.ts
spawn-helper-perms.ts
ssh-bootstrap-coordinator.test.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
ssh-bootstrap-coordinator.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
ssh-config.test.ts
ssh-config.ts
ssh-connection.test.ts
ssh-connection.ts
stream-throttle.test.ts
stream-throttle.ts
titlebar-overlay-width.test.ts
titlebar-overlay-width.ts
update-count.test.ts
update-count.ts
update-gate.test.ts
update-gate.ts
update-marker.test.ts fix(desktop): refuse a second update hand-off while one is already live 2026-08-01 10:47:45 -07:00
update-marker.ts fix(desktop): refuse a second update hand-off while one is already live 2026-08-01 10:47:45 -07:00
update-rebuild.test.ts
update-rebuild.ts
update-relaunch.test.ts
update-relaunch.ts
update-remote.test.ts
update-remote.ts
updater-process.test.ts fix(desktop/windows): don't pre-write the update marker for stale installers 2026-08-01 20:43:01 -05:00
updater-process.ts fix(desktop/windows): don't pre-write the update marker for stale installers 2026-08-01 20:43:01 -05:00
venv-blocker-scan.test.ts
venv-blocker-scan.ts
vscode-marketplace.test.ts
vscode-marketplace.ts
wake-indicator-window.ts feat(desktop): add notch wake indicator 2026-08-01 14:30:11 -07:00
wake-indicator.test.ts fix(desktop): close wake indicator with main window 2026-08-01 14:30:11 -07:00
wake-indicator.ts feat(desktop): add notch wake indicator 2026-08-01 14:30:11 -07:00
window-state.test.ts
window-state.ts
windows-child-options.test.ts
windows-child-options.ts
windows-hermes-path.test.ts
windows-hermes-path.ts
windows-remote-lifecycle.test.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
windows-remote-lifecycle.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
windows-remote-live.test.ts
windows-sandbox-fallback.test.ts
windows-sandbox-fallback.ts
windows-system-ca.test.ts
windows-system-ca.ts
windows-user-env.test.ts
windows-user-env.ts
workspace-cwd.test.ts
workspace-cwd.ts
wsl-clipboard-image.test.ts
wsl-clipboard-image.ts
wsl-path-bridge.test.ts
wsl-path-bridge.ts
zoom.test.ts feat(desktop): add notch wake indicator 2026-08-01 14:30:11 -07:00
zoom.ts feat(desktop): add notch wake indicator 2026-08-01 14:30:11 -07:00