Merged
Conversation
- access: Define AccessRule entity for routing and permissions. - auth: Implement user authentication system (Domain, Application Service, and infrastructure handlers). - repo: Add GORM repository implementation for auth persistence. - shared: Add JWT security utilities for token generation and validation.
…ware. Also add --basic-auth CLI flag support
…ccess and capabilities - Added \AllowedMCPs\, \Description\, and nullable capability flags to \BotVariant\ domain model - Implemented \SanitizeVariants\ in Bot entity to discard unnamed variants and purge empty identifiers - Updated Create and Update usecases to call \SanitizeVariants\ before persisting - Refactored frontend \BotFormModal.vue\ to scope capability toggles and MCP server configurations per variant - Introduced new variant selection and inheritance flows in the UI header
- Moved global settings modal logic into \GlobalSettingsModal.vue\ - Extracted bot list header UI into \header.vue\ - Cleaned up \BotsView.vue\ to use the new child components
…workspace management
…pp linking and control endpoints for portal
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.
Client Portal Architecture & Bot Engine Hardening
🚀 Overview
This PR implements the Client Portal module architecture and introduces significant hardening to the Bot Engine via variant-specific configurations. The branch establishes a decoupled ecosystem for client management, implementing a secure authentication layer and extending workspace capabilities to support guests and granular channel controls.
📋 Changelog
🏗️ Client Portal Module Architecture
AccessRuleentities for fine-grained routing and permissions.--basic-authCLI flag for internal management.🧠 Bot Engine & Variant Enhancements
BotVariantdomain model withAllowedMCPs,Description, and nullable capability flags.SanitizeVariantsin the Bot entity to automatically purge unnamed variants or empty identifiers before persistence.BotVariantstructure and capability state.BotFormModal.vueto scope capability toggles and MCP configurations per variant, introducing a new selection flow in the UI.🔐 Authentication & Magic Link System
� Workspace & Guest Management
📱 Channel Control & API Extensions
phonenumbers andaccess modes.�️ Frontend Refactoring (Admin UI)
BotsView.vueinto focused child components:GlobalSettingsModal.vue: Isolated global bot configuration logic.header.vue: Extracted bot list header and search functionality.🔗 Technical Impact
BotsViewsimplifies future updates to the admin dashboard.--basic-authto protect internal portal management bridges.PORTAL_JWT_SECRETis configured for the new authentication layer.🚧 Status