@lobehub/chat 1.96.16 → 1.96.17
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/CHANGELOG.md +17 -0
- package/apps/desktop/package.json +2 -1
- package/changelog/v1.json +5 -0
- package/package.json +3 -2
- package/scripts/migrateServerDB/index.ts +1 -0
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Mobile/index.tsx +1 -1
- package/src/server/modules/ContentChunk/index.ts +1 -1
- package/src/tools/local-system/Render/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.96.17](https://github.com/lobehub/lobe-chat/compare/v1.96.16...v1.96.17)
|
6
|
+
|
7
|
+
<sup>Released on **2025-07-03**</sup>
|
8
|
+
|
9
|
+
<br/>
|
10
|
+
|
11
|
+
<details>
|
12
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
13
|
+
|
14
|
+
</details>
|
15
|
+
|
16
|
+
<div align="right">
|
17
|
+
|
18
|
+
[](#readme-top)
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
5
22
|
### [Version 1.96.16](https://github.com/lobehub/lobe-chat/compare/v1.96.15...v1.96.16)
|
6
23
|
|
7
24
|
<sup>Released on **2025-07-03**</sup>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"lint": "eslint --cache ",
|
25
25
|
"pg-server": "bun run scripts/pglite-server.ts",
|
26
26
|
"start": "electron-vite preview",
|
27
|
-
"typecheck": "
|
27
|
+
"typecheck": "tsgo --noEmit -p tsconfig.json"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
30
|
"electron-updater": "^6.6.2",
|
@@ -45,6 +45,7 @@
|
|
45
45
|
"@types/resolve": "^1.20.6",
|
46
46
|
"@types/semver": "^7.7.0",
|
47
47
|
"@types/set-cookie-parser": "^2.4.10",
|
48
|
+
"@typescript/native-preview": "latest",
|
48
49
|
"consola": "^3.1.0",
|
49
50
|
"cookie": "^1.0.2",
|
50
51
|
"electron": "^36.2.0",
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.96.
|
3
|
+
"version": "1.96.17",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"test-server": "TEST_SERVER_DB=1 vitest run --config vitest.server.config.ts",
|
77
77
|
"test-server:coverage": "TEST_SERVER_DB=1 vitest run --config vitest.server.config.ts --coverage",
|
78
78
|
"test:update": "vitest -u",
|
79
|
-
"type-check": "
|
79
|
+
"type-check": "tsgo --noEmit",
|
80
80
|
"webhook:ngrok": "ngrok http http://localhost:3011",
|
81
81
|
"workflow:cdn": "tsx ./scripts/cdnWorkflow/index.ts",
|
82
82
|
"workflow:changelog": "tsx ./scripts/changelogWorkflow/index.ts",
|
@@ -310,6 +310,7 @@
|
|
310
310
|
"@types/unist": "^3.0.3",
|
311
311
|
"@types/uuid": "^10.0.0",
|
312
312
|
"@types/ws": "^8.18.1",
|
313
|
+
"@typescript/native-preview": "latest",
|
313
314
|
"@vitest/coverage-v8": "^3.1.4",
|
314
315
|
"ajv-keywords": "^5.1.0",
|
315
316
|
"commitlint": "^19.8.1",
|
@@ -3,6 +3,7 @@ import { migrate as neonMigrate } from 'drizzle-orm/neon-serverless/migrator';
|
|
3
3
|
import { migrate as nodeMigrate } from 'drizzle-orm/node-postgres/migrator';
|
4
4
|
import { join } from 'node:path';
|
5
5
|
|
6
|
+
// @ts-ignore tsgo handle esm import cjs and compatibility issues
|
6
7
|
import { DB_FAIL_INIT_HINT, PGVECTOR_HINT } from './errorHint';
|
7
8
|
|
8
9
|
// Read the `.env` file if it exists, or a file specified by the
|
package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Mobile/index.tsx
CHANGED
@@ -5,9 +5,9 @@ import { useTheme } from 'antd-style';
|
|
5
5
|
import { TextAreaRef } from 'antd/es/input/TextArea';
|
6
6
|
import { memo, useRef, useState } from 'react';
|
7
7
|
import { Flexbox } from 'react-layout-kit';
|
8
|
-
import STT from 'src/features/ChatInput/ActionBar/STT';
|
9
8
|
|
10
9
|
import ActionBar from '@/features/ChatInput/ActionBar';
|
10
|
+
import STT from '@/features/ChatInput/ActionBar/STT';
|
11
11
|
import { ActionKeys } from '@/features/ChatInput/ActionBar/config';
|
12
12
|
import SaveTopic from '@/features/ChatInput/Topic';
|
13
13
|
import { useSendMessage } from '@/features/ChatInput/useSend';
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ChunkingLoader } from 'src/libs/langchain';
|
2
1
|
import { Strategy } from 'unstructured-client/sdk/models/shared';
|
3
2
|
|
4
3
|
import { knowledgeEnv } from '@/config/knowledge';
|
5
4
|
import type { NewChunkItem, NewUnstructuredChunkItem } from '@/database/schemas';
|
5
|
+
import { ChunkingLoader } from '@/libs/langchain';
|
6
6
|
import { ChunkingStrategy, Unstructured } from '@/libs/unstructured';
|
7
7
|
|
8
8
|
import { ChunkingRuleParser } from './rules';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { LocalFileItem } from '@lobechat/electron-client-ipc';
|
2
2
|
import { memo } from 'react';
|
3
|
-
import { LocalSystemApiName } from 'src/tools/local-system';
|
4
3
|
|
4
|
+
import { LocalSystemApiName } from '@/tools/local-system';
|
5
5
|
import { BuiltinRenderProps } from '@/types/tool';
|
6
6
|
|
7
7
|
import ListFiles from './ListFiles';
|