Skip to content

Phase 7 Part A: Client SDK (platform-independent)#44

Merged
nullEFFORT merged 2 commits intomainfrom
phase7-client-sdk
Mar 5, 2026
Merged

Phase 7 Part A: Client SDK (platform-independent)#44
nullEFFORT merged 2 commits intomainfrom
phase7-client-sdk

Conversation

@nullEFFORT
Copy link
Owner

Summary

  • Complete gRPC client library with connection management, session lifecycle, stream managers, pipeline orchestrator
  • Mock backends for all Part B components (screen capture, OCR, STT, diarization, video recording, HUD)
  • Full test suite (24/24 passing) with mock gRPC server
  • CLI: python -m nightshade_client start --mock --no-hud
  • Context handoff docs (CLAUDE.md + WINDOWS_BUILD.md) for Part B Windows implementation

Architecture

connection/ → session/ → streams/ → pipeline/orchestrator
                                   ↑
                          capture/ + processing/ + hud/ (Part B stubs)

Test plan

  • pip install -e client/ succeeds
  • python -m nightshade_client --help shows usage
  • pytest client/tests/ -v — 24/24 passed (0.70s)
  • All imports resolve cleanly
  • CLAUDE.md has complete ABC definitions + proto contract
  • WINDOWS_BUILD.md has CUDA/GPU setup instructions

🤖 Generated with Claude Code

nullEFFORT and others added 2 commits March 5, 2026 13:40
Complete gRPC client library with connection management, session lifecycle,
stream managers, pipeline orchestrator, and mock backends for testing without
GPU hardware.

Layers:
- connection/ — ChannelManager (reconnect + backoff), ApiKeyMetadata, HealthChecker
- session/ — SessionManager (state machine), SessionMonitor (bidi heartbeat)
- streams/ — ChatStreamManager, VoiceStreamManager, EvidenceStreamManager (chunked)
- pipeline/ — ABCs + mocks for all Part B components, RingBuffer, Orchestrator
- capture/processing/hud/ — Part B stubs (ABCs + mocks only)

Also includes:
- CLI: python -m nightshade_client start --mock --no-hud
- 24 tests (all passing) with mock gRPC server
- CLAUDE.md + WINDOWS_BUILD.md context handoff for Part B

Co-Authored-By: Claude <noreply@anthropic.com>
Remove egg-info from tracking, ignore generated proto stubs.

Co-Authored-By: Claude <noreply@anthropic.com>
@nullEFFORT nullEFFORT merged commit 0452e4d into main Mar 5, 2026
4 checks passed
@nullEFFORT nullEFFORT deleted the phase7-client-sdk branch March 7, 2026 04:48
nullEFFORT added a commit that referenced this pull request Mar 7, 2026
Phase 7 Part A: Client SDK (platform-independent)
nullEFFORT added a commit that referenced this pull request Mar 7, 2026
Phase 7 Part A: Client SDK (platform-independent)
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