Repository navigation
fix(plugins): rename WebBridge display name to Kimi Browser Extension - #3803
Conversation
The product has renamed WebBridge to Kimi Browser Extension in work and Chrome. Update the user-facing display name across the built-in capability entry, TUI plugins selector, managed plugin manifest, marketplace catalog, skill docs, and user docs to match. Internal ids, binary names, CDN paths, and daemon references are unchanged.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
🦋 Changeset detectedLatest commit: 3401fb9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
commit: |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 57ae45b161
ℹ️ 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".
Address review: point the changeset at the scoped CLI package, bump the renamed plugin's manifest/catalog/docs version so installed users are offered the renamed package as an update, and preserve the published #kimi-webbridge documentation anchor beside the renamed heading.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f355d0867f
ℹ️ 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".
Broadening the version-mismatch trigger to the generic prefix 'Please update the' would misclassify unrelated tool errors as an outdated browser extension; match the two known full messages instead.
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
Step 6 of the incremental sync to 2.1.1: 29 upstream commits over 370 files. 35 conflicts, concentrated in the TUI layer where the fork's i18n and pi-tui work sits on top of upstream's message components. Upstream's changes in this step, all absorbed: - mermaid code blocks render as terminal diagrams, with a new `MermaidRenderMode` preference and a settings entry (MoonshotAI#3851) - Windows CLI binaries are signed with Azure Artifact Signing (MoonshotAI#3858) - MCP servers flip to needs-auth when a tool call returns 401, and the rejected grant's tokens are invalidated (MoonshotAI#3846) - the `/desktop` slash command and the `install-app` subcommand (MoonshotAI#3849) - skill scopes: `SkillScope` joins the catalog types and custom-theme becomes tui-only (MoonshotAI#3843) - Windows 8.3 short paths are watched through their long form (MoonshotAI#3840) - images upload as file references for Kimi models (MoonshotAI#3784) - `/usage` and `/status` no longer prompt for login before the first message (MoonshotAI#3818) - completed subagent scopes are evicted behind an LRU cache (MoonshotAI#3778) - the human layer's request/recovery stage names were aligned (MoonshotAI#3766) and its names clarified (MoonshotAI#3727) - WebBridge's display name became "Kimi Browser Extension" (MoonshotAI#3803) - diff code blocks are highlighted (MoonshotAI#3802) - feedback surveys are gated by the resolved kfc model id (MoonshotAI#3795) Fork behaviour that had to survive: - the i18n layer: every new upstream string went through `t()` with en/zh locale entries (mermaid preference, WebBridge intro, usage panel), and the fork's locale JSONs were regenerated - the pi-tui intent cards and the fork's local Markdown component, kept over upstream's pi-tui Markdown import in the message components - the 128 KiB `max_completion_tokens` cap on the kimi trait - the fork's media tool folding (read-media-file) and the `isMediaUploadAuthError` rename carried through - the Bun toolchain: flake.nix keeps `impureEnvVars`, the native build workflow keeps the Bun steps while taking upstream's Azure signing env block, and 05-verify.mjs verifies the checksum before the Authenticode branch - proactiveMediaEviction in the LLM requester, after upstream's warning dispatch - the fork's stricter `isUnauthorizedLikeError` (no message-regex fallback) and its OAuth token transaction This merge also fixes a fork bug the new upstream tests exposed: the TUI's background-task handler had been switched to the v2 `task.*` event spelling during the v1→v2 migration, but the SDK's event mapper translates those back to `background.task.*` before delivery (the fork's own `notify.ts` already listened for the translated names), so the handler had been dead code at runtime. The handler and the three test fixtures that fed it now use `background.task.*` again. Test expectations re-pinned where the fork's shape differs from upstream's: - `assistant-message.test.ts` reads the local Markdown's `sourceText` instead of pi-tui's `text` - the new `markdown.test.ts` calls `setPalette(palette, family)`, the fork's two-argument signature - `choice-picker.test.ts` asserts the mermaid entry, because the fork's longer settings list pushes `upgrade` past the 8-row page - "invalidates stored OAuth tokens when a runtime 401 fails the refresh": the fork's token transaction removes the revoked tokens while the refresh fails, and the transport closes before the caller can flip the entry into needs-auth, so the server ends up failed rather than needs-auth. The security-relevant half (stale tokens are gone) still holds; the status difference is a known gap to revisit. Verified: typecheck clean across every package and app; full suite 17594 passed / 81 skipped / 1 todo. The four failures under parallel load (rpc-events ×2, taskManager ×2) pass in isolation — load-induced flakes, not regressions.
背景
WebBridge 产品在 work 和 Chrome 已统一改名为 Kimi Browser Extension(kimi 浏览器扩展),kimi code 内仍是旧名 "Kimi WebBridge"。经确认:显示名不是实时拉插件字段,而是多处写死,需要开 PR 同步。
改动(只改显示名,内部 id 不动)
packages/agent-core-v2/.../entries/kimiWebbridge.ts:capabilitydisplayName(Web 端 Settings → Plugins → Built-in 卡片的来源,经 daemon/capabilities下发)apps/kimi-code/src/tui/components/dialogs/plugins-selector.ts:TUI pinned 内置卡片displayNameapps/kimi-code/src/tui/commands/plugins.ts:安装后提示文案plugins/official/kimi-webbridge/kimi.plugin.json:interface.displayName/description/longDescriptionplugins/marketplace.json:市场目录条目displayNameplugins/official/kimi-webbridge/skills/kimi-webbridge/SKILL.md:技能文案(含版本不匹配提示——保留匹配旧版扩展报错字面量的兼容说明)docs/{en,zh}/customization/plugins.md、docs/{en,zh}/reference/server-api.md:用户文档(含锚点同步)保持不变:内部 id(
kimi-webbridge)、二进制/文件名、CDN 路径、daemon 名(WebBridge daemon)、契约z.enum、商店链接与官网 URL。卡片上的版本号本来就来自本地 daemon 实时上报,不受影响。测试
packages/agent-core-v2capability 测试 +packages/kap-serverplugins/capabilities 测试:43 通过apps/kimi-codeplugins-selector / plugins-capability / plugin-marketplace / build-plugin-marketplace-cdn 测试:96 通过tsc --noEmit(agent-core-v2)、oxlint:干净后续提醒
合并后插件详情页的名字要等 CDN 上的
plugins/official/kimi-webbridge.zip用新 manifest 重新构建上传后才会生效。