@copilotkit/react-core 1.0.0-beta.2 → 1.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @copilotkit/react-core@1.0.0-beta.2 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-core
2
+ > @copilotkit/react-core@1.0.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-core
3
3
  > tsup --clean
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/components/index.ts, src/context/copilot-context.tsx, src/context/index.ts, src/hooks/index.ts, src/hooks/use-chat.ts, src/hooks/use-copilot-action.ts, src/hooks/use-copilot-chat.ts, src/hooks/use-copilot-readable.ts, src/hooks/use-flat-category-store.ts, src/hooks/use-make-copilot-document-readable.ts, src/hooks/use-tree.ts, src/lib/copilot-task.ts, src/lib/index.ts, src/types/chat-suggestion-configuration.ts, src/types/document-pointer.ts, src/types/frontend-action.ts, src/types/index.ts, src/types/system-message.ts, src/utils/extract.ts, src/utils/index.ts, src/utils/utils.test.ts, src/utils/utils.ts, src/components/copilot-provider/copilotkit-props.tsx, src/components/copilot-provider/copilotkit.tsx, src/components/copilot-provider/index.ts
@@ -10,42 +10,77 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/components/copilot-provider/copilotkit.mjs 331.00 B
14
- ESM dist/components/copilot-provider/index.mjs 361.00 B
15
- ESM dist/types/frontend-action.mjs 44.00 B
16
- ESM dist/types/index.mjs 66.00 B
17
- ESM dist/types/system-message.mjs 43.00 B
18
- ESM dist/utils/extract.mjs 333.00 B
19
- ESM dist/utils/index.mjs 363.00 B
20
- ESM dist/utils/utils.test.mjs 170.00 B
21
- ESM dist/utils/utils.mjs 34.00 B
22
- ESM dist/components/copilot-provider/copilotkit-props.mjs 45.00 B
23
- ESM dist/hooks/use-copilot-readable.mjs 208.00 B
24
- ESM dist/hooks/use-flat-category-store.mjs 216.00 B
25
- ESM dist/hooks/use-make-copilot-document-readable.mjs 246.00 B
26
- ESM dist/hooks/use-tree.mjs 171.00 B
27
- ESM dist/lib/copilot-task.mjs 346.00 B
28
- ESM dist/lib/index.mjs 371.00 B
29
- ESM dist/types/chat-suggestion-configuration.mjs 58.00 B
30
- ESM dist/types/document-pointer.mjs 45.00 B
13
+ CJS dist/lib/copilot-task.js 5.55 KB
14
+ CJS dist/types/chat-suggestion-configuration.js 893.00 B
15
+ CJS dist/utils/extract.js 6.85 KB
16
+ CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
17
+ CJS dist/index.js 37.70 KB
18
+ CJS dist/components/index.js 16.29 KB
19
+ CJS dist/context/copilot-context.js 3.77 KB
20
+ CJS dist/context/index.js 3.76 KB
21
+ CJS dist/hooks/index.js 17.96 KB
22
+ CJS dist/hooks/use-chat.js 9.36 KB
23
+ CJS dist/hooks/use-copilot-action.js 5.03 KB
24
+ CJS dist/hooks/use-copilot-chat.js 15.08 KB
25
+ CJS dist/hooks/use-copilot-readable.js 4.48 KB
26
+ CJS dist/hooks/use-flat-category-store.js 2.87 KB
27
+ CJS dist/hooks/use-make-copilot-document-readable.js 4.37 KB
28
+ CJS dist/hooks/use-tree.js 5.53 KB
29
+ CJS dist/lib/index.js 5.54 KB
30
+ CJS dist/types/document-pointer.js 841.00 B
31
+ CJS dist/types/frontend-action.js 837.00 B
32
+ CJS dist/types/index.js 797.00 B
33
+ CJS dist/types/system-message.js 833.00 B
34
+ CJS dist/utils/utils.test.js 184.00 B
35
+ CJS dist/utils/index.js 6.87 KB
36
+ CJS dist/utils/utils.js 797.00 B
37
+ CJS dist/components/copilot-provider/copilotkit.js 16.27 KB
38
+ CJS dist/components/copilot-provider/index.js 16.33 KB
39
+ CJS dist/lib/copilot-task.js.map 16.69 KB
40
+ CJS dist/types/chat-suggestion-configuration.js.map 673.00 B
41
+ CJS dist/utils/extract.js.map 15.33 KB
42
+ CJS dist/components/copilot-provider/copilotkit-props.js.map 1.68 KB
43
+ CJS dist/components/index.js.map 29.41 KB
44
+ CJS dist/context/copilot-context.js.map 6.03 KB
45
+ CJS dist/context/index.js.map 6.26 KB
46
+ CJS dist/index.js.map 77.19 KB
47
+ CJS dist/hooks/use-chat.js.map 13.33 KB
48
+ CJS dist/hooks/use-copilot-action.js.map 10.14 KB
49
+ CJS dist/hooks/index.js.map 45.17 KB
50
+ CJS dist/hooks/use-copilot-readable.js.map 11.07 KB
51
+ CJS dist/hooks/use-copilot-chat.js.map 34.08 KB
52
+ CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
53
+ CJS dist/hooks/use-make-copilot-document-readable.js.map 7.32 KB
54
+ CJS dist/hooks/use-tree.js.map 8.32 KB
55
+ CJS dist/types/frontend-action.js.map 1.77 KB
56
+ CJS dist/lib/index.js.map 16.76 KB
57
+ CJS dist/types/document-pointer.js.map 292.00 B
58
+ CJS dist/types/index.js.map 432.00 B
59
+ CJS dist/utils/utils.test.js.map 354.00 B
60
+ CJS dist/types/system-message.js.map 249.00 B
61
+ CJS dist/utils/utils.js.map 137.00 B
62
+ CJS dist/utils/index.js.map 15.40 KB
63
+ CJS dist/components/copilot-provider/index.js.map 29.54 KB
64
+ CJS dist/components/copilot-provider/copilotkit.js.map 29.35 KB
65
+ CJS ⚡️ Build success in 87ms
31
66
  ESM dist/index.mjs 1.10 KB
67
+ ESM dist/components/index.mjs 375.00 B
68
+ ESM dist/context/copilot-context.mjs 205.00 B
69
+ ESM dist/hooks/index.mjs 681.00 B
32
70
  ESM dist/chunk-EFZPSZWO.mjs 43.00 B
33
71
  ESM dist/chunk-YJLRG5U3.mjs 43.00 B
34
72
  ESM dist/chunk-UTRWUF3Y.mjs 4.51 KB
35
73
  ESM dist/chunk-LUGEI4YQ.mjs 43.00 B
36
74
  ESM dist/chunk-SSQGTCDU.mjs 3.80 KB
37
- ESM dist/components/index.mjs 375.00 B
38
- ESM dist/context/copilot-context.mjs 205.00 B
39
75
  ESM dist/context/index.mjs 227.00 B
40
76
  ESM dist/chunk-VNRDQJXW.mjs 43.00 B
41
- ESM dist/hooks/index.mjs 681.00 B
42
77
  ESM dist/chunk-5JB4B2SV.mjs 43.00 B
43
78
  ESM dist/chunk-2RZ2UMWO.mjs 909.00 B
44
79
  ESM dist/chunk-TWFVVCRS.mjs 700.00 B
45
80
  ESM dist/hooks/use-chat.mjs 142.00 B
46
- ESM dist/hooks/use-copilot-action.mjs 202.00 B
47
81
  ESM dist/chunk-UMJ5P6TZ.mjs 1.42 KB
48
82
  ESM dist/hooks/use-copilot-chat.mjs 436.00 B
83
+ ESM dist/hooks/use-copilot-action.mjs 202.00 B
49
84
  ESM dist/chunk-UJNVZO2U.mjs 3.12 KB
50
85
  ESM dist/chunk-JD7BAH7U.mjs 43.00 B
51
86
  ESM dist/chunk-SPCZTZCY.mjs 43.00 B
@@ -55,107 +90,72 @@
55
90
  ESM dist/chunk-S357AOAD.mjs 6.93 KB
56
91
  ESM dist/chunk-2F7V4NDT.mjs 1.59 KB
57
92
  ESM dist/chunk-SKC7AJIV.mjs 1.97 KB
