Integrate @xmcl/task, import instances & UI updates

Add a new xmcl task system and instance-import workflow. Introduces electron/core/task.ts with @xmcl/task executors (install, sims), task lifecycle IPC (start/pause/resume/cancel) and stage mapping. Detect mod loaders in instance scanner and add importExistingInstance with IPC. Update front-end task store, types and UI (TaskButton, TaskCard, TaskQueue, TaskDebug) to support paused state, xmcl path/state and pause/resume actions. Improve game-dir UI with loader badges and bulk import. Small UX/dialog tweaks (alert-dialog, About) and dependency/pnpm workspace updates. Adds Koring.yml theme default.
This commit is contained in:
2026-08-16 14:32:27 +08:00
parent cb0afd99c0
commit 1cf906d0db
19 changed files with 1420 additions and 408 deletions
+8 -2
View File
@@ -33,14 +33,20 @@
},
"dependencies": {
"@base-ui/react": "^1.6.0",
"@floating-ui/react-dom": "^2.1.8",
"@floating-ui/utils": "^0.2.11",
"@fontsource-variable/geist": "^5.2.9",
"@fontsource-variable/inter": "^5.2.8",
"@heroui/react": "^3.2.2",
"@heroui/styles": "^3.2.2",
"@internationalized/date": "^3.12.3",
"@internationalized/number": "^3.6.7",
"@internationalized/string": "^3.2.10",
"@react-three/fiber": "^9.6.1",
"@types/three": "^0.184.1",
"@xmcl/core": "^2.15.1",
"@xmcl/installer": "^6.1.2",
"@xmcl/core": "~2.15.1",
"@xmcl/installer": "~6.1.2",
"@xmcl/task": "4.1.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"js-yaml": "^4.1.0",