Commit Graph

230 Commits

Author SHA1 Message Date
Jordan Ritter 8faad0a325 fix: remove incorrect changeset file
CopilotKit no longer uses changesets for versioning.
2026-04-15 13:10:39 +02:00
Jordan Ritter 53e6e84af0 chore: add changeset 2026-04-15 13:10:39 +02:00
Jordan Ritter 3a79f8a6eb chore: add changeset for debug mode feature 2026-04-14 14:58:54 -07:00
Tyler Slaton ab74b737f0 ci: remove changesets infrastructure
Remove the entire changesets-based release system:
- .changeset/ config directory
- .github/actions/changesets-action/ custom fork (34 files)
- @changesets/assemble-release-plan patch
- @changesets/cli dependency
- Old release and prerelease workflows
- Legacy release scripts (check-allowed, generate-changelog, publish-snapshot)
- Stale paths-ignore entries in CI workflows
2026-04-10 22:20:32 -07:00
github-actions[bot] 087cbae689 chore: version packages 2026-04-10 23:38:59 +00:00
Martha Schumann 07b7cc134d chore: release 1.55.2 2026-04-10 16:34:31 -07:00
Martha Schumann a04f86eb1c chore: add changeset for react-ui layout fix 2026-04-10 15:41:41 -07:00
github-actions[bot] 3e43f35131 chore: version packages (next) 2026-04-10 18:29:58 +00:00
Martha Kelly Schumann 1e3069e423 Merge branch 'main' into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-10 07:49:05 -07:00
Tyler Slaton 5f4ca65ba9 chore: add changeset 2026-04-09 23:47:35 -04:00
Martha Kelly Schumann 14d752c6e0 Merge branch 'main' into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-09 12:59:36 -07:00
Martha Kelly Schumann 1a61500dda Merge branch 'main' into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-09 11:15:55 -07:00
github-actions[bot] 1bc4786759 chore: version packages (next) 2026-04-09 18:09:30 +00:00
Tyler Slaton 62c604213c chore(a2ui-renderer): bump version for a2ui-middleware to 0.0.4
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-09 11:05:10 -07:00
Martha Kelly Schumann 658f6dad3d Merge branch 'main' into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-09 10:58:09 -07:00
Tyler Slaton 7efb9ee994 chore(changeset): enter pre-mode
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-09 10:14:18 -07:00
Martha Kelly Schumann f65b841885 Merge branch 'main' into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-09 08:03:40 -07:00
Martha Schumann 0ba68318fc Merge branch 'fix/CPK-7154-agent-text-wiped-multiple-tool-calls' of https://github.com/CopilotKit/CopilotKit into fix/CPK-7154-agent-text-wiped-multiple-tool-calls 2026-04-09 07:59:15 -07:00
Martha Schumann 22a7f98bcf fix(react-core): address review feedback on deduplicateMessages
- Fix JSDoc: "while keeping the latest toolCalls" was wrong for the ?? case;
  now says "recovers toolCalls from earlier occurrences if the latest is
  undefined" and notes that [] is treated as intentional
- Add @internal annotation to signal export is for testing only
- Remove redundant AssistantMessage casts inside the role-narrowed branch
- Add missing content assertion to "uses latest content" render test
- Add test: [] toolCalls from later chunk is kept (not fallen back from)
- Add test: undefined content on both sides is handled without error
- Add changeset for @copilotkit/react-core patch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 07:58:52 -07:00
github-actions[bot] 0093bdbaa4 chore: version packages 2026-04-09 02:26:42 +00:00
Tyler Slaton b0a62cd980 chore: release 1.55.1
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-08 19:16:47 -07:00
github-actions[bot] c2837a3001 chore: version packages (next) 2026-04-09 01:53:20 +00:00
Tyler Slaton e6e8ef83fa chore(changeset): manually add for open-gen-ui fix
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-08 18:45:58 -07:00
Tyler Slaton 4d3c65d93e chore(changeset): enter pre-mode
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-08 18:41:47 -07:00
github-actions[bot] 00cace6abf chore: version packages 2026-04-08 23:54:54 +00:00
Tyler Slaton c9609238b1 fix: narrow release plan to publishable packages 2026-04-08 16:14:15 -07:00
Tyler Slaton 100a882ebe fix: repair protected-branch release flow 2026-04-08 15:18:10 -07:00
Tyler Slaton 3c2b4b8879 chore: release 1.55.0
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-04-08 13:25:43 -07:00
Markus Ecker 434ccd8691 chore: changeset, dependency bumps, lockfile 2026-04-08 12:51:17 -07:00
Martha Schumann 0e2a6d4c23 chore: add changeset for cli tar bump
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:23:20 -07:00
Martha Schumann 1a61be49dc refactor(FOR-75): replace useJsonStable with useShallowStableRef; add unit tests and changeset
- Kill useJsonStable in CopilotChatConfigurationProvider — useShallowStableRef
  is now the single stabilization primitive for both messageView props and labels
- Harden useShallowStableRef with isPlainObject guard so arrays, Dates, and
  class instances are never shallow-compared (reference-only for non-plain objects)
