-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix webview in dev mode #7044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix webview in dev mode #7044
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { CloudUserInfo, OrganizationAllowList, ShareVisibility } from "@roo-code/cloud" | ||
|
|
||
| export type { CloudUserInfo, OrganizationAllowList, ShareVisibility } | ||
|
|
||
| export const ORGANIZATION_ALLOW_ALL: OrganizationAllowList = { | ||
| allowAll: true, | ||
| providers: {}, | ||
| } as const | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,6 @@ | |
| "@radix-ui/react-slider": "^1.2.3", | ||
| "@radix-ui/react-slot": "^1.1.2", | ||
| "@radix-ui/react-tooltip": "^1.1.8", | ||
| "@roo-code/cloud": "^0.13.0", | ||
| "@roo-code/types": "workspace:^", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're removing Could you clarify the intended approach? Are you trying to move the cloud package to a different location, or completely remove the dependency? |
||
| "@tailwindcss/vite": "^4.0.0", | ||
| "@tanstack/react-query": "^5.68.0", | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,8 @@ import { | |
| type ModeConfig, | ||
| type ExperimentId, | ||
| } from "@roo-code/types" | ||
| import { type OrganizationAllowList, ORGANIZATION_ALLOW_ALL } from "@roo-code/cloud" | ||
|
|
||
| import { type OrganizationAllowList, ORGANIZATION_ALLOW_ALL } from "@roo/cloud" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path change from |
||
|
|
||
| import { ExtensionMessage, ExtensionState, MarketplaceInstalledMetadata, Command } from "@roo/ExtensionMessage" | ||
| import { findLastIndex } from "@roo/array" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file imports from
@roo-code/cloud, but the PR removes this package from dependencies in package.json. This will cause a build failure since the package won't be available.Is this intentional? If the goal is to fix the webview in dev mode, this approach will just move the error to a different location rather than fixing it.
Consider either:
@roo-code/cloudas a dependency if it's still needed