Skip to content
  • This project
    • Loading...
  • Sign in

Ean Schuessler / mo-mcp

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • mo-mcp
  • .gradle
  • buildOutputCleanup
  • buildOutputCleanup.lock
  • Ean Schuessler's avatar
    Add UI narrative for LLM action guidance and unify render modes · 09883cfe ...
    09883cfe Browse Files
    - Create UiNarrativeBuilder class for structured, story-like UI descriptions
      - screen: 50-80 words describing current state
      - actions: 80-120 words with exact tool invocation examples
      - navigation: 30-40 words for navigating to related screens
      - notes: 30-50 words for truncation, permissions, constraints
    
    - Enhance mcp.ftl macros to capture semantic metadata
      - form-single: Track field names, types, validation rules
      - form-list: Capture totalItems, displayedItems, truncated flags
      - Store metadata in mcpSemanticData for narrative generation
    
    - Deprecate DefaultScreenMacros.json.ftl
      - Update MoquiConf.xml to map both mcp and json to mcp.ftl
      - Remove redundant 218-line template with no semantic capture
    
    - Integrate uiNarrative into BrowseScreens service
      - Generate narrative using UiNarrativeBuilder
      - Include uiNarrative in result map
      - Provide screenDef for context
    
    - Remove redundant semantic state extraction
      - Delete fallback logic that extracted forms/lists from screen definition
      - Rely exclusively on mcpSemanticData captured by macros
    
    - Improve smart truncation in serializeMoquiObject
      - terse mode: 10 items, 200 char strings
      - non-terse mode: 50 items, no string truncation (fixed bug)
      - Add _hasMore flag to truncated data metadata
    
    - Fix CustomScreenTestImpl postRenderContext capture
      - Capture context before pop to preserve mcpSemanticData
    Ean Schuessler committed 2026-01-09 21:12:43 -0600
buildOutputCleanup.lock 17 Bytes
Raw History Permalink

Download (17 Bytes)