@lobehub/chat 0.79.1 → 0.79.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/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.79.3](https://github.com/lobehub/lobe-chat/compare/v0.79.2...v0.79.3)
6
+
7
+ <sup>Released on **2023-09-25**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **meta**: Update meta image.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **meta**: Update meta image, closes [#66](https://github.com/lobehub/lobe-chat/issues/66) ([a71ffff](https://github.com/lobehub/lobe-chat/commit/a71ffff))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 0.79.2](https://github.com/lobehub/lobe-chat/compare/v0.79.1...v0.79.2)
31
+
32
+ <sup>Released on **2023-09-25**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **meta**: Fix and add metadata.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **meta**: Fix and add metadata ([c872522](https://github.com/lobehub/lobe-chat/commit/c872522))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 0.79.1](https://github.com/lobehub/lobe-chat/compare/v0.79.0...v0.79.1)
6
56
 
7
57
  <sup>Released on **2023-09-25**</sup>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.79.1",
4
- "description": "Lobe Chat is an open-source chatbot client using Vercel AI SDK, Typescript and Next.js",
3
+ "version": "0.79.3",
4
+ "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",
7
7
  "ChatGPT",
@@ -1,27 +1,31 @@
1
1
  {
2
- "background_color": "#fff",
2
+ "background_color": "#000000",
3
+ "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
3
4
  "display": "fullscreen",
4
5
  "icons": [
5
6
  {
6
- "src": "icons/icon-72x72.png",
7
- "sizes": "72x72",
8
- "type": "image/png"
9
- },
10
- {
11
- "src": "icons/icon-96x96.png",
12
- "sizes": "96x96",
7
+ "src": "https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/android-chrome-192x192.png",
8
+ "sizes": "192x192",
13
9
  "type": "image/png"
14
10
  },
15
11
  {
16
- "src": "icons/icon-192x192.png",
17
- "sizes": "192x192",
12
+ "src": "https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/android-chrome-512x512.png",
13
+ "sizes": "512x512",
18
14
  "type": "image/png"
19
15
  }
20
16
  ],
21
17
  "name": "LobeChat",
22
18
  "orientation": "portrait",
23
19
  "scope": "/",
20
+ "screenshots": [
21
+ {
22
+ "src": "https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/og-960x720.png",
23
+ "sizes": "960x720",
24
+ "type": "image/png"
25
+ }
26
+ ],
24
27
  "short_name": "LobeChat",
25
28
  "splash_pages": null,
26
- "start_url": "/"
29
+ "start_url": "/",
30
+ "theme_color": "#000000"
27
31
  }
@@ -14,6 +14,7 @@ const StyleRegistry = ({ children }: PropsWithChildren) => {
14
14
 
15
15
  isInsert.current = true;
16
16
 
17
+ // @ts-ignore
17
18
  return extractStaticStyle().map((item) => item.style);
18
19
  });
19
20
 
@@ -1,5 +1,4 @@
1
1
  import { Analytics } from '@vercel/analytics/react';
2
- import { Metadata } from 'next';
3
2
  import { cookies } from 'next/headers';
4
3
  import { PropsWithChildren } from 'react';
5
4
 
@@ -12,11 +11,6 @@ import Layout from '@/layout/GlobalLayout';
12
11
 
13
12
  import StyleRegistry from './StyleRegistry';
14
13
 
15
- export const metadata: Metadata = {
16
- manifest: '/manifest.json',
17
- title: 'LobeChat',
18
- };
19
-
20
14
  const RootLayout = ({ children }: PropsWithChildren) => {
21
15
  // get default theme config to use with ssr
22
16
  const cookieStore = cookies();
@@ -43,3 +37,5 @@ const RootLayout = ({ children }: PropsWithChildren) => {
43
37
  };
44
38
 
45
39
  export default RootLayout;
40
+
41
+ export { default as metadata } from './metadata';
@@ -0,0 +1,71 @@
1
+ import { Metadata } from 'next';
2
+
3
+ import { genSiteHeadTitle } from '@/utils/genSiteHeadTitle';
4
+
5
+ import pkg from '../../package.json';
6
+
7
+ const title = genSiteHeadTitle();
8
+ const description = pkg.description;
9
+ const metadata: Metadata = {
10
+ appleWebApp: {
11
+ startupImage: [
12
+ 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/splash-750x1624.png',
13
+ {
14
+ media: '(device-width: 768px) and (device-height: 1024px)',
15
+ url: 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/splash-2048x2732.png',
16
+ },
17
+ ],
18
+ statusBarStyle: 'black-translucent',
19
+ title: title,
20
+ },
21
+ description: description,
22
+ icons: {
23
+ apple:
24
+ 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/apple-touch-icon.png',
25
+ icon: 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/favicon-32x32.png',
26
+ other: {
27
+ rel: 'mask-icon',
28
+ url: 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/safari-pinned-tab.svg',
29
+ },
30
+ shortcut:
31
+ 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/favicon.ico',
32
+ },
33
+ manifest: '/manifest.json',
34
+ openGraph: {
35
+ description: description,
36
+ images: [
37
+ {
38
+ alt: title,
39
+ height: 360,
40
+ url: 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/og-480x360.png',
41
+ width: 480,
42
+ },
43
+ {
44
+ alt: title,
45
+ height: 720,
46
+ url: 'https://registry.npmmirror.com/@lobehub/assets-favicons/latest/files/assets/og-960x720.png',
47
+ width: 960,
48
+ },
49
+ ],
50
+ locale: 'en_US',
51
+ siteName: title,
52
+ title: title,
53
+ type: 'website',
54
+ url: pkg.homepage,
55
+ },
56
+ themeColor: [
57
+ { color: '#fff', media: '(prefers-color-scheme: light)' },
58
+ { color: '#000', media: '(prefers-color-scheme: dark)' },
59
+ ],
60
+ title: genSiteHeadTitle(),
61
+ viewport: {
62
+ initialScale: 1,
63
+ maximumScale: 1,
64
+ minimumScale: 1,
65
+ userScalable: false,
66
+ viewportFit: 'cover',
67
+ width: 'device-width',
68
+ },
69
+ };
70
+
71
+ export default metadata;
@@ -3,6 +3,9 @@ import { css } from 'antd-style';
3
3
  export default () => css`
4
4
  body,
5
5
  .ant-app {
6
+ overflow: hidden;
7
+ overscroll-behavior: none;
8
+
6
9
  ::-webkit-scrollbar {
7
10
  width: 0;
8
11
  height: 0;
Binary file
Binary file
Binary file
Binary file