Commit Graph

35 Commits

Author SHA1 Message Date
Alem Tuzlak 18c7a6001d feat: multimodal attachments — UI polish, deprecations, docs, codemod
Attachment queue & previews:
- Image lightbox with View Transition API morph animation
- Video lightbox with native controls and play button overlay
- Document lightbox (PDF via blob URL, text inline, info card fallback)
- Drop zone overlay with upload icon
- Filename preservation via InputContent metadata
- Proper video thumbnail sizing and play/pause indicator
- Fix attachment queue positioning (max-w-3xl constraint)
- Padding between X button and content for audio/document cards
- Document filenames wrap instead of truncating

Attachments config:
- onUploadFailed callback for validation/upload errors (file-too-large, invalid-type, upload-failed)
- onUpload accepts sync or async returns
- AttachmentUploadResult discriminated union with explicit interfaces
- Metadata field on Attachment and onUpload return type

AG-UI version bump:
- Bump @ag-ui/client, @ag-ui/core, @ag-ui/encoder, @ag-ui/proto to 0.0.51
- Remove process.env Vite workaround (fixed upstream in 0.0.51)

Deprecation lifecycle:
- @deprecated JSDoc on all legacy image upload APIs
- ImageRenderer, ImageRendererProps, ImageUpload type, imageUploadsEnabled prop,
  inputFileAccept prop, ImageRenderer prop, AIMessage.image, ImageData
- Codemod at codemods/migrate-attachments.ts (15 tests)
- Migration guide updated with codemod instructions and new type shapes

Docs:
- New guide: docs/(root)/multimodal-attachments.mdx
- Updated migration guide with onUpload return type, metadata, codemod section
- Cross-links from prebuilt-components and migration guide
- Label change: "Add photos or files" → "Add attachments"

