Gate unified exec TTY support behind a feature flag (#42718)

## What changed

- Add the stable, default-on `unified_exec_tty` feature.
- When disabled, omit `tty` from the `exec_command` tool schema and reject calls that explicitly request a TTY.
- Continue to support commands that omit `tty` or set it to `false`.

## Testing

- Add unified exec coverage for the disabled tool schema, explicit TTY rejection, and non-TTY command execution.

GitOrigin-RevId: c5934fe9db1423170b891c7ecd0188792cd03f42
This commit is contained in:
jif authored and copyberry committed 2026-09-04 10:22:43 +00:00
1 parent d13aeb77ea
commit 3c837e568c
6 files changed
+131 -1

No files matched your search

+6
View File
@@ -1020,6 +1020,9 @@
"unified_exec": {
"type": "boolean"
},
"unified_exec_tty": {
"type": "boolean"
},
"unified_exec_zsh_fork": {
"type": "boolean"
},
@@ -6378,6 +6381,9 @@
"unified_exec": {
"type": "boolean"
},
"unified_exec_tty": {
"type": "boolean"
},
"unified_exec_zsh_fork": {
"type": "boolean"
},