Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/upgrade-web-markdown-renderers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Upgrade web markdown renderer dependencies (katex, markstream-vue, shiki) for bug fixes and performance improvements.
6 changes: 3 additions & 3 deletions apps/kimi-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"@fontsource-variable/jetbrains-mono": "^5.2.8",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"katex": "^0.16.22",
"markstream-vue": "1.0.3",
"shiki": "^4.2.0",
"katex": "^0.17.0",
"markstream-vue": "^1.0.4",
"shiki": "^4.3.0",
Comment on lines +19 to +21

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update the fixed pnpmDeps hash

Changing these web dependencies updates the dependency graph used by pnpm-lock.yaml, which is included in the Nix derivation source and fed to pkgs.fetchPnpmDeps with a fixed hash in flake.nix:134-153. The CI workflow explicitly runs nix build .#kimi-code in .github/workflows/nix-build.yml:90-108, so with the old pnpmDeps hash left unchanged this dependency upgrade will fail there with a hash mismatch; update the hash in flake.nix to match the new lockfile.

Useful? React with 👍 / 👎.

"stream-markdown": "^0.0.16",
"vue": "^3.5.35",
"vue-i18n": "^11.4.5"
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
inherit (finalAttrs) pname version src pnpmWorkspaces;
inherit pnpm;
fetcherVersion = 3;
hash = "sha256-O9xDt/5bCakst2mKTyki3oyUph1g+CuH/BIqA/4fgYE=";
hash = "sha256-w/mEQrb5gNn4S5jZ95vO9uy4u/JB3wFbUfIZDcWqTXU=";
};

nativeBuildInputs = [
Expand Down
126 changes: 67 additions & 59 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading