Add M9.8c launcher, legend, labelled inspector and click selection

Toolkit-independent launcher, selection, label and outcome-log models with
bounded inputs and fixed error text; Dear ImGui overlay in the native adapter
with toolkit-first event routing and capture; engineering panels for fixture vs
dev region, legend, inspector, session outcomes, notices and dialog. Additive
SessionClient::unreachable_attempts() bounds unreachable connects. Docs, CI
targets and validation evidence updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-02 10:09:11 -04:00
co-authored by Claude Opus 5.5
parent a6e8094f57
commit 897055883a
36 changed files with 2106 additions and 200 deletions
+7 -1
View File
@@ -16,6 +16,7 @@ struct SessionClient::Impl {
SessionClientConfig config;
std::size_t next_grant{};
std::uint64_t unreachable{};
SessionPhase phase{SessionPhase::backoff};
Step step{Step::handshake};
Clock::time_point retry_at{}, deadline{}, last_received{}, last_sent{}, polled_at{};
@@ -34,7 +35,9 @@ struct SessionClient::Impl {
bool awaiting_event_drain{};
void disconnect(Clock::time_point now, std::optional<CloseReason> reason) {
if (step == Step::established || step == Step::awaiting_welcome || reason)
if (step != Step::established && step != Step::awaiting_welcome && !reason)
++unreachable;
else
events.push_back({reason ? ClientEvent::Kind::closed : ClientEvent::Kind::lost,
{},
reason.value_or(CloseReason::normal),
@@ -324,6 +327,9 @@ std::optional<Welcome> SessionClient::welcome() const noexcept {
std::optional<ViewHeader> SessionClient::latest_view() const noexcept {
return impl_->view;
}
std::uint64_t SessionClient::unreachable_attempts() const noexcept {
return impl_->unreachable;
}
std::size_t SessionClient::grants_left() const noexcept {
return impl_->config.grants.size() - impl_->next_grant;
}