58
- ESM dist/components/copilot-provider/copilotkit.mjs.map 71.00 B
59
- ESM dist/components/copilot-provider/index.mjs.map 71.00 B
60
- ESM dist/types/frontend-action.mjs.map 71.00 B
61
- ESM dist/types/index.mjs.map 71.00 B
62
- ESM dist/types/system-message.mjs.map 71.00 B
63
- ESM dist/utils/extract.mjs.map 71.00 B
64
- ESM dist/utils/index.mjs.map 71.00 B
65
- ESM dist/utils/utils.test.mjs.map 352.00 B
66
- ESM dist/utils/utils.mjs.map 71.00 B
67
- ESM dist/components/copilot-provider/copilotkit-props.mjs.map 71.00 B
68
- ESM dist/hooks/use-copilot-readable.mjs.map 71.00 B
69
- ESM dist/hooks/use-flat-category-store.mjs.map 71.00 B
70
- ESM dist/hooks/use-make-copilot-document-readable.mjs.map 71.00 B
71
- ESM dist/hooks/use-tree.mjs.map 71.00 B
72
- ESM dist/lib/copilot-task.mjs.map 71.00 B
73
- ESM dist/lib/index.mjs.map 71.00 B
74
- ESM dist/types/chat-suggestion-configuration.mjs.map 71.00 B
75
- ESM dist/types/document-pointer.mjs.map 71.00 B
93
+ ESM dist/components/copilot-provider/copilotkit.mjs 331.00 B
94
+ ESM dist/components/copilot-provider/index.mjs 361.00 B
95
+ ESM dist/types/frontend-action.mjs 44.00 B
96
+ ESM dist/types/index.mjs 66.00 B
97
+ ESM dist/types/system-message.mjs 43.00 B
98
+ ESM dist/utils/extract.mjs 333.00 B
99
+ ESM dist/utils/index.mjs 363.00 B
100
+ ESM dist/utils/utils.test.mjs 170.00 B
101
+ ESM dist/utils/utils.mjs 34.00 B
102
+ ESM dist/components/copilot-provider/copilotkit-props.mjs 45.00 B
103
+ ESM dist/hooks/use-copilot-readable.mjs 208.00 B
104
+ ESM dist/hooks/use-flat-category-store.mjs 216.00 B
105
+ ESM dist/hooks/use-make-copilot-document-readable.mjs 246.00 B
106
+ ESM dist/hooks/use-tree.mjs 171.00 B
107
+ ESM dist/lib/copilot-task.mjs 346.00 B
108
+ ESM dist/lib/index.mjs 371.00 B
109
+ ESM dist/types/chat-suggestion-configuration.mjs 58.00 B
110
+ ESM dist/types/document-pointer.mjs 45.00 B
76
111
  ESM dist/index.mjs.map 71.00 B
112
+ ESM dist/components/index.mjs.map 71.00 B
113
+ ESM dist/context/copilot-context.mjs.map 71.00 B
114
+ ESM dist/hooks/index.mjs.map 71.00 B
77
115
  ESM dist/chunk-EFZPSZWO.mjs.map 71.00 B
78
116
  ESM dist/chunk-YJLRG5U3.mjs.map 71.00 B
79
117
  ESM dist/chunk-UTRWUF3Y.mjs.map 7.64 KB
80
118
  ESM dist/chunk-LUGEI4YQ.mjs.map 71.00 B
81
119
  ESM dist/chunk-SSQGTCDU.mjs.map 9.04 KB
82
- ESM dist/components/index.mjs.map 71.00 B
83
- ESM dist/context/copilot-context.mjs.map 71.00 B
84
120
  ESM dist/context/index.mjs.map 71.00 B
85
121
  ESM dist/chunk-VNRDQJXW.mjs.map 71.00 B
86
- ESM dist/hooks/index.mjs.map 71.00 B
87
122
  ESM dist/chunk-5JB4B2SV.mjs.map 71.00 B
88
123
  ESM dist/chunk-2RZ2UMWO.mjs.map 5.15 KB
89
124
  ESM dist/chunk-TWFVVCRS.mjs.map 1.40 KB
90
125
  ESM dist/hooks/use-chat.mjs.map 71.00 B
91
- ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
92
126
  ESM dist/chunk-UMJ5P6TZ.mjs.map 4.22 KB
93
127
  ESM dist/hooks/use-copilot-chat.mjs.map 71.00 B
128
+ ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
94
129
  ESM dist/chunk-UJNVZO2U.mjs.map 7.22 KB
