Repository navigation
Add web panel, same-model analytics and reliable Codex sessions - #12
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sparkplane now includes an embedded shadcn/ui panel for appliance operations, health and usage analytics.
sparkplane webuiopens 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 startsparkplane 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.