56 Commits

Author SHA1 Message Date
Jordan Ritter 96e29c886b feat(examples/v2): rename interrupts-langraph→interrupts-langgraph + integration cleanup
Fix the long-standing typo across the example directory name + module
identifiers, align imports + package names. Also touches examples/integrations/adk
docker-compose fixtures and examples/e2e agents reference doc.
2026-04-22 10:50:10 -07:00
Jordan Ritter 50439f5e12 fix: remove unused variables and prevent silent test pass in dark mode tests
Remove captured-but-never-asserted colorBefore and markerColorLight
variables. Replace silent if-guard in poweredBy test with explicit
test.skip so missing elements surface in test reports instead of
silently passing.
2026-04-13 14:33:20 -07:00
Jordan Ritter f30f001f83 test: add Playwright regression test for dark mode CSS scoping (#2920)
Verifies that .dark CSS selectors in console.css and input.css are
properly scoped to CopilotKit elements and do not leak into the host
application. Tests detect the specific rgb(69, 69, 69) color leak that
occurred when .dark was used as a standalone selector.
2026-04-13 09:17:41 -07:00
Martha Schumann c2b17a9ad8 test(e2e): simplify to form-filling only, fix windowBox ref in drag test 2026-04-10 16:14:26 -07:00
Martha Schumann c5b3951f38 test(e2e): guard isVisible against race on window open check 2026-04-10 16:07:24 -07:00
Martha Schumann bd19406f43 test(e2e): fix beforeEach to handle defaultOpen variants 2026-04-10 16:06:24 -07:00
Martha Schumann a8db5310f2 test(e2e): tighten chat layout assertions 2026-04-10 15:55:20 -07:00
Martha Schumann 271602e0d3 test(e2e): add chat window layout regression tests 2026-04-10 15:53:12 -07:00
Alem Tuzlak 79ce60c580 chore: migrate from eslint+prettier to oxlint+oxfmt
Replace eslint and prettier with oxlint and oxfmt for faster linting
and formatting across the monorepo. Remove all eslint and prettier
configs, dependencies, and related packages. Add .oxlintrc.json and
.oxfmtrc.json for the new tooling. Update CI workflows and lefthook
hooks accordingly. Reformat codebase with oxfmt.

https://claude.ai/code/session_01GMkSf29p78HuMR1mbXn8He
2026-04-02 16:39:05 +02:00
Tyler Slaton 96885b5959 refactor: consolidate V1/V2 packages into flat @copilotkit/* structure
Flatten all packages from packages/v1/* and packages/v2/* into packages/* —
every package now lives directly under the @copilotkit/ scope with no v1/v2
subdirectories.

- Move all v1 packages (react-core, react-ui, runtime, shared, etc.) from
  packages/v1/* to packages/*
- Absorb v2 react code into packages/react-core/src/v2/ (exported via /v2 subpath)
- Absorb v2 agent code into packages/runtime/src/agent/ (exported via /v2 subpath)
- Move v2 packages (core, angular, demo-agents, etc.) to packages/*
- Replace all @copilotkitnext/* imports with @copilotkit/* equivalents
- Keep @copilotkitnext/angular as the sole exception (angular remains on next)
- Update CI workflows, renovate config, release scripts for flat structure
- No public API surface changes — all exports fields are preserved

Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-28 16:45:10 -07:00
Claude 3514b7fb8a fix: resolve flaky travel e2e test caused by external CDN blocking page load
The travel layout loads leaflet CSS/JS from unpkg.com in the <head>, which
are render-blocking resources. Playwright's default page.goto() waits for the
"load" event (all resources finished), so when unpkg is slow in CI the test
times out intermittently. Switch to "domcontentloaded" since the title assertion
only needs server-rendered HTML.

https://claude.ai/code/session_01UG2GvyhbtPqUGpwo5xxra1
2026-03-28 11:59:39 -07:00
Jordan Ritter fd34bbfbf6 style: format all example files with prettier
Run prettier on ~1,865 files across examples/ to match the monorepo's
formatting standards. These files were imported as-is from standalone
repos that used different prettier configs.
2026-03-12 13:06:04 -07:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00
Max Korp e49f607133 Fix: integrate example e2e tests into monorepo (#3056) 2026-01-21 16:21:42 -07:00
Tyler Slaton 2952bceeec refactor: overhaul examples structure, remove old ones and simplify testing (#2975)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-01-08 14:18:35 -05:00
Tyler Slaton 2fb4db4d1a fix(react-ui): address issue where initial message labels were not vi… (#2237)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-08-01 13:55:03 -04:00
Suhas Deshpande 967d0abaa7 refactor(chat): separate useCopilotChat into internal implementation and public API (#2212) 2025-07-23 12:56:03 -07:00
Tyler Slaton e1de032a32 fix: synchronously execute renderAndWaitForResponse (#1861)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-07-08 11:35:09 -04:00
Suhas Deshpande 10345a5eae feat: structured error visibility system for streaming errors (#2007) 2025-06-18 23:02:35 -07:00
Suhas Deshpande f88d25badf fix: e2e tests make sure we correctly test for intermediate state (#2000) 2025-06-16 18:00:12 -07:00
Suhas Deshpande d40e0027a3 udpates crewai to 0.118.0 (#1743) 2025-05-12 08:29:47 -07:00
Ran Shemtov 20f07275cc feat: chat interface redesign (#1419) 2025-03-21 14:36:17 +01:00
Markus Ecker 082db7a996 Add CrewAI support (#1308)
Co-authored-by: Suhas Deshpande <suhasdeshpande@users.noreply.github.com>
Co-authored-by: Ariel Weinberger <Weinberger.Ariel@gmail.com>
Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2025-02-28 12:21:54 +01:00
Ariel Weinberger 7cde2a906a Feat/revert to lambda preview envs (#1331) 2025-02-11 02:09:51 -06:00
Ran Shemtov 06f9f35405 feat: support message based lg interrupt with convenience function (#1305) 2025-02-06 18:13:05 +01:00
Ariel Weinberger f05795853c ci fixes (#1309) 2025-02-05 10:27:17 -06:00
Ran Shemtov 7b3141d3a9 feat: langgraph interrupt hook (#1273) 2025-02-04 17:32:42 +01:00
Ariel Weinberger 62ba3c00e3 feat: run e2e tests for coagents against cloud (#1285) 2025-01-30 19:14:11 -06:00
Ariel Weinberger 67bc0d6662 Arielweinberger/dynamic k8s envs (#1281) 2025-01-27 16:12:34 -06:00
Suhas Deshpande ecbd621f8d test: adds test to capture appendMessage functionality (#1264) 2025-01-20 17:14:52 -08:00
Ran Shemtov 6136a57f76 fix: better error messages (#1230) 2025-01-20 11:37:59 +01:00
Ran Shemtov 993b651176 chore: validate core ReAct is aware of latest state (#1197) 2025-01-08 12:56:56 +01:00
Suhas Deshpande fd7711587d remove flaky reporting (#1126) 2024-12-13 16:12:40 -08:00
Suhas Deshpande 0483556cb2 test result status report fix (#1050) 2024-12-09 15:02:22 -08:00
Ariel Weinberger 8e6491b271 feat: enhanced deployment outputs (#1051)
* add print cdk outputs

* fix typo

* define lgc js in infra

* fix typo
2024-12-09 16:58:25 -06:00
Ariel Weinberger da86e929c5 Release 1.4.0 (#1039)
* exit pre mode

* version bump to 1.4.0

* update 1.4.0 changelog

* fix formatting

* fix poetry lockfile

* temporarily remove backend action validation from test

* attempt to make test less flaky

---------

Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2024-12-06 14:00:05 -06:00
Suhas Deshpande 9c80ffaa40 adds more functionality to example apps (#1022)
* adds more functionality to example apps

* fixup open ai

* Update CopilotKit/examples/next-openai/src/app/api/copilotkit/route.ts

* adds test coverage on suggestion and backend actions
2024-12-05 13:53:14 -08:00
Ran Shemtov 6c95385f1f chore(e2e): test streaming of manually emitted state (#996)
* chore(e2e): test streaming of manually emitted state
2024-11-29 16:26:17 +01:00
Ran Shemtov 066c32a51d chore: consider possible js deployment url from main config (#991)
* chore: consider possible js deployment url from main config

* chore: add LGC JS deployments of main
2024-11-29 15:22:02 +01:00
Ran Shemtov f6fab281ae feat: langgraph cloud (#918)
* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(sdk-js): add SDK for LangGraph JS support

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-11-27 13:31:58 +01:00
Ariel Weinberger 7ab9deb847 fix test 2024-11-25 19:03:20 -06:00
Suhas Deshpande 9049a957b3 fixes test reporter (#969)
* fixes test reporter

* remove continue-on-error: true

* tweak status updating

* tweak status

* tweak

* retrigger CI
2024-11-25 18:42:27 -06:00
Ariel Weinberger 1103087751 feat(next-openai): add cloud support for preview envs (#965)
* iteration

* make tests run against cloud

* fix formatting

* fix typo

* remove console log

* make canvas tests more reliable by checking the draft result as well
2024-11-22 13:56:41 -06:00
Ariel Weinberger e6f80bcff0 feat(e2e): add next-openai project (#963) 2024-11-21 20:49:09 -06:00
Suhas Deshpande 738e51d299 enhance report (#957)
Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-11-21 09:38:51 -08:00
Suhas Deshpande 03e9ec26b8 feat(e2e): add tests for coagents qa text demo (#959) 2024-11-20 17:59:34 -08:00
Suhas Deshpande 1c49c5dd50 update reference (#958) 2024-11-20 16:16:07 -08:00
Suhas Deshpande f8e54933dd feat(e2e): add tests for coagents qa native demo (#954) 2024-11-20 15:30:16 -08:00
Ariel Weinberger 89196201e4 disable google variant for tests (#956) 2024-11-20 17:12:32 -06:00
Ariel Weinberger 0b4ce4ad51 feat(e2e): add tests for coagents routing demo (#955) 2024-11-20 15:56:43 -06:00