Skip to content

Commit 1a5cf9c

Browse files
committed
chore: merging main
2 parents 84462ab + bdb5b89 commit 1a5cf9c

138 files changed

Lines changed: 7884 additions & 364 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/lazy-trains-send.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@repo/tools': patch
3+
---
4+
5+
chore: remove pnpx from wrangler deploy script
6+
7+
This is redundant because turbo and pnpm already add the bundled wrangler command to $PATH

.changeset/ripe-hornets-count.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@repo/typescript-config': patch
3+
---
4+
5+
chore: remove publishConfig from typescript-config/package.json
6+
7+
This did nothing.

.changeset/upset-bugs-dress.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
'workers-observability': patch
3+
'cloudflare-casb-mcp-server': patch
4+
'cloudflare-browser-mcp-server': patch
5+
'containers-mcp': patch
6+
'workers-bindings': patch
7+
'docs-vectorize': patch
8+
'workers-builds': patch
9+
'@repo/mcp-common': patch
10+
'dns-analytics': patch
11+
'dex-analysis': patch
12+
'docs-autorag': patch
13+
'cloudflare-ai-gateway-mcp-server': patch
14+
'auditlogs': patch
15+
'demo-day': patch
16+
'cloudflare-autorag-mcp-server': patch
17+
'logpush': patch
18+
'cloudflare-radar-mcp-server': patch
19+
---
20+
21+
chore: add suffixes to common files in apps and packages
22+
23+
It can be confusing switching between 16 files named 'index.ts', or 3 files named workers.ts. This change renames common files to have suffixes such as .types.ts, .api.ts, etc. to make it easier to work across files in the monorepo.

.github/workflows/evals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
du -h ./apps/sandbox-container/.dev.vars
3737
du -h ./apps/workers-bindings/.dev.vars
3838
- name: Install dependencies
39-
run: pnpm install
39+
run: pnpm install --frozen-lockfile --child-concurrency=10
4040
- name: Run evals
4141
run: pnpm eval:ci

.github/workflows/test-and-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
node-version: ${{ matrix.node-version }}
2121
cache: 'pnpm'
2222
- name: Install dependencies
23-
run: pnpm install
23+
run: pnpm install --frozen-lockfile --child-concurrency=10
2424
- name: Syncpack lint
25-
run: pnpm syncpack lint
25+
run: pnpm check:deps
2626
- name: Run linter
2727
run: pnpm check:turbo
2828
- name: Run linter (formatting)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The following servers are included in this repository:
1010
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------- |
1111
| [**Documentation server**](/apps/docs-vectorize) | Get up to date reference information on Cloudflare | `https://docs.mcp.cloudflare.com/sse` |
1212
| [**Workers Bindings server**](/apps/workers-bindings) | Build Workers applications with storage, AI, and compute primitives | `https://bindings.mcp.cloudflare.com/sse` |
13-
| [**Observability server**](/apps/workers-observability) | Debug and get insight into your application’s logs and analytics | `https://observability.mcp.cloudflare.com/sse` |
13+
| [**Workers Builds server**](/apps/workers-builds) | Get insights and manage your Cloudflare Workers Builds | `https://builds.mcp.cloudflare.com/sse` |
14+
| [**Observability server**](/apps/workers-observability) | Debug and get insight into your application's logs and analytics | `https://observability.mcp.cloudflare.com/sse` |
1415
| [**Radar server**](/apps/radar) | Get global Internet traffic insights, trends, URL scans, and other utilities | `https://radar.mcp.cloudflare.com/sse` |
1516
| [**Container server**](/apps/sandbox-container) | Spin up a sandbox development environment | `https://containers.mcp.cloudflare.com/sse` |
1617
| [**Browser rendering server**](/apps/browser-rendering) | Fetch web pages, convert them to markdown and take screenshots | `https://browser.mcp.cloudflare.com/sse` |
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ import {
66
handleTokenExchangeCallback,
77
} from '@repo/mcp-common/src/cloudflare-oauth-handler'
88
import { handleDevMode } from '@repo/mcp-common/src/dev-mode'
9-
import { getUserDetails, UserDetails } from '@repo/mcp-common/src/durable-objects/user_details'
9+
import { getUserDetails, UserDetails } from '@repo/mcp-common/src/durable-objects/user_details.do'
1010
import { getEnv } from '@repo/mcp-common/src/env'
1111
import { RequiredScopes } from '@repo/mcp-common/src/scopes'
1212
import { CloudflareMCPServer } from '@repo/mcp-common/src/server'
13-
import { registerAccountTools } from '@repo/mcp-common/src/tools/account'
13+
import { registerAccountTools } from '@repo/mcp-common/src/tools/account.tools'
1414

1515
import { MetricsTracker } from '../../../packages/mcp-observability/src'
16-
import { registerAIGatewayTools } from './tools/ai-gateway'
16+
import { registerAIGatewayTools } from './tools/ai-gateway.tools'
1717

1818
import type { AuthProps } from '@repo/mcp-common/src/cloudflare-oauth-handler'
19-
import type { Env } from './context'
19+
import type { Env } from './ai-gateway.context'
2020

2121
const env = getEnv<Env>()
2222

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { UserDetails } from '@repo/mcp-common/src/durable-objects/user_details'
2-
import type { AIGatewayMCP } from './index'
1+
import type { UserDetails } from '@repo/mcp-common/src/durable-objects/user_details.do'
2+
import type { AIGatewayMCP } from './ai-gateway.app'
33

44
export interface Env {
55
OAUTH_KV: KVNamespace

apps/ai-gateway/src/tools/ai-gateway.ts renamed to apps/ai-gateway/src/tools/ai-gateway.tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getCloudflareClient } from '@repo/mcp-common/src/cloudflare-api'
33
import { GatewayIdParam, ListLogsParams, LogIdParam, pageParam, perPageParam } from '../types'
44

55
import type { LogListParams } from 'cloudflare/resources/ai-gateway'
6-
import type { AIGatewayMCP } from '../index'
6+
import type { AIGatewayMCP } from '../ai-gateway.app'
77

88
export function registerAIGatewayTools(agent: AIGatewayMCP) {
99
agent.server.tool(

apps/ai-gateway/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config'
22

3-
import type { Env } from './src/context'
3+
import type { Env } from './src/ai-gateway.context'
44

55
export interface TestEnv extends Env {
66
CLOUDFLARE_MOCK_ACCOUNT_ID: string

0 commit comments

Comments
 (0)