···2323 # 404. sandbox none because omp needs its own ~/.omp credential store and
2424 # unrestricted egress to the model APIs; confinement, if we want it, has
2525 # to happen a layer down (a separate uid, or nspawn), not here.
2626+ #
2727+ # omnigent_mcp: false is load-bearing. With it on, omnigent hands omp an
2828+ # `mcpServers` entry in `session/new` whose command is
2929+ # `sys.executable -I -m omnigent.claude_native_bridge serve-mcp`; `-I`
3030+ # (isolated) makes that child ignore PYTHONPATH, so under a nixpkgs
3131+ # console-script wrapping it cannot import omnigent. omp starts every
3232+ # declared MCP server eagerly and fails the whole session when one dies —
3333+ # `ACP session/new failed: Internal error`. The relay only bridges
3434+ # *omnigent's* builtin tools into the agent, and omp brings its own, so
3535+ # turning it off costs nothing here.
2636 spec = pkgs.writeText "omp-agent.yaml" ''
2737 name: omp
2838 prompt: You are omp (Oh My Pi), a concise coding assistant.
···3242 acp_agent:
3343 name: Oh My Pi
3444 command: ${omp}/bin/omp acp
4545+ omnigent_mcp: false
35463647 os_env:
3748 type: caller_process