95
130
  ESM dist/chunk-JD7BAH7U.mjs.map 71.00 B
96
131
  ESM dist/chunk-SPCZTZCY.mjs.map 71.00 B
97
132
  ESM dist/chunk-LYC2GBBA.mjs.map 10.98 KB
98
133
  ESM dist/chunk-YULKJPY3.mjs.map 4.21 KB
99
134
  ESM dist/chunk-YWITCRBI.mjs.map 8.27 KB
100
- ESM dist/chunk-S357AOAD.mjs.map 13.37 KB
101
135
  ESM dist/chunk-2F7V4NDT.mjs.map 5.94 KB
136
+ ESM dist/chunk-S357AOAD.mjs.map 13.37 KB
102
137
  ESM dist/chunk-SKC7AJIV.mjs.map 71.00 B
103
- ESM ⚡️ Build success in 80ms
104
- CJS dist/index.js 37.70 KB
105
- CJS dist/context/copilot-context.js 3.77 KB
106
- CJS dist/hooks/index.js 17.96 KB
107
- CJS dist/lib/copilot-task.js 5.55 KB
108
- CJS dist/types/chat-suggestion-configuration.js 893.00 B
109
- CJS dist/utils/extract.js 6.85 KB
110
- CJS dist/context/index.js 3.76 KB
111
- CJS dist/hooks/use-chat.js 9.36 KB
112
- CJS dist/hooks/use-copilot-action.js 5.03 KB
113
- CJS dist/hooks/use-copilot-chat.js 15.08 KB
114
- CJS dist/hooks/use-copilot-readable.js 4.48 KB
115
- CJS dist/hooks/use-flat-category-store.js 2.87 KB
116
- CJS dist/hooks/use-make-copilot-document-readable.js 4.37 KB
117
- CJS dist/hooks/use-tree.js 5.53 KB
118
- CJS dist/lib/index.js 5.54 KB
119
- CJS dist/types/document-pointer.js 841.00 B
120
- CJS dist/types/frontend-action.js 837.00 B
121
- CJS dist/types/index.js 797.00 B
122
- CJS dist/types/system-message.js 833.00 B
123
- CJS dist/utils/index.js 6.87 KB
124
- CJS dist/utils/utils.test.js 184.00 B
125
- CJS dist/utils/utils.js 797.00 B
126
- CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
127
- CJS dist/components/index.js 16.29 KB
128
- CJS dist/components/copilot-provider/copilotkit.js 16.27 KB
129
- CJS dist/components/copilot-provider/index.js 16.33 KB
130
- CJS dist/index.js.map 77.19 KB
131
- CJS dist/context/copilot-context.js.map 6.03 KB
132
- CJS dist/hooks/index.js.map 45.17 KB
133
- CJS dist/lib/copilot-task.js.map 16.69 KB
134
- CJS dist/types/chat-suggestion-configuration.js.map 673.00 B
135
- CJS dist/utils/extract.js.map 15.33 KB
136
- CJS dist/context/index.js.map 6.26 KB
137
- CJS dist/hooks/use-chat.js.map 13.33 KB
138
- CJS dist/hooks/use-copilot-action.js.map 10.14 KB
139
- CJS dist/hooks/use-copilot-chat.js.map 34.08 KB
140
- CJS dist/hooks/use-copilot-readable.js.map 11.07 KB
141
- CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
142
- CJS dist/hooks/use-make-copilot-document-readable.js.map 7.32 KB
143
- CJS dist/hooks/use-tree.js.map 8.32 KB
144
- CJS dist/lib/index.js.map 16.76 KB
145
- CJS dist/types/document-pointer.js.map 292.00 B
146
- CJS dist/types/frontend-action.js.map 1.77 KB
147
- CJS dist/types/index.js.map 432.00 B
148
- CJS dist/types/system-message.js.map 249.00 B
149
- CJS dist/utils/index.js.map 15.40 KB
150
- CJS dist/utils/utils.test.js.map 354.00 B
151
- CJS dist/utils/utils.js.map 137.00 B
152
- CJS dist/components/copilot-provider/copilotkit-props.js.map 1.68 KB
153
- CJS dist/components/index.js.map 29.41 KB
154
- CJS dist/components/copilot-provider/copilotkit.js.map 29.35 KB
155
- CJS dist/components/copilot-provider/index.js.map 29.54 KB
156
- CJS ⚡️ Build success in 82ms
138
+ ESM dist/components/copilot-provider/copilotkit.mjs.map 71.00 B
139
+ ESM dist/components/copilot-provider/index.mjs.map 71.00 B
140
+ ESM dist/types/index.mjs.map 71.00 B
141
+ ESM dist/types/frontend-action.mjs.map 71.00 B
142
+ ESM dist/types/system-message.mjs.map 71.00 B
143
+ ESM dist/utils/extract.mjs.map 71.00 B
144
+ ESM dist/utils/index.mjs.map 71.00 B
145
+ ESM dist/utils/utils.test.mjs.map 352.00 B
146
+ ESM dist/utils/utils.mjs.map 71.00 B
147
+ ESM dist/hooks/use-copilot-readable.mjs.map 71.00 B
148
+ ESM dist/components/copilot-provider/copilotkit-props.mjs.map 71.00 B
149
+ ESM dist/hooks/use-flat-category-store.mjs.map 71.00 B
150
+ ESM dist/hooks/use-make-copilot-document-readable.mjs.map 71.00 B
151
+ ESM dist/hooks/use-tree.mjs.map 71.00 B
152
+ ESM dist/lib/copilot-task.mjs.map 71.00 B
153
+ ESM dist/lib/index.mjs.map 71.00 B
154
+ ESM dist/types/chat-suggestion-configuration.mjs.map 71.00 B
155
+ ESM dist/types/document-pointer.mjs.map 71.00 B
156
+ ESM ⚡️ Build success in 91ms
157
157
  DTS Build start
