Bump SDK to 81660dc1 and surface BC5 forward-compat fields
Merged
JE
4mo ago+298+298+012345678901234567890123456789-100-100-012345678901234567890123456789
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 showrendersTodo.Stepsas a checklist section via a newstepspresenter format, with a breadcrumb pointing at the existingcards stepmutation surface. The presenter now skips empty detail sections (heading included), so BC4 todos render exactly as before.todosets showadds the BC5todos_countto the summary and atodos listbreadcrumb when the todoset carries loose todos.notificationscombines Bubble Ups + Scheduled Bubble Ups (BC5) with Memories (BC4) in the summary count — without double-counting BC5'smemoriescompat alias — andnotifications readresolves 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/cigreen (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
stepsas a checklist intodos showand add a breadcrumb tocards step. - Todosets: summary includes
todos_count; add a breadcrumb totodos listwhen loose todos exist. - Notifications: summary counts Bubble Ups and Scheduled Bubble Ups (BC5) and Memories (BC4) without double-counting;
notifications readresolves IDs across all sections. - Output passthrough: person
tagline, todoset URLs, and bubble-up fields appear in JSON/generic output. Newstepspresenter format added.
- Todos: show
-
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
--jsonflag mentioned in the steps breadcrumb.