fastmcp/tests/server/tasks
Jeremiah Lowin dec3c6d449 Fix task capabilities location (issue #2870)
Tasks belong in capabilities.tasks (first-class field) per SEP-1686,
not capabilities.experimental.tasks. This fixes VS Code Copilot 1.107+
integration which checks capabilities.tasks?.requests?.tools?.call.

Changes:
- Update get_task_capabilities() to return ServerTasksCapability types
- Override get_capabilities() in LowLevelServer to set tasks field
- Remove experimental_capabilities parameter usage
- Update test to verify correct location

Fixes #2870
2026-01-13 22:25:52 -05:00
..
__init__.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
conftest.py Remove enable_tasks setting, enable task protocol by default 2025-12-09 09:34:42 -05:00
test_progress_dependency.py Remove enable_docket setting; Docket is now always on 2025-12-05 11:40:04 -05:00
test_server_tasks_parameter.py Fix task execution for tools with custom names (#2645) 2025-12-23 18:05:29 -05:00
test_sync_function_task_disabled.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_capabilities.py Fix task capabilities location (issue #2870) 2026-01-13 22:25:52 -05:00
test_task_config_modes.py Remove TaskConfig and client from root exports (#2580) 2025-12-09 12:28:01 -05:00
test_task_dependencies.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_metadata.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_methods.py Bump pydocket to 0.16.3 to fix worker cleanup race condition 2025-12-23 18:45:42 -05:00
test_task_mount.py Remove TaskConfig and client from root exports (#2580) 2025-12-09 12:28:01 -05:00
test_task_prompts.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_protocol.py Remove enable_tasks setting, enable task protocol by default 2025-12-09 09:34:42 -05:00
test_task_proxy.py Proxy tasks forbidden, mount tasks working 2025-12-08 11:44:28 -05:00
test_task_resources.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_return_types.py [SEP-1686] Raise ValueError when sync functions have task=True (#2554) 2025-12-05 11:31:28 -05:00
test_task_security.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_status_notifications.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_tools.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_ttl.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00