@copilotkit/shared 0.8.0-mme-esm-error.1 → 0.8.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/shared@0.8.0-mme-esm-error.1 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/shared
2
+ > @copilotkit/shared@0.8.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/shared
3
3
  > tsup --clean
4
4
 
5
5
  CLI Building entry: src/index.ts, src/constants/copilot-protocol.ts, src/constants/index.ts, src/types/action.ts, src/types/annotated-function.ts, src/types/index.ts, src/types/openai-assistant.ts, src/utils/annotated-function.ts, src/utils/decode-chat-completion-as-text.ts, src/utils/decode-chat-completion.ts, src/utils/index.ts, src/utils/parse-chat-completion.ts, src/utils/utils.test.ts, src/utils/utils.ts
@@ -10,23 +10,47 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/utils/decode-chat-completion-as-text.mjs 170.00 B
14
- ESM dist/utils/decode-chat-completion.mjs 150.00 B
15
- ESM dist/utils/index.mjs 1001.00 B
16
- ESM dist/utils/parse-chat-completion.mjs 147.00 B
17
- ESM dist/utils/utils.test.mjs 170.00 B
18
- ESM dist/utils/utils.mjs 439.00 B
19
- ESM dist/chunk-UAPRMZEY.mjs 43.00 B
13
+ CJS dist/index.js 16.94 KB
14
+ CJS dist/constants/copilot-protocol.js 1.25 KB
15
+ CJS dist/constants/index.js 1.25 KB
16
+ CJS dist/types/action.js 801.00 B
17
+ CJS dist/types/annotated-function.js 849.00 B
18
+ CJS dist/types/index.js 797.00 B
19
+ CJS dist/types/openai-assistant.js 841.00 B
20
+ CJS dist/utils/annotated-function.js 5.81 KB
21
+ CJS dist/utils/decode-chat-completion-as-text.js 1.82 KB
22
+ CJS dist/utils/decode-chat-completion.js 4.42 KB
23
+ CJS dist/utils/index.js 16.74 KB
24
+ CJS dist/utils/parse-chat-completion.js 2.68 KB
25
+ CJS dist/utils/utils.test.js 184.00 B
26
+ CJS dist/utils/utils.js 6.25 KB
27
+ CJS dist/index.js.map 32.70 KB
28
+ CJS dist/constants/copilot-protocol.js.map 261.00 B
29
+ CJS dist/constants/index.js.map 336.00 B
30
+ CJS dist/types/action.js.map 4.59 KB
31
+ CJS dist/types/annotated-function.js.map 871.00 B
32
+ CJS dist/types/index.js.map 234.00 B
33
+ CJS dist/types/openai-assistant.js.map 2.86 KB
34
+ CJS dist/utils/annotated-function.js.map 8.41 KB
35
+ CJS dist/utils/decode-chat-completion-as-text.js.map 1.34 KB
36
+ CJS dist/utils/decode-chat-completion.js.map 6.89 KB
37
+ CJS dist/utils/index.js.map 32.70 KB
38
+ CJS dist/utils/parse-chat-completion.js.map 4.15 KB
39
+ CJS dist/utils/utils.test.js.map 354.00 B
40
+ CJS dist/utils/utils.js.map 12.08 KB
41
+ CJS ⚡️ Build success in 87ms
20
42
  ESM dist/index.mjs 1.23 KB
43
+ ESM dist/constants/copilot-protocol.mjs 166.00 B
44
+ ESM dist/types/action.mjs 67.00 B
45
+ ESM dist/utils/annotated-function.mjs 314.00 B
46
+ ESM dist/chunk-UAPRMZEY.mjs 43.00 B
21
47
  ESM dist/chunk-4MTSDAP6.mjs 729.00 B
22
48
  ESM dist/chunk-NKEDWRKJ.mjs 3.36 KB
23
49
  ESM dist/chunk-TYZD5BQY.mjs 1.63 KB
