A report attributes a 3.5-second timeout to differing prompt strings in two DSH shell tools. After changing a constant, the reported command time fell from 3,600 ms to 158 ms.
A post reports that terminal-bash and tool-bash-persistent in DSH use different prompt strings. According to the author, the mismatch triggers a 3.5-second timeout and delays shell commands.
To investigate a similar case, compare the prompt settings used by the tools involved and check where the wait occurs. Record execution times before changing code so you have a reproducible baseline.
In the reported case, changing the prompt constant reduced one command's latency from 3,600 ms to 158 ms. That is the result of that test, not a guarantee that the same change will help in other environments. Make changes carefully and repeat the measurement.
If you use AI to study or apply the idea, share only necessary snippets and remove credentials, personal data, and sensitive internal details. Check the response against your environment's code and tests before adopting a change.