Tests:
- CopilotChat.attachments.test.tsx — 5 tests for onUploadFailed
- migrate-attachments codemod — 15 tests
2026-04-06 14:55:06 +02: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
Max Korp cd722213f4 chore: Update to published license-verifier 2026-03-26 16:19:03 -07:00
Max Korp 73bce637b5 feat: move license checks to the backend 2026-03-26 16:19:03 -07:00
Max Korp 5b3037a241 feat: Add support for intelligence platform
Co-authored-by: Benjamin Taylor <ben@liveloveapp.com>
Co-authored-by: Mike Ryan <mike.ryan52@gmail.com>
2026-03-13 14:02:59 -07:00
Alem Tuzlak 45652201a9 Merge branch 'main' into worktree-validated-greeting-quokka 2026-03-02 15:23:37 +01:00
Ran Shemtov d77f3475a6 feat: create use-interrupt hook (#3184)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:50:21 +01:00
Alem Tuzlak f25f182ff1 chore: migrate from husky to lefthook and fix angular tests
- Replace husky with lefthook for git hooks management
- Pre-commit runs lint --fix, format, test, and check:packages in parallel
  with auto-staging of fixes via stage_fixed
- Commit-msg runs commitlint
- Add dependsOn ^build to test target in nx.json so dependencies are
  built before tests run
- Upgrade @analogjs/vite-plugin-angular and @analogjs/vitest-angular
  from ^1.20.2 to ^2.2.3 for vite 7 compatibility
- Add pnpm packageExtensions to declare missing vite peer dependency
  on @analogjs/vite-plugin-angular
- Fix lint issues: let -> const in agent and react packages
- Disable nx TUI in pre-commit hooks via NX_TUI env var
2026-02-24 15:17:21 +01:00
Alem Tuzlak 98ed92c4ef Feat/speed up build system (#3213) 2026-02-17 18:34:26 +01:00
Alem Tuzlak ef0f539867 feat: Added reasoning for improved information display (#3165)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-17 11:11:47 +01:00
Alem Tuzlak 7cd968d6a6 refactor: migrate from Turborepo to Nx for task management (#3207) 2026-02-13 16:53:35 +01:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00
Markus Ecker 12ee574e9c feat: improve v2 UI and add reference documentation (#3101)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-01-30 13:52:30 -05:00
Ran Shemtov 4886f183b3 fix: use langgraph clone fix on latest agui (#3131) 2026-01-30 16:01:31 +01:00
Max Korp d36fc1e51a feat: Add UMD builds 2026-01-29 11:49:54 -08:00
Markus Ecker 588f57dd5a fix: remove js-yaml override that breaks changesets
The js-yaml@4.1.1 override was forcing a version that removed the
safeLoad API, which read-yaml-file (used by changesets) depends on.
2026-01-21 16:44:39 -07:00
Max Korp e49f607133 Fix: integrate example e2e tests into monorepo (#3056) 2026-01-21 16:21:42 -07:00
Max Korp 8f5e131bf4 Chore: disable tests in voice package (#3052) 2026-01-21 11:01:01 -07:00
aikido-autofix[bot] b2949eade3 Chore: Patch a bunch of dependencies
Co-authored-by: aikido-autofix[bot] <119856028+aikido-autofix[bot]@users.noreply.github.com>
2026-01-20 17:05:05 -07:00
lukasmoschitz f5978948e7 feat(v2.x): Add audio transcription support with OpenAI Whisper (#2987)
Co-authored-by: Development <dev@MacBook-Pro.local>
Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
2026-01-16 17:28:52 +01:00
Markus Ecker c87af71792 fix(mcp-apps): improve performance and fix MCP server ports (#2989)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
Co-authored-by: Maximiliano Korp <max@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-01-14 15:31:49 -07:00
Max Korp b3028c3ef4 feat: Speed up build for publishing 2026-01-09 16:24:59 -07:00
Max Korp 2afd4e3b60 fix: Ci, in theory 2026-01-09 16:00:43 -07:00
Max Korp 458fe590ea prevent erroneous major version bumps 2026-01-09 14:41:06 -07:00
Max Korp 2839a15827 feat: Combine v1 and v2 into a single pnpm workspace (#2984) 2026-01-09 14:09:25 -07:00
Max Korp 2a37e9caae feat: Enforce conventional commits via commitlint CaSe iNSeNSiTiVeLY(#2973) 2026-01-06 13:40:32 -07:00
Tyler Slaton 80dffec4e7 feat: Reimplement CopilotKit on top of refreshed internals (v1.50.0)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Ran Shemtov <ran@copilotkit.ai>
Co-authored-by: Brandon McConnell <brandon@dreamthinkbuild.com>
Co-authored-by: Mike Ryan <mike.ryan52@gmail.com>
Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
2025-12-12 09:25:10 -08:00
johnprg e22446fea4 refactor(docs): overhaul new user experience and navigation
We're overhauling our documentation such that the experience
of selecting an agent framework or LLM is very clear. Doing
this is intended to greatly improve the experience of new
and existing users trying to find relevant documentation to them.

Signed-off-by: johnprg <john@theartofwork.com>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2025-06-23 14:00:05 -04:00
orca-copilotkit 4fc5dc6e6c Cpk 2271 feature viewer no chat (#1819) 2025-05-16 13:07:51 +04:00
Ran Shemtov a05232e11a chore: add danger comment when LG executors are not aligned (#995)
* chore: add danger comment when LG executors are not aligned
2024-11-29 16:24:28 +01:00
Markus Ecker b6f206dde0 Autogenerate reference docs (#525)
* automate doc generation

* write files

* Actually write files

* update docs (autogenerated)

* remove body (obsolete)

* fix build errors

* clean up

* test

* feat(docs): add pre commit hook with husky

---------

Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-08-06 12:35:36 +02:00
Atai Barkai 5f3727dde8 move to CopilotKit subdirectory
.
2023-08-22 23:09:55 -07:00
Atai Barkai 03164e91c7 v0.2 turbo refactor 2023-07-13 16:08:04 -07:00
Atai Barkai 824172fc9b initial commit - web skeleton in place 2023-06-19 09:59:21 -07:00