From 264ef460a5fe9b4c397d2a5fec87ba57c7306a53 Mon Sep 17 00:00:00 2001 From: Felix <24791380+vcfgv@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:14:37 +0800 Subject: [PATCH] fix(pkg): move clawhub to dependencies to package into dmg (#178) --- package.json | 4 ++-- pnpm-lock.yaml | 60 ++++---------------------------------------------- 2 files changed, 6 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index c13026660..ce3d96020 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "postversion": "git push && git push --tags" }, "dependencies": { + "clawhub": "^0.5.0", "electron-store": "^11.0.2", "electron-updater": "^6.8.3", "ws": "^8.19.0" @@ -72,7 +73,6 @@ "@vitejs/plugin-react": "^5.1.4", "autoprefixer": "^10.4.24", "class-variance-authority": "^0.7.1", - "clawhub": "^0.5.0", "clsx": "^2.1.1", "electron": "^40.6.0", "electron-builder": "^26.8.1", @@ -107,4 +107,4 @@ "zx": "^8.8.5" }, "packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8" -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8952d7327..ceed18321 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + clawhub: + specifier: ^0.5.0 + version: 0.5.0 electron-store: specifier: ^11.0.2 version: 11.0.2 @@ -93,9 +96,6 @@ importers: class-variance-authority: specifier: ^0.7.1 version: 0.7.1 - clawhub: - specifier: ^0.5.0 - version: 0.5.0 clsx: specifier: ^2.1.1 version: 2.1.1 @@ -1416,20 +1416,6 @@ packages: os: [linux] libc: [glibc] - '@node-llama-cpp/linux-x64-cuda-ext@3.15.1': - resolution: {integrity: sha512-toepvLcXjgaQE/QGIThHBD58jbHGBWT1jhblJkCjYBRHfVOO+6n/PmVsJt+yMfu5Z93A2gF8YOvVyZXNXmGo5g==} - engines: {node: '>=20.0.0'} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@node-llama-cpp/linux-x64-cuda@3.15.1': - resolution: {integrity: sha512-kngwoq1KdrqSr/b6+tn5jbtGHI0tZnW5wofKssZy+Il2ge3eN9FowKbXG4FH452g6qSSVoDccAoTvYOxyLyX+w==} - engines: {node: '>=20.0.0'} - cpu: [x64] - os: [linux] - libc: [glibc] - '@node-llama-cpp/linux-x64-vulkan@3.15.1': resolution: {integrity: sha512-CMsyQkGKpHKeOH9+ZPxo0hO0usg8jabq5/aM3JwdX9CiuXhXUa3nu3NH4RObiNi596Zwn/zWzlps0HRwcpL8rw==} engines: {node: '>=20.0.0'} @@ -1462,24 +1448,6 @@ packages: cpu: [arm64, x64] os: [win32] - '@node-llama-cpp/win-x64-cuda-ext@3.15.1': - resolution: {integrity: sha512-mO3Tf6D3UlFkjQF5J96ynTkjdF7dac/f5f61cEh6oU4D3hdx+cwnmBWT1gVhDSLboJYzCHtx7U2EKPP6n8HoWA==} - engines: {node: '>=20.0.0'} - cpu: [x64] - os: [win32] - - '@node-llama-cpp/win-x64-cuda@3.15.1': - resolution: {integrity: sha512-swoyx0/dY4ixiu3mEWrIAinx0ffHn9IncELDNREKG+iIXfx6w0OujOMQ6+X+lGj+sjE01yMUP/9fv6GEp2pmBw==} - engines: {node: '>=20.0.0'} - cpu: [x64] - os: [win32] - - '@node-llama-cpp/win-x64-vulkan@3.15.1': - resolution: {integrity: sha512-BPBjUEIkFTdcHSsQyblP0v/aPPypi6uqQIq27mo4A49CYjX22JDmk4ncdBLk6cru+UkvwEEe+F2RomjoMt32aQ==} - engines: {node: '>=20.0.0'} - cpu: [x64] - os: [win32] - '@node-llama-cpp/win-x64@3.15.1': resolution: {integrity: sha512-jtoXBa6h+VPsQgefrO7HDjYv4WvxfHtUO30ABwCUDuEgM0e05YYhxMZj1z2Ns47UrquNvd/LUPCyjHKqHUN+5Q==} engines: {node: '>=20.0.0'} @@ -4358,7 +4326,7 @@ packages: glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} - deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me + deprecated: Glob versions prior to v9 are no longer supported global-agent@3.0.0: resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==} @@ -8707,12 +8675,6 @@ snapshots: '@node-llama-cpp/linux-armv7l@3.15.1': optional: true - '@node-llama-cpp/linux-x64-cuda-ext@3.15.1': - optional: true - - '@node-llama-cpp/linux-x64-cuda@3.15.1': - optional: true - '@node-llama-cpp/linux-x64-vulkan@3.15.1': optional: true @@ -8728,15 +8690,6 @@ snapshots: '@node-llama-cpp/win-arm64@3.15.1': optional: true - '@node-llama-cpp/win-x64-cuda-ext@3.15.1': - optional: true - - '@node-llama-cpp/win-x64-cuda@3.15.1': - optional: true - - '@node-llama-cpp/win-x64-vulkan@3.15.1': - optional: true - '@node-llama-cpp/win-x64@3.15.1': optional: true @@ -13443,16 +13396,11 @@ snapshots: '@node-llama-cpp/linux-arm64': 3.15.1 '@node-llama-cpp/linux-armv7l': 3.15.1 '@node-llama-cpp/linux-x64': 3.15.1 - '@node-llama-cpp/linux-x64-cuda': 3.15.1 - '@node-llama-cpp/linux-x64-cuda-ext': 3.15.1 '@node-llama-cpp/linux-x64-vulkan': 3.15.1 '@node-llama-cpp/mac-arm64-metal': 3.15.1 '@node-llama-cpp/mac-x64': 3.15.1 '@node-llama-cpp/win-arm64': 3.15.1 '@node-llama-cpp/win-x64': 3.15.1 - '@node-llama-cpp/win-x64-cuda': 3.15.1 - '@node-llama-cpp/win-x64-cuda-ext': 3.15.1 - '@node-llama-cpp/win-x64-vulkan': 3.15.1 typescript: 5.9.3 transitivePeerDependencies: - supports-color