Repository navigation
chore: remove kimi-inspect - #4514
Conversation
Drop the unused inspect app and the kap-server client_hello gate that only opted it into the DI debug event feed.
|
Codex Review SummaryThis 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: |
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).
…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.
…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.
Requirement or Bug
删除未再使用的
kimi-inspect应用,并去掉仅为它服务的 WebSocket DI 事件放行。Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
apps/kimi-inspect及 lockfile 对应条目。client_hello不再按client_id === 'kimi-inspect'调用addDiEventTarget;对应单测一并删除。addDiEventTargetAPI 本身保留(broadcaster / 其他测试仍用)。Behavior Changes and Affected Users
apps/kimi-inspect调试 UIclient_hello带client_id: kimi-inspect接收event.di.*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
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.