Bump basecamp-sdk to v0.21.0

Merged
RO
2mo ago
+2476-666

Moves the CLI from basecamp-sdk v0.19.0 to v0.21.0, released today.

  • Templates().GetLibrary is now GetLibraryTodolists, at /template_library/todolists.json. That's the path Basecamp serves today; the old one now redirects. basecamp templates library is otherwise unchanged.
  • The MCP model is re-synced from go/v0.21.0. The SDK split its Automation tag into Checkins, Templates, Webhooks, Lineup, Dock, Recordings and Search, and the automation domain now claims those. The new Subtasks tag joins todos. MCP serves the same actions as before, plus subtasks and the template library (see the catalog snapshot diff).
  • The event feed now validates error bodies (SDK #924): a body the contract doesn't allow is refused as malformed, with no status and no recovery offered. Four MCP feed tests that sent such bodies are updated to match. One of them only needed digests in the real 16-hex form.
  • nix/package.nix has the new vendorHash, verified with a build.

This supersedes #788. Adopting the new SDK surface as CLI commands (subtasks, card table templates) is left to #791 and #705.


Summary by cubic

Moves the CLI from basecamp-sdk v0.19.0 to v0.21.0.

  • Templates().GetLibrary is now GetLibraryTodolists, at /template_library/todolists.json; the old path now redirects, and basecamp templates library is otherwise unchanged.
  • The MCP model is re-synced from go/v0.21.0. The SDK split its Automation tag into Checkins, Templates, Webhooks, Lineup, Dock, Recordings and Search, and the new Subtasks tag joins todos; MCP serves the same actions as before, plus subtasks and the template library.
  • The event feed now validates error bodies: a body the contract doesn't allow is refused as malformed, with no status and no recovery offered. Four MCP feed tests are updated; one now uses the real 16-hex digests.
  • nix/package.nix carries the new vendorHash, verified with a build.

This supersedes #788; adopting the new SDK surface as CLI commands is left to #791 and #705.