1. 23 Dec, 2025 6 commits
    • - Revert to CustomScreenTestImpl instead of broken ec.screen.render() call
      - Remove duplicate screenUrl variable declaration
      - Fix transition method calls: hasTransitions() → hasTransition(null), getAllTransitions() → getTransitionList()
      - Simplify rendering path to always use CustomScreenTestImpl for both action and browse modes
      
      This restores working screen rendering functionality that was broken during the
      action execution implementation work (commit 0fc4e236). The ec.screen.render()
      API doesn't exist on ScreenFacadeImpl, causing RENDER_EXCEPTION for all screens.
      Ean Schuessler committed
    • Remove mock/test session requirement when action != null
      This allows database updates to persist when action is executed through MCP.
      Ean Schuessler committed
    • - Parse screen definition and find transitions directly
      - Execute transitions (service calls) instead of queuing actions
      - Handle action types: null (browse), submit (form), create, update, or named transition
      - For 'submit' action: pass parameters to screen render for form processing
      - For other actions: call service directly and return result
      - Add actionResult to browse response with status and service details
      - This bypasses CSRF/session limitations by executing transitions at service layer
      
      Enables models to actually trigger state changes via MCP instead of just queuing actions.
      Ean Schuessler committed
    • - Add optional action parameter for processing before rendering
      - Action values: null (browse), submit (form), create, update, or transition name
      - Action processing queued and passed through to screen rendering
      - Add actionResult and actionError to browse response
      - Update tool schema to expose action parameter
      - Keep moqui_render_screen for direct screen access
      
      This enables models to trigger form submissions and transitions through browse_screens.
      Ean Schuessler committed
    • - Add renderMode parameter (default: 'mcp') to browse_screens
      - Add parameters parameter for screen rendering
      - Add screen rendering logic for non-root paths
      - Return rendered content along with subscreens list
      - Update list#Tools schema to expose new parameters
      
      Default renderMode is 'mcp' unless explicitly specified.
      Ean Schuessler committed
  2. 19 Dec, 2025 3 commits
  3. 18 Dec, 2025 2 commits
  4. 12 Dec, 2025 2 commits
  5. 11 Dec, 2025 27 commits