Skip to content
Merged
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
2 changes: 1 addition & 1 deletion ui/src/router/ROUTE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,6 @@ Workspace 父路由为 `workspace-application-detail-layout`;System 详情实
注册,复用 `ToolWorkflowView`。系统工作流路由不携带 `workspaceId`,画布辅助查询使用对应 System API;
工具自身的查询、编辑、调试和发布使用 System API,返回 `system-resource-tools`。

共享工具工作流使用 `system-shared-tool-workflow`,地址为 `/system/shared/tool/:toolId/workflow`,
共享工具工作流使用 `system-shared-workflow-tool`,地址为 `/system/shared/tool/:toolId/workflow`,
与资源管理共用 `ToolWorkflowView`,通过 `resourceScope` 选择接口。共享工具卡片点击及创建成功后
进入该路由,Ctrl / Command 点击支持新标签页;退出返回 `system-shared-tools`。
2 changes: 1 addition & 1 deletion ui/src/views/VIEW_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ src/views/system/shared-resources/
导出、删除 Action。列表使用 `MkInfiniteScroll` 分页加载,支持类型、名称和创建者筛选;
创建与删除后重新查询,编辑和启停成功后替换对应卡片数据。
`ButtonCreateTool` 可接收完整 `api`,默认使用 Workspace Tool API;`showWorkflow` 默认开启,
共享页开启工作流创建,创建后进入 `system-shared-tool-workflow`。共享页支持普通工具、Skills、MCP、数据源及
共享页开启工作流创建,创建后进入 `system-shared-workflow-tool`。共享页支持普通工具、Skills、MCP、数据源及
导入创建,工作流卡片点击进入画布(支持 Ctrl / Command 新标签页),编辑菜单仍修改基础信息。共享页不组合工作空间专用的移动、授权和触发器入口。

System 用户页面按业务流程归拢操作入口和专属 Dialog。入口组件管理弹窗 Ref、打开动作并转发
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/system/resource-management/tool/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const creatorOptions = ref<OptionItem<string>[]>([])
const workspaceOptions = ref<OptionItem<string>[]>([])
const selectedWorkspaceIds = ref<string[]>([])
const searchFields = computed(() => [
{ label: '工具名称', value: 'name' },
{ label: '名称', value: 'name' },
{ label: '类型', value: 'tool_type', options: TOOL_TYPE_OPTIONS.filter(({ value }) => value) },
{
label: '来源',
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/system/shared-resources/tool/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const editToolActionRefs: Record<string, InstanceType<typeof EditToolAction> | n

function handleOpenTool(tool: ToolItem, event: MouseEvent) {
if (tool.tool_type === TOOL_TYPE.WORKFLOW) {
const target = { name: 'system-shared-tool-workflow', params: { toolId: tool.id } }
const target = { name: 'system-shared-workflow-tool', params: { toolId: tool.id } }
if (event.ctrlKey || event.metaKey) {
window.open(router.resolve(target).href)
return
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/tool/tool-form/WorkflowFormDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function handleSubmit() {
}

return router.push({
name: isSystemSharedResource() ? 'system-shared-tool-workflow' : 'workflow-tool',
name: isSystemSharedResource() ? 'system-shared-workflow-tool' : 'workflow-tool',
params: isSystemSharedResource() ? { toolId: savedTool.id } : { toolId: savedTool.id, workspaceId: route.params.workspaceId },
})
})
Expand Down
Loading