fix: add tmux mouse setup to INSTALL.md, clarify Enter-to-submit on input widgets
This commit is contained in:
@@ -217,7 +217,7 @@ def create_mcp_server(workbench_dir: Path = DEFAULT_WORKBENCH_DIR, socket_dir: s
|
||||
async def kitt_display(project: str, widget: str, content: str = "", items: str = "",
|
||||
id: str = "", label: str = "", placeholder: str = "",
|
||||
pane: str = "main", clear: bool = False) -> str:
|
||||
"""Push content to the display pane. Widget types: 'markdown' (rendered text), 'table' (columns+rows as JSON in content), 'checklist' (items as JSON array), 'button' (needs id+label), 'input' (needs id+placeholder). Use kitt_events to read user interactions."""
|
||||
"""Push content to the display pane. Widget types: 'markdown' (rendered text), 'table' (columns+rows as JSON in content), 'checklist' (items as JSON array), 'button' (needs id+label), 'input' (text field — needs id+placeholder, user must press Enter to submit). Tell the user to press Enter to submit text inputs. Use kitt_events to read user interactions."""
|
||||
return await srv.kitt_display(project, widget, content, items, id, label, placeholder, pane, clear)
|
||||
|
||||
@mcp.tool()
|
||||
|
||||
Reference in New Issue
Block a user