Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 87009d3

Browse files
committed
fix: maintain monorepo consistency for docs migration
- Revert @roo-code/types to source exports (./src/index.ts) matching all other packages - Add extensionAlias webpack plugin to docs config (matches web-roo-code pattern) - Add paths mapping in docs tsconfig for type-checking - Sync providers/index.json and update-notes with local roo-code-docs repo - Add convenience scripts: docs:dev, docs:build, docs:serve
1 parent 662c3da commit 87009d3

9 files changed

Lines changed: 31 additions & 21 deletions

File tree

apps/docs/docs/providers/index.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
"extension": true,
1313
"cloud": false
1414
},
15-
{
16-
"id": "providers/claude-code",
17-
"title": "Claude Code",
18-
"extension": true,
19-
"cloud": false
20-
},
2115
{
2216
"id": "providers/bedrock",
2317
"title": "AWS Bedrock",
@@ -90,12 +84,6 @@
9084
"extension": true,
9185
"cloud": false
9286
},
93-
{
94-
"id": "providers/human-relay",
95-
"title": "Human Relay",
96-
"extension": true,
97-
"cloud": false
98-
},
9987
{
10088
"id": "providers/io-intelligence",
10189
"title": "IO Intelligence",

apps/docs/docs/update-notes/v3.21.4.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This release introduces the new Claude Code provider for local CLI integration a
88

99
## Use Your Claude Max Subscription with Roo Code
1010

11-
You can now use your Claude Max subscription directly in Roo Code through our new [Claude Code provider](/providers/claude-code) (thanks Cline!) ([#4864](https://github.com/RooCodeInc/Roo-Code/pull/4864), [#5038](https://github.com/RooCodeInc/Roo-Code/pull/5038)):
11+
You can now use your Claude Max subscription directly in Roo Code through our new Claude Code provider (thanks Cline!) ([#4864](https://github.com/RooCodeInc/Roo-Code/pull/4864), [#5038](https://github.com/RooCodeInc/Roo-Code/pull/5038)):
1212

1313
- **Leverage Your Existing Subscription**: Connect your Claude Max plan to Roo Code through the Claude CLI
1414
- **No Additional API Costs**: Use your subscription benefits instead of paying per-token API rates

apps/docs/docs/update-notes/v3.21.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Roo Marketplace makes it easy to extend Roo Code's functionality with powerf
2525

2626
## Use Your Claude Max Subscription with Roo Code
2727

28-
You can now use your Claude Max subscription directly in Roo Code through our new [Claude Code provider](/providers/claude-code) (thanks Cline!) ([#4864](https://github.com/RooCodeInc/Roo-Code/pull/4864), [#5038](https://github.com/RooCodeInc/Roo-Code/pull/5038)):
28+
You can now use your Claude Max subscription directly in Roo Code through our new Claude Code provider (thanks Cline!) ([#4864](https://github.com/RooCodeInc/Roo-Code/pull/4864), [#5038](https://github.com/RooCodeInc/Roo-Code/pull/5038)):
2929

3030
- **Leverage Your Existing Subscription**: Connect your Claude Max plan to Roo Code through the Claude CLI
3131
- **No Additional API Costs**: Use your subscription benefits instead of paying per-token API rates

apps/docs/docs/update-notes/v3.28.16.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ We've added a 1M‑token context variant of Claude Sonnet 4.5 to Claude Code (th
2222

2323
This makes it easier to work across big repos and lengthy traces without losing context.
2424

25-
> **📚 Documentation**: See [Claude Code provider](/providers/claude-code) for model options and context limits.
26-
2725
## QOL Improvements
2826

2927
* Identify Cloud tasks in the extension bridge to improve diagnostics, logging, and future UI behavior ([#8539](https://github.com/RooCodeInc/Roo-Code/pull/8539))

apps/docs/docs/update-notes/v3.34.3.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ This release adds Roo Code Cloud as an embeddings provider for codebase indexing
3131

3232
## Provider Updates
3333

34-
* **Claude Opus 4.5 in Claude Code**: Adds the `claude-opus-4-5-20251101` model to the Claude Code provider so you can select it like other Claude code models, with prompt caching support, no image support, and no reasoning effort/budget controls in the UI. ([#9560](https://github.com/RooCodeInc/Roo-Code/pull/9560)) See [Claude Code](/providers/claude-code) for supported models and configuration details.
34+
* **Claude Opus 4.5 in Claude Code**: Adds the `claude-opus-4-5-20251101` model to the Claude Code provider so you can select it like other Claude code models, with prompt caching support, no image support, and no reasoning effort/budget controls in the UI. ([#9560](https://github.com/RooCodeInc/Roo-Code/pull/9560))
3535
* **Claude Opus 4.5 in AWS Bedrock**: Exposes Claude Opus 4.5 through the AWS Bedrock provider so Bedrock users can access the same 200k-context, 8192-token limits, prompt caching, and reasoning capabilities as the existing Claude Opus 4 model (thanks pisicode!). ([#9572](https://github.com/RooCodeInc/Roo-Code/pull/9572)) See [AWS Bedrock](/providers/bedrock) for details on enabling and configuring this model.

apps/docs/docusaurus.config.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,22 @@ const config: Config = {
103103
],
104104

105105
plugins: [
106+
// Plugin to resolve TypeScript source files from monorepo packages
107+
// This matches the pattern used by web-roo-code and web-evals
108+
function extensionAliasPlugin() {
109+
return {
110+
name: "extension-alias-plugin",
111+
configureWebpack() {
112+
return {
113+
resolve: {
114+
extensionAlias: {
115+
".js": [".ts", ".tsx", ".js", ".jsx"],
116+
},
117+
},
118+
}
119+
},
120+
}
121+
},
106122
...(process.env.POSTHOG_API_KEY
107123
? [
108124
[

apps/docs/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
// This file is not used in compilation. It is here just for a nice editor experience.
33
"extends": "@docusaurus/tsconfig",
44
"compilerOptions": {
5-
"baseUrl": "."
5+
"baseUrl": ".",
6+
"skipLibCheck": true,
7+
"paths": {
8+
"@site/*": ["./*"],
9+
"@roo-code/types": ["../../packages/types/dist/index.d.ts"]
10+
}
611
},
712
"exclude": [".docusaurus", "build"]
813
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"changeset:version": "cp CHANGELOG.md src/CHANGELOG.md && changeset version && cp -vf src/CHANGELOG.md .",
2525
"knip": "knip --include files",
2626
"evals": "dotenvx run -f packages/evals/.env.development packages/evals/.env.local -- docker compose -f packages/evals/docker-compose.yml --profile server --profile runner up --build --scale runner=0",
27-
"npm:publish:types": "pnpm --filter @roo-code/types npm:publish"
27+
"npm:publish:types": "pnpm --filter @roo-code/types npm:publish",
28+
"docs:dev": "pnpm --filter @roo-code/docs start",
29+
"docs:build": "pnpm --filter @roo-code/docs build",
30+
"docs:serve": "pnpm --filter @roo-code/docs serve"
2831
},
2932
"devDependencies": {
3033
"@changesets/cli": "^2.27.10",

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "./dist/index.cjs",
66
"exports": {
77
".": {
8-
"types": "./dist/index.d.ts",
9-
"import": "./dist/index.js",
8+
"types": "./src/index.ts",
9+
"import": "./src/index.ts",
1010
"require": {
1111
"types": "./dist/index.d.cts",
1212
"default": "./dist/index.cjs"

0 commit comments

Comments
 (0)