Repository navigation
Conversation
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c2d6a8eaf4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [environments.windows-dev] | ||
| type = "ssh" | ||
| host = "windows-dev" | ||
| remoteBin = "kimi" |
There was a problem hiding this comment.
Keep the Windows example on the documented executor path
When readers follow the preceding setup and install only at ~/.kimi-code/bin/kimi.exe, this override makes SSH run bare kimi from the remote PATH; the binary at the documented default will not be found unless users separately add it to PATH, so the example connection fails. Remove the override or explain the PATH requirement; the same example appears in the Chinese mirror.
AGENTS.md reference: docs/AGENTS.md:L38-L42
Useful? React with 👍 / 👎.
| ## Declare Docker and custom-command environments | ||
|
|
||
| ### Docker containers | ||
| Besides SSH, you can declare a Docker-compatible container or a custom launcher command. |
There was a problem hiding this comment.
State the executor prerequisite for Docker and custom targets
When readers follow either non-SSH example for a container or target without Kimi installed, the launcher still executes the default ~/.kimi-code/bin/kimi exec-server remotely, but this section gives no step to install it; the executor prerequisite is now scoped to the SSH section, so these examples fail at connection time. State the prerequisite for Docker and custom targets here or in the shared setup, and do the same in the Chinese mirror.
AGENTS.md reference: docs/AGENTS.md:L272-L277
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dc4ff0467a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - Configure users, ports, keys, and jump hosts in `~/.ssh/config` if needed. | ||
|
|
||
| This example uses `dev-box`, a machine you can already sign in to over SSH. | ||
| Kimi Code does not install the executor automatically. If it is missing or incompatible, install or update to the build provided for the target platform. |
There was a problem hiding this comment.
Restore an actionable SSH executor install step
For a fresh SSH target with no Kimi installation, step 1 is not actionable: this rewrite removes the previous ssh ... install.sh command and the link to Getting Started, while a repo-wide docs search finds no other instructions for obtaining the separately named “executor.” A reader therefore cannot get from this task guide to kimi --environment dev-box; restore the remote install command or link here and in the Chinese mirror.
AGENTS.md reference: docs/AGENTS.md:L270-L277
Useful? React with 👍 / 👎.
Requirement or Bug
The remote-environment guide retained in the documentation site contains operational details that the later upstream #4693 rewrite removed or restructured. Mirroring upstream again would drop the retained reconnect behavior, remote-workspace limitations, Windows requirements, and related anchor targets.
The Chinese documentation also mixes curly double quotes with straight quotes and omits required spaces around quoted content next to CJK text. This PR restores the retained bilingual guide and brings the affected Chinese prose back under
docs/AGENTS.md's straight-quote and spacing rules.Bug Reproduction Steps
N/A — documentation-only editorial sync, not a bug-fix PR.
Root Cause
N/A — documentation-only editorial sync; there is no product bug root cause to diagnose. The editorial source is the retained guide used by the documentation site, while the quote-style inconsistencies were found by scanning Markdown prose outside fenced code, inline code, and HTML tags.
Code Changes
Remote-environment guide
docs/zh/guides/remote-environment.mdanddocs/en/guides/remote-environment.mdwith the retained bilingual version used by the documentation site, converting site-absolute links to upstream-relative Markdown links.kimi --environmentdetails, Docker and custom-command examples, Windows requirements, disconnect/reconnect behavior, and the fuller remote-workspace limitations.kubectl/WSL examples are reduced to the generic custom-command example; field-level behavior remains in the completeenvironmentsreference. No product behavior is added or removed by this editorial replacement.config-files.md,kimi-command.md, andmcp.mdper locale so they target the restored headings: Windows targets,kimi --environment/--environment-cwd, and Docker/custom-command environments.Chinese quote style
「」special terms, fenced code, inline code, HTML attributes, and literal command output unchanged. English UI labels and error text remain verbatim; only surrounding typography is normalized.Scope and release artifacts
Behavior Changes and Affected Users
None. There are no changes to command behavior, configuration keys, API responses, defaults, persisted data, or client contracts. The only user-visible differences are the restored documentation content and corrected typography.
Verification
git diff --check: passed.npm run buildindocs/: passed; only the existing ES2024, chunk-size, and dependency-audit warnings remain.Checklist
gen-changesetsskill, or this PR needs no changeset — no changeset because the change is docs-only.gen-docsskill, or this PR needs no doc update — this is the documentation update itself; there is no separate code-driven documentation generation to run.