Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/plugins/page/src/mcp/tools/addPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const inputSchema = z.object({

export const addPage = {
name: 'add_page',
label: 'Add Page',
title: '新增页面',
order: 6,
description:
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/page/src/mcp/tools/changePageBasicInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const inputSchema = z.object({

export const changePageBasicInfo = {
name: 'change_page_basic_info',
label: 'Change Page Basic Info',
title: '修改页面基础信息',
order: 8,
description:
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/page/src/mcp/tools/delPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const inputSchema = z.object({

export const delPage = {
name: 'del_page',
label: 'Delete Page',
title: '删除页面',
order: 7,
description:
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/page/src/mcp/tools/getPageDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const inputSchema = z.object({

export const getPageDetail = {
name: 'get_page_detail',
label: 'Get Page Detail',
title: '获取页面详情',
order: 8,
description:
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/page/src/mcp/tools/getPageList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const inputSchema = z.object({})

export const getPageList = {
name: 'get_page_list',
label: 'Get Page List',
title: '获取页面列表',
order: 8,
description:
Expand Down
8 changes: 7 additions & 1 deletion packages/plugins/state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@

import entry from './src/Main.vue'
import metaData from './meta'
import globalStateService from './src/js/globalStateService'
import mcp from './src/mcp'
import './src/styles/vars.less'

export default {
...metaData,
entry
entry,
metas: [globalStateService],
mcp
}

export { globalStateService }
3 changes: 2 additions & 1 deletion packages/plugins/state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@opentiny/tiny-engine-common": "workspace:*",
"@opentiny/tiny-engine-meta-register": "workspace:*",
"@opentiny/tiny-engine-utils": "workspace:*",
"monaco-editor": "0.51.0"
"monaco-editor": "0.51.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*",
Expand Down
Loading