From 37e7366b53b3d46edf3bc91296c5ed4e36024df8 Mon Sep 17 00:00:00 2001 From: Continue Agent Date: Wed, 17 Sep 2025 01:44:25 +0000 Subject: [PATCH 01/10] Highlight first incomplete item in CLI checklist display - Added visual highlighting (cyan color and bold text) for the first incomplete checkbox item - This helps users quickly identify what task is currently in progress - Added comprehensive test coverage for the ChecklistDisplay component Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- .../ui/components/ChecklistDisplay.test.tsx | 63 +++++++++++++++++++ .../src/ui/components/ChecklistDisplay.tsx | 15 ++++- 2 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 extensions/cli/src/ui/components/ChecklistDisplay.test.tsx diff --git a/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx b/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx new file mode 100644 index 000000000..fe7ddf4a0 --- /dev/null +++ b/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx @@ -0,0 +1,63 @@ +import { render } from "ink-testing-library"; +import React from "react"; + +import { ChecklistDisplay } from "./ChecklistDisplay.js"; + +describe("ChecklistDisplay", () => { + it("should highlight the first incomplete item", () => { + const content = `Task list status: +- [x] Completed task +- [ ] First incomplete task +- [ ] Second incomplete task`; + + const { lastFrame } = render(); + const output = lastFrame(); + + // The output should contain the checkbox symbols and text + expect(output).toContain("✓"); + expect(output).toContain("○"); + expect(output).toContain("Completed task"); + expect(output).toContain("First incomplete task"); + expect(output).toContain("Second incomplete task"); + }); + + it("should handle empty checklist", () => { + const content = "Task list status:"; + + const { lastFrame } = render(); + const output = lastFrame(); + + expect(output).toBeDefined(); + }); + + it("should handle all completed tasks", () => { + const content = `Task list status: +- [x] Completed task 1 +- [x] Completed task 2`; + + const { lastFrame } = render(); + const output = lastFrame(); + + expect(output).toContain("✓"); + expect(output).toContain("Completed task 1"); + expect(output).toContain("Completed task 2"); + }); + + it("should handle mixed content with headers", () => { + const content = `Task list status: +## Important Tasks +- [x] Done task +- [ ] Todo task + +## Other Tasks +- [ ] Another todo`; + + const { lastFrame } = render(); + const output = lastFrame(); + + expect(output).toContain("Important Tasks"); + expect(output).toContain("Other Tasks"); + expect(output).toContain("✓"); + expect(output).toContain("○"); + }); +}); \ No newline at end of file diff --git a/extensions/cli/src/ui/components/ChecklistDisplay.tsx b/extensions/cli/src/ui/components/ChecklistDisplay.tsx index 926a4193f..4e823397d 100644 --- a/extensions/cli/src/ui/components/ChecklistDisplay.tsx +++ b/extensions/cli/src/ui/components/ChecklistDisplay.tsx @@ -13,6 +13,17 @@ export const ChecklistDisplay: React.FC = ({ }) => { const lines = content.split("\n"); + // Find the index of the first incomplete checkbox item + let firstIncompleteIndex = -1; + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + const checkboxMatch = line.match(/^(\s*)-\s*\[([ x])\]\s*(.*)$/); + if (checkboxMatch && checkboxMatch[2] === " ") { + firstIncompleteIndex = i; + break; + } + } + return ( {lines.map((line, index) => { @@ -25,6 +36,7 @@ export const ChecklistDisplay: React.FC = ({ if (checkboxMatch) { const [, indent, status, taskText] = checkboxMatch; const isCompleted = status === "x"; + const isFirstIncomplete = index === firstIncompleteIndex; return ( @@ -34,8 +46,9 @@ export const ChecklistDisplay: React.FC = ({ {taskText} From bbf12df81a6850519cca06c3b405cab54ce35ff7 Mon Sep 17 00:00:00 2001 From: tommypurcell Date: Sat, 20 Sep 2025 00:15:18 -0700 Subject: [PATCH 02/10] add if statement to check url starts with "http" then go to url directly --- core/core.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core.ts b/core/core.ts index 0a83620ad..f832b3fb9 100644 --- a/core/core.ts +++ b/core/core.ts @@ -458,6 +458,10 @@ export class Core { on("controlPlane/openUrl", async (msg) => { const env = await getControlPlaneEnv(this.ide.getIdeSettings()); + if (msg.data.path.startsWith("http")) { + await this.messenger.request("openUrl", msg.data.path); + return; + } const urlPath = msg.data.path.startsWith("/") ? msg.data.path.slice(1) : msg.data.path; From 27f56b1c2a4a90d0bc252a0a202189efabd22ea4 Mon Sep 17 00:00:00 2001 From: tommypurcell Date: Sat, 20 Sep 2025 12:02:08 -0700 Subject: [PATCH 03/10] Revert core.ts to match main --- core/core.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/core.ts b/core/core.ts index f832b3fb9..0a83620ad 100644 --- a/core/core.ts +++ b/core/core.ts @@ -458,10 +458,6 @@ export class Core { on("controlPlane/openUrl", async (msg) => { const env = await getControlPlaneEnv(this.ide.getIdeSettings()); - if (msg.data.path.startsWith("http")) { - await this.messenger.request("openUrl", msg.data.path); - return; - } const urlPath = msg.data.path.startsWith("/") ? msg.data.path.slice(1) : msg.data.path; From 3470ce696f4c26bb922180d5c193f574c03ba71f Mon Sep 17 00:00:00 2001 From: tommypurcell Date: Sat, 20 Sep 2025 12:03:18 -0700 Subject: [PATCH 04/10] use openUrl directly for GitHub and Discord links in StreamError.tsx --- gui/src/pages/gui/StreamError.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gui/src/pages/gui/StreamError.tsx b/gui/src/pages/gui/StreamError.tsx index bbb75b141..f9a60daf2 100644 --- a/gui/src/pages/gui/StreamError.tsx +++ b/gui/src/pages/gui/StreamError.tsx @@ -290,10 +290,7 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { { - ideMessenger.post("controlPlane/openUrl", { - path: GITHUB_LINK, - orgSlug: undefined, - }); + ideMessenger.post("openUrl", GITHUB_LINK); }} > @@ -302,10 +299,7 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { { - ideMessenger.post("controlPlane/openUrl", { - path: DISCORD_LINK, - orgSlug: undefined, - }); + ideMessenger.post("openUrl", DISCORD_LINK); }} > From 87396a4a6ca0e6e51b6ffda28e9bae4bd8303ec9 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 23 Sep 2025 17:49:00 -0700 Subject: [PATCH 05/10] fix: prettier --- extensions/cli/src/ui/components/ChecklistDisplay.test.tsx | 2 +- extensions/cli/src/ui/components/ChecklistDisplay.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx b/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx index fe7ddf4a0..dbbe0245c 100644 --- a/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx +++ b/extensions/cli/src/ui/components/ChecklistDisplay.test.tsx @@ -60,4 +60,4 @@ describe("ChecklistDisplay", () => { expect(output).toContain("✓"); expect(output).toContain("○"); }); -}); \ No newline at end of file +}); diff --git a/extensions/cli/src/ui/components/ChecklistDisplay.tsx b/extensions/cli/src/ui/components/ChecklistDisplay.tsx index 4e823397d..458e3a7cb 100644 --- a/extensions/cli/src/ui/components/ChecklistDisplay.tsx +++ b/extensions/cli/src/ui/components/ChecklistDisplay.tsx @@ -46,7 +46,9 @@ export const ChecklistDisplay: React.FC = ({ From 268329a9440ce3c39e48d178fa157d17e421a718 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Thu, 25 Sep 2025 11:39:57 -0700 Subject: [PATCH 06/10] feat(cli): enhance /init command to create custom slash command (#7888) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(cli): enhance /init command to create custom slash command Update the /init slash command prompt to also create a custom "review" slash command file at .continue/rules/review.md with invokable frontmatter and review-focused instructions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fix: address feedback --------- Co-authored-by: Claude --- core/config/markdown/utils.ts | 14 ++++++++++---- extensions/cli/src/commands/init.ts | 22 ++++++++++++++++++++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/core/config/markdown/utils.ts b/core/config/markdown/utils.ts index 5fbade09b..df64a75be 100644 --- a/core/config/markdown/utils.ts +++ b/core/config/markdown/utils.ts @@ -4,6 +4,15 @@ import { } from "@continuedev/config-yaml"; import { joinPathsToUri } from "../../util/uri"; +function createRelativeRuleFilePathParts(ruleName: string): string[] { + const safeRuleName = sanitizeRuleName(ruleName); + return [".continue", "rules", `${safeRuleName}.${RULE_FILE_EXTENSION}`]; +} + +export function createRelativeRuleFilePath(ruleName: string): string { + return createRelativeRuleFilePathParts(ruleName).join("/"); +} + /** * Creates the file path for a rule in the workspace .continue/rules directory */ @@ -11,11 +20,8 @@ export function createRuleFilePath( workspaceDir: string, ruleName: string, ): string { - const safeRuleName = sanitizeRuleName(ruleName); return joinPathsToUri( workspaceDir, - ".continue", - "rules", - `${safeRuleName}.${RULE_FILE_EXTENSION}`, + ...createRelativeRuleFilePathParts(ruleName), ); } diff --git a/extensions/cli/src/commands/init.ts b/extensions/cli/src/commands/init.ts index f4c31e614..ad50333ef 100644 --- a/extensions/cli/src/commands/init.ts +++ b/extensions/cli/src/commands/init.ts @@ -1,9 +1,11 @@ import { type AssistantConfig } from "@continuedev/sdk"; +import { createRelativeRuleFilePath } from "core/config/markdown/utils.js"; import { SlashCommandResult } from "../ui/hooks/useChat.types.js"; function createInitPrompt(): string { - return `Please analyze this repository and create a comprehensive AGENTS.md file. Use your available tools to understand the project structure, read important files like README.md, package.json, requirements.txt, and other configuration files to understand the technology stack and setup. + const relativeRuleFilepath = createRelativeRuleFilePath("review"); + return `Please analyze this repository and create a comprehensive AGENTS.md file, along with a custom slash command. Use your available tools to understand the project structure, read important files like README.md, package.json, requirements.txt, and other configuration files to understand the technology stack and setup. Create an AGENTS.md file with the following structure: @@ -30,7 +32,23 @@ Create an AGENTS.md file with the following structure: - Development environment setup - Lint and format commands -Please create the AGENTS.md file using the Write tool after analyzing the repository. Focus on providing actionable information that would help both AI agents and human developers understand and work effectively with this codebase. Keep the file concise but informational.`; +Additionally, create a slash command file at ${relativeRuleFilepath} with the following structure: + +\`\`\`md +--- +invokable: true +--- + +Review this code for potential issues, including: + + + +Provide specific, actionable feedback for improvements. +\`\`\` + +This slash command will be invokable using /review and will provide instructions for code review tasks common to this repository. + +Please create both the AGENTS.md file and the .continue/rules/review.md file using the Write tool after analyzing the repository. Focus on providing actionable information that would help both AI agents and human developers understand and work effectively with this codebase. Keep the files concise but informational.`; } export async function handleInit( From 306ed9f1e338bf5dcaa5a3dbf50307f7b5e287c6 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 25 Sep 2025 14:12:17 -0700 Subject: [PATCH 07/10] fix: llm-info preferred provider (#7962) * fix: llm-info preferred provider * fix: cubic feedback --- core/llm/index.ts | 2 +- packages/llm-info/src/index.ts | 26 +++++++++++++++++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/core/llm/index.ts b/core/llm/index.ts index a634fc5d6..ecb43bfca 100644 --- a/core/llm/index.ts +++ b/core/llm/index.ts @@ -213,7 +213,7 @@ export abstract class BaseLLM implements ILLM { this.providerName === "continue-proxy" ? this.model?.split("/").pop() || this.model : this.model; - const llmInfo = findLlmInfo(modelSearchString); + const llmInfo = findLlmInfo(modelSearchString, this.underlyingProviderName); const templateType = options.template ?? autodetectTemplateType(options.model); diff --git a/packages/llm-info/src/index.ts b/packages/llm-info/src/index.ts index 35b88abf6..c1aaa6643 100644 --- a/packages/llm-info/src/index.ts +++ b/packages/llm-info/src/index.ts @@ -10,7 +10,7 @@ import { OpenAi } from "./providers/openai.js"; import { Vllm } from "./providers/vllm.js"; import { Voyage } from "./providers/voyage.js"; import { xAI } from "./providers/xAI.js"; -import { LlmInfo, ModelProvider, UseCase } from "./types.js"; +import { LlmInfoWithProvider, ModelProvider, UseCase } from "./types.js"; export const allModelProviders: ModelProvider[] = [ OpenAi, @@ -27,16 +27,32 @@ export const allModelProviders: ModelProvider[] = [ xAI, ]; -export const allLlms: LlmInfo[] = allModelProviders.flatMap((provider) => - provider.models.map((model) => ({ ...model, provider: provider.id })), +export const allLlms: LlmInfoWithProvider[] = allModelProviders.flatMap( + (provider) => + provider.models.map((model) => ({ ...model, provider: provider.id })), ); -export function findLlmInfo(model: string): LlmInfo | undefined { +export function findLlmInfo( + model: string, + preferProviderId?: string, +): LlmInfoWithProvider | undefined { + if (preferProviderId) { + const provider = allModelProviders.find((p) => p.id === preferProviderId); + const info = provider?.models.find((llm) => + llm.regex ? llm.regex.test(model) : llm.model === model, + ); + if (info) { + return { + ...info, + provider: preferProviderId, + }; + } + } return allLlms.find((llm) => llm.regex ? llm.regex.test(model) : llm.model === model, ); } -export function getAllRecommendedFor(useCase: UseCase): LlmInfo[] { +export function getAllRecommendedFor(useCase: UseCase): LlmInfoWithProvider[] { return allLlms.filter((llm) => llm.recommendedFor?.includes(useCase)); } From e583bfde1f9a567b8cc0078e83bb25b1b5be0bb9 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 25 Sep 2025 14:14:11 -0700 Subject: [PATCH 08/10] fix: GUI polish (#7927) * fix: assistant listbox styling * fix: replace tool truncation icon * fix: tool call ui tweaks * fix: cubic feedback --- .../SelectedAssistantButton.tsx | 4 +--- .../AssistantAndOrgListbox/index.tsx | 2 +- .../StyledMarkdownPreview/index.tsx | 20 +++++++++++++++++++ gui/src/components/mainInput/InputToolbar.tsx | 1 - .../LumpToolbar/BlockSettingsTopToolbar.tsx | 2 +- gui/src/components/ui/Button.tsx | 2 +- .../gui/ToolCallDiv/SimpleToolCallUI.tsx | 5 +++++ .../pages/gui/ToolCallDiv/ToolCallDisplay.tsx | 6 +++++- .../gui/ToolCallDiv/ToolCallStatusMessage.tsx | 2 +- .../ToolCallDiv/ToolTruncateHistoryIcon.tsx | 3 ++- 10 files changed, 37 insertions(+), 10 deletions(-) diff --git a/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx b/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx index 09334a9ec..b842cda77 100644 --- a/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx +++ b/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx @@ -48,9 +48,7 @@ export function SelectedAssistantButton({ ) : ( <> - + diff --git a/gui/src/components/AssistantAndOrgListbox/index.tsx b/gui/src/components/AssistantAndOrgListbox/index.tsx index 55db674be..4bc002c2e 100644 --- a/gui/src/components/AssistantAndOrgListbox/index.tsx +++ b/gui/src/components/AssistantAndOrgListbox/index.tsx @@ -150,7 +150,7 @@ export function AssistantAndOrgListbox({ />
diff --git a/gui/src/components/StyledMarkdownPreview/index.tsx b/gui/src/components/StyledMarkdownPreview/index.tsx index 7e87279a0..2ff217a61 100644 --- a/gui/src/components/StyledMarkdownPreview/index.tsx +++ b/gui/src/components/StyledMarkdownPreview/index.tsx @@ -84,6 +84,26 @@ const StyledMarkdown = styled.div<{ font-family: var(--vscode-editor-font-family); } + ul ul, + ul ol, + ol ul, + ol ol { + padding-left: 1.5em; + margin-top: 1em; + } + + li { + margin-bottom: 0.8em; + } + li:last-child { + margin-bottom: 0; + } + + ul, + ol { + padding-left: 2em; + } + code:not(pre > code) { font-family: var(--vscode-editor-font-family); } diff --git a/gui/src/components/mainInput/InputToolbar.tsx b/gui/src/components/mainInput/InputToolbar.tsx index 25355a7bd..87cf5344f 100644 --- a/gui/src/components/mainInput/InputToolbar.tsx +++ b/gui/src/components/mainInput/InputToolbar.tsx @@ -56,7 +56,6 @@ function InputToolbar(props: InputToolbarProps) { const hasReasoningEnabled = useAppSelector( (store) => store.session.hasReasoningEnabled, ); - const isEnterDisabled = props.disabled || (isInEdit && codeToEdit.length === 0); diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index cc83b9c46..5cca2cdc1 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -105,7 +105,7 @@ export function BlockSettingsTopToolbar() { }; return ( -
+
{shouldShowError && ( diff --git a/gui/src/components/ui/Button.tsx b/gui/src/components/ui/Button.tsx index 690a72bb3..e4cf466e3 100644 --- a/gui/src/components/ui/Button.tsx +++ b/gui/src/components/ui/Button.tsx @@ -40,7 +40,7 @@ const Button = React.forwardRef( className={cn( "cursor-pointer transition-all duration-200", "hover:enabled:cursor-pointer", - "disabled:text-description-muted disabled:pointer-events-none disabled:opacity-50", + "disabled:cursor-not-allowed disabled:opacity-50", buttonVariants[variant], isIcon ? iconButtonSizes[size] diff --git a/gui/src/pages/gui/ToolCallDiv/SimpleToolCallUI.tsx b/gui/src/pages/gui/ToolCallDiv/SimpleToolCallUI.tsx index b9fa4777d..d875af8f0 100644 --- a/gui/src/pages/gui/ToolCallDiv/SimpleToolCallUI.tsx +++ b/gui/src/pages/gui/ToolCallDiv/SimpleToolCallUI.tsx @@ -7,6 +7,7 @@ import { import { IdeMessengerContext } from "../../../context/IdeMessenger"; import { ToggleWithIcon } from "./ToggleWithIcon"; import { ToolCallStatusMessage } from "./ToolCallStatusMessage"; +import { ToolTruncateHistoryIcon } from "./ToolTruncateHistoryIcon"; import { toolCallStateToContextItems } from "./utils"; interface SimpleToolCallUIProps { @@ -61,6 +62,10 @@ export function SimpleToolCallUI({ />
+ + {!!toolCallState.output?.length && ( + + )}
{isToggleable && ( diff --git a/gui/src/pages/gui/ToolCallDiv/ToolCallDisplay.tsx b/gui/src/pages/gui/ToolCallDiv/ToolCallDisplay.tsx index f5a660050..6c5b89805 100644 --- a/gui/src/pages/gui/ToolCallDiv/ToolCallDisplay.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ToolCallDisplay.tsx @@ -1,5 +1,6 @@ import { Tool, ToolCallState } from "core"; import { ToolCallStatusMessage } from "./ToolCallStatusMessage"; +import { ToolTruncateHistoryIcon } from "./ToolTruncateHistoryIcon"; interface ToolCallDisplayProps { children: React.ReactNode; @@ -19,7 +20,7 @@ export function ToolCallDisplay({ return (
-
+
{icon} @@ -29,6 +30,9 @@ export function ToolCallDisplay({ )}
+ {!!toolCallState.output?.length && ( + + )}
{children}
diff --git a/gui/src/pages/gui/ToolCallDiv/ToolCallStatusMessage.tsx b/gui/src/pages/gui/ToolCallDiv/ToolCallStatusMessage.tsx index 4a88fd7cb..c633b0514 100644 --- a/gui/src/pages/gui/ToolCallDiv/ToolCallStatusMessage.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ToolCallStatusMessage.tsx @@ -53,7 +53,7 @@ export function ToolCallStatusMessage({ return (
{`Continue ${intro} ${message}`} diff --git a/gui/src/pages/gui/ToolCallDiv/ToolTruncateHistoryIcon.tsx b/gui/src/pages/gui/ToolCallDiv/ToolTruncateHistoryIcon.tsx index d28cd9328..dc5c2a03b 100644 --- a/gui/src/pages/gui/ToolCallDiv/ToolTruncateHistoryIcon.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ToolTruncateHistoryIcon.tsx @@ -21,7 +21,8 @@ export function ToolTruncateHistoryIcon({ const { mainEditor } = useMainEditor(); if (historyIndex === lastMessageIndex) { - return null; + // filler so doesn't jump in + return
; } return ( From a49d53a6a06f9e156f6db85b4a38f68f2cdae1cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Sep 2025 21:14:55 +0000 Subject: [PATCH 09/10] chore(deps): bump tar-fs from 3.0.9 to 3.1.1 in /core Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 3.0.9 to 3.1.1. - [Commits](https://github.com/mafintosh/tar-fs/compare/v3.0.9...v3.1.1) --- updated-dependencies: - dependency-name: tar-fs dependency-version: 3.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- core/package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/package-lock.json b/core/package-lock.json index 109605f18..974572995 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -202,7 +202,7 @@ }, "../packages/llm-info": { "name": "@continuedev/llm-info", - "version": "1.0.9", + "version": "1.0.10", "license": "Apache-2.0", "devDependencies": { "@semantic-release/changelog": "^6.0.3", @@ -16364,9 +16364,9 @@ } }, "node_modules/prebuild-install/node_modules/tar-fs": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", - "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz", + "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==", "license": "MIT", "dependencies": { "chownr": "^1.1.1", @@ -18323,9 +18323,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz", - "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz", + "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==", "license": "MIT", "dependencies": { "pump": "^3.0.0", From 4dfe1ffc9aaa37e22cdb855c475445681f106f33 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 25 Sep 2025 15:58:05 -0700 Subject: [PATCH 10/10] fix: update MermaidBlock styles for improved rendering and add foreignObject (#7960) fix: update MermaidBlock styles for improved rendering and add foreignObject width Co-authored-by: lixiaoyang1992 --- gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx | 2 +- gui/src/components/StyledMarkdownPreview/markdown.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx b/gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx index 9deea5872..b11c69a03 100644 --- a/gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx +++ b/gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx @@ -141,7 +141,7 @@ export default function MermaidDiagram({ code }: { code: string }) { {!!error ? (
{error}
) : ( -
+