You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor MCP server table management in Agent class
6
+
7
+
Moved creation and deletion of the cf_agents_mcp_servers table from AgentMCPClientStorage to the Agent class. Removed redundant create and destroy methods from AgentMCPClientStorage and updated MCPClientManager to reflect these changes. Added comments to clarify usage in demo and test code.
Allow `this.destroy` inside a schedule by including a `destroyed` flag and yielding `ctx.abort` instead of calling it directly
6
+
Fix issue where schedules would not be able to run for more 30 seconds due to `blockConccurencyWhile`. `alarm()` isn't manually called anymore, getting rid of the bCW.
7
+
Fix an issue where immediate schedules (e.g. `this.schedule(0, "foo"))`) would not get immediately scheduled.
echo "⚠️ Found $COMMENT_COUNT duplicate comments - cleaning up"
198
197
# Keep the last one (newest), delete others
@@ -206,7 +205,7 @@ jobs:
206
205
else
207
206
echo "✅ Only one comment exists - no cleanup needed"
208
207
fi
209
-
208
+
210
209
echo "=== Step 8 complete ==="
211
210
```
212
211
@@ -238,6 +237,38 @@ jobs:
238
237
- Keep reference neutral and factual
239
238
- Don't overexplain simple functions
240
239
240
+
## Cloudflare Docs Style Requirements
241
+
242
+
**CRITICAL**: Follow all rules from the [Cloudflare Style Guide](https://developers.cloudflare.com/style-guide/) and these specific requirements:
243
+
244
+
**Grammar & Formatting:**
245
+
- Do not use contractions, exclamation marks, or non-standard quotes like \`''""\`
246
+
- Fix common spelling errors, specifically misspellings of "wrangler"
247
+
- Remove whitespace characters from the end of lines
248
+
- Remove duplicate words
249
+
- Do not use HTML for ordered lists
250
+
251
+
**Links:**
252
+
- Use full relative links (\`/agents/configuration/\`) instead of full URLs, local dev links, or dot notation
253
+
- Always use trailing slashes for links without anchors
254
+
- Use meaningful link words (page titles) - avoid "here", "this page", "read more"
255
+
- Add cross-links to relevant documentation pages where appropriate
256
+
257
+
**Components (MUST USE):**
258
+
- All components need to be imported below frontmatter: \`import { ComponentName } from "~/components";\`
259
+
- **WranglerConfig component**: Replace \`toml\` or \`json\` code blocks showing Wrangler configuration with the [\`WranglerConfig\` component](https://developers.cloudflare.com/style-guide/components/wrangler-config/). This is CRITICAL - always use this component for wrangler.toml/wrangler.jsonc examples.
260
+
- **DashButton component**: Replace \`https://dash.cloudflare.com\` in steps with the [\`DashButton\` component](https://developers.cloudflare.com/style-guide/components/dash-button/)
261
+
- **APIRequest component**: Replace \`sh\` code blocks with API requests to \`https://api.cloudflare.com\` with the [\`APIRequest\` component](https://developers.cloudflare.com/style-guide/components/api-request/)
262
+
- **FileTree component**: Replace \`txt\` blocks showing file trees with the [\`FileTree\` component](https://developers.cloudflare.com/style-guide/components/file-tree/)
263
+
- **PackageManagers component**: Replace \`sh\` blocks with npm commands using the [\`PackageManagers\` component](https://developers.cloudflare.com/style-guide/components/package-managers/)
264
+
- **TypeScriptExample component**: Replace \`ts\`/\`typescript\` code blocks with the [\`TypeScriptExample\` component](https://developers.cloudflare.com/style-guide/components/typescript-example/) (except in step-by-step TypeScript-specific tutorials)
265
+
266
+
**JSX & Partials:**
267
+
- When using JSX fragments for conditional rendering, use props variable to account for reusability
268
+
- Only use \`<Markdown />\` component in JSX conditionals, and only if needed
269
+
- Do not duplicate content in ternary/binary conditions
270
+
- For variables in links, use HTML instead of Markdown
0 commit comments