agentes-runner (AI agent process runner) on Windows
Raw Developer Origin & Technical Request
GitHub Issue
Nov 13, 2026
### What happened?
**Erro:** `Error processing --setting-sources: Invalid setting source: --tools. Valid options are: user, project, local`
**Ambiente:** Windows 11 Pro x64 · agentes-runner 0.12.0 (protocol 55) em Bun 1.4.4 · Claude Code 2.1.322 (login com assinatura claude.ai) · servidor agentes.chat v0.1.1 self-hosted.
### Causa
`claudeBrainArgs()` passa `["--setting-sources", ""]`. No Windows, com `command = ["claude"]`, `ClaudeProcess` cria o processo com `shell: process.platform === "win32" && command.length === 1`. Com `shell: true`, os argumentos são juntados sem aspas numa linha do `cmd.exe` e a string vazia some. O Claude recebe `--setting-sources --tools Read,...` e lê `--tools` como valor. O mesmo vale para `CLAUDE_PROBE_ARGS` em `jsonLines()`. No Linux e no macOS não há shell, então não acontece.
### Reprodução (Bun, `shell: true`, filho imprime o argv)
```
sem correção: ["--setting-sources","--tools","Read,Edit"]
com correção: ["--setting-sources","","--tools","Read,Edit"]
```
### Correção aplicada localmente
```diff
+// PATCH local (Windows): com shell:true o cmd.exe descarta argumentos vazios, ex.: --setting-sources ""
+function winShellArgs(args, shell) {
+ return shell ? args.map((a) => a === "" ? '""' : a) : args;
+}
```
```diff
// class ClaudeProcess (processo dos agentes)
- this.child = start(resolveCommand(file ?? "claude", env.PATH), [...pre, ...args], {
+ this.child = start(resolveCommand(file ?? "claude", env.PATH), winShellArgs([...pre, ....
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from agentes-chat/agentes-chat.
Frequently Asked Questions
Market intelligence mapped to agentes-runner (AI agent process runner) on Windows.
What problem does agentes-runner (AI agent process runner) on Windows solve?
Are engineers actively discussing agentes-runner (AI agent process runner) on Windows?
What are the foundational technologies related to agentes-runner (AI agent process runner) on Windows?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like Claude Code and Bun in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- Claude Code: 164 records
- Bun: 16 records
- cmd.exe: 2 records
- argument parsing: 2 records
- agentes-runner: 1 records
- shell: true: 1 records
- setting-sources: 1 records
- CLAUDE_PROBE_ARGS: 1 records
- winShellArgs: 1 records
- resolveCommand: 1 records
SaaS Metrics