mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2400] [CLOSED] Add opt-in usage, output history and authenticated remote dashboard #4028
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4028
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2400
Author: @QuickkApps
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:codex/local-usage-remote📝 Commits (3)
ecf1ba2Add opt-in usage ledger, output rollover and authenticated remote APIaa04520Harden Funnel ownership and add accounting regression coverage7883e56Add output history, remote dashboard and illustrated setup guide📊 Changes
39 files changed (+4300 additions, -61 deletions)
View changed files
📝
.gitignore(+11 -0)➕
CLAUDE-STRATA.bat(+8 -0)📝
README.md(+4 -0)📝
chat.py(+2 -1)➕
claude-code/README.md(+46 -0)➕
claude-code/settings.local.json(+16 -0)📝
docs/DETAILS.md(+52 -1)➕
docs/LOCAL_FEATURES.md(+317 -0)➕
docs/LOCAL_OUTPUT_HISTORY.md(+48 -0)➕
docs/media/dashboard-example.jpg(+0 -0)➕
docs/media/history-example.jpg(+0 -0)➕
docs/media/usage-example.jpg(+0 -0)➕
docs/media/usage-overview-example.jpg(+0 -0)➕
remote-access/README.md(+183 -0)➕
remote-access/RemoteCommon.ps1(+36 -0)➕
remote-access/Restart-Tunnel.ps1(+4 -0)➕
remote-access/Start-Remote.ps1(+197 -0)➕
remote-access/Stop-Remote.ps1(+39 -0)➕
remote-access/gateway.mjs(+185 -0)➕
serve/history.py(+317 -0)...and 19 more files
📄 Description
Summary
Updates the existing contribution with persistent output History, source labels, app-bar Average TPS, authenticated remote-dashboard sharing, startup/recovery improvements, and an illustrated setup guide. The features are opt-in; the ordinary model, sampling, thinking budget and client output limits are not changed.
Complete setup and operation guide
The guide covers installation prerequisites, configuration, OpenAI/Anthropic editor URLs, Claude Code, authentication, Tailscale activation, automatic startup, recovery, shutdown, credential rotation, accounting definitions, storage/privacy, troubleshooting, and reproducible examples.
What changed
No native engine/kernel or frontend parser source is changed. New changes were ported selectively rather than replacing newer upstream image, vision, model-family or recovery behavior with an older installed copy.
Enable Explicitly
Merge only the desired keys into an existing model configuration, preserving engine paths and arguments, then restart:
Remote startup currently requires Windows, Node.js, signed-in Tailscale with Funnel enabled, and a Strata-engine server on loopback port 8080. Cloning alone does not publish anything. The gateway generates credentials in the current user's protected local application-data directory.
Dashboard sharing is separately disabled by default. To enable it, merge exposeDashboard: true into the private gateway configuration and rerun the helper. Browser login is username strata, password the generated gateway key. The contribution requires API authentication and does not include a public no-key mode.
OpenAI editor base URLs end in /v1; Anthropic/Claude Code base URLs use the root, without /v1. See the guide for exact steps and private credential handling.
Example Screens
Actual dashboard components rendered with synthetic data, fixed January sample dates and neutral UTC example metadata. These are UI examples, not benchmarks. No real conversations, device hostname, credentials or runtime databases are included.
Monitor Dashboard
Usage
History
The guide includes an additional Usage overview. Reproduce the images locally with:
The preview binds loopback only, uses no GPU/Tailscale/user files and cleans its temporary data on exit.
Accounting And Privacy Limits
Verification
Related discussions: #1876, #1925, #2204, #2370. Their unmerged implementations are not silently combined with this ledger.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.