Bump SDK to 81660dc1 and surface BC5 forward-compat fields

Merged
JE
4mo ago
+298-100

Summary

The bc5-readiness stack (basecamp-sdk #293 + #309) merged to SDK main, adding the BC5 forward-compat fields to the Go wrappers. This is the matching CLI absorption (Phase 1 of the BC5 absorption tracker): bump to the merge commit 81660dc101d5 and surface the new fields.

  • todos show renders Todo.Steps as a checklist section via a new steps presenter format, with a breadcrumb pointing at the existing cards step mutation surface. The presenter now skips empty detail sections (heading included), so BC4 todos render exactly as before.
  • todosets show adds the BC5 todos_count to the summary and a todos list breadcrumb when the todoset carries loose todos.
  • notifications combines Bubble Ups + Scheduled Bubble Ups (BC5) with Memories (BC4) in the summary count — without double-counting BC5's memories compat alias — and notifications read resolves IDs across all five sections. Help text reflects the split: Bubble Ups on BC5, Memories on BC4 (permanently, per the documented contract).
  • people show, todoset URLs, and notification bubble-up fields flow through JSON and generic output automatically — no schema filters in those paths.
  • API-COVERAGE.md notes the BC5 field additions on the existing BC4 rows (no new endpoints in this phase).

BC4 compatibility: all new fields are omitempty additions; against BC4 hosts every touched command produces identical output to pre-bump.

Testing

  • bin/ci green (unit, e2e BATS, surface snapshot, skill drift, bare groups, provenance, tidy)
  • Presenter section-skip covered by TestSchemaViews (todo detail sections 3 → 4) and existing render tests

Summary by cubic

Upgrades the CLI to the latest github.com/basecamp/basecamp-sdk/go with BC5 forward-compat fields and surfaces them in todos show, todosets show, and notifications, keeping BC4 output unchanged. Also updates github.com/oapi-codegen/runtime to v1.6.0.

  • New Features

    • Todos: show steps as a checklist in todos show and add a breadcrumb to cards step.
    • Todosets: summary includes todos_count; add a breadcrumb to todos list when loose todos exist.
    • Notifications: summary counts Bubble Ups and Scheduled Bubble Ups (BC5) and Memories (BC4) without double-counting; notifications read resolves IDs across all sections.
    • Output passthrough: person tagline, todoset URLs, and bubble-up fields appear in JSON/generic output. New steps presenter format added.
  • Bug Fixes

    • Detail views never show empty headings in styled or Markdown; fields are filtered after formatting and label alignment uses the visible fields.
    • Sanitize step titles in the checklist to prevent terminal injection; fix the --json flag mentioned in the steps breadcrumb.