Skip to content

Compare and decide which 'Inspector Core' approaches we want to incorporate into V1 and/or V2 #1030

@olaservo

Description

@olaservo

Context

Two parallel approaches to shared Inspector code:

PR #1023 (inspector-core) PR #1027 (InspectorClient)
Pattern Functions + Repository interfaces Class facade with EventTarget
Focus Type contracts + handler setup Full client lifecycle + state
State Stateless (consumer manages) Stateful (tracks messages, data)
React None Hook in separate module

Options

  1. Merge both - Merge approaches into combined core implementation
  2. Pick one - Can still adopt pieces from the other as needed
  3. Keep separate - Different use cases (V1 CLI/TUI) vs V2 web and potentially other use cases)

Decision Needed

Which pattern should be the foundation for V2's shared code layer?

Metadata

Metadata

Assignees

Labels

v2Issues and PRs for v2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions