mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The empty-session composer now loads user and project slash commands before the first turn instead of falling back to the built-in list, which keeps the packaged desktop app aligned with the web UI. This commit also bumps the desktop release version metadata to 0.1.3 so the release workflow publishes the correct artifacts. Constraint: Desktop release automation is triggered by semantic version tags and reads the version from desktop release metadata Rejected: Tagging v0.1.3 without a release commit | would publish stale 0.1.2 metadata and miss the slash-command fix Confidence: high Scope-risk: narrow Directive: Keep EmptySession slash-command loading aligned with ChatInput so packaged and web entry flows do not diverge again Tested: cd desktop && bun run test -- --run src/__tests__/pages.test.tsx Tested: cd desktop && bun run lint Tested: cd desktop && bun run build Not-tested: Full GitHub Actions release-desktop workflow after tag push
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"name": "claude-code-desktop",
|
|
"private": true,
|
|
"version": "0.1.3",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"build:sidecars": "bun run ./scripts/build-sidecars.ts",
|
|
"build:macos-arm64": "bash ./scripts/build-macos-arm64.sh",
|
|
"build:windows-x64": "powershell -ExecutionPolicy Bypass -File ./scripts/build-windows-x64.ps1",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"lint": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@types/dompurify": "^3.2.0",
|
|
"dompurify": "^3.3.3",
|
|
"lucide-react": "^0.469.0",
|
|
"marked": "^15.0.7",
|
|
"mermaid": "^11.14.0",
|
|
"prism-react-renderer": "^2.4.1",
|
|
"react": "^18.3.1",
|
|
"react-diff-viewer-continued": "^4.2.0",
|
|
"react-dom": "^18.3.1",
|
|
"react-shiki": "^0.9.2",
|
|
"shiki": "^4.0.2",
|
|
"zustand": "^5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"jsdom": "^25.0.1",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^6.0.7",
|
|
"vitest": "^3.0.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"@tauri-apps/api": "^2.3.0",
|
|
"@tauri-apps/cli": "^2.3.1",
|
|
"@tauri-apps/plugin-dialog": "^2.2.1",
|
|
"@tauri-apps/plugin-process": "^2.2.1",
|
|
"@tauri-apps/plugin-shell": "^2.2.1",
|
|
"@tauri-apps/plugin-updater": "^2.2.1"
|
|
}
|
|
}
|