Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
424 commits
Select commit Hold shift + click to select a range
17fc84c
fix: repair malformed tool call args in streaming assembly before fla…
Apr 23, 2026
bb53d79
chore(release): map q19dcp@gmail.com -> aj-nt in AUTHOR_MAP
teknium1 Apr 24, 2026
2d444fc
fix(run_agent): handle unescaped control chars in tool_call arguments…
teknium1 Apr 24, 2026
0bcbc9e
docs(faq): Update docs on backups
AllardQuek Apr 24, 2026
ead66f0
fix(skills): apply inline shell in skill_view
helix4u Apr 24, 2026
2de8a7a
fix(skills): drop raw_content to avoid doubling skill payload
Apr 24, 2026
1dcf79a
feat: add slash command for busy input mode
alexg0bot Apr 13, 2026
08d5c9c
fix: Ctrl+D deletes char under cursor, only exits on empty input (bas…
iRonin Apr 3, 2026
ed91b79
fix(cli): keep Ctrl+D no-op when only attachments pending
teknium1 Apr 24, 2026
e3697e2
chore(release): map iRonin personal email to GitHub login
teknium1 Apr 24, 2026
e3a1a9c
chore(release): map julia@alexland.us -> alexg0bot in AUTHOR_MAP (#15…
teknium1 Apr 24, 2026
3e6c108
fix(gateway): honor queue mode in runner PRIORITY interrupt path
knockyai Apr 24, 2026
8ea389a
fix(gateway/config): coerce quoted boolean values in config parsing
Yukipukii1 Apr 24, 2026
fd3864d
feat(cli): wrap /compress in _busy_command to block input during comp…
iRonin Apr 24, 2026
7957da7
fix(web_server): hold _oauth_sessions_lock during PKCE session state …
sprmn24 Apr 24, 2026
a29bad2
fix(api-server): persist response snapshot on client disconnect when …
UgwujaGeorge Apr 24, 2026
36d68bc
fix(api-server): persist incomplete snapshot on asyncio.CancelledErro…
teknium1 Apr 24, 2026
c7d62b3
chore(release): map ebukau84@gmail.com -> UgwujaGeorge in AUTHOR_MAP
teknium1 Apr 24, 2026
c599a41
fix(auth): preserve corrupt auth.json and warn instead of silently re…
sprmn24 Apr 24, 2026
fd10463
fix(env): safely quote ~/ subpaths in wrapped cd commands
Yukipukii1 Apr 24, 2026
00c3d84
fix(memory): skip external-provider sync on interrupted turns (#15218)
briandevans Apr 24, 2026
f731c2c
fix(gateway/bluebubbles): align iMessage delivery with non-editable UX
benjaminsehl Apr 22, 2026
4fade39
chore(release): map benjaminsehl noreply email in AUTHOR_MAP
teknium1 Apr 24, 2026
93a2d6b
fix: add DeepSeek reasoning_content echo for tool-call messages
chen1749144759 Apr 24, 2026
e93cc93
chore(release): map chenzeshi@live.com -> chen1749144759 in AUTHOR_MAP
teknium1 Apr 24, 2026
d58b305
refactor(deepseek-reasoning): consolidate detection into helpers + re…
teknium1 Apr 24, 2026
19a3e2c
fix(gateway): follow compression continuations during /resume
simbam99 Apr 24, 2026
f14264c
chore(release): map simbamax99@gmail.com to @simbam99
teknium1 Apr 24, 2026
c34d3f4
fix(skills): factor HERMES_HOME resolution into shared _hermes_home h…
jerome-benoit Apr 20, 2026
629e108
chore(release): map jerome.benoit@sap.com to jerome-benoit
teknium1 Apr 24, 2026
13038dc
fix(skills): ship google-workspace deps as [google] extra; make setup…
teknium1 Apr 24, 2026
05d8f11
fix(/model): show provider-enforced context length, not raw models.de…
teknium1 Apr 25, 2026
3e61703
fix(nix): use --rebuild in fix-lockfiles to bypass cached FOD store p…
alt-glitch Apr 25, 2026
3cf1374
fix(matrix): bind PgCryptoStore device_id so fresh E2EE installs work
cgarwood82 Apr 24, 2026
2182de5
fix(matrix): drop needless DeviceID import + mock put_device_id in tests
cgarwood82 Apr 24, 2026
1c8ce33
fix(tui): proactive mouse disable on ConPTY + /mouse toggle command
Apr 25, 2026
0ed37c0
docs(delegate): document max_concurrent_children and max_spawn_depth …
MorAlekss Apr 24, 2026
0a59994
fix(cli-config): keep delegation overrides commented in example
teknium1 Apr 25, 2026
6407b3d
Merge pull request #15488 from kevin-ho/fix/tui-mouse-toggle
OutThisLife Apr 25, 2026
023b1bf
fix(delegate): resolve subagent approval prompts without deadlocking …
teknium1 Apr 25, 2026
e5647d7
docs: consolidate dashboard themes and plugins into Extending the Das…
teknium1 Apr 25, 2026
5401a00
fix: recalculate token budgets on model switch in ContextCompressor
vominh1919 Apr 25, 2026
9d7b64b
fix(tools): normalize numeric entries and clear stale no_mcp in _save…
alt-glitch Apr 24, 2026
9fde22d
fix the reset of model change by /model.
Readon Apr 23, 2026
df48562
chore(release): map Readon's git email to GitHub login
teknium1 Apr 25, 2026
f433197
feat(installer): FHS layout for root installs on Linux (#15608)
teknium1 Apr 25, 2026
5ac5365
feat(cron): add context_from field for cron job output chaining
MorAlekss Apr 23, 2026
e4a91cc
test(cron): add PermissionError coverage for context_from
MorAlekss Apr 23, 2026
eb92222
fix(cron): silent skip when context_from job has no output yet
MorAlekss Apr 25, 2026
0d548d1
fix(cron): wire context_from through the update action
teknium1 Apr 25, 2026
9830905
fix(tools): recover non-configurable toolsets from composite resolution
alt-glitch Apr 24, 2026
81987f0
feat(discord): split discord_server into discord + discord_admin tools
alt-glitch Apr 24, 2026
db09477
feat(feishu): wire feishu doc/drive tools into hermes-feishu composite
alt-glitch Apr 24, 2026
0702231
feat(session): add guild_id/parent_chat_id/message_id to SessionSource
alt-glitch Apr 24, 2026
47b02e9
feat(discord): populate guild_id, parent_chat_id, message_id on Sessi…
alt-glitch Apr 24, 2026
5ae07e7
fix(session): gate stale "no Discord APIs" note on DISCORD_BOT_TOKEN
alt-glitch Apr 24, 2026
591deeb
feat(session): inject Discord IDs block when discord tool is loaded
alt-glitch Apr 24, 2026
6ed37e0
feat(tools): make discord/discord_admin opt-in, Discord-only
teknium1 Apr 25, 2026
f67a61d
fix(flush_memories): strip temperature from codex_responses fallback …
teknium1 Apr 25, 2026
facea84
fix(auxiliary): retry without temperature when any provider rejects it
ash Apr 25, 2026
b35d692
chore(release): map ash@users.noreply.github.com to ash
teknium1 Apr 25, 2026
f92006c
fix(compression): reserve system+tools headroom when aux binds thresh…
teknium1 Apr 25, 2026
3c1c65e
fix(auxiliary): generalize unsupported-parameter detector and harden …
teknium1 Apr 25, 2026
ac05daa
fix(tools): dedupe bundled plugin toolsets with built-in entries (#15…
teknium1 Apr 25, 2026
6e561ff
fix(update): poll is-active instead of one-shot sleep(3) after gatewa…
teknium1 Apr 25, 2026
97d54f0
fix(terminal): three-layer defense against watch_patterns notificatio…
teknium1 Apr 25, 2026
af22421
feat(dashboard): page-scoped plugin slots for built-in pages (#15658)
teknium1 Apr 25, 2026
cf2fabc
docs(dashboard): document page-scoped plugin slots (#15662)
teknium1 Apr 25, 2026
d635e2d
fix(compression): pass provider to context length resolver in feasibi…
kshitijk4poor Apr 25, 2026
ea01bdc
refactor(memory): remove flush_memories entirely (#15696)
teknium1 Apr 25, 2026
7c8c031
feat: add `hermes -z <prompt>` one-shot mode (#15702)
teknium1 Apr 25, 2026
a9fa73a
feat(oneshot): add --model / --provider / HERMES_INFERENCE_MODEL (#15…
teknium1 Apr 25, 2026
5006b22
fix(update): honor RestartSec when polling for gateway respawn (#15707)
teknium1 Apr 25, 2026
7c17acc
fix: /stop now immediately aborts streaming retry loop
kshitijk4poor Apr 25, 2026
648b899
fix: use output_text for assistant message content in Codex Responses…
kshitijk4poor Apr 25, 2026
9daa062
fix(agent): ordering fix in _copy_reasoning_content_for_api — cross-p…
Zjianru Apr 25, 2026
ee0728c
Merge pull request #15351 from helix4u/fix/tui-rebuild-missing-ink-bu…
OutThisLife Apr 25, 2026
e9c47c7
fix(tui): honor launch model overrides
OutThisLife Apr 25, 2026
57b43fd
fix(tui): preserve provider precedence on startup
OutThisLife Apr 25, 2026
4db58d4
fix(tui): address startup provider review
OutThisLife Apr 25, 2026
2dfcc80
fix(tui): avoid network lookup during startup
OutThisLife Apr 25, 2026
e48a497
fix(tui): share static model detection
OutThisLife Apr 25, 2026
5e52011
fix(tui): bind provider as model alias
OutThisLife Apr 25, 2026
48bdd24
fix(tui): apply ui-tui fix pass and restore type-check
OutThisLife Apr 25, 2026
fdcbd22
fix(tui): resolve startup model aliases statically
OutThisLife Apr 25, 2026
a046483
fix(tui): share overlay close controls
OutThisLife Apr 25, 2026
c6fdf48
fix(tui): sync inference model after switches
OutThisLife Apr 25, 2026
6e83d90
refactor(tui): tighten overlay helpers
OutThisLife Apr 25, 2026
919274b
fix(tui): align overlay q shortcut casing
OutThisLife Apr 25, 2026
283c8fd
Merge pull request #15755 from NousResearch/bb/tui-model-flag
OutThisLife Apr 25, 2026
bcc5362
fix(tui): honor client copy shortcut over ssh
OutThisLife Apr 25, 2026
a68793b
refactor(tui): share remote shell detection
OutThisLife Apr 25, 2026
876bb60
fix(tui): trim whitespace-only selection chrome
OutThisLife Apr 25, 2026
132620b
refactor(tui): simplify remote copy hotkey hints
OutThisLife Apr 25, 2026
bba1694
fix(tui): preserve rendered indentation in selections
OutThisLife Apr 25, 2026
1735ced
fix(tui): preserve code block indentation in selection
OutThisLife Apr 25, 2026
bd66e55
fix(tui): track rendered spaces for selection copy
OutThisLife Apr 25, 2026
b1c18e5
refactor(tui): format screen imports
OutThisLife Apr 25, 2026
31d7f19
fix(tui): clamp copied selection bounds
OutThisLife Apr 25, 2026
edc78e2
Merge pull request #15766 from NousResearch/bb/tui-ssh-copy
OutThisLife Apr 25, 2026
88b65cc
Update run_agent.py
OutThisLife Apr 25, 2026
5ae6081
fix: remove has_reasoning guard — inject empty reasoning_content for …
Zjianru Apr 25, 2026
f93d462
Merge pull request #15749 from Zjianru/fix/copy-reasoning-content-ord…
OutThisLife Apr 25, 2026
47420a8
docs(obliteratus): link YouTube video guide in SKILL.md (#15808)
teknium1 Apr 25, 2026
dc4d92f
docs: embed tutorial videos on webhooks + auxiliary models pages (#15…
teknium1 Apr 25, 2026
ad0ac89
fix: DeepSeek/Kimi thinking mode requires reasoning_content on ALL as…
Apr 25, 2026
489bed6
Merge pull request #15478 from yes999zc/fix-deepseek-reasoning-all-as…
OutThisLife Apr 26, 2026
3944b22
fix(tui): suspend Ink properly when opening $EDITOR via Ctrl+G
OutThisLife Apr 26, 2026
c58956a
fix(tui): accept Alt+G as Ctrl+G fallback in VSCode/Cursor terminals
OutThisLife Apr 26, 2026
4c797bf
fix(cli): accept Alt+G as Ctrl+G fallback in VSCode/Cursor terminals
OutThisLife Apr 26, 2026
25ba6a4
fix(gateway): make reasoning session-scoped by default
irispillars Apr 25, 2026
b2d3308
fix(doctor): accept bare custom provider
helix4u Apr 25, 2026
01cf2c6
chore(release): map iris@growthpillars.co to irispillars (#15825)
teknium1 Apr 26, 2026
2c56dce
fix(model): preserve custom endpoint credentials and accept cloud mod…
kshitijk4poor Apr 25, 2026
5fac6c3
fix(cli): write editor draft to prompt.md so syntax highlighting works
OutThisLife Apr 26, 2026
1fdc31b
fix(config): preserve custom provider api key refs
helix4u Apr 26, 2026
8bbeaea
fix(config): broaden api-key ref lookup to templated base_url
teknium1 Apr 26, 2026
db7c573
fix: prefer vim over nano for $EDITOR fallback (CLI + TUI)
OutThisLife Apr 26, 2026
1b8ca92
fix(tui): save live transcript from slash command
helix4u Apr 25, 2026
2536a36
fix(tui): route /save through session.save JSON-RPC
teknium1 Apr 26, 2026
d056b61
fix: avoid prompt_toolkit complex tempfile bug and prefer nvim first
OutThisLife Apr 26, 2026
7fd8dc0
fix: preserve prompt_toolkit editor picker and mirror it in TUI
OutThisLife Apr 26, 2026
81e01f6
fix(agent): preserve Codex message items for replay
Nerijusas Apr 25, 2026
4d17013
chore(release): map nerijusn76@gmail.com to Nerijusas (#15833)
teknium1 Apr 26, 2026
83129e7
refactor(tui): tighten editor handoff helpers
OutThisLife Apr 26, 2026
45e1228
fix(cli): suppress OSError EIO on interrupt shutdown
voidborne-d Apr 21, 2026
edce752
chore(release): add AUTHOR_MAP entry for voidborne-d personal email
teknium1 Apr 26, 2026
1d80e92
test(discord): add guild to fake e2e messages
wysie Apr 25, 2026
14dd8e9
fix(tui): address Copilot review on editor handoff
OutThisLife Apr 26, 2026
ff851ba
Merge pull request #15821 from NousResearch/fix/tui-ctrl-g-editor
OutThisLife Apr 26, 2026
dc5e02e
feat(cli): implement hermes update --check flag (fixes #10318)
Feranmi10 Apr 25, 2026
ce0513d
chore(release): map Feranmi10 personal email
teknium1 Apr 26, 2026
0a15dbd
feat(api_server): add POST /v1/runs/{run_id}/stop endpoint
EKKOLearnAI Apr 25, 2026
01535a4
fix(api_server): cap stop-run wait at 5s so interrupt can't hang handler
teknium1 Apr 26, 2026
4c591c2
chore(release): map fqsy1416@gmail.com to EKKOLearnAI
teknium1 Apr 26, 2026
125de02
fix(context): honor custom_providers context_length on /model switch …
teknium1 Apr 26, 2026
3a7653d
feat: Add Azure Foundry provider with OpenAI/Anthropic API mode selec…
TechPrototyper Apr 13, 2026
6ef3a47
fix: use Azure API key directly for Azure endpoints, bypass OAuth tok…
HangGlidersRule Apr 1, 2026
d8e4c72
fix: Azure Anthropic short-circuit in resolve_runtime_provider — bypa…
HangGlidersRule Apr 2, 2026
7bfa944
fix: skip OAuth token refresh for Azure Anthropic endpoints — prevent…
HangGlidersRule Apr 2, 2026
c15064f
fix: pass api-version as default_query param, not in base_url — SDK w…
HangGlidersRule Apr 2, 2026
24b4b24
fix: preserve URL query params for Azure OpenAI and custom endpoints
pein892 Apr 13, 2026
ac57114
fix(agent): support Azure OpenAI gpt-5.x on chat/completions endpoint
ak771977 Apr 26, 2026
731e1ef
feat(azure-foundry): auto-detect transport, models, context length
teknium1 Apr 26, 2026
7c50ed7
docs(azure-foundry): add provider guide, env vars, release AUTHOR_MAP
teknium1 Apr 26, 2026
91a7a0a
fix(tui): restore skills search RPC
OutThisLife Apr 26, 2026
cec0af0
Merge pull request #15870 from NousResearch/bb/fix-skills-search
OutThisLife Apr 26, 2026
a55de5b
feat(setup): auto-reconfigure on existing installs (#15879)
teknium1 Apr 26, 2026
eb28145
feat(approval): hardline blocklist for unrecoverable commands (#15878)
teknium1 Apr 26, 2026
59b56d4
feat(hooks): add duration_ms to post_tool_call + transform_tool_resul…
teknium1 Apr 26, 2026
192e7eb
fix(nous): don't trip cross-session rate breaker on upstream-capacity…
teknium1 Apr 26, 2026
76042f5
feat(review): class-first skill review prompt (#16026)
teknium1 Apr 26, 2026
2ccdadc
fix(deepseek): bump V4 family context window to 1M tokens
zkl2333 Apr 24, 2026
438db0c
fix(cli): /model picker honors provider-specific context caps (#16030)
teknium1 Apr 26, 2026
d09ab8f
fix(mcp-oauth): preserve server_url path for protected-resource valid…
teknium1 Apr 26, 2026
8553669
feat(models): remote model catalog manifest for OpenRouter + Nous Por…
teknium1 Apr 26, 2026
a562420
fix(tui): robust clipboard handling with debug logging and headless d…
0xharryriddle Apr 26, 2026
0f3a6f0
fix(clipboard): dashboard Ctrl+C direct copy; TUI honest feedback; HE…
0xharryriddle Apr 26, 2026
2511207
chore: revert docs
0xharryriddle Apr 26, 2026
e8441c4
fix(clipboard): report native/tmux success, keep Ctrl+Shift+C on dash…
teknium1 Apr 26, 2026
35c57cc
fix(gateway): suppress tool-progress bubbles after interrupt (#16034)
teknium1 Apr 26, 2026
67dcace
docs(config): show options in comments for display settings (#16038)
teknium1 Apr 26, 2026
4bda9dc
fix(gateway): honor voice.auto_tts config in auto-TTS gate (#16007) (…
teknium1 Apr 26, 2026
83c1c20
feat(onboarding): contextual first-touch hints for /busy and /verbose…
teknium1 Apr 26, 2026
1e37ddc
feat(cli): add 'hermes fallback' command to manage fallback providers…
teknium1 Apr 26, 2026
ffd2621
feat(onboarding): port first-touch hints to the TUI (#16054)
teknium1 Apr 26, 2026
9a70260
Revert "feat(onboarding): port first-touch hints to the TUI (#16054)"…
teknium1 Apr 26, 2026
7fa70b6
refactor: /btw is now an alias for /background (#16053)
teknium1 Apr 26, 2026
70f56e7
fix(gateway): let /btw dispatch mid-turn instead of being rejected
teknium1 Apr 26, 2026
454d883
refactor: drop persist_session plumbing + fix broken btw mid-turn byp…
teknium1 Apr 26, 2026
15937a6
feat(kanban): durable multi-profile collaboration board (#16081)
teknium1 Apr 26, 2026
63bf7a2
fix(run_agent): prevent reasoning_content regression in DeepSeek/Kimi…
Apr 26, 2026
c5196f1
chore(release): map focusflow.app.help@gmail.com to yes999zc
teknium1 Apr 26, 2026
9ef1ae1
fix(docker): don't chown config.yaml after gosu drop (#15865) (#16096)
teknium1 Apr 26, 2026
06f8175
Revert "feat(kanban): durable multi-profile collaboration board (#160…
teknium1 Apr 26, 2026
e3901d5
fix(run_agent): background review fork inherits parent's live runtime…
teknium1 Apr 26, 2026
8443998
fix(auth): resolve API keys from ~/.hermes/.env and credential_pool
zzy-git Apr 26, 2026
27f4dba
test: add unit tests for credential pool env fallback
zzy-git Apr 26, 2026
f2d6555
fix(auth): hoist get_env_value import + strengthen .env fallback tests
teknium1 Apr 26, 2026
d7a3468
fix(prompts): replace [SYSTEM: with [IMPORTANT: to avoid Azure conten…
ygd58 Apr 9, 2026
20cb706
chore: extend [SYSTEM:→[IMPORTANT: rename + AUTHOR_MAP
teknium1 Apr 26, 2026
de24315
fix(gateway): preserve inactivity clock on interrupt-recursive cached…
briandevans Apr 25, 2026
4e35609
fixup! fix(gateway): preserve inactivity clock on interrupt-recursive…
briandevans Apr 26, 2026
eaa7e2d
feat(cli,tui): surface /queue, /bg, /steer in agent-running placehold…
teknium1 Apr 26, 2026
0e2a53e
feat(skills): show enabled/disabled status in 'skills list' (#16129)
teknium1 Apr 26, 2026
42c076d
feat(browser): auto-spawn local Chromium for LAN/localhost URLs in cl…
teknium1 Apr 26, 2026
0824ba6
fix(/branch): redirect session_log_file and expose branch sessions in…
teknium1 Apr 26, 2026
9662e32
fix(tui): call maybe_auto_title for TUI sessions (#15949) (#16151)
teknium1 Apr 26, 2026
9397767
chore(skills): remove empty feeds category (#16153)
teknium1 Apr 26, 2026
9be8372
docs(docker-backend): clarify container is shared across sessions, no…
teknium1 Apr 26, 2026
087e74d
feat(slack): register every gateway command as a native slash (Discor…
teknium1 Apr 26, 2026
5b2c595
feat(terminal): collapse subagent task_ids to shared container (#16177)
teknium1 Apr 26, 2026
1dfcc2f
fix(gateway): /queue is now a true FIFO — each invocation gets its ow…
teknium1 Apr 26, 2026
d993a3f
fix(gateway): use /hermes sethome in onboarding hint on Slack
zhiyanliu Apr 23, 2026
c730f6c
test(gateway): cover Slack vs non-Slack home-channel onboarding hint
sgaofen Apr 26, 2026
ae7687c
chore(release): map zhiyanliu in AUTHOR_MAP
teknium1 Apr 26, 2026
b1be86e
fix(gateway): bridge slack.reply_in_thread config
briandevans Apr 15, 2026
4b5a88d
fix(slack): honor reply_in_thread=false for top-level channel messages
teknium1 Apr 26, 2026
897dc3a
fix(install+update): add /usr/local/bin PATH guard for RHEL root non-…
teknium1 Apr 26, 2026
aea4a90
feat(slack): add opt-in slack.strict_mention gate for channel threads
ching-kaching Apr 18, 2026
50dd67c
fix(slack): skip _mentioned_threads registration when strict_mention …
hhhonzik Apr 26, 2026
878c196
chore(release): map hhhonzik in AUTHOR_MAP
teknium1 Apr 26, 2026
4d119bb
test: blank platform-gating env vars in hermetic fixture
teknium1 Apr 26, 2026
541cd73
chore(models): drop deepseek from OpenRouter and Nous Portal curated …
teknium1 Apr 26, 2026
802c7ac
fix(Slack): resolve Slack channels by raw ID and enumerate joined cha…
hhuang91 Apr 26, 2026
75d3eaa
fix(slack): exclude U/W user IDs from explicit target regex
briandevans Apr 26, 2026
6a3102f
chore(release): map hhuang91 in AUTHOR_MAP
teknium1 Apr 26, 2026
10e3618
fix(cli): wire approvals in background tasks
helix4u Apr 26, 2026
c0d25df
fix(slack): preserve thread-parent context when cron/bot posted the p…
Satoshi-agi Apr 19, 2026
f414df3
fix(slack): include team_id in thread-context cache key
flobo3 Apr 19, 2026
f988513
fix(slack): download files in Slack Connect channels
kunlabs Apr 26, 2026
edadeaf
chore(release): map Satoshi-agi and kunlabs in AUTHOR_MAP
teknium1 Apr 26, 2026
2d86e97
fix(run_agent): shut down background review memory providers
mrhwick Apr 24, 2026
36e352a
preserve the original comment
mrhwick Apr 24, 2026
aa7b5ac
pass attribution check
mrhwick Apr 24, 2026
45bfcb9
test: update bare-agent helper for live-runtime attrs added by #16099
teknium1 Apr 26, 2026
778fd18
fix(slack): surface attachment access diagnostics
xinbenlv Apr 26, 2026
bf05b8f
fix(gateway): clean up cached agents on shutdown (#11205)
Tranquil-Flow Apr 20, 2026
18beb69
fix(memory): close embedded Hindsight async client cleanly
maxims-oss Apr 26, 2026
822b507
chore(release): map maxims-oss in AUTHOR_MAP
teknium1 Apr 26, 2026
4921b26
fix(cron): keep homeassistant toolset enabled when HASS_TOKEN is set …
teknium1 Apr 26, 2026
6087e04
fix(slack): extract rich_text quotes/lists and link unfurl previews
Wang-tianhao Apr 26, 2026
755a280
chore(release): map Wang-tianhao in AUTHOR_MAP
teknium1 Apr 26, 2026
b16f9d4
feat(telegram): send fresh finals for stale preview streams (port ope…
teknium1 Apr 27, 2026
e818ec5
fix(slack): harden attachment handling
ghostmfr Apr 27, 2026
5db6db8
chore(release): map ghostmfr in AUTHOR_MAP
teknium1 Apr 27, 2026
930494d
fix(cron): reap orphaned MCP stdio subprocesses after each tick
crearch Apr 20, 2026
8747775
chore(release): map Ito-69 in AUTHOR_MAP
teknium1 Apr 27, 2026
635253b
feat(busy): add 'steer' as a third display.busy_input_mode option (#1…
teknium1 Apr 27, 2026
8fb861e
feat(gateway/slack): support channel_skill_bindings
mewwts Apr 22, 2026
2a0fc97
chore(release): map mewwts in AUTHOR_MAP
teknium1 Apr 27, 2026
7317d69
fix(security): treat quoted false as false in browser SSRF guards
Yukipukii1 Apr 26, 2026
0ba6471
fix: recover hindsight embedded daemon after idle shutdown
wysie Apr 25, 2026
3b60abb
fix(sessions): delete on-disk transcript files during prune and delet…
SeeYangZhi Apr 9, 2026
cd2aee3
test(sessions): wire sessions_dir through auto-prune + file-cleanup r…
teknium1 Apr 27, 2026
fd474d0
fix(gateway): avoid cross-user mirror writes in per-user group sessions
hharry11 Apr 26, 2026
a01e767
fix(gateway): respect config.yaml slack.enabled when SLACK_BOT_TOKEN …
haru398801 Apr 25, 2026
7eaad06
fix(gateway): default Slack tool_progress to off
xnbi Apr 23, 2026
55f212a
fix(slack): honor NO_PROXY for Slack transport
badgerbees Apr 18, 2026
bdc1adf
chore(release): map haru398801, badgerbees, xnbi in AUTHOR_MAP
teknium1 Apr 27, 2026
bdaf56a
fix(gateway): bypass slash commands during pending update prompts
Yukipukii1 Apr 26, 2026
90c84c6
fix(gateway): unblock update subprocess on recognized-command bypass
teknium1 Apr 27, 2026
5b5a53a
fix(cli): check hermes_cli/web_dist/ not web/dist/ for build staleness
Apr 26, 2026
f01e440
chore(release): map georgeglessner in AUTHOR_MAP
teknium1 Apr 27, 2026
c997183
feat(skills): add bundled Airtable productivity skill
Sonoyunchu Apr 26, 2026
0d4247d
fix(skills/airtable): use .env credential pattern matching notion/linear
teknium1 Apr 27, 2026
55e9329
feat(config): register bundled-skill API keys in OPTIONAL_ENV_VARS
teknium1 Apr 27, 2026
0bef0b9
chore: docs + attribution for airtable skill
teknium1 Apr 27, 2026
7e3c8a3
feat(skills/airtable): tailor skill to Hermes idioms + expand cookbook
teknium1 Apr 27, 2026
3513361
chore: merge upstream main into dy-main (upstream sync 2026-04-26)
donovan-yohan Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Extract skill metadata for dashboard
run: python3 website/scripts/extract-skills.py

- name: Regenerate per-skill docs pages + catalogs
run: python3 website/scripts/generate-skill-docs.py

- name: Build skills index (if not already present)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs-site-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Extract skill metadata for dashboard
run: python3 website/scripts/extract-skills.py

- name: Regenerate per-skill docs pages + catalogs
run: python3 website/scripts/generate-skill-docs.py

- name: Lint docs diagrams
run: npm run lint:diagrams
working-directory: website
Expand Down
13 changes: 13 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,19 @@ npm run fmt # prettier
npm test # vitest
```

### TUI in the Dashboard (`hermes dashboard` → `/chat`)

The dashboard embeds the real `hermes --tui` — **not** a rewrite. See `hermes_cli/pty_bridge.py` + the `@app.websocket("/api/pty")` endpoint in `hermes_cli/web_server.py`.

- Browser loads `web/src/pages/ChatPage.tsx`, which mounts xterm.js's `Terminal` with the WebGL renderer, `@xterm/addon-fit` for container-driven resize, and `@xterm/addon-unicode11` for modern wide-character widths.
- `/api/pty?token=…` upgrades to a WebSocket; auth uses the same ephemeral `_SESSION_TOKEN` as REST, via query param (browsers can't set `Authorization` on WS upgrade).
- The server spawns whatever `hermes --tui` would spawn, through `ptyprocess` (POSIX PTY — WSL works, native Windows does not).
- Frames: raw PTY bytes each direction; resize via `\x1b[RESIZE:<cols>;<rows>]` intercepted on the server and applied with `TIOCSWINSZ`.

**Do not re-implement the primary chat experience in React.** The main transcript, composer/input flow (including slash-command behavior), and PTY-backed terminal belong to the embedded `hermes --tui` — anything new you add to Ink shows up in the dashboard automatically. If you find yourself rebuilding the transcript or composer for the dashboard, stop and extend Ink instead.

**Structured React UI around the TUI is allowed when it is not a second chat surface.** Sidebar widgets, inspectors, summaries, status panels, and similar supporting views (e.g. `ChatSidebar`, `ModelPickerDialog`, `ToolCall`) are fine when they complement the embedded TUI rather than replacing the transcript / composer / terminal. Keep their state independent of the PTY child's session and surface their failures non-destructively so the terminal pane keeps working unimpaired.

---

## Adding New Tools
Expand Down
16 changes: 12 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ ENV PYTHONUNBUFFERED=1
ENV PLAYWRIGHT_BROWSERS_PATH=/opt/hermes/.playwright

# Install system dependencies in one layer, clear APT cache
# tini reaps orphaned zombie processes (MCP stdio subprocesses, git, bun, etc.)
# that would otherwise accumulate when hermes runs as PID 1. See #15012.
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential nodejs npm python3 ripgrep ffmpeg gcc python3-dev libffi-dev procps git openssh-client docker-cli && \
build-essential nodejs npm python3 ripgrep ffmpeg gcc python3-dev libffi-dev procps git openssh-client docker-cli tini && \
rm -rf /var/lib/apt/lists/*

# Non-root user for runtime; UID can be overridden via HERMES_UID at runtime
Expand Down Expand Up @@ -41,9 +43,15 @@ COPY --chown=hermes:hermes . .
# Build web dashboard (Vite outputs to hermes_cli/web_dist/)
RUN cd web && npm run build

# ---------- Permissions ----------
# Make install dir world-readable so any HERMES_UID can read it at runtime.
# The venv needs to be traversable too.
USER root
RUN chmod -R a+rX /opt/hermes
# Start as root so the entrypoint can usermod/groupmod + gosu.
# If HERMES_UID is unset, the entrypoint drops to the default hermes user (10000).

# ---------- Python virtualenv ----------
RUN chown hermes:hermes /opt/hermes
USER hermes
RUN uv venv && \
uv pip install --no-cache-dir -e ".[all]"

Expand All @@ -52,4 +60,4 @@ ENV HERMES_WEB_DIST=/opt/hermes/hermes_cli/web_dist
ENV HERMES_HOME=/opt/data
ENV PATH="/opt/data/.local/bin:${PATH}"
VOLUME [ "/opt/data" ]
ENTRYPOINT [ "/opt/hermes/docker/entrypoint.sh" ]
ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "/opt/hermes/docker/entrypoint.sh" ]
12 changes: 9 additions & 3 deletions acp_adapter/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
make_tool_progress_cb,
)
from acp_adapter.permissions import make_approval_callback
from acp_adapter.session import SessionManager, SessionState
from acp_adapter.session import SessionManager, SessionState, _expand_acp_enabled_toolsets

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -287,7 +287,11 @@ async def _register_session_mcp_servers(
try:
from model_tools import get_tool_definitions

enabled_toolsets = getattr(state.agent, "enabled_toolsets", None) or ["hermes-acp"]
enabled_toolsets = _expand_acp_enabled_toolsets(
getattr(state.agent, "enabled_toolsets", None) or ["hermes-acp"],
mcp_server_names=[server.name for server in mcp_servers],
)
state.agent.enabled_toolsets = enabled_toolsets
disabled_toolsets = getattr(state.agent, "disabled_toolsets", None)
state.agent.tools = get_tool_definitions(
enabled_toolsets=enabled_toolsets,
Expand Down Expand Up @@ -754,7 +758,9 @@ def _cmd_model(self, args: str, state: SessionState) -> str:
def _cmd_tools(self, args: str, state: SessionState) -> str:
try:
from model_tools import get_tool_definitions
toolsets = getattr(state.agent, "enabled_toolsets", None) or ["hermes-acp"]
toolsets = _expand_acp_enabled_toolsets(
getattr(state.agent, "enabled_toolsets", None) or ["hermes-acp"]
)
tools = get_tool_definitions(enabled_toolsets=toolsets, quiet_mode=True)
if not tools:
return "No tools available."
Expand Down
29 changes: 28 additions & 1 deletion acp_adapter/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,24 @@ def _register_task_cwd(task_id: str, cwd: str) -> None:
logger.debug("Failed to register ACP task cwd override", exc_info=True)


def _expand_acp_enabled_toolsets(
toolsets: List[str] | None = None,
mcp_server_names: List[str] | None = None,
) -> List[str]:
"""Return ACP toolsets plus explicit MCP server toolsets for this session."""
expanded: List[str] = []
for name in list(toolsets or ["hermes-acp"]):
if name and name not in expanded:
expanded.append(name)

for server_name in list(mcp_server_names or []):
toolset_name = f"mcp-{server_name}"
if server_name and toolset_name not in expanded:
expanded.append(toolset_name)

return expanded


def _clear_task_cwd(task_id: str) -> None:
"""Remove task-specific cwd overrides for an ACP session."""
if not task_id:
Expand Down Expand Up @@ -537,9 +555,18 @@ def _make_agent(
elif isinstance(model_cfg, str) and model_cfg.strip():
default_model = model_cfg.strip()

configured_mcp_servers = [
name
for name, cfg in (config.get("mcp_servers") or {}).items()
if not isinstance(cfg, dict) or cfg.get("enabled", True) is not False
]

kwargs = {
"platform": "acp",
"enabled_toolsets": ["hermes-acp"],
"enabled_toolsets": _expand_acp_enabled_toolsets(
["hermes-acp"],
mcp_server_names=configured_mcp_servers,
),
"quiet_mode": True,
"session_id": session_id,
"model": model or default_model,
Expand Down
130 changes: 122 additions & 8 deletions agent/anthropic_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import json
import logging
import os
import platform
import subprocess
from pathlib import Path

from hermes_constants import get_hermes_home
Expand Down Expand Up @@ -277,8 +279,9 @@ def _is_oauth_token(key: str) -> bool:
Positively identifies Anthropic OAuth tokens by their key format:
- ``sk-ant-`` prefix (but NOT ``sk-ant-api``) → setup tokens, managed keys
- ``eyJ`` prefix → JWTs from the Anthropic OAuth flow
- ``cc-`` prefix → Claude Code OAuth access tokens (from CLAUDE_CODE_OAUTH_TOKEN)

Non-Anthropic keys (MiniMax, Alibaba, etc.) don't match either pattern
Non-Anthropic keys (MiniMax, Alibaba, etc.) don't match any pattern
and correctly return False.
"""
if not key:
Expand All @@ -292,6 +295,9 @@ def _is_oauth_token(key: str) -> bool:
# JWTs from Anthropic OAuth flow
if key.startswith("eyJ"):
return True
# Claude Code OAuth access tokens (opaque, from CLAUDE_CODE_OAUTH_TOKEN)
if key.startswith("cc-"):
return True
return False


Expand Down Expand Up @@ -384,7 +390,16 @@ def build_anthropic_client(api_key: str, base_url: str = None, timeout: float =
"timeout": Timeout(timeout=float(_read_timeout), connect=10.0),
}
if normalized_base_url:
kwargs["base_url"] = normalized_base_url
# Azure Anthropic endpoints require an ``api-version`` query parameter.
# Pass it via default_query so the SDK appends it to every request URL
# without corrupting the base_url (appending it directly produces
# malformed paths like /anthropic?api-version=.../v1/messages).
_is_azure_endpoint = "azure.com" in normalized_base_url.lower()
if _is_azure_endpoint and "api-version" not in normalized_base_url:
kwargs["base_url"] = normalized_base_url.rstrip("/")
kwargs["default_query"] = {"api-version": "2025-04-15"}
else:
kwargs["base_url"] = normalized_base_url
common_betas = _common_betas_for_base_url(normalized_base_url)

if _is_kimi_coding_endpoint(base_url):
Expand Down Expand Up @@ -461,8 +476,72 @@ def build_anthropic_bedrock_client(region: str):
)


def _read_claude_code_credentials_from_keychain() -> Optional[Dict[str, Any]]:
"""Read Claude Code OAuth credentials from the macOS Keychain.

Claude Code >=2.1.114 stores credentials in the macOS Keychain under the
service name "Claude Code-credentials" rather than (or in addition to)
the JSON file at ~/.claude/.credentials.json.

The password field contains a JSON string with the same claudeAiOauth
structure as the JSON file.

Returns dict with {accessToken, refreshToken?, expiresAt?} or None.
"""
import platform
import subprocess

if platform.system() != "Darwin":
return None

try:
# Read the "Claude Code-credentials" generic password entry
result = subprocess.run(
["security", "find-generic-password",
"-s", "Claude Code-credentials",
"-w"],
capture_output=True,
text=True,
timeout=5,
)
except (OSError, subprocess.TimeoutExpired):
logger.debug("Keychain: security command not available or timed out")
return None

if result.returncode != 0:
logger.debug("Keychain: no entry found for 'Claude Code-credentials'")
return None

raw = result.stdout.strip()
if not raw:
return None

try:
data = json.loads(raw)
except json.JSONDecodeError:
logger.debug("Keychain: credentials payload is not valid JSON")
return None

oauth_data = data.get("claudeAiOauth")
if oauth_data and isinstance(oauth_data, dict):
access_token = oauth_data.get("accessToken", "")
if access_token:
return {
"accessToken": access_token,
"refreshToken": oauth_data.get("refreshToken", ""),
"expiresAt": oauth_data.get("expiresAt", 0),
"source": "macos_keychain",
}

return None


def read_claude_code_credentials() -> Optional[Dict[str, Any]]:
"""Read refreshable Claude Code OAuth credentials from ~/.claude/.credentials.json.
"""Read refreshable Claude Code OAuth credentials.

Checks two sources in order:
1. macOS Keychain (Darwin only) — "Claude Code-credentials" entry
2. ~/.claude/.credentials.json file

This intentionally excludes ~/.claude.json primaryApiKey. Opencode's
subscription flow is OAuth/setup-token based with refreshable credentials,
Expand All @@ -471,6 +550,12 @@ def read_claude_code_credentials() -> Optional[Dict[str, Any]]:

Returns dict with {accessToken, refreshToken?, expiresAt?} or None.
"""
# Try macOS Keychain first (covers Claude Code >=2.1.114)
kc_creds = _read_claude_code_credentials_from_keychain()
if kc_creds:
return kc_creds

# Fall back to JSON file
cred_path = Path.home() / ".claude" / ".credentials.json"
if cred_path.exists():
try:
Expand Down Expand Up @@ -641,7 +726,9 @@ def _write_claude_code_credentials(
existing["claudeAiOauth"] = oauth_data

cred_path.parent.mkdir(parents=True, exist_ok=True)
cred_path.write_text(json.dumps(existing, indent=2), encoding="utf-8")
_tmp_cred = cred_path.with_suffix(".tmp")
_tmp_cred.write_text(json.dumps(existing, indent=2), encoding="utf-8")
_tmp_cred.replace(cred_path)
# Restrict permissions (credentials file)
cred_path.chmod(0o600)
except (OSError, IOError) as e:
Expand Down Expand Up @@ -908,18 +995,46 @@ def read_hermes_oauth_credentials() -> Optional[Dict[str, Any]]:
# ---------------------------------------------------------------------------


def _is_bedrock_model_id(model: str) -> bool:
"""Detect AWS Bedrock model IDs that use dots as namespace separators.

Bedrock model IDs come in two forms:
- Bare: ``anthropic.claude-opus-4-7``
- Regional (inference profiles): ``us.anthropic.claude-sonnet-4-5-v1:0``

In both cases the dots separate namespace components, not version
numbers, and must be preserved verbatim for the Bedrock API.
"""
lower = model.lower()
# Regional inference-profile prefixes
if any(lower.startswith(p) for p in ("global.", "us.", "eu.", "ap.", "jp.")):
return True
# Bare Bedrock model IDs: provider.model-family
if lower.startswith("anthropic."):
return True
return False


def normalize_model_name(model: str, preserve_dots: bool = False) -> str:
"""Normalize a model name for the Anthropic API.

- Strips 'anthropic/' prefix (OpenRouter format, case-insensitive)
- Converts dots to hyphens in version numbers (OpenRouter uses dots,
Anthropic uses hyphens: claude-opus-4.6 → claude-opus-4-6), unless
preserve_dots is True (e.g. for Alibaba/DashScope: qwen3.5-plus).
- Preserves Bedrock model IDs (``anthropic.claude-opus-4-7``) and
regional inference profiles (``us.anthropic.claude-*``) whose dots
are namespace separators, not version separators.
"""
lower = model.lower()
if lower.startswith("anthropic/"):
model = model[len("anthropic/"):]
if not preserve_dots:
# Bedrock model IDs use dots as namespace separators
# (e.g. "anthropic.claude-opus-4-7", "us.anthropic.claude-*").
# These must not be converted to hyphens. See issue #12295.
if _is_bedrock_model_id(model):
return model
# OpenRouter uses dots for version separators (claude-opus-4.6),
# Anthropic uses hyphens (claude-opus-4-6). Convert dots to hyphens.
model = model.replace(".", "-")
Expand Down Expand Up @@ -1574,9 +1689,9 @@ def build_anthropic_kwargs(

# ── Strip sampling params on 4.7+ ─────────────────────────────────
# Opus 4.7 rejects any non-default temperature/top_p/top_k with a 400.
# Callers (auxiliary_client, flush_memories, etc.) may set these for
# older models; drop them here as a safety net so upstream 4.6 → 4.7
# migrations don't require coordinated edits everywhere.
# Callers (auxiliary_client, etc.) may set these for older models;
# drop them here as a safety net so upstream 4.6 → 4.7 migrations
# don't require coordinated edits everywhere.
if _forbids_sampling_params(model):
for _sampling_key in ("temperature", "top_p", "top_k"):
kwargs.pop(_sampling_key, None)
Expand All @@ -1598,4 +1713,3 @@ def build_anthropic_kwargs(
return kwargs



Loading
Loading