- Remove redundant stableParentLabels — parentConfig?.labels is already stabilized
  by the parent provider's own useShallowStableRef
- Uninstall ts-deepmerge from react-core dependencies (no longer imported anywhere)
- Add unit tests for useShallowStableRef in slots.test.ts (5 tests)
- Add changeset (patch) describing the FOR-75 performance fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 11:00:19 -07:00
Alem Tuzlak 39b5f671c0 Merge branch 'main' into claude/remove-endpoint-flag-xd3G1 2026-04-07 14:47:09 +02:00
Alem Tuzlak 528979194a chore: add minor changeset for multimodal builtin agent 2026-04-07 14:30:30 +02:00
Ran Shemtov 88fef2afe3 Merge branch 'main' into claude/remove-endpoint-flag-xd3G1 2026-04-06 18:10:10 +02:00
Ran Shemtov 12838ee879 Merge branch 'main' into claude/remove-endpoint-flag-xd3G1 2026-04-06 14:43:14 +02:00
Ran Shemtov 2afc3c380e Merge branch 'main' into claude/explore-agentcore-cli-a25GL 2026-04-06 13:59:33 +02:00
Ran Shemtov 6670cdeb91 Merge branch 'main' into claude/remove-endpoint-flag-xd3G1 2026-04-03 19:06:30 +02:00
Ran Shemtov dc2999a39d chore: add changeset 2026-04-03 19:06:06 +02:00
Alem Tuzlak 9a6ee39d96 chore(runtime): update package config, CI workflows, and docs
- Add package.json exports for v2/{express,hono,node} subpaths
- Add elysia devDependency and tsdown entry points
- Exclude bun integration tests from vitest config
- Update CI workflows to include runtime-servers test job
- Add runtime-server-adapter docs page
- Add changeset for the fetch-based runtime feature
2026-04-03 18:41:27 +02:00
Tyler Slaton 52a9322df9 chore: add changeset
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 09:24:32 -07:00
Ran Shemtov b4a8b7ad2b chore: add changeset 2026-04-03 15:20:44 +02:00
Claude cec66ea812 fix: remove stale eslint-config references breaking changeset release
The @copilotkit/eslint-config and eslint-config-custom packages were
removed from the workspace but still referenced in changeset files,
causing `changeset version` to fail during release CI.

- Remove @copilotkit/eslint-config from consolidate-v1-v2-packages changeset
- Remove @copilotkit/eslint-config and eslint-config-custom from pre.json initialVersions
- Remove dead eslint-config-custom link from cursor rules

https://claude.ai/code/session_012W65KcXxEaCYnjcSKBHw4x
2026-04-02 15:28:21 +00:00
Claude c341ed2d90 chore: add changeset to kick next.9 release
https://claude.ai/code/session_01N8sLK9h9p6FdRjyHqzKzVV
2026-04-02 02:28:08 +00:00
Claude 0d9e3b88f6 chore(post-release): update version to 1.55.0-next.8
The previous publish workflow released 1.55.0-next.8 to npm but the
post-release commit failed to push to main (blocked by branch
protection). This applies the version bumps and pre.json updates that
the workflow would have committed, unblocking future releases.

https://claude.ai/code/session_01N8sLK9h9p6FdRjyHqzKzVV
2026-04-02 02:23:27 +00:00
Claude 0f6a61cbbc chore: add changeset for CopilotMessages key fix
https://claude.ai/code/session_01N8sLK9h9p6FdRjyHqzKzVV
2026-04-02 01:38:09 +00:00
Jordan Ritter 0315c7ed5e Fix changeset package name: @copilotkitnext/react → @copilotkit/react-core 2026-04-01 14:10:35 -07:00
Martha Kelly Schumann e38d6ede25 fix: multiple CopilotChat components with different threadIds share message state (#3525) 2026-03-31 13:29:09 -07:00
Martha Schumann 5aa901f122 test(agent): strengthen reasoning lifecycle test coverage
- Add cardinality assertions (toHaveLength(1)) to all 5 auto-close tests
  so duplicate REASONING_MESSAGE_END / REASONING_END events are caught
- Add missing RUN_FINISHED final-event assertion to abort auto-close test
- Add test for consecutive reasoning blocks with no reasoning-end between
  them (exercises closeReasoningIfOpen inside reasoning-start)
- Add test for exception thrown mid-stream (exercises catch block path)
- Add test for stream exhaustion without terminal event while reasoning is
  open (exercises !terminalEventEmitted fallback)
- Expand changeset description to cover all three behavioral fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 13:09:15 -07:00
Martha Schumann 37cc189b35 chore: update changeset package name to @copilotkit/runtime after consolidation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 13:09:14 -07:00
Martha Schumann 8aafcbe2af fix(agent): skip empty reasoning deltas and auto-close reasoning lifecycle
Two fixes for Anthropic model stalls (fixes #3323):

1. Skip reasoning-delta events with empty text — EventSchemas.parse()
   rejects delta: "" and kills the RxJS Observable before any other
   events can fire.

2. Auto-close open reasoning lifecycle at every phase transition —
   @ai-sdk/anthropic never emits reasoning-end, leaving the state
   machine stuck.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 13:09:14 -07:00