@copilotkit/react-core 1.0.0 → 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 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,59 +10,6 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
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
66
13
  ESM dist/index.mjs 1.10 KB
67
14
  ESM dist/components/index.mjs 375.00 B
68
15
  ESM dist/context/copilot-context.mjs 205.00 B
@@ -78,9 +25,9 @@
78
25
  ESM dist/chunk-2RZ2UMWO.mjs 909.00 B
79
26
  ESM dist/chunk-TWFVVCRS.mjs 700.00 B
80
27
  ESM dist/hooks/use-chat.mjs 142.00 B
28
+ ESM dist/hooks/use-copilot-action.mjs 202.00 B
81
29
  ESM dist/chunk-UMJ5P6TZ.mjs 1.42 KB
82
30
  ESM dist/hooks/use-copilot-chat.mjs 436.00 B
83
- ESM dist/hooks/use-copilot-action.mjs 202.00 B
84
31
  ESM dist/chunk-UJNVZO2U.mjs 3.12 KB
85
32
  ESM dist/chunk-JD7BAH7U.mjs 43.00 B
86
33
  ESM dist/chunk-SPCZTZCY.mjs 43.00 B
@@ -91,11 +38,12 @@
91
38
  ESM dist/chunk-2F7V4NDT.mjs 1.59 KB
92
39
  ESM dist/chunk-SKC7AJIV.mjs 1.97 KB
93
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
94
44
  ESM dist/components/copilot-provider/index.mjs 361.00 B
95
45
  ESM dist/types/frontend-action.mjs 44.00 B
96
- ESM dist/types/index.mjs 66.00 B
97
46
  ESM dist/types/system-message.mjs 43.00 B
98
- ESM dist/utils/extract.mjs 333.00 B
99
47
  ESM dist/utils/index.mjs 363.00 B
100
48
  ESM dist/utils/utils.test.mjs 170.00 B
101
49
  ESM dist/utils/utils.mjs 34.00 B
@@ -104,7 +52,6 @@
104
52
  ESM dist/hooks/use-flat-category-store.mjs 216.00 B
105
53
  ESM dist/hooks/use-make-copilot-document-readable.mjs 246.00 B
106
54
  ESM dist/hooks/use-tree.mjs 171.00 B
107
- ESM dist/lib/copilot-task.mjs 346.00 B
108
55
  ESM dist/lib/index.mjs 371.00 B
109
56
  ESM dist/types/chat-suggestion-configuration.mjs 58.00 B
110
57
  ESM dist/types/document-pointer.mjs 45.00 B
@@ -115,47 +62,100 @@
115
62
  ESM dist/chunk-EFZPSZWO.mjs.map 71.00 B
116
63
  ESM dist/chunk-YJLRG5U3.mjs.map 71.00 B
117
64
  ESM dist/chunk-UTRWUF3Y.mjs.map 7.64 KB
118
- ESM dist/chunk-LUGEI4YQ.mjs.map 71.00 B
119
65
  ESM dist/chunk-SSQGTCDU.mjs.map 9.04 KB
66
+ ESM dist/chunk-LUGEI4YQ.mjs.map 71.00 B
120
67
  ESM dist/context/index.mjs.map 71.00 B
121
68
  ESM dist/chunk-VNRDQJXW.mjs.map 71.00 B
122
69
  ESM dist/chunk-5JB4B2SV.mjs.map 71.00 B
123
70
  ESM dist/chunk-2RZ2UMWO.mjs.map 5.15 KB
124
71
  ESM dist/chunk-TWFVVCRS.mjs.map 1.40 KB
125
72
  ESM dist/hooks/use-chat.mjs.map 71.00 B
73
+ ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
126
74
  ESM dist/chunk-UMJ5P6TZ.mjs.map 4.22 KB
127
75
  ESM dist/hooks/use-copilot-chat.mjs.map 71.00 B
128
- ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
129
76
  ESM dist/chunk-UJNVZO2U.mjs.map 7.22 KB
130
77
  ESM dist/chunk-JD7BAH7U.mjs.map 71.00 B
131
78
  ESM dist/chunk-SPCZTZCY.mjs.map 71.00 B
132
79
  ESM dist/chunk-LYC2GBBA.mjs.map 10.98 KB
133
80
  ESM dist/chunk-YULKJPY3.mjs.map 4.21 KB
134
81
  ESM dist/chunk-YWITCRBI.mjs.map 8.27 KB
135
- ESM dist/chunk-2F7V4NDT.mjs.map 5.94 KB
136
82
  ESM dist/chunk-S357AOAD.mjs.map 13.37 KB
83
+ ESM dist/chunk-2F7V4NDT.mjs.map 5.94 KB
137
84
  ESM dist/chunk-SKC7AJIV.mjs.map 71.00 B
138
85
  ESM dist/components/copilot-provider/copilotkit.mjs.map 71.00 B