158
- DTS ⚡️ Build success in 4985ms
158
+ DTS ⚡️ Build success in 5087ms
159
159
  DTS dist/index.d.ts 1.22 KB
160
160
  DTS dist/components/copilot-provider/copilotkit.d.ts 271.00 B
161
161
  DTS dist/components/copilot-provider/copilotkit-props.d.ts 1.58 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # ui
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - b6a4b6eb: V1.0 Release Candidate
8
+
9
+ - A robust new protocol between the frontend and the Copilot Runtime
10
+ - Support for Copilot Cloud
11
+ - Generative UI
12
+ - Support for LangChain universal tool calling
13
+ - OpenAI assistant API streaming
14
+
15
+ - V1.0 Release
16
+
17
+ - A robust new protocol between the frontend and the Copilot Runtime
18
+ - Support for Copilot Cloud
19
+ - Generative UI
20
+ - Support for LangChain universal tool calling
21
+ - OpenAI assistant API streaming
22
+
23
+ ### Patch Changes
24
+
25
+ - b6a4b6eb: Introduce anonymous telemetry
26
+ - b6a4b6eb: Set default Copilot Cloud runtime URL to versioned URL (v1)
27
+ - Updated dependencies [b6a4b6eb]
28
+ - Updated dependencies [b6a4b6eb]
29
+ - Updated dependencies [b6a4b6eb]
30
+ - Updated dependencies
31
+ - @copilotkit/runtime-client-gql@1.0.0
32
+ - @copilotkit/shared@1.0.0
33
+
3
34
  ## 1.0.0-beta.2
4
35
 
5
36
  ### Patch Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.0.0-beta.2",
7
+ "version": "1.0.0",
8
8
  "sideEffects": false,
9
9
  "main": "./dist/index.js",
10
10
  "module": "./dist/index.mjs",
@@ -29,15 +29,15 @@
29
29
  "ts-jest": "^29.1.1",
30
30
  "tsup": "^6.7.0",
31
31
  "typescript": "^5.2.3",
32
- "eslint-config-custom": "1.0.0-beta.0",
33
- "tsconfig": "1.0.0-beta.0"
32
+ "eslint-config-custom": "1.0.0",
33
+ "tsconfig": "1.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "@scarf/scarf": "^1.3.0",
37
37
  "nanoid": "^4.0.2",
38
38
  "untruncate-json": "^0.0.1",
39
- "@copilotkit/runtime-client-gql": "1.0.0-beta.2",
40
- "@copilotkit/shared": "1.0.0-beta.2"
39
+ "@copilotkit/runtime-client-gql": "1.0.0",
40
+ "@copilotkit/shared": "1.0.0"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsup --clean",