Skip to content

feat(cockpit): Tier 1 example customization — thread management + capability sidebars#20

Merged
blove merged 4 commits into
mainfrom
feat/cockpit-tier1-customization
Apr 6, 2026
Merged

feat(cockpit): Tier 1 example customization — thread management + capability sidebars#20
blove merged 4 commits into
mainfrom
feat/cockpit-tier1-customization

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Apr 6, 2026

Summary

Customizes 8 cockpit Angular examples (Tier 1) with capability-specific UI:

LangGraph:

  • persistence<chat> with thread sidebar: tracks threads via onThreadId, switches via stream.switchThread()
  • deployment-runtime — already correct, no changes needed

Deep Agents (6 examples with custom sidebars):

  • planning — plan steps sidebar with ✓/○ progress indicators, derived from stream.value().plan
  • filesystem — file operation log (📖 read / ✏️ write) from tool calls
  • subagents — delegation entries (🤖) from orchestrator tool calls
  • memory — learned facts key-value pairs from stream.value().agent_memory
  • skills — skill invocation cards (🧮/🔢/📝) from tool calls
  • sandboxes — code execution logs with exit status badges and stdout

All sidebars use var(--chat-*) CSS custom properties for theming.

Test plan

  • nx run-many -t build --projects='cockpit-*-angular' — all 14 build
  • nx test render && nx test chat — all pass

blove and others added 4 commits April 5, 2026 17:30
Rewrites PersistenceComponent to track threads via onThreadId callback,
maintain Thread[] and activeThreadId signals, and handle threadSelected
to call stream.switchThread(id). Deployment-runtime component verified
correct and left unchanged. Both examples build successfully.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ples

Each example now renders a live sidebar alongside <chat-debug> using
computed() signals derived from stream.value() or stream.messages().
Sidebar styling uses var(--chat-*) CSS custom properties throughout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@blove blove merged commit 77822b7 into main Apr 6, 2026
10 of 11 checks passed
@blove blove deleted the feat/cockpit-tier1-customization branch May 7, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant