ISSUE DESCRIPTION ssh Tunnel Model Transfer issue I have installed hermes in a Docker…
- User
ISSUE DESCRIPTION
ssh Tunnel Model Transfer issue I have installed hermes in a Docker Container on Ubuntu Server and Connection it with a Customer Router to a free nividea Neutron 120B Modell and it worked over Telegramm. (I used squid for blocking Special Download requests or webpages) Then I installed the Desktop App on Windows my Main pc, started it and connected via ssh but inside i just couldnt See the Model I Like „Coded in“ so I tried to Connect to via App but everytime I Go through the process of tipping everything it Lords and then Colosseum but the Modell doesnˋt Sems to change or Save.
Evaluation contract
Remote YAML lookup must resolve dotted paths only through direct children inside the selected indentation block and must not cross into sibling blocks or match a same-named key under another parent. Flat-key lookup is restricted to column zero. Return
nullfor missing parents or leaves, strip matching single or double quotes from returned values, and report offsets that point exactly to the raw value substring so writers can replace it safely. Support arbitrary nesting depth.Interface
Type: Interface Name: YamlPathHit Path: src/main/ssh-remote.ts Fields: value: string, valueStart: number, valueEnd: number Description: Result returned by YAML key lookup, containing the unquoted value and its exact source offsets.
Type: Function Name: findTopLevelKey Path: src/main/ssh-remote.ts Input: content: string, key: string Output: YamlPathHit | null Description: Resolves a key at column zero without matching nested occurrences.
Type: Function Name: findYamlPath Path: src/main/ssh-remote.ts Input: content: string, dottedPath: string Output: YamlPathHit | null Description: Resolves a dotted YAML path while respecting parent-child indentation boundaries.
ADDITIONAL ADVICE
Since you are given a git repository, you can use git commands to simplify your work. For example, if you made a mistake and want to revert your changes, you can use
git checkout <file>to restore the file to its original state. You can also reset all changes in the repository usinggit reset --hardcommand. Additionally, you can usegit stashandgit stash popto temporarily save your changes and restore them later. Finally, you can see the changes that you've made (which will be submitted when you callsubmit) usinggit statusorgit diffcommands. However you don't need to usegit addorgit commitbefore submitting your changes. In fact,submitonly submits currently unstaged changes because it usesgit diffto get the changes that need to be submitted.CHECKLIST
Before submitting your solution, please go over the following checklist and make sure you've done everything:
- If an error was reported in the issue description, I have successfully reproduced it.
- If an error was reported in the issue description, I have confirmed that my fix resolves the error.
- I have thought about edge cases and made sure my fix handles them as well.
- I have run existing tests in the repository that might have been affected by the change I made and confirmed that they pass. I want you to list every bullet from this checklist and write your reasoning for why you think you did it or didn't need to.
Repository has been uploaded and your shell is currently at the repository root. Time to solve the issue!
(Current directory: /hermes-desktop, current file: none) bash-$
- Assistant
I'll start by exploring the repository structure and the SSH remote YAML lookup code to understand the current behavior.
- Assistant
Next I'll inspect the YAML lookup implementation and its tests.
- Assistant
Let me search for findYamlPath and findTopLevelKey in the file.
- Assistant
rg is not available, use grep
- Assistant
Hmm nothing found? Maybe these functions don't exist yet and need to be created. Let me search more broadly.
- Assistant
Let me look at the config get/set functions around those lines.
- Assistant
I can see the problem clearly now. The
sshGetConfigValueandsshSetConfigValuejust do a naive regex match that: - Assistant
Looking at the issue more carefully:
- Assistant
Let me read config.ts for the local implementation and also check if there's any eval or agent guidance about this.
- Assistant
Let me check the hermes-agent skill and docs for config.yaml structure. Also let's look at git history for any partial implementations.
- Assistant
Let me look at the config structure for model settings in the hermes agent skill.
- Assistant
Inspecting how model paths and memory.provider are used across the codebase.
- Assistant
Let me look at getActiveMemoryProvider and how the local config expects nested keys. Also check if there are any sample configs.
- Assistant
Checking how the model section is structured in sample configs and setModelConfig.
- Assistant
I'll implement proper YAML path helpers and wire them into get/set config so nested model keys resolve correctly.
- Assistant
Need to open ssh-remote.ts first
- Assistant
Replacing the naive config get/set with indentation-aware YAML path helpers.
- Assistant
Cleaning up
sshGetConfigValueand verifying the model set/get logic. - Assistant
Let me clean up sshGetConfigValue and also readsshSetModelConfig fully.
- Assistant
There's a missing newline between sshSetConfigValue and sshGetHermesHome - minor. Let me fix that and also write a test script to verify the YAML path functions.
- Assistant
I'll write a temporary script to verify edge cases for the YAML path helpers.
- Assistant
Need absolute path
- Assistant
All path tests passed. Running the existing test suite next.
- Assistant
ssh-remote tests passed. Failures are pre-existing electron/env issues. Good.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
claude-sonnet-5Compare side by side →
claude-sonnet-5Compare side by side →
claude-sonnet-5Compare side by side →
claude-sonnet-5Compare side by side →
claude-sonnet-5Compare side by side →
Qwen/Qwen3.6-35B-A3BCompare side by side →
Qwen/Qwen3.6-35B-A3BCompare side by side →
Qwen/Qwen3.6-35B-A3BCompare side by side →
Qwen/Qwen3.6-27BCompare side by side →
Qwen/Qwen3.6-27BCompare side by side →
Qwen/Qwen3.6-27BCompare side by side →
Qwen/Qwen3.6-27BCompare side by side →