Skip to content

Commit 1a04cb0

Browse files
committed
Update @roo-code/cloud
1 parent f88d990 commit 1a04cb0

27 files changed

+74
-49
lines changed

pnpm-lock.yaml

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,15 @@ import {
2424
type TerminalActionId,
2525
type TerminalActionPromptType,
2626
type HistoryItem,
27-
type CloudUserInfo,
2827
RooCodeEventName,
2928
requestyDefaultModelId,
3029
openRouterDefaultModelId,
3130
glamaDefaultModelId,
32-
ORGANIZATION_ALLOW_ALL,
3331
DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
3432
DEFAULT_WRITE_DELAY_MS,
3533
} from "@roo-code/types"
3634
import { TelemetryService } from "@roo-code/telemetry"
37-
import { CloudService, getRooCodeApiUrl } from "@roo-code/cloud"
35+
import { type CloudUserInfo, CloudService, ORGANIZATION_ALLOW_ALL, getRooCodeApiUrl } from "@roo-code/cloud"
3836

3937
import { Package } from "../../shared/package"
4038
import { findLast } from "../../shared/array"

src/core/webview/__tests__/ClineProvider.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import Anthropic from "@anthropic-ai/sdk"
44
import * as vscode from "vscode"
55
import axios from "axios"
66

7-
import { type ProviderSettingsEntry, type ClineMessage, ORGANIZATION_ALLOW_ALL } from "@roo-code/types"
7+
import { type ProviderSettingsEntry, type ClineMessage } from "@roo-code/types"
88
import { TelemetryService } from "@roo-code/telemetry"
9+
import { ORGANIZATION_ALLOW_ALL } from "@roo-code/cloud"
910

1011
import { ExtensionMessage, ExtensionState } from "../../../shared/ExtensionMessage"
1112
import { defaultModeSlug } from "../../../shared/modes"

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427
"@mistralai/mistralai": "^1.3.6",
428428
"@modelcontextprotocol/sdk": "^1.9.0",
429429
"@qdrant/js-client-rest": "^1.14.0",
430-
"@roo-code/cloud": "^0.11.0",
430+
"@roo-code/cloud": "^0.13.0",
431431
"@roo-code/ipc": "workspace:^",
432432
"@roo-code/telemetry": "workspace:^",
433433
"@roo-code/types": "workspace:^",

src/services/marketplace/MarketplaceManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import * as path from "path"
44
import * as vscode from "vscode"
55
import * as yaml from "yaml"
66

7-
import type { MarketplaceItem, MarketplaceItemType, McpMarketplaceItem, OrganizationSettings } from "@roo-code/types"
7+
import type { MarketplaceItem, MarketplaceItemType, McpMarketplaceItem } from "@roo-code/types"
88
import { TelemetryService } from "@roo-code/telemetry"
9-
import { CloudService } from "@roo-code/cloud"
9+
import { type OrganizationSettings, CloudService } from "@roo-code/cloud"
1010

1111
import { GlobalFileNames } from "../../shared/globalFileNames"
1212
import { ensureSettingsDirectoryExists } from "../../utils/globalContext"

src/shared/ExtensionMessage.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ import type {
77
TelemetrySetting,
88
Experiments,
99
ClineMessage,
10-
OrganizationAllowList,
11-
CloudUserInfo,
12-
ShareVisibility,
10+
MarketplaceItem,
1311
} from "@roo-code/types"
12+
import type { CloudUserInfo, OrganizationAllowList, ShareVisibility } from "@roo-code/cloud"
1413

1514
import { GitCommit } from "../utils/git"
1615

1716
import { McpServer } from "./mcp"
1817
import { Mode } from "./modes"
1918
import { ModelRecord, RouterModels } from "./api"
20-
import type { MarketplaceItem } from "@roo-code/types"
2119

2220
// Command interface for frontend/backend communication
2321
export interface Command {

src/shared/ProfileValidator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { OrganizationAllowList, ProviderSettings } from "@roo-code/types"
1+
import type { ProviderSettings } from "@roo-code/types"
2+
import type { OrganizationAllowList } from "@roo-code/cloud"
23

34
export class ProfileValidator {
45
public static isProfileAllowed(profile: ProviderSettings, allowList: OrganizationAllowList): boolean {

src/shared/WebviewMessage.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { z } from "zod"
22

3-
import type {
4-
ProviderSettings,
5-
PromptComponent,
6-
ModeConfig,
7-
InstallMarketplaceItemOptions,
8-
MarketplaceItem,
9-
ShareVisibility,
3+
import {
4+
type ProviderSettings,
5+
type PromptComponent,
6+
type ModeConfig,
7+
type InstallMarketplaceItemOptions,
8+
type MarketplaceItem,
9+
marketplaceItemSchema,
1010
} from "@roo-code/types"
11-
import { marketplaceItemSchema } from "@roo-code/types"
11+
import type { ShareVisibility } from "@roo-code/cloud"
1212

1313
import { Mode } from "./modes"
1414

src/shared/__tests__/ProfileValidator.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// npx vitest run src/shared/__tests__/ProfileValidator.spec.ts
22

3-
import { OrganizationAllowList, ProviderSettings } from "@roo-code/types"
3+
import { type ProviderSettings } from "@roo-code/types"
4+
import { type OrganizationAllowList } from "@roo-code/cloud"
45

56
import { ProfileValidator } from "../ProfileValidator"
67

src/utils/remoteControl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CloudUserInfo } from "@roo-code/types"
1+
import type { CloudUserInfo } from "@roo-code/cloud"
22

33
/**
44
* Determines if remote control features should be enabled

0 commit comments

Comments
 (0)