Skip to content

Update: Add new features and improvements#1

Open
bonsai wants to merge 1 commit intomainfrom
feature/update-20260319
Open

Update: Add new features and improvements#1
bonsai wants to merge 1 commit intomainfrom
feature/update-20260319

Conversation

@bonsai
Copy link
Owner

@bonsai bonsai commented Mar 18, 2026

This PR includes various updates and improvements to the codebase.

@coderabbitai
Copy link

coderabbitai bot commented Mar 18, 2026

Important

Review skipped

Too many files!

This PR contains 298 files, which is 148 over the limit of 150.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 593103db-44c0-4c52-845a-558e52bc8c0f

📥 Commits

Reviewing files that changed from the base of the PR and between fad32a4 and 9d0e4a0.

⛔ Files ignored due to path filters (2)
  • TODOO.docx is excluded by !**/*.docx
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (298)
  • .github/workflows/build-and-publish-image.yml
  • .github/workflows/bwen-code-ci.yml
  • .github/workflows/check-issue-completeness.yml
  • .github/workflows/ci.yml
  • .github/workflows/community-report.yml
  • .github/workflows/docs-page-action.yml
  • .github/workflows/e2e.yml
  • .github/workflows/eval.yml
  • .github/workflows/gemini-automated-issue-dedup.yml
  • .github/workflows/gemini-scheduled-issue-dedup.yml
  • .github/workflows/gemini-scheduled-pr-triage.yml
  • .github/workflows/gemini-self-assign-issue.yml
  • .github/workflows/no-response.yml
  • .github/workflows/qwen-automated-issue-triage.yml
  • .github/workflows/qwen-code-pr-review.yml
  • .github/workflows/qwen-scheduled-issue-triage.yml
  • .github/workflows/release-sdk.yml
  • .github/workflows/release-vscode-companion.yml
  • .github/workflows/release.yml
  • .github/workflows/stale.yml
  • .github/workflows/terminal-bench.yml
  • BWEN-README.md
  • package.json
  • packages/cli/index.ts
  • packages/cli/package.json
  • packages/cli/src/acp-integration/acpAgent.ts
  • packages/cli/src/acp-integration/authMethods.ts
  • packages/cli/src/acp-integration/errorCodes.ts
  • packages/cli/src/acp-integration/service/filesystem.test.ts
  • packages/cli/src/acp-integration/service/filesystem.ts
  • packages/cli/src/acp-integration/session/HistoryReplayer.test.ts
  • packages/cli/src/acp-integration/session/HistoryReplayer.ts
  • packages/cli/src/acp-integration/session/Session.test.ts
  • packages/cli/src/acp-integration/session/Session.ts
  • packages/cli/src/acp-integration/session/SubAgentTracker.test.ts
  • packages/cli/src/acp-integration/session/SubAgentTracker.ts
  • packages/cli/src/acp-integration/session/emitters/BaseEmitter.ts
  • packages/cli/src/acp-integration/session/emitters/MessageEmitter.test.ts
  • packages/cli/src/acp-integration/session/emitters/MessageEmitter.ts
  • packages/cli/src/acp-integration/session/emitters/PlanEmitter.test.ts
  • packages/cli/src/acp-integration/session/emitters/PlanEmitter.ts
  • packages/cli/src/acp-integration/session/emitters/ToolCallEmitter.test.ts
  • packages/cli/src/acp-integration/session/emitters/ToolCallEmitter.ts
  • packages/cli/src/acp-integration/session/emitters/index.ts
  • packages/cli/src/acp-integration/session/index.ts
  • packages/cli/src/acp-integration/session/types.ts
  • packages/cli/src/commands/extensions.test.tsx
  • packages/cli/src/commands/extensions.tsx
  • packages/cli/src/commands/extensions/consent.test.ts
  • packages/cli/src/commands/extensions/consent.ts
  • packages/cli/src/commands/extensions/disable.test.ts
  • packages/cli/src/commands/extensions/disable.ts
  • packages/cli/src/commands/extensions/enable.test.ts
  • packages/cli/src/commands/extensions/enable.ts
  • packages/cli/src/commands/extensions/examples/mcp-server/example.ts
  • packages/cli/src/commands/extensions/install.test.ts
  • packages/cli/src/commands/extensions/install.ts
  • packages/cli/src/commands/extensions/link.test.ts
  • packages/cli/src/commands/extensions/link.ts
  • packages/cli/src/commands/extensions/list.test.ts
  • packages/cli/src/commands/extensions/list.ts
  • packages/cli/src/commands/extensions/new.test.ts
  • packages/cli/src/commands/extensions/new.ts
  • packages/cli/src/commands/extensions/settings.test.ts
  • packages/cli/src/commands/extensions/settings.ts
  • packages/cli/src/commands/extensions/uninstall.test.ts
  • packages/cli/src/commands/extensions/uninstall.ts
  • packages/cli/src/commands/extensions/update.test.ts
  • packages/cli/src/commands/extensions/update.ts
  • packages/cli/src/commands/extensions/utils.test.ts
  • packages/cli/src/commands/extensions/utils.ts
  • packages/cli/src/commands/hooks.tsx
  • packages/cli/src/commands/hooks/disable.ts
  • packages/cli/src/commands/hooks/enable.ts
  • packages/cli/src/commands/mcp.test.ts
  • packages/cli/src/commands/mcp.ts
  • packages/cli/src/commands/mcp/add.test.ts
  • packages/cli/src/commands/mcp/add.ts
  • packages/cli/src/commands/mcp/list.test.ts
  • packages/cli/src/commands/mcp/list.ts
  • packages/cli/src/commands/mcp/remove.test.ts
  • packages/cli/src/commands/mcp/remove.ts
  • packages/cli/src/config/auth.test.ts
  • packages/cli/src/config/auth.ts
  • packages/cli/src/config/config.integration.test.ts
  • packages/cli/src/config/config.test.ts
  • packages/cli/src/config/config.ts
  • packages/cli/src/config/keyBindings.test.ts
  • packages/cli/src/config/keyBindings.ts
  • packages/cli/src/config/migration/index.test.ts
  • packages/cli/src/config/migration/index.ts
  • packages/cli/src/config/migration/scheduler.test.ts
  • packages/cli/src/config/migration/scheduler.ts
  • packages/cli/src/config/migration/types.ts
  • packages/cli/src/config/migration/versions/v1-to-v2-shared.ts
  • packages/cli/src/config/migration/versions/v1-to-v2.test.ts
  • packages/cli/src/config/migration/versions/v1-to-v2.ts
  • packages/cli/src/config/migration/versions/v2-to-v3.test.ts
  • packages/cli/src/config/migration/versions/v2-to-v3.ts
  • packages/cli/src/config/modelProvidersScope.test.ts
  • packages/cli/src/config/modelProvidersScope.ts
  • packages/cli/src/config/sandboxConfig.ts
  • packages/cli/src/config/settings.test.ts
  • packages/cli/src/config/settings.ts
  • packages/cli/src/config/settingsSchema.test.ts
  • packages/cli/src/config/settingsSchema.ts
  • packages/cli/src/config/trustedFolders.test.ts
  • packages/cli/src/config/trustedFolders.ts
  • packages/cli/src/config/webSearch.ts
  • packages/cli/src/constants/codingPlan.ts
  • packages/cli/src/core/auth.ts
  • packages/cli/src/core/initializer.ts
  • packages/cli/src/core/theme.ts
  • packages/cli/src/gemini.test.tsx
  • packages/cli/src/gemini.tsx
  • packages/cli/src/i18n/index.ts
  • packages/cli/src/i18n/languages.ts
  • packages/cli/src/nonInteractive/control/ControlContext.ts
  • packages/cli/src/nonInteractive/control/ControlDispatcher.test.ts
  • packages/cli/src/nonInteractive/control/ControlDispatcher.ts
  • packages/cli/src/nonInteractive/control/ControlService.ts
  • packages/cli/src/nonInteractive/control/controllers/baseController.ts
  • packages/cli/src/nonInteractive/control/controllers/hookController.ts
  • packages/cli/src/nonInteractive/control/controllers/permissionController.ts
  • packages/cli/src/nonInteractive/control/controllers/sdkMcpController.ts
  • packages/cli/src/nonInteractive/control/controllers/systemController.ts
  • packages/cli/src/nonInteractive/control/types/serviceAPIs.ts
  • packages/cli/src/nonInteractive/io/BaseJsonOutputAdapter.test.ts
  • packages/cli/src/nonInteractive/io/BaseJsonOutputAdapter.ts
  • packages/cli/src/nonInteractive/io/JsonOutputAdapter.test.ts
  • packages/cli/src/nonInteractive/io/JsonOutputAdapter.ts
  • packages/cli/src/nonInteractive/io/StreamJsonInputReader.test.ts
  • packages/cli/src/nonInteractive/io/StreamJsonInputReader.ts
  • packages/cli/src/nonInteractive/io/StreamJsonOutputAdapter.test.ts
  • packages/cli/src/nonInteractive/io/StreamJsonOutputAdapter.ts
  • packages/cli/src/nonInteractive/session.test.ts
  • packages/cli/src/nonInteractive/session.ts
  • packages/cli/src/nonInteractive/types.ts
  • packages/cli/src/nonInteractiveCli.test.ts
  • packages/cli/src/nonInteractiveCli.ts
  • packages/cli/src/nonInteractiveCliCommands.test.ts
  • packages/cli/src/nonInteractiveCliCommands.ts
  • packages/cli/src/patches/is-in-ci.ts
  • packages/cli/src/services/BuiltinCommandLoader.test.ts
  • packages/cli/src/services/BuiltinCommandLoader.ts
  • packages/cli/src/services/BundledSkillLoader.test.ts
  • packages/cli/src/services/BundledSkillLoader.ts
  • packages/cli/src/services/CommandService.test.ts
  • packages/cli/src/services/CommandService.ts
  • packages/cli/src/services/FileCommandLoader-extension.test.ts
  • packages/cli/src/services/FileCommandLoader-markdown.test.ts
  • packages/cli/src/services/FileCommandLoader.test.ts
  • packages/cli/src/services/FileCommandLoader.ts
  • packages/cli/src/services/McpPromptLoader.test.ts
  • packages/cli/src/services/McpPromptLoader.ts
  • packages/cli/src/services/command-factory.ts
  • packages/cli/src/services/command-migration-tool.test.ts
  • packages/cli/src/services/command-migration-tool.ts
  • packages/cli/src/services/insight/generators/DataProcessor.test.ts
  • packages/cli/src/services/insight/generators/DataProcessor.ts
  • packages/cli/src/services/insight/generators/StaticInsightGenerator.ts
  • packages/cli/src/services/insight/generators/TemplateRenderer.ts
  • packages/cli/src/services/insight/types/QualitativeInsightTypes.ts
  • packages/cli/src/services/insight/types/StaticInsightTypes.ts
  • packages/cli/src/services/markdown-command-parser.test.ts
  • packages/cli/src/services/markdown-command-parser.ts
  • packages/cli/src/services/prompt-processors/argumentProcessor.test.ts
  • packages/cli/src/services/prompt-processors/argumentProcessor.ts
  • packages/cli/src/services/prompt-processors/atFileProcessor.test.ts
  • packages/cli/src/services/prompt-processors/atFileProcessor.ts
  • packages/cli/src/services/prompt-processors/injectionParser.test.ts
  • packages/cli/src/services/prompt-processors/injectionParser.ts
  • packages/cli/src/services/prompt-processors/shellProcessor.test.ts
  • packages/cli/src/services/prompt-processors/shellProcessor.ts
  • packages/cli/src/services/prompt-processors/types.ts
  • packages/cli/src/services/types.ts
  • packages/cli/src/test-utils/customMatchers.ts
  • packages/cli/src/test-utils/mockCommandContext.test.ts
  • packages/cli/src/test-utils/mockCommandContext.ts
  • packages/cli/src/test-utils/render.tsx
  • packages/cli/src/types/modelcontextprotocol.d.ts
  • packages/cli/src/ui/App.test.tsx
  • packages/cli/src/ui/App.tsx
  • packages/cli/src/ui/AppContainer.test.tsx
  • packages/cli/src/ui/AppContainer.tsx
  • packages/cli/src/ui/CommandFormatMigrationNudge.tsx
  • packages/cli/src/ui/FeedbackDialog.tsx
  • packages/cli/src/ui/IdeIntegrationNudge.tsx
  • packages/cli/src/ui/auth/AuthDialog.test.tsx
  • packages/cli/src/ui/auth/AuthDialog.tsx
  • packages/cli/src/ui/auth/AuthInProgress.tsx
  • packages/cli/src/ui/auth/useAuth.ts
  • packages/cli/src/ui/colors.ts
  • packages/cli/src/ui/commands/aboutCommand.test.ts
  • packages/cli/src/ui/commands/aboutCommand.ts
  • packages/cli/src/ui/commands/agentsCommand.ts
  • packages/cli/src/ui/commands/approvalModeCommand.test.ts
  • packages/cli/src/ui/commands/approvalModeCommand.ts
  • packages/cli/src/ui/commands/authCommand.test.ts
  • packages/cli/src/ui/commands/authCommand.ts
  • packages/cli/src/ui/commands/bugCommand.test.ts
  • packages/cli/src/ui/commands/bugCommand.ts
  • packages/cli/src/ui/commands/clearCommand.test.ts
  • packages/cli/src/ui/commands/clearCommand.ts
  • packages/cli/src/ui/commands/compressCommand.test.ts
  • packages/cli/src/ui/commands/compressCommand.ts
  • packages/cli/src/ui/commands/copyCommand.test.ts
  • packages/cli/src/ui/commands/copyCommand.ts
  • packages/cli/src/ui/commands/directoryCommand.test.tsx
  • packages/cli/src/ui/commands/directoryCommand.tsx
  • packages/cli/src/ui/commands/docsCommand.test.ts
  • packages/cli/src/ui/commands/docsCommand.ts
  • packages/cli/src/ui/commands/editorCommand.test.ts
  • packages/cli/src/ui/commands/editorCommand.ts
  • packages/cli/src/ui/commands/exportCommand.test.ts
  • packages/cli/src/ui/commands/exportCommand.ts
  • packages/cli/src/ui/commands/extensionsCommand.test.ts
  • packages/cli/src/ui/commands/extensionsCommand.ts
  • packages/cli/src/ui/commands/fileTreeCommand.ts
  • packages/cli/src/ui/commands/helpCommand.test.ts
  • packages/cli/src/ui/commands/helpCommand.ts
  • packages/cli/src/ui/commands/hooksCommand.ts
  • packages/cli/src/ui/commands/ideCommand.test.ts
  • packages/cli/src/ui/commands/ideCommand.ts
  • packages/cli/src/ui/commands/initCommand.test.ts
  • packages/cli/src/ui/commands/initCommand.ts
  • packages/cli/src/ui/commands/insightCommand.ts
  • packages/cli/src/ui/commands/languageCommand.test.ts
  • packages/cli/src/ui/commands/languageCommand.ts
  • packages/cli/src/ui/commands/mcpCommand.test.ts
  • packages/cli/src/ui/commands/mcpCommand.ts
  • packages/cli/src/ui/commands/memoryCommand.test.ts
  • packages/cli/src/ui/commands/memoryCommand.ts
  • packages/cli/src/ui/commands/modelCommand.test.ts
  • packages/cli/src/ui/commands/modelCommand.ts
  • packages/cli/src/ui/commands/permissionsCommand.test.ts
  • packages/cli/src/ui/commands/permissionsCommand.ts
  • packages/cli/src/ui/commands/quitCommand.test.ts
  • packages/cli/src/ui/commands/quitCommand.ts
  • packages/cli/src/ui/commands/restoreCommand.test.ts
  • packages/cli/src/ui/commands/restoreCommand.ts
  • packages/cli/src/ui/commands/resumeCommand.test.ts
  • packages/cli/src/ui/commands/resumeCommand.ts
  • packages/cli/src/ui/commands/settingsCommand.test.ts
  • packages/cli/src/ui/commands/settingsCommand.ts
  • packages/cli/src/ui/commands/setupGithubCommand.test.ts
  • packages/cli/src/ui/commands/setupGithubCommand.ts
  • packages/cli/src/ui/commands/skillsCommand.ts
  • packages/cli/src/ui/commands/statsCommand.test.ts
  • packages/cli/src/ui/commands/statsCommand.ts
  • packages/cli/src/ui/commands/summaryCommand.ts
  • packages/cli/src/ui/commands/terminalSetupCommand.test.ts
  • packages/cli/src/ui/commands/terminalSetupCommand.ts
  • packages/cli/src/ui/commands/themeCommand.test.ts
  • packages/cli/src/ui/commands/themeCommand.ts
  • packages/cli/src/ui/commands/toolsCommand.test.ts
  • packages/cli/src/ui/commands/toolsCommand.ts
  • packages/cli/src/ui/commands/types.ts
  • packages/cli/src/ui/commands/vimCommand.ts
  • packages/cli/src/ui/components/AboutBox.tsx
  • packages/cli/src/ui/components/AnsiOutput.test.tsx
  • packages/cli/src/ui/components/AnsiOutput.tsx
  • packages/cli/src/ui/components/ApiKeyInput.tsx
  • packages/cli/src/ui/components/AppHeader.test.tsx
  • packages/cli/src/ui/components/AppHeader.tsx
  • packages/cli/src/ui/components/ApprovalModeDialog.tsx
  • packages/cli/src/ui/components/AsciiArt.ts
  • packages/cli/src/ui/components/AutoAcceptIndicator.tsx
  • packages/cli/src/ui/components/Composer.test.tsx
  • packages/cli/src/ui/components/Composer.tsx
  • packages/cli/src/ui/components/ConfigInitDisplay.tsx
  • packages/cli/src/ui/components/ConsentPrompt.test.tsx
  • packages/cli/src/ui/components/ConsentPrompt.tsx
  • packages/cli/src/ui/components/ContextSummaryDisplay.test.tsx
  • packages/cli/src/ui/components/ContextSummaryDisplay.tsx
  • packages/cli/src/ui/components/ContextUsageDisplay.tsx
  • packages/cli/src/ui/components/DebugModeNotification.tsx
  • packages/cli/src/ui/components/DebugProfiler.tsx
  • packages/cli/src/ui/components/DialogManager.tsx
  • packages/cli/src/ui/components/EditorSettingsDialog.tsx
  • packages/cli/src/ui/components/ExitWarning.tsx
  • packages/cli/src/ui/components/FileTree.tsx
  • packages/cli/src/ui/components/FolderTrustDialog.test.tsx
  • packages/cli/src/ui/components/FolderTrustDialog.tsx
  • packages/cli/src/ui/components/Footer.test.tsx
  • packages/cli/src/ui/components/Footer.tsx
  • packages/cli/src/ui/components/GeminiRespondingSpinner.tsx
  • packages/cli/src/ui/components/Header.test.tsx
  • packages/cli/src/ui/components/Header.tsx
  • packages/cli/src/ui/components/Help.test.tsx
  • packages/cli/src/ui/components/Help.tsx
  • packages/cli/src/ui/components/HistoryItemDisplay.test.tsx
  • packages/cli/src/ui/components/HistoryItemDisplay.tsx
  • packages/cli/src/ui/components/IdeTrustChangeDialog.test.tsx
  • packages/cli/src/ui/components/IdeTrustChangeDialog.tsx
  • packages/cli/src/ui/components/InputPrompt.test.tsx
  • packages/cli/src/ui/components/InputPrompt.tsx
  • packages/cli/src/ui/components/KeyboardShortcuts.tsx

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/update-20260319
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request marks a significant strategic shift for the project, moving from a multi-platform tool to a focused CLI-only experience. The changes encompass a complete rebranding to 'BWEN Code' and the removal of web and IDE-specific integrations, streamlining the application for terminal environments. Concurrently, new CLI-centric features, such as an interactive file tree and intelligent image paste handling, have been introduced to enhance the command-line user experience.

Highlights

  • Project Renaming: The project has been rebranded from 'Qwen Code' to 'BWEN Code' across the codebase, including package names, descriptions, and documentation.
  • CLI-Only Focus: The project has transitioned to a CLI-only application, removing all Web UI components, VS Code extension, Zed extension, and SDK packages (TypeScript, Java) to optimize for terminal usage.
  • New File Tree Feature: An interactive file tree component has been introduced, allowing users to navigate project structure directly within the CLI, with support for directory expansion and file display.
  • Enhanced Input Prompt: The input prompt now supports processing pasted text for image paths and URLs, automatically creating simulated attachments for these references.
  • Internal Dependency Updates: All internal package imports have been updated to reflect the new @bwen-code namespace, ensuring consistency with the rebranding.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Ignored Files
  • Ignored by pattern: .github/workflows/** (21)
    • .github/workflows/build-and-publish-image.yml
    • .github/workflows/bwen-code-ci.yml
    • .github/workflows/check-issue-completeness.yml
    • .github/workflows/ci.yml
    • .github/workflows/community-report.yml
    • .github/workflows/docs-page-action.yml
    • .github/workflows/e2e.yml
    • .github/workflows/eval.yml
    • .github/workflows/gemini-automated-issue-dedup.yml
    • .github/workflows/gemini-scheduled-issue-dedup.yml
    • .github/workflows/gemini-scheduled-pr-triage.yml
    • .github/workflows/gemini-self-assign-issue.yml
    • .github/workflows/no-response.yml
    • .github/workflows/qwen-automated-issue-triage.yml
    • .github/workflows/qwen-code-pr-review.yml
    • .github/workflows/qwen-scheduled-issue-triage.yml
    • .github/workflows/release-sdk.yml
    • .github/workflows/release-vscode-companion.yml
    • .github/workflows/release.yml
    • .github/workflows/stale.yml
    • .github/workflows/terminal-bench.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9d0e4a07ce

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 8 to +12
"workspaces": [
"packages/*"
"packages/cli",
"packages/core",
"packages/test-utils",
"packages/web-templates",

Choose a reason for hiding this comment

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

P1 Badge Keep the SDK and companion packages in the workspace list

The root workspace list now excludes packages/sdk-typescript and packages/vscode-ide-companion, but repo-level scripts still rely on both packages. In this revision, npm run build --workspace=packages/sdk-typescript and node scripts/build_vscode_companion.js both fail with npm error No workspaces found, so build:vscode, build:all, and the SDK root workflows no longer work from a clean checkout.

Useful? React with 👍 / 👎.

Comment on lines +65 to +68
"bwen-code-sidebar": [
{
"type": "webview",
"id": "qwen-code.chatView.sidebar",
"name": "Qwen Code",
"id": "bwen-code.chatView.sidebar",

Choose a reason for hiding this comment

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

P1 Badge Keep the VS Code manifest IDs aligned with the code

These new bwen-code.*/bwen.diff.* manifest IDs are not registered anywhere in the extension implementation. src/constants/viewIds.ts:16-17, src/commands/index.ts:18-25, and src/extension.ts:226-370 still use the old qwen-* strings, so the sidebar provider and command-palette entries declared here will stop resolving once the renamed extension is packaged.