24
50
  ESM dist/chunk-2C54HQBI.mjs 4.92 KB
25
- ESM dist/constants/copilot-protocol.mjs 166.00 B
26
51
  ESM dist/constants/index.mjs 187.00 B
27
52
  ESM dist/chunk-2M3YVRFS.mjs 43.00 B
28
53
  ESM dist/chunk-3ZU7SB62.mjs 200.00 B
29
- ESM dist/types/action.mjs 67.00 B
30
54
  ESM dist/types/annotated-function.mjs 79.00 B
31
55
  ESM dist/types/index.mjs 162.00 B
32
56
  ESM dist/chunk-DE5K76I2.mjs 43.00 B
@@ -35,24 +59,24 @@
35
59
  ESM dist/types/openai-assistant.mjs 77.00 B
36
60
  ESM dist/chunk-IAFBVORQ.mjs 43.00 B
37
61
  ESM dist/chunk-K7TZQSAZ.mjs 4.59 KB
38
- ESM dist/utils/annotated-function.mjs 314.00 B
39
- ESM dist/utils/decode-chat-completion-as-text.mjs.map 71.00 B
40
- ESM dist/utils/decode-chat-completion.mjs.map 71.00 B
41
- ESM dist/utils/index.mjs.map 71.00 B
42
- ESM dist/utils/parse-chat-completion.mjs.map 71.00 B
43
- ESM dist/utils/utils.test.mjs.map 352.00 B
44
- ESM dist/utils/utils.mjs.map 71.00 B
45
- ESM dist/chunk-UAPRMZEY.mjs.map 71.00 B
62
+ ESM dist/utils/decode-chat-completion-as-text.mjs 170.00 B
63
+ ESM dist/utils/decode-chat-completion.mjs 150.00 B
64
+ ESM dist/utils/index.mjs 1001.00 B
65
+ ESM dist/utils/parse-chat-completion.mjs 147.00 B
66
+ ESM dist/utils/utils.test.mjs 170.00 B
67
+ ESM dist/utils/utils.mjs 439.00 B
46
68
  ESM dist/index.mjs.map 71.00 B
69
+ ESM dist/constants/copilot-protocol.mjs.map 71.00 B
70
+ ESM dist/types/action.mjs.map 71.00 B
71
+ ESM dist/utils/annotated-function.mjs.map 71.00 B
72
+ ESM dist/chunk-UAPRMZEY.mjs.map 71.00 B
47
73
  ESM dist/chunk-4MTSDAP6.mjs.map 1.30 KB
48
74
  ESM dist/chunk-NKEDWRKJ.mjs.map 6.85 KB
49
75
  ESM dist/chunk-TYZD5BQY.mjs.map 4.10 KB
50
76
  ESM dist/chunk-2C54HQBI.mjs.map 12.00 KB
51
- ESM dist/constants/copilot-protocol.mjs.map 71.00 B
52
77
  ESM dist/constants/index.mjs.map 71.00 B
53
78
  ESM dist/chunk-2M3YVRFS.mjs.map 71.00 B
54
79
  ESM dist/chunk-3ZU7SB62.mjs.map 214.00 B
55
- ESM dist/types/action.mjs.map 71.00 B
56
80
  ESM dist/types/annotated-function.mjs.map 71.00 B
57
81
  ESM dist/types/index.mjs.map 71.00 B
58
82
  ESM dist/chunk-DE5K76I2.mjs.map 71.00 B
@@ -61,39 +85,15 @@
61
85
  ESM dist/types/openai-assistant.mjs.map 71.00 B
62
86
  ESM dist/chunk-IAFBVORQ.mjs.map 71.00 B
63
87
  ESM dist/chunk-K7TZQSAZ.mjs.map 8.35 KB
