dependabot[bot]
de0d0bb85e
build(deps): bump the production group across 1 directory with 3 updates
...
Bumps the production group with 3 updates in the /services/discord-gateway directory: [openai](https://github.com/openai/openai-node ), [p-limit](https://github.com/sindresorhus/p-limit ) and [p-retry](https://github.com/sindresorhus/p-retry ).
Updates `openai` from 7.8.0 to 7.10.0
- [Release notes](https://github.com/openai/openai-node/releases )
- [Changelog](https://github.com/openai/openai-node/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openai/openai-node/compare/v7.8.0...v7.10.0 )
Updates `p-limit` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/sindresorhus/p-limit/releases )
- [Commits](https://github.com/sindresorhus/p-limit/compare/v7.3.1...v7.3.2 )
Updates `p-retry` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/sindresorhus/p-retry/releases )
- [Commits](https://github.com/sindresorhus/p-retry/compare/v8.0.0...v8.0.1 )
---
updated-dependencies:
- dependency-name: openai
dependency-version: 7.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: p-limit
dependency-version: 7.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
- dependency-name: p-retry
dependency-version: 8.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-07 14:28:34 +00:00
mytheclipsebotreview
b761de8b98
Merge branch 'main' into dependabot/npm_and_yarn/services/discord-gateway/development-baee414eea
2026-09-02 21:42:31 +07:00
dependabot[bot]
53dfd3be41
build(deps-dev): bump tsx
...
Bumps the development group in /services/discord-gateway with 1 update: [tsx](https://github.com/privatenumber/tsx ).
Updates `tsx` from 4.23.12 to 4.23.13
- [Release notes](https://github.com/privatenumber/tsx/releases )
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs )
- [Commits](https://github.com/privatenumber/tsx/compare/v4.23.12...v4.23.13 )
---
updated-dependencies:
- dependency-name: tsx
dependency-version: 4.23.13
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-02 14:26:03 +00:00
dependabot[bot]
1cd17f53d5
build(deps): bump zod
...
Bumps the production group in /services/discord-gateway with 1 update: [zod](https://github.com/colinhacks/zod ).
Updates `zod` from 4.5.2 to 4.5.4
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Commits](https://github.com/colinhacks/zod/compare/v4.5.2...v4.5.4 )
---
updated-dependencies:
- dependency-name: zod
dependency-version: 4.5.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-02 14:25:49 +00:00
asepharyana
7bfdf9c85c
feat(voice): fork @discordjs/voice with video receive support
...
Fork @discordjs/voice 0.19.2 into vendor/discord-voice-fork and patch the
voice gateway handshake so Discord sends camera/screen-share RTP video:
- Identify payload now declares video:true + streams:[] (derived from
Discord-RE/Discord-video-stream) - this is what makes Discord deliver
H264 (PT 96-127) to the voice socket. Previously the client never
declared video capability, so Discord omitted all video SSRCs/packets.
- op-12 Speaking handler maps streams[].ssrc -> videoSSRC alongside the
audio SSRC, so ssrcMap carries camera/screen-share stream IDs.
- SSRCMap.get() now also resolves video SSRCs (video RTP arrives on a
different SSRC than audio), enabling attribution for videoReceiver.ts.
- Both dist/index.js (CJS) and dist/index.mjs (ESM) patched; 3 isolated
hunks vs upstream, verified by diff.
- package.json points @discordjs/voice -> file:vendor/discord-voice-fork
(pnpm lockfile updated, CI --frozen-lockfile compatible).
- .gitignore: replace global dist/ with per-service explicit patterns so
the vendored fork's dist/ is committed while build outputs stay ignored.
- tests: +3 SSRCMap videoSSRC cases (190 total, all pass).
The receive-side pipeline (H264Depacketizer -> .h264 -> muxToMp4 -> MP4)
already exists in videoReceiver.ts; this unblocks it by making Discord
actually deliver video packets.
2026-09-01 23:35:13 +07:00
dependabot[bot]
1f196d2267
build(deps): bump zod
...
Bumps the production group in /services/discord-gateway with 1 update: [zod](https://github.com/colinhacks/zod ).
Updates `zod` from 4.4.3 to 4.5.2
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Commits](https://github.com/colinhacks/zod/compare/v4.4.3...v4.5.2 )
---
updated-dependencies:
- dependency-name: zod
dependency-version: 4.5.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-01 14:33:45 +00:00
dependabot[bot]
a0794a67d1
build(deps): bump the production group across 1 directory with 4 updates
...
Bumps the production group with 4 updates in the /services/discord-gateway directory: [axios](https://github.com/axios/axios ), [openai](https://github.com/openai/openai-node ), [piscina](https://github.com/piscinajs/piscina ) and [sharp](https://github.com/lovell/sharp ).
Updates `axios` from 1.19.0 to 1.20.0
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.19.0...v1.20.0 )
Updates `openai` from 7.5.0 to 7.8.0
- [Release notes](https://github.com/openai/openai-node/releases )
- [Changelog](https://github.com/openai/openai-node/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openai/openai-node/compare/v7.5.0...v7.8.0 )
Updates `piscina` from 5.3.1 to 5.3.2
- [Release notes](https://github.com/piscinajs/piscina/releases )
- [Changelog](https://github.com/piscinajs/piscina/blob/v5.3.2/CHANGELOG.md )
- [Commits](https://github.com/piscinajs/piscina/compare/v5.3.1...v5.3.2 )
Updates `sharp` from 0.35.3 to 0.35.4
- [Release notes](https://github.com/lovell/sharp/releases )
- [Commits](https://github.com/lovell/sharp/compare/v0.35.3...v0.35.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: openai
dependency-version: 7.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: piscina
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
- dependency-name: sharp
dependency-version: 0.35.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-31 14:44:40 +00:00
dependabot[bot]
cb36a2fbb0
build(deps-dev): bump the development group
...
Bumps the development group in /services/discord-gateway with 2 updates: [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ).
Updates `@biomejs/biome` from 2.5.10 to 2.5.11
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.5.11/packages/@biomejs/biome )
Updates `@types/node` from 26.3.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.5.11
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development
- dependency-name: "@types/node"
dependency-version: 26.4.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-31 14:30:00 +00:00
dependabot[bot]
430e3d137c
build(deps-dev): bump @types/node
...
Bumps the development group in /services/discord-gateway with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ).
Updates `@types/node` from 26.2.0 to 26.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 26.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-28 14:25:31 +00:00
dependabot[bot]
cffa72c21f
build(deps-dev): bump tsx in /services/discord-gateway
...
Bumps [tsx](https://github.com/privatenumber/tsx ) from 4.23.1 to 4.23.12.
- [Release notes](https://github.com/privatenumber/tsx/releases )
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs )
- [Commits](https://github.com/privatenumber/tsx/compare/v4.23.1...v4.23.12 )
---
updated-dependencies:
- dependency-name: tsx
dependency-version: 4.23.12
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-25 14:26:03 +00:00
mytheclipsebotreview[bot]
9b78abaf3d
Auto-merge PR #7
...
build(deps): bump the production group across 1 directory with 8 updates
2026-08-25 11:29:54 +00:00
dependabot[bot]
d06caa7e58
build(deps): bump the production group across 1 directory with 8 updates
...
Bumps the production group with 8 updates in the /services/discord-gateway directory:
| Package | From | To |
| --- | --- | --- |
| [ioredis](https://github.com/redis/ioredis ) | `5.11.1` | `6.0.0` |
| [openai](https://github.com/openai/openai-node ) | `6.49.0` | `7.5.0` |
| [opusscript](https://github.com/abalabahaha/opusscript ) | `0.0.8` | `0.1.1` |
| [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg ) | `8.22.0` | `8.23.0` |
| [pino](https://github.com/pinojs/pino ) | `9.14.0` | `10.3.1` |
| [piscina](https://github.com/piscinajs/piscina ) | `5.3.0` | `5.3.1` |
| [sharp](https://github.com/lovell/sharp ) | `0.34.5` | `0.35.3` |
| [ws](https://github.com/websockets/ws ) | `8.21.1` | `8.21.3` |
Updates `ioredis` from 5.11.1 to 6.0.0
- [Release notes](https://github.com/redis/ioredis/releases )
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md )
- [Commits](https://github.com/redis/ioredis/compare/v5.11.1...v6.0.0 )
Updates `openai` from 6.49.0 to 7.5.0
- [Release notes](https://github.com/openai/openai-node/releases )
- [Changelog](https://github.com/openai/openai-node/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openai/openai-node/compare/v6.49.0...v7.5.0 )
Updates `opusscript` from 0.0.8 to 0.1.1
- [Release notes](https://github.com/abalabahaha/opusscript/releases )
- [Commits](https://github.com/abalabahaha/opusscript/compare/0.0.8...0.1.1 )
Updates `pg` from 8.22.0 to 8.23.0
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.23.0/packages/pg )
Updates `pino` from 9.14.0 to 10.3.1
- [Release notes](https://github.com/pinojs/pino/releases )
- [Commits](https://github.com/pinojs/pino/compare/v9.14.0...v10.3.1 )
Updates `piscina` from 5.3.0 to 5.3.1
- [Release notes](https://github.com/piscinajs/piscina/releases )
- [Changelog](https://github.com/piscinajs/piscina/blob/v5.3.1/CHANGELOG.md )
- [Commits](https://github.com/piscinajs/piscina/compare/v5.3.0...v5.3.1 )
Updates `sharp` from 0.34.5 to 0.35.3
- [Release notes](https://github.com/lovell/sharp/releases )
- [Commits](https://github.com/lovell/sharp/compare/v0.34.5...v0.35.3 )
Updates `ws` from 8.21.1 to 8.21.3
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.21.1...8.21.3 )
---
updated-dependencies:
- dependency-name: ioredis
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: production
- dependency-name: openai
dependency-version: 7.5.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: production
- dependency-name: opusscript
dependency-version: 0.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: pg
dependency-version: 8.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: pino
dependency-version: 10.3.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: production
- dependency-name: piscina
dependency-version: 5.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
- dependency-name: sharp
dependency-version: 0.35.3
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
- dependency-name: ws
dependency-version: 8.21.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-25 11:24:34 +00:00
dependabot[bot]
28d09a24c9
build(deps-dev): bump typescript in /services/discord-gateway
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v7.0.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-version: 7.0.2
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-25 11:22:50 +00:00
dependabot[bot]
1ac3d50315
build(deps-dev): bump @types/node in /services/discord-gateway
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.9.5 to 26.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 26.2.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-25 11:15:57 +00:00
asepharyana
479f4719ba
refactor(ai): replace SearXNG with Wikipedia adapter for analysis enrichment
...
- Add wikipediaClient.ts: native fetch to Wikipedia REST/Action APIs
(search + summary), no extra npm dependency.
- Extract shared Redis cache into cacheStore.ts (decoupled from search).
- Term glossary now uses wikipediaSummary for direct article lookup.
- Remove searxngSearch.ts entirely; drop SEARXNG_BASE_URL config,
add WIKIPEDIA_LANG / WIKIPEDIA_TIMEOUT_MS.
- Rename backend searxngCalls metric to webSearchCalls.
2026-08-17 20:07:19 +07:00
asepharyana
9109d3c898
perf(golive): drop @dank074/discord-video-stream — node_modules 1.5GB → 423MB
...
Remove the last heavy GoLive dependency now that src/goLive/ replaces it:
- @dank074/discord-video-stream (pulled in @lng2004/node-datachannel
771MB, node-av 118MB + @seydx/node-av-linux-x64 167MB, zeromq 21MB,
fluent-ffmpeg 13MB — ~1.09GB total)
- onlyBuiltDependencies: drop node-av/zeromq/@lng2004 (keep opus/esbuild/sharp)
- pnpm.lock regenerated; orphan .pnpm dirs removed locally
- @discordjs/opus prebuild: rebuilt binary copied into
prebuild/node-v127-napi-v3-linux-x64-glibc-2.39/ (node-pre-gyp find path)
Verified: tsc 0 errors, vitest 8/8, biome clean, opus encode OK.
Fresh CI install now ~423MB instead of ~1.5GB.
2026-08-11 17:49:33 +07:00
asepharyana
493bca590d
fix(infra): build native voice deps (opus, datachannel) in Nix closure
...
Build & Deploy (Nix) / build-and-deploy (proxy) (push) Successful in 4m21s
Build & Deploy (Nix) / build-and-deploy (backend) (push) Successful in 4m22s
Build & Deploy (Nix) / build-and-deploy (discord-gateway) (push) Successful in 11m31s
pnpm 11 rebuild hanya jalanin script package yang di-approve via
pnpm-workspace.yaml (allowBuilds) DAN abort di kegagalan pertama.
Yaml harus tracked (flake source cuma ikut file git). Tapi pnpm rebuild
tetap gagal karena: (1) node-crc MSRV cargo:: error — dead dep, dihapus
dari deps+patch; (2) sharp install script gagal di sandbox — binary-nya
prebuilt @img, script cuma validasi — dikeluarkan dari approval list;
(3) node-datachannel prebuild CLI TypeError + cmake-js butuh cwd benar.
Fix: loop eksplisit di buildPhase gateway yang jalankan install script
tiap native dep (opus/node-datachannel/zeromq) dengan cwd package dir,
+ cmake (dontUseCmakeConfigure biar stdenv nggak auto-configure),
+ opensslDevEnv = symlinkJoin pkgsStatic.openssl.out (libcrypto.a —
CMakeLists set OPENSSL_USE_STATIC_LIBS=TRUE; pkgs.openssl default
output = bin tanpa lib) + openssl.dev (headers),
+ git (libdatachannel FetchContent clone dari GitHub).
Verifikasi: result store punya opus.node (compile source), node_datachannel.node
(compile source), node-av prebuilt, zeromq prebuilt; runtime smoke test:
PeerConnection instantiate+close OK, OpusEncoder encode OK, dank074
Streamer/prepareStream/playStream load OK.
2026-08-01 12:44:01 +07:00
asepharyana
891c1305f0
feat(gateway): restore Discord GoLive screenshare (dulu pernah ada, hilang saat split microservices)
...
User: 'dulu sharescreen juga bisa'. Terbukti: commit d50ce86 (Mei 2026)
punya src/media/screenShareController.ts + vendor @dank074/discord-video-stream,
hilang saat rombak monolith -> microservices. Interface ScreenShareController
masih ada di mediaTypes.ts tapi implementasinya tidak.
Restore:
- dep @dank074/discord-video-stream@6.0.0 (npm, dibangun untuk
discord.js-selfbot-v13 — cocok dengan stack gateway)
- mediaSource.getDirectVideoUrl (yt-dlp --get-url bestvideo+bestaudio)
- screenShareController.ts (BARU): Streamer(client) + prepareStream H264
720p30 + playStream go-live; owner check via discordPlayer
- media.handler: mode:'screen' di media:queue -> screen path; status
expose activeMode; stop matiin screen
- FE: tombol Screen di MusicPlayer + hook useMediaQueue({url, mode})
Verifikasi: gateway tsc PASS, FE tsc PASS, biome 0 error, next build PASS.
Nix build pending (dep native @lng2004/node-datachannel butuh pnpm rebuild).
2026-08-01 11:36:40 +07:00