Skip to content

feat(cloudflare): allow authored agent bases#192

Closed
FredKSchott wants to merge 1 commit into
mainfrom
feat/cloudflare-agent-extension
Closed

feat(cloudflare): allow authored agent bases#192
FredKSchott wants to merge 1 commit into
mainfrom
feat/cloudflare-agent-extension

Conversation

@FredKSchott
Copy link
Copy Markdown
Member

Summary

  • allow addressable Cloudflare agent modules to export an advanced CloudflareAgent extends Agent base class
  • keep Flue's filename-derived generated Durable Object class outermost so bindings, migrations, transport hooks, and recovery ownership remain stable
  • document the native SDK boundary and add workerd integration coverage for inherited scheduleEvery() alarm execution

Scope

This intentionally leaves workflow extension, top-level Worker event forwarding, and callback-to-Flue-session helpers for separate product decisions.

Validation

  • pnpm run build && pnpm run check:types in packages/runtime
  • pnpm run build && pnpm run check:types in packages/cli
  • pnpm run test in packages/runtime
  • pnpm run test in packages/cli
  • pnpm run test:integration:cloudflare in packages/runtime
  • pnpm run check:types && pnpm run build in apps/docs
  • pnpm run check:types at repository root
  • pnpm run check:lint at repository root
  • git diff --check origin/main...HEAD

Closes #187

@FredKSchott
Copy link
Copy Markdown
Member Author

Superseded by a consolidated Cloudflare extensibility PR against main. Closing this stacked PR to simplify review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Surface the inherited Cloudflare Agents scheduler/queue (schedule/scheduleEvery/queue) to author code

1 participant