64
- ESM dist/utils/annotated-function.mjs.map 71.00 B
65
- ESM ⚡️ Build success in 75ms
66
- CJS dist/index.js 16.94 KB
67
- CJS dist/constants/index.js 1.25 KB
68
- CJS dist/types/action.js 801.00 B
69
- CJS dist/utils/annotated-function.js 5.81 KB
70
- CJS dist/types/annotated-function.js 849.00 B
71
- CJS dist/types/index.js 797.00 B
72
- CJS dist/types/openai-assistant.js 841.00 B
73
- CJS dist/utils/decode-chat-completion-as-text.js 1.82 KB
74
- CJS dist/utils/decode-chat-completion.js 4.42 KB
75
- CJS dist/utils/index.js 16.74 KB
76
- CJS dist/utils/parse-chat-completion.js 2.68 KB
77
- CJS dist/utils/utils.test.js 184.00 B
78
- CJS dist/utils/utils.js 6.25 KB
79
- CJS dist/constants/copilot-protocol.js 1.25 KB
80
- CJS dist/index.js.map 32.70 KB
81
- CJS dist/constants/index.js.map 336.00 B
82
- CJS dist/types/action.js.map 4.59 KB
83
- CJS dist/utils/annotated-function.js.map 8.41 KB
84
- CJS dist/types/annotated-function.js.map 871.00 B
85
- CJS dist/types/index.js.map 234.00 B
86
- CJS dist/types/openai-assistant.js.map 2.86 KB
87
- CJS dist/utils/decode-chat-completion-as-text.js.map 1.34 KB
88
- CJS dist/utils/decode-chat-completion.js.map 6.89 KB
89
- CJS dist/utils/index.js.map 32.70 KB
90
- CJS dist/utils/parse-chat-completion.js.map 4.15 KB
91
- CJS dist/utils/utils.test.js.map 354.00 B
92
- CJS dist/utils/utils.js.map 12.08 KB
93
- CJS dist/constants/copilot-protocol.js.map 261.00 B
94
- CJS ⚡️ Build success in 78ms
88
+ ESM dist/utils/decode-chat-completion-as-text.mjs.map 71.00 B
89
+ ESM dist/utils/decode-chat-completion.mjs.map 71.00 B
90
+ ESM dist/utils/index.mjs.map 71.00 B
91
+ ESM dist/utils/parse-chat-completion.mjs.map 71.00 B
92
+ ESM dist/utils/utils.test.mjs.map 352.00 B
93
+ ESM dist/utils/utils.mjs.map 71.00 B
94
+ ESM ⚡️ Build success in 103ms
95
95
  DTS Build start
96
- DTS ⚡️ Build success in 2174ms
96
+ DTS ⚡️ Build success in 2227ms
97
97
  DTS dist/index.d.ts 1.27 KB
98
98
  DTS dist/types/openai-assistant.d.ts 2.79 KB
99
99
  DTS dist/types/annotated-function.d.ts 766.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @copilotkit/shared
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1f06d29: declare esm/cjs/types in export
8
+ - fix esm error
9
+ - 5a0b2cf: Inline codeblock style to avoid ESM error
10
+ - e12b921: ESM by default
11
+
12
+ ## 0.8.0-mme-esm-error.2
13
+
14
+ ### Minor Changes
15
+
16
+ - Inline codeblock style to avoid ESM error
17
+
3
18
  ## 0.8.0-mme-esm-error.1
4
19
 
5
20
  ### Minor Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.8.0-mme-esm-error.1",
7
+ "version": "0.8.0",
8
8
  "sideEffects": false,
9
9
  "main": "./dist/index.js",
10
10
  "module": "./dist/index.mjs",
@@ -25,8 +25,8 @@
25
25
  "ts-jest": "^29.1.1",
26
26
  "tsup": "^6.7.0",
27
27
  "typescript": "^5.2.3",
28
- "eslint-config-custom": "0.9.0-mme-esm-error.1",
29
- "tsconfig": "0.13.0-mme-esm-error.1"
28
+ "eslint-config-custom": "0.9.0",
29
+ "tsconfig": "0.13.0"
30
30
  },
31
31
  "dependencies": {},
32
32
  "scripts": {