Files
game_voice_recorder/app/package.json
EJClaw db2f1866e4 v1.3.4: 슬래시 명령 무응답 고침 · 녹음 중 봇 상태 메시지
- 원인: 그 서버를 지켜보는 앱이 없으면 discord-source 가 명령을 그냥 무시 → 디스코드 "애플리케이션이 응답하지 않았어요"
  → 1.5초 기다린 뒤(옛 v1.1.0 PC 가 먼저 받았으면 '이미 응답함'으로 빠짐) 이유를 답한다:
    앱 없음 / 내 앱이 다른 서버를 녹음 대상으로 정함 / 내 앱이 아직 연결 중. 서버 로그에 남김
- 앱: 지켜보던 중 권한 재확인으로 watch_denied 를 받으면 1분 뒤 다시 지켜보기 요청 (명령 · 음성 상태가 영영 끊기지 않게)
- 상태 메시지: 봇이 어느 서버에서든 음성채널에 있으면 dnd + "🔴 녹음 중", 아니면 online + "🎙️ 대기 중 · /녹음시작"
  (겜녹이 봇은 사이트 서버, 다른 봇 모드는 LocalGateway). 테스트 봇으로 실제 디스코드가 형식을 받는 것 확인
- 테스트: 앱 41 · 서버 16 통과

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 02:58:26 +09:00

114 lines
2.8 KiB
JSON

{
"name": "gvr-app",
"productName": "겜녹이",
"version": "1.3.4",
"description": "겜녹이 (Game Voice Recorder) - 게임 연동 디스코드 음성 기록",
"private": true,
"main": "dist/main.cjs",
"author": "tkrmagid",
"license": "UNLICENSED",
"scripts": {
"build": "node build.mjs",
"typecheck": "tsc --noEmit -p .",
"test": "node --import tsx --test test/*.test.ts",
"core": "node --import tsx src/core/cli.ts",
"start": "npm run build && electron .",
"dist:win": "npm run build && electron-builder --win --x64 --publish never",
"dist:dir": "npm run build && electron-builder --dir --publish never"
},
"dependencies": {
"@discordjs/voice": "^0.19.2",
"better-sqlite3": "^12.11.1",
"discord.js": "^14.27.0",
"fastify": "^5.6.1",
"msedge-tts": "^2.0.3",
"prism-media": "^1.3.5",
"ws": "^8.18.3"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.18.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/ws": "^8.18.1",
"electron": "^38.8.6",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.10",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"build": {
"appId": "kr.tkrmagid.gvr",
"productName": "겜녹이",
"executableName": "GameVoiceRecorder",
"copyright": "tkrmagid",
"directories": {
"output": "release",
"buildResources": "build-res"
},
"files": [
"dist/**/*",
"!dist/**/*.map",
"package.json"
],
"asar": true,
"electronFuses": {
"runAsNode": false,
"enableNodeOptionsEnvironmentVariable": false,
"enableNodeCliInspectArguments": false,
"onlyLoadAppFromAsar": true,
"enableCookieEncryption": true
},
"asarUnpack": [
"node_modules/better-sqlite3/**",
"node_modules/@snazzah/**",
"node_modules/bindings/**",
"node_modules/file-uri-to-path/**"
],
"extraResources": [
{
"from": "resources",
"to": "gvr"
},
{
"from": "../worker/dist/gvr-worker",
"to": "worker"
},
{
"from": "../assets/app",
"to": "brand",
"filter": [
"*.png",
"*.ico"
]
}
],
"npmRebuild": true,
"win": {
"target": [
{
"target": "zip",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "../assets/app/icon.ico",
"artifactName": "GameVoiceRecorder-${version}-win-x64.${ext}",
"signAndEditExecutable": true
},
"portable": {
"artifactName": "GameVoiceRecorder-${version}-portable.exe",
"unpackDirName": "GameVoiceRecorder"
}
}
}