@baishuyun/chat-sdk 1.0.2 → 1.0.3
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 +16 -76
- package/CHANGELOG.md +9 -0
- package/dist/chat-sdk.js +7634 -7637
- package/dist/chat-sdk.js.map +1 -1
- package/dist/chat-sdk.umd.cjs +118 -118
- package/dist/chat-sdk.umd.cjs.map +1 -1
- package/package.json +5 -5
- package/src/lib/utils.ts +2 -2
- package/src/plugins/form-builder-plugin/components/fields-part.tsx +1 -1
- package/src/plugins/form-filling-plugin/components/first-batch-generating-animation.tsx +9 -3
- package/src/plugins/form-filling-plugin/hooks/use-fields-data.ts +3 -3
- package/src/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.ts +0 -13
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,76 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[7m [0m [91m ~~~~~~~~[0m
|
|
18
|
-
[96msrc/plugins/form-builder-plugin/components/entry-btn.tsx[0m:[93m11[0m:[93m3[0m - [91merror[0m[90m TS6133: [0m'chatVisible' is declared but its value is never read.
|
|
19
|
-
|
|
20
|
-
[7m11[0m chatVisible,
|
|
21
|
-
[7m [0m [91m ~~~~~~~~~~~[0m
|
|
22
|
-
[96msrc/plugins/form-builder-plugin/components/opening-lines.tsx[0m:[93m9[0m:[93m56[0m - [91merror[0m[90m TS6133: [0m'setMessages' is declared but its value is never read.
|
|
23
|
-
|
|
24
|
-
[7m9[0m export const FormBuilderOpeningLines = ({ sendMessage, setMessages }: OpeningLinesProps) => {
|
|
25
|
-
[7m [0m [91m ~~~~~~~~~~~[0m
|
|
26
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m4[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'useChat' is declared but its value is never read.
|
|
27
|
-
|
|
28
|
-
[7m4[0m import { useChat } from '@ai-sdk/react';
|
|
29
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
30
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m5[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'DefaultChatTransport' is declared but its value is never read.
|
|
31
|
-
|
|
32
|
-
[7m5[0m import { DefaultChatTransport } from 'ai';
|
|
33
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
34
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m6[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'useEffect' is declared but its value is never read.
|
|
35
|
-
|
|
36
|
-
[7m6[0m import { useEffect } from 'react';
|
|
37
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
38
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m7[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'usePluginCtx' is declared but its value is never read.
|
|
39
|
-
|
|
40
|
-
[7m7[0m import { usePluginCtx } from '@/hooks/use-plugin-ctx';
|
|
41
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
42
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m8[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'IReportQueryContext' is declared but its value is never read.
|
|
43
|
-
|
|
44
|
-
[7m8[0m import { IReportQueryContext } from '../types';
|
|
45
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
46
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m9[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'ReportQueryPlugin' is declared but its value is never read.
|
|
47
|
-
|
|
48
|
-
[7m9[0m import { ReportQueryPlugin } from '@/index';
|
|
49
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
50
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m10[0m:[93m1[0m - [91merror[0m[90m TS6133: [0m'PLUGIN_NAME' is declared but its value is never read.
|
|
51
|
-
|
|
52
|
-
[7m10[0m import { PLUGIN_NAME } from '../const';
|
|
53
|
-
[7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
54
|
-
[96msrc/plugins/report-query-plugin/components/query-opening-lines.tsx[0m:[93m57[0m:[93m58[0m - [91merror[0m[90m TS6133: [0m'title' is declared but its value is never read.
|
|
55
|
-
|
|
56
|
-
[7m57[0m <Suggestions items={defaultSuggestions} onSelect={(title) => {}} iconColor="#4ACC8C" />
|
|
57
|
-
[7m [0m [91m ~~~~~[0m
|
|
58
|
-
[96msrc/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.tsx[0m:[93m9[0m:[93m49[0m - [91merror[0m[90m TS6133: [0m'done' is declared but its value is never read.
|
|
59
|
-
|
|
60
|
-
[7m9[0m export const CreatedSourceMsg = ({ type, title, done }: { type: QuerySourceType; title: string; done?: boolean }) => {
|
|
61
|
-
[7m [0m [91m ~~~~[0m
|
|
62
|
-
[96msrc/plugins/report-query-plugin/utils/get-field-group.ts[0m:[93m6[0m:[93m27[0m - [91merror[0m[90m TS6133: [0m'IQueryResultXField' is declared but its value is never read.
|
|
63
|
-
|
|
64
|
-
[7m6[0m import { IDashWidgetType, IQueryResultXField } from '@baishuyun/types';
|
|
65
|
-
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
|
66
|
-
[96msrc/plugins/report-query-plugin/utils/get-field-group.ts[0m:[93m605[0m:[93m7[0m - [91merror[0m[90m TS6133: [0m'exampleLimitFields' is declared but its value is never read.
|
|
67
|
-
|
|
68
|
-
[7m605[0m const exampleLimitFields: Partial<LimitFieldsConfig> = {
|
|
69
|
-
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
|
70
|
-
|
|
71
|
-
[2K[1Gcomputing gzip size (0)...[2K[1Gcomputing gzip size (1)...[2K[1Gcomputing gzip size (2)...[2K[1G[2mdist/[22m[35mindex.css [39m[1m[2m 77.16 kB[22m[1m[22m[2m │ gzip: 13.97 kB[22m
|
|
72
|
-
[2mdist/[22m[36mchat-sdk.js [39m[1m[33m1,912.01 kB[39m[22m[2m │ gzip: 462.64 kB[22m[2m │ map: 5,820.31 kB[22m
|
|
73
|
-
[32m[36m[vite:dts][32m Declaration files built in 3226ms.
|
|
74
|
-
[39m
|
|
75
|
-
[2K[1Grendering chunks (1)...[2K[1G[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mchat-sdk.umd.cjs [39m[1m[33m1,289.40 kB[39m[22m[2m │ gzip: 385.32 kB[22m[2m │ map: 5,639.43 kB[22m
|
|
76
|
-
[32m✓ built in 6.72s[39m
|
|
1
|
+
|
|
2
|
+
> @baishuyun/chat-sdk@1.0.2 build /Users/bbbottle/Code/bs-chat-sdk/packages/chat-sdk
|
|
3
|
+
> vite build
|
|
4
|
+
|
|
5
|
+
vite v5.4.21 building for production...
|
|
6
|
+
transforming...
|
|
7
|
+
✓ 28 modules transformed.
|
|
8
|
+
x Build failed in 3.69s
|
|
9
|
+
error during build:
|
|
10
|
+
Could not resolve "../hooks/use-conversation-id-in-ctx" from "src/plugins/form-filling-plugin/components/msg-part.tsx"
|
|
11
|
+
file: /Users/bbbottle/Code/bs-chat-sdk/packages/chat-sdk/src/plugins/form-filling-plugin/components/msg-part.tsx
|
|
12
|
+
at getRollupError (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/rollup@4.55.2/node_modules/rollup/dist/es/shared/parseAst.js:401:41)
|
|
13
|
+
at error (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/rollup@4.55.2/node_modules/rollup/dist/es/shared/parseAst.js:397:42)
|
|
14
|
+
at ModuleLoader.handleInvalidResolvedId (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/rollup@4.55.2/node_modules/rollup/dist/es/shared/node-entry.js:21706:24)
|
|
15
|
+
at file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/rollup@4.55.2/node_modules/rollup/dist/es/shared/node-entry.js:21666:26
|
|
16
|
+
ELIFECYCLE Command failed with exit code 1.
|