139
- ESM dist/components/copilot-provider/index.mjs.map 71.00 B
140
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
141
90
  ESM dist/types/frontend-action.mjs.map 71.00 B
142
91
  ESM dist/types/system-message.mjs.map 71.00 B
143
- ESM dist/utils/extract.mjs.map 71.00 B
144
92
  ESM dist/utils/index.mjs.map 71.00 B
145
93
  ESM dist/utils/utils.test.mjs.map 352.00 B
146
94
  ESM dist/utils/utils.mjs.map 71.00 B
147
- ESM dist/hooks/use-copilot-readable.mjs.map 71.00 B
148
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
149
97
  ESM dist/hooks/use-flat-category-store.mjs.map 71.00 B
150
98
  ESM dist/hooks/use-make-copilot-document-readable.mjs.map 71.00 B
151
99
  ESM dist/hooks/use-tree.mjs.map 71.00 B
152
- ESM dist/lib/copilot-task.mjs.map 71.00 B
153
100
  ESM dist/lib/index.mjs.map 71.00 B
154
101
  ESM dist/types/chat-suggestion-configuration.mjs.map 71.00 B
155
102
  ESM dist/types/document-pointer.mjs.map 71.00 B
156
- ESM ⚡️ Build success in 91ms
103
+ ESM ⚡️ Build success in 82ms
104
+ CJS dist/components/index.js 16.29 KB
105
+ CJS dist/context/copilot-context.js 3.77 KB
106
+ CJS dist/context/index.js 3.76 KB
107
+ CJS dist/index.js 37.70 KB
108
+ CJS dist/hooks/use-chat.js 9.36 KB
109
+ CJS dist/hooks/use-copilot-action.js 5.03 KB
110
+ CJS dist/hooks/index.js 17.96 KB
111
+ CJS dist/hooks/use-copilot-chat.js 15.08 KB
112
+ CJS dist/hooks/use-flat-category-store.js 2.87 KB
113
+ CJS dist/hooks/use-make-copilot-document-readable.js 4.37 KB
114
+ CJS dist/hooks/use-tree.js 5.53 KB
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
118
+ CJS dist/types/document-pointer.js 841.00 B
119
+ CJS dist/types/frontend-action.js 837.00 B
120
+ CJS dist/types/index.js 797.00 B
121
+ CJS dist/types/system-message.js 833.00 B
122
+ CJS dist/utils/extract.js 6.85 KB
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/copilot-provider/copilotkit.js 16.27 KB
128
+ CJS dist/components/copilot-provider/index.js 16.33 KB
129
+ CJS dist/hooks/use-copilot-readable.js 4.48 KB
130
+ CJS dist/components/index.js.map 29.41 KB
131
+ CJS dist/context/copilot-context.js.map 6.03 KB
132
+ CJS dist/context/index.js.map 6.26 KB
133
+ CJS dist/index.js.map 77.19 KB
134
+ CJS dist/hooks/use-chat.js.map 13.33 KB
135
+ CJS dist/hooks/use-copilot-action.js.map 10.14 KB
136
+ CJS dist/hooks/index.js.map 45.17 KB
137
+ CJS dist/hooks/use-copilot-chat.js.map 34.08 KB
138
+ CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
139
+ CJS dist/hooks/use-make-copilot-document-readable.js.map 7.32 KB
140
+ CJS dist/hooks/use-tree.js.map 8.32 KB
141
+ CJS dist/lib/index.js.map 16.76 KB
142
+ CJS dist/types/chat-suggestion-configuration.js.map 673.00 B
143
+ CJS dist/types/document-pointer.js.map 292.00 B
144
+ CJS dist/types/frontend-action.js.map 1.77 KB
145
+ CJS dist/types/index.js.map 432.00 B
146
+ CJS dist/types/system-message.js.map 249.00 B
147
+ CJS dist/utils/extract.js.map 15.33 KB
148
+ CJS dist/utils/index.js.map 15.40 KB
149
+ CJS dist/utils/utils.test.js.map 354.00 B
150
+ CJS dist/utils/utils.js.map 137.00 B
151
+ CJS dist/components/copilot-provider/copilotkit-props.js.map 1.68 KB
152
+ CJS dist/components/copilot-provider/copilotkit.js.map 29.35 KB
153
+ CJS dist/components/copilot-provider/index.js.map 29.54 KB
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 5087ms
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,14 @@
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
+
3
12
  ## 1.0.0
4
13
 
5
14
  ### Major Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.0.0",
7
+ "version": "1.0.1",
8
8
  "sideEffects": false,
9
9
  "main": "./dist/index.js",
10
10
  "module": "./dist/index.mjs",
@@ -36,8 +36,8 @@
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",
40
- "@copilotkit/shared": "1.0.0"
39
+ "@copilotkit/runtime-client-gql": "1.0.1",
40
+ "@copilotkit/shared": "1.0.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsup --clean",