Skip to content

Commit e325f76

Browse files
authored
Merge branch 'main' into keep-container-alive-during-the-process
2 parents b9f917c + 3ef0f35 commit e325f76

Some content is hidden

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

48 files changed

+3048
-170
lines changed

.github/changeset-version.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ try {
2323

2424
// Patterns to match version references in different contexts
2525
const versionPatterns = [
26+
// SDK version constant
27+
{
28+
pattern: /export const SDK_VERSION = '[\d.]+';/g,
29+
replacement: `export const SDK_VERSION = '${newVersion}';`,
30+
description: "SDK version constant in version.ts",
31+
},
2632
// Docker image versions (production and test)
2733
{
2834
pattern: /FROM docker\.io\/cloudflare\/sandbox:[\d.]+/g,

.github/workflows/claude-code-review.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ on:
1212

1313
jobs:
1414
claude-review:
15-
# Optional: Filter by PR author
16-
# if: |
17-
# github.event.pull_request.user.login == 'external-contributor' ||
18-
# github.event.pull_request.user.login == 'new-developer' ||
19-
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
15+
# Skip review for automated "Version Packages" PRs created by changesets
16+
if: github.event.pull_request.title != 'Version Packages'
2017

2118
runs-on: ubuntu-latest
2219
permissions:

.github/workflows/claude.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,21 @@ jobs:
3535
uses: anthropics/claude-code-action@v1
3636
with:
3737
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
38+
track_progress: true
3839

3940
# This is an optional setting that allows Claude to read CI results on PRs
4041
additional_permissions: |
4142
actions: read
4243
43-
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44-
# prompt: 'Update the pull request description to include a summary of changes.'
44+
# Custom prompt that ensures Claude reads CLAUDE.md first
45+
prompt: |
46+
REPO: ${{ github.repository }}
47+
ISSUE/PR: #${{ github.event.issue.number || github.event.pull_request.number }}
48+
49+
IMPORTANT: Before starting any work, read the CLAUDE.md file at the root of this repository. It contains critical project conventions, architecture patterns, and development guidelines that you must follow.
50+
51+
After reading CLAUDE.md, proceed with the following task:
52+
${{ github.event.comment.body || github.event.issue.body || github.event.review.body }}
4553
4654
# Optional: Add claude_args to customize behavior and configuration
4755
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md

.mcp.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"mcpServers": {
3+
"cloudflare-docs": {
4+
"type": "http",
5+
"url": "https://docs.mcp.cloudflare.com/mcp"
6+
},
7+
"exa": {
8+
"type": "http",
9+
"url": "https://mcp.exa.ai/mcp",
10+
"headers": {
11+
"Remove-Me": "Disable web_search_exa tool if you're just coding. To 100% call exa-code, say 'use exa-code'."
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)