Polish & ship-ready UI — full product overhaul #40

Merged
mahmoud merged 12 commits from development_mahmoud into development 2026-03-31 18:02:03 +00:00
Owner
### Related Issues - https://forge.ourworld.tf/lhumina_code/hero_aibroker/issues/30
- Add Providers tab to UI navigation
- Include providers_pane.html in Providers tab
- Add label field to API key creation and display
- Update API key table to show label
- Adjust column count for API key table
fix: resolve all clippy warnings and rustfmt issues for CI
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 34s
842e59b33e
Fix unused imports in SDK, correct generated client type name
(AIBrokerAdminAPIClient), update examples to pass required input
structs, collapse nested if, and apply rustfmt across all crates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: Add MCP server management capabilities
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 49s
a73b8840b2
- Add `mcp` module for server management
- Implement server spawning and RPC communication
- Add RPC methods for MCP health, listing servers/tools, refresh, add, and remove
- Integrate MCP status into admin UI sidebar and dashboard
- Add functionality to add and remove MCP servers dynamically from UI
feat: improve model loading and error handling
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 47s
b9f23a5897
- Distinguish between configured and active models
- Indicate inactive models in UI with greyed text
- Enhance error message for missing API keys
- Prioritize active models when setting default input
refactor: Remove ModelsConfig import
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 33s
1b81c1ccf7
- Remove unused ModelsConfig import from registry
- Simplify registry import statement
feat: Implement token and cost estimation for chat
Some checks failed
Build and Test / build-and-test (pull_request) Has been cancelled
4067e65fab
- Add dotenvy for .env file loading
- Implement token estimation for chat input
- Display estimated cost based on model pricing
- Add typewriter effect for assistant responses
- Update UI for better chat input and cost display
test: Add fallback for hero_do command
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 1m14s
a84dffa1e0
- Run cargo test if hero_do is not found
- Improve test script robustness
Manual server start/stop logic.
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 1m13s
8f464ed3f1
- Consolidate RPC checks into a single test function.
- Update test documentation for clarity.
feat(providers): runtime CRUD for provider API keys (#33)
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 1m32s
0bfd710950
Add/remove provider API keys from the admin UI at runtime with .env
persistence and hot-reload of all services (chat, TTS, STT, embedding).

- Wrap Config and services in RwLock for runtime mutability
- Add providers.list, providers.add_key, providers.remove_key RPC methods
- Add Config.save_env_file() for .env persistence
- Add rebuild_providers() for hot-reload when keys change
- Rewrite providers_pane.html with interactive add/remove UI

#33

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
style: Reformat code for consistency
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 1m20s
c50384d466
- Reformat stdin flush calls
- Reformat server binary existence assertion
refactor: Simplify conditional logic and add Default impl
Some checks failed
Build and Test / build-and-test (pull_request) Failing after 1m45s
e1c3728365
- Simplify multi-line `if let` statements
- Condense `map_err` calls to simplify error handling
- Add `Default` implementation for `McpManager`
feat(mcp): auto-load default MCP servers on startup (#36)
All checks were successful
Build and Test / build-and-test (pull_request) Successful in 2m30s
fb43b4a1a8
Add load_defaults() to McpManager that discovers mcp_ping and mcp_hero
binaries next to the running executable or in ~/hero/bin/. Defaults are
skipped if already loaded from MCP_CONFIG_PATH. Updates empty-state UI
message when no MCP binaries are found.

#36

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mahmoud changed title from Fix CI to Polish & ship-ready UI — full product overhaul 2026-03-31 18:01:48 +00:00
mahmoud merged commit 237630dce3 into development 2026-03-31 18:02:03 +00:00
mahmoud deleted branch development_mahmoud 2026-03-31 18:02:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_aibroker!40
No description provided.