Commit b2d7fd2
committed
refactor: update tests, McpServer, and examples for TaskManager API
- Update protocol.test.ts to construct TaskManager and pass to Protocol
- Remove assertTaskCapability/assertTaskHandlerCapability from test subclasses
- Update McpServer to use extra.task?.taskStore instead of extra.taskStore
- Update example server to use extra.task.taskStore/taskId/requestedTtl
- Update core task interfaces for TaskContext grouping
All packages now typecheck cleanly with zero errors.1 parent 4c6fcd2 commit b2d7fd2
3 files changed
Lines changed: 15 additions & 5581 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | | - | |
490 | | - | |
| 489 | + | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
| 511 | + | |
| 512 | + | |
513 | 513 | | |
514 | | - | |
515 | | - | |
| 514 | + | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
0 commit comments