Skip to content

docs(server): document --dangerous-bypass-auth and --keep-alive flags#1373

Merged
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:docs/server-run-flags-followup
Jul 4, 2026
Merged

docs(server): document --dangerous-bypass-auth and --keep-alive flags#1373
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:docs/server-run-flags-followup

Conversation

@sailist

@sailist sailist commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

Follow-up to #1368, which added the --dangerous-bypass-auth and --keep-alive flags to kimi server run but merged with the changeset and docs checklist items still open.

Problem

The two new kimi server run flags shipped in #1368 have no user-facing documentation and no changeset, so the next release would ship the feature without a changelog entry and users would have no reference for how to use them (or the security implications of --dangerous-bypass-auth).

What changed

  • Added .changeset/server-bypass-auth-keep-alive.md (minor bump for @moonshot-ai/kimi-code) so the next release notes the feature.
  • Documented both flags in the kimi server run reference (docs/en/reference/kimi-command.md + docs/zh/reference/kimi-command.md), including a ::: danger callout spelling out the risk of --dangerous-bypass-auth.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works. (N/A — docs and changeset only)
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Add the two kimi server run flags introduced in MoonshotAI#1368 to the CLI reference (en + zh), including a danger callout for the auth-bypass flag, and add the changeset so the next release notes the feature.
@changeset-bot

changeset-bot Bot commented Jul 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a16f381

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 4, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@a16f381
npx https://pkg.pr.new/@moonshot-ai/kimi-code@a16f381

commit: a16f381

@sailist sailist merged commit e715b16 into MoonshotAI:main Jul 4, 2026
11 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a16f381001

ℹ️ 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".

@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": minor

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Downgrade the flag changeset to patch

The repo's gen-changesets rules classify adding a new flag to an existing command as a patch bump, reserving minor for substantial new user-facing features. Since this entry is for two flags on existing kimi server run, leaving it as minor will over-bump the next CLI release; please change this changeset to patch unless maintainers explicitly want a minor release.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant