Repository navigation
chore: remove demo-agents, tailwind-config, and the old tsconfig package - #8167
Merged
Merged
Conversation
- demo-agents: the Angular demo-server was its only user. Its one used agent (SlowToolCallStreamingAgent) now lives in demo-server/src/agents. The unused OpenAIAgent is deleted. - tailwind-config: nothing used it. - tsconfig: runtime, shared, sdk-js and react-core now extend @copilotkit/typescript-config with module ESNext and moduleResolution Bundler, like core. The stricter base turns on noUncheckedIndexedAccess. The new errors in shared and react-core are fixed with no runtime behavior change.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 1
Please check the settings in the CodeRabbit UI or the
|
The pinned commit a98b568 is the v6.0.0 tag. The upstream v6 tag moved, so zizmor flagged the "# v6" comments (ref-version-mismatch). Only the comments change. The pinned commit stays the same.
Contributor
|
Size Change: +2.03 kB (+0.1%) Total Size: 2.09 MB 📦 View Changed
ℹ️ View Unchanged
|
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/intelligence-langgraph
@copilotkit/intelligence-mastra
@copilotkit/learning
@copilotkit/markdown
@copilotkit/mcp-apps-renderer
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/runtime
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
4 tasks
AlemTuzlak
added a commit
that referenced
this pull request
Nov 3, 2026
Pick up #8167. The Angular demo server now imports SlowToolCallStreamingAgent from its local agents folder instead of the removed @copilotkit/demo-agents, and keeps the PR's TanStack AI adapters instead of @ai-sdk/openai. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
packages/now holds only real packages. This PR removes 3 folders that were not library packages:demo-agents(example code),tailwind-config(unused), andtsconfig(an old TypeScript config thattypescript-configreplaces). Nothing that users install changes.What does this PR do?
demo-agentsexamples/v2/angular/demo-serverused it, and only forSlowToolCallStreamingAgent.git mv) todemo-server/src/agents/.OpenAIAgentis deleted.buildscript,test_unit.yml(3 exclude lists),config-allowlist.txt,tsconfig.docs.json, and the runtime-conformance gate.tailwind-config.cursorrule lines.tsconfig→@copilotkit/typescript-configruntime,shared,sdk-js, andreact-corenow extend@copilotkit/typescript-config, withmodule: ESNextandmoduleResolution: Bundler, the same ascore.noUncheckedIndexedAccess. That found 427 type errors: 16 insharedand 411 inreact-core(78 in source, 333 in tests).runtimeandsdk-jshavestrict: false, so they got none.undefinedpath, or!where the line before proves the index (a length check or a loop bound).mock.calls[0]!(thecorepackage style). No assertion is looser.pathshint for@remix-run/node-fetch-serveris gone, becauseBundlerresolution finds it.CI pin comments (needed for zizmor). This PR changes workflows, so zizmor runs. It flagged 6
actions/setup-dotnet@a98b568… # v6lines (ref-version-mismatch), because the upstreamv6tag moved. The pinned commit is thev6.0.0tag, so only the comments change to# v6.0.0. The action version stays the same.tsconfig824172fc9b)tailwind-config03164e91c7)demo-agentsRelated PRs and Issues
Checklist
!(for examplefeat(react-core)!: ...) and the description has aBREAKING CHANGE:line with migration steps (not breaking)Testing
Commands run (local, light checks only):
tsc --noEmit: 0 errors inruntime,shared,sdk-js, andreact-core. All 4 had 0 before the switch as well.sharedandreact-core: all pass.distfile lists are the same. The only difference is the content hash of onereact-corechunk (MarkdownSurfaces-*), because its source changed.pnpm install --frozen-lockfilewith the new lockfile: passes. The lockfile diff only removes the 3 packages and links@copilotkit/typescript-config.node --test scripts/__tests__/examples-readme-catalog.test.mjs: passes.oxfmt --checkon the changed files: clean.zizmor(online, repo config) on the 5 workflows with the changed pin comments: no findings.Not clean locally:
tools/runtime-conformance/test/gate.test.mjs: 11 git-fixture tests fail on my machine. 12 of them fail the same way on the unchanged2.0.0copy, so this is my local git version, not this change. CI runs it.examples/v2/angular/demo-servertsc: 2 errors insrc/agents/a2ui-recovery.ts(toReversedwith target ES2022). They were there before this PR, and this PR does not touch that file or its tsconfig.Skipped, CI runs them: the full test suites, the other builds, and E2E.
Manual test:
pnpm installon this branch.How this PR makes testing easy: the typecheck of the 4 packages is the main check, and CI runs it. The fixes in
react-coreandsharedare covered by the existing tests.Risk / rollback
react-coreorsharedchanges behavior on an edge path. Each one keeps the oldundefinedpath, uses!with a proof just before it, or throws on a path that already crashed before (for examplecalc.tspeek()at the end of the token list).demo-agentsorpackages/tsconfig. A repo-wide grep finds no references outside the lockfile and changelogs.