addyCooks
addyCooks
## Description If `nanocoder-preferences.json` cannot be parsed (for example a hand edit left a trailing comma), `loadPreferences()` returns `{}` and the next save writes only the one changed setting. All...
## Description `isToolSupportError` treats every 400 containing words like "tool", "function" or "invalid ... function" as "this model does not support tools". The model is then added to a process-wide...
[Bug] git_diff passes "base" to git unchecked, so --output=<file> lets a read-only tool write files
## Description `git_diff` appends the model-supplied `base` value to the git command line. A value like `--output=` makes git write the diff to that path. `git_diff` is marked `readOnly` and...
## Description In the XML fallback, a parameter whose text looks like JSON is parsed, and `ensureString` later turns it back into a string with `JSON.stringify`. A pretty-printed `package.json` is...
## Description If `stats.json` is corrupt, or was written by a newer Nanocoder (version 3), reading it fails and the next save writes a fresh empty ledger. Lifetime totals are...
## Summary Parsing a large reply that contains many opening tags without closing tags (such as ``) takes seconds and blocks the UI thread. The JSON tool-call scan already has...
## Description Reading a session, adding messages and saving it is not protected against another process doing the same. The last writer wins and the other process's messages are lost...
## Description The checkpoint code reads file names from `git diff --name-only` and `git ls-files` without turning off git's path quoting. A file such as `café.txt` comes back as `"caf\303\251.txt"`...
[Bug] LSP client resolves a pending request when the server sends its own request with the same id
## Description `handleMessage` treats any message with an `id` as the response to one of our requests. Language servers also send requests of their own (for example `workspace/configuration` or `client/registerCapability`)...
## Description On Windows, saving a session throws `EPERM: operation not permitted, rename ... sessions.json..tmp` if another process is reading `sessions.json` at that moment. The session file is written but...