@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.
@@ -1,76 +1,16 @@
1
-
2
- 
3
- > @baishuyun/chat-sdk@0.1.9 build /Users/bbbottle/Code/bs-chat-sdk/packages/chat-sdk
4
- > vite build
5
-
6
- vite v5.4.21 building for production...
7
- transforming (1) src/index.tsxtransforming (20) ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.protransforming (45) ../types/dist/chat/plugin/query.jstransforming (59) ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/retransforming (146) src/plugins/form-filling-plugin/hooks/use-fields-data.tstransforming (307) ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/locales/yo.jstransforming (410) src/components/biz-comp/FieldChecker.tsxtransforming (464) ../../node_modules/.pnpm/use-stick-to-bottom@1.1.1_react@18.3.1/node_transforming (1469) ../../node_modules/.pnpm/lucide-react@0.554.0_react@18.3.1/node_modutransforming (2159) ../ai-design/src/components/attachments-previewer.tsx✓ 2277 modules transformed.
8
- rendering chunks (1)...
9
- [vite:dts] Start generate declaration files...
10
- src/components/biz-comp/dock-btn.tsx:5:11 - error TS6133: 'status' is declared but its value is never read.
11
-
12
- 5 const { status, setStatus, isFloat } = useChatStatus();
13
-    ~~~~~~
14
- src/plugins/form-builder-plugin/components/create-form-confirm.tsx:17:10 - error TS6133: 'FormInfo' is declared but its value is never read.
15
-
16
- 17 import { FormInfo, McpFormBuilderPluginCtx } from '../types';
17
-    ~~~~~~~~
18
- src/plugins/form-builder-plugin/components/entry-btn.tsx:11:3 - error TS6133: 'chatVisible' is declared but its value is never read.
19
-
20
- 11 chatVisible,
21
-    ~~~~~~~~~~~
22
- src/plugins/form-builder-plugin/components/opening-lines.tsx:9:56 - error TS6133: 'setMessages' is declared but its value is never read.
23
-
24
- 9 export const FormBuilderOpeningLines = ({ sendMessage, setMessages }: OpeningLinesProps) => {
25
-    ~~~~~~~~~~~
26
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:4:1 - error TS6133: 'useChat' is declared but its value is never read.
27
-
28
- 4 import { useChat } from '@ai-sdk/react';
29
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:5:1 - error TS6133: 'DefaultChatTransport' is declared but its value is never read.
31
-
32
- 5 import { DefaultChatTransport } from 'ai';
33
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:6:1 - error TS6133: 'useEffect' is declared but its value is never read.
35
-
36
- 6 import { useEffect } from 'react';
37
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:7:1 - error TS6133: 'usePluginCtx' is declared but its value is never read.
39
-
40
- 7 import { usePluginCtx } from '@/hooks/use-plugin-ctx';
41
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:8:1 - error TS6133: 'IReportQueryContext' is declared but its value is never read.
43
-
44
- 8 import { IReportQueryContext } from '../types';
45
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:9:1 - error TS6133: 'ReportQueryPlugin' is declared but its value is never read.
47
-
48
- 9 import { ReportQueryPlugin } from '@/index';
49
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:10:1 - error TS6133: 'PLUGIN_NAME' is declared but its value is never read.
51
-
52
- 10 import { PLUGIN_NAME } from '../const';
53
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:57:58 - error TS6133: 'title' is declared but its value is never read.
55
-
56
- 57 <Suggestions items={defaultSuggestions} onSelect={(title) => {}} iconColor="#4ACC8C" />
57
-    ~~~~~
58
- src/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.tsx:9:49 - error TS6133: 'done' is declared but its value is never read.
59
-
60
- 9 export const CreatedSourceMsg = ({ type, title, done }: { type: QuerySourceType; title: string; done?: boolean }) => {
61
-    ~~~~
62
- src/plugins/report-query-plugin/utils/get-field-group.ts:6:27 - error TS6133: 'IQueryResultXField' is declared but its value is never read.
63
-
64
- 6 import { IDashWidgetType, IQueryResultXField } from '@baishuyun/types';
65
-    ~~~~~~~~~~~~~~~~~~
66
- src/plugins/report-query-plugin/utils/get-field-group.ts:605:7 - error TS6133: 'exampleLimitFields' is declared but its value is never read.
67
-
68
- 605 const exampleLimitFields: Partial<LimitFieldsConfig> = {
69
-    ~~~~~~~~~~~~~~~~~~
70
-
71
- computing gzip size (0)...computing gzip size (1)...computing gzip size (2)...dist/index.css  77.16 kB │ gzip: 13.97 kB
72
- dist/chat-sdk.js 1,912.01 kB │ gzip: 462.64 kB │ map: 5,820.31 kB
73
- [vite:dts] Declaration files built in 3226ms.
74
- 
75
- rendering chunks (1)...computing gzip size (1)...dist/chat-sdk.umd.cjs 1,289.40 kB │ gzip: 385.32 kB │ map: 5,639.43 kB
76
- ✓ built in 6.72s
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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @baishuyun/chat-sdk
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - office update
8
+ - Updated dependencies
9
+ - @baishuyun/ai-design@1.0.3
10
+ - @baishuyun/agents@1.0.2
11
+
3
12
  ## 1.0.2
4
13
 
5
14
  ### Patch Changes