Useful? React with 👍 / 👎.

Comment on lines +2 to +6
"name": "bwen-code-vscode-ide-companion",
"displayName": "BWEN Code Companion",
"description": "Enable BWEN Code with direct access to your VS Code workspace.",
"version": "0.12.3",
"publisher": "qwenlm",
"publisher": "bonsai",

Choose a reason for hiding this comment

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

P1 Badge Update install and update flows to the renamed extension ID

Changing the manifest to bonsai.bwen-code-vscode-ide-companion without updating the hard-coded marketplace identifier leaves the in-product install/update path pointing at the old extension. packages/core/src/ide/ide-installer.ts:126 and packages/vscode-ide-companion/src/extension.ts:24/:297-300 still request qwenlm.qwen-code-vscode-ide-companion, so users clicking “Update to latest version” or installing from the CLI will fetch the wrong listing.

Useful? React with 👍 / 👎.

# Start
npm start
# or if linked globally
bwen

Choose a reason for hiding this comment

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

P2 Badge Expose a bwen binary before documenting it

The getting-started instructions here now tell users to npm link --workspace=@bwen-code/bwen-code and then run bwen, but the root package still only defines qwen in package.json:74-76. Following the updated path from a fresh checkout therefore ends with bwen: command not found instead of starting the CLI.

