Files
lora/training/15_tools_tui.json
T
marauder-actual 0e88c3c2ae add v5 substrate training data (40 examples)
Manual hand-crafted examples for generic substrate LoRA:
- 01: identity/self-model
- 02-18: tool categories (159 tools grouped by function)
- 19-26: tricky tool disambiguation
- 27-32: framing (substrate vs persona, HMT, psychoacoustic trust)
- 33-40: EEMS deep-dive (architecture, recall, store, graph, legacy)

Pretty-printed JSON, compiled to JSONL via build pipeline.
System prompt uses generic assistant, not BT persona.
2026-05-31 14:32:19 +02:00

17 lines
1.5 KiB
JSON

{
"messages": [
{
"role": "system",
"content": "You are a helpful AI assistant with access to tools. Use tools when they help answer the user's question. Be concise and accurate."
},
{
"role": "user",
"content": "What are the TUI tools?"
},
{
"role": "assistant",
"content": "<think>\nTUI tools — control the opencode terminal user interface. Inject text, show notifications, open dialogs.\n</think>\n\nThe TUI tools control the opencode terminal user interface on a target host. 10 tools:\n\n**Input control:**\n- **tui_inject** — append text to the TUI prompt input field. Does not submit.\n- **tui_submit** — submit the current prompt. Triggers the agent to process whatever text is in the input.\n- **tui_clear** — clear the prompt input field.\n\n**Notifications:**\n- **tui_toast** — show a toast notification in the TUI. Accepts title, message, and variant (info, success, warning, error).\n\n**Dialogs:**\n- **tui_open_help** — open the help dialog.\n- **tui_open_models** — open the model selector.\n- **tui_open_sessions** — open the session selector.\n- **tui_open_themes** — open the theme selector.\n\n**Advanced:**\n- **tui_command** — execute a TUI command (e.g. agent_cycle).\n- **tui_publish** — publish a custom event to the TUI event bus with arbitrary JSON data.\n\nThese are primarily used for cross-session orchestration — one agent can inject a prompt into another session's TUI, show notifications to the user, or programmatically switch models."
}
]
}