/** * Markdown documentation for the MiniMax adapter, shown in the * Paperclip UI when an operator is configuring an agent. */ export declare const agentConfigurationDoc = "# MiniMax Adapter\n\nAdapter: `minimax`\nExecution: Pure HTTP (TypeScript) \u2014 no CLI subprocess.\n\nThe MiniMax adapter lets Paperclip agents call the\n[MiniMax](https://MiniMax.ai) model family (M2 / M2.5 / M2.7 / M3)\nthrough MiniMax's OpenAI-compatible chat-completions API.\n\n## Required fields\n\n- **apiKey** (`string`, required): Your MiniMax API key. Store as a secret ref\n in production. Falls back to `MINIMAX_API_KEY` env var.\n\n## Core fields\n\n- **baseUrl** (`string`, default `https://api.minimax.chat/v1`): MiniMax base URL.\n- **model** (`string`, default `MiniMax-M3`): The catalog ID. Common values:\n - `MiniMax-M3` \u2014 latest, default.\n - `MiniMax-M3:free` \u2014 free tier (rate-limited).\n - `MiniMax-M2.7`, `MiniMax-M2.5`, `MiniMax-M2` \u2014 older stable.\n- **workspacePath** (`string`): Agent's filesystem workspace. Skills are loaded\n from `/skills` and `/.paperclip/skills`.\n- **skillsDir** (`string`): Override the skills directory globally.\n\n## Loop tuning\n\n- **maxTurns** (`number`, default 8): Cap on tool-loop iterations per heartbeat.\n- **maxToolCallsPerTurn** (`number`, default 8): Cap on parallel tool calls\n in one assistant turn.\n- **enableStreaming** (`boolean`, default true): Stream tokens to the live\n Working panel.\n\n## Cost tracking\n\n- **priceInputPer1M** (`number`, default 1.0): USD per 1M input tokens.\n- **priceOutputPer1M** (`number`, default 3.0): USD per 1M output tokens.\n Override if MiniMax revises their rates.\n\n## Approval flow\n\n- **approvalGated** (`boolean`, default true): When true, side-effect tools\n (`hire_agent`, `request_approval`) route through\n `/api/companies/:id/approvals`. Set false only for trusted local dev.\n\n## Built-in Paperclip tools\n\nThe adapter ships 8 function-calling tools that map 1:1 to Paperclip's REST\nAPI:\n\n| Tool | Description |\n| --- | --- |\n| `get_issue` | Fetch an issue by id or identifier. |\n| `list_issues` | List issues scoped to the company. |\n| `update_issue_status` | Move an issue to a new status. |\n| `add_comment` | Post a comment. |\n| `list_comments` | Read comments on an issue. |\n| `create_sub_issue` | Decompose into sub-issues. |\n| `hire_agent` | Propose hiring a new agent (approval-gated). |\n| `request_approval` | Open a board approval row (approval-gated). |\n\n## Loop break\n\nIf the same tool is called 3 times in a row with the same arguments, the\nadapter aborts the run with status `failed` and `errorMessage: \"repeat_call_loop_break: \"`. This\nprevents the model from ping-ponging forever on a task it can't make\nprogress on.\n\n## Environment overrides\n\nAll fields can be overridden via env vars on the Paperclip host:\n`MINIMAX_API_KEY`, `MINIMAX_BASE_URL`, `MINIMAX_MODEL`,\n`MINIMAX_PRICE_INPUT_PER_1M`, `MINIMAX_PRICE_OUTPUT_PER_1M`,\n`MINIMAX_MAX_TURNS`, `MINIMAX_MAX_TOOL_CALLS_PER_TURN`,\n`MINIMAX_SKILLS_DIR`, `MINIMAX_APPROVAL_GATED`, `MINIMAX_STREAM`.\n\n## Source\n\n\n"; //# sourceMappingURL=agent-doc.d.ts.map