This plugin already injects some system info. I just need to config a string to add after the system info, e.g.
settings = {
initial_instrustions = 'You are running in nvim. Diagnostics means those from LSP in a nvim buffer. This MCP is available with current nvim ...blah blah',
}
Because I don't always run agents with nvim, this provides a logic way to give instructions unique to this plugin environment.
Without this feature, I may have to paste the same instructions around, or inject more instructions to every agent session to teach agents how to tell different environments that is a waste of tokens and pollution of context for most agents that don't run with nvim.
Because system info is already injected, I'd expect this is a minimal change that may include 10-20 lines of code. I can send PR if this is accepted.
This plugin already injects some system info. I just need to config a string to add after the system info, e.g.
Because I don't always run agents with nvim, this provides a logic way to give instructions unique to this plugin environment.
Without this feature, I may have to paste the same instructions around, or inject more instructions to every agent session to teach agents how to tell different environments that is a waste of tokens and pollution of context for most agents that don't run with nvim.
Because system info is already injected, I'd expect this is a minimal change that may include 10-20 lines of code. I can send PR if this is accepted.