mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1783] [CLOSED] web: add persistent chats and MCP management #3671
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#3671
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/1783
Author: @VykosX
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:web-ui-mcp-conversations📝 Commits (1)
f13b1f2web: add persistent chats and MCP management📊 Changes
7 files changed (+1581 additions, -20 deletions)
View changed files
📝
.gitignore(+1 -0)➕
serve/local_ui.py(+244 -0)📝
serve/server.py(+101 -0)➕
serve/test_local_ui.py(+166 -0)📝
serve/web/app.css(+444 -0)📝
serve/web/app.js(+533 -15)📝
serve/web/index.html(+92 -5)📄 Description
Summary
Adds a native-feeling persistence and MCP-management layer to Strata's existing Web UI without changing the inference engine or model-specific defaults.
What changed
conversations/, with a docked conversation list, switching, New Chat creating a new conversation instead of clearing history, and delete confirmation.url.command, JSONargs, optionalcwd, and JSONenv.MCP configuration safety
The UI is a frontend for Strata's existing MCP backend rather than a parallel protocol implementation.
Conversation persistence
/conversations/is gitignored.Context meter
/context-countruns the current OpenAI-shaped Web UI history through Strata's own conversion/template/tokenizer path, including MCP tool schemas when enabled. The displayed count is therefore the actual prompt shape Strata will send, not a character estimate.Validation
Clean worktree based on current
origin/main:serve.test_local_ui: 9/9 passedserve.test_server: 271/271 passedserve.test_mcp: 25/25 passedserve.test_runconfig: 9/9 passednode --check serve/web/app.js: passedgit diff --check: passedA live acceptance test also added a stdio server beside an existing HTTP server, verified both were listed together, confirmed secret env values were not returned to the browser, verified the preserve/drop rules across edits, removed only the temporary server, and confirmed the original server remained unchanged.
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.