Skip to content

chore: remove kimi-inspect - #4514

Merged
wbxl2000 merged 1 commit into
mainfrom
chore/remove-kimi-inspect
Oct 29, 2026
Merged

wbxl2000 merged 1 commit into
mainfrom
chore/remove-kimi-inspect

Conversation

@wbxl2000

Copy link
Copy Markdown
Collaborator

Requirement or Bug

删除未再使用的 kimi-inspect 应用,并去掉仅为它服务的 WebSocket DI 事件放行。

Bug Reproduction Steps

N/A

Root Cause

N/A

Code Changes

 apps/
-└── kimi-inspect/          # entire app removed

 packages/kap-server/
   transport/ws/v1/wsConnectionV1.ts
-    client_hello → addDiEventTarget when client_id === 'kimi-inspect'

 flake.nix / AGENTS.md / .changeset/config.json / gen-changesets skill
-  drop kimi-inspect workspace / ignore / map entries
  • 删除 apps/kimi-inspect 及 lockfile 对应条目。
  • client_hello 不再按 client_id === 'kimi-inspect' 调用 addDiEventTarget;对应单测一并删除。
  • addDiEventTarget API 本身保留(broadcaster / 其他测试仍用)。

Behavior Changes and Affected Users

Behavior Before After Who relies on the old behavior Escape hatch
本地运行 apps/kimi-inspect 调试 UI 可用 应用已删除 仅内部开发者手动启动 inspect 无;旧行为不再可用
client_hello 带 client_id: kimi-inspect 接收 event.di.* 会 opt-in 不再 opt-in 仅 kimi-inspect 连接 无;该客户端已删除

CLI / desktop / web / VS Code / ACP / SDK / TUI:不受影响(inspect 不进发布产物,也不被它们依赖)。

受影响模块与测试:

  • WsConnectionV1 全局 target 注册:wsConnectionV1.test.ts(去掉 DI opt-in 用例后仍覆盖 register/unregister)
  • scripts/check-nix-workspace.mjs 已跑通

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue (external PRs: issue must have a maintainer's /approve).
  • I have added tests that prove my feature works.
  • The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Drop the unused inspect app and the kap-server client_hello gate that
only opted it into the DI debug event feed.
@changeset-bot

changeset-bot Bot commented Oct 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0a74feb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T08:17:54.412299Z 0a74feb PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Oct 29, 2026

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

commit: 0a74feb

@wbxl2000
wbxl2000 merged commit 1ada329 into main Oct 29, 2026
28 of 29 checks passed
@wbxl2000
wbxl2000 deleted the chore/remove-kimi-inspect branch October 29, 2026 08:30
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 4, 2026
Ports upstream MoonshotAI#4514. The inspector app was a web client for the
kap-server /api/v1/debug surface, and the only production consumer of the
`event.di.*` debug feed: it opted itself in by sending
`client_id: "kimi-inspect"` on subscribe. With the app gone the opt-in
goes too, so the feed has no client; the broadcaster still exposes
`addDiEventTarget`, which only its own unit test uses.

Removed from the workspace, the changeset ignore list, the Nix flake's
workspace list, and the changeset skill's "never appears in a changeset"
rule; `bun install` dropped the workspace link from `bun.lock`.

Gates: wsConnectionV1 38 pass, kap-server tsc clean,
check:nix-workspace green, structural review unchanged (the three
remaining errors predate this commit).
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 4, 2026
…equivalent

MoonshotAI#4525: the marketplace half is ported and the native MCP OAuth capability is served by this fork's own mcpCore/oauth subsystem (service/provider/store/coordinator/callback-server, single-flight refresh, createMcpOAuthFetch wired through connection-manager), so the row is equivalent rather than ported. MoonshotAI#4514: kimi-inspect removed, with its only server-side client (the event.di.* opt-in) and the workspace/changeset/nix references.
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 15, 2026
…obes

B1, B7, B9, B10 and B12 have no open rows; their executable probes pass (B9/B10 carry manual probes only, so verify reports no executable probe), and each batch is marked done. B3 stays open: its MoonshotAI#4427 probe targets test/features/tower/store.test.ts, which bunfig excludes from the default suite, so the probe cannot run without the heavy path override. The MoonshotAI#4663 probe followed applyConversationRecord, which the live feed redesign removed and this branch now deletes; it points at the feed's applyMessage fold instead. The MoonshotAI#4514 probe was malformed (absent: needs <pattern>@<path>) and now checks that package.json no longer lists the removed app.
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.

2 participants