KODER CLI / 0.8.4

Installation and model troubleshooting

Documentation from the exact 0.8.4 package. Release notes retain known limits and separate native-platform acceptance.

Installation and model troubleshooting

Diagnose a task or tool failure

Run koder doctor --json for a structured report. Add --tools to check bundled Skill text, resource integrity and available application tools. Add --computer to inspect computer grants and the installed driver. These checks do not send mail, click GUI controls, grant permissions or prove that a configured service works. --api is a separate live model request and can incur provider charges.

koder doctor --repair --tools --json also rolls back an invalid active local self-repair patch through the existing update lease. It keeps the patch history and refuses to roll back a different patch activated by another window. It does not reset credentials, erase task receipts, delete files or retry uncertain operations. If the report identifies a missing driver, refused permission, account problem or damaged data, follow that check's error code and next command.

Tool failures distinguish execution stages:

Code or receipt Meaning Next step
TOOL_ARGUMENTS_INVALID, not_attempted The handler was not called. Correct the required fields or types against the mounted schema.
TOOL_NOT_FOUND, TOOL_SCHEMA_INVALID The name or definition is unavailable. Check tool_inventory and koder tools audit --json.
MCP_*, failed Discovery or a protocol request failed. Run koder mcp list, then koder mcp test <id> for the specific connection.
TOOL_RESULT_INVALID, TOOL_HANDLER_EXCEPTION The handler ran but did not return a valid result. Preserve the call ID and check the actual target before retrying a write or send.
MAIL_SMTP_NOT_CONFIGURED, not_attempted No SMTP send was attempted. Run koder mail doctor --json, then complete mailbox setup through hidden input.
DELIVERY_UNCERTAIN, unknown SMTP was entered without a complete durable result. Check the sending account and saved receipt; do not send the same message again automatically.

An uncertain receipt is not a claim that the operation never started. A failure to save a receipt after SMTP acceptance retains the pending record and prevents a duplicate send. A read-only failure has no write effect. Small context windows retain the original schemas for relevant mounted tools and allow additional tools to be discovered on demand; they do not create permissions or tools that are absent.

In chat, use /error to inspect the latest report and /error copy to copy its redacted form. Outside chat, use koder logs report <report-id> --copy. Reports identify the error code, execution stage and counts of verified, returned, failed, unconfirmed and unexecuted calls. They are not uploaded automatically. Local structural checks and mock-provider regressions remain separate from native Windows, Ubuntu GUI, notification display and real mailbox acceptance.

CMD or PowerShell seems quiet

Use the matching command from installation. The installer first displays the KARMEN LOOP introduction and license. Read the terms, type accept, and press Enter if you agree. An empty Enter asks again. decline or Ctrl+C cancels. Automation requires the explicit consent setting described in the installation guide.

After acceptance, status messages identify the current download, checksum or extraction step. A slow Node.js probe lasts at most five seconds before the installer chooses its private runtime. Total download time can reach 100000000 seconds, but that does not disable stalled-transfer detection, progress messages or cancellation. Repeatedly pasting the command starts separate installers; cancel the current attempt before trying again.

If a download cannot proceed, keep the final error and the name of the current step. Check the network, proxy and official download page, then retry the ordinary installer. Avoid changing the license text, disabling checksum validation or deleting your existing configuration. An existing install is preserved when validation fails.

Once installed, open a new terminal and run:

koder --version
koder doctor
koder model show

EXECUTION_PERMISSIONS_INVALID before a command runs

This error comes from Koder's saved execution settings. A “Preparing command” line is a preview, not evidence that Windows ran the command. Changing the system PowerShell execution policy does not repair this record.

Preview.18 accepts a valid UTF-8 BOM record. If the record is damaged, the next action offers a fresh decision. Type y to allow that action once, always to rebuild an exact-action grant, or full to rebuild full access for the current workspace. A rebuilt record preserves the original bytes in a local execution-permissions.invalid-UUID.json backup. Other workspaces return to smart approval. Declining leaves the old file untouched. Symbolic links, oversized files and files that cannot be safely read are not trusted or silently replaced.

You can also choose Full access in Settings and confirm FULL, or run:

koder permissions execution full --confirm FULL

To revoke execution permissions instead, use koder permissions execution reset. Koder full access controls its own approval prompts; it does not grant Windows administrator rights, fill passwords or change machine-wide script policies.

A provider is gray or says temporarily unavailable

Preview.16 disables MiMo Token Plan, Kimi API, Kimi Code, DeepSeek, Alibaba Token Plan and both Volcano routes because of known integration bugs. This is a product availability status, not a diagnosis that your key is wrong. Re-entering a key will not enable these entries. Your saved configuration is retained. Choose another available service in koder setup; no replacement service or backup engine is selected automatically.

For an available service, confirm its exact product and endpoint, then run koder model test --tools if you authorize a real API request. This checks tool calling and continuation, not just a text reply. Provider charges may apply. Never put API keys into a public issue, screenshot or support email.

Send useful feedback

Contact info@karmenloop.com with the Koder version, Windows/macOS/Linux version, terminal, provider product and the final error text. Remove keys, private prompts and personal paths. Koder can prepare a feedback template when you ask; it does not send it for you.

MiniMax authentication and interrupted replies

An HTTP 401 from api.minimax.cn means the endpoint rejected the credential. Check the account region, whether the key belongs to the API or M Plan/Coding Plan product, subscription status and model access in that product's console. Repeating the same credential, changing Windows administrator permissions or relaxing memory-folder access does not repair an authentication rejection. Koder does not switch regions or forward the key to another host automatically. See the MiniMax API overview.

MEMORY_ACCESS_ISOLATION_UNVERIFIED can appear before that response. Its temporary RAM fallback allows an ordinary API request to proceed; the storage warning and HTTP 401 are separate findings. Preserve the private-folder checks described below.

The internal preview.26 candidate preserves MiniMax Messages response blocks in their original order. It also distinguishes a valid response that omitted thinking from private state lost after exit. This follows MiniMax's tool-use guidance. These changes are not included in the public preview.22 installer.

In that candidate, MODEL_STREAM_INTERRUPTED means a stream ended before its completion marker, within an event, or within a UTF-8 character. It does not establish whether the provider, a proxy or the connection caused the interruption. Incomplete tool calls are rejected. If a file operation already completed, type 重试 or retry in the same live conversation to resume only the failed model reply. Completed tools are not replayed and a later user edit is preserved. A process restart can expire the private response state; Koder then requires review instead of guessing or repeating the operation.

MODEL_PROTOCOL remains appropriate for a complete malformed event or invalid tool arguments. Do not bypass that guard. No paid-account or customer-device recovery is implied by synthetic protocol checks. If you authorize a billable check, koder model test --tools reports both tool use and continuation. Share only the version, product, model, endpoint host/path and redacted final error; never share the key or full request body.

A website task returns the Koder introduction

Update to preview.22 or newer. Earlier versions could mistake the word “官网” in a website redesign task for a question about Koder. In preview.22, the whole request must be an explicit product question before that local response is used. Ordinary website work reaches the model.

Open menus at the current koder › prompt with /menu, /setup, /celebrate, or 彩蛋菜单. You can also type koder setup or koder celebrate there. Escape returns from settings; Enter skips the effect menu. No additional terminal is required.

MEMORY_ACCESS_ISOLATION_UNVERIFIED

This means Koder could not verify private access to the configured memory directory. It is a storage permission check, before any model request. It is not an API-key error.

From preview.22, ordinary tasks continue in a temporary in-memory conversation. Existing history is not read, changed, deleted or silently moved. History persistence, personalization and synchronization stay paused for that session. Closing or manually updating the process does not restore that temporary conversation. Automatic installation waits while temporary memory is active. Account changes clear its context and invalidate pending approvals. An explicit --no-memory also skips personalization.

Run koder memory diagnose --json or /memory diagnose to see the selected root and reason. On Windows, private inherited rules can be sealed after native ACL readback, preserving all existing access rules and denies. A nonempty directory with access for other users remains blocked and unchanged. Unsupported filesystems, enterprise restrictions and unavailable native verification use temporary mode rather than a repeated failed chat turn.

Keep the old directory. Check that the selected volume is available and supports Windows ACLs, and have the owner or administrator review the exact directory permissions if access is broader than intended. Do not change global PowerShell execution policy, grant Everyone access, delete histories or select another root merely to suppress this error. Restart Koder after the actual directory issue is resolved to verify it and resume normal history.

中文:这是记忆目录的权限隔离检查,不是 API 密钥错误。新版会保留旧记录、暂停历史读写与同步,并用临时内存会话继续任务;退出或更新后临时对话不恢复。用 /memory diagnose 查看目录与原因。仅现有规则已经私有的继承权限可自动固定;有其他用户权限、非正常目录或无法验证的磁盘继续受到保护。请保留旧目录,核实磁盘与目录权限,解决后重启验证;不要放开全盘权限或删除历史来消除报错。

Windows celebration finishes but returns late

Preview.22 runs standalone koder celebrate and koder 彩蛋 through the existing one-process command path when no proxy bootstrap is required. Full playback stays at six seconds, and any key can skip. This avoids an extra worker-exit wait after the final frame. Current-chat menus continue to return to the same prompt.

Source candidate.7 reliability changes

An open unrelated stdin pipe no longer blocks an explicit ask/run prompt. To attach a pipe, add --stdin; no-prompt commands read it automatically. The complete-input deadline defaults to five seconds; incomplete input is rejected before a model request. Use --stdin-timeout for an intentionally slow producer.

A session named default is scoped to its canonical workspace. Automatic task facts must not enter another projects model context; switching projects rebuilds the current chat session. Explicit shared notes have their separate scope. Private storage is in the Koder profile, not the public output folder.

Model checks have a short single-attempt budget. HTTP validation errors can include a bounded, redacted JSON provider reason; raw response bodies and credentials are not printed. Invalid arguments return exit 2. A fix request without a description or check reports an example. An explicit --lang reaches the model request. These are candidate behaviors, not claims about older installed packages.