Useful? React with 👍 / 👎.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a significant rebranding from qwen-code to bwen-code and refocuses the project to be CLI-only. It also adds a new file tree UI to the CLI and support for pasting image paths as attachments. My review has identified a few issues, including an inconsistency in the root package.json that still references removed web packages, a typo in the README's installation instructions, and the presence of BOM characters in many files. I've also suggested an improvement to the new file tree component to make its dotfile filtering less restrictive.

Comment on lines 8 to 14
"workspaces": [
"packages/*"
"packages/cli",
"packages/core",
"packages/test-utils",
"packages/web-templates",
"packages/webui"
],

Choose a reason for hiding this comment

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

high

The workspaces configuration includes packages/webui and packages/web-templates, but the BWEN-README.md file states that Web UI components and web templates have been removed as part of the project's focus on being CLI-only. This inconsistency can cause confusion and may lead to issues with dependency management or build processes if those directories are indeed removed. Please update the workspaces to reflect the actual project structure.

    "packages/cli",
    "packages/core",
    "packages/test-utils"
  ],

```bash
# Clone the repository
git clone https://github.com/bonsai/bwen-code.git
cd bwencode

Choose a reason for hiding this comment

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

medium

There's a typo in the installation instructions. The command cd bwencode should be cd bwen-code to match the repository name cloned in the previous step. This will cause the setup to fail for users following the guide.

Suggested change
cd bwencode
cd bwen-code

@@ -1,4 +1,4 @@
/**
/**

Choose a reason for hiding this comment

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

medium

This file, along with many others in this pull request, starts with a UTF-8 Byte Order Mark (BOM) character (\uFEFF). While many modern tools handle this correctly, it's not recommended for UTF-8 files and can cause issues with some environments, linters, or concatenation scripts. It's best practice to save these files as "UTF-8 without BOM" to ensure maximum compatibility and prevent potential issues. Please remove the BOM from all affected files.

Comment on lines +120 to +122
if (entry.name.startsWith('.') && !entry.name.match(/^\.[a-z]+rc$/)) {
continue;
}

Choose a reason for hiding this comment

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

medium

The logic for filtering hidden files in the file tree is a bit too restrictive. The current implementation at line 120 skips any file starting with a dot (.) unless it matches the regex ^\.[a-z]+rc$. This means important configuration files like .gitignore, .prettierrc, or .npmrc will be hidden from the user. This could make it harder for the user to understand the project's full configuration.

I suggest expanding the condition to explicitly allow common dotfiles like .gitignore.

Suggested change
if (entry.name.startsWith('.') && !entry.name.match(/^\.[a-z]+rc$/)) {
continue;
}
if (entry.name.startsWith('.') && entry.name !== '.gitignore' && !entry.name.match(/^\.[a-z]+rc$/)) {
continue;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant