export declare const type = "kimi_local"; export declare const label = "Kimi Code CLI (local)"; export declare const SANDBOX_INSTALL_COMMAND: string; export declare const DEFAULT_KIMI_LOCAL_MODEL = "kimi-code/kimi-for-coding"; export declare const models: { id: string; label: string; }[]; /** * Kimi thinking-effort tiers. Kimi's catalog exposes these via each model's * `support_efforts`; note there is no "medium" tier (Kimi collapses it onto * "high"). Sending an effort a model does not support makes the provider * reject the request, so effort is only forwarded for effort-capable models. */ export declare const KIMI_SUPPORTED_EFFORTS: readonly ["low", "high", "max"]; export type KimiEffort = (typeof KIMI_SUPPORTED_EFFORTS)[number]; /** * Models that advertise `support_efforts` in Kimi's model catalog. Keep in * sync with `models` above; only these accept KIMI_MODEL_THINKING_EFFORT. */ export declare const EFFORT_CAPABLE_MODELS: Set; export declare function modelSupportsEffort(model: string): boolean; /** * Map a Paperclip effort value onto Kimi's supported thinking-effort set. * Returns null for values Kimi cannot honor so the caller leaves Kimi's own * default_effort in place instead of forwarding an invalid tier. */ export declare function resolveKimiThinkingEffort(effort: string): KimiEffort | null; export declare const agentConfigurationDoc = "# kimi_local agent configuration\n\nAdapter: kimi_local\n\nUse when:\n- You want Paperclip to run the Kimi Code CLI (kimi) locally on the host machine\n- You want Kimi sessions resumed across heartbeats with -r\n- You want Paperclip skills injected into the Kimi skills home without polluting the agent workspace\n\nDon't use when:\n- You need webhook-style external invocation (use http or openclaw_gateway)\n- You only need a one-shot script without an AI coding agent loop (use process)\n- Kimi Code CLI is not installed on the machine that runs Paperclip\n\nCore fields:\n- cwd (string, optional): default absolute working directory fallback for the agent process (created if missing when possible)\n- instructionsFilePath (string, optional): absolute path to a markdown instructions file prepended to the run prompt. Sibling files in the same directory (HEARTBEAT.md, SOUL.md, TOOLS.md) are made readable via --add-dir for local runs.\n- promptTemplate (string, optional): run prompt template\n- model (string, optional): Kimi model alias (provider/model). Defaults to kimi-code/kimi-for-coding.\n- effort (string, optional): thinking effort (low | medium | high | max). CLI lane only (engine=cli): forwarded as KIMI_MODEL_THINKING_EFFORT for effort-capable models (K2.8 Preview, K3, and K3 256K); \"medium\" maps to \"high\" since Kimi has no medium tier. Ignored for models without support_efforts, and NOT forwarded on the default ACP engine lane (Kimi ACP exposes a separate \"thinking\" option that is not wired yet) \u2014 pin engine=cli when effort control matters.\n- command (string, optional): defaults to \"kimi\"\n- extraArgs (string[], optional): additional CLI args\n- env (object, optional): KEY=VALUE environment variables\n\nOperational fields:\n- timeoutSec (number, optional): run timeout in seconds\n- graceSec (number, optional): SIGTERM grace period in seconds\n\nNotes:\n- The adapter defaults to the ACP engine (`kimi acp`) and fails with a setup error when ACP prerequisites are unavailable. Set `engine` to `acp` or `cli` to require a specific lane.\n- CLI-lane runs use `kimi -p` with `--output-format stream-json` for non-interactive headless execution; the prompt is passed as an argument, not stdin.\n- The adapter sets a headless-safe environment (CI=1, NO_COLOR=1, KIMI_CODE_NO_AUTO_UPDATE=1) so unattended runs never wait on interactive prompts or update preflight.\n- Sessions resume with `-r ` when the stored session cwd matches the current cwd; the session id is captured from the trailing session.resume_hint meta event.\n- Desired Paperclip skills are delivered to local runs via `--skills-dir` pointing at a per-run managed directory, so skills load reliably without polluting the user's `~/.kimi-code/skills` home. Remote runs sync skills into the remote skills home.\n- Authentication uses `kimi login` (OAuth device flow), providers configured in Kimi's config.toml, or the KIMI_MODEL_NAME + KIMI_MODEL_API_KEY environment pair.\n"; //# sourceMappingURL=index.d.ts.map