Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

827 B
Raw Blame
/**
 * Producer-side MCP server + per-op bridge for Claude Code's AskUserQuestion
 * via local HTTP MCP. See `` for the full design.
 *
 * Used by:
 *   - Electron main (`HeterogeneousAgentCtr`) β€” local app
 *   - Sandbox CLI (`lh hetero exec`) β€” phase 2; for now the CLI doesn't
 *     register a server and CC falls back to text questions
 *
 * Consumer (renderer / web client) talks to the producer via the existing
 * `AgentStreamEvent` pipeline β€” `agent_intervention_request` flows out,
 * `agent_intervention_response` flows back.
 */
export {
  AskUserBridge,
  type AskUserBridgeOptions,
  type InterventionAnswer,
  type PendingArgs,
  type PendingOptions,
} from './AskUserBridge';
export {
  ASK_USER_API_NAME,
  ASK_USER_MCP_SERVER_NAME,
  ASK_USER_TOOL_FULL_NAME,
  ASK_USER_TOOL_NAME,
} from './constants';