refactor(skill): regroup skill body, file tree, and tree hooks

This commit is contained in:
yyh
2026-02-07 14:20:01 +08:00
parent e10996c368
commit 11d5efc13e
52 changed files with 119 additions and 119 deletions

View File

@ -4,19 +4,19 @@ import { parseAsString, useQueryState } from 'nuqs'
import * as React from 'react'
import { useStore as useAppStore } from '@/app/components/app/store'
import { useStore, useWorkflowStore } from '@/app/components/workflow/store'
import ArtifactContentPanel from './artifact-content-panel'
import { isArtifactTab } from './constants'
import ContentArea from './content-area'
import ContentBody from './content-body'
import FileContentPanel from './file-content-panel'
import FileTabs from './file-tabs'
import FileTree from './file-tree'
import ArtifactsSection from './file-tree/artifacts-section'
import ArtifactsSection from './file-tree/artifacts/artifacts-section'
import FileTree from './file-tree/tree/file-tree'
import { useSkillAutoSave } from './hooks/use-skill-auto-save'
import { SkillSaveProvider } from './hooks/use-skill-save-manager'
import Sidebar from './sidebar'
import SidebarSearchAdd from './sidebar-search-add'
import SkillPageLayout from './skill-page-layout'
import ContentArea from './skill-body/layout/content-area'
import ContentBody from './skill-body/layout/content-body'
import Sidebar from './skill-body/layout/sidebar'
import SkillPageLayout from './skill-body/layout/skill-page-layout'
import ArtifactContentPanel from './skill-body/panels/artifact-content-panel'
import FileContentPanel from './skill-body/panels/file-content-panel'
import SidebarSearchAdd from './skill-body/sidebar-search-add'
import FileTabs from './skill-body/tabs/file-tabs'
const SkillAutoSaveManager = () => {
useSkillAutoSave()