php-sdk/tests/Unit/Client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christopher Hertel 43815e38a8
[Schema][Server] Harden sampling tools against the spec (#420)
* harden sampling tools against the spec

Report tool-flow violations as -32602 instead of dropping the request,
accept resource_link in tool results, gate tools on sampling.tools, and
reject empty content.

* normalize keyed content arrays to lists

array_filter() and friends preserve keys, and a keyed array serializes as a
JSON object instead of the content-block array the schema requires.
2026-08-15 04:13:53 +02:00
..
Handler/Request [Schema][Server] Harden sampling tools against the spec (#420) 2026-08-15 04:13:53 +02:00
Transport [Client] Parse CRLF- and CR-delimited SSE events (#401) 2026-08-14 22:34:23 +02:00
ClientTest.php [Client][Server] Add Roots support (#395) 2026-08-14 23:04:25 +02:00
ConfigurationTest.php [Client] Reject non-positive timeouts in Configuration (#415) 2026-08-14 08:22:20 +02:00
ProtocolTest.php [Client][Schema][Server] Implement protocol version negotiation (#403) 2026-08-15 01:41:19 +02:00