Commit 169ea63
Hardcode toolFilterMode=denyPrecedence on SDK; drop public toggle
The SDK no longer exposes 'toolFilterMode'. Every session.create / session.resume request now sends toolFilterMode: 'denyPrecedence' unconditionally, so SDK callers always get composable include+exclude semantics (a tool is enabled when it matches availableTools — or availableTools is unset — AND it does not match excludedTools).
Allowlist-precedence remains available on the runtime side as a CLI-only concession to legacy behavior; SDK consumers don't need it and the toggle was just extra surface area.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d166a45 commit 169ea63
3 files changed
Lines changed: 17 additions & 57 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
885 | 890 | | |
886 | 891 | | |
887 | 892 | | |
888 | 893 | | |
889 | 894 | | |
890 | 895 | | |
891 | | - | |
892 | 896 | | |
893 | 897 | | |
894 | 898 | | |
895 | | - | |
| 899 | + | |
896 | 900 | | |
897 | 901 | | |
898 | 902 | | |
| |||
910 | 914 | | |
911 | 915 | | |
912 | 916 | | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
| 917 | + | |
920 | 918 | | |
921 | 919 | | |
922 | 920 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
1561 | | - | |
1562 | | - | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1563 | 1564 | | |
1564 | 1565 | | |
1565 | 1566 | | |
1566 | 1567 | | |
1567 | 1568 | | |
1568 | 1569 | | |
1569 | 1570 | | |
1570 | | - | |
1571 | | - | |
1572 | | - | |
1573 | | - | |
| 1571 | + | |
| 1572 | + | |
1574 | 1573 | | |
1575 | 1574 | | |
1576 | 1575 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
1581 | | - | |
1582 | | - | |
1583 | | - | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | 1576 | | |
1592 | 1577 | | |
1593 | 1578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 177 | + | |
190 | 178 | | |
191 | 179 | | |
192 | 180 | | |
193 | 181 | | |
194 | 182 | | |
195 | 183 | | |
196 | | - | |
| 184 | + | |
197 | 185 | | |
198 | 186 | | |
199 | | - | |
| 187 | + | |
200 | 188 | | |
201 | 189 | | |
202 | 190 | | |
| |||
206 | 194 | | |
207 | 195 | | |
208 | 196 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | 197 | | |
221 | 198 | | |
222 | 199 | | |
| |||
0 commit comments