@infograb/gitlab-openapi-mcp 1.0.1

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/.bunfig.toml ADDED
@@ -0,0 +1,3 @@
1
+ [install.lockfile]
2
+
3
+ save = false
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').changelog;
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').commitlint;
package/.dockerignore ADDED
@@ -0,0 +1,3 @@
1
+ node_modules
2
+ .next
3
+ dist
package/.editorconfig ADDED
@@ -0,0 +1,16 @@
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.md]
13
+ trim_trailing_whitespace = false
14
+
15
+ [Makefile]
16
+ indent_style = tab
package/.eslintignore ADDED
@@ -0,0 +1,30 @@
1
+ # Eslintignore for LobeHub
2
+ ################################################################
3
+
4
+ # dependencies
5
+ node_modules
6
+
7
+ # ci
8
+ coverage
9
+ .coverage
10
+
11
+ # test
12
+ jest*
13
+ _test_
14
+ __test__
15
+
16
+ # umi
17
+ .umi
18
+ .umi-production
19
+ .umi-test
20
+ .dumi/tmp*
21
+ !.dumirc.ts
22
+
23
+ # production
24
+ dist
25
+ es
26
+ lib
27
+ logs
28
+
29
+ # misc
30
+ # add other ignore file below
package/.eslintrc.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').eslint;
package/.gitlab-ci.yml ADDED
@@ -0,0 +1,117 @@
1
+ variables:
2
+ MAIN_BRANCH_REGEX: '^(main|master)$'
3
+ DOCKER_REGISTRY_IMAGE: $CI_REGISTRY_IMAGE
4
+ CANDIDATE_TAG: $CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
5
+ OPS_REPO_URL_PATH: infograb/ai/gitlab-mcp-agent-deploy
6
+ OPS_PATH: ./gitlab-mcp-agent-deploy
7
+
8
+ stages:
9
+ - package
10
+ - deploy
11
+
12
+ workflow:
13
+ rules:
14
+ - if: $CI_COMMIT_TAG != null
15
+ variables:
16
+ CANDIDATE_TAG: $CI_COMMIT_TAG
17
+ - when: always
18
+
19
+ .before_script:git_clone_ops_repo:
20
+ before_script:
21
+ - |
22
+ echo "Configuring Git"
23
+ if [ -z "$CONFIG_REPO_GIT_USER" ]; then
24
+ echo -e "The \"CONFIG_REPO_GIT_USER\" variable is not set.\nPlease create the variable on the \"Settings > CI/CD > Variables\" section of the GitLab project."
25
+ exit 1
26
+ fi
27
+ if [ -z "$CONFIG_REPO_GIT_PASSWD" ]; then
28
+ echo -e "The \"CONFIG_REPO_GIT_PASSWD\" variable is not set.\nPlease create the variable on the \"Settings > CI/CD > Variables\" section of the GitLab project."
29
+ exit 1
30
+ fi
31
+ git config --global user.name "DevOps Bot"
32
+ git config --global user.email "devops@bok.or.kr"
33
+ rm -rf $OPS_PATH > /dev/null 2>&1 || true
34
+ git clone --depth=1 --single-branch --branch main https://$CONFIG_REPO_GIT_USER:$CONFIG_REPO_GIT_PASSWD@$GITLAB_HOST/$OPS_REPO_URL_PATH
35
+ cd $OPS_PATH
36
+
37
+ .before_script:image_tag:
38
+ before_script:
39
+ - |
40
+ NOSLASH=$(echo "$CANDIDATE_TAG" | tr -s / - )
41
+ SANITIZED=$(echo "$NOSLASH" | tr -cd '[[:alnum:]]._-')
42
+ export DOCKER_TAG=$SANITIZED
43
+ export DOCKER_REGISTRY_IMAGE_TAG="$DOCKER_REGISTRY_IMAGE:$DOCKER_TAG"
44
+ echo $DOCKER_REGISTRY_IMAGE_TAG
45
+ if [[ "$CI_COMMIT_REF_NAME" =~ $MAIN_BRANCH_REGEX ]]; then
46
+ export DESTINATION_LATEST="--destination $DOCKER_REGISTRY_IMAGE:latest"
47
+ fi
48
+
49
+ .before_script:gitlab_docker_auth:
50
+ before_script:
51
+ - |
52
+ mkdir -p ~/.docker
53
+ echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n ${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD} | base64 | tr -d '\n')\"}}}" \
54
+ > ~/.docker/config.json
55
+
56
+ .container:buildkit: &container_buildkit
57
+ variables:
58
+ DOCKER_BUILDKIT: 1
59
+ BUILDKITD_FLAGS: --oci-worker-no-process-sandbox
60
+ image:
61
+ name: moby/buildkit:v0.22.0-rootless
62
+ entrypoint: ["sh", "-c"]
63
+ stage: package
64
+ script:
65
+ - echo "container image push "
66
+
67
+ .script:buildkit_br:
68
+ script:
69
+ - echo $DOCKER_REGISTRY_IMAGE_TAG
70
+ - echo $BUILDKIT_ARGS
71
+ - |
72
+ buildctl-daemonless.sh build \
73
+ --frontend=dockerfile.v0 \
74
+ --opt filename=$DOCKERFILE_NAME \
75
+ --local context=$CONTEXT_PATH \
76
+ --local dockerfile=$DOCKERDIR_PATH \
77
+ --output type=image,\"name=$DOCKER_REGISTRY_IMAGE_TAG\",push=true \
78
+ --import-cache type=local,src=$CONTEXT_PATH/buildkit_cache \
79
+ --export-cache type=local,dest=$CONTEXT_PATH/buildkit_cache \
80
+ $BUILDKIT_ARGS
81
+ cache:
82
+ key:
83
+ files:
84
+ - Dockerfile
85
+ - .dockerignore
86
+ paths:
87
+ - $CONTEXT_PATH/buildkit_cache
88
+
89
+ package:buildkit:
90
+ extends: .container:buildkit
91
+ variables:
92
+ DOCKER_BUILDKIT: 1
93
+ BUILDKITD_FLAGS: "--oci-worker-no-process-sandbox"
94
+ CONTEXT_PATH: $CI_PROJECT_DIR
95
+ DOCKERDIR_PATH: $CI_PROJECT_DIR
96
+ DOCKERFILE_NAME: Dockerfile
97
+ before_script:
98
+ - !reference [.before_script:image_tag, before_script]
99
+ - !reference [.before_script:gitlab_docker_auth, before_script]
100
+ script:
101
+ - !reference [.script:buildkit_br, script]
102
+
103
+ deploy:gitops:
104
+ image: registry.gitlab.com/infograb/coe/registry/toolbox/k8s:v1.0.0
105
+ stage: deploy
106
+ before_script:
107
+ - !reference [.before_script:image_tag, before_script]
108
+ - !reference [.before_script:git_clone_ops_repo, before_script]
109
+ script:
110
+ - |
111
+ yq -i '.app.image.tag = strenv(DOCKER_TAG)' values.yaml
112
+ cat values.yaml
113
+ git commit -am "[$CI_JOB_ID] Update image tag in values.yaml"
114
+ git push origin main || true
115
+ dependencies:
116
+ - package:buildkit
117
+ when: manual
@@ -0,0 +1,61 @@
1
+ # Prettierignore for LobeHub
2
+ ################################################################
3
+
4
+ # general
5
+ .DS_Store
6
+ .editorconfig
7
+ .idea
8
+ .vscode
9
+ .history
10
+ .temp
11
+ .env.local
12
+ .husky
13
+ .npmrc
14
+ .gitkeep
15
+ venv
16
+ temp
17
+ tmp
18
+ LICENSE
19
+
20
+ # dependencies
21
+ node_modules
22
+ *.log
23
+ *.lock
24
+ package-lock.json
25
+
26
+ # ci
27
+ coverage
28
+ .coverage
29
+ .eslintcache
30
+ .stylelintcache
31
+ test-output
32
+ __snapshots__
33
+ *.snap
34
+
35
+ # production
36
+ dist
37
+ es
38
+ lib
39
+ logs
40
+
41
+ # umi
42
+ .umi
43
+ .umi-production
44
+ .umi-test
45
+ .dumi/tmp*
46
+
47
+ # ignore files
48
+ .*ignore
49
+
50
+ # docker
51
+ docker
52
+ Dockerfile*
53
+
54
+ # image
55
+ *.webp
56
+ *.gif
57
+ *.png
58
+ *.jpg
59
+
60
+ # misc
61
+ # add other ignore file below
package/.prettierrc.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').prettier;
package/.releaserc.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').semanticRelease;
package/.remarkrc.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').remarklint;
@@ -0,0 +1 @@
1
+ module.exports = require('@lobehub/lint').stylelint;
package/CHANGELOG.md ADDED
@@ -0,0 +1,230 @@
1
+ <a name="readme-top"></a>
2
+
3
+ # Changelog
4
+
5
+ ### [Version 1.5.1](https://github.com/lobehub/chat-plugin-template/compare/v1.5.0...v1.5.1)
6
+
7
+ <sup>Released on **2024-01-11**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix gateway runtime, fix gateway runtime.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix gateway runtime ([f181fa3](https://github.com/lobehub/chat-plugin-template/commit/f181fa3))
21
+ - **misc**: Fix gateway runtime, closes [#24](https://github.com/lobehub/chat-plugin-template/issues/24) ([8b1a443](https://github.com/lobehub/chat-plugin-template/commit/8b1a443))
22
+
23
+ </details>
24
+
25
+ <div align="right">
26
+
27
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
28
+
29
+ </div>
30
+
31
+ ## [Version 1.5.0](https://github.com/lobehub/chat-plugin-template/compare/v1.4.0...v1.5.0)
32
+
33
+ <sup>Released on **2023-12-30**</sup>
34
+
35
+ #### ✨ Features
36
+
37
+ - **misc**: Support markdown type.
38
+
39
+ #### 💄 Styles
40
+
41
+ - **misc**: Improve manifest info.
42
+
43
+ <br/>
44
+
45
+ <details>
46
+ <summary><kbd>Improvements and Fixes</kbd></summary>
47
+
48
+ #### What's improved
49
+
50
+ - **misc**: Support markdown type ([0a6e154](https://github.com/lobehub/chat-plugin-template/commit/0a6e154))
51
+
52
+ #### Styles
53
+
54
+ - **misc**: Improve manifest info ([0f51c54](https://github.com/lobehub/chat-plugin-template/commit/0f51c54))
55
+
56
+ </details>
57
+
58
+ <div align="right">
59
+
60
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
61
+
62
+ </div>
63
+
64
+ ## [Version 1.4.0](https://github.com/lobehub/chat-plugin-template/compare/v1.3.0...v1.4.0)
65
+
66
+ <sup>Released on **2023-12-02**</sup>
67
+
68
+ #### ✨ Features
69
+
70
+ - **misc**: Add meta into manifest.
71
+
72
+ <br/>
73
+
74
+ <details>
75
+ <summary><kbd>Improvements and Fixes</kbd></summary>
76
+
77
+ #### What's improved
78
+
79
+ - **misc**: Add meta into manifest ([48da33e](https://github.com/lobehub/chat-plugin-template/commit/48da33e))
80
+
81
+ </details>
82
+
83
+ <div align="right">
84
+
85
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
86
+
87
+ </div>
88
+
89
+ ## [Version 1.3.0](https://github.com/lobehub/chat-plugin-template/compare/v1.2.1...v1.3.0)
90
+
91
+ <sup>Released on **2023-11-16**</sup>
92
+
93
+ #### ✨ Features
94
+
95
+ - **misc**: Update manifest example.
96
+
97
+ <br/>
98
+
99
+ <details>
100
+ <summary><kbd>Improvements and Fixes</kbd></summary>
101
+
102
+ #### What's improved
103
+
104
+ - **misc**: Update manifest example, closes [#17](https://github.com/lobehub/chat-plugin-template/issues/17) ([abf44f0](https://github.com/lobehub/chat-plugin-template/commit/abf44f0))
105
+
106
+ </details>
107
+
108
+ <div align="right">
109
+
110
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
111
+
112
+ </div>
113
+
114
+ ### [Version 1.2.1](https://github.com/lobehub/chat-plugin-template/compare/v1.2.0...v1.2.1)
115
+
116
+ <sup>Released on **2023-11-06**</sup>
117
+
118
+ #### ♻ Code Refactoring
119
+
120
+ - **misc**: Refactor to use new lobeChat api.
121
+
122
+ <br/>
123
+
124
+ <details>
125
+ <summary><kbd>Improvements and Fixes</kbd></summary>
126
+
127
+ #### Code refactoring
128
+
129
+ - **misc**: Refactor to use new lobeChat api ([1f0a533](https://github.com/lobehub/chat-plugin-template/commit/1f0a533))
130
+
131
+ </details>
132
+
133
+ <div align="right">
134
+
135
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
136
+
137
+ </div>
138
+
139
+ ## [Version 1.2.0](https://github.com/lobehub/chat-plugin-template/compare/v1.1.0...v1.2.0)
140
+
141
+ <sup>Released on **2023-10-23**</sup>
142
+
143
+ #### ✨ Features
144
+
145
+ - **misc**: Add standalone type.
146
+
147
+ <br/>
148
+
149
+ <details>
150
+ <summary><kbd>Improvements and Fixes</kbd></summary>
151
+
152
+ #### What's improved
153
+
154
+ - **misc**: Add standalone type ([3a432f5](https://github.com/lobehub/chat-plugin-template/commit/3a432f5))
155
+
156
+ </details>
157
+
158
+ <div align="right">
159
+
160
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
161
+
162
+ </div>
163
+
164
+ ## [Version 1.1.0](https://github.com/lobehub/chat-plugin-template/compare/v1.0.0...v1.1.0)
165
+
166
+ <sup>Released on **2023-09-09**</sup>
167
+
168
+ #### ✨ Features
169
+
170
+ - **misc**: 新增展示文档.
171
+
172
+ <br/>
173
+
174
+ <details>
175
+ <summary><kbd>Improvements and Fixes</kbd></summary>
176
+
177
+ #### What's improved
178
+
179
+ - **misc**: 新增展示文档 ([fdff07f](https://github.com/lobehub/chat-plugin-template/commit/fdff07f))
180
+
181
+ </details>
182
+
183
+ <div align="right">
184
+
185
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
186
+
187
+ </div>
188
+
189
+ ## Version 1.0.0
190
+
191
+ <sup>Released on **2023-09-08**</sup>
192
+
193
+ #### ✨ Features
194
+
195
+ - **misc**: 完善插件开发模板的基础内容.
196
+
197
+ #### 🐛 Bug Fixes
198
+
199
+ - **misc**: Fix ci, Fix import.
200
+
201
+ #### 💄 Styles
202
+
203
+ - **misc**: Update lint, 优化暗色主题表现.
204
+
205
+ <br/>
206
+
207
+ <details>
208
+ <summary><kbd>Improvements and Fixes</kbd></summary>
209
+
210
+ #### What's improved
211
+
212
+ - **misc**: 完善插件开发模板的基础内容 ([8d354b4](https://github.com/lobehub/chat-plugin-template/commit/8d354b4))
213
+
214
+ #### What's fixed
215
+
216
+ - **misc**: Fix ci ([34fe03a](https://github.com/lobehub/chat-plugin-template/commit/34fe03a))
217
+ - **misc**: Fix import ([d8473af](https://github.com/lobehub/chat-plugin-template/commit/d8473af))
218
+
219
+ #### Styles
220
+
221
+ - **misc**: Update lint ([d48fb19](https://github.com/lobehub/chat-plugin-template/commit/d48fb19))
222
+ - **misc**: 优化暗色主题表现 ([47004c5](https://github.com/lobehub/chat-plugin-template/commit/47004c5))
223
+
224
+ </details>
225
+
226
+ <div align="right">
227
+
228
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
229
+
230
+ </div>
package/Dockerfile ADDED
@@ -0,0 +1,17 @@
1
+ FROM node:22.15.0-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ COPY package.json ./
6
+
7
+ ENV SCARF_ANALYTICS=false
8
+ ENV NEXT_TELEMETRY_DISABLED=1
9
+
10
+ RUN corepack enable && corepack prepare pnpm@latest --activate
11
+ RUN pnpm install
12
+
13
+ COPY . .
14
+
15
+ EXPOSE 9200
16
+
17
+ CMD ["pnpm", "run", "dev"]
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 LobeHub
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # GitLab MCP Agent
2
+
3
+ **GitLab MCP Agent**는 GitLab 프로젝트와 이슈를 효율적으로 관리할 수 있도록 도와주는 MCP(Multi-Channel Platform) 에이전트입니다.
4
+ 이 에이전트는 GitLab의 다양한 API를 활용하여 프로젝트, 이슈, 그룹 등의 생성/수정/삭제 등 주요 기능을 자동화하거나 외부 시스템과 연동할 수 있도록 설계되었습니다.
5
+
6
+ ## 주요 특징
7
+
8
+ - **프로젝트/이슈/그룹 관리 자동화**
9
+ GitLab의 프로젝트, 이슈, 그룹을 생성, 수정, 삭제할 수 있는 API 연동 기능을 제공합니다.
10
+
11
+ - **간편한 설정**
12
+ GitLab API URL과 Personal/Project Access Token만 설정하면 바로 사용할 수 있습니다.
13
+
14
+ - **프록시 및 게이트웨이 지원**
15
+ 내부적으로 프록시 서버를 통해 API 요청을 중계하여, 보안성과 유연성을 높였습니다.
16
+
17
+ - **확장성**
18
+ 다양한 MCP 플랫폼과 연동이 가능하도록 설계되어, 향후 기능 확장 및 커스텀 연동이 용이합니다.
19
+
20
+ ## 사용 방법
21
+
22
+ 1. **설정 파일 작성**
23
+ `openapi.json` 파일을 수정해서 GitLab API 스펙을 작성합니다
24
+
25
+ 2. **실행**
26
+ ```
27
+ pnpm install
28
+ pnpm run dev
29
+ ```
30
+ 서버가 실행되면, MCP 플랫폼 또는 외부 시스템에서 API를 호출하여 GitLab 리소스를 관리할 수 있습니다.
31
+ `http://localhost:9200/manifest-dev.json` 을 설정하세요.
32
+
33
+ 3. **API 연동**
34
+ 제공되는 엔드포인트를 통해 프로젝트, 이슈, 그룹 등의 리소스를 관리할 수 있습니다.
35
+ 자세한 API 명세는 `public/openapi.json` 파일을 참고하세요.
36
+
37
+ ## 예시
38
+
39
+ - **프로젝트 생성**
40
+ - **이슈 생성/수정/삭제**
41
+ - **그룹 생성/삭제**
42
+ - **사용자 정보 조회 등**
43
+
44
+ ## 참고
45
+
46
+ - [GitLab 공식 문서](https://docs.gitlab.com/ee/api/)
47
+
48
+ ---
49
+
50
+ > GitLab MCP Agent는 GitLab 프로젝트 관리를 더욱 쉽고 자동화할 수 있도록 지원합니다.
51
+ > 문의 및 기여는 언제든 환영합니다!
package/bin/start.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { execSync } = require('child_process');
4
+
5
+ // 의존성 설치 (최초 실행 시)
6
+ try {
7
+ execSync('npx --yes pnpm install', { stdio: 'inherit' });
8
+ } catch (e) {
9
+ // 무시
10
+ }
11
+
12
+ // 빌드 (최초 실행 시)
13
+ try {
14
+ execSync('npx --yes next build', { stdio: 'inherit' });
15
+ } catch (e) {
16
+ // 무시
17
+ }
18
+
19
+ // 서버 실행
20
+ execSync('npx --yes next dev -p 9200', { stdio: 'inherit' });
@@ -0,0 +1,56 @@
1
+ import { defineConfig } from 'dumi';
2
+ import path from 'node:path';
3
+
4
+ import { homepage } from '../package.json';
5
+
6
+ const isWin = process.platform === 'win32';
7
+
8
+ const isProd = process.env.NODE_ENV === 'production';
9
+
10
+ const themeConfig = {
11
+ actions: [
12
+ {
13
+ link: homepage,
14
+ openExternal: true,
15
+ text: 'Github',
16
+ },
17
+ {
18
+ link: 'https://github.com/lobehub/lobe-chat',
19
+ text: 'Try it on LobeChat',
20
+ type: 'primary',
21
+ },
22
+ ],
23
+ footer: 'Made with 🤯 by LobeHub',
24
+ name: 'Project Template',
25
+ socialLinks: {
26
+ discord: 'https://discord.gg/AYFPHvv2jT',
27
+ github: homepage,
28
+ },
29
+ };
30
+
31
+ export default defineConfig({
32
+ alias: {
33
+ '@': path.join(__dirname, '../src'),
34
+ },
35
+ base: isProd ? '/docs/' : '/',
36
+ extraBabelPlugins: ['babel-plugin-antd-style'],
37
+ favicons: [
38
+ 'https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/package.webp',
39
+ ],
40
+ mfsu: isWin ? undefined : {},
41
+ npmClient: 'pnpm',
42
+ outputPath: '../public/docs',
43
+
44
+ publicPath: isProd ? '/docs/' : '/',
45
+ // ssr: isProduction ? {} : false,
46
+ styles: [
47
+ `html, body { background: transparent; }
48
+
49
+ @media (prefers-color-scheme: dark) {
50
+ html, body { background: #000; }
51
+ }`,
52
+ ],
53
+
54
+ themeConfig,
55
+ title: 'Project Template - Lobe Chat Plugin',
56
+ });
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Changelog
3
+ description: New updates and improvements to @lobehub/chat-plugin-realtime-weather
4
+ nav:
5
+ title: Changelog
6
+ order: 999
7
+ ---
8
+
9
+ <embed src="../../CHANGELOG.md"></embed>
@@ -0,0 +1,7 @@
1
+ import { manClothes } from '@/data';
2
+
3
+ export const data = {
4
+ clothes: manClothes['happy'],
5
+ mood: 'happy',
6
+ today: Date.now(),
7
+ };
@@ -0,0 +1,7 @@
1
+ import Render from '@/components/Render';
2
+
3
+ import { data } from './data';
4
+
5
+ export default () => {
6
+ return <Render {...data} />;
7
+ };