Context group header
Groups related tasks, messages, and artifacts under one session or mission context — the A2A contextId. A quiet section header on its own; collapses its children behind a disclosure when given any.
Included in the single kansho full pack. Components are not offered as separate installs.
Standalone header
No childrenCollapsible group
Wraps grouped rows- Done: Created
- Done: Submitted
- Done: Working
- Current: Completed
- Done: Created
- Done: Submitted
- Current: Working
- Upcoming: Completed
- Done: Created
- Done: Submitted
- Reached: Working
- Upcoming: Completed
- Current: Blocked
Minimal
Just the title and idComponent documentation
Context Group Header
components/tasks/context-group-header.tsxPurpose
Labels a session or mission group with counts, owner, recency, and optional collapsible content.
Appropriate use
Use to cluster tasks, messages, and artifacts that share a context id.
Example
components/tasks/context-group-header.tsx has a representative live example in the "Collapsible group" section on /components/context-group-header.
States
Headers can be static or disclosures, open or closed by default, with independently optional task, message, and artifact counts.
API and props
ContextGroupHeader accepts title, contextId, counts, updatedAt, owner, children, defaultOpen, and className.
Dependencies
Direct imports are React, Lucide icons, Disclosure, and cn.
Accessibility
When children exist, Disclosure provides a named button with expanded state; ids, counts, owner, and recency remain visible text.
Limitations
It does not load grouped rows, update counts or timestamps, or persist disclosure state.
Source
Source: components/tasks/context-group-header.tsx.
Full pack
components/tasks/context-group-header.tsx is documented at /components/context-group-header and installs only through the single Kansho full pack; no individual component install is offered.