Kimi Code VS Code 插件 —— 个人修改版 (Fork)Kimi Code for VS Code — Unofficial Personal Fork
市场地址 / Marketplace:marketplace.visualstudio.com/items?itemName=GXGLEO.kimicode-vscode-fork(缓存看不到最新版本时请以此为准 / Check here if a cached page hides the latest release) 最后更新:2026-10-15 | Last updated: 2026-10-15 ⚠️ 注意:该插件项目由 K3 MAX 自主修改并同步,跟随官方引擎侧更新,拥有更多可自定义权限。 ⚠️ Note: this fork is modified and maintained with K3 MAX — it tracks official engine-side updates and adds more customizable options. ⚠️ 声明 | Disclaimer
English:
✨ 与原版的差异(定制功能) | Differences from Upstream🔄 官方同步 | Official Sync引擎侧按批同步:官方引擎修复、模型/供应商适配、协议变化按批次移植。最近一批(CLI 2.2.0 / #4230,共 18 项):恢复会话后媒体工具可用、中断时取消视频上传、swarm 子代理状态持久化、fork 会话不再继承定时任务、Gemini 4 thinkingLevel 适配、completion token 上限按需省略、子代理请求前缀缓存对齐、MCP OAuth offline_access 等。 Engine-side sync in batches: upstream engine fixes, model/provider adaptation and protocol changes are ported in batches. Latest batch (CLI 2.2.0 / #4230, 18 items): media tools available after session resume, video uploads cancelled on interrupt, persisted swarm subagent state, no cron inheritance on fork, Gemini 4 thinking levels, completion-token cap omitted unless configured, subagent request-prefix cache parity, MCP OAuth offline_access, and more. 👥 多账号 | Multi-Account多账号不同登录方式:支持同时登录多个 Kimi Code 官方账号(VS Code 内完成 OAuth 设备码流程),第三方自定义供应商(API Key)与官方账号统一在「账号管理」中管理;一键按窗口切换账号(不同窗口可各用各的账号)、手动排序、星标默认账号;每个账号独立显示 5 小时 / 7 天(或月度)额度与重置倒计时。 Multiple accounts, different sign-in methods: stay signed in to several official Kimi Code accounts at once (OAuth device flow inside VS Code); third-party custom providers (API keys) are managed alongside official accounts in Account Management; one-click per-window account switching (different windows can use different accounts), manual ordering, starred default account; per-account 5-hour / 7-day (or monthly) quota with reset countdowns. 🤖 会话与标题 | Sessions & Titles会话标题自动生成:官方 V2 引擎已提供该功能但默认关闭,本插件默认开启(可用 Automatic session titles: provided by the official v2 engine but off by default; this fork turns it on by default (can be disabled via the 📊 额度 | Quota额度状态栏:5 小时 / 7 天额度同心环实时显示,颜色随用量变化(70% 起黄 → 100% 红),含重置倒计时与 Tooltip;适配无 7 天上限的新套餐(自动切换月度额度),悬浮显示套餐名;额度查询固定走直连,不经系统代理,避免代理导致偶发查询失败。 Quota status rings: live concentric rings for the 5-hour / 7-day quotas; color shifts with usage (yellow from 70%, red at 100%), with reset countdown and tooltip; adapts to plans without a weekly cap (switches to the monthly quota) and shows the plan name on hover. Quota lookups always connect directly, bypassing the system proxy, to avoid intermittent proxy-related failures. 🛡️ 权限与审批 | Permissions & ApprovalPlan 审批(Claude 式 UX):Plan 模式弹窗支持 执行 / Revise+反馈 / 选项,不再在 YOLO 下静默直接执行;计划完成时先在编辑器中打开计划文件,再弹窗确认。 Plan approval (Claude-style UX): the plan-mode dialog offers Execute / Revise with feedback / options instead of silently auto-executing in YOLO mode; when planning finishes, the plan file opens in the editor first, then the confirmation dialog appears. 更多权限自定义: More permission customization: 🧠 上下文 | Context压缩后界面同步: Post-compaction UI sync: after 📜 历史记录 | History历史记录加载体验:打开 / 切换历史对话立即显示加载遮罩;加载完成后直接定位到最新消息,不再有从上往下的滚动动画;点选会话后列表立即收起,不再挂在遮罩上。 History loading UX: opening or switching to a past conversation shows a loading overlay immediately; once loaded it jumps straight to the newest message (no top-to-bottom scroll animation); picking a session collapses the list at once instead of leaving it hanging over the overlay. Kimi 眼睛加载动画:历史加载、会话列表、上下文查看器等加载场景,居中显示毛玻璃加载胶囊——左侧 Kimi 眼睛徽标(左右漂移 + 眨眼,复刻 Kimi Web 左上角图标动画),右侧「加载中…」文案。 Kimi eyes loading animation: loading states (history, session list, context viewer) show a centered frosted-glass capsule — the Kimi eyes badge on the left (drifting and blinking, replicating the Kimi Web top-left icon animation) with "Loading…" text on the right. 🤝 子代理 | Subagents子代理自定义供应商:可在 VS Code 内为子代理配置自定义供应商(密钥存 SecretStorage,安全),支持添加 / 编辑(密钥留空保持不变)/ 删除。 Custom subagent providers: configure custom providers for subagents inside VS Code (keys stored securely in SecretStorage); add / edit (leave the key field empty to keep the stored key) / delete supported. 子代理独立模型(secondary model):子代理可绑定独立供应商模型(如 DeepSeek),主代理 Kimi + 子代理 DeepSeek 分流,高峰期更稳更快。 Dedicated subagent model (secondary model): subagents can bind an independent provider/model (e.g. DeepSeek) — main agent on Kimi, subagents on DeepSeek — for steadier, faster runs at peak hours. 子代理模型徽标:使用第三方模型的子代理在卡片尾部标注紫色模型名徽标,跟随主模型的不标记(实时与历史回放均生效)。 Subagent model badge: subagents running on third-party models show a purple model-name badge at the end of their card; subagents following the main model stay unmarked (works live and in history replay). 🌐 界面 | UI界面语言:中英文切换(设置 UI language: Chinese/English switch (setting Logo 与视觉:复刻 Kimi Code CLI 蓝色标识、对话框头像、状态栏布局调整;所有开关 开 = 蓝色 / 关 = 灰色,状态一眼可辨。 流式动效(桌面端同款):正在输出的正文末尾显示闪烁的打字机光标;思考块标签在推理期间以 1.6 秒呼吸动画提示进行中(均尊重系统「减少动态效果」设置)。 Logo & visuals: the Kimi Code CLI blue logo, chat avatars, and an adjusted status-bar layout; every toggle is blue when on and gray when off — state at a glance. Streaming motion (same as the desktop app): a blinking typewriter cursor follows the tail of in-flight text, and the thinking label breathes while reasoning streams (both honor reduced motion). Web 同款输入区:状态行左侧保留队列 / 文件修改,右侧为后台 Bash / 子 Agent / 当前进度(待办)/ 上下文查看器(仅在本对话调用过后显示);模式与模型选择器(参考 kimi code web 界面);有待发消息时队列按钮蓝色高亮。 Web-style input area: the status row keeps queue / file-changes on the left, and background Bash / sub-agents / current progress (todos) / context viewer on the right (each shown only after use in the current conversation); mode & model pickers modeled on the Kimi Code Web UI; the queue button highlights blue while messages are pending. 🖼️ 界面预览 | UI Preview
⌨️ 快捷键 | Keyboard Shortcuts本 fork 独有:
English (fork-only):
官方原有(沿用上游,行为未改动):
English (upstream, unchanged):
🔧 构建与打包 | Build & Package环境要求:Node.js >= 24.15.0、pnpm 10.33.0( English: Requirements: Node.js >= 24.15.0, pnpm 10.33.0 (enforced via
产出 | Output: 安装到 VS Code | Install into VS Code解包 vsix 中的 English: Unpack the
📁 目录结构 | Repository Layout
English:
🕓 更改日志 | Changelog更改日志独立维护在 CHANGELOG.md,不再随插件详情页展示。 English: The changelog is maintained separately in CHANGELOG.md and no longer ships on the extension details page. LicenseApache-2.0,基于 Moonshot AI 原版修改。原版版权归 Moonshot AI 所有。 Apache-2.0 — modified from Moonshot AI's original project. Original copyright belongs to Moonshot AI. |