Commit Graph

85 Commits

Author SHA1 Message Date
github-actions[bot] 1bc4786759 chore: version packages (next) 2026-04-09 18:09:30 +00:00
github-actions[bot] 0093bdbaa4 chore: version packages 2026-04-09 02:26:42 +00:00
github-actions[bot] c2837a3001 chore: version packages (next) 2026-04-09 01:53:20 +00:00
github-actions[bot] 00cace6abf chore: version packages 2026-04-08 23:54:54 +00:00
Alem Tuzlak 1317e51302 fix: revert copy-dts script, use typesVersions for legacy TS consumers
Reverts the copy-dts.mjs approach from #3612 in favor of typesVersions
which is the standard Node/TS mechanism for resolving subpath types
under legacy moduleResolution: "node".
2026-04-07 11:39:15 +02:00
Maxim 208f9bc32f fix: restore .d.ts declaration files for legacy moduleResolution consumers
Copies .d.cts → .d.ts after each tsdown build so consumers on
moduleResolution "node" (e.g. DocuSign) can resolve types without
changing their tsconfig. Also points the "types" field back to .d.ts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 20:55:45 +02:00
Tyler Slaton 180b719d50 Revert "fix: add types conditions to package exports for proper TypeScript resolution"
This reverts commit 499bca09ad.
2026-04-03 09:42:01 -07:00
Tyler Slaton 499bca09ad fix: add types conditions to package exports for proper TypeScript resolution
All @copilotkit/* packages were missing type declarations in their exports
map. This meant TypeScript couldn't resolve types for subpath imports like
@copilotkit/react-core/v2 without manual tsconfig paths workarounds
pointing to dist .d.ts files (which no longer exist after the tsup to
tsdown migration).

Uses nested conditional exports to map .d.mts for ESM and .d.cts for CJS
consumers, satisfying both attw and TypeScript module resolution under
nodenext and bundler modes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 14:56:09 -07:00
Alem Tuzlak 401a27c981 fix: resolve rebase conflicts and format files
- Remove stale eslint-config-custom refs from package.json files
- Regenerate pnpm-lock.yaml
- Format agentcore and other files with oxfmt
2026-04-02 16:43:34 +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
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
github-actions[bot] a1edf59eae chore(post-release): update version to 1.55.0-next.7 2026-03-29 00:19:22 +00:00
Claude 1ceb963a84 Revert "fix: resolve changeset version errors from stale @copilotkitnext package refs"
This reverts commit 1f6ae0d629.
2026-03-28 17:04:55 -07:00
Claude 369266f1be fix: resolve changeset version errors from stale @copilotkitnext package refs
After the V1/V2 consolidation merge, several changesets still referenced
old @copilotkitnext/* package names that no longer exist. Fixed package
references and ran changeset version to apply pending version bumps.

https://claude.ai/code/session_01A5aahBWFTmLPR3xZSeh4SD
2026-03-28 17:04:55 -07: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
Atai Barkai 5f3727dde8 move to CopilotKit subdirectory
.
2023-08-22 23:09:55 -07:00
Atai Barkai 4010c99c7e split react-textarea into react-ui component 2023-08-22 22:50:57 -07:00
Atai Barkai 2ebb9cd965 renamed CopilotTextarea params 2023-08-22 11:26:48 -07:00
Atai Barkai 6a6a4ee157 support forwarding props to backedn, and minor cosmetic changes 2023-08-21 09:17:14 -07:00
Atai Barkai c867d6c65f history working-ish 2023-08-20 04:55:39 -07:00
Atai Barkai f85e7b220b add history support 2023-08-20 04:27:38 -07:00
Atai Barkai f42c21606a use twMerge to merge classnames, not manually hacky method 2023-08-20 03:52:17 -07:00
Atai Barkai 3debf56a56 tailwind —> tailwindcss 2023-08-20 03:52:17 -07:00
Atai Barkai 4211ae9953 tailwind: dependency —> dev dependency 2023-08-20 03:52:17 -07:00
Atai Barkai 3998b62bc7 allow for suggestions style customization 2023-08-18 21:03:37 -07:00
Atai Barkai 91242de87c give copilot textarea a custom CSS classname
.
2023-08-18 20:46:47 -07:00
Atai Barkai adcfd86b37 allow for external overrides of default styles, but default styles mirror textarea 2023-08-18 20:41:57 -07:00
Atai Barkai b98f58e7f9 apply overflow: auto by default to copilot text area, to handle overflow with scroll… 2023-08-18 19:16:26 -07:00
Atai Barkai 1e987d0029 do not forward autosuggestionsFunc to DOM 2023-08-18 18:40:05 -07:00
Atai Barkai 18db0ded83 fix bug: wrong order of makeSystemFunc properties 2023-08-18 18:40:05 -07:00
Atai Barkai 8e8c1ced5e export MinimalChatGPTMessage
.
2023-08-18 18:40:05 -07:00
Atai Barkai 62beb439c4 must specify text area purpose, no default purpose 2023-08-18 15:33:34 -07:00
Atai Barkai e130767b6e organize imports
.
2023-08-18 08:10:30 -07:00
Atai Barkai 7152da4986 move disableWhenEmpty to BaseAutosuggestionsConfig
.
2023-08-18 08:06:57 -07:00
Atai Barkai d532b4e294 split text area into base, and standard
.

.
2023-08-18 07:27:49 -07:00
Atai Barkai bc72cff18d prompt engineering 2023-08-18 07:03:33 -07:00
Atai Barkai c42d2e1bc6 fix non-deterministic bug with slateJS(?) 2023-08-18 05:28:03 -07:00
Atai Barkai 0fb8357d8b add retry functionality to autosuggestion 2023-08-16 18:35:04 -07:00
Atai Barkai b7362b683f only pass to Editable the additional textarealike props 2023-08-16 18:08:03 -07:00
Atai Barkai d4d7e78350 pass on any TextareaHTMLAttributes<HTMLDivElement> props 2023-08-16 15:48:44 -07:00
Atai Barkai 3d4abe2c2d updating text based on external state 2023-08-16 15:34:09 -07:00
Atai Barkai ee9e850c19 call props.onChange when text changes 2023-08-16 14:24:20 -07:00
Atai Barkai 3820183b12 minor refactors 2023-08-16 11:40:25 -07:00
Atai Barkai 603d8bcc48 added: textAreaPurpose, disableWhenEmpty, placeholder support, placeholder style 2023-08-16 07:34:09 -07:00
Atai Barkai fbad810925 custom autosuggestions config 2023-08-15 20:49:52 -07:00
Atai Barkai c5de7de1de add documentation 2023-08-15 06:30:57 -07:00
Atai Barkai 8e954e41d3 useMakeAutosuggestionFunction takes context categories 2023-08-15 06:25:23 -07:00
Atai Barkai 2b46479c03 copilot context takes categories, to allow for filtering of content 2023-08-14 22:50:40 -07:00
Atai Barkai 5cb2142805 move useMakeAutosuggestionFunction to react textarea 2023-08-14 17:15:37 -07:00
Atai Barkai 08fed377c0 autosuggestions work and are fucking awesome 2023-08-14 16:32:44 -07:00