What do you want to change?
Add excludeFromContext?: boolean to the bash RPC command, mirroring the flag that executeBash already accepts internally.
Why?
RPC clients can't implement a "run without adding to context" bash mode because the flag isn't exposed at the protocol level. The internal API already supports it but the RPC surface doesn't pass it through.
Feature parity between RPC and the internal session API seems desirable (to me).
How? (optional)
Two small changes:
excludeFromContext?: boolean on the bash command type in rpc-types.ts, and passing it to executeBash in rpc-mode.ts.
Happy to submit a PR if this looks reasonable.
What do you want to change?
Add
excludeFromContext?: booleanto thebashRPC command, mirroring the flag thatexecuteBashalready accepts internally.Why?
RPC clients can't implement a "run without adding to context" bash mode because the flag isn't exposed at the protocol level. The internal API already supports it but the RPC surface doesn't pass it through.
Feature parity between RPC and the internal session API seems desirable (to me).
How? (optional)
Two small changes:
excludeFromContext?: booleanon the bash command type inrpc-types.ts, and passing it toexecuteBashinrpc-mode.ts.Happy to submit a PR if this looks reasonable.