Skip to content

Cleanup codemode connector imports#1807

Merged
mattzcarey merged 1 commit into
mainfrom
codemode-cleanup-connector-imports
Jun 24, 2026
Merged

Cleanup codemode connector imports#1807
mattzcarey merged 1 commit into
mainfrom
codemode-cleanup-connector-imports

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove CodeMode Vite plugin handling for connector import attributes and connector directory discovery
  • make the plugin only auto-export the CodemodeRuntime facet class
  • update codemode connector example/docs to use normal connector imports
  • add a patch changeset for @cloudflare/codemode

Validation

  • pnpm --filter @cloudflare/codemode exec vitest run src/tests/vite.test.ts
  • pnpm --filter @cloudflare/codemode run build
  • pnpm --filter @cloudflare/codemode test
  • pnpm run check (passes sherif/export checks/format/oxlint; repo-wide typecheck still has unrelated existing failures in agents:skills examples and examples/voice-agent)

Open in Devin Review

@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 842801c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/codemode Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mattzcarey mattzcarey force-pushed the codemode-cleanup-connector-imports branch from 58bff1e to 8bc4ca6 Compare June 24, 2026 16:35

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread packages/codemode/src/vite.ts
@mattzcarey mattzcarey force-pushed the codemode-cleanup-connector-imports branch from 8bc4ca6 to b7cc7ba Compare June 24, 2026 16:48
@mattzcarey mattzcarey force-pushed the codemode-cleanup-connector-imports branch from b7cc7ba to 842801c Compare June 24, 2026 17:11
@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@1807

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@1807

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@1807

create-think

npm i https://pkg.pr.new/create-think@1807

hono-agents

npm i https://pkg.pr.new/hono-agents@1807

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@1807

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@1807

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@1807

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@1807

commit: 842801c

@mattzcarey mattzcarey merged commit 7eea2fb into main Jun 24, 2026
4 checks passed
@mattzcarey mattzcarey deleted the codemode-cleanup-connector-imports branch June 24, 2026 19:59
@github-actions github-actions Bot mentioned this pull request Jun 24, 2026
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.

2 participants