Skip to content

Add web panel, same-model analytics and reliable Codex sessions - #12

Merged
dmytrogajewski merged 1 commit into
mainfrom
feat/web-panel-and-session-reliability
Oct 1, 2026
Merged

dmytrogajewski merged 1 commit into
mainfrom
feat/web-panel-and-session-reliability

Conversation

@dmytrogajewski

Copy link
Copy Markdown
Contributor

Sparkplane now includes an embedded shadcn/ui panel for appliance operations, health and usage analytics. sparkplane webui opens the panel and starts a local authentication helper; the browser authenticates with an HttpOnly session, and the helper shuts down after login. Direct browser visits explain how to start sparkplane webauthsvc start.

The panel provides overview and analytics dashboards, model and instance management, operation details, health history, scoped token administration and audit views. Analytics retain content-free request metadata and reported token counts. Cloud-equivalent cost uses verified public tariffs for the same model; unpriced models remain explicitly unavailable, and RTK estimates stay separate.

Saved Codex provider definitions now survive direct resume. Codex checkpoint compaction requests use visible non-thinking summaries on translated Responses routes, fixing repeated stream failures on long histories while retaining normal coding effort. Failed response translations retain burned-token counts and count as failures. Health-history queries and operation summaries avoid loading large historical payloads into panel polling and reconciliation.

Validation: make lint, make test, make test-client, make audit, make web-test-browser, strict Rust documentation and production npm dependency audit. The browser suite covers desktop/mobile behavior and real HTTPS authentication. Signed deployment checks verified live login, controls, health and inference. An isolated copy of the reported 209k-token Codex history successfully compacted from 1.06 MB to 37 KB; live streamed tool calls completed. Qwen retained generation 12 and its qualified 262,144-token context.

Embed the shadcn/ui panel in signed appliance builds with local terminal
authentication, scoped controls, content-free usage analytics and telemetry.
Price local inference against verified cloud tariffs for the same model.

Persist Codex providers for saved sessions, produce visible compaction
summaries and account for failed response translations. Bound health history
queries and operation listing so panel polling preserves agent resources.
@dmytrogajewski
dmytrogajewski merged commit 08cff11 into main Oct 1, 2026
1 check passed
@dmytrogajewski
dmytrogajewski deleted the feat/web-panel-and-session-reliability branch October 1, 2026 21:57
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.

2 participants