mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
Compare commits
19 Commits
v4.7.80
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
![]() |
98b5b9069f | ||
![]() |
7330a05c78 | ||
![]() |
a39c932868 | ||
![]() |
a2c24c9197 | ||
![]() |
5c3efc681f | ||
![]() |
e70d2bd708 | ||
![]() |
cf75a961fb | ||
![]() |
159f317071 | ||
![]() |
713eef592a | ||
![]() |
cf03ad8fd9 | ||
![]() |
0c0b27901a | ||
![]() |
137fe3c8f2 | ||
![]() |
d96174076a | ||
![]() |
6d5662d96e | ||
![]() |
57abd47d99 | ||
![]() |
5092b3d791 | ||
![]() |
649409d1be | ||
![]() |
8f549d896a | ||
![]() |
a1359ddbb5 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,5 @@
|
|||||||
# Develop
|
# Develop
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
out/
|
out/
|
||||||
dist/
|
dist/
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"name": "NapCatQQ",
|
"name": "NapCatQQ",
|
||||||
"slug": "NapCat.Framework",
|
"slug": "NapCat.Framework",
|
||||||
"description": "高性能的 OneBot 11 协议实现",
|
"description": "高性能的 OneBot 11 协议实现",
|
||||||
"version": "4.7.78",
|
"version": "4.8.93",
|
||||||
"icon": "./logo.png",
|
"icon": "./logo.png",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
15995
napcat.webui/package-lock.json
generated
Normal file
15995
napcat.webui/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
8302
package-lock.json
generated
Normal file
8302
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -2,7 +2,7 @@
|
|||||||
"name": "napcat",
|
"name": "napcat",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "4.7.78",
|
"version": "4.8.93",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:universal": "npm run build:webui && vite build --mode universal || exit 1",
|
"build:universal": "npm run build:webui && vite build --mode universal || exit 1",
|
||||||
"build:framework": "npm run build:webui && vite build --mode framework || exit 1",
|
"build:framework": "npm run build:webui && vite build --mode framework || exit 1",
|
||||||
@@ -18,14 +18,14 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-typescript": "^7.24.7",
|
"@babel/preset-typescript": "^7.24.7",
|
||||||
"@eslint/compat": "^1.2.2",
|
"@eslint/compat": "^1.3.1",
|
||||||
"@eslint/eslintrc": "^3.1.0",
|
"@eslint/eslintrc": "^3.1.0",
|
||||||
"@eslint/js": "^9.14.0",
|
"@eslint/js": "^9.31.0",
|
||||||
"@homebridge/node-pty-prebuilt-multiarch": "^0.12.0-beta.5",
|
"@homebridge/node-pty-prebuilt-multiarch": "^0.12.0-beta.5",
|
||||||
"@log4js-node/log4js-api": "^1.0.2",
|
"@log4js-node/log4js-api": "^1.0.2",
|
||||||
"@napneko/nap-proto-core": "^0.0.4",
|
"@napneko/nap-proto-core": "^0.0.4",
|
||||||
"@rollup/plugin-node-resolve": "^16.0.0",
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
||||||
"@rollup/plugin-typescript": "^12.1.2",
|
"@rollup/plugin-typescript": "^12.1.4",
|
||||||
"@sinclair/typebox": "^0.34.9",
|
"@sinclair/typebox": "^0.34.9",
|
||||||
"@types/cors": "^2.8.17",
|
"@types/cors": "^2.8.17",
|
||||||
"@types/express": "^5.0.0",
|
"@types/express": "^5.0.0",
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"multer": "^2.0.1",
|
"multer": "^2.0.1",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"typescript-eslint": "^8.13.0",
|
"typescript-eslint": "^8.35.1",
|
||||||
"vite": "^6.0.1",
|
"vite": "^6.0.1",
|
||||||
"vite-plugin-cp": "^6.0.0",
|
"vite-plugin-cp": "^6.0.0",
|
||||||
"vite-tsconfig-paths": "^5.1.0",
|
"vite-tsconfig-paths": "^5.1.0",
|
||||||
|
@@ -10,10 +10,14 @@ import { LogWrapper } from './log';
|
|||||||
|
|
||||||
const downloadOri = "https://github.com/NapNeko/ffmpeg-build/releases/download/v1.0.0/ffmpeg-7.1.1-win64.zip"
|
const downloadOri = "https://github.com/NapNeko/ffmpeg-build/releases/download/v1.0.0/ffmpeg-7.1.1-win64.zip"
|
||||||
const urls = [
|
const urls = [
|
||||||
"https://github.moeyy.xyz/" + downloadOri,
|
"https://j.1win.ggff.net/" + downloadOri,
|
||||||
"https://ghp.ci/" + downloadOri,
|
"https://git.yylx.win/" + downloadOri,
|
||||||
"https://gh.api.99988866.xyz/" + downloadOri,
|
"https://ghfile.geekertao.top/" + downloadOri,
|
||||||
"https://gh.api.99988866.xyz/" + downloadOri,
|
"https://gh-proxy.net/" + downloadOri,
|
||||||
|
"https://ghm.078465.xyz/" + downloadOri,
|
||||||
|
"https://gitproxy.127731.xyz/" + downloadOri,
|
||||||
|
"https://jiashu.1win.eu.org/" + downloadOri,
|
||||||
|
"https://github.tbedu.top/" + downloadOri,
|
||||||
downloadOri
|
downloadOri
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -1 +1 @@
|
|||||||
export const napCatVersion = '4.7.78';
|
export const napCatVersion = '4.8.93';
|
||||||
|
16
src/core/external/appid.json
vendored
16
src/core/external/appid.json
vendored
@@ -322,5 +322,21 @@
|
|||||||
"9.9.20-36580": {
|
"9.9.20-36580": {
|
||||||
"appid": 537298473,
|
"appid": 537298473,
|
||||||
"qua": "V1_WIN_NQ_9.9.20_36580_GW_B"
|
"qua": "V1_WIN_NQ_9.9.20_36580_GW_B"
|
||||||
|
},
|
||||||
|
"9.9.20-37012": {
|
||||||
|
"appid": 537304071,
|
||||||
|
"qua": "V1_WIN_NQ_9.9.20_37012_GW_B"
|
||||||
|
},
|
||||||
|
"3.2.18-37012": {
|
||||||
|
"appid": 537304107,
|
||||||
|
"qua": "V1_LNX_NQ_3.2.18_37012_GW_B"
|
||||||
|
},
|
||||||
|
"3.2.18-37051": {
|
||||||
|
"appid": 537304158,
|
||||||
|
"qua": "V1_LNX_NQ_3.2.18_37051_GW_B"
|
||||||
|
},
|
||||||
|
"9.9.20-37051": {
|
||||||
|
"appid": 537304122,
|
||||||
|
"qua": "V1_WIN_NQ_9.9.20_37051_GW_B"
|
||||||
}
|
}
|
||||||
}
|
}
|
28
src/core/external/offset.json
vendored
28
src/core/external/offset.json
vendored
@@ -404,8 +404,8 @@
|
|||||||
"recv": "AFBF520"
|
"recv": "AFBF520"
|
||||||
},
|
},
|
||||||
"9.9.20-36580-x64": {
|
"9.9.20-36580-x64": {
|
||||||
"send":"30824B8",
|
"send": "30824B8",
|
||||||
"recv":"3085C5C"
|
"recv": "3085C5C"
|
||||||
},
|
},
|
||||||
"3.2.18-36580-x64": {
|
"3.2.18-36580-x64": {
|
||||||
"send": "B0853E0",
|
"send": "B0853E0",
|
||||||
@@ -414,5 +414,29 @@
|
|||||||
"3.2.18-36580-arm64": {
|
"3.2.18-36580-arm64": {
|
||||||
"send": "793DAC8",
|
"send": "793DAC8",
|
||||||
"recv": "7941458"
|
"recv": "7941458"
|
||||||
|
},
|
||||||
|
"3.2.18-37012-x64": {
|
||||||
|
"send": "B20F960",
|
||||||
|
"recv": "B2133E0"
|
||||||
|
},
|
||||||
|
"3.2.18-37012-arm64": {
|
||||||
|
"send": "7A19E00",
|
||||||
|
"recv": "7A1D790"
|
||||||
|
},
|
||||||
|
"9.9.20-37012-x64": {
|
||||||
|
"send": "30CC958",
|
||||||
|
"recv": "30D00FC"
|
||||||
|
},
|
||||||
|
"3.2.18-37051-x64": {
|
||||||
|
"send": "B20F960",
|
||||||
|
"recv": "B2133E0"
|
||||||
|
},
|
||||||
|
"3.2.18-37051-arm64": {
|
||||||
|
"send": "7A19E00",
|
||||||
|
"recv": "7A1D790"
|
||||||
|
},
|
||||||
|
"9.9.20-37051-x64": {
|
||||||
|
"send": "30CC958",
|
||||||
|
"recv": "30D00FC"
|
||||||
}
|
}
|
||||||
}
|
}
|
BIN
src/native/packet/MoeHoo.linux.arm64.new.node
Normal file
BIN
src/native/packet/MoeHoo.linux.arm64.new.node
Normal file
Binary file not shown.
BIN
src/native/packet/MoeHoo.linux.x64.new.node
Normal file
BIN
src/native/packet/MoeHoo.linux.x64.new.node
Normal file
Binary file not shown.
@@ -2,6 +2,7 @@ import { GroupNotifyMsgStatus } from '@/core';
|
|||||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||||
import { ActionName } from '@/onebot/action/router';
|
import { ActionName } from '@/onebot/action/router';
|
||||||
import { Notify } from '@/onebot/types';
|
import { Notify } from '@/onebot/types';
|
||||||
|
import { Static, Type } from '@sinclair/typebox';
|
||||||
|
|
||||||
interface RetData {
|
interface RetData {
|
||||||
invited_requests: Notify[];
|
invited_requests: Notify[];
|
||||||
@@ -9,11 +10,18 @@ interface RetData {
|
|||||||
join_requests: Notify[];
|
join_requests: Notify[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class GetGroupSystemMsg extends OneBotAction<void, RetData> {
|
const SchemaData = Type.Object({
|
||||||
override actionName = ActionName.GetGroupSystemMsg;
|
count: Type.Union([Type.Number(), Type.String()], { default: 50 }),
|
||||||
|
});
|
||||||
|
|
||||||
async _handle(): Promise<RetData> {
|
type Payload = Static<typeof SchemaData>;
|
||||||
const SingleScreenNotifies = await this.core.apis.GroupApi.getSingleScreenNotifies(false, 50);
|
|
||||||
|
export class GetGroupSystemMsg extends OneBotAction<Payload, RetData> {
|
||||||
|
override actionName = ActionName.GetGroupSystemMsg;
|
||||||
|
override payloadSchema = SchemaData;
|
||||||
|
|
||||||
|
async _handle(params: Payload): Promise<RetData> {
|
||||||
|
const SingleScreenNotifies = await this.core.apis.GroupApi.getSingleScreenNotifies(false, +params.count);
|
||||||
const retData: RetData = { invited_requests: [], InvitedRequest: [], join_requests: [] };
|
const retData: RetData = { invited_requests: [], InvitedRequest: [], join_requests: [] };
|
||||||
|
|
||||||
const notifyPromises = SingleScreenNotifies.map(async (SSNotify) => {
|
const notifyPromises = SingleScreenNotifies.map(async (SSNotify) => {
|
||||||
|
Reference in New Issue
Block a user