@copilotkit/react-textarea 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @copilotkit/react-textarea@0.
|
|
2
|
+
> @copilotkit/react-textarea@0.14.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
|
|
3
3
|
> tsup --treeshake
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/lib/debouncer.ts, src/lib/editor-to-text.ts, src/lib/get-text-around-cursor.ts, src/lib/utils.test.ts, src/lib/utils.ts, src/types/html-copilot-textarea-element.ts, src/types/index.ts, src/components/base-copilot-textarea/base-copilot-textarea.tsx, src/components/base-copilot-textarea/render-element.tsx, src/components/base-copilot-textarea/render-placeholder.tsx, src/components/base-copilot-textarea/use-add-branding-css.tsx, src/components/copilot-textarea/copilot-textarea.tsx, src/hooks/base-copilot-textarea-implementation/use-autosuggestions.ts, src/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.tsx, src/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.ts, src/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.tsx, src/lib/slatejs-edits/add-autocompletions.ts, src/lib/slatejs-edits/clear-autocompletions.ts, src/lib/slatejs-edits/replace-text.ts, src/lib/slatejs-edits/with-partial-history.ts, src/types/base/autosuggestion-state.ts, src/types/base/autosuggestions-bare-function.ts, src/types/base/base-autosuggestions-config.tsx, src/types/base/base-copilot-textarea-props.tsx, src/types/base/custom-editor.tsx, src/types/base/editor-autocomplete-state.ts, src/types/base/index.ts, src/types/standard-autosuggestions/autosuggestions-config.tsx, src/types/standard-autosuggestions/chatlike-api-endpoint.tsx, src/types/standard-autosuggestions/index.ts, src/types/standard-autosuggestions/minimal-chat-gpt-message.tsx
|
|
@@ -159,13 +159,13 @@ Generated an empty chunk: "chunk-H4VKQGVU".
|
|
|
159
159
|
[32mESM[39m [1mdist/types/standard-autosuggestions/autosuggestions-config.mjs.map [22m[32m51.00 B[39m
|
|
160
160
|
[32mESM[39m [1mdist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map [22m[32m51.00 B[39m
|
|
161
161
|
[32mESM[39m [1mdist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map [22m[32m51.00 B[39m
|
|
162
|
-
[32mESM[39m ⚡️ Build success in
|
|
162
|
+
[32mESM[39m ⚡️ Build success in 3617ms
|
|
163
163
|
Export "AutosuggestionsConfig" of module "src/types/standard-autosuggestions/autosuggestions-config.tsx" was reexported through module "src/types/standard-autosuggestions/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
|
|
164
164
|
Either change the import in "src/components/copilot-textarea/copilot-textarea.tsx" to point directly to the exporting module or do not use "preserveModules" to ensure these modules end up in the same chunk.
|
|
165
165
|
Export "MakeSystemPrompt" of module "src/types/standard-autosuggestions/autosuggestions-config.tsx" was reexported through module "src/types/standard-autosuggestions/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
|
|
166
166
|
Either change the import in "src/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.tsx" to point directly to the exporting module or do not use "preserveModules" to ensure these modules end up in the same chunk.
|
|
167
|
-
[32mDTS[39m ⚡️ Build success in
|
|
168
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.
|
|
167
|
+
[32mDTS[39m ⚡️ Build success in 6723ms
|
|
168
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.01 KB[39m
|
|
169
169
|
[32mDTS[39m [1mdist/components/base-copilot-textarea/base-copilot-textarea.d.ts [22m[32m669.00 B[39m
|
|
170
170
|
[32mDTS[39m [1mdist/components/copilot-textarea/copilot-textarea.d.ts [22m[32m875.00 B[39m
|
|
171
171
|
[32mDTS[39m [1mdist/types/base/base-autosuggestions-config.d.ts [22m[32m355.00 B[39m
|
|
@@ -184,7 +184,7 @@ Either change the import in "src/hooks/make-autosuggestions-function/use-make-st
|
|
|
184
184
|
[32mDTS[39m [1mdist/types/base/editor-autocomplete-state.d.ts [22m[32m342.00 B[39m
|
|
185
185
|
[32mDTS[39m [1mdist/lib/utils.test.d.ts [22m[32m1.00 B[39m
|
|
186
186
|
[32mDTS[39m [1mdist/lib/utils.d.ts [22m[32m638.00 B[39m
|
|
187
|
-
[32mDTS[39m [1mdist/types/index.d.ts [22m[
|
|
187
|
+
[32mDTS[39m [1mdist/types/index.d.ts [22m[32m786.00 B[39m
|
|
188
188
|
[32mDTS[39m [1mdist/components/base-copilot-textarea/render-element.d.ts [22m[32m292.00 B[39m
|
|
189
189
|
[32mDTS[39m [1mdist/components/base-copilot-textarea/render-placeholder.d.ts [22m[32m321.00 B[39m
|
|
190
190
|
[32mDTS[39m [1mdist/components/base-copilot-textarea/use-add-branding-css.d.ts [22m[32m158.00 B[39m
|
|
@@ -199,4 +199,4 @@ Either change the import in "src/hooks/make-autosuggestions-function/use-make-st
|
|
|
199
199
|
[32mDTS[39m [1mdist/lib/slatejs-edits/replace-text.d.ts [22m[32m139.00 B[39m
|
|
200
200
|
[32mDTS[39m [1mdist/lib/slatejs-edits/with-partial-history.d.ts [22m[32m542.00 B[39m
|
|
201
201
|
[32mDTS[39m [1mdist/types/base/index.d.ts [22m[32m287.00 B[39m
|
|
202
|
-
[32mDTS[39m [1mdist/types/standard-autosuggestions/index.d.ts [22m[
|
|
202
|
+
[32mDTS[39m [1mdist/types/standard-autosuggestions/index.d.ts [22m[32m377.00 B[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export { BaseCopilotTextareaProps } from './types/base/base-copilot-textarea-pro
|
|
|
6
6
|
export { HTMLCopilotTextAreaElement } from './types/html-copilot-textarea-element.js';
|
|
7
7
|
export { AutosuggestionsConfig, MakeSystemPrompt, defaultAutosuggestionsConfig, defaultFewShotMessages, defaultMakeSystemPrompt } from './types/standard-autosuggestions/autosuggestions-config.js';
|
|
8
8
|
export { MinimalChatGPTMessage } from './types/standard-autosuggestions/minimal-chat-gpt-message.js';
|
|
9
|
-
export { ChatlikeApiEndpoint
|
|
9
|
+
export { ChatlikeApiEndpoint, ChatlikeApiEndpointImpl } from './types/standard-autosuggestions/chatlike-api-endpoint.js';
|
|
10
10
|
import 'react';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export { BaseCopilotTextareaProps } from './base/base-copilot-textarea-props.js'
|
|
|
4
4
|
export { HTMLCopilotTextAreaElement } from './html-copilot-textarea-element.js';
|
|
5
5
|
export { AutosuggestionsConfig, MakeSystemPrompt, defaultAutosuggestionsConfig, defaultFewShotMessages, defaultMakeSystemPrompt } from './standard-autosuggestions/autosuggestions-config.js';
|
|
6
6
|
export { MinimalChatGPTMessage } from './standard-autosuggestions/minimal-chat-gpt-message.js';
|
|
7
|
-
export { ChatlikeApiEndpoint
|
|
7
|
+
export { ChatlikeApiEndpoint, ChatlikeApiEndpointImpl } from './standard-autosuggestions/chatlike-api-endpoint.js';
|
|
8
8
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { AutosuggestionsConfig, MakeSystemPrompt, defaultAutosuggestionsConfig, defaultFewShotMessages, defaultMakeSystemPrompt } from './autosuggestions-config.js';
|
|
2
2
|
export { MinimalChatGPTMessage } from './minimal-chat-gpt-message.js';
|
|
3
|
-
export { ChatlikeApiEndpoint
|
|
3
|
+
export { ChatlikeApiEndpoint, ChatlikeApiEndpointImpl } from './chatlike-api-endpoint.js';
|
|
4
4
|
import '../base/base-autosuggestions-config.js';
|
package/package.json
CHANGED
|
@@ -11,6 +11,6 @@ export type {
|
|
|
11
11
|
export type { MinimalChatGPTMessage } from "./minimal-chat-gpt-message";
|
|
12
12
|
|
|
13
13
|
export type {
|
|
14
|
-
ChatlikeApiEndpoint
|
|
15
|
-
ChatlikeApiEndpointImpl
|
|
14
|
+
ChatlikeApiEndpoint,
|
|
15
|
+
ChatlikeApiEndpointImpl,
|
|
16
16
|
} from "./chatlike-api-endpoint";
|