@copilotkit/react-core 1.0.0-beta.2 → 1.0.1

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