Skip to content

ci: add a community folder for lightly supported framework packages - #7616

Merged
BenTaylorDev merged 1 commit into
mainfrom
ben1/community-folder-plumbing
Oct 5, 2026
Merged

BenTaylorDev merged 1 commit into
mainfrom
ben1/community-folder-plumbing

Conversation

@BenTaylorDev

@BenTaylorDev BenTaylorDev commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds community/, a home for lightly supported, community-maintained framework packages. Svelte (#5905, for #310) is the first candidate. The public description of the tier is the Community frameworks page in #7611.

Containment comes from the examples/showcases/reskinnable-demo precedent. A community package is not a pnpm workspace member: it ships its own pnpm root and lockfile, and pins published @copilotkit/* versions exactly. Nx discovers projects through the pnpm workspace (nx.json has no workspaceLayout), so a community package stays out of every repo-wide build, typecheck and test sweep. A CopilotKit change cannot break one in the same PR, and a community package cannot redden a CopilotKit PR.

File Purpose
community/README.md The contract: the support tier, four required scripts, its own pnpm root, the exact-pin rule, and the repo gates that still apply (config allowlist, license policy)
.github/workflows/test_community.yml Runs only on community/** changes. It gates only the packages that changed, checks the contract, then runs lint, typecheck, test and build inside each one
.github/CODEOWNERS /community/ goes to core dev. Each package adds its own line naming its maintainer
pnpm-workspace.yaml A comment documenting why community/* is excluded

Why exact pins, not ranges: framework ports use @copilotkit/core's internal ɵ exports. #5905 uses ɵcreateThreadStore and the ɵselect* selectors, and so do Vue, Angular and React. Those exports carry no semver promise, so a range could break a community package on a patch release.

Why each package needs its own pnpm-workspace.yaml: without one, pnpm walks up to the repo's workspace and installs the monorepo instead of the package. The reskinnable-demo precedent measured this ("Scope: all 70 workspace projects", and the package got no node_modules at all). An .npmrc setting does not stop it. The contract check enforces the file.

Deliberately not in this PR:

  • A wildcard in .github/config-allowlist.txt. It is an exact-path supply-chain control, owned by core dev. Community build configs go through it like everything else.
  • An auto-approve workflow like ag-ui's auto-approve-community.yml. It cannot approve fork PRs (their GITHUB_TOKEN is read-only), and an automated approval interacts with main's ruleset. That needs its own decision.
  • Publishing. How a community package reaches npm (our release pipeline under @copilotkit/*, or the maintainer publishing under their own name) is a separate decision.

Testing

Static checks on the workflow:

  • actionlint: clean.
  • zizmor with the repo's .github/zizmor.yml: "No findings to report". All event data reaches the scripts through env:.
  • oxfmt --check on the new files: clean.

End to end with a throwaway package. In a scratch worktree I added community/fakepkg, which depends on published @copilotkit/core 1.77.0 and has its own pnpm-workspace.yaml and lockfile. I then ran the workflow's own run: scripts, extracted from the YAML with PyYAML:

Detection (detect job):

Scenario packages output
PR adding community/fakepkg ["community/fakepkg"]
PR with no community package change [], so the gates job is skipped
push to main after the package lands ["community/fakepkg"]
push with a zero before SHA ["community/fakepkg"] (gates everything)
PR that also changes this workflow ["community/fakepkg"] (re-gates every package)
push that only edits community/README.md []

Contract check:

Variant Result
the good package exit 0, package contract: ok
"@copilotkit/core": "workspace:*" exit 1: uses "workspace:*"; community packages depend on published versions
"@copilotkit/core": "^1.77.0" exit 1: pin @copilotkit/* to an exact version
no typecheck script, packageManager: "pnpm" exit 1: both rules named
no pnpm-workspace.yaml and no lockfile exit 1: both rules named
flow-style packages: ["."] exit 0
packages: ["packages/*"] exit 1: the pnpm-root rule

Gates, on a clean copy with no node_modules: corepack install activated pnpm 10.33.4. pnpm install --frozen-lockfile installed only the package and resolved core 1.77.0, with the repo root's node_modules untouched. Then lint, typecheck (which requires @copilotkit/core), test and build all passed.

I first wrote the package scan with GNU find -printf. I replaced it with the portable -exec dirname {} \; so the same script runs on Linux CI and on macOS.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added automated checks for community packages on relevant pull requests and pushes. Checks validate package setup and run lint, type checks, tests, and builds.
    • Added ownership guidance for community packages.
  • Documentation

    • Documented community package support, requirements, onboarding, and retirement.
    • Clarified how community packages are handled separately from the main workspace.

Community packages live in community/<name>/. They are deliberately not
pnpm workspace members: each ships its own lockfile and pins published
@copilotkit/* versions exactly. Nx discovers projects through the pnpm
workspace, so a community package stays out of every repo-wide sweep, and a
CopilotKit change cannot break one in the same pull request. This follows the
examples/showcases/reskinnable-demo precedent.

- community/README.md is the contract: the support tier, the four required
  scripts, the exact-pin rule (framework packages use core's internal ɵ
  exports), and the repository gates that still apply (config allowlist,
  license policy).
- .github/workflows/test_community.yml runs only when community/** changes,
  gates only the packages that changed, checks the contract, then runs
  lint, typecheck, test and build inside each package.
- .github/CODEOWNERS gives /community/ to core dev; each package adds a line
  naming its maintainer.
- pnpm-workspace.yaml documents why community/* is excluded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: CopilotKit/CopilotKit/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 30d84e56-1448-42e7-8a93-c855643655a4
📥 Commits

Reviewing files that changed from the base of the PR and between e745116 and a780cfb.

📒 Files selected for processing (4)
  • .github/CODEOWNERS
  • .github/workflows/test_community.yml
  • community/README.md
  • pnpm-workspace.yaml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The pull request adds ownership and workspace documentation for community packages. It adds a GitHub Actions workflow that selects affected packages, checks package requirements, and runs package scripts.

Changes

Community package checks

Layer / File(s) Summary
Community package boundaries
.github/CODEOWNERS, pnpm-workspace.yaml, community/README.md
The CODEOWNERS rule assigns /community/ to listed developers. The workspace comment documents its exclusion. The README describes package requirements, repository gates, addition steps, and retirement options.
Workflow triggers and package selection
.github/workflows/test_community.yml
The workflow runs on relevant pull requests and pushes to main. It selects changed package directories that still contain a manifest, or all packages when specified conditions apply.
Package contract and execution
.github/workflows/test_community.yml
Each selected package must meet manifest, workspace, lockfile, dependency-version, and script requirements. The workflow activates pinned pnpm, installs with a frozen lockfile, and runs lint, typecheck, test, and build.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to a780c

No actionable issue was identified that would prevent the community package checks from running for changed packages. The PR is mergeable after normal checks.

Security Architecture Review

Security architecture risk: 🔵 Low · up to a780c

Community checks use read-only repository permissions and do not receive explicit secrets or deployment authority. However, the admission check incompletely enforces the promised single-package workspace, creating a bounded isolation and CI-coupling risk.

Retained concerns

  • Low · architecture · inferred: The new workspace validator accepts a multiline packages list containing "." followed by additional package paths, despite the contract requiring only ".". A future package can pass admission with a broader workspace, allowing its installation scope to include other repository packages and weakening qualification failure containment. Package-local execution and read-only permissions bound the impact; no privileged escape or actual affected package is demonstrated.
Security review details

Security Blast Radius

  • inferred — A contributor changing a selected community package controls its scripts and dependency inputs, which execute in that package's CI runner and can access the checked-out repository. The inspected workflow provides no explicit repository-write, secret or deployment authority. Future package-specific behavior is not assessable from this PR.

Security Findings and Attack Paths

  • inferred — The supported boundary-bypass path is a contributor-supplied workspace list with "." plus additional entries passing the regex before installation. This can broaden dependency installation scope, but it is not a demonstrated credential escalation: arbitrary package scripts already execute on the same runner, and no concrete exploit or affected package is supplied.

Trust Boundaries and Controls

  • observed — Community packages remain outside the root workspace. Existing build-configuration allowlisting still checks exact file paths, and ownership of the allowlist remains assigned to core developers. These are repository admission controls, not restrictions on commands executed by package scripts; branch-protection enforcement is not established by the inspected files.

Resilience and Maintainability Implications

  • inferred — Failures and interruption remain bounded to qualification jobs rather than a partially completed deployment. The workflow defines no shared cache publication, release mutation or credential provisioning, reducing recovery obligations. This does not constrain external side effects that future package scripts might introduce.

Hardening Proposals

  • proposed — Validate the complete workspace configuration structurally and require the packages value to contain exactly ".". This would make the admission control enforce the documented installation boundary rather than accepting a matching prefix.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding a community folder for lightly supported framework packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 1.77 MB

ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 472 B
packages/a2ui-renderer/dist/a2ui-types.mjs 469 B
packages/a2ui-renderer/dist/index.cjs 959 B
packages/a2ui-renderer/dist/index.mjs 637 B
packages/a2ui-renderer/dist/index.umd.js 13.4 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.46 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 904 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 492 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 603 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 829 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 419 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.64 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 842 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 432 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.2 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 984 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 903 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 489 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 579 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 556 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 989 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 584 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 409 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/core/dist/index.cjs 79.7 kB
packages/core/dist/index.mjs 79.2 kB
packages/core/dist/index.umd.js 85.4 kB
packages/mcp-apps-renderer/dist/activity.cjs 259 B
packages/mcp-apps-renderer/dist/activity.mjs 170 B
packages/mcp-apps-renderer/dist/activity.umd.js 2.24 kB
packages/mcp-apps-renderer/dist/constants.cjs 714 B
packages/mcp-apps-renderer/dist/constants.mjs 712 B
packages/mcp-apps-renderer/dist/content-schema.cjs 768 B
packages/mcp-apps-renderer/dist/content-schema.mjs 765 B
packages/mcp-apps-renderer/dist/follow-up.cjs 796 B
packages/mcp-apps-renderer/dist/follow-up.mjs 794 B
packages/mcp-apps-renderer/dist/index.mjs 354 B
packages/mcp-apps-renderer/dist/request-queue.mjs 2.39 kB
packages/mcp-apps-renderer/dist/sandbox.mjs 1.14 kB
packages/mcp-apps-renderer/dist/session.mjs 6.81 kB
packages/react-core/dist/copilotkit-CFPkj9B9.cjs 120 kB
packages/react-core/dist/copilotkit-CP9qPAqV.mjs 123 kB
packages/react-core/dist/index.cjs 17.6 kB
packages/react-core/dist/index.mjs 17.5 kB
packages/react-core/dist/index.umd.js 68.4 kB
packages/react-core/dist/v2/context.cjs 1.58 kB
packages/react-core/dist/v2/context.mjs 1.5 kB
packages/react-core/dist/v2/headless.cjs 16.3 kB
packages/react-core/dist/v2/headless.mjs 15.8 kB
packages/react-core/dist/v2/index.cjs 4.04 kB
packages/react-core/dist/v2/index.mjs 4.03 kB
packages/react-core/dist/v2/index.umd.js 123 kB
packages/react-native/dist/chunk-C0xms8kb.cjs 546 B
packages/react-native/dist/components/index.cjs 8.65 kB
packages/react-native/dist/components/index.mjs 8.45 kB
packages/react-native/dist/CopilotKitProvider-CjoPnabW.cjs 1.55 kB
packages/react-native/dist/CopilotKitProvider-D8sn7G_C.mjs 1.43 kB
packages/react-native/dist/headless.cjs 632 B
packages/react-native/dist/headless.mjs 373 B
packages/react-native/dist/index.cjs 6.52 kB
packages/react-native/dist/index.mjs 6.14 kB
packages/react-native/dist/polyfills.cjs 195 B
packages/react-native/dist/polyfills.mjs 195 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 332 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 371 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-BnQh3vBz.mjs 2.22 kB
packages/react-native/dist/streaming-fetch-BTESzLKX.cjs 2.27 kB
packages/react-textarea/dist/index.cjs 17.7 kB
packages/react-textarea/dist/index.mjs 17 kB
packages/react-textarea/dist/index.umd.js 18.5 kB
packages/react-ui/dist/index.cjs 25.2 kB
packages/react-ui/dist/index.mjs 24.5 kB
packages/react-ui/dist/index.umd.js 26.4 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-prompts.cjs 2.85 kB
packages/shared/dist/a2ui-prompts.mjs 2.85 kB
packages/shared/dist/attachments/content.cjs 255 B
packages/shared/dist/attachments/content.mjs 253 B
packages/shared/dist/attachments/utils.cjs 1.83 kB
packages/shared/dist/attachments/utils.mjs 1.79 kB
packages/shared/dist/constants/index.cjs 362 B
packages/shared/dist/constants/index.mjs 345 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/event-transforms/index.cjs 335 B
packages/shared/dist/event-transforms/index.mjs 165 B
packages/shared/dist/event-transforms/open-generative-ui-middleware.cjs 2.42 kB
packages/shared/dist/event-transforms/open-generative-ui-middleware.mjs 2.35 kB
packages/shared/dist/event-transforms/recorded-events.cjs 988 B
packages/shared/dist/event-transforms/recorded-events.mjs 925 B
packages/shared/dist/finalize-events.cjs 1.94 kB
packages/shared/dist/finalize-events.mjs 1.88 kB
packages/shared/dist/index.cjs 2.89 kB
packages/shared/dist/index.mjs 2.47 kB
packages/shared/dist/index.umd.js 30.7 kB
packages/shared/dist/intelligence-routing-fields.cjs 778 B
packages/shared/dist/intelligence-routing-fields.mjs 775 B
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/index.cjs 358 B
packages/shared/dist/telemetry/index.mjs 250 B
packages/shared/dist/telemetry/lambda-client.cjs 1.59 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.58 kB
packages/shared/dist/telemetry/model-host.cjs 1.63 kB
packages/shared/dist/telemetry/model-host.mjs 1.62 kB
packages/shared/dist/telemetry/sampling.cjs 956 B
packages/shared/dist/telemetry/sampling.mjs 935 B
packages/shared/dist/telemetry/telemetry-client.cjs 1.88 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.83 kB
packages/shared/dist/telemetry/telemetry-disabled.cjs 454 B
packages/shared/dist/telemetry/telemetry-disabled.mjs 451 B
packages/shared/dist/telemetry/utils.cjs 321 B
packages/shared/dist/telemetry/utils.mjs 277 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.23 kB
packages/shared/dist/utils/console-styling.mjs 1.21 kB
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.45 kB
packages/shared/dist/utils/index.mjs 1.77 kB
packages/shared/dist/utils/inspector-learning.cjs 2.38 kB
packages/shared/dist/utils/inspector-learning.mjs 2.38 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.46 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.45 kB
packages/shared/dist/utils/inspector-visibility.cjs 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/row-render-keys.cjs 3.38 kB
packages/shared/dist/utils/row-render-keys.mjs 3.36 kB
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/components/learning-view.cjs 9.47 kB
packages/web-inspector/dist/components/learning-view.mjs 9.47 kB
packages/web-inspector/dist/index.cjs 131 kB
packages/web-inspector/dist/index.mjs 131 kB
packages/web-inspector/dist/index.umd.js 195 kB
packages/web-inspector/dist/lib/context-helpers.cjs 866 B
packages/web-inspector/dist/lib/context-helpers.mjs 835 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.8 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.79 kB
packages/web-inspector/dist/lib/inspector-learning.cjs 754 B
packages/web-inspector/dist/lib/inspector-learning.mjs 732 B
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 668 B
packages/web-inspector/dist/lib/inspector-nav.mjs 649 B
packages/web-inspector/dist/lib/learning-setup.cjs 1.12 kB
packages/web-inspector/dist/lib/learning-setup.mjs 1.09 kB
packages/web-inspector/dist/lib/notification-loader.cjs 792 B
packages/web-inspector/dist/lib/notification-loader.mjs 786 B
packages/web-inspector/dist/lib/notifications.cjs 2.39 kB
packages/web-inspector/dist/lib/notifications.mjs 2.37 kB
packages/web-inspector/dist/lib/onboarding-prompt.cjs 2.38 kB
packages/web-inspector/dist/lib/onboarding-prompt.mjs 2.37 kB
packages/web-inspector/dist/lib/persistence.cjs 3.61 kB
packages/web-inspector/dist/lib/persistence.mjs 3.52 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 5.59 kB
packages/web-inspector/dist/lib/telemetry.mjs 5.38 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 20.1 kB
packages/web-inspector/dist/styles/generated.mjs 20 kB
packages/web-inspector/dist/styles/notification-article.cjs 1.44 kB
packages/web-inspector/dist/styles/notification-article.mjs 1.44 kB

compressed-size-action

@BenTaylorDev
BenTaylorDev merged commit 6926602 into main Oct 5, 2026
58 checks passed
@BenTaylorDev
BenTaylorDev deleted the ben1/community-folder-plumbing branch October 5, 2026 02:13
BenTaylorDev added a commit that referenced this pull request Oct 5, 2026
…#7611)

## What

Adds a **Community frameworks** page at `/community-frameworks`. It says
what "community" means for a community-built frontend package, and lists
those frameworks:

- tested with one stated `@copilotkit/core` version
- updates are best effort, with no promised response time
- releases on its own schedule, never blocking CopilotKit releases
- each package's README is its setup guide; the CopilotKit documentation
does not cover community packages

**The framework table launches empty.** Svelte (#5905, for #310) gets a
row once its package lands under `community/` (the folder and its
contract landed in #7616), not while it is still a pull request. The
page hides its page actions (the copy-prompt widget) with
`hidePageActions: true`, as 13 other pages do.

## How readers reach it

1. **Root sidebar, "Other" section.** That section is hand-curated in
`normalizeSidebarNav` (`src/lib/docs-render.tsx`), so a `meta.json`
entry alone never shows it. The page is added there after "Open-source
telemetry", using the same lookup as telemetry. It is also added to
`docs/meta.json`, which is what puts it in the nav tree.
2. **Site search.** The search index only keeps pages that some sidebar
can reach (`search-index-navigability.test.ts`), so (1) is what makes it
searchable.
3. **Frontend picker.** A muted "Community frameworks →" link sits at
the bottom of the picker, below the coming-soon channels. Clicking it
sends `docs.frontend_picker.community_frameworks_clicked` (with
`from_frontend` and `from_path`), so the clicks count as a demand signal
for community frameworks. This is a low-stakes link, so it has no
capture test. The existing `docs.frontend_selected` and
`docs.framework_selected` names are unchanged.

## Testing

All in a fresh worktree of current `main` with a clean `npm ci` of
`showcase/shell-docs`:

- `npm run pretest` (the generators): success
- `tsc --noEmit`: success
- `oxlint` on the two changed source files: 0 errors. The one warning
(`isSection`, `docs-render.tsx:1558`) is not in this diff.
- `oxfmt --check` on the changed source files: clean
- `vitest run`: **1105 passed**, 3 failed. The 3 failures are all in
`public-assets.test.ts`, which checks that PNGs start with the PNG
signature. My worktree had no Git LFS objects, so the files were
pointers: the test read `118 101 114 115` (`vers`, from `version
https://git-lfs…`). CI fetches LFS, so these do not fail there.
- Generated search index: contains `/docs/community-frameworks` → public
href `/community-frameworks`.
- **Rendered in the dev server** (`next dev --webpack`):
- `GET /community-frameworks` returns 200 with title "Community
frameworks", and every section is present. After the second commit: the
heading reads "What community means", the table has a header and no
rows, there is no #5905 link, and the copy-prompt widget
(`docs-page-tools`) is gone.
- The sidebar on `/webmcp` and on the page itself lists, under "Other":
`/telemetry` "Open-source telemetry", then `/community-frameworks`
"Community frameworks".
- Frontend-scoped pages such as `/vue` have no "Other" section, so the
picker link is the way in from there.
- Conflicts: this branch adds no merge conflicts to the open PRs that
touch the same files (#7471, #7231, #5842). Their conflict sets against
this branch match their conflict sets against `main`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a “Community frameworks” link to the framework picker sidebar.
Selecting it opens the community frameworks documentation and closes the
picker.
* Added a documentation page describing community package maintenance
and release expectations, linking to package READMEs for setup, and
explaining how to request or build a framework package. The frameworks
table currently has no entries.
* Added the page to the “Other” section of the documentation navigation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
BenTaylorDev added a commit that referenced this pull request Oct 5, 2026
)

## What

Community packages (`community/<name>/`, added in #7616) release through
CopilotKit's pipeline as `@copilotkit/*`, under their own scope and
version line. That was decided for Svelte (#5905). The release tooling
could not see them, so this PR teaches it to.

| File | Change |
|---|---|
| `scripts/release/lib/versions.ts` | `findPackageDir` and
`getPackagesForScope` only searched `packages/`. Both now use one
`listPackages()` helper that searches `PACKAGE_ROOTS = ["packages",
"community"]`, in that order. A missing `community/` is skipped. Adds
`isCommunityPackage()` and `getCommunityPackagesForScopes()`. |
| `scripts/release/build-community-packages.ts` (new) | For a `--scope`
selector (a scope, `all` or `learning-preview`, via the existing
`resolveScopes`), installs (`--frozen-lockfile`) and builds each
community package in those scopes, inside its own folder. When there are
none it logs and exits 0, which is every scope today. |
| `.github/workflows/publish-release.yml` | One step after "Build
packages" runs that script for the release's scope. The root build is
`nx run-many -t build --projects=packages/**`; community packages are
not workspace members, so without this `pnpm pack` would publish them
with no `dist`. The scope reaches the script through `env:`. |
| `scripts/release/lib/versions.community.test.ts` (new) | Covers
community packages in the tooling. It has its own config mock, because
adding a scope to `versions.test.ts`'s shared mock would leave that
file's other fixtures incomplete. |
| `community/README.md` | Adds a **Releases** section: the core team
adds a community package's scope in `release.config.json`, the
`ReleaseScope` type and the three workflow dropdowns that
`verify-release-scope-dropdowns.sh` checks. |

Not touched on purpose: `pack-workspace.ts`'s `packageDirectory` only
packs the runtime's `workspace:` closure (`verify-runtime-package.ts`),
which never contains a community package; `angular-artifacts.ts` is
Angular-only; and `public-api-manifest.ts` intentionally covers
`packages/`.

No scope is added here. The Svelte scope comes when the package lands.

## Testing

- **New tests** (`versions.community.test.ts`): 5 passed. They cover
finding a scope's package under `community/`, reading its version from
`versionSource`, bumping it without touching its exact
`@copilotkit/core` pin, selecting only community packages for the
separate build, and still working when `community/` does not exist.
- **Mutation check:** with `PACKAGE_ROOTS` reduced to `["packages"]`, 4
of the 5 fail. The "does not exist" case passes either way, as a
robustness test should. Restored afterwards.
- **Full release-script suite** (`npx vitest run --config
scripts/release/vitest.config.mts`, as `test_unit.yml` runs it): 242
passed, 1 failed. The failure is `learning-preview.test.ts > packs and
installs Core against the exact Learning from this run` (`pnpm install
--offline …` fails). It fails identically on clean `main` (`ad2965c174`)
in the same local setup, so it comes from the environment, not this
change.
- **The script, run for real:**
- `--scope monorepo`, `all` and `learning-preview`: "No community
packages in scope …; nothing to build", exit 0.
- `--scope bogus`: "Unknown scope: bogus", exit 1. No `--scope`: exit 1.
- **End to end with a temporary scope** and a throwaway
`community/fakepkg` (its own pnpm root, depending on published
`@copilotkit/core` `1.77.0`, with a `build` that writes `dist/`): the
script installed and built it, `dist/index.js` read `built against core
1.77.0`, and **`pnpm pack` produced a tarball containing
`package/dist/index.js`**. The temporary scope and package were removed
afterwards.
- **Workflow:** `actionlint` is clean. `zizmor` with the repo config
reports the same 41 findings (0 low, 0 medium, 0 high) as on `main`, and
none mention the new step. `verify-release-scope-dropdowns.sh`: "OK: all
release scope dropdowns match release.config.json".
- `oxfmt --check` and `oxlint` on the changed files: clean. Pre-commit
hooks: all passed.
- **Overlap:** #6856 and #6485 also touch these files. Their conflict
sets against this branch match their conflict sets against `main` (2 and
9), so this adds no new conflicts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Community packages can now be included in releases with their own
scope and version line. The release process builds eligible community
packages before publishing them.
* **Documentation**
* Added guidance on configuring community package releases and selecting
the appropriate release scope.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

1 participant