diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 000000000..f14f679bf --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,6 @@ +# actionlint v1.7.12 bundles claude-code-action metadata older than v1.0.288, +# which added allow_fork_prs; drop this entry once actionlint knows the input. +paths: + .github/workflows/claude-pr-review.yml: + ignore: + - 'input "allow_fork_prs" is not defined in action "anthropics/claude-code-action@v1"' diff --git a/.github/claude/issue-analyst-context.md b/.github/claude/issue-analyst-context.md index 0234460f0..6c755c65d 100644 --- a/.github/claude/issue-analyst-context.md +++ b/.github/claude/issue-analyst-context.md @@ -148,6 +148,7 @@ It is paths-filtered, so a docs-only or workflow-only change produces no run. | `go-test` | `go test -shuffle=on -count=1` over every package except `frontend/node_modules` | | `race` | the same set under `-race -shuffle=on` | | `postgres-durable-first` | live PostgreSQL 16: the `PostgresCommitFailure` tests plus `TestHostAutoMigrateCreatesColumns_Postgres` and `TestMigrate_Postgres`. Both steps COUNT passes rather than assert on SKIP, so a renamed or deleted test fails the job | +| `xray-e2e` | `make xray-e2e`: the `XRAY_E2E_BINARY` tests in `internal/xray/`, `internal/web/service/` and `internal/amneziawgnet/` against the core pinned in `go.mod`, run as a real child process. A skip naming the binary fails the job | | `govulncheck` | known vulnerabilities | | `golangci` | `golangci-lint` | | `fuzz-smoke` | 30s each on `FuzzParseLink` and `FuzzDecodeCertPin` | @@ -155,13 +156,14 @@ It is paths-filtered, so a docs-only or workflow-only change produces no run. | `frontend` | lint, format:check, typecheck, `npm test` (Vitest + headless-Chromium Storybook), build, build-storybook, `npm audit` | **What CI does NOT prove.** These test families `t.Skip` unless an environment -variable is set, and CI sets only the PostgreSQL ones above: +variable is set. CI sets the PostgreSQL ones in `postgres-durable-first` and +`XRAY_E2E_BINARY` in `xray-e2e` only, so every other job still skips them: | gate | covers | | --- | --- | | `XUI_TEST_PG_DSN` | PostgreSQL-specific paths | | `XUI_DB_TYPE` + `XUI_DB_DSN` | dialect-dependent behaviour | -| `XRAY_E2E_BINARY` | the Xray gRPC end-to-end tests in `internal/xray/` | +| `XRAY_E2E_BINARY` | the real-core tests: Xray gRPC API, hot apply, balancer overrides, the AmneziaWG relay | | `XUI_SCALE_TEST` | scale tests in `internal/sub/`, `internal/web/job/`, `internal/web/service/` | Mutation testing (`mutation.yml`) runs nightly and never on a pull request, so a diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4399542e7..61cf1d935 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,25 @@ jobs: exit 1 fi + - name: PostgreSQL inbound add orphan cleanup + run: | + set -o pipefail + go test ./internal/web/service -run '^TestAddInboundClient(BoundedOrphanCleanup|OrphanProbePreservesConcurrentRecreation)Postgres$' -count=1 -v | tee /tmp/postgres-add-orphans.log + passed=$(grep -c -- '^--- PASS: TestAddInboundClient' /tmp/postgres-add-orphans.log || true) + if [ "$passed" -ne 2 ]; then + echo "expected both PostgreSQL inbound add orphan cleanup tests to pass, got $passed" >&2 + exit 1 + fi + + - name: PostgreSQL client traffic lifecycle edits + run: | + set -o pipefail + go test ./internal/web/service -run '^TestClientTrafficLifecyclePostgres$' -count=1 -v | tee /tmp/postgres-client-traffic-lifecycle.log + if ! grep -q -- '^--- PASS: TestClientTrafficLifecyclePostgres ' /tmp/postgres-client-traffic-lifecycle.log; then + echo "expected the PostgreSQL client traffic lifecycle suite to pass" >&2 + exit 1 + fi + - name: PostgreSQL batched stats identities run: | set -o pipefail @@ -112,6 +131,16 @@ jobs: exit 1 fi + - name: PostgreSQL Xray traffic retry + run: | + set -o pipefail + go test -p=1 ./internal/web/job ./internal/web/service -run '^TestXrayTraffic(PollRetriesRolledBackSample|BatchSurvivesFullQueueAndWriterRestart|BatchRetriesDeferredCommitFailure)Postgres$' -count=1 -v | tee /tmp/postgres-xray-traffic-retry.log + passed=$(grep -c -- '^--- PASS: TestXrayTraffic' /tmp/postgres-xray-traffic-retry.log || true) + if [ "$passed" -ne 3 ]; then + echo "expected 3 passing PostgreSQL Xray traffic retry tests, got $passed" >&2 + exit 1 + fi + - name: PostgreSQL global-traffic heartbeat regressions run: | set -o pipefail @@ -122,25 +151,55 @@ jobs: exit 1 fi - - name: PostgreSQL deferred-commit test + - name: PostgreSQL node client reconciliation rollback run: | set -o pipefail - go test ./internal/web/service/outbound -run '^TestAddTrafficReturnsDeferredCommitFailure$' -count=1 -v | tee /tmp/postgres-outbound.log - passed=$(grep -c -- '^--- PASS' /tmp/postgres-outbound.log || true) - if [ "$passed" -lt 1 ]; then - echo "expected at least 1 passing deferred-commit test, got $passed" >&2 + go test ./internal/web/service -run '^TestNode(ClientReconcileRollback|RefusedFirstAdoptionKeepsNodeSettings)Postgres$' -count=1 -v | tee /tmp/postgres-node-client-rollback.log + passed=$(grep -c -- '^--- PASS: TestNode' /tmp/postgres-node-client-rollback.log || true) + if [ "$passed" -ne 2 ]; then + echo "expected both PostgreSQL node client reconciliation rollback tests to pass, got $passed" >&2 + exit 1 + fi + + - name: PostgreSQL client usage history + run: | + set -o pipefail + go test ./internal/web/service -run '^TestClientUsageHistoryPostgres$' -count=1 -v | tee /tmp/postgres-usage-history.log + passed=$(grep -c -- '^--- PASS' /tmp/postgres-usage-history.log || true) + if [ "$passed" -ne 1 ]; then + echo "expected 1 passing PostgreSQL client usage history test, got $passed" >&2 + exit 1 + fi + + - name: PostgreSQL attach candidate selection + run: | + set -o pipefail + go test ./internal/web/service -run '^Test(AttachCandidatesSelection|FrozenAttachSelectionFollowsFilter)Postgres$' -count=1 -v | tee /tmp/postgres-attach-selection.log + passed=$(grep -c -- '^--- PASS' /tmp/postgres-attach-selection.log || true) + if [ "$passed" -ne 2 ]; then + echo "expected 2 passing PostgreSQL attach selection tests, got $passed" >&2 + exit 1 + fi + + - name: PostgreSQL depletion query regressions + run: | + set -o pipefail + go test ./internal/web/service -run '^TestDepletionQuery(Semantics|FreshnessAndReset|ConcurrentCommit|Renewals)$' -count=1 -v | tee /tmp/postgres-depletion-query.log + passed=$(grep -c -- '^--- PASS' /tmp/postgres-depletion-query.log || true) + if [ "$passed" -ne 4 ]; then + echo "expected 4 passing PostgreSQL depletion tests, got $passed" >&2 exit 1 fi - name: PostgreSQL schema and migration tests run: | set -o pipefail - go test ./internal/database -run '^(TestHostAutoMigrateCreatesColumns_Postgres|TestMigrate_Postgres|TestClientWeeklyRenewMigration_Postgres|TestMigrate_LegacyBooleanVerifyPeerCertByNameIsBlanked_Postgres|TestClientKeepAlivePostgresMigrationPreservesLegacyScalars|TestPostgresModelSettled_TracksSchemaPresence)$' -count=1 -v | tee /tmp/postgres-schema.log + go test ./internal/database -run '^(TestHostAutoMigrateCreatesColumns_Postgres|TestMigrate_Postgres|TestClientWeeklyRenewMigration_Postgres|TestMigrate_LegacyBooleanVerifyPeerCertByNameIsBlanked_Postgres|TestClientKeepAlivePostgresMigrationPreservesLegacyScalars|TestPostgresModelSettled_TracksSchemaPresence|TestEnsureClientGroupRows_Postgres)$' -count=1 -v | tee /tmp/postgres-schema.log # All must pass. Counting, not SKIP-matching: renaming a test would # otherwise leave this step green while testing nothing. passed=$(grep -c -- '^--- PASS' /tmp/postgres-schema.log || true) - if [ "$passed" -lt 6 ]; then - echo "expected at least 6 passing PostgreSQL schema tests, got $passed" >&2 + if [ "$passed" -lt 7 ]; then + echo "expected at least 7 passing PostgreSQL schema tests, got $passed" >&2 exit 1 fi @@ -280,6 +339,22 @@ jobs: make node-e2e 2>&1 | tee /tmp/node-e2e.log if grep -q -- '--- SKIP' /tmp/node-e2e.log; then echo "node-e2e skipped"; exit 1; fi + # The core pinned in go.mod as a real child process, driven over its gRPC API. + # A skip naming the binary means it was never handed over, so it fails the job. + xray-e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 + with: + go-version-file: go.mod + cache: true + - name: Real core end to end + run: | + set -o pipefail + make xray-e2e 2>&1 | tee /tmp/xray-e2e.log + if grep -q -- '_test.go:[0-9]*: .*XRAY_E2E_BINARY' /tmp/xray-e2e.log; then echo "a real-core test skipped"; exit 1; fi + # Brief native-fuzz smoke on the security-/parser-critical decoders. Each runs the # generated corpus plus 30s of exploration; a crash here is a real input-handling bug. fuzz-smoke: @@ -383,6 +458,15 @@ jobs: - name: Build Storybook run: npm run build-storybook working-directory: frontend + - name: Inbound keyboard and accessibility tree + working-directory: frontend + run: | + set -euo pipefail + ./node_modules/.bin/vite preview --outDir storybook-static --host 127.0.0.1 --port 6006 > /tmp/inbound-preview.log 2>&1 & + preview_pid=$! + trap 'kill "$preview_pid" 2>/dev/null || true' EXIT + curl --retry 30 --retry-connrefused --retry-delay 1 --retry-max-time 45 -fsS http://127.0.0.1:6006/iframe.html > /dev/null + node tools/check-inbound-keyboard.mjs http://127.0.0.1:6006 - name: Audit run: npm run audit working-directory: frontend diff --git a/.github/workflows/claude-pr-review.yml b/.github/workflows/claude-pr-review.yml index bca3ffa15..7f9d66ad7 100644 --- a/.github/workflows/claude-pr-review.yml +++ b/.github/workflows/claude-pr-review.yml @@ -143,6 +143,9 @@ jobs: # Only a fork author lacks write access; an `@claude review` requester passes # the action's own check, so the bypass stays off for it. allowed_non_write_users: ${{ github.event_name == 'pull_request_target' && '*' || '' }} + # Since v1.0.288 the action skips fork pull requests unless told otherwise; the + # head is only ever read from pr-head/ at the pinned SHA, with a read-only token. + allow_fork_prs: "true" # Claude Code loads a CLAUDE.md or .claude/rules/ file the moment a file # beside it is read, so a fork's copy under pr-head/ would brief its own review. settings: '{"claudeMdExcludes": ["**/pr-head/**"]}' diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index 735bbed33..bfc388f63 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -7,12 +7,14 @@ on: - 'docs/**' - 'frontend/public/openapi.json' - 'frontend/src/pages/api-docs/endpoints.ts' + - 'internal/sub/default.json' - '.github/workflows/docs-ci.yml' pull_request: paths: - 'docs/**' - 'frontend/public/openapi.json' - 'frontend/src/pages/api-docs/endpoints.ts' + - 'internal/sub/default.json' - '.github/workflows/docs-ci.yml' permissions: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c24efecf..82e130e75 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,7 +115,7 @@ jobs: cd x-ui/bin # Download dependencies - Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.10.31/" + Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.11.9/" if [ "${{ matrix.platform }}" == "amd64" ]; then fetch ${Xray_URL}Xray-linux-64.zip unzip Xray-linux-64.zip @@ -283,7 +283,7 @@ jobs: cd x-ui\bin # Download Xray for Windows - $Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.10.31/" + $Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.11.9/" Invoke-WebRequest @retry -Uri "${Xray_URL}Xray-windows-64.zip" -OutFile "Xray-windows-64.zip" Expand-Archive -Path "Xray-windows-64.zip" -DestinationPath . Remove-Item "Xray-windows-64.zip" diff --git a/.gitignore b/.gitignore index 3883a1adf..dc327b6fb 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,7 @@ bin/ x-ui/ dist/ release/ -node_modules/ +node_modules # Ignore compiled binaries main diff --git a/.oss-scanner/Dockerfile b/.oss-scanner/Dockerfile index dcb430bf7..e1956b546 100644 --- a/.oss-scanner/Dockerfile +++ b/.oss-scanner/Dockerfile @@ -4,7 +4,7 @@ FROM node:26-trixie-slim AS node -FROM golang:1.27.3-trixie +FROM golang:1.27.4-trixie ENV DEBIAN_FRONTEND=noninteractive \ CGO_ENABLED=1 \ diff --git a/CLAUDE.md b/CLAUDE.md index 5c0986587..1302608ba 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,6 +63,12 @@ file locations when it can answer in one hop. CPU/memory watchdogs, …); full table in `docs/architecture.md` §5.4. - `middleware/`, `entity/`, `global/`, `session/` (CSRF), `network/`, `runtime/` (master/sub-node over mTLS), `websocket/`. + - `mcp/` — MCP server at `POST /panel/api/mcp` (official go-sdk, stateless). + Tools never call services: each re-enters the router via `dispatcher.call` + with the caller's credentials, so auth, scopes and `runtime.Runtime` apply. + One file per toolset (`tools_.go`, `?toolsets=` filter); every tool + needs a `toolCase`, or `TestToolsHitDocumentedRoutes` fails. Niche routes + stay reachable through `call_api` instead of getting their own tool. - `locale/` + `translation/` — i18n, 14 embedded locale JSON files. - `frontend/` — React + TS source (see `frontend/CLAUDE.md`). - `tools/openapigen/` — Go generator that emits frontend types + Zod/JSON schemas @@ -194,9 +200,11 @@ reads as a broken repo, not a missing step. Run `make dist-stub` once; every That is the *fast* gate, not all of CI. `ci.yml` also runs `make race`, `make vulncheck`, a live-Postgres job (where a SKIP counts as a failure), -`make node-e2e` (a real master and node panel, `internal/nodee2e/`) and a -30s fuzz smoke on `FuzzParseLink`/`FuzzDecodeCertPin` — run those locally when -you touch DB/dialect, node sync or parser code. Node sync has two layers: every +`make node-e2e` (a real master and node panel, `internal/nodee2e/`), +`make xray-e2e` (the `XRAY_E2E_BINARY` tests against the core pinned in `go.mod`, +run as a real child process) and a 30s fuzz smoke on +`FuzzParseLink`/`FuzzDecodeCertPin` — run those locally when you touch +DB/dialect, node sync, the Xray gRPC API or hot apply, or parser code. Node sync has two layers: every `runtime.Remote` call gets a cell in `internal/web/node_contract_test.go` (fast, in `make test-go`; a method without one fails it), and a multi-tick flow (cron, adopt, node down) gets one in `internal/nodee2e/node_sync_test.go`. diff --git a/DockerInit.sh b/DockerInit.sh index e4e4ea879..52b363eef 100755 --- a/DockerInit.sh +++ b/DockerInit.sh @@ -52,7 +52,7 @@ if [ -z "$MTG_MULTI_VER" ]; then fi mkdir -p build/bin cd build/bin -curl -sfLRO "https://github.com/XTLS/Xray-core/releases/download/v26.10.31/Xray-linux-${XRAY_ZIP}.zip" +curl -sfLRO "https://github.com/XTLS/Xray-core/releases/download/v26.11.9/Xray-linux-${XRAY_ZIP}.zip" unzip "Xray-linux-${XRAY_ZIP}.zip" rm -f "Xray-linux-${XRAY_ZIP}.zip" geoip.dat geosite.dat mv xray "${XRAY_BIN}" diff --git a/Makefile b/Makefile index 9eed80c0e..ac9712a36 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,14 @@ node-e2e: dist-stub ## Master+node sync end to end with two real panel processes go build -o $(NODE_E2E_BIN) . XUI_NODE_E2E_BINARY=$(NODE_E2E_BIN) go test -count=1 -timeout 20m -v ./internal/nodee2e/ +.PHONY: xray-e2e +# The core pinned in go.mod as a real child process; test-go only runs these as skips. +XRAY_E2E_BIN = $(CURDIR)/.cache/xray-e2e/xray$(shell go env GOEXE) +XRAY_E2E_PKGS = $(shell grep -rl --include='*_test.go' 'Getenv("XRAY_E2E_BINARY")' internal | xargs -n1 dirname | sort -u | sed 's|^|./|') +xray-e2e: dist-stub ## Real-core tests against the xray-core pinned in go.mod + go build -o $(XRAY_E2E_BIN) github.com/xtls/xray-core/main + XRAY_E2E_BINARY=$(XRAY_E2E_BIN) go test -count=1 -timeout 20m -v $(XRAY_E2E_PKGS) + .PHONY: test-fe test-fe: ## Frontend tests (vitest) cd $(FRONTEND) && npm test diff --git a/README.ar_EG.md b/README.ar_EG.md index 12d8f3146..5c0baa984 100644 --- a/README.ar_EG.md +++ b/README.ar_EG.md @@ -200,6 +200,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (الترخيص: **MIT**): _إدارة الاتصالات الواردة والعملاء وإعدادات اللوحة وتكوين Xray كرمز باستخدام Terraform / OpenTofu._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (الترخيص: **MIT**): _عميل أندرويد أصلي لـ 3x-ui — لوحة التحكم، الاتصالات الواردة، العملاء مع مشاركة رمز QR، العقد وإدارة عدة لوحات. متاح على F-Droid._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (الترخيص: **MIT**): _مُصدِّر Prometheus خفيف ولوحة Grafana لـ 3x-ui و Xray Core — معدل نقل البيانات في الوقت الفعلي، العملاء النشطون، المقابس المفتوحة، الموازِنات وحالة زمن الاستجابة._ ## دعم المشروع diff --git a/README.es_ES.md b/README.es_ES.md index 1b8393cf3..9701d2856 100644 --- a/README.es_ES.md +++ b/README.es_ES.md @@ -200,6 +200,7 @@ Herramientas e integraciones construidas por la comunidad alrededor de 3x-ui. - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (Licencia: **MIT**): _Gestiona inbounds, clientes, configuración del panel y configuración de Xray como código con Terraform / OpenTofu._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (Licencia: **MIT**): _Cliente nativo de Android para 3x-ui — panel de control, inbounds, clientes con compartición por QR, nodos y gestión de múltiples paneles. Disponible en F-Droid._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (Licencia: **MIT**): _Exportador ligero de Prometheus y panel de Grafana para 3x-ui y Xray Core — tráfico en tiempo real, clientes activos, sockets abiertos, balanceadores y estado de latencia._ ## Apoyar el Proyecto diff --git a/README.fa_IR.md b/README.fa_IR.md index 6e62fd38f..e59fb0af5 100644 --- a/README.fa_IR.md +++ b/README.fa_IR.md @@ -200,6 +200,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (مجوز: **MIT**): _مدیریت اینباندها، کلاینت‌ها، تنظیمات پنل و پیکربندی Xray به‌صورت کد با Terraform / OpenTofu._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (مجوز: **MIT**): _کلاینت بومی اندروید برای 3x-ui — داشبورد، اینباندها، کلاینت‌ها با اشتراک‌گذاری QR، نودها و مدیریت چند پنل. در F-Droid در دسترس است._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (مجوز: **MIT**): _اکسپورتر سبک Prometheus و داشبورد Grafana برای 3x-ui و Xray Core — نرخ ترافیک لحظه‌ای، کلاینت‌های فعال، سوکت‌های باز، بالانسرها و وضعیت تأخیر._ ## پشتیبانی از پروژه diff --git a/README.md b/README.md index 5465a5d5b..43b47f079 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,7 @@ Tools and integrations built by the community around 3x-ui. - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (License: **MIT**): _Manage inbounds, clients, panel settings, and Xray configuration as code with Terraform / OpenTofu._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (License: **MIT**): _Native Android client for 3x-ui — dashboard, inbounds, clients with QR sharing, nodes and multi-panel management. Available on F-Droid._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (License: **MIT**): _Lightweight Prometheus exporter and Grafana dashboard for 3x-ui and Xray Core — real-time traffic throughput, active clients, open sockets, balancers, and latency health._ ## Support project diff --git a/README.ru_RU.md b/README.ru_RU.md index cd634087d..fa6aa0979 100644 --- a/README.ru_RU.md +++ b/README.ru_RU.md @@ -200,6 +200,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (Лицензия: **MIT**): _Управление входящими, клиентами, настройками панели и конфигурацией Xray через код с помощью Terraform / OpenTofu._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (Лицензия: **MIT**): _Нативный Android-клиент для 3x-ui — дашборд, входящие, клиенты с QR, узлы и управление несколькими панелями. Доступен в F-Droid._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (Лицензия: **MIT**): _Лёгкий экспортер Prometheus и дашборд Grafana для 3x-ui и Xray Core — трафик в реальном времени, активные клиенты, открытые сокеты, балансировщики и состояние задержек._ ## Поддержка проекта diff --git a/README.tr_TR.md b/README.tr_TR.md index cc88e32fb..5daf90acd 100644 --- a/README.tr_TR.md +++ b/README.tr_TR.md @@ -200,6 +200,7 @@ Katkılarınızı her zaman bekliyoruz. Bir sorun (issue) açmadan veya pull req - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (Lisans: **MIT**): _Gelen bağlantılarnı, kullanıcıları, panel ayarlarını ve Xray yapılandırmasını Terraform / OpenTofu ile kod olarak (as code) yönetin._ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (Lisans: **MIT**): _3x-ui için yerel Android istemcisi — kontrol paneli, gelen bağlantılar, QR ile paylaşımlı kullanıcılar, düğümler ve çoklu panel yönetimi. F-Droid'de mevcut._ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (Lisans: **MIT**): _3x-ui ve Xray Core için hafif Prometheus dışa aktarıcısı ve Grafana panosu — gerçek zamanlı trafik hızı, aktif kullanıcılar, açık soketler, dengeleyiciler ve gecikme durumu._ ## Projeyi Destekleyin diff --git a/README.zh_CN.md b/README.zh_CN.md index 4dcdc32ce..f03cb0d25 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -200,6 +200,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 - [terraform-provider-3x-ui](https://github.com/batonogov/terraform-provider-threexui) (许可证: **MIT**): _使用 Terraform / OpenTofu 通过代码管理入站、客户端、面板设置和 Xray 配置。_ - [3X-UI Manager](https://github.com/yukh975/3X-UI-Manager) (许可证: **MIT**): _3x-ui 的原生 Android 客户端 — 仪表板、入站、带二维码分享的客户端、节点以及多面板管理。可在 F-Droid 获取。_ +- [3x-ui-exporter](https://github.com/nike38rus/3x-ui-exporter) (许可证: **MIT**): _适用于 3x-ui 和 Xray Core 的轻量级 Prometheus 导出器和 Grafana 仪表板 — 实时流量吞吐、活跃客户端、打开的套接字、负载均衡器和延迟健康状况。_ ## 支持项目 diff --git a/REVIEW.md b/REVIEW.md index 165dac943..93c2dd76c 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -178,7 +178,8 @@ near-certain about and that actually breaks something: - "CI passed" is a claim too, and needs the same evidence: say it only of a run you actually read. A green one proves less here than it looks — only `postgres-durable-first` runs against PostgreSQL, `go-test` and `race` are - SQLite, and `XRAY_E2E_BINARY` and `XUI_SCALE_TEST` are set by no job, so + SQLite, only `xray-e2e` starts the real core (the gRPC API and hot-apply + tests skip in every other job), and `XUI_SCALE_TEST` is set by no job, so those tests have never run in CI at all. Where a change touches dialect, migration or Xray gRPC code that no job exercised, say it is unverified rather than repeating a green tick as proof. diff --git a/docs/architecture.md b/docs/architecture.md index 4c60361ed..22cf83c74 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -418,6 +418,7 @@ All registered in `web.go` → `startTask()`. Each is a struct with a `Run()` me | `@every 10s` | `mtproto_job` | Reconcile `mtg` sidecars against enabled MTProto inbounds | | `@every 10s` | `amneziawg_job` | Reconcile embedded AmneziaWG interfaces against enabled local inbounds | | `@every 5m` | `outbound_subscription_job` | Refresh outbound provider configs | +| `@every 5m` | `reap_sync_orphans_job` | Delete sync-orphaned clients, then the history of emails no client holds | | `@every 10m` | `clear_logs_job` (`PruneXrayLogsJob`) | Truncate Xray access/error logs once either exceeds 64 MiB | | `@hourly` | `warp_ip_job`, `periodic_traffic_reset_job("hourly")` | WARP IP rotation; traffic resets | | `@daily` | `clear_logs_job`, `periodic_traffic_reset_job("daily")`, `periodic_traffic_reset_job("monthly")` | IP-limit and Xray access/error log cleanup; daily resets and due monthly resets | diff --git a/docs/content/docs/en/config/amneziawg.mdx b/docs/content/docs/en/config/amneziawg.mdx index 08ee6abfc..92152a2f4 100644 --- a/docs/content/docs/en/config/amneziawg.mdx +++ b/docs/content/docs/en/config/amneziawg.mdx @@ -164,6 +164,33 @@ after it is not charged. Interfaces and configs the panel cannot prove are its own — a same-named link with a different key, or an unmarked, non-regular or symlinked config file — are never changed or removed. +### Reboots and kernel module updates + +The installer registers amneziawg in `/etc/modules-load.d/amneziawg.conf` so the +host loads it during boot. If you installed it with an older panel build and +kernel mode stops working after reboot, rerun the `install-awg-kernel` command +above using a build that includes boot registration. + +Run these checks on the host to identify the installed and loaded module. + +```sh +modinfo amneziawg +lsmod | grep '^amneziawg ' +awg --version +``` + +`modinfo` looks up the module built for the running kernel. `lsmod` lists the +module only after the kernel has loaded it. The panel's systemd service cannot +load kernel modules itself, so kernel mode requires the host to load amneziawg +before the panel starts. + +Use the same `install-awg-kernel` command to update the module and tools to the +versions pinned by your panel build. The installer prints the source tags. +`modinfo` reports the version declared by the compiled module, which can differ +from its source tag. An in-use module stays loaded during the install. Schedule +a maintenance reboot to load the updated module and allow for tunnel +interruption. + ## Keepalive ranges AmneziaWG clients accept `keepAlive` as a number or an ordered range from 0 to 65535, such as `15-25`. Omitted values keep the existing setting; explicit `0` disables keepalive. Native `.conf` files preserve ranges, while Clash/Mihomo scalar-only output uses the lower bound (`0-25` therefore disables keepalive). Plain WireGuard clients support only a scalar value. Upgrade sub-nodes before sending them range values because older nodes parse keepalive as an integer. diff --git a/docs/content/docs/en/config/clients.mdx b/docs/content/docs/en/config/clients.mdx index ff26ec202..79c8a3300 100644 --- a/docs/content/docs/en/config/clients.mdx +++ b/docs/content/docs/en/config/clients.mdx @@ -32,6 +32,32 @@ inbounds** at once, with per-client traffic accounting. (`restartXrayOnClientDisable`, on by default). +## Block a subscription device + +Open a client's **HWID Devices** list from the edit form or info card and select +**Block** beside the device. **Unblock** restores its access. Bans apply to that +subscription ID, including any clients sharing it, even when **HWID Limit** is +`0` (unlimited). They do not affect the same device on a different subscription. + +![HWID device blocking](/images/hwid-device-blocking.png) + +Example device list with one allowed device and one blocked device. The screenshot uses synthetic Storybook data. + +Blocked devices are marked in red and do not consume device slots. Clearing +the list or reducing the device limit preserves bans. To remove a blocked +entry, unblock it first. Existing devices remain unblocked after upgrading. + +A matching `X-HWID` receives HTTP `404` with `X-Hwid-Blocked: true` from the +Raw/Base64, JSON, Clash/Mihomo and legacy Clash subscription-body routes. Bans +depend on the HWID supplied by the app: a changed or omitted HWID cannot identify +the banned device. Previously downloaded configurations and copied credentials +are not revoked; apps can retain them after a failed subscription refresh. + +The authenticated panel API uses +`POST /panel/api/clients/hwids/:email/:id/block` with JSON `{"blocked": true}` +to block, or `{"blocked": false}` to unblock. The device list includes a +`blocked` boolean for each entry. Missing or non-boolean values are rejected. + ## Limits and IP control - **Traffic / expiry** caps disable the client when hit; a **Reset** period diff --git a/docs/content/docs/en/config/inbounds.mdx b/docs/content/docs/en/config/inbounds.mdx index 919eaf3ec..7cbdf15c5 100644 --- a/docs/content/docs/en/config/inbounds.mdx +++ b/docs/content/docs/en/config/inbounds.mdx @@ -43,6 +43,12 @@ periodic **traffic reset** schedule: `never` (default), `hourly`, `daily`, For `monthly` resets, select a day from 1 to 31. If the selected day does not exist in a shorter month, the reset runs on that month's last day. + +Enable **Keep client usage** to reset only the inbound's counters on its schedule. +Clients keep their accumulated usage until their own reset. With the switch off, +the schedule also resets the attached clients' usage, including their usage on +other inbounds. Upgrade the master and the nodes hosting the inbound before +enabling this option on a managed inbound. diff --git a/docs/content/docs/en/config/meta.json b/docs/content/docs/en/config/meta.json index c6de02cc0..e2e0182ff 100644 --- a/docs/content/docs/en/config/meta.json +++ b/docs/content/docs/en/config/meta.json @@ -12,6 +12,7 @@ "transports", "clients", "subscription", + "routing-profiles", "share-links" ] } diff --git a/docs/content/docs/en/config/panel.mdx b/docs/content/docs/en/config/panel.mdx index 16f68b49c..556175d21 100644 --- a/docs/content/docs/en/config/panel.mdx +++ b/docs/content/docs/en/config/panel.mdx @@ -49,6 +49,87 @@ can obtain a Let's Encrypt certificate for you — or terminate TLS at a | `timeLocation` | `Local` | Time zone for stats and expiry. | | `datepicker` | `gregorian` | Calendar for date inputs (Gregorian or Jalali/Persian). | +## Network traffic interface + +In **Settings → General → Panel settings**, use **Network Traffic Interface** +to select the source of system traffic totals and throughput. It does not change +Xray client quotas, client billing counters, or inbound traffic accounting. + +| Setting | Default | Meaning | +| --- | --- | --- | +| `networkTrafficMode` | `legacy` | `legacy`, `auto`, or `manual`. | +| `networkTrafficInterface` | _(empty)_ | Exact interface name used in manual mode, such as `eth0`, `ens3`, or `enP6129s1`. | + +- **All interfaces (Legacy)** remains the default on new installations and upgrades. + It sums the same interfaces as before, excluding the existing loopback and virtual + interface prefixes. Stacked interfaces, such as Azure's synthetic interface and + its SR-IOV function, can represent the same traffic and be counted twice. +- **Automatic** reads Linux's main routing table through netlink without executing + shell commands or sending network probes. Among usable default routes, IPv4 is + preferred to IPv6. The lowest route metric wins within that family; equal metrics + use the interface name as a deterministic tie-breaker. IPv6-only systems use their + IPv6 default route. ECMP also selects a single usable next hop. + Only the selected interface is counted, including virtual + interfaces when the default route uses one. Policy-routing tables and + destination-specific route selection are outside this primary-route heuristic. +- **Manual** lists interfaces dynamically and counts only the exact selected name. + Explicit selections bypass the legacy virtual-interface exclusions. The backend + validates that a newly selected interface exists when settings are saved. + An unchanged saved selection may remain unavailable, so unrelated settings can + still be edited while the interface is absent. + +![Manual network traffic interface selection](/images/network-traffic-interface.png) + +![Automatic default-route interface resolution](/images/network-traffic-automatic.png) + +These screenshots render the settings component locally with example interface names. + +Automatic detection runs on each status collection, normally every two seconds, +so route changes take effect on the next sample. If detection fails, a selected +interface disappears, or counters cannot be read, the network metrics are marked +unavailable. The dashboard and bot reports show this state, and histories omit +unavailable samples. No other interface or aggregation mode is substituted. +When the interface returns, normal collection resumes automatically. + +Speed and packet-rate calculations start from a new baseline after a mode change, +interface change, detected device recreation, counter decrease/reset, or a failed +sample. The first comparable sample resumes normal rates. Totals remain the +selected kernel counters, rather than monthly billing totals; existing history +can contain samples collected under previous interface selections. + +Each panel, including a sub-node, selects interfaces in its own network namespace. +In a Docker bridge network these are container interfaces, not host-wide traffic. +Host interfaces are visible only when the deployment shares the host network +namespace. Reading interfaces, routes, and counters requires no `CAP_NET_ADMIN`, +firewall rules, nftables setup, Python process, or additional daemon. The existing +Docker capabilities needed by other features are unrelated to this setting. + +Legacy and manual modes remain available on supported non-Linux platforms. +Automatic mode currently requires Linux; other platforms show an explicit +detection error and should use manual or legacy mode. + +Settings persist in the existing key/value settings table; no schema migration is +needed. Database backups retain the selection. **Keep this machine's settings** on +import preserves the destination panel's selection, including a missing setting +that uses the legacy default. An imported manual interface that does not exist +is reported as unavailable rather than replaced. + +Older settings API clients that omit the new fields preserve the current selection. +Send an explicit `networkTrafficMode: "legacy"` to restore legacy aggregation. + +Authenticated administrators can list interfaces with +`GET /panel/api/server/networkInterfaces`. It uses the existing response envelope +and returns interface names/up state plus the automatic choice or detection error. +Status responses retain `netTraffic` and `netIO` and add `networkInterface` +(`mode`, `name`, `available`, `error`), together with the existing +`unavailableMetrics` list when collection fails. Older status responses without +this metadata remain compatible. + +The default-route selection approach was inspired by +[IPv6Monitor](https://github.com/HamedSanaei/ipv6monitor). Its Python daemon, +database, and nftables accounting are not used. Separate IPv4/IPv6 traffic counters +are outside this feature's scope: the selected interface's counters include both. + ## Security & authentication Credentials, two-factor auth, the brute-force limiter, sessions, and LDAP are diff --git a/docs/content/docs/en/config/routing-profiles.mdx b/docs/content/docs/en/config/routing-profiles.mdx new file mode 100644 index 000000000..822833d29 --- /dev/null +++ b/docs/content/docs/en/config/routing-profiles.mdx @@ -0,0 +1,408 @@ +--- +title: Routing for Happ, Clash/Mihomo and Incy +description: How to write the JSON and YAML routing profiles served in subscriptions — the Happ format, Clash/Mihomo rules and the Incy profile — and how the panel accepts and validates them. +icon: GitBranch +--- + +The panel can hand clients a ready routing profile: which sites and IPs go +direct, which go through the proxy and which are blocked. The profile format +depends on the app: + +| App | Profile format | Where to set it in the panel | +| ------------------ | ----------------------------------- | ------------------------------------------- | +| **Happ** | JSON (as a `happ://` link) | Subscription settings → **Happ** tab | +| **Clash / Mihomo** | YAML (rules, groups, providers) | **Clash / Mihomo** tab | +| **Incy** | JSON (as an `incy://` link) | **Incy** tab → **Routing** | + +Each of the three fields accepts **either the profile itself** (inline) **or +one permanent HTTPS URL** to a file, for example a raw gist. A URL lets you +change the rules without opening the panel. + +## How the panel handles a remote URL + +In the Happ and Clash / Mihomo fields, a value that is a single `https://...` +line is treated as a remote source that the panel fetches itself: + +- the panel downloads it **in the background** and caches it for 10 minutes; a + subscription request never waits for the source; +- the file is validated; if it is invalid the panel **keeps serving the last + working value** and logs a warning; +- only `https://` is allowed, with no credentials in the URL, and the host must + be public (local and internal addresses are blocked); +- redirects are followed (up to 5) but must stay on `https://`; +- limits: Clash 2 MiB; Happ 16 KiB for the download and 8 KiB for the value + after Base64 encoding, which is about 6 KiB of JSON; 6 second request timeout. + +The Incy field is different: the panel never downloads an Incy URL. It only +checks that the URL is `https://` without credentials and hands it to the app, +which fetches and refreshes the profile itself (see the Incy section below). + +Use the **raw** link (`gist.githubusercontent.com/.../raw/...`), not the gist +page. + +--- + +## Happ + +### Where to enter it + +**Settings → Subscription → Happ → Routing & rules**: + +1. turn on **Enable routing** (sends `Routing-Enable: true`); +2. put one of these in **Routing rules**: + - a ready `happ://routing/onadd/` link; + - a permanent HTTPS URL to **JSON** or to a file containing a `happ://` link; + - `happ://routing/off` to turn routing off on the client. + +The panel sends the value to the client in the `Routing` header. If the HTTPS +file contains plain JSON, the panel converts it to +`happ://routing/onadd/` itself. The source may also answer with a +redirect to `happ://...`, which is accepted too (this is how services such as +routing.help publish a profile). + +If the field is empty but the **JSON subscription routing profile** +(`subJsonRoutingRules`) is set, that profile is sent as the `Routing` header +automatically. + +The fastest start is the **routing presets** (Iran Bypass, China Direct, +Global, LAN bypass, optionally with ad blocking) or the **visual rule +builder**, which loads the current profile and lets you edit the lists or the +full JSON. + +### JSON format + +A profile is one JSON object. Happ writes flag values as strings (`"true"`, +`"false"`) and lists as arrays of strings. + +```json +{ + "Name": "My Routing", + "GlobalProxy": "true", + "RouteOrder": "block-proxy-direct", + + "RemoteDNSType": "DoH", + "RemoteDNSDomain": "https://cloudflare-dns.com/dns-query", + "RemoteDNSIP": "1.1.1.1", + "DomesticDNSType": "DoH", + "DomesticDNSDomain": "https://dns.alidns.com/dns-query", + "DomesticDNSIP": "223.5.5.5", + "DnsHosts": { + "cloudflare-dns.com": "1.1.1.1", + "dns.alidns.com": "223.5.5.5" + }, + + "DirectSites": ["geosite:private", "geosite:cn", "domain:example.cn"], + "DirectIp": ["geoip:cn", "geoip:private", "192.168.0.0/16"], + "ProxySites": [], + "ProxyIp": [], + "BlockSites": ["geosite:category-ads-all"], + "BlockIp": [], + + "DomainStrategy": "IPIfNonMatch", + "FakeDNS": "false", + "UseChunkFiles": "true" +} +``` + +| Field | Type | Meaning | +| ----- | ---- | ------- | +| `Name` | string | Profile name shown in the app. | +| `GlobalProxy` | `"true"`/`"false"` | Global mode: anything not matched by a rule goes through the proxy. | +| `RouteOrder` | string | Group check order joined by dashes: `block-proxy-direct`, `block-direct-proxy`, … The **first** matching group wins. Allowed words: `block`, `proxy`, `direct`; repeats are ignored. | +| `DirectSites` / `ProxySites` / `BlockSites` | array of strings | Domains: direct / via proxy / blocked. | +| `DirectIp` / `ProxyIp` / `BlockIp` | array of strings | IPs and subnets, same three groups. | +| `RemoteDNSDomain`, `RemoteDNSIP`, `RemoteDNSType` | string | DNS for proxied traffic (`DoH` and an `https://.../dns-query` address). | +| `DomesticDNSDomain`, `DomesticDNSIP`, `DomesticDNSType` | string | DNS for the "direct" domains. | +| `DnsHosts` | object name → IP | Static records, so DoH hosts do not need DNS to resolve themselves. | +| `DomainStrategy` | string | Xray strategy: `AsIs`, `IPIfNonMatch`, `IPOnDemand`. | +| `FakeDNS`, `UseChunkFiles` | `"true"`/`"false"` | Happ extensions; the panel passes them to the client unchanged. | + +Unknown fields are **not lost**: the panel and the editor keep them and pass +them to Happ. + +### List entry syntax + +Entries use Xray routing syntax: + +| Entry | Matches | +| ----- | ------- | +| `geosite:category-ads-all` | A category from `geosite.dat`. | +| `geosite:private`, `geoip:private` | Local/private addresses. | +| `geoip:ir`, `geoip:cn` | A country from `geoip.dat`. | +| `domain:example.com` | The domain and all its subdomains. | +| `full:www.example.com` | Exactly this domain. | +| `keyword:ads` | Any domain containing the substring. | +| `regexp:\\.ru$` | A regular expression. | +| `10.0.0.0/8`, `1.2.3.4` | A CIDR subnet or a single IP. | + +An entry without a prefix is a domain substring; write `domain:` for precision. +`geosite:`/`geoip:` categories must exist in the client's `.dat` files; the +panel sends them in the `Routing` header so Happ fetches the right geo files. + +### Building a `happ://` link by hand + +A link is the prefix plus the JSON in Base64 (UTF-8): + +```text +happ://routing/onadd/ +``` + +`onadd` adds the profile and activates it; `add` only adds it. The panel +accepts standard and URL-safe Base64, with or without `=`. From PowerShell: + +```powershell +$json = Get-Content .\routing.json -Raw -Encoding UTF8 +$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($json)) +"happ://routing/onadd/$b64" +``` + +The final value must stay under 8 KiB and be a single line. + +### What the panel does with this JSON in JSON subscriptions + +For clients that read the config from the body of a JSON subscription, the +profile is **baked into** the `dns` and `routing` sections: + +- group order comes from `RouteOrder`, default `block`, `direct`, `proxy`; +- empty lists are skipped and a final "everything else → `proxy`" rule is + always appended; +- `DomainStrategy` defaults to `IPIfNonMatch`; +- DNS: a domestic server (`DomesticDNS*`, default `https://77.88.8.8/dns-query`) + is added for `DirectSites`, everything else uses `RemoteDNS*` (default + `https://8.8.8.8/dns-query`); `DnsHosts` is copied to `dns.hosts`. + +Types must be exact: string is a string, a list is an array of strings, +`DnsHosts` is a string → string object. Otherwise the profile is dropped, the +subscription is served with default routing and a warning is logged. + +--- + +## Clash / Mihomo + +### Where to enter it + +**Settings → Subscription → Clash / Mihomo**: + +1. turn on **Enable routing**; +2. fill in **Global routing rules**, either inline or with one HTTPS URL to YAML. + +The rules apply to profiles at `subClashPath` and `/mihomo/`. The +`/clash-legacy/` endpoint (Clash for Windows) always serves a minimal profile +and **ignores** these settings. + +### What the profile already contains + +The panel builds the base itself: + +```yaml +proxies: # all your nodes, named by their remarks + - { name: "node-1", type: vless, ... } +proxy-groups: + - name: PROXY # select: all nodes + DIRECT + type: select + proxies: [node-1, DIRECT] +rules: + - MATCH,PROXY +``` + +Point your rules at the **`PROXY`** group, at `DIRECT`, at `REJECT`, or at any +group you declare yourself. + +### Option 1: inline value + +Three accepted forms. + +**A) Plain rule lines** (`#` comments allowed): + +```text +# block ads +GEOSITE,category-ads-all,REJECT +DOMAIN-SUFFIX,example.com,DIRECT +GEOIP,RU,DIRECT,no-resolve +``` + +**B) A YAML list:** + +```yaml +- GEOSITE,category-ads-all,REJECT +- DOMAIN-SUFFIX,example.com,DIRECT +- GEOIP,RU,DIRECT,no-resolve +``` + +**C) A YAML map.** The `rules` key is merged with the base rules; any other key +(`proxy-groups`, `rule-providers`, `dns`, `sniffer`, …) **replaces** the +profile's key of the same name entirely: + +```yaml +proxy-groups: + - name: PROXY + type: select + proxies: [DIRECT] # careful: replaces the whole PROXY group +rule-providers: + ads: + type: http + behavior: domain + format: yaml + url: https://example.com/ads.yaml + path: ./ruleset/ads.yaml + interval: 86400 +rules: + - RULE-SET,ads,REJECT + - GEOIP,RU,DIRECT +``` + +How rules are combined: + +- if your rules contain **no** `MATCH`, they are placed **before** the base + `MATCH,PROXY`, so everything else goes through the proxy; +- if a `MATCH` is present, your list **completely replaces** the base rules. + +Inline validation is light: the map contents are copied as-is, so a mistake in +a group name only shows up in the client. + +### Option 2: HTTPS URL to YAML + +Here the panel is stricter: it **validates** the file before using it. Only +three keys are taken from the document: + +| Key | Effect | +| --- | ------ | +| `rules` | Rules, merged by the same logic as above. | +| `proxy-groups` | Groups: ones with the same name replace the base ones, other base groups are kept. | +| `rule-providers` | Rule providers. | + +`dns` and `sniffer` are taken **only if** the **DNS from remote rules** +(`subClashRemoteDNS`) switch is on. Enable it only for a template you trust, +since it changes the client's DNS. All other keys (`proxies`, `proxy-providers`, +`port`, …) are ignored; the nodes always stay yours. + +A working example file: + +```yaml +proxy-groups: + - name: Streaming + type: select + proxies: [PROXY, DIRECT] + - name: Auto + type: url-test + url: https://www.gstatic.com/generate_204 + interval: 300 + proxies: [PROXY] + +rule-providers: + ru-direct: + type: http + behavior: domain + format: yaml + url: https://example.com/ru-direct.yaml + path: ./ruleset/ru-direct.yaml + interval: 86400 + +rules: + - RULE-SET,ru-direct,DIRECT + - DOMAIN-SUFFIX,netflix.com,Streaming + - GEOIP,PRIVATE,DIRECT,no-resolve + - MATCH,PROXY +``` + +What is checked (a failing file is rejected and the previous working version +stays): + +- the document is a YAML map with at least one of `rules`, `proxy-groups`, + `rule-providers`; +- every group is a map with non-empty `name` and `type`, and names are **unique**; +- groups **cannot** use `use:` (proxy providers are not supported); +- every entry in a group's `proxies:`, every rule target and a provider's + `proxy:` must point to a group declared in the same file, to `PROXY`, or to + the built-ins `DIRECT`, `REJECT`, `REJECT-DROP`, `REJECT-TINYGIF`, `PASS`, + `GLOBAL`. A remote file is checked on its own, so the name of one of your + nodes fails the check; +- `RULE-SET,,` needs a provider with that name in `rule-providers`; +- each rule is a non-empty string `TYPE,value,target`; the flags `no-resolve` + and `src` may follow the target; +- size limits: 2 MiB response, plus a bound on nesting and on the size after + YAML aliases are expanded. + +Node names depend on client remarks, so the most reliable target is the +**`PROXY`** group, which contains all nodes. + +--- + +## Incy + +### Where to enter it + +**Settings → Subscription → Incy → Routing**: + +1. turn on **Enable routing**; +2. fill in **Routing rules**: + - a ready `incy://routing/onadd/` link, the same JSON as Happ's, + Base64-encoded; + - **or one HTTPS URL** to a JSON file. The panel turns it into + `incy://autorouting/onadd/` and the app **refreshes the profile + itself**. + +The Incy profile goes as a line in the **body** of the subscription (only when +the User-Agent is INCY). In that case the panel does not send the `Routing` +header to Incy, so it cannot override the profile from the body. + +### JSON format + +The Incy profile format matches Happ's — use the same fields (`Name`, +`RouteOrder`, `DirectSites`, `DirectIp`, `ProxySites`, `BlockSites`, +`DomainStrategy`, …, see the table above): + +```json +{ + "Name": "RU bypass", + "GlobalProxy": "true", + "RouteOrder": "block-proxy-direct", + "DirectSites": ["geosite:private", "domain:ru", "geosite:category-ru"], + "DirectIp": ["geoip:ru", "geoip:private"], + "ProxySites": [], + "ProxyIp": [], + "BlockSites": ["geosite:category-ads-all"], + "BlockIp": [], + "DomainStrategy": "IPIfNonMatch" +} +``` + +Encoded form: `incy://routing/onadd/` (encode as in the Happ +example). + +> If the Incy field is empty, Incy receives the shared **JSON subscription** +> profile (`subJsonRoutingRules`). Incy does not read the Happ field. + +### The other Incy tabs + +The **App**, **Banners**, **Privacy** and **Network** tabs are not routing: they +set app-management headers (profile description, banner, hidden URL, +fragmentation, …) and are sent only when **Incy header auto-detection** is on. + +--- + +## Which format to use + +| You need | Do this | +| -------- | ------- | +| One rule set for Happ and Incy | One JSON: paste as `happ://...` in Happ and `incy://...` in Incy, or give both the same HTTPS URL to the JSON. | +| Rules for Clash/Mihomo | A separate YAML; JSON and YAML are not converted into each other. | +| Change rules without touching the panel | A permanent raw URL (gist, repository) in the relevant field. | +| Check the result | Request the subscription with a client User-Agent (`curl -A "Happ/1.0"`, `-A "INCY/1.0"`, `-A "clash.meta"`) and inspect the `Routing` header / response body. | + +## Common problems + +- **Rules not applied, log says "Remote happ routing refresh from … failed"** + (or `clash`; for the JSON-subscription profile it says "remote source + unavailable"). The URL has not + been fetched yet (the first fetch runs in the background; refresh the + subscription in a minute) or the source returned an invalid file. +- **File rejected for size.** Happ allows 8 KiB after Base64 encoding, about + 6 KiB of JSON; move long lists into + `geosite`/`geoip` categories or, for Clash, into `rule-providers`. +- **`references unknown proxy or group` error.** A rule or group points to a + name that is not in the profile. Use `PROXY`, `DIRECT`, `REJECT`, or declare + the group in the same file. +- **A gist page URL does not work.** Use the `raw` URL. +- **Clash for Windows ignores the rules.** `/clash-legacy/` does not support + custom routing; use `/mihomo/`. diff --git a/docs/content/docs/en/config/subscription.mdx b/docs/content/docs/en/config/subscription.mdx index f22d74653..c7e347bc9 100644 --- a/docs/content/docs/en/config/subscription.mdx +++ b/docs/content/docs/en/config/subscription.mdx @@ -23,6 +23,8 @@ panel's subscription settings: | `subCertFile` / `subKeyFile` | _(none)_ | TLS cert + key — when set, the server serves **HTTPS**. | | `subEncrypt` | `true` | Base64-encode the raw subscription body. | | `subUpdates` | `12` | Suggested refresh interval (hours) sent to clients. | +| `subRateLimitEnable` | `false` | Limit how often one client address may fetch subscription URLs; over the limit the server answers `429` with `Retry-After`. | +| `subRateLimit` | `60` | Fetches allowed per client address and minute (1–1000) while the limit is on. Behind a reverse proxy, `trustedProxyCIDRs` decides which address counts as the client. | A subscription URL looks like: @@ -38,6 +40,22 @@ URLs and preview both bodies here: +## Replacing nodes after an HWID rejection + +In **Panel settings → Subscription**, enable **Replace configs when HWID is +rejected** (`subHwidRejectWithConfig`, off by default). When HWID is missing or +the device limit is reached, the server returns HTTP 200 with a non-working +node instead of 404. This supports raw/base64 links, Xray JSON, Clash/Mihomo, +legacy Clash, and automatic format detection. Compatible apps can accept the +update and replace previously downloaded nodes. With this option off, the +existing 404 response and HWID error headers are preserved. + +Replacement requires the app to refresh and accept the subscription. It does +not revoke copied credentials or immediately terminate existing connections. +Deleting a device only frees its slot: it can register again if a slot is +available. To reject it after deletion, the remaining devices must fill the +configured limit. + ## Output formats The **format is chosen by path**, each with its own enable toggle: @@ -69,8 +87,8 @@ If an administrator has already assigned `/mihomo/` or `/clash-legacy/` to a different configurable subscription path, that existing path is preserved and the conflicting alias is skipped with a warning at startup. -Automatic Clash format detection keeps the existing `(?i)(clash|mihomo)` -default matcher so existing subscription URLs continue returning YAML. +Automatic Clash format detection defaults to the `(?i)(clash|mihomo|rabbit-hole)` +matcher, so existing subscription URLs continue returning YAML. It does not distinguish legacy clients from Mihomo-based clients; Clash for Windows users must use `/clash-legacy/` for a compatible profile. diff --git a/docs/content/docs/en/config/transports.mdx b/docs/content/docs/en/config/transports.mdx index 59c5bc08f..2d0b517a8 100644 --- a/docs/content/docs/en/config/transports.mdx +++ b/docs/content/docs/en/config/transports.mdx @@ -107,6 +107,12 @@ Session-ID fields (`sessionIDPlacement`, `sessionIDKey`, `sessionIDTable`, `sessionIDLength`) and the `scMin/MaxEachPostBytes` knobs are advanced; leave them empty unless you're matching a specific upstream. +Enable **Use separate download** to send the client's download requests to a +second endpoint. Enter its address and port, then set the HTTP host, path, and +security settings to match that endpoint. Both routes must reach the same XHTTP +listener. On an inbound, the panel includes these settings in client subscriptions. +The switch is available in `auto`, `packet-up`, and `stream-up` modes. + ### Hysteria — `hysteriaSettings` Only valid when the protocol is **Hysteria2**. @@ -137,7 +143,7 @@ enabled. The panel offers XDRIVE only for VLESS, refuses to save an inbound with | `secrets` | — | Google Drive: ClientID, ClientSecret, RefreshToken — exactly three, in that order. Template: values read as `{secret0}`, `{secret1}`, …. S3: AccessKeyID, SecretAccessKey and an optional SessionToken. | | `template` | — | Template service only: the storage API's `auth`, `put`, `get`, `list` and `delete` operations. | | `s3` | — | S3 service only: `endpoint` (an http(s) URL), `region`, `bucket` and `pathStyle` (default `true`; `false` puts the bucket in the host name). `remoteFolder` is the object prefix. | -| tuning | core defaults | `segmentBytes` (512 KiB), `flushIntervalMs` (20), `pollIntervalMs`/`maxPollIntervalMs` (50/500), `eagerWindowMs` (2000), `holeTimeoutMs` (30000), `sessionTtlSeconds` (300), `concurrency` (8). | +| tuning | core defaults | `segmentBytes` (512 KiB), `flushIntervalMs` (20), `pollIntervalMs`/`maxPollIntervalMs` (50/500), `eagerWindowMs` (2000), `holeTimeoutMs` (30000), `sessionTtlSeconds` (300), `concurrency` (8). Google Drive defaults to `flushIntervalMs` 10, `maxPollIntervalMs` 200 and `concurrency` 64 (xray-core 26.11.9). | The optional **Front address/port** (the stream-level `address`/`port`) is a domain front the storage API is dialed through; TLS still names the API host. XDRIVE has diff --git a/docs/content/docs/en/operations/meta.json b/docs/content/docs/en/operations/meta.json index a69d9d2ca..230047510 100644 --- a/docs/content/docs/en/operations/meta.json +++ b/docs/content/docs/en/operations/meta.json @@ -3,11 +3,13 @@ "icon": "ServerCog", "pages": [ "reverse-proxy", + "system-monitoring", "multi-node", "outbounds-routing", "backup-restore", "telegram-bot", "discord-bot", + "wechat-notifications", "security" ] } diff --git a/docs/content/docs/en/operations/multi-node.mdx b/docs/content/docs/en/operations/multi-node.mdx index f2ae13e38..1916d884a 100644 --- a/docs/content/docs/en/operations/multi-node.mdx +++ b/docs/content/docs/en/operations/multi-node.mdx @@ -23,7 +23,7 @@ Provide the node's connection details: | **Scheme** | `https` (default) or `http`. | | **Address / Port**| The node panel's host and port. | | **Base path** | The node's web base path. | -| **API token** | A Bearer token created on the node (not needed in mTLS mode). | +| **API token** | A Bearer token created on the node. Optional in mTLS mode, except for **Update panel** (needs `node-admin`). | | **TLS verify** | `verify` (default), `skip`, `pin` (pin a cert SHA-256), or `mtls`. | | **Inbound sync** | `all` inbounds, or `selected` by tag. | | **Outbound tag** | Optionally reach the node **through** a named outbound (egress bridge).| @@ -39,6 +39,24 @@ and emitting `node.up` / `node.down` events (see the those as read-only **transitive** sub-nodes (Node 1 → Node 2 → Node 3). +### Restart a node + +Open a directly configured node's action menu and choose **Restart Xray** or +**Restart Panel**, then confirm the node name. Restart Xray interrupts that +node's active Xray connections. Restart Panel restarts its panel and subscription +services after a three-second delay; the success message acknowledges the request, +and the node may be temporarily unavailable. + +Restart actions are disabled for disabled nodes and read-only transitive nodes. +An enabled node can be contacted even when its last heartbeat says offline. +Connection and permission failures are reported without automatically retrying. + +Xray restart supports the node's existing `node-sync`, `node-admin`, and `admin` +API tokens. Panel restart requires `node-admin` or `admin`; mTLS connections must +also present an explicit `node-admin` bearer token. Update older nodes before +using `node-admin` for panel restart. The master-side node actions retain the +normal Nodes API permissions. + ### Mutual TLS (mTLS) between master and node For the strongest trust, use `tlsVerifyMode = mtls` (requires `https`): @@ -64,6 +82,14 @@ next restart. Set the node's TLS verify mode to `mtls`. The master now presents a client certificate instead of an API token. + + + A node reached over mTLS without a token only has the `node-sync` scope, which + cannot run **Update panel** (the node answers HTTP 403, "this API token is not + permitted to access this endpoint"). To update such a node from the master, + create an API token with the `node-admin` scope on the node and paste it into + the master's **API token** field for that node. Keep TLS verify on `mtls`. + diff --git a/docs/content/docs/en/operations/outbounds-routing.mdx b/docs/content/docs/en/operations/outbounds-routing.mdx index d25256ef9..1bccda519 100644 --- a/docs/content/docs/en/operations/outbounds-routing.mdx +++ b/docs/content/docs/en/operations/outbounds-routing.mdx @@ -128,7 +128,8 @@ Imported outbounds get **stable tags**: the same server keeps the same tag acros refreshes, so exact-tag routing/balancer selectors stay pinned — while prefix/wildcard selectors (e.g. `hk-*`) automatically pick up new servers as the pool changes. Supported link schemes: `vmess`, `vless`, `trojan`, `ss`, -`hysteria2` (`hy2`), and `wireguard` (`wg`). The panel refreshes enabled +`hysteria2` (`hy2`), `wireguard` (`wg`), and `vpn` (AmneziaWG, from a 3x-ui +panel or an AmneziaVPN app key). The panel refreshes enabled subscriptions on a timer and reloads Xray when something changes. ## Routing rules diff --git a/docs/content/docs/en/operations/security.mdx b/docs/content/docs/en/operations/security.mdx index 4c294b582..3cc468913 100644 --- a/docs/content/docs/en/operations/security.mdx +++ b/docs/content/docs/en/operations/security.mdx @@ -21,8 +21,10 @@ See [First login](/docs/guide/first-login) for the full checklist. Set an **IP limit** per client (see [Clients](/docs/config/clients)) to cap the number of simultaneous source IPs. Enforcement is handled by **Fail2ban**, which -3x-ui installs and configures for you (enabled by default on script installs, and -on Docker via `XUI_ENABLE_FAIL2BAN=true`). +3x-ui installs and configures when you opt in. On a fresh native install, +answer **Yes** to enable enforcement, or set `XUI_ENABLE_FAIL2BAN=true` for +unattended and Docker installs. The native installer remembers your choice across +updates and reinstalls. Source IP tracking continues independently of enforcement. Manage it from the `x-ui` menu (**22 — IP Limit Management**): install/configure, change the ban duration (default **30 minutes**), ban/unban an IP, view ban logs, diff --git a/docs/content/docs/en/operations/system-monitoring.mdx b/docs/content/docs/en/operations/system-monitoring.mdx new file mode 100644 index 000000000..d80b2791f --- /dev/null +++ b/docs/content/docs/en/operations/system-monitoring.mdx @@ -0,0 +1,47 @@ +--- +title: System monitoring +description: Read the overview charts, choose a time window, and understand how 3x-ui stores system history. +icon: ChartNoAxesCombined +--- + +The overview page combines a current server snapshot with short time-series charts. It shows CPU, memory, swap, storage, network throughput, and open TCP/UDP connections. Open **System history** for additional metrics such as packets, disk I/O, load averages, and Xray online clients. + +## Choose a chart window + +Each overview chart has the same time-range selector in its upper-right corner. The default is **2m**. The choices are **2m**, **5m**, **30m**, **1h**, **6h**, and **12h**. Changing any selector changes the window on every overview chart. + +The number of chart points stays capped at 60. Short windows use finer samples; longer windows use averages. At **2m** the charts are live: every status poll, once every 2 seconds, adds a point. A longer window is read from the server's stored history and refreshed once per point, at most once a minute. + +The **System history** dialog has per-metric tabs and longer windows: **2m**, **1h**, **3h**, **6h**, **12h**, **24h**, **2d**, and **7d**. It refreshes only the active metric, and slows its polling as the selected window grows. + +## Metrics and scope + +The overview charts show: + +- CPU use, memory use, swap use, and disk use as percentages. +- Network upload and download throughput in bytes per second. +- Current TCP and UDP connection counts. + +System history adds packet rates, disk read/write rates, Xray online clients, and the 1, 5, and 15 minute load averages. CPU and swap follow the panel's resource scope when it runs inside a container; unavailable scoped metrics are left empty instead of being filled with host values. + +Chart summaries show the average and peak inside the selected window. For Persian labels, the text and numeric value are isolated separately so right-to-left text direction does not reorder the number or percent sign. + +## Collection and retention + +The panel samples server status every **2 seconds**. Each metric is written into three fixed-size rollup tiers: + +| Resolution | Retained window | Use | +| --- | --- | --- | +| 2 seconds | 1 hour | Recent charts | +| 1 minute | 48 hours | Medium windows | +| 10 minutes | 7 days | Long history | + +Samples are averaged as they move through each tier. A series retains about 5,700 points (roughly 90 KiB before serialization), regardless of uptime. The overview endpoint returns up to 60 points per metric in one response, avoiding a request for each individual chart. + +System history is saved to `system_metrics.gob` in the panel's database directory once a minute and again during shutdown. It is restored at startup. A new installation begins collecting history when the panel starts; it cannot reconstruct metrics from before collection was enabled. + +## API + +For a window longer than **2m** the overview requests `GET /panel/api/server/overviewHistory/{bucket}`. `bucket` is the number of seconds one point covers: `5`, `30`, `60`, `360` and `720` give the 5 minute through 12 hour windows. The response contains up to 60 `{ "t": unixSeconds, "v": value }` points for each overview metric. + +The system history dialog requests `GET /panel/api/server/history/{metric}/{bucket}` for the active metric. It uses the same `{t, v}` point format and supports the longer bucket values documented in the [Server API reference](/docs/reference/api/server). diff --git a/docs/content/docs/en/operations/telegram-bot.mdx b/docs/content/docs/en/operations/telegram-bot.mdx index 40acd2324..70f1fbd37 100644 --- a/docs/content/docs/en/operations/telegram-bot.mdx +++ b/docs/content/docs/en/operations/telegram-bot.mdx @@ -6,7 +6,7 @@ icon: Send 3x-ui can drive a Telegram bot for monitoring, alerts, backups, and remote management. Admins get full control; regular users (linked by Telegram ID) can -check their own usage and links. +check their own usage and fetch their links and setup guides. Looking for news and community support? Join the official Telegram channel @@ -80,7 +80,9 @@ clients, "depleting soon", and a full **add-client** wizard. The admin's **client card** carries the client's subscription link, individual links and QR code, so a config can be handed to a client who cannot reach Telegram yet. Regular users get buttons for their own usage, subscription links, individual -links, and QR codes. +links, QR codes, **Get one** (pick one link and get it alone, with its own QR +code), and a per-platform **Setup guide**. Every links page opens with the +config's expiry date and the traffic it has left. ## Reports & alerts diff --git a/docs/content/docs/en/operations/wechat-notifications.mdx b/docs/content/docs/en/operations/wechat-notifications.mdx new file mode 100644 index 000000000..248aeef8c --- /dev/null +++ b/docs/content/docs/en/operations/wechat-notifications.mdx @@ -0,0 +1,62 @@ +--- +title: WeChat Notifications +description: Receive event alerts and scheduled reports through a WeCom group robot or a compatible WeChat webhook gateway. +icon: MessageCircle +--- + +WeChat is an independent, optional text-notification channel. It supports event alerts and scheduled status reports, with its own language, event selection, and CPU/memory thresholds. Existing notification channels retain their settings. WeChat notifications are disabled by default. + +WeCom mode sends to an enterprise group robot. Personal WeChat requires a separately deployed bridge that implements the custom gateway protocol and has its own working WeChat connection. The panel does not include that bridge or provide a direct personal WeChat bot login. + +## Setup + +1. Open **Panel Settings → WeChat** and enable notifications. +2. Choose a delivery mode: + - **WeCom group robot**: add a message-push robot to your enterprise WeChat group and paste its HTTPS webhook URL. See the [official configuration guide](https://developer.work.weixin.qq.com/document/path/99110). + - **Custom webhook gateway**: enter your HTTPS receiver URL and, optionally, a Bearer token that the receiver verifies. A compatible gateway delivers messages to personal WeChat. This uses the protocol below; an arbitrary third-party push URL or a WeChat contact name is not a receiver. +3. Select the notification language. It is independent of the Telegram bot language. +4. Under **Notifications**, choose events and thresholds. A metric threshold of `0` disables that metric's alerts. +5. Optionally enable scheduled reports and choose a cron schedule. `@daily` uses the panel scheduler's time zone. +6. **Save**, then click **Send test notification**. The test uses saved settings and is disabled while the channel is off or any settings have unsaved changes. + +URLs can contain robot credentials, so both the URL and token are redacted when settings are loaded. Leaving a secret blank retains its saved value; **Clear** followed by **Save** removes it. Disable the channel before clearing a required destination. Saving also updates report schedules and metric sampling without restarting the panel. + +![WeChat notification settings with a saved custom gateway and redacted credentials](/images/wechat-settings.png) + +## Alerts and reports + +Event keys are `login.attempt`, `cpu.high`, `memory.high`, `xray.crash`, `node.down`, `node.up`, `outbound.down`, and `outbound.up`. The initial selection is login attempts and high CPU usage. Login notifications include the attempted username, client IP, outcome, and available failure reason, but not the password. + +Repeated alerts for one event and source are limited to one successful send per minute. Failed and successful login outcomes have separate limits. A failed delivery does not consume the successful-send cooldown. + +Reports summarize the host, panel and Xray versions, CPU, memory, disk, uptime, and inbound/client counts, including disabled, expired, and depleted entries. Reports also run when Xray is stopped. This channel has no remote commands or file-backup feature, and does not include subscription links or client configuration files in reports. + +Traffic totals cover client statistics managed by this panel, deduplicated by client email. Used traffic is upload plus download. Remaining traffic sums each client's non-negative quota balance; when a runtime quota is unset, the client's configured quota is used. If there are no client statistics or any client has no configured quota, the remaining total reads **Quota not configured**. These values do not represent a VPS provider's billing allowance or traffic outside 3x-ui. + +## Custom gateway protocol, version 1 + +The panel sends an HTTPS `POST` with `Content-Type: application/json` and, when configured, `Authorization: Bearer `: + +```json +{ + "version": 1, + "id": "8f793626-a0e0-4a28-bddf-84c077a1bd21", + "type": "event", + "event": "cpu.high", + "hostname": "my-server", + "occurred_at": "2026-11-04T12:00:00Z", + "text": "3x-ui · my-server\nHigh CPU usage: 92.00%; threshold: 80%" +} +``` + +`type` is `event`, `report`, or `test`. For events, `event` is a selected event key; reports and tests use `report` and `test`. `occurred_at` preserves the event's occurrence time, falling back to send time only when no event time is available. `text` is plain UTF-8 text, at most 20,480 bytes. + +The receiver should verify authentication and version, durably enqueue with a uniqueness constraint on `id`, and return `2xx` after accepting responsibility for delivery. This acknowledges the gateway's receipt, not necessarily delivery to the final WeChat user. The receiver handles final delivery and further retries. + +Connection failures and `5xx` receive at most one retry with the **same ID and body**. Other rejected responses are not retried. Deduplicate by ID to handle lost acknowledgements. Each request has a 10-second timeout, responses are limited to 4 KiB, and redirects are refused. This contract has no dependency on a particular gateway service. + +## WeCom and network requirements + +WeCom mode requires the official `https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...` endpoint and a successful `errcode: 0` response. Long text is split at UTF-8 boundaries into at most ten messages of 2,048 bytes, spaced at least 3.1 seconds apart. Requests are not automatically retried because the robot API has no ID-based deduplication for this channel. + +Both modes use direct outbound HTTPS with certificate verification, independent of the panel outbound proxy. Custom receivers must resolve to public addresses. Private, loopback, link-local, and metadata-service addresses are blocked again at connection time. Provide a public HTTPS receiver when the final WeChat adapter runs on a private network. diff --git a/docs/content/docs/en/reference/api/clients.mdx b/docs/content/docs/en/reference/api/clients.mdx index ab790f938..8c344b2ce 100644 --- a/docs/content/docs/en/reference/api/clients.mdx +++ b/docs/content/docs/en/reference/api/clients.mdx @@ -13,6 +13,13 @@ _openapi: reverse field, if set, is returned as a nested JSON object (legacy JSON-encoded-string form is still accepted on write). url: '#list-every-client-with-its-attached-inbound-ids-and-traffic-record-the-reverse-field-if-set-is-returned-as-a-nested-json-object-legacy-json-encoded-string-form-is-still-accepted-on-write' + - depth: 2 + title: List up to 100 clients for the inbound attachment picker. Counts + distinguish filtered rows and all eligible clients. A freeze request + returns only the eligible count, maximum ID and a scope token covering + the eligible IDs that match the given search and group for the chosen + source and targets. + url: '#list-up-to-100-clients-for-the-inbound-attachment-picker-counts-distinguish-filtered-rows-and-all-eligible-clients-a-freeze-request-returns-only-the-eligible-count-maximum-id-and-a-scope-token-covering-the-eligible-ids-that-match-the-given-search-and-group-for-the-chosen-source-and-targets' - depth: 2 title: 'Filter, sort, and paginate clients on the server. Each item is a slim row (no uuid/password/auth/flow/security/reverse/tgId) so the clients @@ -28,6 +35,10 @@ _openapi: title: Fetch one client by email, including the inbound IDs and external config IDs it is attached to. url: '#fetch-one-client-by-email-including-the-inbound-ids-and-external-config-ids-it-is-attached-to' + - depth: 2 + title: Fetch one client by email, including the inbound IDs and external config + IDs it is attached to. + url: '#fetch-one-client-by-email-including-the-inbound-ids-and-external-config-ids-it-is-attached-to-1' - depth: 2 title: Fetch clients by subscription ID. url: '#fetch-clients-by-subscription-id' @@ -44,14 +55,25 @@ _openapi: title: Preview client auto-renewal dates without saving or resetting anything. url: '#preview-client-auto-renewal-dates-without-saving-or-resetting-anything' - depth: 2 - title: Update an existing client by email. Changes propagate to every attached - inbound. Body is the JSON client payload — supply the full set of fields - you want to keep (the server replaces the row, it does not patch). - url: '#update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch' + title: 'Update an existing client by email. Changes propagate to every attached + inbound. Body is the JSON client payload: omitted fields keep their + current values, and an explicit zero, empty or null value clears a + field, except as noted below.' + url: '#update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below' + - depth: 2 + title: 'Update an existing client by email. Changes propagate to every attached + inbound. Body is the JSON client payload: omitted fields keep their + current values, and an explicit zero, empty or null value clears a + field, except as noted below.' + url: '#update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below-1' - depth: 2 title: Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed. url: '#delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed' + - depth: 2 + title: Delete a client by email. Removes it from every attached inbound and + drops its traffic record unless keepTraffic=1 is passed. + url: '#delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed-1' - depth: 2 title: Attach an existing client to one or more additional inbounds. Body is JSON. @@ -67,6 +89,21 @@ _openapi: emitted on future subscription fetches; credentials already imported by an app remain valid until the external provider revokes them. url: '#replace-a-clients-external-links-and-external-subscriptions-sends-the-full-set-the-server-replaces-all-rows-disabled-rows-stay-saved-for-editing-but-are-not-emitted-in-generated-subscriptions-the-owning-clients-disabled-or-expired-state-also-stops-these-rows-from-being-emitted-on-future-subscription-fetches-credentials-already-imported-by-an-app-remain-valid-until-the-external-provider-revokes-them' + - depth: 2 + title: List WireGuard devices and their per-inbound addresses. + url: '#list-wireguard-devices-and-their-per-inbound-addresses' + - depth: 2 + title: Create a WireGuard device on every attached WireGuard inbound. + url: '#create-a-wireguard-device-on-every-attached-wireguard-inbound' + - depth: 2 + title: Set the maximum number of WireGuard devices. + url: '#set-the-maximum-number-of-wireguard-devices' + - depth: 2 + title: Rename or enable a WireGuard device. + url: '#rename-or-enable-a-wireguard-device' + - depth: 2 + title: Delete an additional WireGuard device and release its address. + url: '#delete-an-additional-wireguard-device-and-release-its-address' - depth: 2 title: Reset the up/down counters for every client globally. Quotas and expiry are not affected. Triggers an Xray restart if any counter actually @@ -118,9 +155,19 @@ _openapi: "xtls-rprx-vision"/"xtls-rprx-vision-udp443" set it where the inbound supports it (omit or "" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets - MTProto Telegram sponsor channel ("none" clears). Returns the adjusted - count and per-email skip reasons.' - url: '#shift-expiry-andor-traffic-quota-for-many-clients-in-one-call-adddaysaddbytes-may-be-negative-clients-with-unlimited-expiry-expirytime0-or-unlimited-traffic-totalgb0-are-skipped-for-the-corresponding-field--bulk-extend-never-converts-unlimited-to-limited-a-client-that-was-auto-disabled-solely-because-it-was-depleted-expired-or-over-quota-is-automatically-re-enabled--locally-and-on-its-node--when-the-adjustment-lifts-it-out-of-depletion-a-manually-disabled-or-still-depleted-client-is-left-disabled-the-optional-flow-directive-sets-the-xtls-flow-on-every-client-none-clears-it-xtls-rprx-visionxtls-rprx-vision-udp443-set-it-where-the-inbound-supports-it-omit-or--to-leave-it-unchanged-the-optional-limithwid-sets-maximum-registered-devices-0--unlimited-the-optional-adtag-sets-mtproto-telegram-sponsor-channel-none-clears-returns-the-adjusted-count-and-per-email-skip-reasons' + MTProto Telegram sponsor channel ("none" clears). Alternatively, send + externalLinks to append external share links and http(s) subscriptions + to each selected client in one transaction. This mode cannot be combined + with other adjustments. Existing entries, metadata, and ordering are + preserved. Duplicates match (kind, value) per client, including repeated + input rows; the first entry wins. Missing clients are not written and + appear in skipped. externalLinks.added counts inserted rows, + externalLinks.skipped counts duplicate rows across found clients, + externalLinks.errors counts missing clients, and adjusted counts clients + receiving at least one new row. Validation or database failure aborts + the whole append without writes. Repeating an append is idempotent and + does not restart Xray.' + url: '#shift-expiry-andor-traffic-quota-for-many-clients-in-one-call-adddaysaddbytes-may-be-negative-clients-with-unlimited-expiry-expirytime0-or-unlimited-traffic-totalgb0-are-skipped-for-the-corresponding-field--bulk-extend-never-converts-unlimited-to-limited-a-client-that-was-auto-disabled-solely-because-it-was-depleted-expired-or-over-quota-is-automatically-re-enabled--locally-and-on-its-node--when-the-adjustment-lifts-it-out-of-depletion-a-manually-disabled-or-still-depleted-client-is-left-disabled-the-optional-flow-directive-sets-the-xtls-flow-on-every-client-none-clears-it-xtls-rprx-visionxtls-rprx-vision-udp443-set-it-where-the-inbound-supports-it-omit-or--to-leave-it-unchanged-the-optional-limithwid-sets-maximum-registered-devices-0--unlimited-the-optional-adtag-sets-mtproto-telegram-sponsor-channel-none-clears-alternatively-send-externallinks-to-append-external-share-links-and-https-subscriptions-to-each-selected-client-in-one-transaction-this-mode-cannot-be-combined-with-other-adjustments-existing-entries-metadata-and-ordering-are-preserved-duplicates-match-kind-value-per-client-including-repeated-input-rows-the-first-entry-wins-missing-clients-are-not-written-and-appear-in-skipped-externallinksadded-counts-inserted-rows-externallinksskipped-counts-duplicate-rows-across-found-clients-externallinkserrors-counts-missing-clients-and-adjusted-counts-clients-receiving-at-least-one-new-row-validation-or-database-failure-aborts-the-whole-append-without-writes-repeating-an-append-is-idempotent-and-does-not-restart-xray' - depth: 2 title: Enable many clients in one call. Emails are grouped by inbound and applied with a single read-modify-write per inbound; the running Xray @@ -166,9 +213,21 @@ _openapi: keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are reported under skipped. - Returns per-email attached/skipped/errors lists and triggers a single - Xray restart if any target inbound was running. - url: '#attach-many-existing-clients-to-many-inbounds-in-one-call-each-client-keeps-its-identity-emailuuidpasswordsubid-and-a-shared-traffic-row-all-clients-are-added-to-a-target-inbound-in-a-single-addinboundclient-call-clients-already-present-on-a-target-are-reported-under-skipped-returns-per-email-attachedskippederrors-lists-and-triggers-a-single-xray-restart-if-any-target-inbound-was-running' + Explicit email requests return per-email lists. Alternatively submit + selection with explicit clientIds or a frozen allMatching scopeToken + plus excludedClientIds and the search and group it was frozen under. + Scoped requests start a background job and return {jobId}. Poll GET + /bulkAttach/:id for counts or a stale-selection error. Newer IDs stay + outside the frozen scope. Changes to the frozen membership are rejected + before applying changes. Triggers a single Xray restart if any target + inbound was running. + url: '#attach-many-existing-clients-to-many-inbounds-in-one-call-each-client-keeps-its-identity-emailuuidpasswordsubid-and-a-shared-traffic-row-all-clients-are-added-to-a-target-inbound-in-a-single-addinboundclient-call-clients-already-present-on-a-target-are-reported-under-skipped-explicit-email-requests-return-per-email-lists-alternatively-submit-selection-with-explicit-clientids-or-a-frozen-allmatching-scopetoken-plus-excludedclientids-and-the-search-and-group-it-was-frozen-under-scoped-requests-start-a-background-job-and-return-jobid-poll-get-bulkattachid-for-counts-or-a-stale-selection-error-newer-ids-stay-outside-the-frozen-scope-changes-to-the-frozen-membership-are-rejected-before-applying-changes-triggers-a-single-xray-restart-if-any-target-inbound-was-running' + - depth: 2 + title: Poll a scoped attachment job. The result contains counts per target + (attached, skipped, errors); an operation failure sets error instead. + Completed results are retained for up to 15 minutes in the running panel + process. + url: '#poll-a-scoped-attachment-job-the-result-contains-counts-per-target-attached-skipped-errors-an-operation-failure-sets-error-instead-completed-results-are-retained-for-up-to-15-minutes-in-the-running-panel-process' - depth: 2 title: "Mirror of bulkAttach: detach many existing clients from many inbounds in one call. For each email, intersects the client's current inbounds with @@ -188,27 +247,36 @@ _openapi: clients. url: '#zero-updown-counters-for-many-clients-in-one-call-loops-the-single-reset-path-so-each-client-its-quota-had-disabled-is-re-enabled-across-its-attached-inbounds-and-pushed-to-xrayremote-nodes-a-client-disabled-by-hand-stays-disabled-returns-the-count-of-successfully-reset-clients' - depth: 2 - title: List all client groups with their member counts. Merges persisted groups - (rows in client_groups, including empty placeholders) with the distinct - group_name values currently set on clients. Sorted alphabetically - (case-insensitive). - url: '#list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive' + title: List all client groups with their member counts and the host groups bound + to each. Merges persisted groups (rows in client_groups, including empty + placeholders) with the distinct group_name values currently set on + clients. Sorted alphabetically (case-insensitive). + url: '#list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive' + - depth: 2 + title: Replace the host groups attached to a client group. Clients in this group + receive the bound host groups instead of the inbound default host pool; + other clients are unaffected. An empty array clears the bindings. + Returns the saved host group IDs. + url: '#replace-the-host-groups-attached-to-a-client-group-clients-in-this-group-receive-the-bound-host-groups-instead-of-the-inbound-default-host-pool-other-clients-are-unaffected-an-empty-array-clears-the-bindings-returns-the-saved-host-group-ids' - depth: 2 title: Return just the email list of clients that currently belong to the given group. Useful for fanning a single bulk action over an entire group without round-tripping the full client list. url: '#return-just-the-email-list-of-clients-that-currently-belong-to-the-given-group-useful-for-fanning-a-single-bulk-action-over-an-entire-group-without-round-tripping-the-full-client-list' - depth: 2 - title: Create a new empty (placeholder) group. The group becomes selectable in - client forms and the filter drawer even before any client is added to - it. Errors if a group with the same name already exists. - url: '#create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists' + title: Create a new group, optionally with host rules bound to it. The group + becomes selectable in client forms and the filter drawer even before any + client is added to it. Host group IDs are validated before the group is + created. Errors if a group with the same name already exists. + url: '#create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists' - depth: 2 - title: Rename a group. The new name is applied to the client_groups row AND - propagated to every matching client (both clients.group_name and the - client entry inside every owning inbound's settings JSON) in a single - transaction. Returns the number of clients whose label was updated. - url: '#rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated' + title: Rename a group and optionally replace its host rules in one transaction. + The new name is applied to the client_groups row AND propagated to every + matching client (both clients.group_name and the client entry inside + every owning inbound's settings JSON). Omit hostGroupIds to leave the + bindings unchanged; send an empty array to clear them. Returns the + number of clients whose label was updated. + url: '#rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated' - depth: 2 title: Remove a group. Deletes the client_groups row and clears the group label from every matching client (both clients.group_name and the inbound @@ -241,17 +309,26 @@ _openapi: title: Reset the recorded IP list for a client. url: '#reset-the-recorded-ip-list-for-a-client' - depth: 2 - title: List registered HWID devices for a client with a short fingerprint. Full - hashes are not exposed. - url: '#list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-full-hashes-are-not-exposed' + title: List registered HWID devices for a client with a short fingerprint and a + blocked flag. Bans are scoped to the subscription ID shared by the + client. Full hashes are not exposed. + url: '#list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-and-a-blocked-flag-bans-are-scoped-to-the-subscription-id-shared-by-the-client-full-hashes-are-not-exposed' - depth: 2 - title: Clear all registered HWID devices for a client so new devices can - register again. - url: '#clear-all-registered-hwid-devices-for-a-client-so-new-devices-can-register-again' + title: Clear unblocked HWID registrations for a client so devices can register + again. Blocked devices and their bans are preserved. + url: '#clear-unblocked-hwid-registrations-for-a-client-so-devices-can-register-again-blocked-devices-and-their-bans-are-preserved' - depth: 2 - title: Remove a single registered HWID device by its id, freeing one slot under - the HWID limit. - url: '#remove-a-single-registered-hwid-device-by-its-id-freeing-one-slot-under-the-hwid-limit' + title: Remove a single unblocked HWID device by its id, freeing one slot under + the HWID limit. A blocked device must be unblocked before it can be + removed. + url: '#remove-a-single-unblocked-hwid-device-by-its-id-freeing-one-slot-under-the-hwid-limit-a-blocked-device-must-be-unblocked-before-it-can-be-removed' + - depth: 2 + title: Block or unblock one device for the client subscription. Send an explicit + boolean blocked value. A ban denies subscription bodies for that HWID + even with limitHwid=0, does not consume a device slot, and survives + clearing devices or changing the limit. It does not revoke copied + credentials or identify requests with a different or missing HWID. + url: '#block-or-unblock-one-device-for-the-client-subscription-send-an-explicit-boolean-blocked-value-a-ban-denies-subscription-bodies-for-that-hwid-even-with-limithwid0-does-not-consume-a-device-slot-and-survives-clearing-devices-or-changing-the-limit-it-does-not-revoke-copied-credentials-or-identify-requests-with-a-different-or-missing-hwid' - depth: 2 title: List the emails of currently connected clients (last seen within the heartbeat window), deduped across every node. @@ -281,6 +358,23 @@ _openapi: - depth: 2 title: Traffic counters for a client identified by email. url: '#traffic-counters-for-a-client-identified-by-email' + - depth: 2 + title: "Usage and change history for one client, behind the edit modal's history + button. lifetimeUp/lifetimeDown are every archived window plus the + client's live counters; currentUp/currentDown are the still-open window. + windows lists the closed cycles, newest first (reason: reset | renew | + earlier): one is archived whenever a traffic reset or an auto-renewal + zeroes the client's counters, the newest 100 are kept and older ones are + folded into a single earlier row, so the lifetime total does not change. + nodes is the per-node upload/download accumulated since the last reset. + changes is the metadata change log, newest first, capped at the newest + 200 rows: one row per changed field (subId, expiry, dataLimit, enable, + limitIp, limitHwid, adTag, group, renewalPlan) and a name row for a + rename; source is panel | tgbot | auto-renew. A renamed client keeps its + history under the new email. The history belongs to the client: once the + client is deleted, its history is removed within five minutes. Requires + an admin token or a panel login session." + url: '#usage-and-change-history-for-one-client-behind-the-edit-modals-history-button-lifetimeuplifetimedown-are-every-archived-window-plus-the-clients-live-counters-currentupcurrentdown-are-the-still-open-window-windows-lists-the-closed-cycles-newest-first-reason-reset--renew--earlier-one-is-archived-whenever-a-traffic-reset-or-an-auto-renewal-zeroes-the-clients-counters-the-newest-100-are-kept-and-older-ones-are-folded-into-a-single-earlier-row-so-the-lifetime-total-does-not-change-nodes-is-the-per-node-uploaddownload-accumulated-since-the-last-reset-changes-is-the-metadata-change-log-newest-first-capped-at-the-newest-200-rows-one-row-per-changed-field-subid-expiry-datalimit-enable-limitip-limithwid-adtag-group-renewalplan-and-a-name-row-for-a-rename-source-is-panel--tgbot--auto-renew-a-renamed-client-keeps-its-history-under-the-new-email-the-history-belongs-to-the-client-once-the-client-is-deleted-its-history-is-removed-within-five-minutes-requires-an-admin-token-or-a-panel-login-session' - depth: 2 title: Return every protocol URL (vless://, vmess://, trojan://, ss://, hysteria://, hy2://) for clients matching the subscription ID. Same @@ -311,6 +405,12 @@ _openapi: reverse field, if set, is returned as a nested JSON object (legacy JSON-encoded-string form is still accepted on write). id: list-every-client-with-its-attached-inbound-ids-and-traffic-record-the-reverse-field-if-set-is-returned-as-a-nested-json-object-legacy-json-encoded-string-form-is-still-accepted-on-write + - content: List up to 100 clients for the inbound attachment picker. Counts + distinguish filtered rows and all eligible clients. A freeze request + returns only the eligible count, maximum ID and a scope token covering + the eligible IDs that match the given search and group for the chosen + source and targets. + id: list-up-to-100-clients-for-the-inbound-attachment-picker-counts-distinguish-filtered-rows-and-all-eligible-clients-a-freeze-request-returns-only-the-eligible-count-maximum-id-and-a-scope-token-covering-the-eligible-ids-that-match-the-given-search-and-group-for-the-chosen-source-and-targets - content: 'Filter, sort, and paginate clients on the server. Each item is a slim row (no uuid/password/auth/flow/security/reverse/tgId) so the clients page can ship 25-ish rows in a few KB instead of the full table. The @@ -324,6 +424,9 @@ _openapi: - content: Fetch one client by email, including the inbound IDs and external config IDs it is attached to. id: fetch-one-client-by-email-including-the-inbound-ids-and-external-config-ids-it-is-attached-to + - content: Fetch one client by email, including the inbound IDs and external + config IDs it is attached to. + id: fetch-one-client-by-email-including-the-inbound-ids-and-external-config-ids-it-is-attached-to-1 - content: Fetch clients by subscription ID. id: fetch-clients-by-subscription-id - content: Fetch clients by Telegram user ID. Returns an array since multiple @@ -335,14 +438,22 @@ _openapi: id: create-a-new-client-and-attach-it-to-one-or-more-inbounds-in-a-single-call-body-is-json-per-protocol-secrets-are-generated-server-side-when-omitted-so-callers-can-send-only-the-universal-fields - content: Preview client auto-renewal dates without saving or resetting anything. id: preview-client-auto-renewal-dates-without-saving-or-resetting-anything - - content: Update an existing client by email. Changes propagate to every attached - inbound. Body is the JSON client payload — supply the full set of - fields you want to keep (the server replaces the row, it does not - patch). - id: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + - content: 'Update an existing client by email. Changes propagate to every + attached inbound. Body is the JSON client payload: omitted fields keep + their current values, and an explicit zero, empty or null value clears + a field, except as noted below.' + id: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below + - content: 'Update an existing client by email. Changes propagate to every + attached inbound. Body is the JSON client payload: omitted fields keep + their current values, and an explicit zero, empty or null value clears + a field, except as noted below.' + id: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below-1 - content: Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed. id: delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed + - content: Delete a client by email. Removes it from every attached inbound and + drops its traffic record unless keepTraffic=1 is passed. + id: delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed-1 - content: Attach an existing client to one or more additional inbounds. Body is JSON. id: attach-an-existing-client-to-one-or-more-additional-inbounds-body-is-json @@ -355,6 +466,16 @@ _openapi: emitted on future subscription fetches; credentials already imported by an app remain valid until the external provider revokes them. id: replace-a-clients-external-links-and-external-subscriptions-sends-the-full-set-the-server-replaces-all-rows-disabled-rows-stay-saved-for-editing-but-are-not-emitted-in-generated-subscriptions-the-owning-clients-disabled-or-expired-state-also-stops-these-rows-from-being-emitted-on-future-subscription-fetches-credentials-already-imported-by-an-app-remain-valid-until-the-external-provider-revokes-them + - content: List WireGuard devices and their per-inbound addresses. + id: list-wireguard-devices-and-their-per-inbound-addresses + - content: Create a WireGuard device on every attached WireGuard inbound. + id: create-a-wireguard-device-on-every-attached-wireguard-inbound + - content: Set the maximum number of WireGuard devices. + id: set-the-maximum-number-of-wireguard-devices + - content: Rename or enable a WireGuard device. + id: rename-or-enable-a-wireguard-device + - content: Delete an additional WireGuard device and release its address. + id: delete-an-additional-wireguard-device-and-release-its-address - content: Reset the up/down counters for every client globally. Quotas and expiry are not affected. Triggers an Xray restart if any counter actually moved. @@ -402,8 +523,19 @@ _openapi: the inbound supports it (omit or "" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets MTProto Telegram sponsor channel ("none" - clears). Returns the adjusted count and per-email skip reasons.' - id: shift-expiry-andor-traffic-quota-for-many-clients-in-one-call-adddaysaddbytes-may-be-negative-clients-with-unlimited-expiry-expirytime0-or-unlimited-traffic-totalgb0-are-skipped-for-the-corresponding-field--bulk-extend-never-converts-unlimited-to-limited-a-client-that-was-auto-disabled-solely-because-it-was-depleted-expired-or-over-quota-is-automatically-re-enabled--locally-and-on-its-node--when-the-adjustment-lifts-it-out-of-depletion-a-manually-disabled-or-still-depleted-client-is-left-disabled-the-optional-flow-directive-sets-the-xtls-flow-on-every-client-none-clears-it-xtls-rprx-visionxtls-rprx-vision-udp443-set-it-where-the-inbound-supports-it-omit-or--to-leave-it-unchanged-the-optional-limithwid-sets-maximum-registered-devices-0--unlimited-the-optional-adtag-sets-mtproto-telegram-sponsor-channel-none-clears-returns-the-adjusted-count-and-per-email-skip-reasons + clears). Alternatively, send externalLinks to append external share + links and http(s) subscriptions to each selected client in one + transaction. This mode cannot be combined with other adjustments. + Existing entries, metadata, and ordering are preserved. Duplicates + match (kind, value) per client, including repeated input rows; the + first entry wins. Missing clients are not written and appear in + skipped. externalLinks.added counts inserted rows, + externalLinks.skipped counts duplicate rows across found clients, + externalLinks.errors counts missing clients, and adjusted counts + clients receiving at least one new row. Validation or database failure + aborts the whole append without writes. Repeating an append is + idempotent and does not restart Xray.' + id: shift-expiry-andor-traffic-quota-for-many-clients-in-one-call-adddaysaddbytes-may-be-negative-clients-with-unlimited-expiry-expirytime0-or-unlimited-traffic-totalgb0-are-skipped-for-the-corresponding-field--bulk-extend-never-converts-unlimited-to-limited-a-client-that-was-auto-disabled-solely-because-it-was-depleted-expired-or-over-quota-is-automatically-re-enabled--locally-and-on-its-node--when-the-adjustment-lifts-it-out-of-depletion-a-manually-disabled-or-still-depleted-client-is-left-disabled-the-optional-flow-directive-sets-the-xtls-flow-on-every-client-none-clears-it-xtls-rprx-visionxtls-rprx-vision-udp443-set-it-where-the-inbound-supports-it-omit-or--to-leave-it-unchanged-the-optional-limithwid-sets-maximum-registered-devices-0--unlimited-the-optional-adtag-sets-mtproto-telegram-sponsor-channel-none-clears-alternatively-send-externallinks-to-append-external-share-links-and-https-subscriptions-to-each-selected-client-in-one-transaction-this-mode-cannot-be-combined-with-other-adjustments-existing-entries-metadata-and-ordering-are-preserved-duplicates-match-kind-value-per-client-including-repeated-input-rows-the-first-entry-wins-missing-clients-are-not-written-and-appear-in-skipped-externallinksadded-counts-inserted-rows-externallinksskipped-counts-duplicate-rows-across-found-clients-externallinkserrors-counts-missing-clients-and-adjusted-counts-clients-receiving-at-least-one-new-row-validation-or-database-failure-aborts-the-whole-append-without-writes-repeating-an-append-is-idempotent-and-does-not-restart-xray - content: Enable many clients in one call. Emails are grouped by inbound and applied with a single read-modify-write per inbound; the running Xray (local or remote node) is updated to add each user. Note that enabling @@ -444,10 +576,20 @@ _openapi: keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are - reported under skipped. Returns per-email attached/skipped/errors - lists and triggers a single Xray restart if any target inbound was - running. - id: attach-many-existing-clients-to-many-inbounds-in-one-call-each-client-keeps-its-identity-emailuuidpasswordsubid-and-a-shared-traffic-row-all-clients-are-added-to-a-target-inbound-in-a-single-addinboundclient-call-clients-already-present-on-a-target-are-reported-under-skipped-returns-per-email-attachedskippederrors-lists-and-triggers-a-single-xray-restart-if-any-target-inbound-was-running + reported under skipped. Explicit email requests return per-email + lists. Alternatively submit selection with explicit clientIds or a + frozen allMatching scopeToken plus excludedClientIds and the search + and group it was frozen under. Scoped requests start a background job + and return {jobId}. Poll GET /bulkAttach/:id for counts or a + stale-selection error. Newer IDs stay outside the frozen scope. + Changes to the frozen membership are rejected before applying changes. + Triggers a single Xray restart if any target inbound was running. + id: attach-many-existing-clients-to-many-inbounds-in-one-call-each-client-keeps-its-identity-emailuuidpasswordsubid-and-a-shared-traffic-row-all-clients-are-added-to-a-target-inbound-in-a-single-addinboundclient-call-clients-already-present-on-a-target-are-reported-under-skipped-explicit-email-requests-return-per-email-lists-alternatively-submit-selection-with-explicit-clientids-or-a-frozen-allmatching-scopetoken-plus-excludedclientids-and-the-search-and-group-it-was-frozen-under-scoped-requests-start-a-background-job-and-return-jobid-poll-get-bulkattachid-for-counts-or-a-stale-selection-error-newer-ids-stay-outside-the-frozen-scope-changes-to-the-frozen-membership-are-rejected-before-applying-changes-triggers-a-single-xray-restart-if-any-target-inbound-was-running + - content: Poll a scoped attachment job. The result contains counts per target + (attached, skipped, errors); an operation failure sets error instead. + Completed results are retained for up to 15 minutes in the running + panel process. + id: poll-a-scoped-attachment-job-the-result-contains-counts-per-target-attached-skipped-errors-an-operation-failure-sets-error-instead-completed-results-are-retained-for-up-to-15-minutes-in-the-running-panel-process - content: "Mirror of bulkAttach: detach many existing clients from many inbounds in one call. For each email, intersects the client's current inbounds with the requested set and detaches from those only; (email, inbound) @@ -464,24 +606,32 @@ _openapi: disabled by hand stays disabled. Returns the count of successfully reset clients. id: zero-updown-counters-for-many-clients-in-one-call-loops-the-single-reset-path-so-each-client-its-quota-had-disabled-is-re-enabled-across-its-attached-inbounds-and-pushed-to-xrayremote-nodes-a-client-disabled-by-hand-stays-disabled-returns-the-count-of-successfully-reset-clients - - content: List all client groups with their member counts. Merges persisted - groups (rows in client_groups, including empty placeholders) with the - distinct group_name values currently set on clients. Sorted - alphabetically (case-insensitive). - id: list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + - content: List all client groups with their member counts and the host groups + bound to each. Merges persisted groups (rows in client_groups, + including empty placeholders) with the distinct group_name values + currently set on clients. Sorted alphabetically (case-insensitive). + id: list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + - content: Replace the host groups attached to a client group. Clients in this + group receive the bound host groups instead of the inbound default + host pool; other clients are unaffected. An empty array clears the + bindings. Returns the saved host group IDs. + id: replace-the-host-groups-attached-to-a-client-group-clients-in-this-group-receive-the-bound-host-groups-instead-of-the-inbound-default-host-pool-other-clients-are-unaffected-an-empty-array-clears-the-bindings-returns-the-saved-host-group-ids - content: Return just the email list of clients that currently belong to the given group. Useful for fanning a single bulk action over an entire group without round-tripping the full client list. id: return-just-the-email-list-of-clients-that-currently-belong-to-the-given-group-useful-for-fanning-a-single-bulk-action-over-an-entire-group-without-round-tripping-the-full-client-list - - content: Create a new empty (placeholder) group. The group becomes selectable in - client forms and the filter drawer even before any client is added to - it. Errors if a group with the same name already exists. - id: create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists - - content: Rename a group. The new name is applied to the client_groups row AND + - content: Create a new group, optionally with host rules bound to it. The group + becomes selectable in client forms and the filter drawer even before + any client is added to it. Host group IDs are validated before the + group is created. Errors if a group with the same name already exists. + id: create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists + - content: Rename a group and optionally replace its host rules in one + transaction. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the - client entry inside every owning inbound's settings JSON) in a single - transaction. Returns the number of clients whose label was updated. - id: rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + client entry inside every owning inbound's settings JSON). Omit + hostGroupIds to leave the bindings unchanged; send an empty array to + clear them. Returns the number of clients whose label was updated. + id: rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - content: Remove a group. Deletes the client_groups row and clears the group label from every matching client (both clients.group_name and the inbound settings JSON). The clients themselves are NOT deleted — use @@ -508,15 +658,24 @@ _openapi: id: list-source-ips-that-have-connected-with-the-given-clients-credentials-returns-an-array-of-ip-timestamp-strings - content: Reset the recorded IP list for a client. id: reset-the-recorded-ip-list-for-a-client - - content: List registered HWID devices for a client with a short fingerprint. - Full hashes are not exposed. - id: list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-full-hashes-are-not-exposed - - content: Clear all registered HWID devices for a client so new devices can - register again. - id: clear-all-registered-hwid-devices-for-a-client-so-new-devices-can-register-again - - content: Remove a single registered HWID device by its id, freeing one slot - under the HWID limit. - id: remove-a-single-registered-hwid-device-by-its-id-freeing-one-slot-under-the-hwid-limit + - content: List registered HWID devices for a client with a short fingerprint and + a blocked flag. Bans are scoped to the subscription ID shared by the + client. Full hashes are not exposed. + id: list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-and-a-blocked-flag-bans-are-scoped-to-the-subscription-id-shared-by-the-client-full-hashes-are-not-exposed + - content: Clear unblocked HWID registrations for a client so devices can register + again. Blocked devices and their bans are preserved. + id: clear-unblocked-hwid-registrations-for-a-client-so-devices-can-register-again-blocked-devices-and-their-bans-are-preserved + - content: Remove a single unblocked HWID device by its id, freeing one slot under + the HWID limit. A blocked device must be unblocked before it can be + removed. + id: remove-a-single-unblocked-hwid-device-by-its-id-freeing-one-slot-under-the-hwid-limit-a-blocked-device-must-be-unblocked-before-it-can-be-removed + - content: Block or unblock one device for the client subscription. Send an + explicit boolean blocked value. A ban denies subscription bodies for + that HWID even with limitHwid=0, does not consume a device slot, and + survives clearing devices or changing the limit. It does not revoke + copied credentials or identify requests with a different or missing + HWID. + id: block-or-unblock-one-device-for-the-client-subscription-send-an-explicit-boolean-blocked-value-a-ban-denies-subscription-bodies-for-that-hwid-even-with-limithwid0-does-not-consume-a-device-slot-and-survives-clearing-devices-or-changing-the-limit-it-does-not-revoke-copied-credentials-or-identify-requests-with-a-different-or-missing-hwid - content: List the emails of currently connected clients (last seen within the heartbeat window), deduped across every node. id: list-the-emails-of-currently-connected-clients-last-seen-within-the-heartbeat-window-deduped-across-every-node @@ -541,6 +700,23 @@ _openapi: id: map-of-client-email--last-seen-unix-timestamp - content: Traffic counters for a client identified by email. id: traffic-counters-for-a-client-identified-by-email + - content: "Usage and change history for one client, behind the edit modal's + history button. lifetimeUp/lifetimeDown are every archived window plus + the client's live counters; currentUp/currentDown are the still-open + window. windows lists the closed cycles, newest first (reason: reset | + renew | earlier): one is archived whenever a traffic reset or an + auto-renewal zeroes the client's counters, the newest 100 are kept and + older ones are folded into a single earlier row, so the lifetime total + does not change. nodes is the per-node upload/download accumulated + since the last reset. changes is the metadata change log, newest + first, capped at the newest 200 rows: one row per changed field + (subId, expiry, dataLimit, enable, limitIp, limitHwid, adTag, group, + renewalPlan) and a name row for a rename; source is panel | tgbot | + auto-renew. A renamed client keeps its history under the new email. + The history belongs to the client: once the client is deleted, its + history is removed within five minutes. Requires an admin token or a + panel login session." + id: usage-and-change-history-for-one-client-behind-the-edit-modals-history-button-lifetimeuplifetimedown-are-every-archived-window-plus-the-clients-live-counters-currentupcurrentdown-are-the-still-open-window-windows-lists-the-closed-cycles-newest-first-reason-reset--renew--earlier-one-is-archived-whenever-a-traffic-reset-or-an-auto-renewal-zeroes-the-clients-counters-the-newest-100-are-kept-and-older-ones-are-folded-into-a-single-earlier-row-so-the-lifetime-total-does-not-change-nodes-is-the-per-node-uploaddownload-accumulated-since-the-last-reset-changes-is-the-metadata-change-log-newest-first-capped-at-the-newest-200-rows-one-row-per-changed-field-subid-expiry-datalimit-enable-limitip-limithwid-adtag-group-renewalplan-and-a-name-row-for-a-rename-source-is-panel--tgbot--auto-renew-a-renamed-client-keeps-its-history-under-the-new-email-the-history-belongs-to-the-client-once-the-client-is-deleted-its-history-is-removed-within-five-minutes-requires-an-admin-token-or-a-panel-login-session - content: Return every protocol URL (vless://, vmess://, trojan://, ss://, hysteria://, hy2://) for clients matching the subscription ID. Same result set as the configured subPath endpoint, but as a JSON array — @@ -564,6 +740,9 @@ _openapi: tunnel) contribute nothing.' id: return-every-url-for-one-client-across-all-attached-inbounds-one-per-advertised-endpoint-the-managed-hosts-of-the-inbound-else-its-streamsettingsexternalproxy-entries-else-its-own-address-supported-protocols-vmess-vless-trojan-shadowsocks-hysteria-mtproto-protocols-without-a-url-form-socks-http-mixed-wireguard-dokodemo-tunnel-contribute-nothing contents: + - content: Query-parameter alias for the path endpoint. Use email=. or email=.. to + manage legacy reserved names without URL dot-segment normalization. + heading: fetch-one-client-by-email-including-the-inbound-ids-and-external-config-ids-it-is-attached-to-1 - content: Matches the exact subscription ID and orders results by client ID. Returns an array of the same payloads as GET /clients/get/:email, since multiple clients can share a subscription ID. Includes disabled, @@ -572,11 +751,14 @@ _openapi: email lookup. Requires an admin token or a panel login session. heading: fetch-clients-by-subscription-id - content: >- - Fields the server fills in when they are omitted — a valid value sent - by the caller is never overwritten. Re-adding an email that already - exists, with its stored `subId`, reuses the stored `id`, `password`, - `auth` and `secret` instead of minting new ones, so the identity stays - in sync across its inbounds. + Client email must not be exactly `.` or `..`. Existing reserved-name + clients can be read, renamed to a valid name, or deleted using the + query-parameter /get, /update and /del aliases. Fields the server + fills in when they are omitted — a valid value sent by the caller is + never overwritten. Re-adding an email that already exists, with its + stored `subId`, reuses the stored `id`, `password`, `auth` and + `secret` instead of minting new ones, so the identity stays in sync + across its inbounds. - **VLESS / VMess** — `id`, a fresh UUID @@ -641,7 +823,11 @@ _openapi: preview is informational and does not reserve an allowance or guarantee node availability. heading: preview-client-auto-renewal-dates-without-saving-or-resetting-anything - - content: 'The inbounds are applied concurrently and independently: one that + - content: 'An omitted `flow` leaves every attached inbound on its own flow. Send + `"reverse": null` to remove the reverse tag. Credentials (`id`, + `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG + `allowedIPs` are never cleared: an empty value keeps the stored one. + The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can @@ -649,7 +835,22 @@ _openapi: record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.' - heading: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + heading: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below + - content: 'Query-parameter alias for the path endpoint. Use email=. or email=.. + to manage legacy reserved names without URL dot-segment normalization. + An omitted `flow` leaves every attached inbound on its own flow. Send + `"reverse": null` to remove the reverse tag. Credentials (`id`, + `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG + `allowedIPs` are never cleared: an empty value keeps the stored one. + The inbounds are applied concurrently and independently: one that + fails no longer stops the others. Every inbound error names the + inbound it came from (`inbound 7: `), and several failures + are reported together, one per line. So a `success:false` response can + still have applied the edit to the remaining inbounds. The client + record is written after the inbounds, so a failure there is reported + without an `inbound :` prefix and leaves the inbound edits in + place.' + heading: update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below-1 - content: 'The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures @@ -660,6 +861,18 @@ _openapi: inbounds, so a failure there is reported without an `inbound :` prefix and leaves the client already removed from every inbound.' heading: delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed + - content: 'Query-parameter alias for the path endpoint. Use email=. or email=.. + to manage legacy reserved names without URL dot-segment normalization. + The inbounds are applied concurrently and independently: one that + fails no longer stops the others. Every inbound error names the + inbound it came from (`inbound 7: `), and several failures + are reported together, one per line. So a `success:false` response can + still have removed the client from the remaining inbounds; the client + record is kept in that case, so re-running the call retries exactly + the leftovers. The record and traffic rows are dropped after the + inbounds, so a failure there is reported without an `inbound :` + prefix and leaves the client already removed from every inbound.' + heading: delete-a-client-by-email-removes-it-from-every-attached-inbound-and-drops-its-traffic-record-unless-keeptraffic1-is-passed-1 - content: 'A WireGuard client brings its stored `allowedIPs` into the new inbound instead of being given a fresh address, so the call fails with `inbound : wireguard: allowedIPs entry overlaps
@@ -676,6 +889,26 @@ _openapi: still have detached the remaining inbounds. Detach writes nothing beyond the inbounds, so every error carries the prefix.' heading: detach-a-client-from-one-or-more-inbounds-without-deleting-the-client + - content: The original credentials remain the primary device. Additional devices + share their parent client email, traffic quota, expiry and enable + state. Keep each device configuration on one device. Device-specific + subscriptions use the existing subscription URL with the wgDevice + query parameter set to the device ID. + heading: list-wireguard-devices-and-their-per-inbound-addresses + - content: Keys are generated once and each inbound allocates an available tunnel + address. All inbounds commit together. The default limit is 5 devices + including primary. + heading: create-a-wireguard-device-on-every-attached-wireguard-inbound + - content: The limit includes primary and disabled devices. Choose 1 to 32. Values + below the current device count are rejected. + heading: set-the-maximum-number-of-wireguard-devices + - content: The primary device is managed through the parent client. Disabled + additional devices retain their reserved addresses. + heading: rename-or-enable-a-wireguard-device + - content: The device is removed from every attached WireGuard inbound. Its + previously downloaded configuration loses access after the + configuration is applied. + heading: delete-an-additional-wireguard-device-and-release-its-address --- {/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} @@ -685,7 +918,7 @@ export default function Layout(props) { return ( <> {props.children} - + ); } \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/mcp.mdx b/docs/content/docs/en/reference/api/mcp.mdx new file mode 100644 index 000000000..4334f4c7b --- /dev/null +++ b/docs/content/docs/en/reference/api/mcp.mdx @@ -0,0 +1,39 @@ +--- +title: MCP +description: Model Context Protocol endpoint for AI agents (Claude, Cursor, VS + Code). Point an MCP client at this URL with an admin Bearer token; restricted + token scopes are refused. +full: true +_openapi: + preload: + - ./public/openapi.json + toc: + - depth: 2 + title: 'Stateless streamable-HTTP MCP endpoint (JSON-RPC 2.0). Exposes panel + tools for inbounds, clients, server, Xray, nodes, hosts and settings; + each tool call runs the matching /panel/api route with the caller’s + credentials. Off by default: answers 404 until the MCP server is enabled + under Settings → Security → API Token.' + url: '#stateless-streamable-http-mcp-endpoint-json-rpc-20-exposes-panel-tools-for-inbounds-clients-server-xray-nodes-hosts-and-settings-each-tool-call-runs-the-matching-panelapi-route-with-the-callers-credentials-off-by-default-answers-404-until-the-mcp-server-is-enabled-under-settings--security--api-token' + structuredData: + headings: + - content: 'Stateless streamable-HTTP MCP endpoint (JSON-RPC 2.0). Exposes panel + tools for inbounds, clients, server, Xray, nodes, hosts and settings; + each tool call runs the matching /panel/api route with the caller’s + credentials. Off by default: answers 404 until the MCP server is + enabled under Settings → Security → API Token.' + id: stateless-streamable-http-mcp-endpoint-json-rpc-20-exposes-panel-tools-for-inbounds-clients-server-xray-nodes-hosts-and-settings-each-tool-call-runs-the-matching-panelapi-route-with-the-callers-credentials-off-by-default-answers-404-until-the-mcp-server-is-enabled-under-settings--security--api-token + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + +export default function Layout(props) { + const { OpenAPIPage } = props.components ?? {}; + return ( + <> + {props.children} + + + ); +} \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/meta.json b/docs/content/docs/en/reference/api/meta.json index b21d606de..926c49507 100644 --- a/docs/content/docs/en/reference/api/meta.json +++ b/docs/content/docs/en/reference/api/meta.json @@ -13,8 +13,10 @@ "subscription-server", "subscription-balancers", "hosts", + "reality-watch", "nodes", "backup", + "mcp", "websocket" ] } diff --git a/docs/content/docs/en/reference/api/nodes.mdx b/docs/content/docs/en/reference/api/nodes.mdx index c81d856e9..fb6e627e3 100644 --- a/docs/content/docs/en/reference/api/nodes.mdx +++ b/docs/content/docs/en/reference/api/nodes.mdx @@ -69,6 +69,20 @@ _openapi: - depth: 2 title: Probe an existing node, updating its cached health state. url: '#probe-an-existing-node-updating-its-cached-health-state' + - depth: 2 + title: Restart Xray on one enabled, directly configured node. Active Xray + connections are interrupted. Uses the node runtime and accepts admin, + node-admin or node-sync credentials on the node. A stale heartbeat does + not prevent the request. + url: '#restart-xray-on-one-enabled-directly-configured-node-active-xray-connections-are-interrupted-uses-the-node-runtime-and-accepts-admin-node-admin-or-node-sync-credentials-on-the-node-a-stale-heartbeat-does-not-prevent-the-request' + - depth: 2 + title: Request a restart of the panel and subscription services on one enabled, + directly configured node. Requires admin or node-admin credentials on + the node; mTLS requires an explicit node-admin bearer token. Success + acknowledges scheduling, before the three-second restart delay. A stale + heartbeat does not prevent the request. Older nodes may reject + node-admin access until upgraded. + url: '#request-a-restart-of-the-panel-and-subscription-services-on-one-enabled-directly-configured-node-requires-admin-or-node-admin-credentials-on-the-node-mtls-requires-an-explicit-node-admin-bearer-token-success-acknowledges-scheduling-before-the-three-second-restart-delay-a-stale-heartbeat-does-not-prevent-the-request-older-nodes-may-reject-node-admin-access-until-upgraded' - depth: 2 title: 'Trigger the official panel self-updater on each given node (downloads the latest release and restarts). Only enabled, online nodes are @@ -130,6 +144,18 @@ _openapi: id: use-unsaved-node-connection-details-to-list-the-remote-inbounds-available-for-selective-import - content: Probe an existing node, updating its cached health state. id: probe-an-existing-node-updating-its-cached-health-state + - content: Restart Xray on one enabled, directly configured node. Active Xray + connections are interrupted. Uses the node runtime and accepts admin, + node-admin or node-sync credentials on the node. A stale heartbeat + does not prevent the request. + id: restart-xray-on-one-enabled-directly-configured-node-active-xray-connections-are-interrupted-uses-the-node-runtime-and-accepts-admin-node-admin-or-node-sync-credentials-on-the-node-a-stale-heartbeat-does-not-prevent-the-request + - content: Request a restart of the panel and subscription services on one + enabled, directly configured node. Requires admin or node-admin + credentials on the node; mTLS requires an explicit node-admin bearer + token. Success acknowledges scheduling, before the three-second + restart delay. A stale heartbeat does not prevent the request. Older + nodes may reject node-admin access until upgraded. + id: request-a-restart-of-the-panel-and-subscription-services-on-one-enabled-directly-configured-node-requires-admin-or-node-admin-credentials-on-the-node-mtls-requires-an-explicit-node-admin-bearer-token-success-acknowledges-scheduling-before-the-three-second-restart-delay-a-stale-heartbeat-does-not-prevent-the-request-older-nodes-may-reject-node-admin-access-until-upgraded - content: 'Trigger the official panel self-updater on each given node (downloads the latest release and restarts). Only enabled, online nodes are updated; offline/disabled ones are reported as skipped. Set "dev": @@ -149,7 +175,7 @@ export default function Layout(props) { return ( <> {props.children} - + ); } \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/reality-watch.mdx b/docs/content/docs/en/reference/api/reality-watch.mdx new file mode 100644 index 000000000..e49db6d87 --- /dev/null +++ b/docs/content/docs/en/reference/api/reality-watch.mdx @@ -0,0 +1,68 @@ +--- +title: REALITY watch +description: Spare targets per REALITY inbound. Every 10 minutes the panel + checks each watched target from this server; after 3 failed checks in a row, + an inbound with auto switch on moves to the first spare that passes the same + check and a real REALITY connection through a throwaway Xray server and + client. Inbounds on nodes, and targets on this machine or the LAN (a bare + port, a unix socket, a private address), are not checked. +full: true +_openapi: + preload: + - ./public/openapi.json + toc: + - depth: 2 + title: 'Status of every watched inbound: current target, spares, last check and + the switch history.' + url: '#status-of-every-watched-inbound-current-target-spares-last-check-and-the-switch-history' + - depth: 2 + title: Status of one REALITY inbound. + url: '#status-of-one-reality-inbound' + - depth: 2 + title: Set the spare targets (host[:port], in order of preference, at most 10; + the current target is dropped) and whether a dead target is replaced + automatically. + url: '#set-the-spare-targets-hostport-in-order-of-preference-at-most-10-the-current-target-is-dropped-and-whether-a-dead-target-is-replaced-automatically' + - depth: 2 + title: Move the inbound to this target now and return its new status. Refused + for a node inbound, or unless the target passes the server check and a + real REALITY connection. Only target and serverNames change, plus any + Hosts of this inbound that pin an old server name. + url: '#move-the-inbound-to-this-target-now-and-return-its-new-status-refused-for-a-node-inbound-or-unless-the-target-passes-the-server-check-and-a-real-reality-connection-only-target-and-servernames-change-plus-any-hosts-of-this-inbound-that-pin-an-old-server-name' + - depth: 2 + title: Check a target from this server and through a real REALITY connection; + feasible is false with a reason when either fails. + url: '#check-a-target-from-this-server-and-through-a-real-reality-connection-feasible-is-false-with-a-reason-when-either-fails' + structuredData: + headings: + - content: 'Status of every watched inbound: current target, spares, last check + and the switch history.' + id: status-of-every-watched-inbound-current-target-spares-last-check-and-the-switch-history + - content: Status of one REALITY inbound. + id: status-of-one-reality-inbound + - content: Set the spare targets (host[:port], in order of preference, at most 10; + the current target is dropped) and whether a dead target is replaced + automatically. + id: set-the-spare-targets-hostport-in-order-of-preference-at-most-10-the-current-target-is-dropped-and-whether-a-dead-target-is-replaced-automatically + - content: Move the inbound to this target now and return its new status. Refused + for a node inbound, or unless the target passes the server check and a + real REALITY connection. Only target and serverNames change, plus any + Hosts of this inbound that pin an old server name. + id: move-the-inbound-to-this-target-now-and-return-its-new-status-refused-for-a-node-inbound-or-unless-the-target-passes-the-server-check-and-a-real-reality-connection-only-target-and-servernames-change-plus-any-hosts-of-this-inbound-that-pin-an-old-server-name + - content: Check a target from this server and through a real REALITY connection; + feasible is false with a reason when either fails. + id: check-a-target-from-this-server-and-through-a-real-reality-connection-feasible-is-false-with-a-reason-when-either-fails + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + +export default function Layout(props) { + const { OpenAPIPage } = props.components ?? {}; + return ( + <> + {props.children} + + + ); +} \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/server.mdx b/docs/content/docs/en/reference/api/server.mdx index 58cd3dbdc..9738ba947 100644 --- a/docs/content/docs/en/reference/api/server.mdx +++ b/docs/content/docs/en/reference/api/server.mdx @@ -23,23 +23,34 @@ _openapi: panel uses it to gate the "IP Limit" field, since enforcement depends on Fail2ban being installed. url: '#reports-whether-per-client-ip-limits-can-be-enforced-on-this-host-the-panel-uses-it-to-gate-the-ip-limit-field-since-enforcement-depends-on-fail2ban-being-installed' + - depth: 2 + title: List network interface names and resolve the primary default-route + interface in this panel network namespace. Requires an admin session or + admin API token. No addresses or hardware identifiers are returned. + url: '#list-network-interface-names-and-resolve-the-primary-default-route-interface-in-this-panel-network-namespace-requires-an-admin-session-or-admin-api-token-no-addresses-or-hardware-identifiers-are-returned' - depth: 2 title: 'Legacy: aggregated CPU history. Use /history/cpu/:bucket instead — same data with a uniform {t, v} shape.' url: '#legacy-aggregated-cpu-history-use-historycpubucket-instead--same-data-with-a-uniform-t-v-shape' - depth: 2 - title: Aggregated time-series for one metric. Returns an array of {t, v} samples - covering the last ~6 hours. - url: '#aggregated-time-series-for-one-metric-returns-an-array-of-t-v-samples-covering-the-last-6-hours' + title: Aggregated time-series for one system metric. Returns up to 60 {t, v} + samples; supported bucket sizes cover windows from 2 minutes up to 7 + days. + url: '#aggregated-time-series-for-one-system-metric-returns-up-to-60-t-v-samples-supported-bucket-sizes-cover-windows-from-2-minutes-up-to-7-days' + - depth: 2 + title: 'Aggregated history for all overview charts in one response: up to 60 {t, + v} samples for each of cpu, mem, swap, diskUsage, netUp, netDown, + tcpCount and udpCount.' + url: '#aggregated-history-for-all-overview-charts-in-one-response-up-to-60-t-v-samples-for-each-of-cpu-mem-swap-diskusage-netup-netdown-tcpcount-and-udpcount' - depth: 2 title: Xray runtime metrics state — whether the xray config has a `metrics` block, which expvar keys are flowing, and the current snapshot values for each. Returns an empty state when metrics are not configured. url: '#xray-runtime-metrics-state--whether-the-xray-config-has-a-metrics-block-which-expvar-keys-are-flowing-and-the-current-snapshot-values-for-each-returns-an-empty-state-when-metrics-are-not-configured' - depth: 2 - title: Time-series history for one Xray runtime metric over the last ~6 hours. - Same {t, v} shape as /history/:metric/:bucket. - url: '#time-series-history-for-one-xray-runtime-metric-over-the-last-6-hours-same-t-v-shape-as-historymetricbucket' + title: Aggregated history for one Xray runtime metric. Returns up to 60 {t, v} + samples for bucket windows up to 7 days. + url: '#aggregated-history-for-one-xray-runtime-metric-returns-up-to-60-t-v-samples-for-bucket-windows-up-to-7-days' - depth: 2 title: Latest snapshot from the Xray observatory — per-outbound latency, health status, and last-probe time. Only populated when the Xray config has an @@ -195,19 +206,28 @@ _openapi: panel uses it to gate the "IP Limit" field, since enforcement depends on Fail2ban being installed. id: reports-whether-per-client-ip-limits-can-be-enforced-on-this-host-the-panel-uses-it-to-gate-the-ip-limit-field-since-enforcement-depends-on-fail2ban-being-installed + - content: List network interface names and resolve the primary default-route + interface in this panel network namespace. Requires an admin session + or admin API token. No addresses or hardware identifiers are returned. + id: list-network-interface-names-and-resolve-the-primary-default-route-interface-in-this-panel-network-namespace-requires-an-admin-session-or-admin-api-token-no-addresses-or-hardware-identifiers-are-returned - content: 'Legacy: aggregated CPU history. Use /history/cpu/:bucket instead — same data with a uniform {t, v} shape.' id: legacy-aggregated-cpu-history-use-historycpubucket-instead--same-data-with-a-uniform-t-v-shape - - content: Aggregated time-series for one metric. Returns an array of {t, v} - samples covering the last ~6 hours. - id: aggregated-time-series-for-one-metric-returns-an-array-of-t-v-samples-covering-the-last-6-hours + - content: Aggregated time-series for one system metric. Returns up to 60 {t, v} + samples; supported bucket sizes cover windows from 2 minutes up to 7 + days. + id: aggregated-time-series-for-one-system-metric-returns-up-to-60-t-v-samples-supported-bucket-sizes-cover-windows-from-2-minutes-up-to-7-days + - content: 'Aggregated history for all overview charts in one response: up to 60 + {t, v} samples for each of cpu, mem, swap, diskUsage, netUp, netDown, + tcpCount and udpCount.' + id: aggregated-history-for-all-overview-charts-in-one-response-up-to-60-t-v-samples-for-each-of-cpu-mem-swap-diskusage-netup-netdown-tcpcount-and-udpcount - content: Xray runtime metrics state — whether the xray config has a `metrics` block, which expvar keys are flowing, and the current snapshot values for each. Returns an empty state when metrics are not configured. id: xray-runtime-metrics-state--whether-the-xray-config-has-a-metrics-block-which-expvar-keys-are-flowing-and-the-current-snapshot-values-for-each-returns-an-empty-state-when-metrics-are-not-configured - - content: Time-series history for one Xray runtime metric over the last ~6 hours. - Same {t, v} shape as /history/:metric/:bucket. - id: time-series-history-for-one-xray-runtime-metric-over-the-last-6-hours-same-t-v-shape-as-historymetricbucket + - content: Aggregated history for one Xray runtime metric. Returns up to 60 {t, v} + samples for bucket windows up to 7 days. + id: aggregated-history-for-one-xray-runtime-metric-returns-up-to-60-t-v-samples-for-bucket-windows-up-to-7-days - content: Latest snapshot from the Xray observatory — per-outbound latency, health status, and last-probe time. Only populated when the Xray config has an observatory configured. @@ -325,7 +345,7 @@ export default function Layout(props) { return ( <> {props.children} - + ); } \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/settings.mdx b/docs/content/docs/en/reference/api/settings.mdx index 525d19711..293212b12 100644 --- a/docs/content/docs/en/reference/api/settings.mdx +++ b/docs/content/docs/en/reference/api/settings.mdx @@ -56,6 +56,11 @@ _openapi: title: Test Discord bot connection by sending a test embed to the configured channel. url: '#test-discord-bot-connection-by-sending-a-test-embed-to-the-configured-channel' + - depth: 2 + title: Send a text test notification using the saved WeChat destination. + Supports WeCom group robots and compatible personal WeChat webhook + gateways. Requires WeChat notifications to be enabled. + url: '#send-a-text-test-notification-using-the-saved-wechat-destination-supports-wecom-group-robots-and-compatible-personal-wechat-webhook-gateways-requires-wechat-notifications-to-be-enabled' - depth: 2 title: Return the built-in default Xray JSON config template that ships with this panel version. @@ -100,10 +105,20 @@ _openapi: - content: Test Discord bot connection by sending a test embed to the configured channel. id: test-discord-bot-connection-by-sending-a-test-embed-to-the-configured-channel + - content: Send a text test notification using the saved WeChat destination. + Supports WeCom group robots and compatible personal WeChat webhook + gateways. Requires WeChat notifications to be enabled. + id: send-a-text-test-notification-using-the-saved-wechat-destination-supports-wecom-group-robots-and-compatible-personal-wechat-webhook-gateways-requires-wechat-notifications-to-be-enabled - content: Return the built-in default Xray JSON config template that ships with this panel version. id: return-the-built-in-default-xray-json-config-template-that-ships-with-this-panel-version - contents: [] + contents: + - content: The answer names the listener that took the call (port, tls) and the + one the restarted panel opens (nextPort, nextTls), with XUI_PORT and + an unloadable certificate pair already applied. A client reaching the + panel through a proxy or a port mapping compares port and tls with the + address it used, and follows a change only where they match. + heading: restart-the-entire-3x-ui-process-after-a-3-second-grace-period-the-connection-drops-immediately-the-panel-comes-back-online-5-10-seconds-later --- {/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} @@ -113,7 +128,7 @@ export default function Layout(props) { return ( <> {props.children} - + ); } \ No newline at end of file diff --git a/docs/content/docs/en/reference/api/subscription-balancers.mdx b/docs/content/docs/en/reference/api/subscription-balancers.mdx index 1efa91574..8457b9a55 100644 --- a/docs/content/docs/en/reference/api/subscription-balancers.mdx +++ b/docs/content/docs/en/reference/api/subscription-balancers.mdx @@ -10,8 +10,9 @@ _openapi: - ./public/openapi.json toc: - depth: 2 - title: List all subscription balancers in sort order (sort_order asc, id asc). - url: '#list-all-subscription-balancers-in-sort-order-sort_order-asc-id-asc' + title: List all subscription balancers in sort order, with problems[] + advisories. + url: '#list-all-subscription-balancers-in-sort-order-with-problems-advisories' - depth: 2 title: Create a subscription balancer. It appears in the JSON subscription of every client that sits on at least one selected inbound. @@ -30,8 +31,9 @@ _openapi: url: '#delete-a-balancer-by-id-post-alias-of-delete-for-clients-that-cannot-send-delete' structuredData: headings: - - content: List all subscription balancers in sort order (sort_order asc, id asc). - id: list-all-subscription-balancers-in-sort-order-sort_order-asc-id-asc + - content: List all subscription balancers in sort order, with problems[] + advisories. + id: list-all-subscription-balancers-in-sort-order-with-problems-advisories - content: Create a subscription balancer. It appears in the JSON subscription of every client that sits on at least one selected inbound. id: create-a-subscription-balancer-it-appears-in-the-json-subscription-of-every-client-that-sits-on-at-least-one-selected-inbound @@ -44,7 +46,14 @@ _openapi: - content: Delete a balancer by id (POST alias of DELETE for clients that cannot send DELETE). id: delete-a-balancer-by-id-post-alias-of-delete-for-clients-that-cannot-send-delete - contents: [] + contents: + - content: 'Each balancer carries a problems[] array of diagnostic advisories: + unknown_inbound, disabled_inbound, json_incapable_protocol, + inbound_without_clients, hosts_excluded_from_json, no_members. + Advisories never change the emitted config — a balancer with no + resolvable member is still omitted from the JSON subscription. + sort_order asc, id asc.' + heading: list-all-subscription-balancers-in-sort-order-with-problems-advisories --- {/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} diff --git a/docs/content/docs/fa/config/transports.mdx b/docs/content/docs/fa/config/transports.mdx index 9066c9604..98ee358c5 100644 --- a/docs/content/docs/fa/config/transports.mdx +++ b/docs/content/docs/fa/config/transports.mdx @@ -108,6 +108,12 @@ icon: Network `sessionIDLength`) و کلیدهای `scMin/MaxEachPostBytes` پیشرفته‌اند؛ آن‌ها را خالی بگذارید مگر آنکه با یک بالادست مشخص هماهنگ می‌شوید. +برای فرستادن درخواست‌های دانلود کلاینت به مقصدی جداگانه، **استفاده از مسیر دانلود جداگانه** +را فعال کنید. آدرس و پورت مقصد را وارد کنید و مقادیر `host` و `path` در HTTP و +تنظیمات امنیتی را مطابق آن مقصد تنظیم کنید. هر دو مسیر باید به یک شنوندهٔ XHTTP +برسند. اگر این گزینه را در اتصال ورودی فعال کنید، پنل این تنظیمات را در اشتراک +کلاینت‌ها قرار می‌دهد. این گزینه در حالت‌های `auto`، `packet-up` و `stream-up` در دسترس است. + ### Hysteria — `hysteriaSettings` تنها زمانی معتبر است که پروتکل **Hysteria2** باشد. @@ -138,7 +144,7 @@ inbound به مقدار `decryption` نیاز دارد و outbound به `encrypt | `secrets` | — | Google Drive: دقیقاً سه مقدار ClientID، ClientSecret و RefreshToken به همین ترتیب. Template: مقادیری که با `{secret0}`، `{secret1}`، … خوانده می‌شوند. S3: ‏AccessKeyID، SecretAccessKey و در صورت نیاز SessionToken. | | `template` | — | فقط برای سرویس template: عملیات `auth`، `put`، `get`، `list` و `delete` در API ذخیره‌ساز. | | `s3` | — | فقط برای سرویس s3: `endpoint` (یک URL از نوع http(s))، `region`، `bucket` و `pathStyle` (پیش‌فرض `true`؛ با `false` نام باکت در نام میزبان می‌آید). `remoteFolder` پیشوند اشیاء است. | -| تنظیمات دقیق | پیش‌فرض هسته | `segmentBytes` (512 KiB)، `flushIntervalMs` (20)، `pollIntervalMs`/`maxPollIntervalMs` (50/500)، `eagerWindowMs` (2000)، `holeTimeoutMs` (30000)، `sessionTtlSeconds` (300)، `concurrency` (8). | +| تنظیمات دقیق | پیش‌فرض هسته | `segmentBytes` (512 KiB)، `flushIntervalMs` (20)، `pollIntervalMs`/`maxPollIntervalMs` (50/500)، `eagerWindowMs` (2000)، `holeTimeoutMs` (30000)، `sessionTtlSeconds` (300)، `concurrency` (8). پیش‌فرض Google Drive: ‏`flushIntervalMs` برابر 10، `maxPollIntervalMs` برابر 200 و `concurrency` برابر 64 (xray-core 26.11.9). | **آدرس/پورت Front** اختیاری (کلیدهای `address`/`port` در سطح stream) یک domain front است که API ذخیره‌ساز از طریق آن وصل می‌شود؛ نام TLS همچنان میزبان API است. XDRIVE لایهٔ diff --git a/docs/content/docs/fa/operations/meta.json b/docs/content/docs/fa/operations/meta.json index 000badb34..e1becfb6b 100644 --- a/docs/content/docs/fa/operations/meta.json +++ b/docs/content/docs/fa/operations/meta.json @@ -3,6 +3,7 @@ "icon": "ServerCog", "pages": [ "reverse-proxy", + "system-monitoring", "multi-node", "outbounds-routing", "backup-restore", diff --git a/docs/content/docs/fa/operations/multi-node.mdx b/docs/content/docs/fa/operations/multi-node.mdx index 63aa1078d..f84696186 100644 --- a/docs/content/docs/fa/operations/multi-node.mdx +++ b/docs/content/docs/fa/operations/multi-node.mdx @@ -20,7 +20,7 @@ icon: Boxes | **Scheme** | `https` (پیش‌فرض) یا `http`. | | **Address / Port**| میزبان و پورت پنل نود. | | **Base path** | مسیر پایهٔ وب نود. | -| **API token** | یک توکن Bearer که روی نود ساخته می‌شود (در حالت mTLS لازم نیست). | +| **API token** | یک توکن Bearer که روی نود ساخته می‌شود (در حالت mTLS اختیاری است، به‌جز **به‌روزرسانی پنل** که به توکن `node-admin` نیاز دارد). | | **TLS verify** | `verify` (پیش‌فرض)، `skip`، `pin` (پین‌کردن SHA-256 گواهی) یا `mtls`. | | **Inbound sync** | همهٔ inboundها (`all`) یا انتخاب‌شده (`selected`) بر اساس تگ. | | **Outbound tag** | به‌اختیار از طریق یک outbound نام‌دار به نود برسید (پل خروجی). | @@ -59,6 +59,14 @@ icon: Boxes حالت TLS verify نود را روی `mtls` تنظیم کنید. اکنون مستر به‌جای یک توکن API یک گواهی کلاینت ارائه می‌دهد. + + + نودی که بدون توکن و از طریق mTLS متصل شده فقط دامنهٔ `node-sync` را دارد و نمی‌تواند + **به‌روزرسانی پنل** را اجرا کند (نود پاسخ HTTP 403 با پیام + «this API token is not permitted to access this endpoint» می‌دهد). برای به‌روزرسانی + چنین نودی از مستر، روی نود یک توکن API با دامنهٔ `node-admin` بسازید و آن را در + فیلد **API token** همان نود در مستر وارد کنید. حالت TLS verify را روی `mtls` نگه دارید. + diff --git a/docs/content/docs/fa/operations/outbounds-routing.mdx b/docs/content/docs/fa/operations/outbounds-routing.mdx index 2028346c4..cede13342 100644 --- a/docs/content/docs/fa/operations/outbounds-routing.mdx +++ b/docs/content/docs/fa/operations/outbounds-routing.mdx @@ -129,7 +129,7 @@ Reset یا حذف، peer مربوط به WireGuard را در حساب PIA باط حفظ می‌کند، بنابراین انتخاب‌گرهای مسیریابی/متعادل‌کننده مبتنی بر برچسب دقیق پایدار می‌مانند — در حالی که انتخاب‌گرهای پیشوندی/wildcard (مثلاً `hk-*`) با تغییر مجموعه، به‌صورت خودکار سرورهای جدید را در بر می‌گیرند. طرح‌های پیوند پشتیبانی‌شده: `vmess`، `vless`، `trojan`، `ss`، -`hysteria2` (`hy2`) و `wireguard` (`wg`). پنل اشتراک‌های فعال را روی یک زمان‌سنج تازه می‌کند و +`hysteria2` (`hy2`)، `wireguard` (`wg`) و `vpn` (AmneziaWG، از پنل 3x-ui یا کلید برنامه AmneziaVPN). پنل اشتراک‌های فعال را روی یک زمان‌سنج تازه می‌کند و هنگام تغییر چیزی، Xray را بارگذاری مجدد می‌کند. ## قواعد مسیریابی diff --git a/docs/content/docs/fa/operations/security.mdx b/docs/content/docs/fa/operations/security.mdx index 06e7b4ba3..e8572dbd6 100644 --- a/docs/content/docs/fa/operations/security.mdx +++ b/docs/content/docs/fa/operations/security.mdx @@ -17,7 +17,7 @@ icon: ShieldCheck ## Fail2ban و محدودیت‌های IP -برای هر کلاینت یک **محدودیت IP** تنظیم کنید (به [کلاینت‌ها](/docs/config/clients) مراجعه کنید) تا تعداد IPهای مبدأ همزمان محدود شود. اعمال این محدودیت توسط **Fail2ban** انجام می‌شود که 3x-ui آن را برای شما نصب و پیکربندی می‌کند (در نصب‌های اسکریپتی به‌طور پیش‌فرض فعال است و در Docker از طریق `XUI_ENABLE_FAIL2BAN=true`). +برای هر کلاینت یک **محدودیت IP** تنظیم کنید (به [کلاینت‌ها](/docs/config/clients) مراجعه کنید) تا تعداد IPهای مبدأ همزمان محدود شود. اعمال این محدودیت توسط **Fail2ban** انجام می‌شود که 3x-ui پس از موافقت شما آن را نصب و پیکربندی می‌کند. در نصب تازه با اسکریپت، برای فعال‌کردن اعمال محدودیت **Yes** را انتخاب کنید. در نصب خودکار و Docker، `XUI_ENABLE_FAIL2BAN=true` را تنظیم کنید. انتخاب شما در به‌روزرسانی و نصب مجدد حفظ می‌شود. ردیابی IP مبدأ مستقل از اعمال محدودیت ادامه دارد. آن را از منوی `x-ui` مدیریت کنید (**۲۲ — IP Limit Management**): نصب/پیکربندی، تغییر مدت مسدودسازی (پیش‌فرض **۳۰ دقیقه**)، مسدودسازی/رفع مسدودی یک IP، مشاهده لاگ‌های مسدودسازی و بررسی وضعیت. در پشت صحنه: diff --git a/docs/content/docs/fa/operations/system-monitoring.mdx b/docs/content/docs/fa/operations/system-monitoring.mdx new file mode 100644 index 000000000..2082e9c59 --- /dev/null +++ b/docs/content/docs/fa/operations/system-monitoring.mdx @@ -0,0 +1,47 @@ +--- +title: پایش سیستم +description: نمودارهای نمای کلی، انتخاب بازهٔ زمانی و نحوهٔ نگهداری تاریخچهٔ سیستم در 3x-ui. +icon: ChartNoAxesCombined +--- + +صفحهٔ نمای کلی، وضعیت فعلی سرور را همراه نمودارهای زمانی نشان می‌دهد: پردازنده، حافظه، سوآپ، فضای ذخیره‌سازی، نرخ ترافیک شبکه و اتصال‌های TCP/UDP. برای شاخص‌های بیشتر مثل نرخ بسته‌ها، ورودی/خروجی دیسک، میانگین بار سیستم و کلاینت‌های آنلاین Xray، پنجرهٔ **تاریخچهٔ سیستم** را باز کنید. + +## انتخاب بازهٔ نمودار + +هر نمودار نمای کلی یک سلکت بازهٔ زمانی در گوشهٔ بالای سمت راست دارد. مقدار پیش‌فرض **2m** است. گزینه‌ها **2m**، **5m**، **30m**، **1h**، **6h** و **12h** هستند. تغییر بازه در هر نمودار، بازهٔ همهٔ نمودارهای نمای کلی را تغییر می‌دهد. + +تعداد نقطه‌های نمودار حداکثر ۶۰ نقطه است. بازه‌های کوتاه‌تر از نمونه‌های دقیق‌تر و بازه‌های بلندتر از میانگین نمونه‌ها استفاده می‌کنند. در بازهٔ **2m** نمودارها زنده‌اند: هر بار دریافت وضعیت، یعنی هر ۲ ثانیه، یک نقطه اضافه می‌کند. بازه‌های بلندتر از تاریخچهٔ ذخیره‌شده در سرور خوانده می‌شوند و به‌ازای هر نقطه یک بار، و حداکثر دقیقه‌ای یک بار، به‌روزرسانی می‌شوند. + +پنجرهٔ **تاریخچهٔ سیستم** برای هر شاخص زبانه‌ای جدا دارد و بازه‌های بلندتر **2m**، **1h**، **3h**، **6h**، **12h**، **24h**، **2d** و **7d** را ارائه می‌کند. فقط شاخص فعال به‌روزرسانی می‌شود و با بزرگ‌تر شدن بازه، فاصلهٔ دریافت اطلاعات بیشتر می‌شود. + +## شاخص‌ها و محدودهٔ منابع + +نمودارهای نمای کلی این موارد را نشان می‌دهند: + +- مصرف پردازنده، حافظه، سوآپ و دیسک به‌صورت درصد. +- نرخ ارسال و دریافت شبکه به بایت بر ثانیه. +- تعداد فعلی اتصال‌های TCP و UDP. + +تاریخچهٔ سیستم نرخ بسته‌ها، نرخ خواندن/نوشتن دیسک، کلاینت‌های آنلاین Xray و میانگین بار ۱، ۵ و ۱۵ دقیقه را هم دارد. وقتی پنل داخل کانتینر اجرا می‌شود، مصرف پردازنده و سوآپ از محدودهٔ منابع همان کانتینر گرفته می‌شوند. اگر این شاخص‌ها در دسترس نباشند، نمودار خالی می‌ماند و از دادهٔ میزبان به‌جای آن‌ها استفاده نمی‌شود. + +خلاصهٔ هر نمودار، میانگین و بیشینهٔ مقدار را در بازهٔ انتخاب‌شده نشان می‌دهد. برچسب و مقدار عددی فارسی جدا از هم نمایش داده می‌شوند تا جهت راست‌به‌چپ، ترتیب رقم‌ها و علامت درصد را جابه‌جا نکند. + +## جمع‌آوری و نگهداری داده + +پنل هر **۲ ثانیه** یک نمونه از وضعیت سرور می‌گیرد. هر شاخص در سه سطح تجمیع با اندازهٔ ثابت نگهداری می‌شود: + +| دقت داده | مدت نگهداری | کاربرد | +| --- | --- | --- | +| ۲ ثانیه | ۱ ساعت | نمودارهای نزدیک به زمان حال | +| ۱ دقیقه | ۴۸ ساعت | بازه‌های میان‌مدت | +| ۱۰ دقیقه | ۷ روز | تاریخچهٔ بلندمدت | + +هنگام انتقال داده به سطح بعدی، نمونه‌ها با هم میانگین‌گیری می‌شوند. هر شاخص حدود ۵٬۷۰۰ نقطه (نزدیک به ۹۰ کیلوبایت پیش از سریال‌سازی) نگه می‌دارد؛ بنابراین مصرف حافظه با زمان کارکرد سرور رشد نامحدود ندارد. یک درخواست، حداکثر ۶۰ نقطه از همهٔ شاخص‌های نمای کلی را می‌گیرد تا برای هر نمودار درخواست جداگانه ارسال نشود. + +تاریخچهٔ سیستم هر دقیقه در فایل `system_metrics.gob` کنار داده‌های پایگاه‌دادهٔ پنل ذخیره می‌شود و هنگام خاموش شدن پنل نیز ذخیرهٔ نهایی انجام می‌شود. داده‌ها هنگام راه‌اندازی بعدی بازیابی می‌شوند. نصب تازه از زمان شروع پنل داده جمع می‌کند و نمی‌تواند شاخص‌های پیش از فعال شدن این جمع‌آوری را بازسازی کند. + +## API + +نمای کلی برای بازه‌های بلندتر از **2m** از `GET /panel/api/server/overviewHistory/{bucket}` استفاده می‌کند. مقدار `bucket` تعداد ثانیه‌هایی است که هر نقطه پوشش می‌دهد: مقادیر `5`، `30`، `60`، `360` و `720` بازه‌های ۵ دقیقه تا ۱۲ ساعت را می‌دهند. پاسخ برای هر شاخص نمای کلی حداکثر ۶۰ نقطه با قالب `{ "t": unixSeconds, "v": value }` دارد. + +پنجرهٔ تاریخچهٔ سیستم برای شاخص فعال، `GET /panel/api/server/history/{metric}/{bucket}` را فراخوانی می‌کند. قالب هر نقطه همان `{t, v}` است؛ مقدارهای بزرگ‌تر `bucket` در [مرجع API سرور](/docs/reference/api/server) آمده‌اند. diff --git a/docs/content/docs/fa/operations/telegram-bot.mdx b/docs/content/docs/fa/operations/telegram-bot.mdx index b8c3f5417..1971edc52 100644 --- a/docs/content/docs/fa/operations/telegram-bot.mdx +++ b/docs/content/docs/fa/operations/telegram-bot.mdx @@ -6,7 +6,7 @@ icon: Send 3x-ui می‌تواند یک ربات Telegram را برای پایش، هشدار، پشتیبان‌گیری و مدیریت از راه دور به کار گیرد. ادمین‌ها کنترل کامل دارند؛ کاربران عادی (که با Telegram ID پیوند خورده‌اند) -می‌توانند مصرف و لینک‌های خودشان را بررسی کنند. +می‌توانند مصرف خودشان را بررسی کنند و لینک‌ها و راهنمای نصب را بگیرند. دنبال اخبار و پشتیبانی انجمن هستید؟ به کانال رسمی Telegram یعنی @@ -79,7 +79,9 @@ icon: Send کلاینت‌های آنلاین، «به‌زودی تمام‌شونده» و یک جادوگر کامل **افزودن کلاینت** را در اختیار دارند. کارت **کلاینت** در اختیار ادمین است و لینک اشتراک، لینک‌های منفرد و کد QR کلاینت را نشان می‌دهد، تا کانفیگ را بتوان به کلاینتی که هنوز به Telegram دسترسی ندارد هم داد. -کاربران عادی دکمه‌هایی برای مصرف خودشان، لینک‌های اشتراک، لینک‌های منفرد و کدهای QR دارند. +کاربران عادی دکمه‌هایی برای مصرف خودشان، لینک‌های اشتراک، لینک‌های منفرد، کدهای QR، +**دریافت یکی** (انتخاب یک لینک و دریافت جداگانه‌ی آن همراه با کد QR خودش) و **راهنمای نصب** +برای هر پلتفرم دارند. هر صفحه‌ی لینک با تاریخ انقضای کانفیگ و ترافیک باقی‌مانده‌ی آن شروع می‌شود. ## گزارش‌ها و هشدارها diff --git a/docs/content/docs/fa/reference/api/clients.mdx b/docs/content/docs/fa/reference/api/clients.mdx index 8c3e73c83..0d8523ff1 100644 --- a/docs/content/docs/fa/reference/api/clients.mdx +++ b/docs/content/docs/fa/reference/api/clients.mdx @@ -44,10 +44,11 @@ _openapi: - depth: 2 title: >- Update an existing client by email. Changes propagate to every attached - inbound. Body is the JSON client payload — supply the full set of fields - you want to keep (the server replaces the row, it does not patch). + inbound. Body is the JSON client payload: omitted fields keep their + current values, and an explicit zero, empty or null value clears a + field, except as noted below. url: >- - #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - depth: 2 title: >- Delete a client by email. Removes it from every attached inbound and @@ -215,7 +216,7 @@ _openapi: group_name values currently set on clients. Sorted alphabetically (case-insensitive). url: >- - #list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + #list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - depth: 2 title: >- Return just the email list of clients that currently belong to the given @@ -229,7 +230,7 @@ _openapi: client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists. url: >- - #create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + #create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - depth: 2 title: >- Rename a group. The new name is applied to the client_groups row AND @@ -237,7 +238,7 @@ _openapi: client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated. url: >- - #rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + #rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - depth: 2 title: >- Remove a group. Deletes the client_groups row and clears the group label @@ -358,11 +359,11 @@ _openapi: create-a-new-client-and-attach-it-to-one-or-more-inbounds-in-a-single-call-body-is-json-per-protocol-secrets-are-generated-server-side-when-omitted-so-callers-can-send-only-the-universal-fields - content: >- Update an existing client by email. Changes propagate to every - attached inbound. Body is the JSON client payload — supply the full - set of fields you want to keep (the server replaces the row, it does - not patch). + attached inbound. Body is the JSON client payload: omitted fields keep + their current values, and an explicit zero, empty or null value clears + a field, except as noted below. id: >- - update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - content: >- Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed. @@ -513,7 +514,7 @@ _openapi: distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive). id: >- - list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - content: >- Return just the email list of clients that currently belong to the given group. Useful for fanning a single bulk action over an entire @@ -525,14 +526,14 @@ _openapi: in client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists. id: >- - create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - content: >- Rename a group. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated. id: >- - rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - content: >- Remove a group. Deletes the client_groups row and clears the group label from every matching client (both clients.group_name and the diff --git a/docs/content/docs/ru/config/clients.mdx b/docs/content/docs/ru/config/clients.mdx index e5338d838..d647856ae 100644 --- a/docs/content/docs/ru/config/clients.mdx +++ b/docs/content/docs/ru/config/clients.mdx @@ -33,6 +33,34 @@ icon: Users (`restartXrayOnClientDisable`, включено по умолчанию). +## Блокировка устройства в подписке + +Откройте список **HWID устройств** в форме редактирования или карточке клиента +и нажмите **Заблокировать** рядом с устройством. Кнопка **Разблокировать** +возвращает доступ. Бан действует для этого ID подписки, в том числе для клиентов +с тем же ID, даже при **лимите HWID** `0` (без ограничений). Другая подписка +того же устройства продолжает работать. + +![HWID device blocking](/images/hwid-device-blocking.png) + +Пример списка с разрешённым и заблокированным устройством. На скриншоте показаны тестовые данные Storybook. + +Заблокированные устройства отмечены красным и не занимают слоты. Очистка списка +и уменьшение лимита сохраняют баны. Чтобы удалить заблокированную запись, +сначала разблокируйте её. После обновления существующие устройства не блокируются. + +При совпадении `X-HWID` запрос тела подписки Raw/Base64, JSON, Clash/Mihomo +или legacy Clash получает HTTP `404` и заголовок `X-Hwid-Blocked: true`. +Блокировка зависит от HWID, который передаёт приложение: изменённый или +отсутствующий HWID не позволяет распознать заблокированное устройство. +Уже загруженные конфиги и скопированные ключи не отзываются: приложение может +сохранить их после неудачного обновления подписки. + +Авторизованный API панели: +`POST /panel/api/clients/hwids/:email/:id/block`, JSON `{"blocked": true}` +для блокировки и `{"blocked": false}` для разблокировки. В списке устройств +добавлен флаг `blocked`. Отсутствующее или не булево значение отклоняется. + ## Лимиты и контроль IP - Ограничения по **трафику / сроку действия** отключают клиента при достижении; diff --git a/docs/content/docs/ru/config/meta.json b/docs/content/docs/ru/config/meta.json index 35c0c98f8..13570536d 100644 --- a/docs/content/docs/ru/config/meta.json +++ b/docs/content/docs/ru/config/meta.json @@ -11,6 +11,7 @@ "transports", "clients", "subscription", + "routing-profiles", "share-links" ] } diff --git a/docs/content/docs/ru/config/routing-profiles.mdx b/docs/content/docs/ru/config/routing-profiles.mdx new file mode 100644 index 000000000..159436071 --- /dev/null +++ b/docs/content/docs/ru/config/routing-profiles.mdx @@ -0,0 +1,411 @@ +--- +title: Маршрутизация для Happ, Clash/Mihomo и Incy +description: Как писать JSON и YAML профили маршрутизации для подписок — формат Happ, правила Clash/Mihomo и профиль Incy, плюс как панель их принимает и проверяет. +icon: GitBranch +--- + +Панель умеет отдавать клиентам готовый профиль маршрутизации: какие сайты и +IP идут напрямую, какие через прокси, а какие блокируются. Формат профиля +зависит от приложения: + +| Приложение | Формат профиля | Где задаётся в панели | +| ----------------- | ------------------------------------ | ------------------------------------- | +| **Happ** | JSON (в виде `happ://` ссылки) | Настройки подписки → вкладка **Happ** | +| **Clash / Mihomo**| YAML (правила, группы, провайдеры) | Вкладка **Clash / Mihomo** | +| **Incy** | JSON (в виде `incy://` ссылки) | Вкладка **Incy** → **Маршрутизация** | + +Во всех трёх полях можно указать **либо сам профиль** (inline), **либо одну +постоянную HTTPS‑ссылку** на файл — например, на raw‑gist. Ссылку удобно +использовать, чтобы менять правила, не заходя в панель. + +## Как панель работает с удалённой ссылкой + +В полях Happ и Clash / Mihomo значение из одной строки `https://...` считается +удалённым источником, который панель скачивает сама: + +- панель скачивает файл **в фоне** и кэширует его на 10 минут; запрос подписки + никогда не ждёт источник; +- файл проверяется; если он невалиден, панель **продолжает отдавать последнее + рабочее значение** и пишет предупреждение в лог; +- допустим только `https://`, без логина/пароля в URL, адрес должен вести на + публичный хост (локальные и внутренние адреса блокируются); +- редиректы допускаются (до 5), но только на `https://`; +- лимиты: Clash — 2 МиБ; Happ — 16 КиБ ответа и 8 КиБ значения после + кодирования в Base64 (около 6 КиБ JSON); таймаут запроса 6 секунд. + +Поле Incy работает иначе: панель никогда не скачивает ссылку Incy. Она только +проверяет, что это `https://` без логина/пароля, и передаёт ссылку приложению, +которое само загружает и обновляет профиль (см. раздел про Incy ниже). + +Совет: используйте **raw**‑ссылку (`gist.githubusercontent.com/.../raw/...`), +а не страницу gist. + +--- + +## Happ + +### Где вводить + +**Настройки → Подписка → Happ → Маршрутизация и правила**: + +1. включите **Включить маршрутизацию** (заголовок `Routing-Enable: true`); +2. вставьте в поле **Правила маршрутизации** одно из: + - готовую ссылку `happ://routing/onadd/`; + - постоянную HTTPS‑ссылку на **JSON** или на файл с `happ://` ссылкой; + - `happ://routing/off` — чтобы отключить маршрутизацию на клиенте. + +Панель отправляет значение клиенту в заголовке `Routing`. Если в файле по +HTTPS лежит обычный JSON, панель сама превращает его в +`happ://routing/onadd/`. Источник может также отвечать редиректом +на `happ://...` — это тоже принимается (так работают сервисы вроде +routing.help). + +Если поле пустое, но заполнен **профиль маршрутизации JSON‑подписки** +(`subJsonRoutingRules`), то он же автоматически уходит в заголовок `Routing`. + +Быстрее всего начать с **Пресетов маршрутизации** (Iran Bypass, China Direct, +Global, LAN bypass; опционально с блокировкой рекламы) или с +**Визуального конструктора правил** — он загружает текущий профиль и позволяет +править списки или весь JSON. + +### Формат JSON + +Профиль — это один JSON‑объект. Значения‑флаги Happ записывает строками +(`"true"`, `"false"`), а списки — массивами строк. + +```json +{ + "Name": "My Routing", + "GlobalProxy": "true", + "RouteOrder": "block-proxy-direct", + + "RemoteDNSType": "DoH", + "RemoteDNSDomain": "https://cloudflare-dns.com/dns-query", + "RemoteDNSIP": "1.1.1.1", + "DomesticDNSType": "DoH", + "DomesticDNSDomain": "https://dns.alidns.com/dns-query", + "DomesticDNSIP": "223.5.5.5", + "DnsHosts": { + "cloudflare-dns.com": "1.1.1.1", + "dns.alidns.com": "223.5.5.5" + }, + + "DirectSites": ["geosite:private", "geosite:cn", "domain:example.cn"], + "DirectIp": ["geoip:cn", "geoip:private", "192.168.0.0/16"], + "ProxySites": [], + "ProxyIp": [], + "BlockSites": ["geosite:category-ads-all"], + "BlockIp": [], + + "DomainStrategy": "IPIfNonMatch", + "FakeDNS": "false", + "UseChunkFiles": "true" +} +``` + +| Поле | Тип | Смысл | +| ---- | --- | ----- | +| `Name` | строка | Название профиля в приложении. | +| `GlobalProxy` | `"true"`/`"false"` | Глобальный режим: всё, что не попало в правила, идёт через прокси. | +| `RouteOrder` | строка | Порядок проверки групп через дефис: `block-proxy-direct`, `block-direct-proxy` и т. п. Побеждает **первая** сработавшая группа. Допустимые слова: `block`, `proxy`, `direct`; повторы игнорируются. | +| `DirectSites` / `ProxySites` / `BlockSites` | массив строк | Домены: напрямую / через прокси / блокировать. | +| `DirectIp` / `ProxyIp` / `BlockIp` | массив строк | IP и подсети — те же три группы. | +| `RemoteDNSDomain`, `RemoteDNSIP`, `RemoteDNSType` | строка | DNS для проксируемого трафика (`DoH` и адрес `https://.../dns-query`). | +| `DomesticDNSDomain`, `DomesticDNSIP`, `DomesticDNSType` | строка | DNS для «прямых» доменов. | +| `DnsHosts` | объект «имя → IP» | Статические записи, чтобы не резолвить DoH‑хосты через сам DNS. | +| `DomainStrategy` | строка | Стратегия Xray: `AsIs`, `IPIfNonMatch`, `IPOnDemand`. | +| `FakeDNS`, `UseChunkFiles` | `"true"`/`"false"` | Расширения Happ; панель передаёт их клиенту как есть. | + +Неизвестные поля **не теряются** — панель и редактор сохраняют их и передают +Happ. + +### Формат записей в списках + +Записи — синтаксис Xray‑маршрутизации: + +| Запись | Что совпадает | +| ------ | ------------- | +| `geosite:category-ads-all` | Категория из `geosite.dat`. | +| `geosite:private`, `geoip:private` | Локальные/приватные адреса. | +| `geoip:ir`, `geoip:cn` | Страна из `geoip.dat`. | +| `domain:example.com` | Домен и все его поддомены. | +| `full:www.example.com` | Только этот домен. | +| `keyword:ads` | Домен, содержащий подстроку. | +| `regexp:\\.ru$` | Регулярное выражение. | +| `10.0.0.0/8`, `1.2.3.4` | Подсеть CIDR или один IP. | + +Запись без префикса трактуется как подстрока домена — для точности пишите +`domain:`. Категории `geosite:`/`geoip:` должны существовать в `.dat` файлах +на клиенте; панель передаёт их в заголовке `Routing`, чтобы Happ подтянул +нужные гео‑файлы. + +### Как собрать `happ://` ссылку вручную + +Ссылка — это префикс и JSON в Base64 (UTF‑8): + +```text +happ://routing/onadd/ +``` + +`onadd` добавляет профиль и сразу включает его; `add` — только добавляет. +Панель принимает base64 в обычном и URL‑safe виде, с `=` и без. Из PowerShell: + +```powershell +$json = Get-Content .\routing.json -Raw -Encoding UTF8 +$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($json)) +"happ://routing/onadd/$b64" +``` + +Итоговое значение не должно превышать 8 КиБ, ссылка должна быть в одну строку. + +### Что панель делает с этим JSON в JSON‑подписках + +Для клиентов, которые читают конфиг из тела JSON‑подписки, профиль **вшивается** +в разделы `dns` и `routing`. Правила такие: + +- порядок групп — из `RouteOrder`, по умолчанию `block`, `direct`, `proxy`; +- пустые списки пропускаются, в конце всегда добавляется правило «всё остальное + → `proxy`»; +- `DomainStrategy` по умолчанию `IPIfNonMatch`; +- DNS: для `DirectSites` добавляется «внутренний» DNS (`DomesticDNS*`, по + умолчанию `https://77.88.8.8/dns-query`), для остального — `RemoteDNS*` + (по умолчанию `https://8.8.8.8/dns-query`); `DnsHosts` копируется в `dns.hosts`. + +Поля должны иметь точный тип: строка — строка, список — массив строк, `DnsHosts` — +объект «строка → строка». Иначе профиль отбрасывается и подписка отдаётся с +маршрутизацией по умолчанию (в лог пишется предупреждение). + +--- + +## Clash / Mihomo + +### Где вводить + +**Настройки → Подписка → Clash / Mihomo**: + +1. включите **Включить маршрутизацию**; +2. заполните **Глобальные правила маршрутизации** — inline‑текстом или одной + HTTPS‑ссылкой на YAML. + +Правила применяются к профилям по адресам `subClashPath` и `/mihomo/`. +Эндпоинт `/clash-legacy/` (Clash for Windows) всегда отдаёт минимальный профиль +и **игнорирует** эти настройки. + +### Что уже есть в профиле + +Панель собирает базу сама: + +```yaml +proxies: # все ваши узлы, имена — их ремарки + - { name: "node-1", type: vless, ... } +proxy-groups: + - name: PROXY # select: все узлы + DIRECT + type: select + proxies: [node-1, DIRECT] +rules: + - MATCH,PROXY +``` + +Ваши правила можно направлять на группу **`PROXY`**, на `DIRECT`, на `REJECT` +либо на любую группу, которую вы сами объявили. + +### Вариант 1: inline‑значение + +Три допустимых формы. + +**А) Просто строки правил** (можно с комментариями `#`): + +```text +# рекламу блокируем +GEOSITE,category-ads-all,REJECT +DOMAIN-SUFFIX,example.com,DIRECT +GEOIP,RU,DIRECT,no-resolve +``` + +**Б) YAML‑список:** + +```yaml +- GEOSITE,category-ads-all,REJECT +- DOMAIN-SUFFIX,example.com,DIRECT +- GEOIP,RU,DIRECT,no-resolve +``` + +**В) YAML‑карта.** Ключ `rules` объединяется с базовыми правилами, любые другие +ключи (`proxy-groups`, `rule-providers`, `dns`, `sniffer`, …) **заменяют** +одноимённые ключи профиля целиком: + +```yaml +proxy-groups: + - name: PROXY + type: select + proxies: [DIRECT] # осторожно: заменяет группу PROXY целиком +rule-providers: + ads: + type: http + behavior: domain + format: yaml + url: https://example.com/ads.yaml + path: ./ruleset/ads.yaml + interval: 86400 +rules: + - RULE-SET,ads,REJECT + - GEOIP,RU,DIRECT +``` + +Как объединяются правила: + +- если в ваших правилах **нет** `MATCH`, они ставятся **перед** базовым + `MATCH,PROXY` — всё остальное пойдёт через прокси; +- если `MATCH` есть, ваш список **полностью заменяет** базовые правила. + +В inline‑режиме проверка мягкая: содержимое YAML‑карты копируется как есть, +поэтому ошибки в именах групп вы увидите только в клиенте. + +### Вариант 2: HTTPS‑ссылка на YAML + +Здесь панель строже — она **проверяет** файл и только затем использует. +Из документа берутся только три ключа: + +| Ключ | Что делает | +| ---- | ---------- | +| `rules` | Правила — объединяются по тем же правилам, что выше. | +| `proxy-groups` | Группы: одноимённые заменяют базовые, остальные базовые сохраняются. | +| `rule-providers` | Провайдеры правил. | + +Ключи `dns` и `sniffer` берутся, **только если включён** переключатель +**DNS из удалённых правил** (`subClashRemoteDNS`) — включайте его лишь для +шаблона, которому доверяете: он меняет DNS клиента. Все остальные ключи +(`proxies`, `proxy-providers`, `port` и т. д.) игнорируются. Узлы всегда +остаются вашими. + +Рабочий пример файла: + +```yaml +proxy-groups: + - name: Streaming + type: select + proxies: [PROXY, DIRECT] + - name: Auto + type: url-test + url: https://www.gstatic.com/generate_204 + interval: 300 + proxies: [PROXY] + +rule-providers: + ru-direct: + type: http + behavior: domain + format: yaml + url: https://example.com/ru-direct.yaml + path: ./ruleset/ru-direct.yaml + interval: 86400 + +rules: + - RULE-SET,ru-direct,DIRECT + - DOMAIN-SUFFIX,netflix.com,Streaming + - GEOIP,PRIVATE,DIRECT,no-resolve + - MATCH,PROXY +``` + +Что обязательно проверяется (при нарушении файл отклоняется, остаётся прошлая +рабочая версия): + +- документ — YAML‑карта хотя бы с одним из `rules`, `proxy-groups`, + `rule-providers`; +- каждая группа — карта с непустыми `name` и `type`, имена **уникальны**; +- в группах **нельзя** использовать `use:` (proxy‑providers не поддерживаются); +- каждая ссылка в `proxies:` группы, цель каждого правила и `proxy:` у + провайдера должны указывать на группу из этого же файла, на `PROXY` или на + встроенные `DIRECT`, `REJECT`, `REJECT-DROP`, `REJECT-TINYGIF`, `PASS`, + `GLOBAL`. Удалённый файл проверяется сам по себе, поэтому имя конкретного + узла в нём не пройдёт проверку; +- `RULE-SET,<имя>,<цель>` требует провайдера с таким именем в `rule-providers`; +- каждое правило — непустая строка вида `ТИП,значение,цель`; после цели + допускаются флаги `no-resolve` и `src`; +- ограничения размера: 2 МиБ ответа и ограничение на вложенность и объём после + разворота YAML‑алиасов. + +Так как имена узлов зависят от ремарок клиентов, надёжнее всего ссылаться на +группу **`PROXY`**, которая содержит все узлы. + +--- + +## Incy + +### Где вводить + +**Настройки → Подписка → Incy → Маршрутизация**: + +1. включите **Включить маршрутизацию**; +2. заполните **Правила маршрутизации**: + - готовая ссылка `incy://routing/onadd/` — тот же JSON, что и у + Happ, закодированный в Base64; + - **или одна HTTPS‑ссылка** на JSON‑файл. Панель превращает её в ссылку + `incy://autorouting/onadd/`, и приложение **само** периодически + перекачивает профиль. + +Профиль для Incy уходит строкой в **теле** подписки (только когда User‑Agent — +INCY). Заголовок `Routing` для Incy панель в этом случае не отправляет, чтобы +он не перебил профиль из тела. + +### Формат JSON + +Формат профиля Incy совпадает с форматом Happ — используйте те же поля +(`Name`, `RouteOrder`, `DirectSites`, `DirectIp`, `ProxySites`, `BlockSites`, +`DomainStrategy` и т. д., см. таблицу выше): + +```json +{ + "Name": "RU bypass", + "GlobalProxy": "true", + "RouteOrder": "block-proxy-direct", + "DirectSites": ["geosite:private", "domain:ru", "geosite:category-ru"], + "DirectIp": ["geoip:ru", "geoip:private"], + "ProxySites": [], + "ProxyIp": [], + "BlockSites": ["geosite:category-ads-all"], + "BlockIp": [], + "DomainStrategy": "IPIfNonMatch" +} +``` + +Закодированная форма: `incy://routing/onadd/` (кодирование +как в примере для Happ). + +> Если поле Incy пустое, Incy получает общий профиль **JSON‑подписки** +> (`subJsonRoutingRules`). Поле Happ Incy не читает. + +### Остальные вкладки Incy + +Вкладки **Приложение**, **Баннеры**, **Приватность** и **Сеть** не относятся к +маршрутизации: они задают заголовки управления приложением (описание профиля, +баннер, скрытие URL, фрагментация и т. д.) и отправляются только при включённом +**Автоопределении заголовков Incy**. + +--- + +## Какой формат выбрать + +| Нужно | Решение | +| ----- | ------- | +| Один набор правил для Happ и Incy | Один JSON, вставить в Happ как `happ://...`, в Incy как `incy://...` либо дать обоим одну HTTPS‑ссылку на JSON. | +| Правила для Clash/Mihomo | Отдельный YAML. JSON и YAML взаимно не конвертируются. | +| Менять правила без правки панели | Постоянная raw‑ссылка (gist, репозиторий) в нужном поле. | +| Проверить результат | Откройте подписку клиентским User‑Agent (`curl -A "Happ/1.0"`, `-A "INCY/1.0"`, `-A "clash.meta"`) и посмотрите заголовок `Routing` / тело ответа. | + +## Частые проблемы + +- **Правила не применились, в логе «Remote happ routing refresh from … failed»** + (или `clash`; для профиля JSON-подписки — «remote source unavailable»). + Ссылка ещё не + скачана (первая загрузка идёт в фоне — обновите подписку через минуту) или + источник вернул невалидный файл. +- **Файл отклонён из‑за размера.** Happ — максимум 8 КиБ после кодирования в Base64 + (около 6 КиБ JSON); вынесите длинные + списки в `geosite`/`geoip` категории или в `rule-providers` (Clash). +- **Ошибка `references unknown proxy or group`.** Правило или группа ссылаются + на имя, которого нет в профиле. Используйте `PROXY`, `DIRECT`, `REJECT` или + объявите группу в том же файле. +- **Ссылка на страницу gist не работает.** Нужен `raw`‑URL. +- **Clash for Windows игнорирует правила.** Эндпоинт `/clash-legacy/` не + поддерживает пользовательскую маршрутизацию — используйте `/mihomo/`. diff --git a/docs/content/docs/ru/config/subscription.mdx b/docs/content/docs/ru/config/subscription.mdx index e0c2fbb36..6fdb71c74 100644 --- a/docs/content/docs/ru/config/subscription.mdx +++ b/docs/content/docs/ru/config/subscription.mdx @@ -9,6 +9,24 @@ icon: Rss входящего соединения клиенты подхватывают изменения автоматически. Сервер подписок работает как **отдельный** сервер от панели. +## Замена узлов при отказе по HWID + +В разделе **Настройки панели → Подписка** включите **Заменять конфиги при +отказе по HWID** (`subHwidRejectWithConfig`, по умолчанию выключено). +При отсутствии HWID или достижении лимита устройств сервер вернёт HTTP 200 +с нерабочим узлом вместо 404. Поддерживаются обычные и base64-ссылки, Xray JSON, +Clash/Mihomo, старый Clash и автоматическое определение формата. Совместимое +приложение сможет принять обновление и заменить ранее загруженные узлы. +При выключенной настройке сохраняются ответ 404 и заголовки ошибки HWID. + +![Настройка замены конфигов при отказе по HWID](/images/subscription-hwid-rejection.png) + +Замена происходит только после обновления подписки приложением. Она не +отзывает скопированные ключи и не разрывает существующие соединения. +Удаление устройства освобождает место: если лимит позволяет, устройство +сможет зарегистрироваться снова. Чтобы оно получило отказ после удаления, +оставшиеся устройства должны заполнять установленный лимит. + ## Включение и настройка Сервер подписок **включён по умолчанию** (`subEnable`). Настройте его в diff --git a/docs/content/docs/ru/config/transports.mdx b/docs/content/docs/ru/config/transports.mdx index 04b13642d..8122d0657 100644 --- a/docs/content/docs/ru/config/transports.mdx +++ b/docs/content/docs/ru/config/transports.mdx @@ -110,6 +110,13 @@ HTTPUpgrade — это одноразовый HTTP/1.1 `Upgrade` без фрей `sessionIDLength`) и параметры `scMin/MaxEachPostBytes` — продвинутые; оставьте их пустыми, если только вы не подстраиваетесь под конкретный upstream. +Включите **Использовать отдельный канал загрузки**, чтобы клиент отправлял запросы +на скачивание на другой адрес. Укажите адрес и порт, затем задайте HTTP-параметры +`host` и `path` и настройки безопасности для этой точки подключения. Оба маршрута +должны вести к одному и тому же обработчику XHTTP. Если задать эти параметры для +входящего подключения, панель включит их в клиентские подписки. Переключатель +доступен в режимах `auto`, `packet-up` и `stream-up`. + ### Hysteria — `hysteriaSettings` Допустимо, только когда протокол — **Hysteria2**. @@ -140,7 +147,7 @@ Mux. Панель предлагает XDRIVE только для VLESS, не с | `secrets` | — | Google Drive: ровно три значения — ClientID, ClientSecret, RefreshToken, в этом порядке. Template: значения, доступные как `{secret0}`, `{secret1}`, …. S3: AccessKeyID, SecretAccessKey и при необходимости SessionToken. | | `template` | — | Только для template: операции `auth`, `put`, `get`, `list` и `delete` API хранилища. | | `s3` | — | Только для s3: `endpoint` (URL http(s)), `region`, `bucket` и `pathStyle` (по умолчанию `true`; `false` переносит бакет в имя хоста). `remoteFolder` — префикс объектов. | -| тонкая настройка | значения ядра | `segmentBytes` (512 KiB), `flushIntervalMs` (20), `pollIntervalMs`/`maxPollIntervalMs` (50/500), `eagerWindowMs` (2000), `holeTimeoutMs` (30000), `sessionTtlSeconds` (300), `concurrency` (8). | +| тонкая настройка | значения ядра | `segmentBytes` (512 KiB), `flushIntervalMs` (20), `pollIntervalMs`/`maxPollIntervalMs` (50/500), `eagerWindowMs` (2000), `holeTimeoutMs` (30000), `sessionTtlSeconds` (300), `concurrency` (8). Для Google Drive по умолчанию `flushIntervalMs` 10, `maxPollIntervalMs` 200 и `concurrency` 64 (xray-core 26.11.9). | Необязательные **адрес/порт фронтинга** (`address`/`port` на уровне stream) — домен-фронт, через который идёт подключение к API хранилища; в TLS по-прежнему указывается хост API. diff --git a/docs/content/docs/ru/operations/multi-node.mdx b/docs/content/docs/ru/operations/multi-node.mdx index 6c3cb4ccd..6580839f0 100644 --- a/docs/content/docs/ru/operations/multi-node.mdx +++ b/docs/content/docs/ru/operations/multi-node.mdx @@ -24,7 +24,7 @@ API этого узла. Главная панель опрашивает каж | **Схема** | `https` (по умолчанию) или `http`. | | **Адрес / Порт** | Хост и порт панели узла. | | **Базовый путь** | Веб-базовый путь узла. | -| **API-токен** | Bearer-токен, созданный на узле (не нужен в режиме mTLS). | +| **API-токен** | Bearer-токен, созданный на узле (в режиме mTLS необязателен, кроме **Обновления панели** — нужен `node-admin`). | | **Проверка TLS** | `verify` (по умолчанию), `skip`, `pin` (закрепить SHA-256 сертификата) или `mtls`. | | **Синхронизация inbound** | `all` (все) inbound-соединения или `selected` (выбранные) по тегу. | | **Тег исходящего**| При необходимости обращаться к узлу **через** именованное исходящее соединение (мост исходящего трафика). | @@ -67,6 +67,15 @@ API этого узла. Главная панель опрашивает каж Задайте на узле режим проверки TLS `mtls`. Теперь главная панель предъявляет клиентский сертификат вместо API-токена. + + + Узел, подключённый по mTLS без токена, имеет только область `node-sync`, которая + не позволяет выполнить **Обновление панели** (узел отвечает HTTP 403, + «this API token is not permitted to access this endpoint»). Чтобы обновить такой + узел с главной панели, создайте на узле API-токен с областью `node-admin` и + вставьте его в поле **API-токен** этого узла на главной панели. Режим проверки + TLS оставьте `mtls`. + diff --git a/docs/content/docs/ru/operations/outbounds-routing.mdx b/docs/content/docs/ru/operations/outbounds-routing.mdx index 037318beb..97778f7b9 100644 --- a/docs/content/docs/ru/operations/outbounds-routing.mdx +++ b/docs/content/docs/ru/operations/outbounds-routing.mdx @@ -140,7 +140,7 @@ hostname получает уникальный тег `nord-` и не маршрутизации/балансировщиков по точному тегу остаются привязанными — в то время как селекторы по префиксу/шаблону (например, `hk-*`) автоматически подхватывают новые серверы по мере изменения пула. Поддерживаемые схемы ссылок: `vmess`, -`vless`, `trojan`, `ss`, `hysteria2` (`hy2`) и `wireguard` (`wg`). Панель +`vless`, `trojan`, `ss`, `hysteria2` (`hy2`), `wireguard` (`wg`) и `vpn` (AmneziaWG: из панели 3x-ui или ключ приложения AmneziaVPN). Панель обновляет включённые подписки по таймеру и перезагружает Xray при любых изменениях. diff --git a/docs/content/docs/ru/operations/security.mdx b/docs/content/docs/ru/operations/security.mdx index d9acbe8e6..1bd53c627 100644 --- a/docs/content/docs/ru/operations/security.mdx +++ b/docs/content/docs/ru/operations/security.mdx @@ -21,8 +21,10 @@ icon: ShieldCheck Задайте **ограничение IP** для каждого клиента (см. [Клиенты](/docs/config/clients)), чтобы ограничить число одновременных исходных IP. Применением правил занимается **Fail2ban**, который -3x-ui устанавливает и настраивает за вас (включён по умолчанию при установке через скрипт, а -в Docker — через `XUI_ENABLE_FAIL2BAN=true`). +3x-ui устанавливает и настраивает по вашему согласию. При новой установке через +скрипт ответьте **Да**, чтобы включить применение ограничений. Для автоматической +установки и Docker задайте `XUI_ENABLE_FAIL2BAN=true`. Скрипт сохраняет выбор при +обновлении и переустановке. Отслеживание исходных IP работает независимо. Управляйте им из меню `x-ui` (**22 — IP Limit Management**): установка/настройка, изменение длительности блокировки (по умолчанию **30 минут**), блокировка/разблокировка IP, просмотр журналов блокировок diff --git a/docs/content/docs/ru/operations/telegram-bot.mdx b/docs/content/docs/ru/operations/telegram-bot.mdx index 87b5ad4f6..b78942914 100644 --- a/docs/content/docs/ru/operations/telegram-bot.mdx +++ b/docs/content/docs/ru/operations/telegram-bot.mdx @@ -7,7 +7,7 @@ icon: Send 3x-ui умеет управлять Telegram-ботом для мониторинга, оповещений, резервного копирования и удалённого управления. Администраторы получают полный контроль; обычные пользователи (привязанные по Telegram ID) могут проверять собственный -расход трафика и ссылки. +расход трафика и получать ссылки и инструкции по настройке. Ищете новости и поддержку сообщества? Присоединяйтесь к официальному @@ -84,7 +84,9 @@ ID темы после двоеточия, например `-1001234567890:42`. клиента администратор получает ссылку на подписку, отдельные ссылки и QR-код — конфигурацию можно передать клиенту, который ещё не может открыть Telegram. Обычным пользователям доступны кнопки для своего расхода, ссылок на подписку, -отдельных ссылок и QR-кодов. +отдельных ссылок, QR-кодов, **Получить один** (выбрать одну ссылку и получить её +отдельно, со своим QR-кодом) и **Инструкция** по настройке для каждой платформы. +Каждая страница ссылок начинается с даты окончания конфигурации и остатка трафика. ## Отчёты и оповещения diff --git a/docs/content/docs/ru/reference/api/clients.mdx b/docs/content/docs/ru/reference/api/clients.mdx index b8cd10682..e6bbf9bcf 100644 --- a/docs/content/docs/ru/reference/api/clients.mdx +++ b/docs/content/docs/ru/reference/api/clients.mdx @@ -44,10 +44,11 @@ _openapi: - depth: 2 title: >- Update an existing client by email. Changes propagate to every attached - inbound. Body is the JSON client payload — supply the full set of fields - you want to keep (the server replaces the row, it does not patch). + inbound. Body is the JSON client payload: omitted fields keep their + current values, and an explicit zero, empty or null value clears a + field, except as noted below. url: >- - #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - depth: 2 title: >- Delete a client by email. Removes it from every attached inbound and @@ -215,7 +216,7 @@ _openapi: group_name values currently set on clients. Sorted alphabetically (case-insensitive). url: >- - #list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + #list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - depth: 2 title: >- Return just the email list of clients that currently belong to the given @@ -229,7 +230,7 @@ _openapi: client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists. url: >- - #create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + #create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - depth: 2 title: >- Rename a group. The new name is applied to the client_groups row AND @@ -237,7 +238,7 @@ _openapi: client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated. url: >- - #rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + #rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - depth: 2 title: >- Remove a group. Deletes the client_groups row and clears the group label @@ -358,11 +359,11 @@ _openapi: create-a-new-client-and-attach-it-to-one-or-more-inbounds-in-a-single-call-body-is-json-per-protocol-secrets-are-generated-server-side-when-omitted-so-callers-can-send-only-the-universal-fields - content: >- Update an existing client by email. Changes propagate to every - attached inbound. Body is the JSON client payload — supply the full - set of fields you want to keep (the server replaces the row, it does - not patch). + attached inbound. Body is the JSON client payload: omitted fields keep + their current values, and an explicit zero, empty or null value clears + a field, except as noted below. id: >- - update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - content: >- Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed. @@ -513,7 +514,7 @@ _openapi: distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive). id: >- - list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - content: >- Return just the email list of clients that currently belong to the given group. Useful for fanning a single bulk action over an entire @@ -525,14 +526,14 @@ _openapi: in client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists. id: >- - create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - content: >- Rename a group. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated. id: >- - rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - content: >- Remove a group. Deletes the client_groups row and clears the group label from every matching client (both clients.group_name and the diff --git a/docs/content/docs/zh/config/inbounds.mdx b/docs/content/docs/zh/config/inbounds.mdx index 0f3c0837f..8ebc2a881 100644 --- a/docs/content/docs/zh/config/inbounds.mdx +++ b/docs/content/docs/zh/config/inbounds.mdx @@ -40,6 +40,10 @@ icon: ArrowDownToLine 选择 `monthly` 时,可以指定每月 1 至 31 日重置。如果当月没有指定日期, 则在该月最后一天重置。 + +开启**保留客户端用量**后,定时任务仅清零入站计数,客户端继续按自己的周期累计用量。 +关闭时,定时任务也会清零关联客户端在所有入站上的累计用量。 +为纳管入站开启此选项前,请先升级主面板及承载该入站的节点。 diff --git a/docs/content/docs/zh/config/subscription.mdx b/docs/content/docs/zh/config/subscription.mdx index 56b37221b..498f944bf 100644 --- a/docs/content/docs/zh/config/subscription.mdx +++ b/docs/content/docs/zh/config/subscription.mdx @@ -57,7 +57,7 @@ Shadowsocks 节点,并排除 VLESS、Hysteria2、Reality、XHTTP、HTTPUpgrade 如果管理员已经把 `/mihomo/` 或 `/clash-legacy/` 分配给其他可配置订阅路径, 系统会保留原有路径,并在启动时记录警告、跳过发生冲突的别名。 -Clash 格式自动识别保留原有的 `(?i)(clash|mihomo)` 默认匹配器,确保已有订阅 URL +Clash 格式自动识别默认使用 `(?i)(clash|mihomo|rabbit-hole)` 匹配器,确保已有订阅 URL 继续返回 YAML。它不区分旧版客户端与 Mihomo 系客户端;Clash for Windows 用户 必须使用 `/clash-legacy/` 获取兼容配置。 diff --git a/docs/content/docs/zh/config/transports.mdx b/docs/content/docs/zh/config/transports.mdx index b9634185a..1e178ef9e 100644 --- a/docs/content/docs/zh/config/transports.mdx +++ b/docs/content/docs/zh/config/transports.mdx @@ -103,6 +103,11 @@ Session-ID 字段(`sessionIDPlacement`、`sessionIDKey`、`sessionIDTable`、 `sessionIDLength`)以及 `scMin/MaxEachPostBytes` 旋钮属于高级项;除非要匹配某个特定的 上游,否则保持为空。 +启用**使用独立下载通道**后,客户端会向另一个端点发送下载请求。填写该端点的地址和端口, +并按其要求设置 HTTP 主机名、路径和安全参数。上传和下载两条路由必须通往同一个 XHTTP +监听器。在入站配置中启用此选项后,面板会将这些设置加入客户端订阅。此开关适用于 +`auto`、`packet-up` 和 `stream-up` 模式。 + ### Hysteria — `hysteriaSettings` 仅当协议为 **Hysteria2** 时有效。 @@ -129,7 +134,7 @@ XDRIVE 把数据流作为文件存放在双方都能访问的文件夹中:服 | `secrets` | — | Google Drive:恰好三项,依次为 ClientID、ClientSecret、RefreshToken。Template:以 `{secret0}`、`{secret1}`… 引用的值。S3:AccessKeyID、SecretAccessKey,以及可选的 SessionToken。 | | `template` | — | 仅用于 template 服务:存储 API 的 `auth`、`put`、`get`、`list` 和 `delete` 操作。 | | `s3` | — | 仅用于 s3 服务:`endpoint`(http(s) URL)、`region`、`bucket` 和 `pathStyle`(默认 `true`;为 `false` 时存储桶名放在主机名中)。`remoteFolder` 为对象前缀。 | -| 调优参数 | 内核默认值 | `segmentBytes`(512 KiB)、`flushIntervalMs`(20)、`pollIntervalMs`/`maxPollIntervalMs`(50/500)、`eagerWindowMs`(2000)、`holeTimeoutMs`(30000)、`sessionTtlSeconds`(300)、`concurrency`(8)。 | +| 调优参数 | 内核默认值 | `segmentBytes`(512 KiB)、`flushIntervalMs`(20)、`pollIntervalMs`/`maxPollIntervalMs`(50/500)、`eagerWindowMs`(2000)、`holeTimeoutMs`(30000)、`sessionTtlSeconds`(300)、`concurrency`(8)。Google Drive 的默认值为 `flushIntervalMs` 10、`maxPollIntervalMs` 200、`concurrency` 64(xray-core 26.11.9)。 | 可选的**前置地址/端口**(stream 级的 `address`/`port`)是连接存储 API 时使用的域前置;TLS 中仍使用 API 主机名。 XDRIVE 没有自己的 TLS/REALITY 层——其流量就是存储 API 自身的 HTTPS。在出站上,**TLS** diff --git a/docs/content/docs/zh/operations/meta.json b/docs/content/docs/zh/operations/meta.json index 56a2eb6f5..77c58b749 100644 --- a/docs/content/docs/zh/operations/meta.json +++ b/docs/content/docs/zh/operations/meta.json @@ -8,6 +8,7 @@ "backup-restore", "telegram-bot", "discord-bot", + "wechat-notifications", "security" ] } diff --git a/docs/content/docs/zh/operations/multi-node.mdx b/docs/content/docs/zh/operations/multi-node.mdx index 2f7101ee2..66233a8f3 100644 --- a/docs/content/docs/zh/operations/multi-node.mdx +++ b/docs/content/docs/zh/operations/multi-node.mdx @@ -20,7 +20,7 @@ icon: Boxes | **Scheme** | `https`(默认)或 `http`。 | | **Address / Port**| 节点面板的主机和端口。 | | **Base path** | 节点的 Web 基础路径。 | -| **API token** | 在节点上创建的 Bearer 令牌(mTLS 模式下不需要)。 | +| **API token** | 在节点上创建的 Bearer 令牌(mTLS 模式下可选,但**更新面板**需要 `node-admin` 令牌)。 | | **TLS verify** | `verify`(默认)、`skip`、`pin`(固定证书 SHA-256)或 `mtls`。 | | **Inbound sync** | `all` 入站,或按标签 `selected`。 | | **Outbound tag** | 可选地**通过**指定的出站到达节点(出口桥接)。 | @@ -53,6 +53,10 @@ icon: Boxes ### 将节点切换到 mTLS 将节点的 TLS 验证模式设置为 `mtls`。现在主控将出示客户端证书而非 API 令牌。 + + + 通过 mTLS 连接且未提供令牌的节点只具有 `node-sync` 权限范围,无法执行**更新面板**(节点返回 HTTP 403,“this API token is not permitted to access this endpoint”)。要从主控更新此类节点,请在节点上创建具有 `node-admin` 权限范围的 API 令牌,并将其填入主控中该节点的 **API token** 字段。TLS 验证模式保持为 `mtls`。 + diff --git a/docs/content/docs/zh/operations/outbounds-routing.mdx b/docs/content/docs/zh/operations/outbounds-routing.mdx index 8ebe0addd..9f8edf9b5 100644 --- a/docs/content/docs/zh/operations/outbounds-routing.mdx +++ b/docs/content/docs/zh/operations/outbounds-routing.mdx @@ -117,7 +117,7 @@ Xray 配置中——而不会改动你已保存的模板。这是订阅一*池* 导入的出站会获得**稳定的标签**:同一台服务器在多次刷新之间始终保持同一个标签, 因此精确标签的路由/均衡器选择器会保持固定——而前缀/通配符选择器(例如 `hk-*`) 则会随着服务器池的变化自动纳入新的服务器。支持的链接协议:`vmess`、`vless`、`trojan`、`ss`、 -`hysteria2`(`hy2`)以及 `wireguard`(`wg`)。面板会按定时器刷新已启用的 +`hysteria2`(`hy2`)、`wireguard`(`wg`)以及 `vpn`(AmneziaWG,来自 3x-ui 面板或 AmneziaVPN 应用密钥)。面板会按定时器刷新已启用的 订阅,并在内容发生变化时重载 Xray。 ## 路由规则 diff --git a/docs/content/docs/zh/operations/security.mdx b/docs/content/docs/zh/operations/security.mdx index b62d0fe2a..21856a43f 100644 --- a/docs/content/docs/zh/operations/security.mdx +++ b/docs/content/docs/zh/operations/security.mdx @@ -19,8 +19,9 @@ icon: ShieldCheck ## Fail2ban 与 IP 限制 为每个客户端设置一个 **IP 限制**(参见[客户端](/docs/config/clients)),以限制同时使用的源 -IP 数量。限制的执行由 **Fail2ban** 负责,3x-ui 会为你安装并配置好它(脚本安装时默认启用, -Docker 安装时通过 `XUI_ENABLE_FAIL2BAN=true` 启用)。 +IP 数量。由 **Fail2ban** 执行限制,3x-ui 会在你同意后安装并配置它。首次通过脚本安装时, +选择 **Yes** 以启用限制。对于无人值守和 Docker 安装,请设置 `XUI_ENABLE_FAIL2BAN=true`。 +脚本会在更新和重新安装时保留你的选择。源 IP 跟踪独立运行。 可从 `x-ui` 菜单(**22 — IP Limit Management**)进行管理:安装/配置、修改封锁时长 (默认 **30 分钟**)、封锁/解封某个 IP、查看封锁日志,以及检查状态。其底层机制如下: diff --git a/docs/content/docs/zh/operations/telegram-bot.mdx b/docs/content/docs/zh/operations/telegram-bot.mdx index 02f7f2c13..0d304b644 100644 --- a/docs/content/docs/zh/operations/telegram-bot.mdx +++ b/docs/content/docs/zh/operations/telegram-bot.mdx @@ -6,7 +6,7 @@ icon: Send 3x-ui 可以驱动一个 Telegram 机器人,用于监控、告警、备份和远程管理。 管理员拥有完全的控制权;普通用户(通过 Telegram ID 关联)则可以 -查询自己的用量和链接。 +查询自己的用量,获取链接和使用指南。 想获取最新动态和社区支持?欢迎加入官方 Telegram 频道 @@ -74,7 +74,9 @@ ID 的所有客户端。订阅 ID 就是邀请码,因此请保持其足够长 “即将耗尽”,以及完整的**添加客户端**向导。管理员的**客户端卡片**上还带有该客户端的 订阅链接、单条链接和 QR 码,因此可以把配置交给暂时还无法打开 Telegram 的客户端。 普通用户则可以使用按钮查看 -自己的用量、订阅链接、单条链接和 QR 码。 +自己的用量、订阅链接、单条链接和 QR 码,使用**获取单个**(挑选一条链接, +单独获取它及其专属 QR 码),以及按平台分类的**使用指南**。每个链接页面 +开头都会显示该配置的到期日期和剩余流量。 ## 报告与告警 diff --git a/docs/content/docs/zh/operations/wechat-notifications.mdx b/docs/content/docs/zh/operations/wechat-notifications.mdx new file mode 100644 index 000000000..4e648c2e8 --- /dev/null +++ b/docs/content/docs/zh/operations/wechat-notifications.mdx @@ -0,0 +1,60 @@ +--- +title: 微信通知 +description: 通过企业微信群机器人或兼容的个人微信网关接收面板告警和定时状态报告。 +icon: MessageCircle +--- + +微信是独立、默认关闭的文字通知通道,可与 Telegram、Discord、邮件同时使用。它有自己的语言、事件选择、CPU 和内存阈值,以及独立的定时报告计划。 + +企业微信模式向企业微信群机器人发送消息。个人微信需要另外部署兼容下文协议的桥接服务,并由该服务维护可用的微信连接。面板不包含这个桥接服务,也不提供直接登录个人微信机器人的入口。 + +## 配置 + +1. 打开 **面板设置 → 微信**,启用通知。 +2. 选择发送方式。 + - **企业微信群机器人**:在企业微信群中添加消息推送机器人,填写其 HTTPS Webhook 地址。见[企业微信官方说明](https://developer.work.weixin.qq.com/document/path/99110)。 + - **自定义 Webhook 网关**:填写自己实现的兼容 HTTPS 接口,按需配置接收端校验的 Bearer Token,再由该服务向个人微信投递。接口必须实现下文协议,微信联系人或任意第三方推送 URL 不能直接作为接收端。 +3. 选择通知语言,该设置独立于 Telegram 机器人语言。 +4. 在 **通知** 中选择事件和指标阈值。阈值为 `0` 时关闭对应指标告警。 +5. 按需启用定时报告并设置计划。`@daily` 使用面板调度器的时区。 +6. 先 **保存**,再 **发送测试通知**。测试使用已保存的配置;通道关闭或存在未保存的设置修改时,测试按钮不可用。 + +地址可能包含机器人密钥,因此地址和 Token 均在返回浏览器时隐藏。留空保留原值,点击 **清空** 后保存才会删除。清除必填地址前应先关闭通知。保存后会更新报告计划和指标采样任务,无需重启面板。 + +![已保存自定义网关、隐藏凭据的微信通知设置页面](/images/wechat-settings.png) + +## 内容和频率 + +可选事件包括登录尝试、CPU 和内存超阈值、Xray 崩溃、节点离线与恢复、出站不可达与恢复。默认选择登录尝试和 CPU 告警。登录通知包含尝试的用户名、来源 IP、结果和可用的失败原因,不包含密码。 + +同类事件和来源每分钟最多成功发送一次;同一来源的登录失败和成功分别限频。发送失败不占用成功发送的冷却时间。 + +报告汇总主机、面板和 Xray 版本、CPU、内存、磁盘、运行时间,以及入站和客户端的总数、禁用、过期、流量耗尽数量。Xray 停止时仍能报告状态。此通道不提供远程命令或文件备份,报告不包含订阅链接和客户端配置文件。 + +流量只汇总本面板管理的客户端统计,按客户端邮箱去重。已用流量为上传与下载之和;剩余流量为每个客户端额度扣除已用量后的非负余额之和,运行统计中未设置额度时回退到客户端配置的额度。没有客户端统计,或任意客户端未配置额度时,剩余流量显示 **未配置额度**。这不是 VPS 服务商的计费额度,也不包含绕过 3x-ui 的流量。 + +## 自定义网关协议 + +HTTPS `POST`,`Content-Type: application/json`。配置 Token 时发送 `Authorization: Bearer `。 + +```json +{ + "version": 1, + "id": "8f793626-a0e0-4a28-bddf-84c077a1bd21", + "type": "event", + "event": "cpu.high", + "hostname": "my-server", + "occurred_at": "2026-11-04T12:00:00Z", + "text": "3x-ui · my-server\nCPU 使用率:92.00%;阈值:80%" +} +``` + +`type` 为 `event`、`report` 或 `test`。事件键为 `login.attempt`、`cpu.high`、`memory.high`、`xray.crash`、`node.down`、`node.up`、`outbound.down`、`outbound.up`;报告和测试分别使用 `report`、`test`。`occurred_at` 保留事件发生的 UTC 时间,缺失时才使用发送时间。正文最多 20,480 个 UTF-8 字节。 + +接收端应校验认证和版本,以 `id` 为唯一键可靠入队,再返回 `2xx`。这代表网关接受投递责任,最终微信消息的发送及重试由网关负责。 + +连接失败或 `5xx` 时,面板最多重试一次,沿用相同 ID 和正文;其他失败响应不重试。接收端应按 ID 去重,避免响应丢失造成重复消息。每次请求超时 10 秒,响应最多 4 KiB,不跟随重定向。协议不依赖特定的网关服务。 + +企业微信模式只接受官方机器人 HTTPS 地址,并要求响应 `errcode: 0`。长消息按 UTF-8 字节边界拆分,每段最多 2,048 字节、最多十段,发送间隔至少 3.1 秒。该接口不能按本通道的 ID 去重,因此不自动重试。 + +两种方式均直接通过 HTTPS 连接、校验证书,不继承面板出站代理。自定义地址必须指向公网,实际连接时再次阻止回环、私网、链路本地和元数据服务地址。微信适配器位于内网时,应提供公开的 HTTPS 接收网关。 diff --git a/docs/content/docs/zh/reference/api/clients.mdx b/docs/content/docs/zh/reference/api/clients.mdx index 52da456f9..aa9eda9c2 100644 --- a/docs/content/docs/zh/reference/api/clients.mdx +++ b/docs/content/docs/zh/reference/api/clients.mdx @@ -35,10 +35,10 @@ _openapi: #create-a-new-client-and-attach-it-to-one-or-more-inbounds-in-a-single-call-body-is-json-per-protocol-secrets-are-generated-server-side-when-omitted-so-callers-can-send-only-the-universal-fields - depth: 2 title: >- - 按 email 更新现有客户端。变更会传播到每个挂载的入站。请求体为 JSON 客户端载荷—— - 请提供你希望保留的完整字段集(服务端会替换整条记录,而非局部更新)。 + 按 email 更新现有客户端。变更会传播到每个挂载的入站。请求体为 JSON 客户端载荷: + 省略的字段保留当前值,显式的零值、空值或 null 会清除该字段(例外见下文)。 url: >- - #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + #update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - depth: 2 title: >- 按 email 删除客户端。将其从每个挂载的入站中移除,并删除其流量记录,除非传入 @@ -175,7 +175,7 @@ _openapi: 列出所有客户端分组及其成员数量。将持久化分组(client_groups 中的记录,包括空占位符) 与当前在客户端上设置的去重后的 group_name 值合并。按字母顺序排序(不区分大小写)。 url: >- - #list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + #list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - depth: 2 title: >- 仅返回当前属于指定分组的客户端 email 列表。适用于将单个批量操作扇出到整个分组,而无需 @@ -187,14 +187,14 @@ _openapi: 创建一个新的空(占位)分组。即使尚未向其添加任何客户端,该分组也会在客户端表单和筛选 抽屉中变为可选。若已存在同名分组,则报错。 url: >- - #create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + #create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - depth: 2 title: >- 重命名分组。新名称会应用到 client_groups 记录,并在单个事务中传播到每个匹配的客户端 (包括 clients.group_name 以及每个所属入站的 settings JSON 内的客户端条目)。返回 标签被更新的客户端数量。 url: >- - #rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + #rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - depth: 2 title: >- 移除分组。删除 client_groups 记录,并从每个匹配的客户端清除分组标签(包括 @@ -292,10 +292,10 @@ _openapi: id: >- create-a-new-client-and-attach-it-to-one-or-more-inbounds-in-a-single-call-body-is-json-per-protocol-secrets-are-generated-server-side-when-omitted-so-callers-can-send-only-the-universal-fields - content: >- - 按 email 更新现有客户端。变更会传播到每个挂载的入站。请求体为 JSON 客户端载荷—— - 请提供你希望保留的完整字段集(服务端会替换整条记录,而非局部更新)。 + 按 email 更新现有客户端。变更会传播到每个挂载的入站。请求体为 JSON 客户端载荷: + 省略的字段保留当前值,显式的零值、空值或 null 会清除该字段(例外见下文)。 id: >- - update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload--supply-the-full-set-of-fields-you-want-to-keep-the-server-replaces-the-row-it-does-not-patch + update-an-existing-client-by-email-changes-propagate-to-every-attached-inbound-body-is-the-json-client-payload-omitted-fields-keep-their-current-values-and-an-explicit-zero-empty-or-null-value-clears-a-field-except-as-noted-below - content: >- 按 email 删除客户端。将其从每个挂载的入站中移除,并删除其流量记录,除非传入 keepTraffic=1。 @@ -412,7 +412,7 @@ _openapi: 列出所有客户端分组及其成员数量。将持久化分组(client_groups 中的记录,包括空占位符) 与当前在客户端上设置的去重后的 group_name 值合并。按字母顺序排序(不区分大小写)。 id: >- - list-all-client-groups-with-their-member-counts-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive + list-all-client-groups-with-their-member-counts-and-the-host-groups-bound-to-each-merges-persisted-groups-rows-in-client_groups-including-empty-placeholders-with-the-distinct-group_name-values-currently-set-on-clients-sorted-alphabetically-case-insensitive - content: >- 仅返回当前属于指定分组的客户端 email 列表。适用于将单个批量操作扇出到整个分组,而无需 往返获取完整的客户端列表。 @@ -422,13 +422,13 @@ _openapi: 创建一个新的空(占位)分组。即使尚未向其添加任何客户端,该分组也会在客户端表单和筛选 抽屉中变为可选。若已存在同名分组,则报错。 id: >- - create-a-new-empty-placeholder-group-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-errors-if-a-group-with-the-same-name-already-exists + create-a-new-group-optionally-with-host-rules-bound-to-it-the-group-becomes-selectable-in-client-forms-and-the-filter-drawer-even-before-any-client-is-added-to-it-host-group-ids-are-validated-before-the-group-is-created-errors-if-a-group-with-the-same-name-already-exists - content: >- 重命名分组。新名称会应用到 client_groups 记录,并在单个事务中传播到每个匹配的客户端 (包括 clients.group_name 以及每个所属入站的 settings JSON 内的客户端条目)。返回 标签被更新的客户端数量。 id: >- - rename-a-group-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-in-a-single-transaction-returns-the-number-of-clients-whose-label-was-updated + rename-a-group-and-optionally-replace-its-host-rules-in-one-transaction-the-new-name-is-applied-to-the-client_groups-row-and-propagated-to-every-matching-client-both-clientsgroup_name-and-the-client-entry-inside-every-owning-inbounds-settings-json-omit-hostgroupids-to-leave-the-bindings-unchanged-send-an-empty-array-to-clear-them-returns-the-number-of-clients-whose-label-was-updated - content: >- 移除分组。删除 client_groups 记录,并从每个匹配的客户端清除分组标签(包括 clients.group_name 以及入站 settings JSON)。客户端本身不会被删除——如需删除请先按 diff --git a/docs/lib/xray/subscription.test.ts b/docs/lib/xray/subscription.test.ts index d28a19cd6..292a04651 100644 --- a/docs/lib/xray/subscription.test.ts +++ b/docs/lib/xray/subscription.test.ts @@ -1,3 +1,4 @@ +import { readFileSync } from 'node:fs'; import { describe, it, expect } from 'vitest'; import { buildSubscriptionUrls, @@ -121,6 +122,16 @@ describe('buildJsonSubscription', () => { expect(cfg.remarks).toBe('HK-01'); }); + // A key the panel drops from its template stays behind in this copy, deprecation warning and all. + it("carries the panel's embedded template around the proxy outbound", () => { + const template = JSON.parse( + readFileSync(new URL('../../../internal/sub/default.json', import.meta.url), 'utf8'), + ); + const cfg = JSON.parse(buildJsonSubscription([vlessClient])); + expect(cfg.outbounds.slice(1)).toEqual(template.outbounds); + expect({ ...cfg, remarks: '', outbounds: template.outbounds }).toEqual(template); + }); + it('keeps the Mihomo-only ML-KEM hint out of the Xray realitySettings', () => { const cfg = JSON.parse(buildJsonSubscription([vlessClient])); expect(cfg.outbounds[0].streamSettings.realitySettings.publicKey).toBe(vlessClient.publicKey); diff --git a/docs/lib/xray/subscription.ts b/docs/lib/xray/subscription.ts index b6d09931a..ea64b0f7e 100644 --- a/docs/lib/xray/subscription.ts +++ b/docs/lib/xray/subscription.ts @@ -182,7 +182,7 @@ function skeletonOutbounds(): Record[] { { tag: 'direct', protocol: 'freedom', - settings: { domainStrategy: 'AsIs', redirect: '', noises: [] }, + settings: { redirect: '' }, }, { tag: 'block', protocol: 'blackhole', settings: { response: { type: 'http' } } }, ]; diff --git a/docs/package.json b/docs/package.json index d09fa3616..471e167a3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,34 +18,34 @@ "test:watch": "vitest" }, "dependencies": { - "fumadocs-core": "^16.17.9", + "fumadocs-core": "^16.19.7", "fumadocs-docgen": "^3.2.0", - "fumadocs-mdx": "^15.4.10", - "fumadocs-openapi": "^12.5.7", - "fumadocs-ui": "^16.17.9", - "lucide-react": "^1.66.0", - "mermaid": "^12.2.0", - "next": "16.4.3", + "fumadocs-mdx": "^15.6.4", + "fumadocs-openapi": "^12.6.7", + "fumadocs-ui": "^16.19.7", + "lucide-react": "^1.77.0", + "mermaid": "^12.3.0", + "next": "16.4.6", "next-themes": "^0.4.6", "react": "^19.3.1", "react-dom": "^19.3.1", "react-qr-code": "^2.2.0", - "tailwind-merge": "^3.7.0", - "zbsearch": "4.0.1", + "tailwind-merge": "^3.7.1", + "zbsearch": "4.0.4", "zod": "^4.6.7" }, "devDependencies": { - "@tailwindcss/postcss": "^4.3.3", + "@tailwindcss/postcss": "^4.3.5", "@types/mdx": "^2.0.14", "@types/node": "^26.6.6", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", - "oxfmt": "0.75.0", - "oxlint": "1.90.0", - "postcss": "^8.5.32", - "tailwindcss": "^4.3.3", + "oxfmt": "0.79.0", + "oxlint": "1.94.0", + "postcss": "^8.5.33", + "tailwindcss": "^4.3.5", "typescript": "7.0.2", - "vitest": "^5.0.5" + "vitest": "^5.1.1" }, - "packageManager": "pnpm@12.16.1" + "packageManager": "pnpm@12.16.1+sha512.091d1dee7927575661b25dab3c2ae31cafc1c54d6b71ed6a6600cf0c1cb10434a447eae14015f1b23e2e6bedeed79df94a932e2164d2832280dce3fb32f656d1" } diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 67fce7810..343334881 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -172,29 +172,29 @@ importers: .: dependencies: fumadocs-core: - specifier: ^16.17.9 - version: 16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7) + specifier: ^16.19.7 + version: 16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7) fumadocs-docgen: specifier: ^3.2.0 - version: 3.2.0(@types/estree@1.0.9)(@types/hast@3.0.5)(@types/mdast@4.0.4)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(mdast-util-mdx@3.0.0(supports-color@7.2.0)) + version: 3.2.0(@types/estree@1.0.10)(@types/hast@3.0.5)(@types/mdast@4.0.4)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(mdast-util-mdx@3.0.0) fumadocs-mdx: - specifier: ^15.4.10 - version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.1.5)(supports-color@7.2.0)(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) + specifier: ^15.6.4 + version: 15.6.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.19)(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) fumadocs-openapi: - specifier: ^12.5.7 - version: 12.5.7(a19b5875f441d842a34d0b5b000f1f35) + specifier: ^12.6.7 + version: 12.6.7(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(fumadocs-ui@16.19.7(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5))(react-dom@19.3.1(react@19.3.1))(react@19.3.1) fumadocs-ui: - specifier: ^16.17.9 - version: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.3) + specifier: ^16.19.7 + version: 16.19.7(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5) lucide-react: - specifier: ^1.66.0 - version: 1.66.0(@types/react@19.3.0)(react@19.3.1) + specifier: ^1.77.0 + version: 1.77.0(@types/react@19.3.0)(react@19.3.1) mermaid: - specifier: ^12.2.0 - version: 12.2.0 + specifier: ^12.3.0 + version: 12.3.0 next: - specifier: 16.4.3 - version: 16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 16.4.6 + version: 16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) next-themes: specifier: ^0.4.6 version: 0.4.6(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -208,18 +208,18 @@ importers: specifier: ^2.2.0 version: 2.2.0(react@19.3.1) tailwind-merge: - specifier: ^3.7.0 - version: 3.7.0 + specifier: ^3.7.1 + version: 3.7.1 zbsearch: - specifier: 4.0.1 - version: 4.0.1 + specifier: 4.0.4 + version: 4.0.4 zod: specifier: ^4.6.7 version: 4.6.7 devDependencies: '@tailwindcss/postcss': - specifier: ^4.3.3 - version: 4.3.3 + specifier: ^4.3.5 + version: 4.3.5 '@types/mdx': specifier: ^2.0.14 version: 2.0.14 @@ -233,103 +233,35 @@ importers: specifier: ^19.3.0 version: 19.3.0(@types/react@19.3.0) oxfmt: - specifier: 0.75.0 - version: 0.75.0 + specifier: 0.79.0 + version: 0.79.0 oxlint: - specifier: 1.90.0 - version: 1.90.0 + specifier: 1.94.0 + version: 1.94.0 postcss: - specifier: ^8.5.32 - version: 8.5.32 + specifier: ^8.5.33 + version: 8.5.33 tailwindcss: - specifier: ^4.3.3 - version: 4.3.3 + specifier: ^4.3.5 + version: 4.3.5 typescript: specifier: 7.0.2 version: 7.0.2 vitest: - specifier: ^5.0.5 - version: 5.0.5(@types/node@26.6.6)(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) + specifier: ^5.1.1 + version: 5.1.1(@types/node@26.6.6)(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) packages: - '@alloc/quick-lru@5.2.0': - resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} + '@alloc/quick-lru@5.3.0': + resolution: {integrity: sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==} engines: {node: '>=10'} - '@antfu/install-pkg@1.1.0': - resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==} + '@antfu/install-pkg@2.1.0': + resolution: {integrity: sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==} - '@babel/code-frame@7.29.7': - resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} - engines: {node: '>=6.9.0'} - - '@babel/compat-data@7.29.7': - resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==} - engines: {node: '>=6.9.0'} - - '@babel/core@7.29.7': - resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==} - engines: {node: '>=6.9.0'} - - '@babel/generator@7.29.7': - resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==} - engines: {node: '>=6.9.0'} - - '@babel/helper-compilation-targets@7.29.7': - resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==} - engines: {node: '>=6.9.0'} - - '@babel/helper-globals@7.29.7': - resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-imports@7.29.7': - resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-transforms@7.29.7': - resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - - '@babel/helper-string-parser@7.29.7': - resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-identifier@7.29.7': - resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-option@7.29.7': - resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==} - engines: {node: '>=6.9.0'} - - '@babel/helpers@7.29.7': - resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==} - engines: {node: '>=6.9.0'} - - '@babel/parser@7.29.8': - resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==} - engines: {node: '>=6.0.0'} - hasBin: true - - '@babel/runtime@7.29.7': - resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} - engines: {node: '>=6.9.0'} - - '@babel/template@7.29.7': - resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==} - engines: {node: '>=6.9.0'} - - '@babel/traverse@7.29.7': - resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==} - engines: {node: '>=6.9.0'} - - '@babel/types@7.29.8': - resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} - engines: {node: '>=6.9.0'} + '@babel/runtime@8.1.3': + resolution: {integrity: sha512-tno/enifiFAE77kbJadRE5wKfmzxlYvdB5Dj8yqmWoT49mDJE+wvLgvJY/EKt/jQllv369GMxyyJ9tKfTL33Nw==} '@base-ui/react@1.9.0': resolution: {integrity: sha512-S8CSYosASBKtpL8SWUfS78rFElfLijiCgA7oHOK22jCJ95FULsYyKwBNFOgudt0RA+/7yNc7F81bOvQnRgbBiQ==} @@ -376,17 +308,17 @@ packages: '@chevrotain/utils@13.2.0': resolution: {integrity: sha512-SzKYY68rseOrb9KILVzPsl6SjkQtdWw01SRGB5aCVI5kFcHltQsOYV3JB0Ffst72DgkvHCyDQ0NLwxtmCCf97Q==} - '@emnapi/core@1.11.1': - resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==} - - '@emnapi/runtime@1.11.1': - resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==} + '@emnapi/core@2.0.0-beta.2': + resolution: {integrity: sha512-MzCVoWtcg4Pm2B3je5mMvYMvj3MmBKw+fU7vbsJc9/iT8ip6/eYIHo/Dsm/mr+wsHB6SEyJDuxB09Yy6r/8+4A==} '@emnapi/runtime@1.11.3': resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==} - '@emnapi/wasi-threads@1.2.2': - resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==} + '@emnapi/runtime@2.0.0-beta.2': + resolution: {integrity: sha512-JcrSPzPvZuNZvJqPTF9Fw25LbOJ8avzFVlaf2grmH4Cku0oGP47tRgqPZadcfj3YoZMHkFVnCYFbQM8I+i5QEw==} + + '@emnapi/wasi-threads@2.2.0': + resolution: {integrity: sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw==} '@esbuild/aix-ppc64@0.28.2': resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} @@ -569,8 +501,8 @@ packages: '@types/react': optional: true - '@fumadocs/json-schema@0.3.5': - resolution: {integrity: sha512-BhFhYtVufkLY0cZfWuMFJm0Rq7oBaIDMzONrsHovhY6on7GiPiuTSuJv4ZlOgmyBaPL3HW+s1wkevjhvRUUlFg==} + '@fumadocs/json-schema@0.3.6': + resolution: {integrity: sha512-/8ieEE7K87jx9ct1R0Eo5lEWsZmFJvAEeypKdgX5uP7ozP/gtjm/T09p4j1oFQRyt3YMVN6ZrVUU2QjE8wQ1qA==} peerDependencies: json-schema-typed: '*' react: ^19.2.0 @@ -580,8 +512,8 @@ packages: react: optional: true - '@fumadocs/tailwind@0.1.4': - resolution: {integrity: sha512-1LAmuroJ6TJoQodyODRhMC9ThAkfrV2N5vZjaj4KKs+dpF2bs0d/2z0604iMKBLv2BKstR7zE9TUa/L0pxGnhA==} + '@fumadocs/tailwind@0.1.5': + resolution: {integrity: sha512-ohzmuLTfNNRvP6B/Xx31lWJ58xu40NcmI+6mc/jivYeOoofnmdxBKu5gCErTgOE/mUqyVv4GvYeqd9FhoLHphg==} peerDependencies: tailwindcss: ^4.0.0 peerDependenciesMeta: @@ -612,8 +544,8 @@ packages: '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} - '@iconify/utils@3.1.4': - resolution: {integrity: sha512-b1S7B1k9ohZ+iNTi2ATxbRYG9fTrJmUT0rc46bvVnNxqNRGW7dyo/vRREwyniI5IRN2RSJHDcm+s3BjWrSAjHw==} + '@iconify/utils@3.1.7': + resolution: {integrity: sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w==} '@img/colour@1.1.0': resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} @@ -783,8 +715,8 @@ packages: '@jridgewell/remapping@2.3.5': resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + '@jridgewell/resolve-uri@3.1.3': + resolution: {integrity: sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==} engines: {node: '>=6.0.0'} '@jridgewell/sourcemap-codec@1.6.0': @@ -800,311 +732,311 @@ packages: resolution: {integrity: sha512-j37dj/h6p6pots1L7pLPPNuABEEu9WP4OYg9pW1g+nYG331j0+3canE9OagtYdytYvdSAMG+2fKU5cxep6LgjA==} engines: {node: '>=22.12.0'} - '@napi-rs/wasm-runtime@1.2.2': - resolution: {integrity: sha512-JfB4kuJQjaoHuCTseIINHtHWeJnvgEcxjwA5t/Y00ZgaOO1Crz3fjT/p8kT28zA/Caz7oiUMn3d6H2yOVCVwuw==} + '@napi-rs/wasm-runtime@1.2.6': + resolution: {integrity: sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==} engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} peerDependencies: - '@emnapi/core': ^1.7.1 || ^2.0.0-alpha.3 - '@emnapi/runtime': ^1.7.1 || ^2.0.0-alpha.3 + '@emnapi/core': ^1.7.1 || 2.0.0-beta.2 + '@emnapi/runtime': ^1.7.1 || 2.0.0-beta.2 - '@next/env@16.4.3': - resolution: {integrity: sha512-a7tz1QCcWWkwC/rPJcPMJk/UNRu9CFhDd3OHYE5hddbJrs8BqRTalxI6GlKCWEGzRLHN+S/B7a4PAHCtm25aBQ==} + '@next/env@16.4.6': + resolution: {integrity: sha512-SunBjJ6t+oBtecS3dTjdVuMhUogP5wD/vrGL5EVuQYM1iS4O5ilL51HkiJ3sPjMzRHiCChvr4dbaSJbR7F3lxA==} - '@next/swc-darwin-arm64@16.4.3': - resolution: {integrity: sha512-4yq5EXBt+VDtAZwTyfijaFp5D2C5oz3Ikw5a2kiX2K9nw72vrZX2q5UuAlkPtUMO1tQz6JTKpaKWjS7OOefTDQ==} + '@next/swc-darwin-arm64@16.4.6': + resolution: {integrity: sha512-kJ4VVZkley17xKaJx72QN2IBqjrj7zenCQZaUF0l9ShS/1Mt2kW4+Z5KGG6vgr3L/J562xTOizVyM1iA/u5nlg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@16.4.3': - resolution: {integrity: sha512-1Rvkn/LUhnEF8WxnRkOrqGhbwXui1bkWFxONKIbN+r7C+9KHDSZ+iUoj4CzymVMWUyZIyx9szcb9+kbKhD500A==} + '@next/swc-darwin-x64@16.4.6': + resolution: {integrity: sha512-eIPGZIqC+8JKaeZmvnCANJQF4xWkkHqSnAAajtFxgwDMAOnCgxNvP52SeWZ41PyVwoe+Le/NQuZSaQ8j7YshSA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@16.4.3': - resolution: {integrity: sha512-dCKpXErGg3abUM6t5JTJV/ottVBTStJB5lRJTbgdUdQaQ+jNHiK56Hsc0YAEg/rinSh42hYG3HWiYmEMdilnxg==} + '@next/swc-linux-arm64-gnu@16.4.6': + resolution: {integrity: sha512-9nI6O8vvczH2D9ZNdMGqb/3NuT15T9ksOZnAmx9/gjF2cOi74+xxyf1Hk96uIMfm14c9y6wHeBq6SH8g6udvcA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] libc: [glibc] - '@next/swc-linux-arm64-musl@16.4.3': - resolution: {integrity: sha512-WwYbhWkhYBvBtib1K4W0kL8MW2snBD2A5b3SN4vPpqalZbZs5+bQ1yzAdepVoOqrFfEW3dmREy4Zs1MrWcrFbw==} + '@next/swc-linux-arm64-musl@16.4.6': + resolution: {integrity: sha512-7/qPhTxDp2ScluOJOhLuhWmlA17o1yZ0SIgpISBCpBxXgtnK4+KGywBpFkfLPiU1rnSM1faFGzYkH6i7JdTrqA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] libc: [musl] - '@next/swc-linux-x64-gnu@16.4.3': - resolution: {integrity: sha512-QymWvfUwDEC5/lpJOsxX5VAbyoR2D13+2Jsjz4be7gT4LPqEgdpkeLIR/HFfCLgKzoMhpJbp6I/JnogyNZHcaA==} + '@next/swc-linux-x64-gnu@16.4.6': + resolution: {integrity: sha512-oOpbNa8XOW1qCGd9VvzC4fbkkRxEls7/WI6tz+YHC0xRA7KpV1U7DrAnCPjzVyOk/karzWEepCOcTIDmwK8FwQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] libc: [glibc] - '@next/swc-linux-x64-musl@16.4.3': - resolution: {integrity: sha512-Vmjd9D7DpA4Vv3cUlr82QWgJD/BQZmns801vtC5VWHg6jCIA4a5vMKpQnfrM2pyCrp2eV0ENdUg4PlN3bAc2Yw==} + '@next/swc-linux-x64-musl@16.4.6': + resolution: {integrity: sha512-aM8CZ+OR2EwXaAYw7KGkW2GDmNDsLBIRe1MMRZCJPTdw/xhTD0IMUVO4sf3KqrzuRouGzwwLZn34+gFeVXiUQA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] libc: [musl] - '@next/swc-win32-arm64-msvc@16.4.3': - resolution: {integrity: sha512-lG1pPdPLk7gTyGb00n5JIMLdBJgjb+UEhSdZvFbhUMg0DyC6z4B7RnpSKF9VCd4imkLObVbXOFA0kFCpw7yFow==} + '@next/swc-win32-arm64-msvc@16.4.6': + resolution: {integrity: sha512-U0p7/tEtqvHX2crhd841CDwKtp5CFkKXVjOhmfccR3Pvp64sj8KBwRqsvltqLOwVBbj0NtkxwXSDpEHYGbxeXQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-x64-msvc@16.4.3': - resolution: {integrity: sha512-NmQC9RkJdnPXRaMxtkCzobB3teVjqF33oSOnwDfi+XYGWWYpt+xlGK3mtktSKLbdjwaWbJu2OkkMiRFGUUncKg==} + '@next/swc-win32-x64-msvc@16.4.6': + resolution: {integrity: sha512-3ZG15/5WIdlTQsIEvc9sPTTSL5XFrlLklIKmfF4fwsDnoAhu6NcBDXsk3mbGxNyo6aVLEGex+fHCv2MahY7a9g==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@oxc-project/types@0.139.0': - resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==} + '@oxc-project/types@0.156.0': + resolution: {integrity: sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==} - '@oxfmt/binding-android-arm-eabi@0.75.0': - resolution: {integrity: sha512-zHJ7LcTN46/5mtoLxsUu14pdF9ixFwDURtmxZ0CeNwqom5qB5NRVqU6o2GRZ7QPdNBW8G6j9UTJzQ+EDevMH0w==} + '@oxfmt/binding-android-arm-eabi@0.79.0': + resolution: {integrity: sha512-xOCQ/rvokUXs8SxOQY5Wy2ukPaZJZ0PmdJovN0ryB1c8DVEtbcvliLdYtINUYh8QOTpmBOctIisSJk9tvh+J6w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxfmt/binding-android-arm64@0.75.0': - resolution: {integrity: sha512-IdxsKZJvHZUvI7q6kLmzXdEFpFiBEDQw/WJtSp1QlzNXBw1JlLN3tY50WwWd4doPnq86XW4P+7BsQwu6meCW+w==} + '@oxfmt/binding-android-arm64@0.79.0': + resolution: {integrity: sha512-WMLDvCjjchUYtI6zXKOdzTDGm72BaYZiz1/VhB1rrxdakUZRlJh1aMr3CT6ui51uHcWVBycULIXSZHpw6u2pTQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxfmt/binding-darwin-arm64@0.75.0': - resolution: {integrity: sha512-vyiqZilO5jal/nXZ0143NyKcP6TkzjaQdVEWU/kwgyWqugAgIRgAbrnO3MOF+e6LkQu3CrtrkPoc3mrsZZY6cA==} + '@oxfmt/binding-darwin-arm64@0.79.0': + resolution: {integrity: sha512-+LzSN7w7tULz96ntS1Uqe5oI00XZ0o/m/t3+eSfiQp3aTPnj2eGUafqEWryMLk84j7x9NiF+GEP2YT4/BfClgA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxfmt/binding-darwin-x64@0.75.0': - resolution: {integrity: sha512-oua7eVqVe769mDam6ORcavygxTzG3ovo5QRQ1kJCPaEbnWXPYhtAiYDj8pajVmFjO7j8Elf3gInnWpTX0LLYtg==} + '@oxfmt/binding-darwin-x64@0.79.0': + resolution: {integrity: sha512-KFiMRhKeiiooaS1dKc4r8AZgOrfOhwVe1yf/aRef+8BajJwtVjMtlsQl/BNRxtkFbq13GjEo/4Q+9YhFGU4o6g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxfmt/binding-freebsd-x64@0.75.0': - resolution: {integrity: sha512-NWkbezhg7mx2Ep94g/TysR3c1bsISsU4lQ6t5xI4841PAk0Kqcn1+UEe+BoFH2/UK2YegPXq+OF+0bUcSvUalA==} + '@oxfmt/binding-freebsd-x64@0.79.0': + resolution: {integrity: sha512-lHVIp0g8ZOFKiqVscvttp+3HJkkRH6XkGgfAA0lVexIlE1mMFVp4V7RBdxz/P9p7T8pSNsYdapFWvdT21Mib9w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxfmt/binding-linux-arm-gnueabihf@0.75.0': - resolution: {integrity: sha512-CAHX87kJplTq2E0OWP7opG8gEVlHc7CeLEi4nMJOyx3psuqBKf84HZ3UIkX2guWEJ5UljU2zJF0o46XylywVVA==} + '@oxfmt/binding-linux-arm-gnueabihf@0.79.0': + resolution: {integrity: sha512-Pt35GoxiMUfnr+23cuzk07XQVvISDFxxPcp/aFVB87+RQvJoQaBo/XN7Re9XxgElvbELdyxTLnV9XM2aTfJeUA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm-musleabihf@0.75.0': - resolution: {integrity: sha512-jmxYOiQzx2fp+OwQb7717K1zI8AMKEykw04sfr95/mU8SIL/oKgQq8nXH42sEznEquBL2RU7nLY36eBnYFT+vg==} + '@oxfmt/binding-linux-arm-musleabihf@0.79.0': + resolution: {integrity: sha512-zPi9Dni58VKp3r1QUcFvnbJNfBr49qyecq0vlM4SaX/MSjmguq77VngirghDua5tyhIDfqdUMTCK2KRlnZFp/g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm64-gnu@0.75.0': - resolution: {integrity: sha512-eimaiAhx08dbOg12Fj3PYhymXY8vRbaiJB505vDXMy6ohne3Y1qTS0e5KEwFMq3LmDjEO+16BX38c/oXFI/SAQ==} + '@oxfmt/binding-linux-arm64-gnu@0.79.0': + resolution: {integrity: sha512-XhRehATEWjwX7VVEgDUD+7pfHYncQIJaEU0qsHvEKtu9XX0QYzcKvXhU9+URfiGX9WRh3wy2Ow+YCc3EeHtImg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-arm64-musl@0.75.0': - resolution: {integrity: sha512-bjSONIG1ba2xugr9oHQau0E6oPFYOMjPaa5hK/wpVC/Q1pcgf2BZMKwbuA8/cWzhWX5QV/UdPzD+rw1kQHpikQ==} + '@oxfmt/binding-linux-arm64-musl@0.79.0': + resolution: {integrity: sha512-gbVjFZYug0MEyqvuTAzXGNxFJmBqBO32o1Fud1lG8bGs6oVz48ZtNQyEcAzqrOwaaG+Sxtv4gVzcsfht9aqmkg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-ppc64-gnu@0.75.0': - resolution: {integrity: sha512-wDksWQXC/KZucISyqlhBtvpW+pyHh8z0Cjm6Qxiv22XlllM2Bx5gJGDnPYjV+H0lL+o1iqLlEli8jmBuRCLcjw==} + '@oxfmt/binding-linux-ppc64-gnu@0.79.0': + resolution: {integrity: sha512-0N0sD3vnllyuiNh1r6zKvNXWE/CakcPKJAespg7XE2+sfvxpz5Q1iFah8sF5aedsOmVvbZaOPZcSHVmMosT1fA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-gnu@0.75.0': - resolution: {integrity: sha512-5JkNwViqaVuk4I+9+zgVrEYiHOAPXFxgDgP6iDnpdOBjm7XAHAOjSvolHZZAokWPx7CGOw8tKteXmn4WPIInaQ==} + '@oxfmt/binding-linux-riscv64-gnu@0.79.0': + resolution: {integrity: sha512-YtjqUHolcX6cv0ZMZuKQCM4H0ae/okcowy0wGcPHJk4O+8zjy3TvNhzDQ1/KGCkMJO8Fwulm1JcPJsraVJ3p+w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-musl@0.75.0': - resolution: {integrity: sha512-1EVqRIE0eZLB08j3ZCVN47Ors7LCXGmOI+3xJYgyoFUKUerD3Glxb+Q1Bp3lK8NeT5R3ZdS9uhX/wobNBYZ6jw==} + '@oxfmt/binding-linux-riscv64-musl@0.79.0': + resolution: {integrity: sha512-H2gb9bEBr5tcdP5FU8JYTfgOavXDorWcAAlwci/zEKF2jzgh/oEr/SAw6aHB9n3FLEvnKvOh0A1fjku+vgYoUA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-s390x-gnu@0.75.0': - resolution: {integrity: sha512-UJWRVNT6Yuw4ssLv2BwaBUWU1GWtByE+EnoHu8I+P1t8Kn+WozYU5WYOqb5aj8gbXJJ8gGZt+w40Hi/7L6iVLw==} + '@oxfmt/binding-linux-s390x-gnu@0.79.0': + resolution: {integrity: sha512-aZUbyWW5dSOxT/u6suWc4S9GVDt7YPPNMKQon+z79M8dpXmosadcFHAb7jBhpU7Hdsd2GN6/y3nd0JFTsGddZw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-gnu@0.75.0': - resolution: {integrity: sha512-FHdvHhyz8ChBctBUvVGti49kSEwANd1PZQwlXUEoF9Ed4plxXxk/wWc0mfZmrze2lRgmME7ytDmVIOixYauQhg==} + '@oxfmt/binding-linux-x64-gnu@0.79.0': + resolution: {integrity: sha512-5pW/ZHYfjjQ71gQR+EKzDz8ZzWIDHlTUtWtxVFNgZbKxVZnRxiSXVrllbjpJtx1q8VtSPZ+Lyg9BLny3yw+PTA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-musl@0.75.0': - resolution: {integrity: sha512-6MjtsF96s9mSBV0GEwUe4pOFPP2Mz7ahcHPAit0DSKL5fM6oMM7RG1zvYxwB7+SBkIxsWBRhhxuqmy7pibNwsA==} + '@oxfmt/binding-linux-x64-musl@0.79.0': + resolution: {integrity: sha512-3IVUerTDB7Dvd90c1EurAzlVnlE9Azl7Wn8e33qX3wL/IqnslF+P7HvwkD+VeMbHxRtuw0EEBGSArZFXpUAZrQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxfmt/binding-openharmony-arm64@0.75.0': - resolution: {integrity: sha512-1D6T6aL1Pj+U5GLxqwV1fKjUJ5+FFm+bn7UrqNDMveZmWs0jo/3vc+dzzuV/jF/FdVo12gowODk3SnAO2YOwLg==} + '@oxfmt/binding-openharmony-arm64@0.79.0': + resolution: {integrity: sha512-C5QDgJBtu9+/2BQScoP7ynv54PLOqfoSqhRWwI0D0RPOwYD4tYj0TUdJbXMO1fNegL/5zJiSOxkq6II2xvttWg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxfmt/binding-win32-arm64-msvc@0.75.0': - resolution: {integrity: sha512-RX2eUmy7J/nM8+tnM3nzR8t1eqkwj1q8Kgo7beA+4DVgKYYHHyrEa3qEmthxw7Z+HqpCCEOWuoqa+jelo9/w2Q==} + '@oxfmt/binding-win32-arm64-msvc@0.79.0': + resolution: {integrity: sha512-zlW1m8M49vNGgqQF/ze80KW8pZMicnW2XDZGBHuYtXTRYn4ewvgpqN9wwoqb6uLZZfb1R1zaQWKEB8cs7KYjwA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxfmt/binding-win32-ia32-msvc@0.75.0': - resolution: {integrity: sha512-UpKta0iSZmPLII0dYXYdbzdBTsGREUbSHLqgLdtKcqBvs40qjmUz+cgUcaU1smPx13DfbEG4XqnaSn5MoFN0og==} + '@oxfmt/binding-win32-ia32-msvc@0.79.0': + resolution: {integrity: sha512-wbb7hFv2wK3SCTfu8dl1ydNsXM5dmH+PJMU3sojCkfKcG29VDpITL5/AtouCzXjkOc90QRkcAZcg36gP0KqoHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxfmt/binding-win32-x64-msvc@0.75.0': - resolution: {integrity: sha512-pjiLiCk0QMCWxs0n5XiNU85YLAKA+wJxPjxlDVygmr4bP4glcfTU2nOpso5nR4Rdi2Pxv5YwakD4UE+eh7M0BQ==} + '@oxfmt/binding-win32-x64-msvc@0.79.0': + resolution: {integrity: sha512-JLaeaQ+4LkQiVXY06JIV1dBFEDJzssvDieK/3Poi6CsY+c4UxghZVrrsfcKGJ5R/0F2Sw3C5Lf5Hu0sM5qJfPw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@oxlint/binding-android-arm-eabi@1.90.0': - resolution: {integrity: sha512-sgfalb1HuxYjiAa4wESZ626z1FGusqNcXYHyB5oIOEprS2sbPg0UYEfo83uF1GNG70DIfZxHkXuE6KFrlSdn8Q==} + '@oxlint/binding-android-arm-eabi@1.94.0': + resolution: {integrity: sha512-730FKSBsKg/NawYnpI3gXRroXptOVqY32iYBPLUZaSx0vgYzOeiNtwojZL4gJdzo9wDvHUlstShmGRHrWcbRYg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxlint/binding-android-arm64@1.90.0': - resolution: {integrity: sha512-RcKhz1ETMq+fazE9TKS2+5NIRGwigm/nW8egqF0LI+A8Yw2iW5r0E/C3XAPRiwIm/vcPiutIRIa6IQCIKhZsTQ==} + '@oxlint/binding-android-arm64@1.94.0': + resolution: {integrity: sha512-8v8TICIiZpXLot1HSq5+vsG9NEKQ5czQBYlUqJR75OVfFDr3cGOmRU/CtHDWnS4tm8nW+Z4Y357qGToSfYqFvA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxlint/binding-darwin-arm64@1.90.0': - resolution: {integrity: sha512-PSrxMvP6mx+p1karZcUxLdy9lpaP+JWQPti4al9FgTaPhxE+pT/BjhGExloVVSWgZgIfOlLOjVyyq8BXlodhLQ==} + '@oxlint/binding-darwin-arm64@1.94.0': + resolution: {integrity: sha512-NePcRMO/ltt1Pnytohl6pl0bd/QyRX8HbpptuDz9LK7FTsFD4lKxDMBt7di9k6IFLO0J05jO2nm7wGqIh6dRHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxlint/binding-darwin-x64@1.90.0': - resolution: {integrity: sha512-OLbU9qsrV2Q8QxT2OEzOPdO8zCCpyI8qB+hDI8yr6RsYELtkf0FAZhJdfjM/RnLHKzt44HWwAPnk92vBtKofvw==} + '@oxlint/binding-darwin-x64@1.94.0': + resolution: {integrity: sha512-QV+m+OaEgLmYyillvP1wKXhMm6tDZEWx3vG7Wjmx9ybg15+6YMfqzvp6e+uPukC6zNywuule0vMn0fZgihZzZA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxlint/binding-freebsd-x64@1.90.0': - resolution: {integrity: sha512-fBA4pWyVDARmNucQqpyFuPC49xYf1r+sX7dxPL5fNPQrSMLum39Sn56tZ9JPleWC7FzLPwSQ7plYYfirYBHF8A==} + '@oxlint/binding-freebsd-x64@1.94.0': + resolution: {integrity: sha512-KVZjca581nrV6P71kZ9M1otBib9LH0IMn9rr4mrnbRp18V0HiZhBHbU26gji/Ieq2G34qMacnMc3zrmKmvWqWA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxlint/binding-linux-arm-gnueabihf@1.90.0': - resolution: {integrity: sha512-zhxH78eP2nR6/pGdhBc7MIfjhhcgATeu8fkmkFJbuzfk6Cj0FzBxyEhL85yDqrCybjx+G2YDzZGsxIO9kvO4Iw==} + '@oxlint/binding-linux-arm-gnueabihf@1.94.0': + resolution: {integrity: sha512-AMQtgQJk8DgdIV+qaQ5sFoHAko4iKa8zo+gYqELy2grtU8hXWB08DAGB3u90aQL1YSxbd3zqHjgcODBHDFyzBQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm-musleabihf@1.90.0': - resolution: {integrity: sha512-MvYmpHyJqUJjEvkZbJHdwfdL45cGn8EVBkYmoXFiaYFW9suoD3dbJl5mBdpy0DVgdjlyddmldbRtk3cCgETadQ==} + '@oxlint/binding-linux-arm-musleabihf@1.94.0': + resolution: {integrity: sha512-ZLzoGVGAmQkp9leeB5rNxAXLcvlmkmd/GY71LKd5uikk+28NEApY3S2FB3pq6MkfOCFFnFg6QgD9lJIjd07D0Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm64-gnu@1.90.0': - resolution: {integrity: sha512-L13Sy+Kg0nZhwTsToniqjUFPA2TuM6962qCZ5Wp5KeB517Tw7ApdLTTtlb+bF86fcZZa2EtvCVvAJxk4Dya/MQ==} + '@oxlint/binding-linux-arm64-gnu@1.94.0': + resolution: {integrity: sha512-N1dW6o7cY90hLVkDsvz8nWIFOwbO+n272pvW7uLYB7u47HagJVnLChfK6QA9dWFdiPudud9zfksVUOciHc5PNA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-arm64-musl@1.90.0': - resolution: {integrity: sha512-wFDdZWGpzIPFdJFjSLWnKB0TGzFriTKUIrl04iMqMyM9BBIJTuerfCHYa0WpDSjr5x3lcW/CHLyacSt886WpGg==} + '@oxlint/binding-linux-arm64-musl@1.94.0': + resolution: {integrity: sha512-7tCF4OV/bGDQ2xxgb+sDI97SpmmDrUII4JxTG553voJVA9cnkbXSGSXzo78Ax73BuhEOPoQc2Qi6VrfT0cDG2A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxlint/binding-linux-ppc64-gnu@1.90.0': - resolution: {integrity: sha512-FRywfn+MoKn8xpBSzgNwNVliSKRI2QXkxi/iF7o6FEQs8Bh8z2RpVTaFAcO3pchXjvB2eGNFIoLLQABIQ+u7VA==} + '@oxlint/binding-linux-ppc64-gnu@1.94.0': + resolution: {integrity: sha512-B5vUHE4wNisVEuaYxwFUn6tY+vw7A+9APxxqGKI+UmP3yKLpkhnt0qsaCrzjpX55F8rCRHBaTvIDdYo32NE36g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-gnu@1.90.0': - resolution: {integrity: sha512-IS2PaUgpc/qeLADTyhUNmdx3x4ijs9pjJdPKBYHaT+mAE7k3FsjnHPTjhpsak1b++h6CIPhv6WX9Z+y7Pw0voQ==} + '@oxlint/binding-linux-riscv64-gnu@1.94.0': + resolution: {integrity: sha512-/U0b15+c4hTodo8YhEqDlQ6OjnGKvc8igjM/mh23ukqqCUBKiBCaxqUV8bcaofK9uZ+f8wCygkyXLS6LN25YSA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-musl@1.90.0': - resolution: {integrity: sha512-s7JFKRkGS8O7i2ZVODfuO++NC7sH6HDqpMn8lYxw91w0SXJOxnAVjQ8utvmDwLMMT0jaSkuOKuUYJDGDtu4sHQ==} + '@oxlint/binding-linux-riscv64-musl@1.94.0': + resolution: {integrity: sha512-ba94Vwl0qOnwXIXNDR33AEbLXuX++ckM74t+9Te7CiPSPAHivhOYyeEkUAicrvOEei1pxXkWggLbFeBFFBTuHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxlint/binding-linux-s390x-gnu@1.90.0': - resolution: {integrity: sha512-b0GxrOQr5VONCkd7KLSqmP6b6nqZuTpuS8QPQHzltmqdXP5bY0Jl0CZ0QmlCTrS3ExaLYbioFYOARzNbYvcApQ==} + '@oxlint/binding-linux-s390x-gnu@1.94.0': + resolution: {integrity: sha512-GVwwwms3O8pdgbCiPavwq2vltyB4661GkDz6kJduZ0E5nsSJUDJ0svaP+ePYpuDVYi4+K1qhCKnWa/Ec8I4LUA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-gnu@1.90.0': - resolution: {integrity: sha512-iaJeShJtgUp8rZbt9YUdTAGOpmX5KogCLba17Jp1tWdJ3F4M3D2g2TKUyI1FMTHxKH9NNHuQcuC2kZRg6IV7yQ==} + '@oxlint/binding-linux-x64-gnu@1.94.0': + resolution: {integrity: sha512-iUfCFJN8ZIresSnpTfiIkhF3s8X+XA4I9KJ249QwR2QYTMwh0+pla1pj1xaFi+HtR9McjM4Jaemf70HzX7ilOQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-musl@1.90.0': - resolution: {integrity: sha512-/aZoXnL5WBLCXuzfHqvEFXcm4iwYmr/cYByHDTXzLFzJdE5DC7bm6phpWqHv6BeqpVgY9IpBAxGDv2WEkl5JCg==} + '@oxlint/binding-linux-x64-musl@1.94.0': + resolution: {integrity: sha512-RqWVeWpDACS4Oh0m21OBmy+CQ50CbbhuHFmNNPVS2P/4R3d188MjEuEuV7So82/tAM8UAT+UuMDtRDESd9NJ7g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxlint/binding-openharmony-arm64@1.90.0': - resolution: {integrity: sha512-SMhk7ozwoxYDKfYqGZCQEfULOKDneF9uhaoIf2neoDLWvNtjY9yVeL7YHmE5L9WdKvMpWNwwZxhenxBu6AgfOg==} + '@oxlint/binding-openharmony-arm64@1.94.0': + resolution: {integrity: sha512-K/2DHOUoypwYVqzxJMRPdMuBKjAetZEAsGPP7rHimd+2+5J1TxM+17pG8kw+ayH4+rqBXiPd+H9wgPcU+fF77A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxlint/binding-win32-arm64-msvc@1.90.0': - resolution: {integrity: sha512-KBvR3A9fO7fCi2vCP8ifWvlia7tGEQV9NaYh+IGwa/7Groy48Mt/UaYqMK9/zOtAWl20BUCf6RPqzJ32fRw33Q==} + '@oxlint/binding-win32-arm64-msvc@1.94.0': + resolution: {integrity: sha512-hYOCaOJiB4ZCGswBWKl3JQrhqu6mnC5DCUw/1UMNzRXgsHIJ0V226J43LAVICVIDGlhFUZTYShFW+wHWpt6qCQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxlint/binding-win32-ia32-msvc@1.90.0': - resolution: {integrity: sha512-+x42rDHQGbTCuT3EzpWAzhP3NoVPE/cJsG4gnrakOSg0olV+GCdMpPU23Nvrl3zZMnXxFZdTtDv4D3SuaA5ZeQ==} + '@oxlint/binding-win32-ia32-msvc@1.94.0': + resolution: {integrity: sha512-1l1FDlzbPmAeDoZ8UGspOE2dOmz1ZL6SlDsvOmRCmWSQjCdTy5LzUepS8mO/SGpAoz4D6WAt/yNZAUyHqbkmkQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxlint/binding-win32-x64-msvc@1.90.0': - resolution: {integrity: sha512-30JiaFEBUB9peEOcvVM8ggo88SoN/IdSr9DW505JdBji/R6dM66gKEiG65hw6qcaF2f4mO0cEJ+RwRZprmun9g==} + '@oxlint/binding-win32-x64-msvc@1.94.0': + resolution: {integrity: sha512-I3eZdd4bemIJQDNv9XDV/FEofDxIoN32tzCv98wIgLdW05EqxZb5hF4AwPrRzHD/dQhl0n7KgPy5AQPfM0HWrA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1465,150 +1397,160 @@ packages: '@radix-ui/rect@1.1.3': resolution: {integrity: sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw==} - '@rolldown/binding-android-arm64@1.1.5': - resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==} + '@rolldown/binding-android-arm-eabi@1.2.19': + resolution: {integrity: sha512-e+Ebe0WT+9tbXmNKPIiC8YrWAHYwug3m6i4p3rZGGulfZri1jtI4HslT+OZnFf/OIHowWF71DTlHwXBP2SiA7A==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + + '@rolldown/binding-android-arm64@1.2.19': + resolution: {integrity: sha512-hOombrTJ+szt2ciEzS7oCA78lMPBgF5UMQWCJIyNfnrI7GLl8HYoFqCnpL2gcPOaXMqryGCU5ExdQKyDDcC+yA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.1.5': - resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==} + '@rolldown/binding-darwin-arm64@1.2.19': + resolution: {integrity: sha512-XoMA2pwCKGTQzUjPgtRwkedH4WmXhdIPKT6l6oOxd1PUbNodGI6DcBekgN7EC//+x3pfBYX/qL1gNmZAqivw5g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.1.5': - resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==} + '@rolldown/binding-darwin-x64@1.2.19': + resolution: {integrity: sha512-zo8EsSSwMZCY/e+fRnGaX02YGgvJD0yvhNi/9hpGPA2MJ9ZF8dPCw75UGfpI6OpQ/myR/dIYmogRvqiZD0TrXg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.1.5': - resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==} + '@rolldown/binding-freebsd-x64@1.2.19': + resolution: {integrity: sha512-O8ISAOfI1nj7AuBPd30FSF47z7f7lzlk5poQVGgiikvQuGEBFYvW8ki+UEnT+YJPnNGjQzn304klt4O9FUE7mA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': - resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.19': + resolution: {integrity: sha512-/lYCba5NO0yq4S0jGMH8QTBtkvQxoXjoQWzF5BcWp9MjB9jxVRD1GQDNofkVjcOj30DWyhLIN/4Oe60JKzaONw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.1.5': - resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==} + '@rolldown/binding-linux-arm64-gnu@1.2.19': + resolution: {integrity: sha512-pm/apFMBnSbFb3O6nG5pHO1iqHhZrjGDFEjSm+ot9J17XXPvH9L90y5h+jgfHCE+Qdlsvy8qKEcU4VKxgjD+vA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.1.5': - resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==} + '@rolldown/binding-linux-arm64-musl@1.2.19': + resolution: {integrity: sha512-K1SmQp3FFichn8oqrNIwvFoZ5wcvjC7goBzpaMNvLf9FZc+QB/QvLmnpJZgAAGHiD980tP8FZZnXk2K94rvlxg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.1.5': - resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==} + '@rolldown/binding-linux-ppc64-gnu@1.2.19': + resolution: {integrity: sha512-I0xwD57jP/3A7+5UPZin2w8Y7XHEmEM5zqpYZOcQ45MlNW6tUJUziymV3yRr7rL4vwyfEcRsRksC4a7Kc08p5Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.1.5': - resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==} + '@rolldown/binding-linux-s390x-gnu@1.2.19': + resolution: {integrity: sha512-BrtEHT24SNXj9HiXqy+s/kXiSiQGt6EKCPUlRirAoIioVxKGnbXBUEkbZASAei7iZJB0/Ynm+0JP00Ipx7AnSw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.1.5': - resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==} + '@rolldown/binding-linux-x64-gnu@1.2.19': + resolution: {integrity: sha512-rm75/9DkHKeU2WnA8w4X94WGYgLlDCFCfkQC+4bguVJmC/jvDRv2B+2wLOYhyE0fVuv7//Ckk39OoOufyCu76Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.1.5': - resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==} + '@rolldown/binding-linux-x64-musl@1.2.19': + resolution: {integrity: sha512-irh/4+iYFM4GAzpluDErgjz89bj6NDtqqMAG/6O1LG38Ed3NpyebzCpcVNkFW8uhy+/3/BocUvnXDR33CXWe9A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.1.5': - resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==} + '@rolldown/binding-openharmony-arm64@1.2.19': + resolution: {integrity: sha512-+KWTWNoPt+CfSq94CiceWu3yPE+QzkaG+phPyz9G60tmZLwfQkcA4AeksafzvJAw4pvg1mcd5a1TkUqVv0s4JA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-wasm32-wasi@1.1.5': - resolution: {integrity: sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==} - engines: {node: ^20.19.0 || >=22.12.0} + '@rolldown/binding-wasm32-wasi@1.2.19': + resolution: {integrity: sha512-7EH+skOsl5qpWnK0vzamgJFhOv1cwxQpsxm8tI883K9fur5c27p8q87fzEO6BbBPabA2/+s/zR63/pLc137iOg==} + engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} cpu: [wasm32] - '@rolldown/binding-win32-arm64-msvc@1.1.5': - resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==} + '@rolldown/binding-win32-arm64-msvc@1.2.19': + resolution: {integrity: sha512-3Q1Yg1Q7tEvBWoZf5rFvG/GKZQPgwfru+p4wBajDfJFBs0SHCpL++dfTjW9gyAKd1T7ZpIYvdaUax7Pa/IhFVQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.1.5': - resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==} + '@rolldown/binding-win32-x64-msvc@1.2.19': + resolution: {integrity: sha512-y/sqRRc6d7hECzOFc5n3LSeqctmIp9mMjY1Kq4s14uLPd/LZ4z7i1zrW6fMtp2mPeuQIC4e6ULMcwQzMomqQag==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@rolldown/pluginutils@1.0.1': - resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} + '@rolldown/pluginutils@1.1.1': + resolution: {integrity: sha512-glFIJDvLNDtJhT9qrMFWLPbvS+skxgt4L0K8Ei2YtnhPysAJnsI7nyxSJxKj4ADeKX0OLjC4ntRkwpLOoS3rwA==} - '@scalar/helpers@0.16.4': - resolution: {integrity: sha512-9eILWzUcAkHEuYMMvijpSIy69t+Vkq+NudLB/7lgARFTWqXfQpIxW1L3VH7ogKyRie5+E4CNZ3PSvlw6IIfLGw==} + '@scalar/helpers@0.18.0': + resolution: {integrity: sha512-uvOhlUbqvnJNjvnsSr2CwZLQgT1qW3ZIBd11Ntg/DHL3nswVAE8f9OppcYWG4LLH0c7nxY+CPvDbmwqlp0rlrA==} engines: {node: '>=22'} - '@scalar/json-magic@0.16.1': - resolution: {integrity: sha512-yWQJUrkufUsShizF+rGKO4BoZ/ijMpnrgwRjtCA2cYqjxkQOYaQCd+WVF+b3ihmXE7amr768pLItFCx5UV/ObQ==} + '@scalar/helpers@0.18.1': + resolution: {integrity: sha512-5/FsnE/4bCbr+h0OOgT1Zlnl4G7MKgPsZlzDN4KiBjpVCCZNHn7Px9gLOqtQSfsSqM/JFwUW+voZNVTODiL2BA==} engines: {node: '>=22'} - '@scalar/openapi-types@0.9.8': - resolution: {integrity: sha512-pGcpkZObsGBC7nRKYte+6gstoe0C4hp7B2UWQYjg5To1wE68s3OHVvin+muL3tn3ZAoahXeJAkn1+aEcMi802w==} + '@scalar/json-magic@0.19.1': + resolution: {integrity: sha512-k1v1dIjCSSUf3MYFFJbaRfZXtguFqCf1JmDSGT4oE2xVvDDZnTMm/Q+rKP/ipom7wUTUwO86HujkeASwnNQeBQ==} + engines: {node: '>=22.19.0'} + + '@scalar/openapi-types@0.9.10': + resolution: {integrity: sha512-rQVlvSLXvP3ljCY7BqKeJ07EjqtzJyaj1OTMVRVRBftmNmxupmmx1xNTnuLnaJIfGnrNEFLW7kyJofzH43wUPg==} engines: {node: '>=22'} - '@scalar/openapi-upgrader@0.4.5': - resolution: {integrity: sha512-PdsTyeO8CepVP7I8JvwoojtzyZ+R1MrVgu1C8npvVvy5JRixp5E34Z4J1sKojJs+YRe42/MK2XHXVM/X1qgGPA==} + '@scalar/openapi-upgrader@0.4.11': + resolution: {integrity: sha512-Kpd6O0fx1QqrM8evUGeTh5b4NBDET3TnwWeeQkDvV9NSOiQ/asM58sLCnqRzwRid1JN+0xJRG2fX4dgIoX4m8g==} engines: {node: '>=22'} - '@shikijs/core@4.5.0': - resolution: {integrity: sha512-6CIgwq+bt2JZ3OSjb/nBkkwEf/CfpHcbam+Mg5Pllco7HAGRQ2/EFhZrrJtbyNTgKwknfVS+llsXGygiDGwJWw==} + '@shikijs/core@4.6.0': + resolution: {integrity: sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw==} engines: {node: '>=20'} - '@shikijs/engine-javascript@4.5.0': - resolution: {integrity: sha512-Ed6UdEj84LyYkwnxM5CvSMWAD+id9ExTYri0/+x41U9zrgNifPSS9lZm0JqBP0VfYI8yr8tY5nbNq9+p9R0kFA==} + '@shikijs/engine-javascript@4.6.0': + resolution: {integrity: sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg==} engines: {node: '>=20'} - '@shikijs/engine-oniguruma@4.5.0': - resolution: {integrity: sha512-dKVmbJecVdB9recl8a/CU4jdpNXyjJQrIcesIkpS70s5HS02ohpnCSpMUbotPnEUzbAcLQ+S4hwZYbkBBiTcJw==} + '@shikijs/engine-oniguruma@4.6.0': + resolution: {integrity: sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w==} engines: {node: '>=20'} - '@shikijs/langs@4.5.0': - resolution: {integrity: sha512-wwBTqwduXSz0X4v9Qa2EWeFaYJEw1clCncWjoRNQRbVDu3SPRTRWucnouYapKj3b8Q+sk/41Vbc4B5c8nuYzLA==} + '@shikijs/langs@4.6.0': + resolution: {integrity: sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg==} engines: {node: '>=20'} - '@shikijs/primitive@4.5.0': - resolution: {integrity: sha512-UM7ShlA8oz0OWxLLO8BmO9Ip6fVqdkt8yF0EH7nOCqHfrx1eEAzF0ZUVK7L+I8NEgeu1PEWSRlxaiPPeCb4iDg==} + '@shikijs/primitive@4.6.0': + resolution: {integrity: sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag==} engines: {node: '>=20'} - '@shikijs/themes@4.5.0': - resolution: {integrity: sha512-zGb87H3UBbpuI4yoh5UguB1XbU+2BDU3kflM7UfZ+Cy2hWo9lBtqjSVK20gmLY6ukYl040hAypGXMgud9vul8Q==} + '@shikijs/themes@4.6.0': + resolution: {integrity: sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ==} engines: {node: '>=20'} - '@shikijs/types@4.5.0': - resolution: {integrity: sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==} + '@shikijs/types@4.6.0': + resolution: {integrity: sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==} engines: {node: '>=20'} - '@shikijs/vscode-textmate@10.0.2': - resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} + '@shikijs/vscode-textmate@10.1.0': + resolution: {integrity: sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==} '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} @@ -1616,71 +1558,70 @@ packages: '@swc/helpers@0.5.23': resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==} - '@tailwindcss/node@4.3.3': - resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==} + '@tailwindcss/node@4.3.5': + resolution: {integrity: sha512-yT53FzV4ke0cr/BguDxhWMpm5MJu1O2muzk+tKw6lKHjODAsYArBbWwFbJiaksfzFv1tpkO9QHGzmfs1hJT66g==} - '@tailwindcss/oxide-android-arm64@4.3.3': - resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==} + '@tailwindcss/oxide-android-arm64@4.3.5': + resolution: {integrity: sha512-Se0z5xMqcSQanJD1IYmO0cGpK3iv0fp3ZsIT7xRJZ1Da5PghvNoc46zz4jIQn+aan3dV9T8AermFNN9QPmsh0Q==} engines: {node: '>= 20'} cpu: [arm64] os: [android] - '@tailwindcss/oxide-darwin-arm64@4.3.3': - resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==} + '@tailwindcss/oxide-darwin-arm64@4.3.5': + resolution: {integrity: sha512-UPrgTDuUbvmqGMZuCnmI3FKee/tYKzKdp00/kuB4oSGB213VYg8QTdF7lVhnPoBXq/mIfJ+ILoBFqNOboWcMwQ==} engines: {node: '>= 20'} cpu: [arm64] os: [darwin] - '@tailwindcss/oxide-darwin-x64@4.3.3': - resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==} + '@tailwindcss/oxide-darwin-x64@4.3.5': + resolution: {integrity: sha512-E+p7HEtjI0b8D7kbbWxH067cGui6d4c79COGko9fAPVE3rwc1E7ld2HFCbaG86AOGWS5VKQYqZOaf38ya4uxTQ==} engines: {node: '>= 20'} cpu: [x64] os: [darwin] - '@tailwindcss/oxide-freebsd-x64@4.3.3': - resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==} + '@tailwindcss/oxide-freebsd-x64@4.3.5': + resolution: {integrity: sha512-yWEWcWyAG7rWOcTpJTjdhQ3pcaFY2h+0bqTRfgU3G2fz87ZU3AKdvdZKhslD+kyHnjBUWKvNdRYwIYC5dI1tIg==} engines: {node: '>= 20'} cpu: [x64] os: [freebsd] - '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': - resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==} + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.5': + resolution: {integrity: sha512-WmeVjtJhZlr+smpqcdR2kQkkn6arHIJnUIBxTO2EJcTLGY1ecVXNo2hbSn8xc0IH2aEtys936iMWKGyj0GaKnA==} engines: {node: '>= 20'} cpu: [arm] os: [linux] - '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': - resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==} + '@tailwindcss/oxide-linux-arm64-gnu@4.3.5': + resolution: {integrity: sha512-DTCSyucc6ShMp1QMqV5R94Z7xlgNgUzkGmFF1rL5HH2Qjy4eSmEqy+YLGkqqYvWa4sILtgrBt1JjRKbneQtiFQ==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] libc: [glibc] - '@tailwindcss/oxide-linux-arm64-musl@4.3.3': - resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==} + '@tailwindcss/oxide-linux-arm64-musl@4.3.5': + resolution: {integrity: sha512-H9lsvO4x9E4nE4Hi8h7NHHw0O/kcVSu+iOyFHNGdYzazGgDjFHZbE6S3hQ8kMcbNXSBlMdNi67LV5EVqtpaJtw==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] libc: [musl] - '@tailwindcss/oxide-linux-x64-gnu@4.3.3': - resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==} + '@tailwindcss/oxide-linux-x64-gnu@4.3.5': + resolution: {integrity: sha512-4uxQvtBvPuIdl13WfUBj9xMZHH14PtHZ8OZdtLmdyDtG66sCa1t599NZT+jagkUzRtWhuul1qRZQ1nAJscXN5g==} engines: {node: '>= 20'} cpu: [x64] os: [linux] libc: [glibc] - '@tailwindcss/oxide-linux-x64-musl@4.3.3': - resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==} + '@tailwindcss/oxide-linux-x64-musl@4.3.5': + resolution: {integrity: sha512-0JQAzs7jwbA7O6+z/adU+Jk3AXwsu3npAhtr5escXS7TqEqWcaDV7qHuI+0Vy/KQRuVGnLQREcSJWYauyV3oqg==} engines: {node: '>= 20'} cpu: [x64] os: [linux] libc: [musl] - '@tailwindcss/oxide-wasm32-wasi@4.3.3': - resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] + '@tailwindcss/oxide-wasm32-wasi@4.3.5': + resolution: {integrity: sha512-OJhFmlEfdzMr+avACdi40RPtnkW0B6hXyxL/8r+tnEHBWZji36CYRjEXrrvgBmaYsD3oEOBqwYFRKsYvzFe7Bw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} bundledDependencies: - '@napi-rs/wasm-runtime' - '@emnapi/core' @@ -1689,27 +1630,27 @@ packages: - '@emnapi/wasi-threads' - tslib - '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': - resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==} + '@tailwindcss/oxide-win32-arm64-msvc@4.3.5': + resolution: {integrity: sha512-9o8jgthi+QE5eandnboiJT64VQfnIArfZzSTdgbhEK5aafdiu2jTW9Honi/mwYHxBZuH1vAC57IFyrh+0iK5Gg==} engines: {node: '>= 20'} cpu: [arm64] os: [win32] - '@tailwindcss/oxide-win32-x64-msvc@4.3.3': - resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==} + '@tailwindcss/oxide-win32-x64-msvc@4.3.5': + resolution: {integrity: sha512-XiKFfIy1RWe7qK4WqByxNW7Oz1/nkOy8o/BWhHminyV1PmpUd8Eedj5v2A8h2kpqeVlz6xRnwk9Fr/ZXNLcZfg==} engines: {node: '>= 20'} cpu: [x64] os: [win32] - '@tailwindcss/oxide@4.3.3': - resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==} + '@tailwindcss/oxide@4.3.5': + resolution: {integrity: sha512-PynqGLZsZvwM9tqD/CUxkOIfyd6K5elZ2MooauzJryP/UqXYgi3yYbtt3N0Xe+MHV/eFKPFQCEfIKAqlAS1CBg==} engines: {node: '>= 20'} - '@tailwindcss/postcss@4.3.3': - resolution: {integrity: sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg==} + '@tailwindcss/postcss@4.3.5': + resolution: {integrity: sha512-FAV37Tlx9wBiT/hkfgVD0Q6CWsP2oUX3lf28nrfjW8+ksILjnpuFulUqWDfNR4/ZiEHHDRBX8DUTzD1Rys687A==} - '@tybys/wasm-util@0.10.3': - resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==} + '@tybys/wasm-util@0.10.5': + resolution: {integrity: sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==} '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -1783,11 +1724,11 @@ packages: '@types/d3-scale@4.0.9': resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==} - '@types/d3-selection@3.0.11': - resolution: {integrity: sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==} + '@types/d3-selection@3.0.12': + resolution: {integrity: sha512-Qe/KWYhEiIIxGs7HrAAjMfShxKldx19SJtr5zu53f3afPsdZNz7HHtdTLXo/kqeiWNXVycI24kSnfzBYkTzpgw==} - '@types/d3-shape@3.1.8': - resolution: {integrity: sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==} + '@types/d3-shape@3.2.0': + resolution: {integrity: sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==} '@types/d3-time-format@4.0.3': resolution: {integrity: sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==} @@ -1801,8 +1742,8 @@ packages: '@types/d3-transition@3.0.9': resolution: {integrity: sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==} - '@types/d3-zoom@3.0.8': - resolution: {integrity: sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==} + '@types/d3-zoom@3.0.9': + resolution: {integrity: sha512-0sE1406XBYJGiqD3AusTl9ZqC//2mIXix51tbom25gDCA8ri4xnSZg28CaSE8Srl6FClqABUKfsn0qghgdepMA==} '@types/d3@7.4.3': resolution: {integrity: sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==} @@ -1816,8 +1757,8 @@ packages: '@types/estree-jsx@1.0.5': resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==} - '@types/estree@1.0.9': - resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + '@types/estree@1.0.10': + resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} '@types/geojson@7946.0.16': resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==} @@ -1974,14 +1915,14 @@ packages: cpu: [x64] os: [win32] - '@ungap/structured-clone@1.3.3': - resolution: {integrity: sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==} + '@ungap/structured-clone@1.4.0': + resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} '@upsetjs/venn.js@2.0.0': resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==} - '@vitest/mocker@5.0.5': - resolution: {integrity: sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==} + '@vitest/mocker@5.1.1': + resolution: {integrity: sha512-b2OgTB4+3ImWIVafXKazJXwLKwQxUNnix6b3xUvUTMh7RyXlrtzoxfZr8aEz9zkHOMAS4K5lu3TvFWoiVeVTQg==} peerDependencies: msw: ^2.4.9 || ^3.0.0 vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -1991,8 +1932,8 @@ packages: vite: optional: true - '@vitest/spy@5.0.5': - resolution: {integrity: sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==} + '@vitest/spy@5.1.1': + resolution: {integrity: sha512-6K8C6alQG1/Yc8/ZI22iJS7JEsxPdVzqtqDq+/xM4Z0mGVykemMVjLhqMy/q6/IHYG3kKD8hKSwRen/ZdyI9vQ==} '@yuku-core/binding-android-arm64@0.17.0': resolution: {integrity: sha512-Uge3U7s9vdCcYb9IiIWBIQmGEttlvWkvWYb9Qu6iUNS2IhAu4/D/g4ucbEmjemkflWYGpWsKZlX+JxcacIlR+g==} @@ -2137,8 +2078,8 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.18.0: - resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} + acorn@8.19.0: + resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==} engines: {node: '>=0.4.0'} hasBin: true @@ -2157,18 +2098,13 @@ packages: bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} - baseline-browser-mapping@2.11.13: - resolution: {integrity: sha512-k9HNuUVMlqVjQ9UHzfPjIqiDbWw7WqT1AoT7GL8VwvF3r0ZfArtgiSPAlmupyNquNgOJHTuH4CKYf8ttMTWBTQ==} + baseline-browser-mapping@2.11.39: + resolution: {integrity: sha512-Q9buOYhr2ggrEZpImICecZTJHCCd8yXkRUokFlUEQ8uiD6oP82F4W4jWnhOHZYV+wlvrC51V7Wy0ULyWjil5Wg==} engines: {node: '>=6.0.0'} hasBin: true - browserslist@4.28.7: - resolution: {integrity: sha512-JxV13hNrFxqjOc8alRbq9dK1MM79NEXYpma2B2J4wAtpWS5zIEIKqWPGCl7N4o7Uc7B7itylh7SuDujATRyyTw==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - - caniuse-lite@1.0.30001809: - resolution: {integrity: sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==} + caniuse-lite@1.0.30001826: + resolution: {integrity: sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -2207,8 +2143,8 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - cn@0.5.0: - resolution: {integrity: sha512-JGEixZEpfFXm1P5uXwvEobOFLlHwIWi5v4tjd1ZwfiYmcEilkuD2l+054rvJcYCR1B+uVThHeUbgmNz1FwuxuA==} + cn@0.5.2: + resolution: {integrity: sha512-wm10E6iuJ37rALOw3D+3cfaXXZSLNMh2uxpQn3dNICqfJM59yXqgbA9/9Iiz155j5kYNLdK6WreNdW3NQtx3OQ==} engines: {node: '>=22'} hasBin: true @@ -2218,19 +2154,16 @@ packages: comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - commander@15.0.0: - resolution: {integrity: sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==} + commander@15.1.0: + resolution: {integrity: sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==} engines: {node: '>=22.12.0'} commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} - compute-scroll-into-view@3.1.1: - resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==} - - convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + compute-scroll-into-view@3.2.2: + resolution: {integrity: sha512-X+jf3y2j3TbtxA3fq3/kBNiSnD1QlIChiIQdAc2Yo1LtOc0yjO1TzgxWJf8PwtKPGgSvSfWUlVvrb7vGx1eYWA==} cose-base@1.0.3: resolution: {integrity: sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==} @@ -2238,8 +2171,8 @@ packages: cose-base@2.2.0: resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==} - csstype@3.2.3: - resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + csstype@3.2.4: + resolution: {integrity: sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==} cytoscape-cose-bilkent@4.1.0: resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==} @@ -2251,154 +2184,154 @@ packages: peerDependencies: cytoscape: ^3.2.0 - cytoscape@3.34.1: - resolution: {integrity: sha512-Lr0RvH9H75y9ar8h9Toy6u4lxRSCcxUq+hHcQ26sVWo6BnaQp1gwEZOYqwuYTZhyW7npyKnNLP8oJ2p1/3OZ7g==} + cytoscape@3.35.0: + resolution: {integrity: sha512-sMvBIXiGMnhkCaWz2R06FwF/27MNlS+Tqvi17foO9UhnUg3XGZccKjxsvEqQFAQYMSSZmN5SxYzUYlQ0DOJJ3g==} engines: {node: '>=0.10'} d3-array@2.12.1: resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==} - d3-array@3.2.4: - resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==} + d3-array@3.2.5: + resolution: {integrity: sha512-Th8qGXoBalmWsstpkuhmBuTsBQIFqYOJtjlBvNVvBfJ8E3uYusBUwUR8HU20U0qKKQkgCvKyR1YjiozWadk5QA==} engines: {node: '>=12'} - d3-axis@3.0.0: - resolution: {integrity: sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==} + d3-axis@3.0.1: + resolution: {integrity: sha512-E5QCXfaf/uJZEHHiqoWRq+bQEm2PzoVFv2rDC7CZ3wwI0MjfMW3w83J3ubobG4IJj3lShAI5eiPJhOu/8wHofA==} engines: {node: '>=12'} - d3-brush@3.0.0: - resolution: {integrity: sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==} + d3-brush@3.0.1: + resolution: {integrity: sha512-L5Glqa/Gb7LU3ndIOMtA5mDzlJ0aXKp5ELP2X09ctWF23jO7+faIUVDbmaIi+D6k3EemXFWn1F3lkfguExoVhA==} engines: {node: '>=12'} - d3-chord@3.0.1: - resolution: {integrity: sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==} + d3-chord@3.0.2: + resolution: {integrity: sha512-cGmADo5M2PTi3ewJZ2lcE32eURd4JmHtQ5JwRIUcas5L1SXqufG9yPyjWp8fW0gRi7aZi9bgbZPFZO1eyZ+1CQ==} engines: {node: '>=12'} - d3-color@3.1.0: - resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==} + d3-color@3.1.1: + resolution: {integrity: sha512-lfab8x0Bj0UO7SNsY8dZSbNIA6ipbkE3X0NG9nqjCu6CfCHZseuDnOSJY7hidKrjpP++i1M2qT+FlAdPKYRilA==} engines: {node: '>=12'} - d3-contour@4.0.2: - resolution: {integrity: sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==} + d3-contour@4.0.3: + resolution: {integrity: sha512-5DYURc8KwXPOhSUBblU0P9rVcArsSPxPOxsfO0Eud0s28oU0sB2e80aRHRL9AZW3usT8ikFKyIHpHHLNWLdRVA==} engines: {node: '>=12'} - d3-delaunay@6.0.4: - resolution: {integrity: sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==} + d3-delaunay@6.0.6: + resolution: {integrity: sha512-DMQIEvSJhZCB6pwedcXaAlQ+MeKU5LlM2XakKtc73b/VM+RBiI1SRXycOEOKg2jsKj4zZ9F0KGYG6nCGwwWu/g==} engines: {node: '>=12'} - d3-dispatch@3.0.1: - resolution: {integrity: sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==} + d3-dispatch@3.0.2: + resolution: {integrity: sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==} engines: {node: '>=12'} - d3-drag@3.0.0: - resolution: {integrity: sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==} + d3-drag@3.0.1: + resolution: {integrity: sha512-OWeoayCq8J69hUIjvL+Mb6Q6Oaj/fyHV5XaXByEUAG+JUjIfTGDnk3qGpcXrD3VmQ3BSV96fcbM6fqq7C0tbPA==} engines: {node: '>=12'} - d3-dsv@3.0.1: - resolution: {integrity: sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==} + d3-dsv@3.0.2: + resolution: {integrity: sha512-FUnXhX7I4/AXyRCZzwfZTDGSq8PGZ4oR0tiCBqNGOZMsDrQ+6sIWNQnBzcCGhzJKZ6uCvCezTwflUqI209RRiQ==} engines: {node: '>=12'} hasBin: true - d3-ease@3.0.1: - resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==} + d3-ease@3.0.2: + resolution: {integrity: sha512-B5znKqRmKROAN4oHWQ50W/qisVjA9GXh2WMsVKdFVp4DxWmcrOsweqgUOUVsv5th96kwaZlokU6SlV4J3gak1w==} engines: {node: '>=12'} - d3-fetch@3.0.1: - resolution: {integrity: sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==} + d3-fetch@3.0.2: + resolution: {integrity: sha512-1wGF62bgjMRbF6mqbD+6rRWBL2hwWVYQjFO2UP3Wm1nIAvJZKaQxXM5caVY7athoCa8wIq9lCf7g44lPWFk50g==} engines: {node: '>=12'} - d3-force@3.0.0: - resolution: {integrity: sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==} + d3-force@3.0.1: + resolution: {integrity: sha512-kAaaHLFebBYwgi5cYBXAI8vKrQFMCD2MEswj2QuPKKbdU1wYLc8WXtS7O8F/b6POCIe3gJjY6hkDstHi1yMETQ==} engines: {node: '>=12'} - d3-format@3.1.2: - resolution: {integrity: sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==} + d3-format@3.1.3: + resolution: {integrity: sha512-+F+/49swqmGuQJmSKnVMIDH/QkEFV5li9QRj0xm/KhyAUBv099O5PrvpQFxBp24PYph17Mnvt9mjKQV0ii0nMA==} engines: {node: '>=12'} - d3-geo@3.1.1: - resolution: {integrity: sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==} + d3-geo@3.1.2: + resolution: {integrity: sha512-5R8ZgDQorIxmauv7R6gpE/ndz+Z0qAZssigq0aXFdvPHdY41RqtW02jrRUQAL724NdPABYXo1+gQEGBBr7uKNg==} engines: {node: '>=12'} - d3-hierarchy@3.1.2: - resolution: {integrity: sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==} + d3-hierarchy@3.1.3: + resolution: {integrity: sha512-GRajN5ZcnEwYFWqqdzhG1qJ3+fDg6WWzk47TJg7ePY7yvYAgRfD2r1mUx+wviBOWuCwamCUzjwMSdato43jbGA==} engines: {node: '>=12'} - d3-interpolate@3.0.1: - resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==} + d3-interpolate@3.0.2: + resolution: {integrity: sha512-IRzGU62DtxhvsnSTWMQIdnoZ6gA+BCWwBon1EJI6SjoN595799b6z/QRBzXfFhE8iupUPp3042yBNo0STPqnzQ==} engines: {node: '>=12'} d3-path@1.0.9: resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==} - d3-path@3.1.0: - resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==} + d3-path@3.1.1: + resolution: {integrity: sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==} engines: {node: '>=12'} - d3-polygon@3.0.1: - resolution: {integrity: sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==} + d3-polygon@3.0.2: + resolution: {integrity: sha512-WAUvPudGU1Dn4mDPfb6+JnnbeVEV53hG/BoT+bxts6AkZsOpTEiV1jHYX+2vtwCICNFG9Wxv8QS+eW1zE/Dwfg==} engines: {node: '>=12'} - d3-quadtree@3.0.1: - resolution: {integrity: sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==} + d3-quadtree@3.0.2: + resolution: {integrity: sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==} engines: {node: '>=12'} - d3-random@3.0.1: - resolution: {integrity: sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==} + d3-random@3.0.2: + resolution: {integrity: sha512-PxJi9LNV+7mulaYO77nd+oGurXGL1fhedXjHnB3pWLUcqDnQtF4VASoqnQGHgoXLByVdv5QJ/2kfwkGn5HTS8g==} engines: {node: '>=12'} d3-sankey@0.12.3: resolution: {integrity: sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==} - d3-scale-chromatic@3.1.0: - resolution: {integrity: sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==} + d3-scale-chromatic@3.1.1: + resolution: {integrity: sha512-lA5gfN2yMvmChubmptnDiBfeGpHD7Yb1EbvCz0TZE0WHXhyR6W2allPuhKtzV5ILQRqeOdefF0qYtERReLUBDg==} engines: {node: '>=12'} - d3-scale@4.0.2: - resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==} + d3-scale@4.0.3: + resolution: {integrity: sha512-66cWobCNzcMvlfoaDHCxuIv9TBUWG1BLOWdv9kHHFuCr1JdqAWPvTmsaEYDD5NRMyWZ5+7u0GqiCDfMXMqh3hg==} engines: {node: '>=12'} - d3-selection@3.0.0: - resolution: {integrity: sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==} + d3-selection@3.0.1: + resolution: {integrity: sha512-ODSf35vqCrlCfp7hrm0eZjvOosSXSYLjqvIlhMBV9q9VOx7EBJG6pc+uXBswEZNJgCGJ+qnKYcWutbZDIxe/Xg==} engines: {node: '>=12'} d3-shape@1.3.7: resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==} - d3-shape@3.2.0: - resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==} + d3-shape@3.2.1: + resolution: {integrity: sha512-dm2o+lbKdzg9tY7GEag/dB9hcbodLfwkE/DkvqbELJXaMz0yKzWWhZqhbI7CKubukA7HnRyz0avdtvi7EPxPvw==} engines: {node: '>=12'} - d3-time-format@4.1.0: - resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==} + d3-time-format@4.1.1: + resolution: {integrity: sha512-22XaqjyCjpqgda20erhsOjGmC3vvYwTNYniKAd45W5UWLDF43moeOuV9qYpRqobIlsnK0UhnKZjUUJm3VgORUA==} engines: {node: '>=12'} - d3-time@3.1.0: - resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==} + d3-time@3.1.1: + resolution: {integrity: sha512-Ze7rjrhMzdeulh0/hjcfFj7XLAHOfowtEMfsoG6DU866HPynQNW7Wfen6hzXcqKTv8XzxvF6Hzr5XD6bMHr2ug==} engines: {node: '>=12'} - d3-timer@3.0.1: - resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==} + d3-timer@3.0.2: + resolution: {integrity: sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==} engines: {node: '>=12'} - d3-transition@3.0.1: - resolution: {integrity: sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==} + d3-transition@3.0.2: + resolution: {integrity: sha512-RcjCsdFgyFoDB+QXLC5m60ZkTN0k9zH+ovoLlTdJnDS1AbfbcuowiM4pCKSTOclNibS4f4J4cbv2m7O7y8NTOQ==} engines: {node: '>=12'} peerDependencies: d3-selection: 2 - 3 - d3-zoom@3.0.0: - resolution: {integrity: sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==} + d3-zoom@3.0.1: + resolution: {integrity: sha512-kfjD3BDQu/FOatpZ6JdMSyIoDwTxIpI29ySTI2J5ZlDaH1WbuJGQJ2Q9oJkWTEZEW98j6idezoomSD3Cn2zwiw==} engines: {node: '>=12'} - d3@7.9.0: - resolution: {integrity: sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==} + d3@7.9.2: + resolution: {integrity: sha512-ZKb/mONPVKzaO5UlcWcwN8bS4ezvQaYu+bsou+XgNABdGC800kwH651ADTbbTxMPHW13UlvbQafdmJQDk1w7Mg==} engines: {node: '>=12'} dagre-d3-es@7.0.14: resolution: {integrity: sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==} - dayjs@1.11.21: - resolution: {integrity: sha512-98IT+HOahAisibz/yjKbzuOBwYcjJ7BCLPzARyHiyEBmRz4fatF+KPJszEHXsGYjUG234aH/cOjW1wwTbKUZlA==} + dayjs@1.11.23: + resolution: {integrity: sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==} debug@4.4.3: resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} @@ -2429,24 +2362,21 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} - dompurify@3.4.13: - resolution: {integrity: sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==} + dompurify@3.5.0: + resolution: {integrity: sha512-LYC0ZkE8P1V42JsRYTwMdme/2ET8SpOc5AA2eOFjP/IadvRd2fwiT4TVz5vkfy0XUx12aS2UaRkTnfVPNOv9vw==} - electron-to-chromium@1.5.394: - resolution: {integrity: sha512-Wmt2Gm0o8JWBuGgmc4XZ0u9s1RaCRqhxP47phplmfg04+qypTUurpeJGP45A7Fhv7jdrrVH44PLlR9qXo37cVQ==} + elkjs@0.12.1: + resolution: {integrity: sha512-IhMYKHE4S2vtx0QrhBP3lYOIKDeIiJXBrdq9MGYkuB8ZHqhrBnHNfSUndjXFewrX1CPK8chwq+2NA0K0hliYuw==} - elkjs@0.9.3: - resolution: {integrity: sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==} - - enhanced-resolve@5.24.5: - resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==} + enhanced-resolve@5.27.0: + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} engines: {node: '>=10.13.0'} es-module-lexer@2.3.2: resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==} - es-toolkit@1.50.0: - resolution: {integrity: sha512-OyZKhUVvEep9ITEiwHn8GKnMRQIVqoSIX7WnRbkWgJkllCujilqP2rD0u979tkl8wqyc8ICwlc1UBVv/Sl1G6w==} + es-toolkit@1.53.2: + resolution: {integrity: sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==} esast-util-from-estree@2.0.0: resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==} @@ -2459,10 +2389,6 @@ packages: engines: {node: '>=18'} hasBin: true - escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} - escape-string-regexp@5.0.0: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} @@ -2476,8 +2402,8 @@ packages: estree-util-is-identifier-name@3.0.0: resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} - estree-util-scope@1.0.0: - resolution: {integrity: sha512-2CAASclonf+JFWBNJPndcOpA8EMJwa0Q8LUFJEKqXLW6+qBvbFZuF5gItbQOs/umBUkjviCSDCbBwU2cXbmrhQ==} + estree-util-scope@1.0.1: + resolution: {integrity: sha512-B0np3dcdxqILX5e9nEi5/Fr4K7gL4oYFVPV1zRa2e9wRCbQoZZNWOZFYyoInvXUPJXBXjss+QXlWLJChDEHDkA==} estree-util-to-js@2.0.0: resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==} @@ -2507,31 +2433,34 @@ packages: picomatch: optional: true - framer-motion@14.6.0: - resolution: {integrity: sha512-MzBgZxGgoHPfSLEXmo4o5XlZvb+nVRFdHtGjVhm6LMIEJKTt/8hNO023euL5mYyzc8llV/hQTfjnN68tNRHalw==} + framer-motion@14.14.0: + resolution: {integrity: sha512-fidRX0VzkZdA9OovFiBSzJtt9/jLcJpna78Z+KCqQQZIWoIpN3tOhEXAhhAw/FObUUh+o3Y18yx1F4BP0mVJ8Q==} peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 + remix: ^3.1.0 peerDependenciesMeta: react: optional: true react-dom: optional: true + remix: + optional: true fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] - fumadocs-core@16.17.9: - resolution: {integrity: sha512-wm1edebXSWlKPa6WTGzXujC7MMMHSInYQW5fUI/kO8PJA06w+ia2uHVdBpVD+jrddFF2+5iymuWAdGs1LGrbyA==} + fumadocs-core@16.19.7: + resolution: {integrity: sha512-gLbdo7sMAoJXAS6XDbHd00xS2O7Y3Xf9EvxWvuPx8Ypb+5GFFBE738eo6ZCUqci7YvTNpW1MEW3jSj8TaZ3ONg==} peerDependencies: '@mdx-js/mdx': '*' '@mixedbread/sdk': 0.x.x '@modelcontextprotocol/server': 2.x.x '@orama/core': 1.x.x '@oramacloud/client': 2.x.x - '@pierre/highlights': ^0.2.0 + '@pierre/highlights': 0.x.x '@tanstack/react-router': 1.x.x '@types/estree-jsx': '*' '@types/hast': '*' @@ -2609,20 +2538,21 @@ packages: mdast-util-mdx: optional: true - fumadocs-mdx@15.4.10: - resolution: {integrity: sha512-myAtUxJ174py2fK5l4m608zfVEPQzB8UpjahcdegJWt7C1AfcsTn+M7aBziSShYgn9UvrBZJMLR8PgPPk6c+Sg==} + fumadocs-mdx@15.6.4: + resolution: {integrity: sha512-b5z5GjDxDzdc9K1/HwAL6X77xj0ddinJ5FJFXeIxYCRRQq2rqSFNTNAd2fo2UmQnr87jkuE25+o5iAV0mg48lw==} hasBin: true peerDependencies: '@fumadocs/satteri': 0.x.x '@types/mdast': '*' '@types/mdx': '*' '@types/react': '*' - fumadocs-core: ^16.17.8 + '@vitejs/plugin-rsc': ^0.5.34 + fumadocs-core: ^16.18.3 mdast-util-directive: '*' next: ^15.3.0 || ^16.0.0 react: ^19.2.0 rolldown: '*' - satteri: ^0.10.5 + satteri: ^0.11.7 vite: 7.x.x || 8.x.x peerDependenciesMeta: '@fumadocs/satteri': @@ -2633,6 +2563,8 @@ packages: optional: true '@types/react': optional: true + '@vitejs/plugin-rsc': + optional: true mdast-util-directive: optional: true next: @@ -2646,12 +2578,12 @@ packages: vite: optional: true - fumadocs-openapi@12.5.7: - resolution: {integrity: sha512-81aQCM0ae9dn+ISBbW5xUuWL47yiaDWGdsn4VrlgIrcaUGwmDxjrbNJ5tkaHdg2iIdUNJKJk3iZIKRiXkFoR+Q==} + fumadocs-openapi@12.6.7: + resolution: {integrity: sha512-RMovro3tGlvHH6lhp8eY8gl6QmFQ1d09qUntSVbaqBIF0iHqjqXXjq06DCfFb60NF/6NUEtAXRvs/QaauaO7lg==} peerDependencies: '@scalar/api-client-react': ^2.0.20 '@types/react': '*' - fumadocs-core: ^16.17.8 + fumadocs-core: ^16.17.11 fumadocs-ui: ^16.17.8 json-schema-typed: '*' react: ^19.2.0 @@ -2664,12 +2596,12 @@ packages: json-schema-typed: optional: true - fumadocs-ui@16.17.9: - resolution: {integrity: sha512-o7frzKmmj8zeLC16OJ3NIIazMUMGsCgymHamKnEeKuNHPGSyLRalhVkXQDLjaaQiVL9IrVjuEEm1IIu3NkqEtw==} + fumadocs-ui@16.19.7: + resolution: {integrity: sha512-agPFkyAvQQxC1jah0mcq6cFVpZFwYEGKROpl87r1HXfax0hidv92vnAG5chimzsoOxbUwc+CQGEosNl8v7CJ/A==} peerDependencies: '@types/mdx': '*' '@types/react': '*' - fumadocs-core: 16.17.9 + fumadocs-core: 16.19.7 next: 16.x.x react: ^19.2.0 react-dom: ^19.2.0 @@ -2684,10 +2616,6 @@ packages: takumi-js: optional: true - gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - get-nonce@1.0.1: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} @@ -2695,16 +2623,12 @@ packages: github-slugger@2.0.0: resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==} - graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + graceful-fs@4.2.12: + resolution: {integrity: sha512-iuyGF2E4oafQfPsRrG2wtY2ILupMhvtdrhzrxB+0VcjsPpSPttpfYdjnGFGsTi5MaJFjI1jOKHPQ6UTbTj9TAw==} hachure-fill@0.5.2: resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==} - has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - hast-util-from-dom@5.0.1: resolution: {integrity: sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==} @@ -2714,17 +2638,17 @@ packages: hast-util-to-estree@3.1.3: resolution: {integrity: sha512-48+B/rJWAp0jamNbAAf9M7Uf//UVqAoMmgXhBdxTDJLGKY+LRnZ99qcG+Qjl5HfMpYNzS5v4EAwVEF34LeAj7w==} - hast-util-to-html@9.0.5: - resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==} + hast-util-to-html@9.0.7: + resolution: {integrity: sha512-HYNDA3qdnzUPitY/LcQm1nWs8z0cWFNH1Nz09jdI/tXifAqF7h3+jrLl4S/b9Mi4VSjn0Dsn54ctuTV6zhBthA==} - hast-util-to-jsx-runtime@2.3.6: - resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==} + hast-util-to-jsx-runtime@2.3.7: + resolution: {integrity: sha512-F7DNV2NMcTxA4GqPVHnXzX+mpoPHAIY9rJAVH3CZ1FdBZOcBUEjUuvMkMpHVs/sicEtznh9tMGj5WUR9S4E2rg==} hast-util-whitespace@3.0.0: resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} - hastscript@9.0.1: - resolution: {integrity: sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==} + hastscript@9.0.3: + resolution: {integrity: sha512-1ALZXSmCGmW3h8AMz4R4+QKSKFi7sNgXLVwmwB8FYVtl1CwQ3WDkSAEY/d5tp1g/vbQgq2s1WlHgfO3jbw1TsA==} html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} @@ -2739,6 +2663,9 @@ packages: inline-style-parser@0.2.7: resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==} + inline-style-parser@0.2.9: + resolution: {integrity: sha512-IttN8BqKLxzUrnTqHI+/hwAJQItBAUjdoHERCDv+oOuX48VP6bzW8+QjOXSfoevzq3YrYAwX1uLHp8TqO9yIeg==} + internmap@1.0.1: resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==} @@ -2769,16 +2696,6 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - jsesc@3.1.0: - resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} - engines: {node: '>=6'} - hasBin: true - - json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - katex@0.18.10: resolution: {integrity: sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==} hasBin: true @@ -2876,11 +2793,8 @@ packages: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - - lucide-react@1.66.0: - resolution: {integrity: sha512-8zjbi/Us+ETXqfBwmXF/FHrWGIqOdE6zT1yUdRJLQVoptomSkB0zdFWVIM667t9K8djWDaXdkBkqi2qVTuDNiw==} + lucide-react@1.77.0: + resolution: {integrity: sha512-VS6sOi8ZUH1qm6swBL/tpI4xAhB6pFTdHvw3pfCJD+DaTJwpyynVzfOS6mdyMZ+OCdY/GMSQbqinOMOPbNSrQA==} peerDependencies: '@types/react': '*' react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -2888,44 +2802,41 @@ packages: '@types/react': optional: true - magic-string@0.30.21: - resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} - - magic-string@1.4.3: - resolution: {integrity: sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==} + magic-string@1.4.5: + resolution: {integrity: sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==} markdown-extensions@2.0.0: resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} engines: {node: '>=16'} - markdown-table@3.0.4: - resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==} + markdown-table@3.1.0: + resolution: {integrity: sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==} marked@16.4.2: resolution: {integrity: sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==} engines: {node: '>= 20'} hasBin: true - mdast-util-find-and-replace@3.0.2: - resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==} + mdast-util-find-and-replace@3.0.5: + resolution: {integrity: sha512-of3wZLEBWpK8mSYy8wmKnwyxfUKjhCkXxGLz45DVBqfcahTP37LscCK+0oAZh+ReZ5OunPDkB2zdGMIxrojLhw==} - mdast-util-from-markdown@2.0.3: - resolution: {integrity: sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==} + mdast-util-from-markdown@2.1.0: + resolution: {integrity: sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==} - mdast-util-gfm-autolink-literal@2.0.1: - resolution: {integrity: sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==} + mdast-util-gfm-autolink-literal@2.1.2: + resolution: {integrity: sha512-rAlbZBGZfv2YRr6lSFGHTN305KkNawOYRRlbldFyPHnTlHJZwlGdzVwyIDvr3fxbhRbmJOSZc06c8H5Fgfu8Ng==} mdast-util-gfm-footnote@2.1.0: resolution: {integrity: sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==} - mdast-util-gfm-strikethrough@2.0.0: - resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} + mdast-util-gfm-strikethrough@2.0.1: + resolution: {integrity: sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==} - mdast-util-gfm-table@2.0.0: - resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==} + mdast-util-gfm-table@2.0.1: + resolution: {integrity: sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==} - mdast-util-gfm-task-list-item@2.0.0: - resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==} + mdast-util-gfm-task-list-item@2.0.1: + resolution: {integrity: sha512-jXVO1hvB2hs82g1esi7I9nIJDqiijbQLIyH2jDUb5s7jIAZMr/79h0VHSq7XHKTqpLARRm+DDNjduB7S9+6XZA==} mdast-util-gfm@3.1.0: resolution: {integrity: sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==} @@ -2933,8 +2844,8 @@ packages: mdast-util-mdx-expression@2.0.1: resolution: {integrity: sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==} - mdast-util-mdx-jsx@3.2.0: - resolution: {integrity: sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==} + mdast-util-mdx-jsx@3.2.2: + resolution: {integrity: sha512-/0FHaZMv2fSjIL3z/NYmXnQTSdzYyamPpI1BXpSCngTUqpSvMNIlERa26ABz+Z6UFQbrh3I5Yhzp448WZsPfMA==} mdast-util-mdx@3.0.0: resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} @@ -2945,21 +2856,21 @@ packages: mdast-util-phrasing@4.1.0: resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} - mdast-util-to-hast@13.2.1: - resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==} + mdast-util-to-hast@13.2.2: + resolution: {integrity: sha512-l2pnmOuqs+SGLVpTVXnRLQu5v1AzvDe181404fbXzzqObVxrAnnVxapAP27pUwzLBL/ABIkgUhGlPVU7QSvIFg==} - mdast-util-to-markdown@2.2.0: - resolution: {integrity: sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA==} + mdast-util-to-markdown@2.2.4: + resolution: {integrity: sha512-aCsogoZ2Oz1EItAlC12A+/uGuzp+CWlDU0xZ3o5jbJaepLsOu2tlxpvHslnX5dRhspD1gxNVkBtYG0yMiIpXoQ==} mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} - mermaid@12.2.0: - resolution: {integrity: sha512-w7nr/SFrLO7BaVTs3dQTvYSV6nYSBj0Yy9DjBhsIJtAcHqRzXSq4Pg32ujHZ/AdWsAMNEvvhbm5dt9E2tOiHzw==} + mermaid@12.3.0: + resolution: {integrity: sha512-4113TdXeLAsMruJ79OpFL5O8+LTFXhQqZ260rF3tgUmiNAtRm4Uume04I+65PRN6yZ69J4f8rVYWW8zRk65UYw==} engines: {node: '>=22.12.0'} - micromark-core-commonmark@2.0.3: - resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==} + micromark-core-commonmark@2.0.4: + resolution: {integrity: sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==} micromark-extension-gfm-autolink-literal@2.1.0: resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==} @@ -3006,8 +2917,8 @@ packages: micromark-factory-mdx-expression@2.0.3: resolution: {integrity: sha512-kQnEtA3vzucU2BkrIa8/VaSAsP+EJ3CKOvhMuJgOEGg9KDC6OAY6nSnNDVRiVNRqj7Y4SlSzcStaH/5jge8JdQ==} - micromark-factory-space@2.0.1: - resolution: {integrity: sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==} + micromark-factory-space@2.1.0: + resolution: {integrity: sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==} micromark-factory-title@2.0.1: resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==} @@ -3060,28 +2971,31 @@ packages: micromark-util-symbol@2.0.1: resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} - micromark-util-types@2.0.2: - resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==} + micromark-util-types@2.0.3: + resolution: {integrity: sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==} micromark@4.0.3: resolution: {integrity: sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==} - motion-dom@14.6.0: - resolution: {integrity: sha512-lIojTl9aYSPIkeOOSzBliy1nNvpdO3JtVzW2WgTXQlOP4ZMuJhtWO3fP7OD4TVFwlRucdvxlDSMkL+fEQnQ52A==} + motion-dom@14.14.0: + resolution: {integrity: sha512-IAxcKhYkuQA2W0Tlx1AvVgImfqEoF3/t3IovbPQJlYkefmGsmrXjn967lMII5VmFmLpQEab4+ZkHo/ijJ4Esig==} - motion-utils@14.6.0: - resolution: {integrity: sha512-bZJo2AmQ2aOFkaato6VXrTbkPG0XhMzivWUWSaI59pxyllj8QMQUFZ84MYRQnPkK+7dr4KldyJwF2+RM0sdq/w==} + motion-utils@14.7.0: + resolution: {integrity: sha512-woO0/Nb7ys75f94fjvQi/6leiHGvZUYkeHUPEZ3vxsV+9OpEVhkxp01x8MlRwX0zt31EqgXsKDAoBoJLC148Tw==} - motion@14.6.0: - resolution: {integrity: sha512-qqaZbyubgk7x3zxjPgP1l3Br/KQXol/IIV1uqb358SoN4ApcqNuV7+wyDPg/XLErmuyQL5lL8JVI/fOmDsmBKQ==} + motion@14.14.0: + resolution: {integrity: sha512-a306U6sV5VKq1abtzKiinB+UQjiY88jrsvQzWORP3WPv/DFANyoYVlPbdnmJPMEbusyPXB4GyQJVANaq/pSIYQ==} peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 + remix: ^3.1.0 peerDependenciesMeta: react: optional: true react-dom: optional: true + remix: + optional: true ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -3097,8 +3011,8 @@ packages: react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc - next@16.4.3: - resolution: {integrity: sha512-OqxKTGi9u80FydydsMNYNjnuje9Au+kvHlt2GZ//ftdpDHm1dxKqAaENoOOTX5wKzn+9vaKUNIfZeyZUuLhCnA==} + next@16.4.6: + resolution: {integrity: sha512-QZJiYhaZLJMo2KpkQGQIwvmd79WVsAWeYIU554a8d7zArS3si/IRy3lBNV/rtYhE70oLwdLYhPAXLPx8HwcwtA==} engines: {node: '>=20.9.0'} hasBin: true peerDependencies: @@ -3118,10 +3032,6 @@ packages: sass: optional: true - node-releases@2.0.51: - resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} - engines: {node: '>=18'} - npm-to-yarn@3.2.0: resolution: {integrity: sha512-K1HmQeZT2HrjpsR6KgqbN2FAXL2NrJJmNUSD9ck7HGTVu1JKXox8n9SB+tjbU8m8JGLF4OscrroPepew/L7/Xw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3140,8 +3050,8 @@ packages: oniguruma-to-es@4.3.6: resolution: {integrity: sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==} - oxfmt@0.75.0: - resolution: {integrity: sha512-/ZKvY5asfsVi9hdkOmRIumqOPu6kxlTgiJSZf54uq29kKew+Gu1FFAnEkGePyvLVW+MAYu41D6XggnzoElQzPw==} + oxfmt@0.79.0: + resolution: {integrity: sha512-92iLHGxAgtYk6jLp/1ZBnEeABveNduHZgMDQj7tyqO9iafuJG3q+YHJq0R5Aa4YT+E6xswMQXdmPZYMwynS8ig==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -3156,12 +3066,12 @@ packages: vite-plus: optional: true - oxlint@1.90.0: - resolution: {integrity: sha512-RkTN9EmgIUpLuhNoLhO3OliMGJlvb3Dk7XVjBZnfoMCHrVpuz5ESd97klfiyYeV7XfA2lNLnDCPMkUI+Qw5How==} + oxlint@1.94.0: + resolution: {integrity: sha512-Fnt+3wSKRhtLmvgRfxgRX0excSPCoyiXRol4eWKZLtXxWMQtwQ3KjKQUYXOw5loyinfnZfGzh4RCYf7opfL0vw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: - oxlint-tsgolint: '>=7.0.2005' + oxlint-tsgolint: '>=7.0.2007' vite-plus: '*' peerDependenciesMeta: oxlint-tsgolint: @@ -3169,8 +3079,8 @@ packages: vite-plus: optional: true - package-manager-detector@1.8.0: - resolution: {integrity: sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==} + package-manager-detector@1.9.0: + resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==} parse-entities@4.0.2: resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==} @@ -3198,8 +3108,8 @@ packages: resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} engines: {node: ^10 || ^12 || >=14} - postcss@8.5.32: - resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + postcss@8.5.33: + resolution: {integrity: sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==} engines: {node: ^10 || ^12 || >=14} prop-types@15.8.1: @@ -3312,8 +3222,8 @@ packages: robust-predicates@3.0.3: resolution: {integrity: sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==} - rolldown@1.1.5: - resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==} + rolldown@1.2.19: + resolution: {integrity: sha512-QIiV1J9d0pzN4jeeTH4sjPy0AZ6cAy2cG0ExeoE1+U8Rvj+hR3gYkokx0YbeUNGlZqiQJJ2utcETe0oKXwzsuA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -3329,15 +3239,11 @@ packages: scheduler@0.28.0: resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==} - scroll-into-view-if-needed@3.1.0: - resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} + scroll-into-view-if-needed@3.2.1: + resolution: {integrity: sha512-dgeJvJhSV9MY6hyhtsivbSxHoZVm+lumsWTObtUdAchJflwOGmKKHNkEpU8pVYMomZ8h/yrfzVQkcPlObQNDWQ==} - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - - semver@7.8.5: - resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} + semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} engines: {node: '>=10'} hasBin: true @@ -3350,17 +3256,13 @@ packages: '@types/node': optional: true - shiki@4.5.0: - resolution: {integrity: sha512-OcRW72ngQvc+MSVWBRIovC/BTW589iUE/Vxav7VeM4RcY9MUjqB+IR6ILG1k9nuW6LiG/nct9uma4/MBtnZbmQ==} + shiki@4.6.0: + resolution: {integrity: sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA==} engines: {node: '>=20'} - source-map-js@1.2.1: - resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} - engines: {node: '>=0.10.0'} - - source-map-js@1.2.2: - resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} - engines: {node: '>=0.10.0'} + source-map-js@1.2.4: + resolution: {integrity: sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==} + engines: {node: '>=6.0.0'} source-map@0.7.6: resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} @@ -3372,8 +3274,8 @@ packages: std-env@4.3.0: resolution: {integrity: sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==} - stringify-entities@4.0.4: - resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + stringify-entities@4.0.5: + resolution: {integrity: sha512-jNuI2fNNw5ecxrWmgm90R3iH0Kc/94AQwoQWoSUYphWzvmUA2pjFG34H56Z7Z3FkvH3FpYwwewKAa97oQnPFhw==} style-to-js@1.1.21: resolution: {integrity: sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==} @@ -3381,6 +3283,9 @@ packages: style-to-object@1.0.14: resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==} + style-to-object@2.0.2: + resolution: {integrity: sha512-QmbXPUylqU80HAgTOJeEOdbA40W9KtxmjMhQy+tq+b8F2aoh3aQLuy82hh2jm2qsC9hR9eI0+eQidTMydKcqRA==} + styled-jsx@5.1.6: resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} engines: {node: '>= 12.0.0'} @@ -3397,22 +3302,18 @@ packages: stylis@4.4.0: resolution: {integrity: sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + tailwind-merge@3.7.1: + resolution: {integrity: sha512-v7y4BV4FUlO8exj/4M5UXKeoowDiuugVUg3tkMNIyOUCOHy5xp8+5aWQeXCtZ2491sUV1YPsVeM9EveZ6/xuZQ==} - tailwind-merge@3.7.0: - resolution: {integrity: sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==} + tailwindcss@4.3.5: + resolution: {integrity: sha512-FcQk9BuffmEHJP2G0XmB2SplU1aLTI7j07Kunk+U74Ny+XiWOtzXz9aujFZ/avntw1e2cOv/3PkgzflQ7gX2vQ==} - tailwindcss@4.3.3: - resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==} - - tapable@2.3.3: - resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + tapable@2.3.4: + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} engines: {node: '>=6'} - tinybench@6.2.2: - resolution: {integrity: sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==} + tinybench@6.2.4: + resolution: {integrity: sha512-SQ52jEncXxbMCzJuY2A/jGIbbAu6NYsBWW7grz2pNE+EnzQdoGaoBfpk4qC/opE7qiUcGmGgaGIz5EoHdS1O9w==} engines: {node: '>=20.0.0'} tinyexec@1.3.1: @@ -3437,8 +3338,8 @@ packages: resolution: {integrity: sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==} engines: {node: '>=6.10'} - tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tslib@2.9.1: + resolution: {integrity: sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==} typescript@7.0.2: resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} @@ -3448,14 +3349,14 @@ packages: undici-types@8.9.0: resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} - undici@7.30.1: - resolution: {integrity: sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==} - engines: {node: '>=20.18.1'} - undici@8.12.3: resolution: {integrity: sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==} engines: {node: '>=22.19.0'} + undici@8.13.1: + resolution: {integrity: sha512-Kt7EaPjh0s93lJH/PmW3d5rhkcpUa6fS3jqZ7+YGxNd9L7Xy/i827xe4C2uhhq+pJebM4tQOl5AgHmW11G5Skg==} + engines: {node: '>=22.19.0'} + unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -3474,17 +3375,11 @@ packages: unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} - unist-util-visit-parents@6.0.2: - resolution: {integrity: sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==} + unist-util-visit-parents@6.1.0: + resolution: {integrity: sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==} - unist-util-visit@5.1.0: - resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==} - - update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' + unist-util-visit@5.2.0: + resolution: {integrity: sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==} use-callback-ref@1.3.3: resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} @@ -3511,23 +3406,19 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - uuid@14.0.1: - resolution: {integrity: sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==} - hasBin: true - - vfile-message@4.0.3: - resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==} + vfile-message@4.0.4: + resolution: {integrity: sha512-66ycRswIkNmHH9PHku7ADtv5RVwgIrOcuv3J8Svz6h4qgGRrKVa+9/neuKyJZUXyOpYwLTvS+whZ4R2urHHgQg==} vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite@8.1.0: - resolution: {integrity: sha512-BuJcQK/56NQTWDGn4ABea3q4SSBdNPWwNZKTkkUpcMPnLoquSYH8llRtSUIgoL1KSCpHt5eghLShn50mH36y7Q==} + vite@8.3.8: + resolution: {integrity: sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.3.0 + '@vitejs/devtools': ^0.7.1 || ^0.8.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -3564,20 +3455,20 @@ packages: yaml: optional: true - vitest@5.0.5: - resolution: {integrity: sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==} + vitest@5.1.1: + resolution: {integrity: sha512-trVmzUFOSraCZcI3uZIMD5FqBh4atFkC/XuJP/IU7qtyQay0FCs3Ia+0QiQ2JJwGyWG/xrcBoJNel2+O7kEZ0g==} engines: {node: ^22.12.0 || ^24.0.0 || >=26.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 5.0.5 - '@vitest/browser-preview': 5.0.5 + '@vitest/browser-playwright': 5.1.1 + '@vitest/browser-preview': 5.1.1 '@vitest/browser-webdriverio': ^5.0.0-beta.5 || >=5.0.0 - '@vitest/coverage-istanbul': 5.0.5 - '@vitest/coverage-v8': 5.0.5 - '@vitest/ui': 5.0.5 + '@vitest/coverage-istanbul': 5.1.1 + '@vitest/coverage-v8': 5.1.1 + '@vitest/ui': 5.1.1 happy-dom: '*' jsdom: '*' vite: ^6.4.0 || ^7.0.0 || ^8.0.0 @@ -3613,9 +3504,6 @@ packages: engines: {node: '>=20.11'} hasBin: true - yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - yaml@2.9.1: resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} engines: {node: '>= 14.6'} @@ -3624,29 +3512,35 @@ packages: yuku-analyzer@0.19.0: resolution: {integrity: sha512-Iu7DV5cWOQ3ERSA7oBquz/RT5IEGsUyUeCivYs9lQaZ4nSjM31yD17mH616JKcTyVoVWYivsFZ+twT3UyBosTA==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-ast@0.19.0: resolution: {integrity: sha512-PyCsiScaelhxBGzL8dyeJkLqvRZycoh78R31Vrt/WqYrm0hMFoKwIw/X7Dx5mBKLWAMlV9I9HEyBOHnj2gZVyw==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-codegen@0.17.0: resolution: {integrity: sha512-zyKGT7O6w3Xo7vNNt22qFSmHJ/Zq2fzQWxyGSlnFxHgNc975IUcaIgcV4RYEvdyuaSRONqr+YDeI46Gu0fNGnw==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-core@0.17.0: resolution: {integrity: sha512-4BgHT4euQ62wr/9h5UWoMzt4QTrmT3WUo96aRiY2R6RRCyKjCveU23MNwNJISzYvNnbFGZ7O2E1SU5zgWqzS+Q==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-core@0.19.0: resolution: {integrity: sha512-kYK9e1XdfirNhkipzW0wmMcSWcVF/CWnuugodfVYRCUwvoBefweL9HzB96OiKEhsx78V5WbUxbJqlizMX869Qg==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-parser@0.17.0: resolution: {integrity: sha512-kWGATDvqDzhmLdaAPbh4rr4+zFpmUqMoALb5T/QZRNAvhxw8hp1jHywhGQqhxuUxkN9DNNJlDDId8Kv58W+W5g==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' - zbsearch@4.0.1: - resolution: {integrity: sha512-lmnEEnb93QQcNv7qARDr7jBVPxYdZbZ9XdZ0dbZ0qaOvGne4jJMW4fjwPfVaUKQXv3FNWvGbDwRDgyaSb1pc8w==} + zbsearch@4.0.4: + resolution: {integrity: sha512-uajYItKQcOP6f1z+XqzJSIx1jQPe7PbXajElh7r60KGc1MoSIn/hH9d++SvtkT78GXrZB4fah/e8Ts8jFh2CGw==} engines: {node: '>= 20.0.0'} zod@4.6.7: @@ -3657,134 +3551,18 @@ packages: snapshots: - '@alloc/quick-lru@5.2.0': {} + '@alloc/quick-lru@5.3.0': {} - '@antfu/install-pkg@1.1.0': + '@antfu/install-pkg@2.1.0': dependencies: - package-manager-detector: 1.8.0 + package-manager-detector: 1.9.0 tinyexec: 1.3.1 - '@babel/code-frame@7.29.7': - dependencies: - '@babel/helper-validator-identifier': 7.29.7 - js-tokens: 4.0.0 - picocolors: 1.1.1 - optional: true - - '@babel/compat-data@7.29.7': - optional: true - - '@babel/core@7.29.7(supports-color@7.2.0)': - dependencies: - '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.7 - '@babel/helper-compilation-targets': 7.29.7 - '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7(supports-color@7.2.0))(supports-color@7.2.0) - '@babel/helpers': 7.29.7 - '@babel/parser': 7.29.8 - '@babel/template': 7.29.7 - '@babel/traverse': 7.29.7(supports-color@7.2.0) - '@babel/types': 7.29.8 - '@jridgewell/remapping': 2.3.5 - convert-source-map: 2.0.0 - debug: 4.4.3(supports-color@7.2.0) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - optional: true - - '@babel/generator@7.29.7': - dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 - '@jridgewell/gen-mapping': 0.3.13 - '@jridgewell/trace-mapping': 0.3.31 - jsesc: 3.1.0 - optional: true - - '@babel/helper-compilation-targets@7.29.7': - dependencies: - '@babel/compat-data': 7.29.7 - '@babel/helper-validator-option': 7.29.7 - browserslist: 4.28.7 - lru-cache: 5.1.1 - semver: 6.3.1 - optional: true - - '@babel/helper-globals@7.29.7': - optional: true - - '@babel/helper-module-imports@7.29.7(supports-color@7.2.0)': - dependencies: - '@babel/traverse': 7.29.7(supports-color@7.2.0) - '@babel/types': 7.29.8 - transitivePeerDependencies: - - supports-color - optional: true - - '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7(supports-color@7.2.0))(supports-color@7.2.0)': - dependencies: - '@babel/core': 7.29.7(supports-color@7.2.0) - '@babel/helper-module-imports': 7.29.7(supports-color@7.2.0) - '@babel/helper-validator-identifier': 7.29.7 - '@babel/traverse': 7.29.7(supports-color@7.2.0) - transitivePeerDependencies: - - supports-color - optional: true - - '@babel/helper-string-parser@7.29.7': - optional: true - - '@babel/helper-validator-identifier@7.29.7': - optional: true - - '@babel/helper-validator-option@7.29.7': - optional: true - - '@babel/helpers@7.29.7': - dependencies: - '@babel/template': 7.29.7 - '@babel/types': 7.29.8 - optional: true - - '@babel/parser@7.29.8': - dependencies: - '@babel/types': 7.29.8 - optional: true - - '@babel/runtime@7.29.7': {} - - '@babel/template@7.29.7': - dependencies: - '@babel/code-frame': 7.29.7 - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 - optional: true - - '@babel/traverse@7.29.7(supports-color@7.2.0)': - dependencies: - '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.7 - '@babel/helper-globals': 7.29.7 - '@babel/parser': 7.29.8 - '@babel/template': 7.29.7 - '@babel/types': 7.29.8 - debug: 4.4.3(supports-color@7.2.0) - transitivePeerDependencies: - - supports-color - optional: true - - '@babel/types@7.29.8': - dependencies: - '@babel/helper-string-parser': 7.29.7 - '@babel/helper-validator-identifier': 7.29.7 - optional: true + '@babel/runtime@8.1.3': {} '@base-ui/react@1.9.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 8.1.3 '@base-ui/utils': 0.5.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@floating-ui/react-dom': 2.1.9(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@floating-ui/utils': 0.2.12 @@ -3796,7 +3574,7 @@ snapshots: '@base-ui/utils@0.5.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 8.1.3 '@floating-ui/utils': 0.2.12 react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -3822,25 +3600,25 @@ snapshots: '@chevrotain/utils@13.2.0': {} - '@emnapi/core@1.11.1': + '@emnapi/core@2.0.0-beta.2': dependencies: - '@emnapi/wasi-threads': 1.2.2 - tslib: 2.8.1 - optional: true - - '@emnapi/runtime@1.11.1': - dependencies: - tslib: 2.8.1 + '@emnapi/wasi-threads': 2.2.0 + tslib: 2.9.1 optional: true '@emnapi/runtime@1.11.3': dependencies: - tslib: 2.8.1 + tslib: 2.9.1 optional: true - '@emnapi/wasi-threads@1.2.2': + '@emnapi/runtime@2.0.0-beta.2': dependencies: - tslib: 2.8.1 + tslib: 2.9.1 + optional: true + + '@emnapi/wasi-threads@2.2.0': + dependencies: + tslib: 2.9.1 optional: true '@esbuild/aix-ppc64@0.28.2': @@ -3945,19 +3723,19 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@fumadocs/json-schema@0.3.5(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@fumadocs/json-schema@0.3.6(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@fuma-translate/react': 1.0.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@scalar/json-magic': 0.16.1 + '@scalar/json-magic': 0.19.1 optionalDependencies: react: 19.3.1 transitivePeerDependencies: - '@types/react' - react-dom - '@fumadocs/tailwind@0.1.4(tailwindcss@4.3.3)': + '@fumadocs/tailwind@0.1.5(tailwindcss@4.3.5)': optionalDependencies: - tailwindcss: 4.3.3 + tailwindcss: 4.3.5 '@fumari/image-size@0.1.1': {} @@ -3972,9 +3750,9 @@ snapshots: '@iconify/types@2.0.0': {} - '@iconify/utils@3.1.4': + '@iconify/utils@3.1.7': dependencies: - '@antfu/install-pkg': 1.1.0 + '@antfu/install-pkg': 2.1.0 '@iconify/types': 2.0.0 import-meta-resolve: 4.2.0 @@ -4095,41 +3873,41 @@ snapshots: '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/resolve-uri@3.1.2': {} + '@jridgewell/resolve-uri@3.1.3': {} '@jridgewell/sourcemap-codec@1.6.0': {} '@jridgewell/trace-mapping@0.3.31': dependencies: - '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/resolve-uri': 3.1.3 '@jridgewell/sourcemap-codec': 1.6.0 - '@mdx-js/mdx@3.1.1(supports-color@7.2.0)': + '@mdx-js/mdx@3.1.1': dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdx': 2.0.14 - acorn: 8.18.0 + acorn: 8.19.0 collapse-white-space: 2.1.0 devlop: 1.1.0 estree-util-is-identifier-name: 3.0.0 - estree-util-scope: 1.0.0 + estree-util-scope: 1.0.1 estree-walker: 3.0.3 - hast-util-to-jsx-runtime: 2.3.6(supports-color@7.2.0) + hast-util-to-jsx-runtime: 2.3.7 markdown-extensions: 2.0.0 recma-build-jsx: 1.0.0 - recma-jsx: 1.0.1(acorn@8.18.0) + recma-jsx: 1.0.1(acorn@8.19.0) recma-stringify: 1.0.0 - rehype-recma: 1.0.0(supports-color@7.2.0) - remark-mdx: 3.1.1(supports-color@7.2.0) - remark-parse: 11.0.0(supports-color@7.2.0) + rehype-recma: 1.0.0 + remark-mdx: 3.1.1 + remark-parse: 11.0.0 remark-rehype: 11.1.2 source-map: 0.7.6 unified: 11.0.5 unist-util-position-from-estree: 2.0.0 unist-util-stringify-position: 4.0.0 - unist-util-visit: 5.1.0 + unist-util-visit: 5.2.0 vfile: 6.0.3 transitivePeerDependencies: - supports-color @@ -4138,153 +3916,153 @@ snapshots: dependencies: '@chevrotain/types': 13.2.0 - '@napi-rs/wasm-runtime@1.2.2(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': + '@napi-rs/wasm-runtime@1.2.6(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2)': dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 - '@tybys/wasm-util': 0.10.3 + '@emnapi/core': 2.0.0-beta.2 + '@emnapi/runtime': 2.0.0-beta.2 + '@tybys/wasm-util': 0.10.5 optional: true - '@next/env@16.4.3': {} + '@next/env@16.4.6': {} - '@next/swc-darwin-arm64@16.4.3': + '@next/swc-darwin-arm64@16.4.6': optional: true - '@next/swc-darwin-x64@16.4.3': + '@next/swc-darwin-x64@16.4.6': optional: true - '@next/swc-linux-arm64-gnu@16.4.3': + '@next/swc-linux-arm64-gnu@16.4.6': optional: true - '@next/swc-linux-arm64-musl@16.4.3': + '@next/swc-linux-arm64-musl@16.4.6': optional: true - '@next/swc-linux-x64-gnu@16.4.3': + '@next/swc-linux-x64-gnu@16.4.6': optional: true - '@next/swc-linux-x64-musl@16.4.3': + '@next/swc-linux-x64-musl@16.4.6': optional: true - '@next/swc-win32-arm64-msvc@16.4.3': + '@next/swc-win32-arm64-msvc@16.4.6': optional: true - '@next/swc-win32-x64-msvc@16.4.3': + '@next/swc-win32-x64-msvc@16.4.6': optional: true - '@oxc-project/types@0.139.0': {} + '@oxc-project/types@0.156.0': {} - '@oxfmt/binding-android-arm-eabi@0.75.0': + '@oxfmt/binding-android-arm-eabi@0.79.0': optional: true - '@oxfmt/binding-android-arm64@0.75.0': + '@oxfmt/binding-android-arm64@0.79.0': optional: true - '@oxfmt/binding-darwin-arm64@0.75.0': + '@oxfmt/binding-darwin-arm64@0.79.0': optional: true - '@oxfmt/binding-darwin-x64@0.75.0': + '@oxfmt/binding-darwin-x64@0.79.0': optional: true - '@oxfmt/binding-freebsd-x64@0.75.0': + '@oxfmt/binding-freebsd-x64@0.79.0': optional: true - '@oxfmt/binding-linux-arm-gnueabihf@0.75.0': + '@oxfmt/binding-linux-arm-gnueabihf@0.79.0': optional: true - '@oxfmt/binding-linux-arm-musleabihf@0.75.0': + '@oxfmt/binding-linux-arm-musleabihf@0.79.0': optional: true - '@oxfmt/binding-linux-arm64-gnu@0.75.0': + '@oxfmt/binding-linux-arm64-gnu@0.79.0': optional: true - '@oxfmt/binding-linux-arm64-musl@0.75.0': + '@oxfmt/binding-linux-arm64-musl@0.79.0': optional: true - '@oxfmt/binding-linux-ppc64-gnu@0.75.0': + '@oxfmt/binding-linux-ppc64-gnu@0.79.0': optional: true - '@oxfmt/binding-linux-riscv64-gnu@0.75.0': + '@oxfmt/binding-linux-riscv64-gnu@0.79.0': optional: true - '@oxfmt/binding-linux-riscv64-musl@0.75.0': + '@oxfmt/binding-linux-riscv64-musl@0.79.0': optional: true - '@oxfmt/binding-linux-s390x-gnu@0.75.0': + '@oxfmt/binding-linux-s390x-gnu@0.79.0': optional: true - '@oxfmt/binding-linux-x64-gnu@0.75.0': + '@oxfmt/binding-linux-x64-gnu@0.79.0': optional: true - '@oxfmt/binding-linux-x64-musl@0.75.0': + '@oxfmt/binding-linux-x64-musl@0.79.0': optional: true - '@oxfmt/binding-openharmony-arm64@0.75.0': + '@oxfmt/binding-openharmony-arm64@0.79.0': optional: true - '@oxfmt/binding-win32-arm64-msvc@0.75.0': + '@oxfmt/binding-win32-arm64-msvc@0.79.0': optional: true - '@oxfmt/binding-win32-ia32-msvc@0.75.0': + '@oxfmt/binding-win32-ia32-msvc@0.79.0': optional: true - '@oxfmt/binding-win32-x64-msvc@0.75.0': + '@oxfmt/binding-win32-x64-msvc@0.79.0': optional: true - '@oxlint/binding-android-arm-eabi@1.90.0': + '@oxlint/binding-android-arm-eabi@1.94.0': optional: true - '@oxlint/binding-android-arm64@1.90.0': + '@oxlint/binding-android-arm64@1.94.0': optional: true - '@oxlint/binding-darwin-arm64@1.90.0': + '@oxlint/binding-darwin-arm64@1.94.0': optional: true - '@oxlint/binding-darwin-x64@1.90.0': + '@oxlint/binding-darwin-x64@1.94.0': optional: true - '@oxlint/binding-freebsd-x64@1.90.0': + '@oxlint/binding-freebsd-x64@1.94.0': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.90.0': + '@oxlint/binding-linux-arm-gnueabihf@1.94.0': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.90.0': + '@oxlint/binding-linux-arm-musleabihf@1.94.0': optional: true - '@oxlint/binding-linux-arm64-gnu@1.90.0': + '@oxlint/binding-linux-arm64-gnu@1.94.0': optional: true - '@oxlint/binding-linux-arm64-musl@1.90.0': + '@oxlint/binding-linux-arm64-musl@1.94.0': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.90.0': + '@oxlint/binding-linux-ppc64-gnu@1.94.0': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.90.0': + '@oxlint/binding-linux-riscv64-gnu@1.94.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.90.0': + '@oxlint/binding-linux-riscv64-musl@1.94.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.90.0': + '@oxlint/binding-linux-s390x-gnu@1.94.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.90.0': + '@oxlint/binding-linux-x64-gnu@1.94.0': optional: true - '@oxlint/binding-linux-x64-musl@1.90.0': + '@oxlint/binding-linux-x64-musl@1.94.0': optional: true - '@oxlint/binding-openharmony-arm64@1.90.0': + '@oxlint/binding-openharmony-arm64@1.94.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.90.0': + '@oxlint/binding-win32-arm64-msvc@1.94.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.90.0': + '@oxlint/binding-win32-ia32-msvc@1.94.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.90.0': + '@oxlint/binding-win32-x64-msvc@1.94.0': optional: true '@radix-ui/number@1.1.3': {} @@ -4643,191 +4421,196 @@ snapshots: '@radix-ui/rect@1.1.3': {} - '@rolldown/binding-android-arm64@1.1.5': + '@rolldown/binding-android-arm-eabi@1.2.19': optional: true - '@rolldown/binding-darwin-arm64@1.1.5': + '@rolldown/binding-android-arm64@1.2.19': optional: true - '@rolldown/binding-darwin-x64@1.1.5': + '@rolldown/binding-darwin-arm64@1.2.19': optional: true - '@rolldown/binding-freebsd-x64@1.1.5': + '@rolldown/binding-darwin-x64@1.2.19': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': + '@rolldown/binding-freebsd-x64@1.2.19': optional: true - '@rolldown/binding-linux-arm64-gnu@1.1.5': + '@rolldown/binding-linux-arm-gnueabihf@1.2.19': optional: true - '@rolldown/binding-linux-arm64-musl@1.1.5': + '@rolldown/binding-linux-arm64-gnu@1.2.19': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.1.5': + '@rolldown/binding-linux-arm64-musl@1.2.19': optional: true - '@rolldown/binding-linux-s390x-gnu@1.1.5': + '@rolldown/binding-linux-ppc64-gnu@1.2.19': optional: true - '@rolldown/binding-linux-x64-gnu@1.1.5': + '@rolldown/binding-linux-s390x-gnu@1.2.19': optional: true - '@rolldown/binding-linux-x64-musl@1.1.5': + '@rolldown/binding-linux-x64-gnu@1.2.19': optional: true - '@rolldown/binding-openharmony-arm64@1.1.5': + '@rolldown/binding-linux-x64-musl@1.2.19': optional: true - '@rolldown/binding-wasm32-wasi@1.1.5': + '@rolldown/binding-openharmony-arm64@1.2.19': + optional: true + + '@rolldown/binding-wasm32-wasi@1.2.19': dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 - '@napi-rs/wasm-runtime': 1.2.2(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) + '@emnapi/core': 2.0.0-beta.2 + '@emnapi/runtime': 2.0.0-beta.2 + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2) optional: true - '@rolldown/binding-win32-arm64-msvc@1.1.5': + '@rolldown/binding-win32-arm64-msvc@1.2.19': optional: true - '@rolldown/binding-win32-x64-msvc@1.1.5': + '@rolldown/binding-win32-x64-msvc@1.2.19': optional: true - '@rolldown/pluginutils@1.0.1': {} + '@rolldown/pluginutils@1.1.1': {} - '@scalar/helpers@0.16.4': {} + '@scalar/helpers@0.18.0': {} - '@scalar/json-magic@0.16.1': + '@scalar/helpers@0.18.1': {} + + '@scalar/json-magic@0.19.1': dependencies: - '@scalar/helpers': 0.16.4 + '@scalar/helpers': 0.18.0 pathe: 2.0.3 - undici: 7.30.1 + undici: 8.12.3 yaml: 2.9.1 - '@scalar/openapi-types@0.9.8': {} + '@scalar/openapi-types@0.9.10': {} - '@scalar/openapi-upgrader@0.4.5': + '@scalar/openapi-upgrader@0.4.11': dependencies: - '@scalar/helpers': 0.16.4 - '@scalar/openapi-types': 0.9.8 + '@scalar/helpers': 0.18.1 + '@scalar/openapi-types': 0.9.10 - '@shikijs/core@4.5.0': + '@shikijs/core@4.6.0': dependencies: - '@shikijs/primitive': 4.5.0 - '@shikijs/types': 4.5.0 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/primitive': 4.6.0 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - hast-util-to-html: 9.0.5 + hast-util-to-html: 9.0.7 - '@shikijs/engine-javascript@4.5.0': + '@shikijs/engine-javascript@4.6.0': dependencies: - '@shikijs/types': 4.5.0 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 oniguruma-to-es: 4.3.6 - '@shikijs/engine-oniguruma@4.5.0': + '@shikijs/engine-oniguruma@4.6.0': dependencies: - '@shikijs/types': 4.5.0 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 - '@shikijs/langs@4.5.0': + '@shikijs/langs@4.6.0': dependencies: - '@shikijs/types': 4.5.0 + '@shikijs/types': 4.6.0 - '@shikijs/primitive@4.5.0': + '@shikijs/primitive@4.6.0': dependencies: - '@shikijs/types': 4.5.0 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - '@shikijs/themes@4.5.0': + '@shikijs/themes@4.6.0': dependencies: - '@shikijs/types': 4.5.0 + '@shikijs/types': 4.6.0 - '@shikijs/types@4.5.0': + '@shikijs/types@4.6.0': dependencies: - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - '@shikijs/vscode-textmate@10.0.2': {} + '@shikijs/vscode-textmate@10.1.0': {} '@standard-schema/spec@1.1.0': {} '@swc/helpers@0.5.23': dependencies: - tslib: 2.8.1 + tslib: 2.9.1 - '@tailwindcss/node@4.3.3': + '@tailwindcss/node@4.3.5': dependencies: '@jridgewell/remapping': 2.3.5 - enhanced-resolve: 5.24.5 + enhanced-resolve: 5.27.0 jiti: 2.7.0 lightningcss: 1.33.0 - magic-string: 0.30.21 - source-map-js: 1.2.1 - tailwindcss: 4.3.3 + magic-string: 1.4.5 + source-map-js: 1.2.4 + tailwindcss: 4.3.5 - '@tailwindcss/oxide-android-arm64@4.3.3': + '@tailwindcss/oxide-android-arm64@4.3.5': optional: true - '@tailwindcss/oxide-darwin-arm64@4.3.3': + '@tailwindcss/oxide-darwin-arm64@4.3.5': optional: true - '@tailwindcss/oxide-darwin-x64@4.3.3': + '@tailwindcss/oxide-darwin-x64@4.3.5': optional: true - '@tailwindcss/oxide-freebsd-x64@4.3.3': + '@tailwindcss/oxide-freebsd-x64@4.3.5': optional: true - '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.5': optional: true - '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + '@tailwindcss/oxide-linux-arm64-gnu@4.3.5': optional: true - '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + '@tailwindcss/oxide-linux-arm64-musl@4.3.5': optional: true - '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + '@tailwindcss/oxide-linux-x64-gnu@4.3.5': optional: true - '@tailwindcss/oxide-linux-x64-musl@4.3.3': + '@tailwindcss/oxide-linux-x64-musl@4.3.5': optional: true - '@tailwindcss/oxide-wasm32-wasi@4.3.3': + '@tailwindcss/oxide-wasm32-wasi@4.3.5': optional: true - '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + '@tailwindcss/oxide-win32-arm64-msvc@4.3.5': optional: true - '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + '@tailwindcss/oxide-win32-x64-msvc@4.3.5': optional: true - '@tailwindcss/oxide@4.3.3': + '@tailwindcss/oxide@4.3.5': optionalDependencies: - '@tailwindcss/oxide-android-arm64': 4.3.3 - '@tailwindcss/oxide-darwin-arm64': 4.3.3 - '@tailwindcss/oxide-darwin-x64': 4.3.3 - '@tailwindcss/oxide-freebsd-x64': 4.3.3 - '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3 - '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3 - '@tailwindcss/oxide-linux-arm64-musl': 4.3.3 - '@tailwindcss/oxide-linux-x64-gnu': 4.3.3 - '@tailwindcss/oxide-linux-x64-musl': 4.3.3 - '@tailwindcss/oxide-wasm32-wasi': 4.3.3 - '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 - '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 + '@tailwindcss/oxide-android-arm64': 4.3.5 + '@tailwindcss/oxide-darwin-arm64': 4.3.5 + '@tailwindcss/oxide-darwin-x64': 4.3.5 + '@tailwindcss/oxide-freebsd-x64': 4.3.5 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.5 + '@tailwindcss/oxide-linux-arm64-gnu': 4.3.5 + '@tailwindcss/oxide-linux-arm64-musl': 4.3.5 + '@tailwindcss/oxide-linux-x64-gnu': 4.3.5 + '@tailwindcss/oxide-linux-x64-musl': 4.3.5 + '@tailwindcss/oxide-wasm32-wasi': 4.3.5 + '@tailwindcss/oxide-win32-arm64-msvc': 4.3.5 + '@tailwindcss/oxide-win32-x64-msvc': 4.3.5 - '@tailwindcss/postcss@4.3.3': + '@tailwindcss/postcss@4.3.5': dependencies: - '@alloc/quick-lru': 5.2.0 - '@tailwindcss/node': 4.3.3 - '@tailwindcss/oxide': 4.3.3 - postcss: 8.5.32 - tailwindcss: 4.3.3 + '@alloc/quick-lru': 5.3.0 + '@tailwindcss/node': 4.3.5 + '@tailwindcss/oxide': 4.3.5 + postcss: 8.5.33 + tailwindcss: 4.3.5 - '@tybys/wasm-util@0.10.3': + '@tybys/wasm-util@0.10.5': dependencies: - tslib: 2.8.1 + tslib: 2.9.1 optional: true '@types/chai@5.2.3': @@ -4839,11 +4622,11 @@ snapshots: '@types/d3-axis@3.0.6': dependencies: - '@types/d3-selection': 3.0.11 + '@types/d3-selection': 3.0.12 '@types/d3-brush@3.0.6': dependencies: - '@types/d3-selection': 3.0.11 + '@types/d3-selection': 3.0.12 '@types/d3-chord@3.0.6': {} @@ -4860,7 +4643,7 @@ snapshots: '@types/d3-drag@3.0.7': dependencies: - '@types/d3-selection': 3.0.11 + '@types/d3-selection': 3.0.12 '@types/d3-dsv@3.0.7': {} @@ -4898,9 +4681,9 @@ snapshots: dependencies: '@types/d3-time': 3.0.4 - '@types/d3-selection@3.0.11': {} + '@types/d3-selection@3.0.12': {} - '@types/d3-shape@3.1.8': + '@types/d3-shape@3.2.0': dependencies: '@types/d3-path': 3.1.1 @@ -4912,12 +4695,12 @@ snapshots: '@types/d3-transition@3.0.9': dependencies: - '@types/d3-selection': 3.0.11 + '@types/d3-selection': 3.0.12 - '@types/d3-zoom@3.0.8': + '@types/d3-zoom@3.0.9': dependencies: '@types/d3-interpolate': 3.0.4 - '@types/d3-selection': 3.0.11 + '@types/d3-selection': 3.0.12 '@types/d3@7.4.3': dependencies: @@ -4944,13 +4727,13 @@ snapshots: '@types/d3-random': 3.0.4 '@types/d3-scale': 4.0.9 '@types/d3-scale-chromatic': 3.1.0 - '@types/d3-selection': 3.0.11 - '@types/d3-shape': 3.1.8 + '@types/d3-selection': 3.0.12 + '@types/d3-shape': 3.2.0 '@types/d3-time': 3.0.4 '@types/d3-time-format': 4.0.3 '@types/d3-timer': 3.0.2 '@types/d3-transition': 3.0.9 - '@types/d3-zoom': 3.0.8 + '@types/d3-zoom': 3.0.9 '@types/debug@4.1.13': dependencies: @@ -4960,9 +4743,9 @@ snapshots: '@types/estree-jsx@1.0.5': dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 - '@types/estree@1.0.9': {} + '@types/estree@1.0.10': {} '@types/geojson@7946.0.16': {} @@ -4988,7 +4771,7 @@ snapshots: '@types/react@19.3.0': dependencies: - csstype: 3.2.3 + csstype: 3.2.4 '@types/trusted-types@2.0.7': optional: true @@ -5057,23 +4840,23 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@ungap/structured-clone@1.3.3': {} + '@ungap/structured-clone@1.4.0': {} '@upsetjs/venn.js@2.0.0': optionalDependencies: - d3-selection: 3.0.0 - d3-transition: 3.0.1(d3-selection@3.0.0) + d3-selection: 3.0.1 + d3-transition: 3.0.2(d3-selection@3.0.1) - '@vitest/mocker@5.0.5(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))': + '@vitest/mocker@5.1.1(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))': dependencies: '@jridgewell/trace-mapping': 0.3.31 - '@vitest/spy': 5.0.5 + '@vitest/spy': 5.1.1 estree-walker: 3.0.3 - magic-string: 1.4.3 + magic-string: 1.4.5 optionalDependencies: - vite: 8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) + vite: 8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) - '@vitest/spy@5.0.5': {} + '@vitest/spy@5.1.1': {} '@yuku-core/binding-android-arm64@0.17.0': optional: true @@ -5151,15 +4934,15 @@ snapshots: '@yuku-toolchain/types@0.19.0': {} - acorn-jsx@5.3.2(acorn@8.18.0): + acorn-jsx@5.3.2(acorn@8.19.0): dependencies: - acorn: 8.18.0 + acorn: 8.19.0 - acorn@8.18.0: {} + acorn@8.19.0: {} aria-hidden@1.2.6: dependencies: - tslib: 2.8.1 + tslib: 2.9.1 assertion-error@2.0.1: {} @@ -5167,18 +4950,9 @@ snapshots: bail@2.0.2: {} - baseline-browser-mapping@2.11.13: {} + baseline-browser-mapping@2.11.39: {} - browserslist@4.28.7: - dependencies: - baseline-browser-mapping: 2.11.13 - caniuse-lite: 1.0.30001809 - electron-to-chromium: 1.5.394 - node-releases: 2.0.51 - update-browserslist-db: 1.2.3(browserslist@4.28.7) - optional: true - - caniuse-lite@1.0.30001809: {} + caniuse-lite@1.0.30001826: {} ccount@2.0.1: {} @@ -5212,20 +4986,17 @@ snapshots: clsx@2.1.1: {} - cn@0.5.0: {} + cn@0.5.2: {} collapse-white-space@2.1.0: {} comma-separated-tokens@2.0.3: {} - commander@15.0.0: {} + commander@15.1.0: {} commander@7.2.0: {} - compute-scroll-into-view@3.1.1: {} - - convert-source-map@2.0.0: - optional: true + compute-scroll-into-view@3.2.2: {} cose-base@1.0.3: dependencies: @@ -5235,199 +5006,198 @@ snapshots: dependencies: layout-base: 2.0.1 - csstype@3.2.3: {} + csstype@3.2.4: {} - cytoscape-cose-bilkent@4.1.0(cytoscape@3.34.1): + cytoscape-cose-bilkent@4.1.0(cytoscape@3.35.0): dependencies: cose-base: 1.0.3 - cytoscape: 3.34.1 + cytoscape: 3.35.0 - cytoscape-fcose@2.2.0(cytoscape@3.34.1): + cytoscape-fcose@2.2.0(cytoscape@3.35.0): dependencies: cose-base: 2.2.0 - cytoscape: 3.34.1 + cytoscape: 3.35.0 - cytoscape@3.34.1: {} + cytoscape@3.35.0: {} d3-array@2.12.1: dependencies: internmap: 1.0.1 - d3-array@3.2.4: + d3-array@3.2.5: dependencies: internmap: 2.0.3 - d3-axis@3.0.0: {} + d3-axis@3.0.1: {} - d3-brush@3.0.0: + d3-brush@3.0.1: dependencies: - d3-dispatch: 3.0.1 - d3-drag: 3.0.0 - d3-interpolate: 3.0.1 - d3-selection: 3.0.0 - d3-transition: 3.0.1(d3-selection@3.0.0) + d3-dispatch: 3.0.2 + d3-drag: 3.0.1 + d3-interpolate: 3.0.2 + d3-selection: 3.0.1 + d3-transition: 3.0.2(d3-selection@3.0.1) - d3-chord@3.0.1: + d3-chord@3.0.2: dependencies: - d3-path: 3.1.0 + d3-path: 3.1.1 - d3-color@3.1.0: {} + d3-color@3.1.1: {} - d3-contour@4.0.2: + d3-contour@4.0.3: dependencies: - d3-array: 3.2.4 + d3-array: 3.2.5 - d3-delaunay@6.0.4: + d3-delaunay@6.0.6: dependencies: delaunator: 5.1.0 - d3-dispatch@3.0.1: {} + d3-dispatch@3.0.2: {} - d3-drag@3.0.0: + d3-drag@3.0.1: dependencies: - d3-dispatch: 3.0.1 - d3-selection: 3.0.0 + d3-dispatch: 3.0.2 + d3-selection: 3.0.1 - d3-dsv@3.0.1: + d3-dsv@3.0.2: dependencies: commander: 7.2.0 iconv-lite: 0.6.3 rw: 1.3.3 - d3-ease@3.0.1: {} + d3-ease@3.0.2: {} - d3-fetch@3.0.1: + d3-fetch@3.0.2: dependencies: - d3-dsv: 3.0.1 + d3-dsv: 3.0.2 - d3-force@3.0.0: + d3-force@3.0.1: dependencies: - d3-dispatch: 3.0.1 - d3-quadtree: 3.0.1 - d3-timer: 3.0.1 + d3-dispatch: 3.0.2 + d3-quadtree: 3.0.2 + d3-timer: 3.0.2 - d3-format@3.1.2: {} + d3-format@3.1.3: {} - d3-geo@3.1.1: + d3-geo@3.1.2: dependencies: - d3-array: 3.2.4 + d3-array: 3.2.5 - d3-hierarchy@3.1.2: {} + d3-hierarchy@3.1.3: {} - d3-interpolate@3.0.1: + d3-interpolate@3.0.2: dependencies: - d3-color: 3.1.0 + d3-color: 3.1.1 d3-path@1.0.9: {} - d3-path@3.1.0: {} + d3-path@3.1.1: {} - d3-polygon@3.0.1: {} + d3-polygon@3.0.2: {} - d3-quadtree@3.0.1: {} + d3-quadtree@3.0.2: {} - d3-random@3.0.1: {} + d3-random@3.0.2: {} d3-sankey@0.12.3: dependencies: d3-array: 2.12.1 d3-shape: 1.3.7 - d3-scale-chromatic@3.1.0: + d3-scale-chromatic@3.1.1: dependencies: - d3-color: 3.1.0 - d3-interpolate: 3.0.1 + d3-color: 3.1.1 + d3-interpolate: 3.0.2 + d3-scale: 4.0.3 - d3-scale@4.0.2: + d3-scale@4.0.3: dependencies: - d3-array: 3.2.4 - d3-format: 3.1.2 - d3-interpolate: 3.0.1 - d3-time: 3.1.0 - d3-time-format: 4.1.0 + d3-array: 3.2.5 + d3-format: 3.1.3 + d3-interpolate: 3.0.2 + d3-time: 3.1.1 + d3-time-format: 4.1.1 - d3-selection@3.0.0: {} + d3-selection@3.0.1: {} d3-shape@1.3.7: dependencies: d3-path: 1.0.9 - d3-shape@3.2.0: + d3-shape@3.2.1: dependencies: - d3-path: 3.1.0 + d3-path: 3.1.1 - d3-time-format@4.1.0: + d3-time-format@4.1.1: dependencies: - d3-time: 3.1.0 + d3-time: 3.1.1 - d3-time@3.1.0: + d3-time@3.1.1: dependencies: - d3-array: 3.2.4 + d3-array: 3.2.5 - d3-timer@3.0.1: {} + d3-timer@3.0.2: {} - d3-transition@3.0.1(d3-selection@3.0.0): + d3-transition@3.0.2(d3-selection@3.0.1): dependencies: - d3-color: 3.1.0 - d3-dispatch: 3.0.1 - d3-ease: 3.0.1 - d3-interpolate: 3.0.1 - d3-selection: 3.0.0 - d3-timer: 3.0.1 + d3-color: 3.1.1 + d3-dispatch: 3.0.2 + d3-ease: 3.0.2 + d3-interpolate: 3.0.2 + d3-selection: 3.0.1 + d3-timer: 3.0.2 - d3-zoom@3.0.0: + d3-zoom@3.0.1: dependencies: - d3-dispatch: 3.0.1 - d3-drag: 3.0.0 - d3-interpolate: 3.0.1 - d3-selection: 3.0.0 - d3-transition: 3.0.1(d3-selection@3.0.0) + d3-dispatch: 3.0.2 + d3-drag: 3.0.1 + d3-interpolate: 3.0.2 + d3-selection: 3.0.1 + d3-transition: 3.0.2(d3-selection@3.0.1) - d3@7.9.0: + d3@7.9.2: dependencies: - d3-array: 3.2.4 - d3-axis: 3.0.0 - d3-brush: 3.0.0 - d3-chord: 3.0.1 - d3-color: 3.1.0 - d3-contour: 4.0.2 - d3-delaunay: 6.0.4 - d3-dispatch: 3.0.1 - d3-drag: 3.0.0 - d3-dsv: 3.0.1 - d3-ease: 3.0.1 - d3-fetch: 3.0.1 - d3-force: 3.0.0 - d3-format: 3.1.2 - d3-geo: 3.1.1 - d3-hierarchy: 3.1.2 - d3-interpolate: 3.0.1 - d3-path: 3.1.0 - d3-polygon: 3.0.1 - d3-quadtree: 3.0.1 - d3-random: 3.0.1 - d3-scale: 4.0.2 - d3-scale-chromatic: 3.1.0 - d3-selection: 3.0.0 - d3-shape: 3.2.0 - d3-time: 3.1.0 - d3-time-format: 4.1.0 - d3-timer: 3.0.1 - d3-transition: 3.0.1(d3-selection@3.0.0) - d3-zoom: 3.0.0 + d3-array: 3.2.5 + d3-axis: 3.0.1 + d3-brush: 3.0.1 + d3-chord: 3.0.2 + d3-color: 3.1.1 + d3-contour: 4.0.3 + d3-delaunay: 6.0.6 + d3-dispatch: 3.0.2 + d3-drag: 3.0.1 + d3-dsv: 3.0.2 + d3-ease: 3.0.2 + d3-fetch: 3.0.2 + d3-force: 3.0.1 + d3-format: 3.1.3 + d3-geo: 3.1.2 + d3-hierarchy: 3.1.3 + d3-interpolate: 3.0.2 + d3-path: 3.1.1 + d3-polygon: 3.0.2 + d3-quadtree: 3.0.2 + d3-random: 3.0.2 + d3-scale: 4.0.3 + d3-scale-chromatic: 3.1.1 + d3-selection: 3.0.1 + d3-shape: 3.2.1 + d3-time: 3.1.1 + d3-time-format: 4.1.1 + d3-timer: 3.0.2 + d3-transition: 3.0.2(d3-selection@3.0.1) + d3-zoom: 3.0.1 dagre-d3-es@7.0.14: dependencies: - d3: 7.9.0 + d3: 7.9.2 lodash-es: 4.18.1 - dayjs@1.11.21: {} + dayjs@1.11.23: {} - debug@4.4.3(supports-color@7.2.0): + debug@4.4.3: dependencies: ms: 2.1.3 - optionalDependencies: - supports-color: 7.2.0 decode-named-character-reference@1.3.0: dependencies: @@ -5447,23 +5217,20 @@ snapshots: dependencies: dequal: 2.0.3 - dompurify@3.4.13: + dompurify@3.5.0: optionalDependencies: '@types/trusted-types': 2.0.7 - electron-to-chromium@1.5.394: - optional: true + elkjs@0.12.1: {} - elkjs@0.9.3: {} - - enhanced-resolve@5.24.5: + enhanced-resolve@5.27.0: dependencies: - graceful-fs: 4.2.11 - tapable: 2.3.3 + graceful-fs: 4.2.12 + tapable: 2.3.4 es-module-lexer@2.3.2: {} - es-toolkit@1.50.0: {} + es-toolkit@1.53.2: {} esast-util-from-estree@2.0.0: dependencies: @@ -5475,9 +5242,9 @@ snapshots: esast-util-from-js@2.0.1: dependencies: '@types/estree-jsx': 1.0.5 - acorn: 8.18.0 + acorn: 8.19.0 esast-util-from-estree: 2.0.0 - vfile-message: 4.0.3 + vfile-message: 4.0.4 esbuild@0.28.2: optionalDependencies: @@ -5508,14 +5275,11 @@ snapshots: '@esbuild/win32-ia32': 0.28.2 '@esbuild/win32-x64': 0.28.2 - escalade@3.2.0: - optional: true - escape-string-regexp@5.0.0: {} estree-util-attach-comments@3.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 estree-util-build-jsx@3.0.1: dependencies: @@ -5526,9 +5290,9 @@ snapshots: estree-util-is-identifier-name@3.0.0: {} - estree-util-scope@1.0.0: + estree-util-scope@1.0.1: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 devlop: 1.1.0 estree-util-to-js@2.0.0: @@ -5539,7 +5303,7 @@ snapshots: estree-util-value-to-estree@3.5.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 estree-util-visit@2.0.0: dependencies: @@ -5548,7 +5312,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 expect-type@1.4.0: {} @@ -5558,11 +5322,11 @@ snapshots: optionalDependencies: picomatch: 4.0.7 - framer-motion@14.6.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1): + framer-motion@14.14.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: - motion-dom: 14.6.0 - motion-utils: 14.6.0 - tslib: 2.8.1 + motion-dom: 14.14.0 + motion-utils: 14.7.0 + tslib: 2.9.1 optionalDependencies: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -5570,46 +5334,48 @@ snapshots: fsevents@2.3.3: optional: true - fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7): + fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7): dependencies: '@fumari/image-size': 0.1.1 + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) estree-util-value-to-estree: 3.5.0 github-slugger: 2.0.0 hast-util-from-dom: 5.0.1 - hast-util-to-estree: 3.1.3(supports-color@7.2.0) - mdast-util-mdx: 3.0.0(supports-color@7.2.0) - micromark: 4.0.3(supports-color@7.2.0) + hast-util-to-estree: 3.1.3 + mdast-util-mdx: 3.0.0 + micromark: 4.0.3 micromark-extension-gfm-table: 2.1.2 npm-to-yarn: 3.2.0 - remark: 15.0.1(supports-color@7.2.0) - remark-gfm: 4.0.1(supports-color@7.2.0) + remark: 15.0.1 + remark-gfm: 4.0.1 remark-rehype: 11.1.2 - scroll-into-view-if-needed: 3.1.0 - shiki: 4.5.0 + scroll-into-view-if-needed: 3.2.1 + shiki: 4.6.0 tinyglobby: 0.2.17 unified: 11.0.5 vfile: 6.0.3 yaml: 2.9.1 - zbsearch: 4.0.1 + zbsearch: 4.0.4 optionalDependencies: - '@mdx-js/mdx': 3.1.1(supports-color@7.2.0) + '@mdx-js/mdx': 3.1.1 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 '@types/react': 19.3.0 - lucide-react: 1.66.0(@types/react@19.3.0)(react@19.3.1) - next: 16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + lucide-react: 1.77.0(@types/react@19.3.0)(react@19.3.1) + next: 16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) zod: 4.6.7 transitivePeerDependencies: - supports-color - fumadocs-docgen@3.2.0(@types/estree@1.0.9)(@types/hast@3.0.5)(@types/mdast@4.0.4)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(mdast-util-mdx@3.0.0(supports-color@7.2.0)): + fumadocs-docgen@3.2.0(@types/estree@1.0.10)(@types/hast@3.0.5)(@types/mdast@4.0.4)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(mdast-util-mdx@3.0.0): dependencies: estree-util-to-js: 2.0.0 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7) + fumadocs-core: 16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7) npm-to-yarn: 3.2.0 unified: 11.0.5 vfile: 6.0.3 @@ -5617,22 +5383,26 @@ snapshots: yuku-parser: 0.17.0 zod: 4.6.7 optionalDependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 - mdast-util-mdx: 3.0.0(supports-color@7.2.0) + mdast-util-mdx: 3.0.0 - fumadocs-mdx@15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.1.5)(supports-color@7.2.0)(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): + fumadocs-mdx@15.6.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.19)(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): dependencies: - '@mdx-js/mdx': 3.1.1(supports-color@7.2.0) + '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) chokidar: 6.0.0 esbuild: 0.28.2 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7) + fumadocs-core: 16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7) github-slugger: 2.0.0 - magic-string: 1.4.3 - mdast-util-mdx: 3.0.0(supports-color@7.2.0) + magic-string: 1.4.5 + mdast-util-from-markdown: 2.1.0 + mdast-util-mdx: 3.0.0 + micromark-extension-mdxjs-esm: 3.0.0 picocolors: 1.1.1 picomatch: 4.0.7 tinyexec: 1.3.1 @@ -5647,35 +5417,35 @@ snapshots: '@types/mdast': 4.0.4 '@types/mdx': 2.0.14 '@types/react': 19.3.0 - next: 16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + next: 16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 - rolldown: 1.1.5 - vite: 8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) + rolldown: 1.2.19 + vite: 8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) transitivePeerDependencies: - supports-color - fumadocs-openapi@12.5.7(a19b5875f441d842a34d0b5b000f1f35): + fumadocs-openapi@12.6.7(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(fumadocs-ui@16.19.7(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5))(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: '@base-ui/react': 1.9.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@fuma-translate/react': 1.0.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@fumadocs/json-schema': 0.3.5(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@fumadocs/json-schema': 0.3.6(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@fumari/json-schema-ts': 1.0.2 '@fumari/stf': 1.1.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@scalar/json-magic': 0.16.1 - '@scalar/openapi-upgrader': 0.4.5 + '@scalar/json-magic': 0.19.1 + '@scalar/openapi-upgrader': 0.4.11 chokidar: 6.0.0 class-variance-authority: 0.7.1 - cn: 0.5.0 - fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7) - fumadocs-ui: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.3) + cn: 0.5.2 + fumadocs-core: 16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7) + fumadocs-ui: 16.19.7(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5) github-slugger: 2.0.0 - lucide-react: 1.66.0(@types/react@19.3.0)(react@19.3.1) + lucide-react: 1.77.0(@types/react@19.3.0)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - remark: 15.0.1(supports-color@7.2.0) + remark: 15.0.1 remark-rehype: 11.1.2 - shiki: 4.5.0 - undici: 8.12.3 + shiki: 4.6.0 + undici: 8.13.1 yaml: 2.9.1 optionalDependencies: '@types/react': 19.3.0 @@ -5684,10 +5454,10 @@ snapshots: - date-fns - supports-color - fumadocs-ui@16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.3): + fumadocs-ui@16.19.7(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(fumadocs-core@16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5): dependencies: '@fuma-translate/react': 1.0.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@fumadocs/tailwind': 0.1.4(tailwindcss@4.3.3) + '@fumadocs/tailwind': 0.1.5(tailwindcss@4.3.5) '@radix-ui/react-accordion': 1.3.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@radix-ui/react-collapsible': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@radix-ui/react-dialog': 1.3.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -5699,51 +5469,46 @@ snapshots: '@radix-ui/react-slot': 1.5.0(@types/react@19.3.0)(react@19.3.1) '@radix-ui/react-tabs': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) class-variance-authority: 0.7.1 - cn: 0.5.0 - fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1(supports-color@7.2.0))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(supports-color@7.2.0)(zod@4.6.7) - lucide-react: 1.66.0(@types/react@19.3.0)(react@19.3.1) - motion: 14.6.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + cn: 0.5.2 + fumadocs-core: 16.19.7(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7) + lucide-react: 1.77.0(@types/react@19.3.0)(react@19.3.1) + motion: 14.14.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1) next-themes: 0.4.6(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) react-remove-scroll: 2.7.2(@types/react@19.3.0)(react@19.3.1) - scroll-into-view-if-needed: 3.1.0 - shiki: 4.5.0 + scroll-into-view-if-needed: 3.2.1 + shiki: 4.6.0 optionalDependencies: '@types/mdx': 2.0.14 '@types/react': 19.3.0 - next: 16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + next: 16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) transitivePeerDependencies: - '@types/react-dom' + - remix - tailwindcss - gensync@1.0.0-beta.2: - optional: true - get-nonce@1.0.1: {} github-slugger@2.0.0: {} - graceful-fs@4.2.11: {} + graceful-fs@4.2.12: {} hachure-fill@0.5.2: {} - has-flag@4.0.0: - optional: true - hast-util-from-dom@5.0.1: dependencies: '@types/hast': 3.0.5 - hastscript: 9.0.1 + hastscript: 9.0.3 web-namespaces: 2.0.1 hast-util-parse-selector@4.0.0: dependencies: '@types/hast': 3.0.5 - hast-util-to-estree@3.1.3(supports-color@7.2.0): + hast-util-to-estree@3.1.3: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 comma-separated-tokens: 2.0.3 @@ -5751,9 +5516,9 @@ snapshots: estree-util-attach-comments: 3.0.0 estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 - mdast-util-mdx-expression: 2.0.1(supports-color@7.2.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@7.2.0) - mdast-util-mdxjs-esm: 2.0.1(supports-color@7.2.0) + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.2.2 + mdast-util-mdxjs-esm: 2.0.1 property-information: 7.2.0 space-separated-tokens: 2.0.2 style-to-js: 1.1.21 @@ -5762,7 +5527,7 @@ snapshots: transitivePeerDependencies: - supports-color - hast-util-to-html@9.0.5: + hast-util-to-html@9.0.7: dependencies: '@types/hast': 3.0.5 '@types/unist': 3.0.3 @@ -5770,29 +5535,29 @@ snapshots: comma-separated-tokens: 2.0.3 hast-util-whitespace: 3.0.0 html-void-elements: 3.0.0 - mdast-util-to-hast: 13.2.1 + mdast-util-to-hast: 13.2.2 property-information: 7.2.0 space-separated-tokens: 2.0.2 - stringify-entities: 4.0.4 + stringify-entities: 4.0.5 zwitch: 2.0.4 - hast-util-to-jsx-runtime@2.3.6(supports-color@7.2.0): + hast-util-to-jsx-runtime@2.3.7: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/hast': 3.0.5 '@types/unist': 3.0.3 comma-separated-tokens: 2.0.3 devlop: 1.1.0 estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 - mdast-util-mdx-expression: 2.0.1(supports-color@7.2.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@7.2.0) - mdast-util-mdxjs-esm: 2.0.1(supports-color@7.2.0) + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.2.2 + mdast-util-mdxjs-esm: 2.0.1 property-information: 7.2.0 space-separated-tokens: 2.0.2 - style-to-js: 1.1.21 + style-to-object: 2.0.2 unist-util-position: 5.0.0 - vfile-message: 4.0.3 + vfile-message: 4.0.4 transitivePeerDependencies: - supports-color @@ -5800,7 +5565,7 @@ snapshots: dependencies: '@types/hast': 3.0.5 - hastscript@9.0.1: + hastscript@9.0.3: dependencies: '@types/hast': 3.0.5 comma-separated-tokens: 2.0.3 @@ -5818,6 +5583,8 @@ snapshots: inline-style-parser@0.2.7: {} + inline-style-parser@0.2.9: {} + internmap@1.0.1: {} internmap@2.0.3: {} @@ -5839,15 +5606,9 @@ snapshots: js-tokens@4.0.0: {} - jsesc@3.1.0: - optional: true - - json5@2.2.3: - optional: true - katex@0.18.10: dependencies: - commander: 15.0.0 + commander: 15.1.0 khroma@2.1.0: {} @@ -5912,124 +5673,117 @@ snapshots: dependencies: js-tokens: 4.0.0 - lru-cache@5.1.1: - dependencies: - yallist: 3.1.1 - optional: true - - lucide-react@1.66.0(@types/react@19.3.0)(react@19.3.1): + lucide-react@1.77.0(@types/react@19.3.0)(react@19.3.1): dependencies: react: 19.3.1 optionalDependencies: '@types/react': 19.3.0 - magic-string@0.30.21: - dependencies: - '@jridgewell/sourcemap-codec': 1.6.0 - - magic-string@1.4.3: + magic-string@1.4.5: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 markdown-extensions@2.0.0: {} - markdown-table@3.0.4: {} + markdown-table@3.1.0: {} marked@16.4.2: {} - mdast-util-find-and-replace@3.0.2: + mdast-util-find-and-replace@3.0.5: dependencies: '@types/mdast': 4.0.4 escape-string-regexp: 5.0.0 unist-util-is: 6.0.1 - unist-util-visit-parents: 6.0.2 + unist-util-visit-parents: 6.1.0 - mdast-util-from-markdown@2.0.3(supports-color@7.2.0): + mdast-util-from-markdown@2.1.0: dependencies: '@types/mdast': 4.0.4 '@types/unist': 3.0.3 decode-named-character-reference: 1.3.0 devlop: 1.1.0 mdast-util-to-string: 4.0.0 - micromark: 4.0.3(supports-color@7.2.0) + micromark: 4.0.3 micromark-util-decode-numeric-character-reference: 2.0.2 micromark-util-decode-string: 2.0.1 micromark-util-normalize-identifier: 2.0.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 unist-util-stringify-position: 4.0.0 transitivePeerDependencies: - supports-color - mdast-util-gfm-autolink-literal@2.0.1: + mdast-util-gfm-autolink-literal@2.1.2: dependencies: '@types/mdast': 4.0.4 ccount: 2.0.1 devlop: 1.1.0 - mdast-util-find-and-replace: 3.0.2 + mdast-util-find-and-replace: 3.0.5 micromark-util-character: 2.1.1 - mdast-util-gfm-footnote@2.1.0(supports-color@7.2.0): + mdast-util-gfm-footnote@2.1.0: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 micromark-util-normalize-identifier: 2.0.1 transitivePeerDependencies: - supports-color - mdast-util-gfm-strikethrough@2.0.0(supports-color@7.2.0): + mdast-util-gfm-strikethrough@2.0.1: dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color - mdast-util-gfm-table@2.0.0(supports-color@7.2.0): + mdast-util-gfm-table@2.0.1: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - markdown-table: 3.0.4 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + markdown-table: 3.1.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + mdast-util-to-string: 4.0.0 + unist-util-visit: 5.2.0 transitivePeerDependencies: - supports-color - mdast-util-gfm-task-list-item@2.0.0(supports-color@7.2.0): + mdast-util-gfm-task-list-item@2.0.1: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color - mdast-util-gfm@3.1.0(supports-color@7.2.0): + mdast-util-gfm@3.1.0: dependencies: - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-gfm-autolink-literal: 2.0.1 - mdast-util-gfm-footnote: 2.1.0(supports-color@7.2.0) - mdast-util-gfm-strikethrough: 2.0.0(supports-color@7.2.0) - mdast-util-gfm-table: 2.0.0(supports-color@7.2.0) - mdast-util-gfm-task-list-item: 2.0.0(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-gfm-autolink-literal: 2.1.2 + mdast-util-gfm-footnote: 2.1.0 + mdast-util-gfm-strikethrough: 2.0.1 + mdast-util-gfm-table: 2.0.1 + mdast-util-gfm-task-list-item: 2.0.1 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color - mdast-util-mdx-expression@2.0.1(supports-color@7.2.0): + mdast-util-mdx-expression@2.0.1: dependencies: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color - mdast-util-mdx-jsx@3.2.0(supports-color@7.2.0): + mdast-util-mdx-jsx@3.2.2: dependencies: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 @@ -6037,33 +5791,33 @@ snapshots: '@types/unist': 3.0.3 ccount: 2.0.1 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 parse-entities: 4.0.2 - stringify-entities: 4.0.4 + stringify-entities: 4.0.5 unist-util-stringify-position: 4.0.0 - vfile-message: 4.0.3 + vfile-message: 4.0.4 transitivePeerDependencies: - supports-color - mdast-util-mdx@3.0.0(supports-color@7.2.0): + mdast-util-mdx@3.0.0: dependencies: - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-mdx-expression: 2.0.1(supports-color@7.2.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@7.2.0) - mdast-util-mdxjs-esm: 2.0.1(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.2.2 + mdast-util-mdxjs-esm: 2.0.1 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color - mdast-util-mdxjs-esm@2.0.1(supports-color@7.2.0): + mdast-util-mdxjs-esm@2.0.1: dependencies: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - mdast-util-to-markdown: 2.2.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 transitivePeerDependencies: - supports-color @@ -6072,19 +5826,19 @@ snapshots: '@types/mdast': 4.0.4 unist-util-is: 6.0.1 - mdast-util-to-hast@13.2.1: + mdast-util-to-hast@13.2.2: dependencies: '@types/hast': 3.0.5 '@types/mdast': 4.0.4 - '@ungap/structured-clone': 1.3.3 + '@ungap/structured-clone': 1.4.0 devlop: 1.1.0 micromark-util-sanitize-uri: 2.0.1 trim-lines: 3.0.1 unist-util-position: 5.0.0 - unist-util-visit: 5.1.0 + unist-util-visit: 5.2.0 vfile: 6.0.3 - mdast-util-to-markdown@2.2.0: + mdast-util-to-markdown@2.2.4: dependencies: '@types/mdast': 4.0.4 '@types/unist': 3.0.3 @@ -6095,75 +5849,75 @@ snapshots: micromark-util-classify-character: 2.0.1 micromark-util-decode-string: 2.0.1 micromark-util-html-tag-name: 2.0.1 - unist-util-visit: 5.1.0 + unist-util-visit: 5.2.0 zwitch: 2.0.4 mdast-util-to-string@4.0.0: dependencies: '@types/mdast': 4.0.4 - mermaid@12.2.0: + mermaid@12.3.0: dependencies: '@braintree/sanitize-url': 7.1.2 - '@iconify/utils': 3.1.4 + '@iconify/utils': 3.1.7 '@mermaid-js/parser': 2.0.1 '@types/d3': 7.4.3 '@upsetjs/venn.js': 2.0.0 chevrotain: 13.2.0 - cytoscape: 3.34.1 - cytoscape-cose-bilkent: 4.1.0(cytoscape@3.34.1) - cytoscape-fcose: 2.2.0(cytoscape@3.34.1) - d3: 7.9.0 + cytoscape: 3.35.0 + cytoscape-cose-bilkent: 4.1.0(cytoscape@3.35.0) + cytoscape-fcose: 2.2.0(cytoscape@3.35.0) + d3: 7.9.2 d3-sankey: 0.12.3 dagre-d3-es: 7.0.14 - dayjs: 1.11.21 - dompurify: 3.4.13 - elkjs: 0.9.3 - es-toolkit: 1.50.0 + dayjs: 1.11.23 + dompurify: 3.5.0 + elkjs: 0.12.1 + es-toolkit: 1.53.2 katex: 0.18.10 khroma: 2.1.0 marked: 16.4.2 roughjs: 4.6.6 stylis: 4.4.0 ts-dedent: 2.3.0 - uuid: 14.0.1 - micromark-core-commonmark@2.0.3: + micromark-core-commonmark@2.0.4: dependencies: decode-named-character-reference: 1.3.0 devlop: 1.1.0 micromark-factory-destination: 2.0.1 micromark-factory-label: 2.0.1 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-factory-title: 2.0.1 micromark-factory-whitespace: 2.0.1 micromark-util-character: 2.1.1 micromark-util-chunked: 2.0.1 micromark-util-classify-character: 2.0.1 + micromark-util-edit-map: 1.0.0 micromark-util-html-tag-name: 2.0.1 micromark-util-normalize-identifier: 2.0.1 micromark-util-resolve-all: 2.0.1 micromark-util-subtokenize: 2.1.0 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-autolink-literal@2.1.0: dependencies: micromark-util-character: 2.1.1 micromark-util-sanitize-uri: 2.0.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-footnote@2.1.0: dependencies: devlop: 1.1.0 - micromark-core-commonmark: 2.0.3 - micromark-factory-space: 2.0.1 + micromark-core-commonmark: 2.0.4 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-normalize-identifier: 2.0.1 micromark-util-sanitize-uri: 2.0.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-strikethrough@2.1.0: dependencies: @@ -6172,27 +5926,27 @@ snapshots: micromark-util-classify-character: 2.0.1 micromark-util-resolve-all: 2.0.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-table@2.1.2: dependencies: devlop: 1.1.0 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-tagfilter@2.0.0: dependencies: - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm-task-list-item@2.1.0: dependencies: devlop: 1.1.0 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-gfm@3.0.0: dependencies: @@ -6203,107 +5957,107 @@ snapshots: micromark-extension-gfm-tagfilter: 2.0.0 micromark-extension-gfm-task-list-item: 2.1.0 micromark-util-combine-extensions: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-mdx-expression@3.0.1: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 devlop: 1.1.0 micromark-factory-mdx-expression: 2.0.3 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-events-to-acorn: 2.0.3 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-mdx-jsx@3.0.2: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 devlop: 1.1.0 estree-util-is-identifier-name: 3.0.0 micromark-factory-mdx-expression: 2.0.3 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-events-to-acorn: 2.0.3 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 - vfile-message: 4.0.3 + micromark-util-types: 2.0.3 + vfile-message: 4.0.4 micromark-extension-mdx-md@2.0.0: dependencies: - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-extension-mdxjs-esm@3.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 devlop: 1.1.0 - micromark-core-commonmark: 2.0.3 + micromark-core-commonmark: 2.0.4 micromark-util-character: 2.1.1 micromark-util-events-to-acorn: 2.0.3 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 unist-util-position-from-estree: 2.0.0 - vfile-message: 4.0.3 + vfile-message: 4.0.4 micromark-extension-mdxjs@3.0.0: dependencies: - acorn: 8.18.0 - acorn-jsx: 5.3.2(acorn@8.18.0) + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) micromark-extension-mdx-expression: 3.0.1 micromark-extension-mdx-jsx: 3.0.2 micromark-extension-mdx-md: 2.0.0 micromark-extension-mdxjs-esm: 3.0.0 micromark-util-combine-extensions: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-factory-destination@2.0.1: dependencies: micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-factory-label@2.0.1: dependencies: devlop: 1.1.0 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-factory-mdx-expression@2.0.3: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 devlop: 1.1.0 - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-events-to-acorn: 2.0.3 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 unist-util-position-from-estree: 2.0.0 - vfile-message: 4.0.3 + vfile-message: 4.0.4 - micromark-factory-space@2.0.1: + micromark-factory-space@2.1.0: dependencies: micromark-util-character: 2.1.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-factory-title@2.0.1: dependencies: - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-factory-whitespace@2.0.1: dependencies: - micromark-factory-space: 2.0.1 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-character@2.1.1: dependencies: micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-chunked@2.0.1: dependencies: @@ -6313,12 +6067,12 @@ snapshots: dependencies: micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-combine-extensions@2.0.1: dependencies: micromark-util-chunked: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-decode-numeric-character-reference@2.0.2: dependencies: @@ -6333,19 +6087,19 @@ snapshots: micromark-util-edit-map@1.0.0: dependencies: - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-encode@2.0.1: {} micromark-util-events-to-acorn@2.0.3: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/unist': 3.0.3 devlop: 1.1.0 estree-util-visit: 2.0.0 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 - vfile-message: 4.0.3 + micromark-util-types: 2.0.3 + vfile-message: 4.0.4 micromark-util-html-tag-name@2.0.1: {} @@ -6355,7 +6109,7 @@ snapshots: micromark-util-resolve-all@2.0.1: dependencies: - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-sanitize-uri@2.0.1: dependencies: @@ -6368,20 +6122,20 @@ snapshots: devlop: 1.1.0 micromark-util-chunked: 2.0.1 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 micromark-util-symbol@2.0.1: {} - micromark-util-types@2.0.2: {} + micromark-util-types@2.0.3: {} - micromark@4.0.3(supports-color@7.2.0): + micromark@4.0.3: dependencies: '@types/debug': 4.1.13 - debug: 4.4.3(supports-color@7.2.0) + debug: 4.4.3 decode-named-character-reference: 1.3.0 devlop: 1.1.0 - micromark-core-commonmark: 2.0.3 - micromark-factory-space: 2.0.1 + micromark-core-commonmark: 2.0.4 + micromark-factory-space: 2.1.0 micromark-util-character: 2.1.1 micromark-util-chunked: 2.0.1 micromark-util-combine-extensions: 2.0.1 @@ -6393,20 +6147,20 @@ snapshots: micromark-util-sanitize-uri: 2.0.1 micromark-util-subtokenize: 2.1.0 micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 + micromark-util-types: 2.0.3 transitivePeerDependencies: - supports-color - motion-dom@14.6.0: + motion-dom@14.14.0: dependencies: - motion-utils: 14.6.0 + motion-utils: 14.7.0 - motion-utils@14.6.0: {} + motion-utils@14.7.0: {} - motion@14.6.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1): + motion@14.14.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: - framer-motion: 14.6.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - tslib: 2.8.1 + framer-motion: 14.14.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + tslib: 2.9.1 optionalDependencies: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -6420,34 +6174,31 @@ snapshots: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - next@16.4.3(@babel/core@7.29.7(supports-color@7.2.0))(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1): + next@16.4.6(@types/node@26.6.6)(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: - '@next/env': 16.4.3 + '@next/env': 16.4.6 '@swc/helpers': 0.5.23 - baseline-browser-mapping: 2.11.13 - caniuse-lite: 1.0.30001809 + baseline-browser-mapping: 2.11.39 + caniuse-lite: 1.0.30001826 postcss: 8.5.23 react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - styled-jsx: 5.1.6(@babel/core@7.29.7(supports-color@7.2.0))(react@19.3.1) + styled-jsx: 5.1.6(react@19.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 16.4.3 - '@next/swc-darwin-x64': 16.4.3 - '@next/swc-linux-arm64-gnu': 16.4.3 - '@next/swc-linux-arm64-musl': 16.4.3 - '@next/swc-linux-x64-gnu': 16.4.3 - '@next/swc-linux-x64-musl': 16.4.3 - '@next/swc-win32-arm64-msvc': 16.4.3 - '@next/swc-win32-x64-msvc': 16.4.3 + '@next/swc-darwin-arm64': 16.4.6 + '@next/swc-darwin-x64': 16.4.6 + '@next/swc-linux-arm64-gnu': 16.4.6 + '@next/swc-linux-arm64-musl': 16.4.6 + '@next/swc-linux-x64-gnu': 16.4.6 + '@next/swc-linux-x64-musl': 16.4.6 + '@next/swc-win32-arm64-msvc': 16.4.6 + '@next/swc-win32-x64-msvc': 16.4.6 sharp: 0.35.5(@types/node@26.6.6) transitivePeerDependencies: - '@babel/core' - '@types/node' - babel-plugin-macros - node-releases@2.0.51: - optional: true - npm-to-yarn@3.2.0: {} object-assign@4.1.1: {} @@ -6462,53 +6213,53 @@ snapshots: regex: 6.1.0 regex-recursion: 6.0.2 - oxfmt@0.75.0: + oxfmt@0.79.0: dependencies: tinypool: 2.2.0 optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.75.0 - '@oxfmt/binding-android-arm64': 0.75.0 - '@oxfmt/binding-darwin-arm64': 0.75.0 - '@oxfmt/binding-darwin-x64': 0.75.0 - '@oxfmt/binding-freebsd-x64': 0.75.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.75.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.75.0 - '@oxfmt/binding-linux-arm64-gnu': 0.75.0 - '@oxfmt/binding-linux-arm64-musl': 0.75.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.75.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.75.0 - '@oxfmt/binding-linux-riscv64-musl': 0.75.0 - '@oxfmt/binding-linux-s390x-gnu': 0.75.0 - '@oxfmt/binding-linux-x64-gnu': 0.75.0 - '@oxfmt/binding-linux-x64-musl': 0.75.0 - '@oxfmt/binding-openharmony-arm64': 0.75.0 - '@oxfmt/binding-win32-arm64-msvc': 0.75.0 - '@oxfmt/binding-win32-ia32-msvc': 0.75.0 - '@oxfmt/binding-win32-x64-msvc': 0.75.0 + '@oxfmt/binding-android-arm-eabi': 0.79.0 + '@oxfmt/binding-android-arm64': 0.79.0 + '@oxfmt/binding-darwin-arm64': 0.79.0 + '@oxfmt/binding-darwin-x64': 0.79.0 + '@oxfmt/binding-freebsd-x64': 0.79.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.79.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.79.0 + '@oxfmt/binding-linux-arm64-gnu': 0.79.0 + '@oxfmt/binding-linux-arm64-musl': 0.79.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.79.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.79.0 + '@oxfmt/binding-linux-riscv64-musl': 0.79.0 + '@oxfmt/binding-linux-s390x-gnu': 0.79.0 + '@oxfmt/binding-linux-x64-gnu': 0.79.0 + '@oxfmt/binding-linux-x64-musl': 0.79.0 + '@oxfmt/binding-openharmony-arm64': 0.79.0 + '@oxfmt/binding-win32-arm64-msvc': 0.79.0 + '@oxfmt/binding-win32-ia32-msvc': 0.79.0 + '@oxfmt/binding-win32-x64-msvc': 0.79.0 - oxlint@1.90.0: + oxlint@1.94.0: optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.90.0 - '@oxlint/binding-android-arm64': 1.90.0 - '@oxlint/binding-darwin-arm64': 1.90.0 - '@oxlint/binding-darwin-x64': 1.90.0 - '@oxlint/binding-freebsd-x64': 1.90.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.90.0 - '@oxlint/binding-linux-arm-musleabihf': 1.90.0 - '@oxlint/binding-linux-arm64-gnu': 1.90.0 - '@oxlint/binding-linux-arm64-musl': 1.90.0 - '@oxlint/binding-linux-ppc64-gnu': 1.90.0 - '@oxlint/binding-linux-riscv64-gnu': 1.90.0 - '@oxlint/binding-linux-riscv64-musl': 1.90.0 - '@oxlint/binding-linux-s390x-gnu': 1.90.0 - '@oxlint/binding-linux-x64-gnu': 1.90.0 - '@oxlint/binding-linux-x64-musl': 1.90.0 - '@oxlint/binding-openharmony-arm64': 1.90.0 - '@oxlint/binding-win32-arm64-msvc': 1.90.0 - '@oxlint/binding-win32-ia32-msvc': 1.90.0 - '@oxlint/binding-win32-x64-msvc': 1.90.0 + '@oxlint/binding-android-arm-eabi': 1.94.0 + '@oxlint/binding-android-arm64': 1.94.0 + '@oxlint/binding-darwin-arm64': 1.94.0 + '@oxlint/binding-darwin-x64': 1.94.0 + '@oxlint/binding-freebsd-x64': 1.94.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.94.0 + '@oxlint/binding-linux-arm-musleabihf': 1.94.0 + '@oxlint/binding-linux-arm64-gnu': 1.94.0 + '@oxlint/binding-linux-arm64-musl': 1.94.0 + '@oxlint/binding-linux-ppc64-gnu': 1.94.0 + '@oxlint/binding-linux-riscv64-gnu': 1.94.0 + '@oxlint/binding-linux-riscv64-musl': 1.94.0 + '@oxlint/binding-linux-s390x-gnu': 1.94.0 + '@oxlint/binding-linux-x64-gnu': 1.94.0 + '@oxlint/binding-linux-x64-musl': 1.94.0 + '@oxlint/binding-openharmony-arm64': 1.94.0 + '@oxlint/binding-win32-arm64-msvc': 1.94.0 + '@oxlint/binding-win32-ia32-msvc': 1.94.0 + '@oxlint/binding-win32-x64-msvc': 1.94.0 - package-manager-detector@1.8.0: {} + package-manager-detector@1.9.0: {} parse-entities@4.0.2: dependencies: @@ -6539,13 +6290,13 @@ snapshots: dependencies: nanoid: 3.3.20 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.4 - postcss@8.5.32: + postcss@8.5.33: dependencies: nanoid: 3.3.20 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.4 prop-types@15.8.1: dependencies: @@ -6574,7 +6325,7 @@ snapshots: dependencies: react: 19.3.1 react-style-singleton: 2.2.3(@types/react@19.3.0)(react@19.3.1) - tslib: 2.8.1 + tslib: 2.9.1 optionalDependencies: '@types/react': 19.3.0 @@ -6583,7 +6334,7 @@ snapshots: react: 19.3.1 react-remove-scroll-bar: 2.3.8(@types/react@19.3.0)(react@19.3.1) react-style-singleton: 2.2.3(@types/react@19.3.0)(react@19.3.1) - tslib: 2.8.1 + tslib: 2.9.1 use-callback-ref: 1.3.3(@types/react@19.3.0)(react@19.3.1) use-sidecar: 1.1.3(@types/react@19.3.0)(react@19.3.1) optionalDependencies: @@ -6593,7 +6344,7 @@ snapshots: dependencies: get-nonce: 1.0.1 react: 19.3.1 - tslib: 2.8.1 + tslib: 2.9.1 optionalDependencies: '@types/react': 19.3.0 @@ -6603,14 +6354,14 @@ snapshots: recma-build-jsx@1.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 estree-util-build-jsx: 3.0.1 vfile: 6.0.3 - recma-jsx@1.0.1(acorn@8.18.0): + recma-jsx@1.0.1(acorn@8.19.0): dependencies: - acorn: 8.18.0 - acorn-jsx: 5.3.2(acorn@8.18.0) + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) estree-util-to-js: 2.0.0 recma-parse: 1.0.0 recma-stringify: 1.0.0 @@ -6618,14 +6369,14 @@ snapshots: recma-parse@1.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 esast-util-from-js: 2.0.1 unified: 11.0.5 vfile: 6.0.3 recma-stringify@1.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 estree-util-to-js: 2.0.0 unified: 11.0.5 vfile: 6.0.3 @@ -6640,37 +6391,37 @@ snapshots: dependencies: regex-utilities: 2.3.0 - rehype-recma@1.0.0(supports-color@7.2.0): + rehype-recma@1.0.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 '@types/hast': 3.0.5 - hast-util-to-estree: 3.1.3(supports-color@7.2.0) + hast-util-to-estree: 3.1.3 transitivePeerDependencies: - supports-color - remark-gfm@4.0.1(supports-color@7.2.0): + remark-gfm@4.0.1: dependencies: '@types/mdast': 4.0.4 - mdast-util-gfm: 3.1.0(supports-color@7.2.0) + mdast-util-gfm: 3.1.0 micromark-extension-gfm: 3.0.0 - remark-parse: 11.0.0(supports-color@7.2.0) + remark-parse: 11.0.0 remark-stringify: 11.0.0 unified: 11.0.5 transitivePeerDependencies: - supports-color - remark-mdx@3.1.1(supports-color@7.2.0): + remark-mdx@3.1.1: dependencies: - mdast-util-mdx: 3.0.0(supports-color@7.2.0) + mdast-util-mdx: 3.0.0 micromark-extension-mdxjs: 3.0.0 transitivePeerDependencies: - supports-color - remark-parse@11.0.0(supports-color@7.2.0): + remark-parse@11.0.0: dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.3(supports-color@7.2.0) - micromark-util-types: 2.0.2 + mdast-util-from-markdown: 2.1.0 + micromark-util-types: 2.0.3 unified: 11.0.5 transitivePeerDependencies: - supports-color @@ -6679,20 +6430,20 @@ snapshots: dependencies: '@types/hast': 3.0.5 '@types/mdast': 4.0.4 - mdast-util-to-hast: 13.2.1 + mdast-util-to-hast: 13.2.2 unified: 11.0.5 vfile: 6.0.3 remark-stringify@11.0.0: dependencies: '@types/mdast': 4.0.4 - mdast-util-to-markdown: 2.2.0 + mdast-util-to-markdown: 2.2.4 unified: 11.0.5 - remark@15.0.1(supports-color@7.2.0): + remark@15.0.1: dependencies: '@types/mdast': 4.0.4 - remark-parse: 11.0.0(supports-color@7.2.0) + remark-parse: 11.0.0 remark-stringify: 11.0.0 unified: 11.0.5 transitivePeerDependencies: @@ -6702,26 +6453,27 @@ snapshots: robust-predicates@3.0.3: {} - rolldown@1.1.5: + rolldown@1.2.19: dependencies: - '@oxc-project/types': 0.139.0 - '@rolldown/pluginutils': 1.0.1 + '@oxc-project/types': 0.156.0 + '@rolldown/pluginutils': 1.1.1 optionalDependencies: - '@rolldown/binding-android-arm64': 1.1.5 - '@rolldown/binding-darwin-arm64': 1.1.5 - '@rolldown/binding-darwin-x64': 1.1.5 - '@rolldown/binding-freebsd-x64': 1.1.5 - '@rolldown/binding-linux-arm-gnueabihf': 1.1.5 - '@rolldown/binding-linux-arm64-gnu': 1.1.5 - '@rolldown/binding-linux-arm64-musl': 1.1.5 - '@rolldown/binding-linux-ppc64-gnu': 1.1.5 - '@rolldown/binding-linux-s390x-gnu': 1.1.5 - '@rolldown/binding-linux-x64-gnu': 1.1.5 - '@rolldown/binding-linux-x64-musl': 1.1.5 - '@rolldown/binding-openharmony-arm64': 1.1.5 - '@rolldown/binding-wasm32-wasi': 1.1.5 - '@rolldown/binding-win32-arm64-msvc': 1.1.5 - '@rolldown/binding-win32-x64-msvc': 1.1.5 + '@rolldown/binding-android-arm-eabi': 1.2.19 + '@rolldown/binding-android-arm64': 1.2.19 + '@rolldown/binding-darwin-arm64': 1.2.19 + '@rolldown/binding-darwin-x64': 1.2.19 + '@rolldown/binding-freebsd-x64': 1.2.19 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.19 + '@rolldown/binding-linux-arm64-gnu': 1.2.19 + '@rolldown/binding-linux-arm64-musl': 1.2.19 + '@rolldown/binding-linux-ppc64-gnu': 1.2.19 + '@rolldown/binding-linux-s390x-gnu': 1.2.19 + '@rolldown/binding-linux-x64-gnu': 1.2.19 + '@rolldown/binding-linux-x64-musl': 1.2.19 + '@rolldown/binding-openharmony-arm64': 1.2.19 + '@rolldown/binding-wasm32-wasi': 1.2.19 + '@rolldown/binding-win32-arm64-msvc': 1.2.19 + '@rolldown/binding-win32-x64-msvc': 1.2.19 roughjs@4.6.6: dependencies: @@ -6736,21 +6488,18 @@ snapshots: scheduler@0.28.0: {} - scroll-into-view-if-needed@3.1.0: + scroll-into-view-if-needed@3.2.1: dependencies: - compute-scroll-into-view: 3.1.1 + compute-scroll-into-view: 3.2.2 - semver@6.3.1: - optional: true - - semver@7.8.5: + semver@7.8.6: optional: true sharp@0.35.5(@types/node@26.6.6): dependencies: '@img/colour': 1.1.0 detect-libc: 2.1.2 - semver: 7.8.5 + semver: 7.8.6 optionalDependencies: '@img/sharp-darwin-arm64': 0.35.5 '@img/sharp-darwin-x64': 0.35.5 @@ -6780,20 +6529,18 @@ snapshots: '@types/node': 26.6.6 optional: true - shiki@4.5.0: + shiki@4.6.0: dependencies: - '@shikijs/core': 4.5.0 - '@shikijs/engine-javascript': 4.5.0 - '@shikijs/engine-oniguruma': 4.5.0 - '@shikijs/langs': 4.5.0 - '@shikijs/themes': 4.5.0 - '@shikijs/types': 4.5.0 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/core': 4.6.0 + '@shikijs/engine-javascript': 4.6.0 + '@shikijs/engine-oniguruma': 4.6.0 + '@shikijs/langs': 4.6.0 + '@shikijs/themes': 4.6.0 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - source-map-js@1.2.1: {} - - source-map-js@1.2.2: {} + source-map-js@1.2.4: {} source-map@0.7.6: {} @@ -6801,7 +6548,7 @@ snapshots: std-env@4.3.0: {} - stringify-entities@4.0.4: + stringify-entities@4.0.5: dependencies: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 @@ -6814,27 +6561,24 @@ snapshots: dependencies: inline-style-parser: 0.2.7 - styled-jsx@5.1.6(@babel/core@7.29.7(supports-color@7.2.0))(react@19.3.1): + style-to-object@2.0.2: + dependencies: + inline-style-parser: 0.2.9 + + styled-jsx@5.1.6(react@19.3.1): dependencies: client-only: 0.0.1 react: 19.3.1 - optionalDependencies: - '@babel/core': 7.29.7(supports-color@7.2.0) stylis@4.4.0: {} - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 - optional: true + tailwind-merge@3.7.1: {} - tailwind-merge@3.7.0: {} + tailwindcss@4.3.5: {} - tailwindcss@4.3.3: {} + tapable@2.3.4: {} - tapable@2.3.3: {} - - tinybench@6.2.2: {} + tinybench@6.2.4: {} tinyexec@1.3.1: {} @@ -6851,7 +6595,7 @@ snapshots: ts-dedent@2.3.0: {} - tslib@2.8.1: {} + tslib@2.9.1: {} typescript@7.0.2: optionalDependencies: @@ -6878,10 +6622,10 @@ snapshots: undici-types@8.9.0: {} - undici@7.30.1: {} - undici@8.12.3: {} + undici@8.13.1: {} + unified@11.0.5: dependencies: '@types/unist': 3.0.3 @@ -6907,34 +6651,27 @@ snapshots: unist-util-remove-position@5.0.0: dependencies: '@types/unist': 3.0.3 - unist-util-visit: 5.1.0 + unist-util-visit: 5.2.0 unist-util-stringify-position@4.0.0: dependencies: '@types/unist': 3.0.3 - unist-util-visit-parents@6.0.2: + unist-util-visit-parents@6.1.0: dependencies: '@types/unist': 3.0.3 unist-util-is: 6.0.1 - unist-util-visit@5.1.0: + unist-util-visit@5.2.0: dependencies: '@types/unist': 3.0.3 unist-util-is: 6.0.1 - unist-util-visit-parents: 6.0.2 - - update-browserslist-db@1.2.3(browserslist@4.28.7): - dependencies: - browserslist: 4.28.7 - escalade: 3.2.0 - picocolors: 1.1.1 - optional: true + unist-util-visit-parents: 6.1.0 use-callback-ref@1.3.3(@types/react@19.3.0)(react@19.3.1): dependencies: react: 19.3.1 - tslib: 2.8.1 + tslib: 2.9.1 optionalDependencies: '@types/react': 19.3.0 @@ -6942,7 +6679,7 @@ snapshots: dependencies: detect-node-es: 1.1.0 react: 19.3.1 - tslib: 2.8.1 + tslib: 2.9.1 optionalDependencies: '@types/react': 19.3.0 @@ -6950,9 +6687,7 @@ snapshots: dependencies: react: 19.3.1 - uuid@14.0.1: {} - - vfile-message@4.0.3: + vfile-message@4.0.4: dependencies: '@types/unist': 3.0.3 unist-util-stringify-position: 4.0.0 @@ -6960,14 +6695,14 @@ snapshots: vfile@6.0.3: dependencies: '@types/unist': 3.0.3 - vfile-message: 4.0.3 + vfile-message: 4.0.4 - vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1): + vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 - postcss: 8.5.32 - rolldown: 1.1.5 + postcss: 8.5.33 + rolldown: 1.2.19 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 26.6.6 @@ -6976,21 +6711,21 @@ snapshots: jiti: 2.7.0 yaml: 2.9.1 - vitest@5.0.5(@types/node@26.6.6)(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): + vitest@5.1.1(@types/node@26.6.6)(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): dependencies: '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.5(vite@8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) + '@vitest/mocker': 5.1.1(vite@8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) chai: 6.3.0 es-module-lexer: 2.3.2 expect-type: 1.4.0 - magic-string: 1.4.3 + magic-string: 1.4.5 obug: 3.0.0 picomatch: 4.0.7 std-env: 4.3.0 - tinybench: 6.2.2 + tinybench: 6.2.4 tinyexec: 1.3.1 tinyglobby: 0.2.17 - vite: 8.1.0(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) + vite: 8.3.8(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) why-is-node-running: 3.2.1 optionalDependencies: '@types/node': 26.6.6 @@ -7001,9 +6736,6 @@ snapshots: why-is-node-running@3.2.1: {} - yallist@3.1.1: - optional: true - yaml@2.9.1: {} yuku-analyzer@0.19.0: @@ -7059,7 +6791,7 @@ snapshots: '@yuku-toolchain/types': 0.17.0 yuku-core: 0.17.0 - zbsearch@4.0.1: {} + zbsearch@4.0.4: {} zod@4.6.7: {} diff --git a/docs/pnpm-workspace.yaml b/docs/pnpm-workspace.yaml index 01f0cfec3..a9483f103 100644 --- a/docs/pnpm-workspace.yaml +++ b/docs/pnpm-workspace.yaml @@ -10,16 +10,3 @@ overrides: # @tailwindcss/node 4.3.3 pins 1.32.0, which rejects fumadocs-ui's ::highlight(fd-search). 'lightningcss@<1.33.0': '^1.33.0' minimumReleaseAgeExcludePrune: true -minimumReleaseAgeExclude: - - '@fumadocs/json-schema@0.3.5' - - '@next/env@16.4.3' - - '@next/swc-darwin-arm64@16.4.3' - - '@next/swc-darwin-x64@16.4.3' - - '@next/swc-linux-arm64-gnu@16.4.3' - - '@next/swc-linux-arm64-musl@16.4.3' - - '@next/swc-linux-x64-gnu@16.4.3' - - '@next/swc-linux-x64-musl@16.4.3' - - '@next/swc-win32-arm64-msvc@16.4.3' - - '@next/swc-win32-x64-msvc@16.4.3' - - fumadocs-mdx@15.4.10 - - next@16.4.3 diff --git a/docs/public/images/hwid-device-blocking.png b/docs/public/images/hwid-device-blocking.png new file mode 100644 index 000000000..33109a996 Binary files /dev/null and b/docs/public/images/hwid-device-blocking.png differ diff --git a/docs/public/images/network-traffic-automatic.png b/docs/public/images/network-traffic-automatic.png new file mode 100644 index 000000000..8f539f97e Binary files /dev/null and b/docs/public/images/network-traffic-automatic.png differ diff --git a/docs/public/images/network-traffic-interface.png b/docs/public/images/network-traffic-interface.png new file mode 100644 index 000000000..c16c867e6 Binary files /dev/null and b/docs/public/images/network-traffic-interface.png differ diff --git a/docs/public/images/node-restart-confirm.png b/docs/public/images/node-restart-confirm.png new file mode 100644 index 000000000..c125a18b1 Binary files /dev/null and b/docs/public/images/node-restart-confirm.png differ diff --git a/docs/public/images/node-restart-desktop.png b/docs/public/images/node-restart-desktop.png new file mode 100644 index 000000000..72e0f1c42 Binary files /dev/null and b/docs/public/images/node-restart-desktop.png differ diff --git a/docs/public/images/node-restart-mobile.png b/docs/public/images/node-restart-mobile.png new file mode 100644 index 000000000..cdc134b1d Binary files /dev/null and b/docs/public/images/node-restart-mobile.png differ diff --git a/docs/public/images/subscription-hwid-rejection.png b/docs/public/images/subscription-hwid-rejection.png new file mode 100644 index 000000000..6007b971e Binary files /dev/null and b/docs/public/images/subscription-hwid-rejection.png differ diff --git a/docs/public/images/wechat-settings.png b/docs/public/images/wechat-settings.png new file mode 100644 index 000000000..dfdbb0878 Binary files /dev/null and b/docs/public/images/wechat-settings.png differ diff --git a/docs/public/openapi.json b/docs/public/openapi.json index c999960f5..8ee92524e 100644 --- a/docs/public/openapi.json +++ b/docs/public/openapi.json @@ -152,6 +152,22 @@ "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -170,6 +186,21 @@ "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -354,6 +385,9 @@ "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -504,6 +538,14 @@ "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -607,6 +649,40 @@ "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -648,10 +724,17 @@ "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -710,6 +793,7 @@ "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -759,6 +843,8 @@ "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -789,7 +875,17 @@ "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -872,6 +968,12 @@ "hasWarpSecret": { "type": "boolean" }, + "hasWechatToken": { + "type": "boolean" + }, + "hasWechatWebhookURL": { + "type": "boolean" + }, "ipLimitAllowlist": { "type": "string" }, @@ -943,6 +1045,22 @@ "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -961,6 +1079,21 @@ "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -1145,6 +1278,9 @@ "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -1295,6 +1431,14 @@ "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -1398,6 +1542,40 @@ "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -1425,6 +1603,8 @@ "hasTgBotToken", "hasTwoFactorToken", "hasWarpSecret", + "hasWechatToken", + "hasWechatWebhookURL", "ipLimitAllowlist", "ldapAutoCreate", "ldapAutoDelete", @@ -1447,10 +1627,17 @@ "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -1509,6 +1696,7 @@ "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -1558,6 +1746,8 @@ "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -1588,7 +1778,17 @@ "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -1703,6 +1903,140 @@ ], "type": "object" }, + "AttachCandidate": { + "properties": { + "alreadyAttached": { + "example": false, + "type": "boolean" + }, + "comment": { + "example": "Example client", + "type": "string" + }, + "email": { + "example": "alice@example.test", + "type": "string" + }, + "enable": { + "example": true, + "type": "boolean" + }, + "group": { + "example": "staff", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inScope": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "alreadyAttached", + "comment", + "email", + "enable", + "group", + "id", + "inScope" + ], + "type": "object" + }, + "AttachCandidatePage": { + "properties": { + "eligible": { + "example": 118, + "format": "int64", + "type": "integer" + }, + "groups": { + "example": [ + "staff" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "items": { + "items": { + "$ref": "#/components/schemas/AttachCandidate" + }, + "type": "array" + }, + "maxId": { + "type": "integer" + }, + "scopeToken": { + "type": "string" + }, + "total": { + "example": 120, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "eligible", + "groups", + "items", + "total" + ], + "type": "object" + }, + "AttachJobStatus": { + "properties": { + "ended": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "result": { + "allOf": [ + { + "$ref": "#/components/schemas/AttachSelectionResult" + } + ], + "nullable": true + }, + "running": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "ended", + "running" + ], + "type": "object" + }, + "AttachSelectionResult": { + "properties": { + "attached": { + "example": 9997, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "attached", + "errors", + "skipped" + ], + "type": "object" + }, "Blocker": { "description": "Blocker is one unmet requirement.", "properties": { @@ -1720,6 +2054,73 @@ ], "type": "object" }, + "BulkAdjustReport": { + "properties": { + "email": { + "example": "carol", + "type": "string" + }, + "reason": { + "example": "client not found", + "type": "string" + } + }, + "required": [ + "email", + "reason" + ], + "type": "object" + }, + "BulkAdjustResult": { + "description": "BulkAdjustResult reports changed clients and per-client skip reasons.\nExternalLinks contains row counts only for append requests.", + "properties": { + "adjusted": { + "example": 2, + "type": "integer" + }, + "externalLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/BulkExternalLinksResult" + } + ], + "nullable": true + }, + "skipped": { + "example": [], + "items": { + "$ref": "#/components/schemas/BulkAdjustReport" + }, + "type": "array" + } + }, + "required": [ + "adjusted" + ], + "type": "object" + }, + "BulkExternalLinksResult": { + "properties": { + "added": { + "example": 4, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "added", + "errors", + "skipped" + ], + "type": "object" + }, "Client": { "description": "Client represents a client configuration for Xray inbounds with traffic limits and settings.", "properties": { @@ -1892,6 +2293,15 @@ "description": "Last update timestamp", "format": "int64", "type": "integer" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -1911,6 +2321,52 @@ ], "type": "object" }, + "ClientChangeLog": { + "description": "ClientChangeLog records one metadata change to a client: one row per\nchanged field, newest read first in the client's usage history.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "field": { + "example": "dataLimit", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "newValue": { + "example": "21474836480", + "type": "string" + }, + "oldValue": { + "example": "10737418240", + "type": "string" + }, + "source": { + "description": "panel | tgbot | auto-renew", + "example": "panel", + "type": "string" + } + }, + "required": [ + "at", + "email", + "field", + "id", + "newValue", + "oldValue", + "source" + ], + "type": "object" + }, "ClientInbound": { "properties": { "clientId": { @@ -1935,6 +2391,36 @@ ], "type": "object" }, + "ClientNodeUsage": { + "description": "ClientNodeUsage is one node's counters for a client since its last reset.", + "properties": { + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "nodeId": { + "example": 7, + "type": "integer" + }, + "nodeName": { + "example": "de-fra-1", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "down", + "nodeId", + "nodeName", + "up" + ], + "type": "object" + }, "ClientPageResponse": { "description": "ClientPageResponse is the shape returned by ListPaged. `Total` is the\nrow count in the DB; `Filtered` is the count after Search/Filter/Protocol\nwere applied, before pagination. The page contains at most PageSize items.\nSummary is computed across the full DB row set so dashboard counters\non the clients page stay stable as the user paginates/filters.", "properties": { @@ -2106,6 +2592,15 @@ }, "uuid": { "type": "string" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -2141,7 +2636,9 @@ "trafficReset", "trafficResetDay", "updatedAt", - "uuid" + "uuid", + "wgDeviceLimit", + "wireguardDevices" ], "type": "object" }, @@ -2454,6 +2951,107 @@ ], "type": "object" }, + "ClientTrafficWindow": { + "description": "ClientTrafficWindow is one closed traffic window of a client: usage zeroed at a\nreset or an auto-renewal; lifetime = SUM(rows) + live counters.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "reason": { + "description": "reset | renew | earlier", + "example": "reset", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "at", + "down", + "email", + "id", + "reason", + "up" + ], + "type": "object" + }, + "ClientUsageHistory": { + "description": "ClientUsageHistory is what the client editor's history button shows.", + "properties": { + "changes": { + "items": { + "$ref": "#/components/schemas/ClientChangeLog" + }, + "type": "array" + }, + "currentDown": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "currentUp": { + "example": 1048576, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "lifetimeDown": { + "example": 21474836480, + "format": "int64", + "type": "integer" + }, + "lifetimeUp": { + "example": 10737418240, + "format": "int64", + "type": "integer" + }, + "nodes": { + "items": { + "$ref": "#/components/schemas/ClientNodeUsage" + }, + "type": "array" + }, + "windows": { + "items": { + "$ref": "#/components/schemas/ClientTrafficWindow" + }, + "type": "array" + } + }, + "required": [ + "changes", + "currentDown", + "currentUp", + "email", + "lifetimeDown", + "lifetimeUp", + "nodes", + "windows" + ], + "type": "object" + }, "ClientsSummary": { "description": "ClientsSummary collects per-bucket counts plus the matching email lists so\nthe clients page can render the dashboard stat cards and their hover\npopovers without shipping the full client array. The counters are exact;\nthe lists stop at clientSummaryEmailCap entries and only back the popovers.", "properties": { @@ -2528,6 +3126,40 @@ ], "type": "object" }, + "ExternalLinkInput": { + "description": "ExternalLinkInput is one row from the client form's Links tab.", + "properties": { + "enable": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "expiryTime": { + "example": 0, + "format": "int64", + "type": "integer" + }, + "kind": { + "example": "link", + "type": "string" + }, + "namePrefix": { + "type": "string" + }, + "remark": { + "example": "Backup", + "type": "string" + }, + "value": { + "example": "vless://uuid@example.com:443", + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "FallbackParentInfo": { "description": "FallbackParentInfo carries everything the frontend needs to rewrite a\nchild inbound's client link: where to connect (the master's address\nand port) and which path matched on the master's fallbacks array.\nThe frontend already has the master inbound in its dbInbounds list,\nso we only ship identifiers + the match path here.", "properties": { @@ -3216,6 +3848,11 @@ "minimum": 0, "type": "integer" }, + "preserveClientTraffic": { + "description": "Older snapshots omit this field.\nKeep client usage during scheduled inbound resets", + "nullable": true, + "type": "boolean" + }, "protocol": { "enum": [ "vmess", @@ -3609,6 +4246,72 @@ ], "type": "object" }, + "NetworkInterfaceOption": { + "properties": { + "name": { + "example": "eth0", + "type": "string" + }, + "up": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "name", + "up" + ], + "type": "object" + }, + "NetworkInterfacesResponse": { + "properties": { + "automatic": { + "example": "eth0", + "type": "string" + }, + "automaticError": { + "type": "string" + }, + "interfaces": { + "items": { + "$ref": "#/components/schemas/NetworkInterfaceOption" + }, + "type": "array" + } + }, + "required": [ + "automatic", + "automaticError", + "interfaces" + ], + "type": "object" + }, + "NetworkTrafficSelection": { + "properties": { + "available": { + "example": true, + "type": "boolean" + }, + "error": { + "type": "string" + }, + "mode": { + "example": "manual", + "type": "string" + }, + "name": { + "example": "eth0", + "type": "string" + } + }, + "required": [ + "available", + "error", + "mode", + "name" + ], + "type": "object" + }, "NewUUIDResponse": { "properties": { "uuid": { @@ -3731,6 +4434,11 @@ "example": 3, "type": "integer" }, + "onlineTotalCount": { + "description": "OnlineTotalCount also counts clients on inbounds this panel does not sync.", + "example": 7, + "type": "integer" + }, "outboundTag": { "type": "string" }, @@ -3834,6 +4542,7 @@ "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4056,6 +4765,10 @@ "example": 5, "type": "integer" }, + "onlineTotalCount": { + "example": 9, + "type": "integer" + }, "outboundTag": { "example": "direct", "type": "string" @@ -4149,6 +4862,7 @@ "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4196,6 +4910,34 @@ ], "type": "object" }, + "PanelRestart": { + "description": "PanelRestart describes the listener that took the restart call and the one that follows.", + "properties": { + "nextPort": { + "example": 2053, + "type": "integer" + }, + "nextTls": { + "example": false, + "type": "boolean" + }, + "port": { + "example": 2053, + "type": "integer" + }, + "tls": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "nextPort", + "nextTls", + "port", + "tls" + ], + "type": "object" + }, "PanelUpdateStatus": { "description": "PanelUpdateStatus reports the outcome of the most recently launched panel\nself-update. RunID lets the caller confirm this status belongs to the\nupdate it started rather than a stale result left over from an earlier\nrun; State is one of \"pending\", \"success\", or \"failed\". RunID is a decimal\nstring, not a JSON number: it's a formatted UnixNano timestamp, and\nJavaScript's number type can't represent that precisely (it exceeds\nNumber.MAX_SAFE_INTEGER), which would let two different runs round to the\nsame value on the wire and defeat the whole point of this field.", "properties": { @@ -4496,6 +5238,132 @@ ], "type": "object" }, + "RealityWatchEntry": { + "description": "RealityWatchEntry is what the admin sets per inbound: spare targets (host:port) in order\nof preference, and whether a dead target is replaced without asking.", + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "auto", + "spares" + ], + "type": "object" + }, + "RealityWatchEvent": { + "description": "RealityWatchEvent is one switch (To set) or a failed attempt to find a working spare.", + "properties": { + "at": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "from": { + "example": "old.example.com:443", + "type": "string" + }, + "reason": { + "example": "TLS handshake failed: EOF", + "type": "string" + }, + "to": { + "example": "www.example.com:443", + "type": "string" + } + }, + "required": [ + "at", + "from", + "reason", + "to" + ], + "type": "object" + }, + "RealityWatchStatus": { + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "checkedAt": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "events": { + "items": { + "$ref": "#/components/schemas/RealityWatchEvent" + }, + "type": "array" + }, + "fails": { + "example": 0, + "type": "integer" + }, + "inboundId": { + "example": 3, + "type": "integer" + }, + "latencyMs": { + "example": 180, + "type": "integer" + }, + "ok": { + "example": true, + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "serverNames": { + "example": [ + "old.example.com" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "target": { + "example": "old.example.com:443", + "type": "string" + } + }, + "required": [ + "auto", + "checkedAt", + "events", + "fails", + "inboundId", + "latencyMs", + "ok", + "reason", + "serverNames", + "spares", + "target" + ], + "type": "object" + }, "ServerSettings": { "description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.", "properties": { @@ -4748,6 +5616,99 @@ ], "type": "object" }, + "Status": { + "description": "Status represents comprehensive system and application status information.\nIt includes CPU, memory, disk, network statistics, and Xray process status.", + "properties": { + "amneziawg": { + "description": "AmneziaWG gates the overview's AmneziaWG log view: Configured stays true\nwhile an inbound exists but its embedded interface isn't up yet, which\nis exactly when that view's event lines are worth reading." + }, + "appStats": {}, + "cpu": { + "type": "number" + }, + "cpuCores": { + "type": "integer" + }, + "cpuSpeedMhz": { + "type": "number" + }, + "disk": {}, + "diskIO": {}, + "diskTraffic": {}, + "loads": { + "items": { + "type": "number" + }, + "type": "array" + }, + "logicalPro": { + "type": "integer" + }, + "mem": {}, + "netIO": {}, + "netTraffic": {}, + "networkInterface": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkTrafficSelection" + } + ], + "nullable": true + }, + "panelGuid": { + "type": "string" + }, + "panelVersion": { + "type": "string" + }, + "publicIP": {}, + "resourceScope": { + "type": "string" + }, + "swap": {}, + "tcpCount": { + "type": "integer" + }, + "udpCount": { + "type": "integer" + }, + "unavailableMetrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "uptime": { + "format": "int64", + "type": "integer" + }, + "xray": {} + }, + "required": [ + "amneziawg", + "appStats", + "cpu", + "cpuCores", + "cpuSpeedMhz", + "disk", + "diskIO", + "diskTraffic", + "loads", + "logicalPro", + "mem", + "netIO", + "netTraffic", + "panelGuid", + "panelVersion", + "publicIP", + "swap", + "tcpCount", + "udpCount", + "uptime", + "xray" + ], + "type": "object" + }, "SubBalancer": { "description": "SubBalancer is one extra JSON-subscription config document whose members are\nthe selected inbounds' proxy outbounds. SortOrder shares SubSortIndex semantics.", "properties": { @@ -4820,6 +5781,112 @@ ], "type": "object" }, + "SubBalancerProblem": { + "description": "SubBalancerProblem is one reason a balancer cannot emit what an operator expects.\nAdvisories never change the emitted config, and per-client losses are out of scope.", + "properties": { + "code": { + "example": "unknown_inbound", + "type": "string" + }, + "detail": { + "example": "amneziawg", + "type": "string" + }, + "inboundIds": { + "example": [ + 7, + 9 + ], + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "SubBalancerWithProblems": { + "description": "SubBalancerWithProblems embeds the row by value so it marshals flat; Problems is\nalways non-nil so the response shape is stable.", + "properties": { + "createdAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + }, + "enabled": { + "description": "No gorm default:true — a bool default makes an explicit false at insert\ncollapse back to the column default (zero value is skipped).", + "example": true, + "type": "boolean" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inboundIds": { + "example": [ + 1, + 3 + ], + "items": { + "type": "integer" + }, + "type": "array" + }, + "memberWeights": { + "additionalProperties": { + "type": "number" + }, + "description": "inboundId -> leastLoad weight; absent entries mean 1.0. Only meaningful\nwith Strategy \"leastLoad\" — xray ignores costs on every other strategy.", + "type": "object" + }, + "problems": { + "items": { + "$ref": "#/components/schemas/SubBalancerProblem" + }, + "type": "array" + }, + "remark": { + "example": "auto-fastest", + "maxLength": 256, + "type": "string" + }, + "sortOrder": { + "example": 1, + "minimum": 1, + "type": "integer" + }, + "strategy": { + "enum": [ + "leastLoad", + "leastPing", + "random", + "roundRobin" + ], + "example": "random", + "type": "string" + }, + "updatedAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "createdAt", + "enabled", + "id", + "inboundIds", + "problems", + "remark", + "sortOrder", + "strategy", + "updatedAt" + ], + "type": "object" + }, "TgBotCapabilities": { "description": "TgBotCapabilities is the browser-safe shape of the bot's own capabilities.", "properties": { @@ -4976,6 +6043,44 @@ ], "type": "object" }, + "WireguardDevice": { + "description": "WireguardDevice is an additional peer sharing its client's quota and lifecycle.\nThe original client credentials remain the primary device for compatibility.", + "properties": { + "allowedIPs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "preSharedKey": { + "type": "string" + }, + "privateKey": { + "type": "string" + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "allowedIPs", + "enable", + "id", + "name", + "privateKey", + "publicKey" + ], + "type": "object" + }, "WebSocketEnvelope": { "type": "object", "required": [ @@ -5043,10 +6148,18 @@ "name": "Hosts", "description": "Per-inbound override endpoints. Each enabled host renders one extra subscription link/proxy with its own address/port/TLS, superseding the legacy externalProxy array. All endpoints under /panel/api/hosts." }, + { + "name": "REALITY watch", + "description": "Spare targets per REALITY inbound. Every 10 minutes the panel checks each watched target from this server; after 3 failed checks in a row, an inbound with auto switch on moves to the first spare that passes the same check and a real REALITY connection through a throwaway Xray server and client. Inbounds on nodes, and targets on this machine or the LAN (a bare port, a unix socket, a private address), are not checked." + }, { "name": "Backup", "description": "Operations that interact with the configured Telegram bot." }, + { + "name": "MCP", + "description": "Model Context Protocol endpoint for AI agents (Claude, Cursor, VS Code). Point an MCP client at this URL with an admin Bearer token; restricted token scopes are refused." + }, { "name": "Settings", "description": "Panel configuration and user credentials. All endpoints live under /panel/api/setting and require a logged-in session or Bearer token." @@ -5383,6 +6496,7 @@ "nodeId": null, "originNodeGuid": "", "port": 443, + "preserveClientTraffic": null, "protocol": "vless", "remark": "VLESS-443", "settings": null, @@ -6457,39 +7571,42 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/Status" + } } }, "example": { "success": true, "obj": { - "cpu": 12.5, - "mem": { - "current": 2147483648, - "total": 8589934592 - }, - "swap": { - "current": 0, - "total": 4294967296 - }, - "disk": { - "current": 53687091200, - "total": 268435456000 - }, - "netIO": { - "up": 1073741824, - "down": 2147483648 - }, - "xray": { - "state": "running", - "version": "v25.10.31" - }, - "tcpCount": 42, - "load": { - "load1": 0.5, - "load5": 0.3, - "load15": 0.2 - } + "amneziawg": null, + "appStats": null, + "cpu": 0, + "cpuCores": 0, + "cpuSpeedMhz": 0, + "disk": null, + "diskIO": null, + "diskTraffic": null, + "loads": [ + 0 + ], + "logicalPro": 0, + "mem": null, + "netIO": null, + "netTraffic": null, + "networkInterface": null, + "panelGuid": "", + "panelVersion": "", + "publicIP": null, + "resourceScope": "", + "swap": null, + "tcpCount": 0, + "udpCount": 0, + "unavailableMetrics": [ + "" + ], + "uptime": 0, + "xray": null } } } @@ -6537,6 +7654,51 @@ } } }, + "/panel/api/server/networkInterfaces": { + "get": { + "tags": [ + "Server" + ], + "summary": "List network interface names and resolve the primary default-route interface in this panel network namespace. Requires an admin session or admin API token. No addresses or hardware identifiers are returned.", + "operationId": "get_panel_api_server_networkInterfaces", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/NetworkInterfacesResponse" + } + } + }, + "example": { + "success": true, + "obj": { + "automatic": "eth0", + "automaticError": "", + "interfaces": [ + { + "name": "eth0", + "up": true + } + ] + } + } + } + } + } + } + } + }, "/panel/api/server/cpuHistory/{bucket}": { "get": { "tags": [ @@ -6549,7 +7711,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6583,14 +7745,14 @@ "tags": [ "Server" ], - "summary": "Aggregated time-series for one metric. Returns an array of {t, v} samples covering the last ~6 hours.", + "summary": "Aggregated time-series for one system metric. Returns up to 60 {t, v} samples; supported bucket sizes cover windows from 2 minutes up to 7 days.", "operationId": "get_panel_api_server_history_metric_bucket", "parameters": [ { "name": "metric", "in": "path", "required": true, - "description": "cpu | mem | netUp | netDown | online | load1 | load5 | load15.", + "description": "cpu | mem | swap | netUp | netDown | pktUp | pktDown | diskRead | diskWrite | diskUsage | tcpCount | udpCount | online | load1 | load5 | load15.", "schema": { "type": "string" } @@ -6599,7 +7761,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6641,6 +7803,47 @@ } } }, + "/panel/api/server/overviewHistory/{bucket}": { + "get": { + "tags": [ + "Server" + ], + "summary": "Aggregated history for all overview charts in one response: up to 60 {t, v} samples for each of cpu, mem, swap, diskUsage, netUp, netDown, tcpCount and udpCount.", + "operationId": "get_panel_api_server_overviewHistory_bucket", + "parameters": [ + { + "name": "bucket", + "in": "path", + "required": true, + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/server/xrayMetricsState": { "get": { "tags": [ @@ -6676,7 +7879,7 @@ "tags": [ "Server" ], - "summary": "Time-series history for one Xray runtime metric over the last ~6 hours. Same {t, v} shape as /history/:metric/:bucket.", + "summary": "Aggregated history for one Xray runtime metric. Returns up to 60 {t, v} samples for bucket windows up to 7 days.", "operationId": "get_panel_api_server_xrayMetricsHistory_metric_bucket", "parameters": [ { @@ -6692,7 +7895,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6772,7 +7975,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -7859,7 +9062,7 @@ "keepHostSettings": { "type": "boolean", "default": true, - "description": "Keep this machine's addresses, certificates and node identity. Default true." + "description": "Keep this machine's addresses, certificates, node identity, and network traffic interface selection. Default true." } }, "required": [ @@ -8421,6 +9624,135 @@ } } }, + "/panel/api/clients/attachCandidates": { + "get": { + "tags": [ + "Clients" + ], + "summary": "List up to 100 clients for the inbound attachment picker. Counts distinguish filtered rows and all eligible clients. A freeze request returns only the eligible count, maximum ID and a scope token covering the eligible IDs that match the given search and group for the chosen source and targets.", + "operationId": "get_panel_api_clients_attachCandidates", + "parameters": [ + { + "name": "sourceId", + "in": "query", + "required": false, + "description": "Restrict candidates to clients on this inbound.", + "schema": { + "type": "integer" + } + }, + { + "name": "inboundIds", + "in": "query", + "required": false, + "description": "Comma-separated target IDs. Required for freeze and if no source ID is specified.", + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "1-indexed page, defaults to 1.", + "schema": { + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "required": false, + "description": "Match email and either comment (with a source) or group.", + "schema": { + "type": "string" + } + }, + { + "name": "group", + "in": "query", + "required": false, + "description": "Filter by exact group when there is no source.", + "schema": { + "type": "string" + } + }, + { + "name": "freeze", + "in": "query", + "required": false, + "description": "Freeze the eligible IDs matching search and group, independently of page.", + "schema": { + "type": "boolean" + } + }, + { + "name": "scopeSearch", + "in": "query", + "required": false, + "description": "Search a frozen selection was taken under; rows outside it report inScope false.", + "schema": { + "type": "string" + } + }, + { + "name": "scopeGroup", + "in": "query", + "required": false, + "description": "Group a frozen selection was taken under; rows outside it report inScope false.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/AttachCandidatePage" + } + } + }, + "example": { + "success": true, + "obj": { + "eligible": 118, + "groups": [ + "staff" + ], + "items": [ + { + "alreadyAttached": false, + "comment": "Example client", + "email": "alice@example.test", + "enable": true, + "group": "staff", + "id": 1, + "inScope": true + } + ], + "maxId": 0, + "scopeToken": "", + "total": 120 + } + } + } + } + } + } + } + }, "/panel/api/clients/list/paged": { "get": { "tags": [ @@ -8722,6 +10054,48 @@ } } }, + "/panel/api/clients/get": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Fetch one client by email, including the inbound IDs and external config IDs it is attached to.", + "operationId": "get_panel_api_clients_get", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email (unique identifier).", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/clients/get/subId/{subId}": { "get": { "tags": [ @@ -8845,7 +10219,7 @@ ], "summary": "Create a new client and attach it to one or more inbounds in a single call. Body is JSON. Per-protocol secrets are generated server-side when omitted, so callers can send only the universal fields.", "operationId": "post_panel_api_clients_add", - "description": "Fields the server fills in when they are omitted — a valid value sent by the caller is never overwritten. Re-adding an email that already exists, with its stored `subId`, reuses the stored `id`, `password`, `auth` and `secret` instead of minting new ones, so the identity stays in sync across its inbounds.\n\n- **VLESS / VMess** — `id`, a fresh UUID\n- **Trojan** — `password`\n- **Shadowsocks** — `password`. On a `2022-blake3-*` inbound a supplied password that does not base64-decode to the key length of the cipher (16 or 32 bytes) is replaced by a generated key and the call still succeeds, so read the client back if you did not let the server pick. Legacy ciphers keep any non-empty password\n- **Hysteria** — `auth`\n- **mtproto** — `secret`, a FakeTLS secret derived from the fronting domain of the inbound, or from `www.cloudflare.com` when it has none\n- **WireGuard** — `privateKey` and `publicKey` when both are blank, or `publicKey` alone when only a `privateKey` was sent, plus `allowedIPs`: one free `/32` taken from the /24 the existing peers of that inbound already sit in, or from `10.0.0.0/24` when it has none\n\nAccepted on the same body but never generated: `preSharedKey` and `keepAlive` (WireGuard), `adTag` (mtproto).\n\nWireGuard is the only one of these that can fail. Allocation widens the search to the containing /16 before giving up with `inbound : wireguard: no free address available in `, and an `allowedIPs` supplied by the caller is validated instead of allocated: `inbound : wireguard: allowedIPs entry overlaps
used by another client` when its range overlaps an address or prefix a different client of that same inbound holds, or `... used by a client on ` when the holder sits on another WireGuard or AmneziaWG inbound. Ranges are compared, not strings, so `10.0.0.9/24` collides with `10.0.0.5/32`; a `/0` entry collides with every address of its family another client holds, and only a `0.0.0.0/0` or `::/0` default route that is already stored (legacy peers) keeps nobody out. Allocation likewise skips every address inside a prefix another client holds. The same validation runs on POST /panel/api/clients/{email}/attach, where a client that already carries an address brings it along.\n\nAn `inboundIds` entry that names no existing inbound rejects the whole call before anything is written. Past that, the inbounds are applied concurrently and independently: one that fails no longer stops the others, so a `success:false` response can still have created the client on the rest. Every error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. `limitHwid` is applied only when every inbound succeeded, so re-run the call after fixing the failure.", + "description": "Client email must not be exactly `.` or `..`. Existing reserved-name clients can be read, renamed to a valid name, or deleted using the query-parameter /get, /update and /del aliases. Fields the server fills in when they are omitted — a valid value sent by the caller is never overwritten. Re-adding an email that already exists, with its stored `subId`, reuses the stored `id`, `password`, `auth` and `secret` instead of minting new ones, so the identity stays in sync across its inbounds.\n\n- **VLESS / VMess** — `id`, a fresh UUID\n- **Trojan** — `password`\n- **Shadowsocks** — `password`. On a `2022-blake3-*` inbound a supplied password that does not base64-decode to the key length of the cipher (16 or 32 bytes) is replaced by a generated key and the call still succeeds, so read the client back if you did not let the server pick. Legacy ciphers keep any non-empty password\n- **Hysteria** — `auth`\n- **mtproto** — `secret`, a FakeTLS secret derived from the fronting domain of the inbound, or from `www.cloudflare.com` when it has none\n- **WireGuard** — `privateKey` and `publicKey` when both are blank, or `publicKey` alone when only a `privateKey` was sent, plus `allowedIPs`: one free `/32` taken from the /24 the existing peers of that inbound already sit in, or from `10.0.0.0/24` when it has none\n\nAccepted on the same body but never generated: `preSharedKey` and `keepAlive` (WireGuard), `adTag` (mtproto).\n\nWireGuard is the only one of these that can fail. Allocation widens the search to the containing /16 before giving up with `inbound : wireguard: no free address available in `, and an `allowedIPs` supplied by the caller is validated instead of allocated: `inbound : wireguard: allowedIPs entry overlaps
used by another client` when its range overlaps an address or prefix a different client of that same inbound holds, or `... used by a client on ` when the holder sits on another WireGuard or AmneziaWG inbound. Ranges are compared, not strings, so `10.0.0.9/24` collides with `10.0.0.5/32`; a `/0` entry collides with every address of its family another client holds, and only a `0.0.0.0/0` or `::/0` default route that is already stored (legacy peers) keeps nobody out. Allocation likewise skips every address inside a prefix another client holds. The same validation runs on POST /panel/api/clients/{email}/attach, where a client that already carries an address brings it along.\n\nAn `inboundIds` entry that names no existing inbound rejects the whole call before anything is written. Past that, the inbounds are applied concurrently and independently: one that fails no longer stops the others, so a `success:false` response can still have created the client on the rest. Every error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. `limitHwid` is applied only when every inbound succeeded, so re-run the call after fixing the failure.", "requestBody": { "required": true, "content": { @@ -9011,9 +10385,9 @@ "tags": [ "Clients" ], - "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload — supply the full set of fields you want to keep (the server replaces the row, it does not patch).", + "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload: omitted fields keep their current values, and an explicit zero, empty or null value clears a field, except as noted below.", "operationId": "post_panel_api_clients_update_email", - "description": "The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", + "description": "An omitted `flow` leaves every attached inbound on its own flow. Send `\"reverse\": null` to remove the reverse tag. Credentials (`id`, `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG `allowedIPs` are never cleared: an empty value keeps the stored one. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", "parameters": [ { "name": "email", @@ -9070,6 +10444,70 @@ } } }, + "/panel/api/clients/update": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload: omitted fields keep their current values, and an explicit zero, empty or null value clears a field, except as noted below.", + "operationId": "post_panel_api_clients_update", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization. An omitted `flow` leaves every attached inbound on its own flow. Send `\"reverse\": null` to remove the reverse tag. Credentials (`id`, `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG `allowedIPs` are never cleared: an empty value keeps the stored one. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Current client email (unique identifier).", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "email": "alice@example.com", + "totalGB": 107374182400, + "expiryTime": 1767225600000, + "limitHwid": 2, + "tgId": 123456789, + "enable": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Client updated" + } + } + } + } + } + } + }, "/panel/api/clients/del/{email}": { "post": { "tags": [ @@ -9091,7 +10529,62 @@ { "name": "keepTraffic", "in": "query", + "required": false, + "description": "Pass 1 to retain the xray_client_traffic row after deletion.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Client deleted" + } + } + } + } + } + } + }, + "/panel/api/clients/del": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed.", + "operationId": "post_panel_api_clients_del", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have removed the client from the remaining inbounds; the client record is kept in that case, so re-running the call retries exactly the leftovers. The record and traffic rows are dropped after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the client already removed from every inbound.", + "parameters": [ + { + "name": "email", + "in": "query", "required": true, + "description": "Client email (unique identifier).", + "schema": { + "type": "string" + } + }, + { + "name": "keepTraffic", + "in": "query", + "required": false, "description": "Pass 1 to retain the xray_client_traffic row after deletion.", "schema": { "type": "integer" @@ -9355,6 +10848,464 @@ } } }, + "/panel/api/clients/wireguardDevices": { + "get": { + "tags": [ + "Clients" + ], + "summary": "List WireGuard devices and their per-inbound addresses.", + "operationId": "get_panel_api_clients_wireguardDevices", + "description": "The original credentials remain the primary device. Additional devices share their parent client email, traffic quota, expiry and enable state. Keep each device configuration on one device. Device-specific subscriptions use the existing subscription URL with the wgDevice query parameter set to the device ID.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Clients" + ], + "summary": "Create a WireGuard device on every attached WireGuard inbound.", + "operationId": "post_panel_api_clients_wireguardDevices", + "description": "Keys are generated once and each inbound allocates an available tunnel address. All inbounds commit together. The default limit is 5 devices including primary.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Device name with 1 to 64 characters on one line." + } + }, + "required": [ + "name" + ] + }, + "example": { + "name": "Phone" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, + "/panel/api/clients/wireguardDevices/limit": { + "put": { + "tags": [ + "Clients" + ], + "summary": "Set the maximum number of WireGuard devices.", + "operationId": "put_panel_api_clients_wireguardDevices_limit", + "description": "The limit includes primary and disabled devices. Choose 1 to 32. Values below the current device count are rejected.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 5, + "description": "Maximum device count including primary." + } + }, + "required": [ + "limit" + ] + }, + "example": { + "limit": 5 + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, + "/panel/api/clients/wireguardDevices/{deviceId}": { + "patch": { + "tags": [ + "Clients" + ], + "summary": "Rename or enable a WireGuard device.", + "operationId": "patch_panel_api_clients_wireguardDevices_deviceId", + "description": "The primary device is managed through the parent client. Disabled additional devices retain their reserved addresses.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "Additional device UUID.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New device name." + }, + "enable": { + "type": "boolean", + "description": "Whether the device can connect." + } + } + }, + "example": { + "name": "Work phone", + "enable": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "summary": "Delete an additional WireGuard device and release its address.", + "operationId": "delete_panel_api_clients_wireguardDevices_deviceId", + "description": "The device is removed from every attached WireGuard inbound. Its previously downloaded configuration loses access after the configuration is applied.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "Additional device UUID.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/resetAllTraffics": { "post": { "tags": [ @@ -9576,25 +11527,71 @@ "tags": [ "Clients" ], - "summary": "Shift expiry and/or traffic quota for many clients in one call. addDays/addBytes may be negative. Clients with unlimited expiry (expiryTime=0) or unlimited traffic (totalGB=0) are skipped for the corresponding field — bulk extend never converts unlimited to limited. A client that was auto-disabled solely because it was depleted (expired or over quota) is automatically re-enabled — locally and on its node — when the adjustment lifts it out of depletion; a manually-disabled or still-depleted client is left disabled. The optional flow directive sets the XTLS flow on every client: \"none\" clears it, \"xtls-rprx-vision\"/\"xtls-rprx-vision-udp443\" set it where the inbound supports it (omit or \"\" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets MTProto Telegram sponsor channel (\"none\" clears). Returns the adjusted count and per-email skip reasons.", + "summary": "Shift expiry and/or traffic quota for many clients in one call. addDays/addBytes may be negative. Clients with unlimited expiry (expiryTime=0) or unlimited traffic (totalGB=0) are skipped for the corresponding field — bulk extend never converts unlimited to limited. A client that was auto-disabled solely because it was depleted (expired or over quota) is automatically re-enabled — locally and on its node — when the adjustment lifts it out of depletion; a manually-disabled or still-depleted client is left disabled. The optional flow directive sets the XTLS flow on every client: \"none\" clears it, \"xtls-rprx-vision\"/\"xtls-rprx-vision-udp443\" set it where the inbound supports it (omit or \"\" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets MTProto Telegram sponsor channel (\"none\" clears). Alternatively, send externalLinks to append external share links and http(s) subscriptions to each selected client in one transaction. This mode cannot be combined with other adjustments. Existing entries, metadata, and ordering are preserved. Duplicates match (kind, value) per client, including repeated input rows; the first entry wins. Missing clients are not written and appear in skipped. externalLinks.added counts inserted rows, externalLinks.skipped counts duplicate rows across found clients, externalLinks.errors counts missing clients, and adjusted counts clients receiving at least one new row. Validation or database failure aborts the whole append without writes. Repeating an append is idempotent and does not restart Xray.", "operationId": "post_panel_api_clients_bulkAdjust", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "type": "object" + "type": "object", + "required": [ + "emails" + ], + "properties": { + "emails": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1 + }, + "addDays": { + "type": "integer" + }, + "addBytes": { + "type": "integer" + }, + "flow": { + "type": "string" + }, + "limitHwid": { + "type": "integer", + "minimum": 0 + }, + "adTag": { + "type": "string" + }, + "externalLinks": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/components/schemas/ExternalLinkInput" + } + } + } }, "example": { "emails": [ "alice", "bob" ], - "addDays": 30, - "addBytes": 53687091200, - "flow": "xtls-rprx-vision", - "limitHwid": 2, - "adTag": "0123456789abcdef0123456789abcdef" + "externalLinks": [ + { + "kind": "link", + "value": "vless://uuid@example.com:443", + "remark": "Backup", + "enable": true, + "expiryTime": 0 + }, + { + "kind": "subscription", + "value": "https://provider.example/sub", + "namePrefix": "[provider] ", + "enable": true, + "expiryTime": 0 + } + ] } } } @@ -9613,19 +11610,17 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/BulkAdjustResult" + } } }, "example": { "success": true, "obj": { "adjusted": 2, - "skipped": [ - { - "email": "carol", - "reason": "unlimited expiry" - } - ] + "externalLinks": null, + "skipped": [] } } } @@ -9998,7 +11993,7 @@ "tags": [ "Clients" ], - "summary": "Attach many existing clients to many inbounds in one call. Each client keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are reported under skipped. Returns per-email attached/skipped/errors lists and triggers a single Xray restart if any target inbound was running.", + "summary": "Attach many existing clients to many inbounds in one call. Each client keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are reported under skipped. Explicit email requests return per-email lists. Alternatively submit selection with explicit clientIds or a frozen allMatching scopeToken plus excludedClientIds and the search and group it was frozen under. Scoped requests start a background job and return {jobId}. Poll GET /bulkAttach/:id for counts or a stale-selection error. Newer IDs stay outside the frozen scope. Changes to the frozen membership are rejected before applying changes. Triggers a single Xray restart if any target inbound was running.", "operationId": "post_panel_api_clients_bulkAttach", "requestBody": { "required": true, @@ -10012,7 +12007,11 @@ "items": { "type": "string" }, - "description": "Emails of existing clients to attach." + "description": "Emails of existing clients to attach. Omit when using selection." + }, + "selection": { + "type": "object", + "description": "Either {mode: \"explicit\", clientIds, sourceId?} or {mode: \"allMatching\", scopeToken, excludedClientIds?, search?, group?, sourceId?}." }, "inboundIds": { "type": "array", @@ -10023,7 +12022,6 @@ } }, "required": [ - "emails", "inboundIds" ] }, @@ -10076,6 +12074,58 @@ } } }, + "/panel/api/clients/bulkAttach/{id}": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Poll a scoped attachment job. The result contains counts per target (attached, skipped, errors); an operation failure sets error instead. Completed results are retained for up to 15 minutes in the running panel process.", + "operationId": "get_panel_api_clients_bulkAttach_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Job ID returned by the scoped bulkAttach request.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/AttachJobStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "ended": "2025-01-01T00:00:00Z", + "error": "", + "result": null, + "running": false + } + } + } + } + } + } + } + }, "/panel/api/clients/bulkDetach": { "post": { "tags": [ @@ -10214,7 +12264,7 @@ "tags": [ "Clients" ], - "summary": "List all client groups with their member counts. Merges persisted groups (rows in client_groups, including empty placeholders) with the distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive).", + "summary": "List all client groups with their member counts and the host groups bound to each. Merges persisted groups (rows in client_groups, including empty placeholders) with the distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive).", "operationId": "get_panel_api_clients_groups", "responses": { "200": { @@ -10237,12 +12287,18 @@ "success": true, "obj": [ { + "id": 1, "name": "customer-a", - "clientCount": 5 + "clientCount": 5, + "hostGroupIds": [ + "cdn-front" + ] }, { + "id": 2, "name": "internal", - "clientCount": 0 + "clientCount": 0, + "hostGroupIds": [] } ] } @@ -10252,6 +12308,70 @@ } } }, + "/panel/api/clients/groups/{name}/hosts": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Replace the host groups attached to a client group. Clients in this group receive the bound host groups instead of the inbound default host pool; other clients are unaffected. An empty array clears the bindings. Returns the saved host group IDs.", + "operationId": "post_panel_api_clients_groups_name_hosts", + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "description": "Group name (URL-encoded).", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "hostGroupIds": [ + "cdn-front" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "hostGroupIds": [ + "cdn-front" + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/groups/{name}/emails": { "get": { "tags": [ @@ -10306,7 +12426,7 @@ "tags": [ "Clients" ], - "summary": "Create a new empty (placeholder) group. The group becomes selectable in client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists.", + "summary": "Create a new group, optionally with host rules bound to it. The group becomes selectable in client forms and the filter drawer even before any client is added to it. Host group IDs are validated before the group is created. Errors if a group with the same name already exists.", "operationId": "post_panel_api_clients_groups_create", "requestBody": { "required": true, @@ -10316,7 +12436,10 @@ "type": "object" }, "example": { - "name": "customer-a" + "name": "customer-a", + "hostGroupIds": [ + "cdn-front" + ] } } } @@ -10355,7 +12478,7 @@ "tags": [ "Clients" ], - "summary": "Rename a group. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated.", + "summary": "Rename a group and optionally replace its host rules in one transaction. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON). Omit hostGroupIds to leave the bindings unchanged; send an empty array to clear them. Returns the number of clients whose label was updated.", "operationId": "post_panel_api_clients_groups_rename", "requestBody": { "required": true, @@ -10366,7 +12489,10 @@ }, "example": { "oldName": "customer-a", - "newName": "tier-1" + "newName": "tier-1", + "hostGroupIds": [ + "cdn-front" + ] } } } @@ -10681,7 +12807,7 @@ "tags": [ "Clients" ], - "summary": "List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed.", + "summary": "List registered HWID devices for a client with a short fingerprint and a blocked flag. Bans are scoped to the subscription ID shared by the client. Full hashes are not exposed.", "operationId": "post_panel_api_clients_hwids_email", "parameters": [ { @@ -10716,6 +12842,7 @@ "obj": [ { "id": 1, + "blocked": false, "firstSeen": 1735000000000, "lastSeen": 1735100000000, "userAgent": "Happ/1.0", @@ -10735,7 +12862,7 @@ "tags": [ "Clients" ], - "summary": "Clear all registered HWID devices for a client so new devices can register again.", + "summary": "Clear unblocked HWID registrations for a client so devices can register again. Blocked devices and their bans are preserved.", "operationId": "delete_panel_api_clients_hwids_email", "parameters": [ { @@ -10776,7 +12903,7 @@ "tags": [ "Clients" ], - "summary": "Remove a single registered HWID device by its id, freeing one slot under the HWID limit.", + "summary": "Remove a single unblocked HWID device by its id, freeing one slot under the HWID limit. A blocked device must be unblocked before it can be removed.", "operationId": "delete_panel_api_clients_hwids_email_id", "parameters": [ { @@ -10821,6 +12948,82 @@ } } }, + "/panel/api/clients/hwids/{email}/{id}/block": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Block or unblock one device for the client subscription. Send an explicit boolean blocked value. A ban denies subscription bodies for that HWID even with limitHwid=0, does not consume a device slot, and survives clearing devices or changing the limit. It does not revoke copied credentials or identify requests with a different or missing HWID.", + "operationId": "post_panel_api_clients_hwids_email_id_block", + "parameters": [ + { + "name": "email", + "in": "path", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "Device id, from the list endpoint.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "blocked": { + "type": "boolean", + "description": "true to block the device, false to unblock it." + } + }, + "required": [ + "blocked" + ] + }, + "example": { + "blocked": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Updated successfully." + } + } + } + } + } + } + }, "/panel/api/clients/onlines": { "post": { "tags": [ @@ -11084,6 +13287,88 @@ } } }, + "/panel/api/clients/usageHistory/{email}": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Usage and change history for one client, behind the edit modal's history button. lifetimeUp/lifetimeDown are every archived window plus the client's live counters; currentUp/currentDown are the still-open window. windows lists the closed cycles, newest first (reason: reset | renew | earlier): one is archived whenever a traffic reset or an auto-renewal zeroes the client's counters, the newest 100 are kept and older ones are folded into a single earlier row, so the lifetime total does not change. nodes is the per-node upload/download accumulated since the last reset. changes is the metadata change log, newest first, capped at the newest 200 rows: one row per changed field (subId, expiry, dataLimit, enable, limitIp, limitHwid, adTag, group, renewalPlan) and a name row for a rename; source is panel | tgbot | auto-renew. A renamed client keeps its history under the new email. The history belongs to the client: once the client is deleted, its history is removed within five minutes. Requires an admin token or a panel login session.", + "operationId": "get_panel_api_clients_usageHistory_email", + "parameters": [ + { + "name": "email", + "in": "path", + "required": true, + "description": "Client email (unique across the panel).", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/ClientUsageHistory" + } + } + }, + "example": { + "success": true, + "obj": { + "changes": [ + { + "at": 1735689600000, + "email": "user1@example.com", + "field": "dataLimit", + "id": 14825, + "newValue": "21474836480", + "oldValue": "10737418240", + "source": "panel" + } + ], + "currentDown": 2097152, + "currentUp": 1048576, + "email": "user1@example.com", + "lifetimeDown": 21474836480, + "lifetimeUp": 10737418240, + "nodes": [ + { + "down": 2097152, + "nodeId": 7, + "nodeName": "de-fra-1", + "up": 1048576 + } + ], + "windows": [ + { + "at": 1735689600000, + "down": 2097152, + "email": "user1@example.com", + "id": 14825, + "reason": "reset", + "up": 1048576 + } + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/subLinks/{subId}": { "get": { "tags": [ @@ -11289,6 +13574,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -11493,6 +13779,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -11646,6 +13933,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -12047,6 +14335,88 @@ } } }, + "/panel/api/nodes/restartXray/{id}": { + "post": { + "tags": [ + "Nodes" + ], + "summary": "Restart Xray on one enabled, directly configured node. Active Xray connections are interrupted. Uses the node runtime and accepts admin, node-admin or node-sync credentials on the node. A stale heartbeat does not prevent the request.", + "operationId": "post_panel_api_nodes_restartXray_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Node ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, + "/panel/api/nodes/restartPanel/{id}": { + "post": { + "tags": [ + "Nodes" + ], + "summary": "Request a restart of the panel and subscription services on one enabled, directly configured node. Requires admin or node-admin credentials on the node; mTLS requires an explicit node-admin bearer token. Success acknowledges scheduling, before the three-second restart delay. A stale heartbeat does not prevent the request. Older nodes may reject node-admin access until upgraded.", + "operationId": "post_panel_api_nodes_restartPanel_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Node ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/nodes/updatePanel": { "post": { "tags": [ @@ -12141,7 +14511,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -13189,6 +15559,382 @@ } } }, + "/panel/api/realityWatch/list": { + "get": { + "tags": [ + "REALITY watch" + ], + "summary": "Status of every watched inbound: current target, spares, last check and the switch history.", + "operationId": "get_panel_api_realityWatch_list", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + } + }, + "example": { + "success": true, + "obj": [ + { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + ] + } + } + } + } + } + } + }, + "/panel/api/realityWatch/status/{id}": { + "get": { + "tags": [ + "REALITY watch" + ], + "summary": "Status of one REALITY inbound.", + "operationId": "get_panel_api_realityWatch_status_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/save/{id}": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Set the spare targets (host[:port], in order of preference, at most 10; the current target is dropped) and whether a dead target is replaced automatically.", + "operationId": "post_panel_api_realityWatch_save_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "auto": true, + "spares": [ + "www.example.com:443" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/switch/{id}": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Move the inbound to this target now and return its new status. Refused for a node inbound, or unless the target passes the server check and a real REALITY connection. Only target and serverNames change, plus any Hosts of this inbound that pin an old server name.", + "operationId": "post_panel_api_realityWatch_switch_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "target": "www.example.com:443" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/test": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Check a target from this server and through a real REALITY connection; feasible is false with a reason when either fails.", + "operationId": "post_panel_api_realityWatch_test", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "target": "www.example.com:443" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityScanResult" + } + } + }, + "example": { + "success": true, + "obj": { + "alpn": "h2", + "certChainBytes": 3427, + "certChainValid": true, + "certIssuer": "Google Trust Services", + "certSubject": "cloudflare.com", + "certValid": true, + "curveID": "X25519", + "feasible": true, + "h2": true, + "host": "www.cloudflare.com", + "ip": "104.16.124.96", + "latencyMs": 180, + "notAfter": "2026-08-01T00:00:00Z", + "port": 443, + "privateTarget": false, + "reason": "", + "serverNames": [ + "" + ], + "target": "www.cloudflare.com:443", + "tls13": true, + "tlsVersion": "1.3", + "x25519": true + } + } + } + } + } + } + } + }, "/panel/api/backuptotgbot": { "post": { "tags": [ @@ -13219,6 +15965,62 @@ } } }, + "/panel/api/mcp": { + "post": { + "tags": [ + "MCP" + ], + "summary": "Stateless streamable-HTTP MCP endpoint (JSON-RPC 2.0). Exposes panel tools for inbounds, clients, server, Xray, nodes, hosts and settings; each tool call runs the matching /panel/api route with the caller’s credentials. Off by default: answers 404 until the MCP server is enabled under Settings → Security → API Token.", + "operationId": "post_panel_api_mcp", + "parameters": [ + { + "name": "toolsets", + "in": "query", + "required": false, + "description": "Comma-separated tool groups to expose: inbounds, clients, server, panel. Omit for all. call_api and get_openapi_spec are always included.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "jsonrpc": "2.0", + "id": 1, + "method": "tools/list" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/setting/all": { "post": { "tags": [ @@ -13473,6 +16275,7 @@ ], "summary": "Restart the entire 3x-ui process after a 3-second grace period. The connection drops immediately; the panel comes back online ~5-10 seconds later.", "operationId": "post_panel_api_setting_restartPanel", + "description": "The answer names the listener that took the call (port, tls) and the one the restarted panel opens (nextPort, nextTls), with XUI_PORT and an unloadable certificate pair already applied. A client reaching the panel through a proxy or a port mapping compares port and tls with the address it used, and follows a change only where they match.", "responses": { "200": { "description": "Successful response", @@ -13487,7 +16290,18 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/PanelRestart" + } + } + }, + "example": { + "success": true, + "obj": { + "nextPort": 2053, + "nextTls": false, + "port": 2053, + "tls": false } } } @@ -13640,6 +16454,36 @@ } } }, + "/panel/api/setting/testWechat": { + "post": { + "tags": [ + "Settings" + ], + "summary": "Send a text test notification using the saved WeChat destination. Supports WeCom group robots and compatible personal WeChat webhook gateways. Requires WeChat notifications to be enabled.", + "operationId": "post_panel_api_setting_testWechat", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/setting/getDefaultJsonConfig": { "get": { "tags": [ @@ -15405,8 +18249,9 @@ "tags": [ "Subscription Balancers" ], - "summary": "List all subscription balancers in sort order (sort_order asc, id asc).", + "summary": "List all subscription balancers in sort order, with problems[] advisories.", "operationId": "get_panel_api_sub_balancers", + "description": "Each balancer carries a problems[] array of diagnostic advisories: unknown_inbound, disabled_inbound, json_incapable_protocol, inbound_without_clients, hosts_excluded_from_json, no_members. Advisories never change the emitted config — a balancer with no resolvable member is still omitted from the JSON subscription. sort_order asc, id asc.", "responses": { "200": { "description": "Successful response", @@ -15424,7 +18269,7 @@ "obj": { "type": "array", "items": { - "$ref": "#/components/schemas/SubBalancer" + "$ref": "#/components/schemas/SubBalancerWithProblems" } } } @@ -15441,6 +18286,16 @@ 3 ], "memberWeights": {}, + "problems": [ + { + "code": "unknown_inbound", + "detail": "amneziawg", + "inboundIds": [ + 7, + 9 + ] + } + ], "remark": "auto-fastest", "sortOrder": 1, "strategy": "random", @@ -16547,9 +19402,10 @@ "type": "string", "enum": [ "xray", - "tuic" + "tuic", + "node" ], - "description": "Present for native TUIC samples; omitted Xray samples default to xray." + "description": "Present for native TUIC samples and for clients served by managed nodes; omitted Xray samples default to xray." }, "clientTrafficIntervalMs": { "type": "integer", @@ -16794,6 +19650,7 @@ "nodeId": null, "originNodeGuid": "", "port": 443, + "preserveClientTraffic": null, "protocol": "vless", "remark": "VLESS-443", "settings": null, @@ -16876,6 +19733,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", diff --git a/frontend/.gitignore b/frontend/.gitignore index 52c12c13c..04dcc20d5 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +node_modules .vite/ *.log *.tsbuildinfo diff --git a/frontend/README.md b/frontend/README.md index 77e32aee6..5ed72ea67 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -47,6 +47,33 @@ production-style links work without round-tripping through Go. CI runs `typecheck`, `lint`, `format:check`, `test`, `build`, and `build-storybook` on every PR (see `../.github/workflows/ci.yml`). +### Inbound accessibility verification + +`npm test` includes the real inbound form and native-select regression fixtures. +After `npm run build-storybook`, serve the built stories with +`npx vite preview --outDir storybook-static --host 127.0.0.1 --port 6006` and, in +another terminal, run `node tools/check-inbound-keyboard.mjs`. CI runs this check +too. It uses real Chromium Tab/Arrow/Enter input, checks native selected values +in the accessibility tree, captures create/edit requests, and verifies focus +containment and return. Its HTTP boundary is stubbed; backend configuration +generation and server validation are unchanged. + +Mobile viewport emulation and accessibility-tree checks do not prove TalkBack +or NVDA compatibility. On actual Android TalkBack/Chrome and Windows NVDA: + +1. Open Add Inbound, explore Protocol, open the native picker, choose Shadowsocks + and confirm the control announces its selected value. Cancel another picker + and confirm the value and focus stay unchanged. +2. Visit Protocol, select an encryption method, then Stream; choose RAW, + WebSocket, gRPC and XHTTP and verify the dependent fields and their labels. +3. Check Security's None/TLS/REALITY radios; try certificate/uTLS selections and + the ALPN multi-select, searchable node/fallback fields, clearing and custom tags. +4. Trigger a custom-share-address validation error from another tab. Confirm + the form reveals/focuses the field and reads its hint/error. Correct it and save. +5. Edit the inbound, confirm Protocol remains disabled, save a transport change, + and close/reopen with keyboard and touch exploration. Focus must return to + the opener and Tab/Shift+Tab must stay inside the open dialog. + ### One-off: scan for deprecated APIs Run this command to sweep the codebase for usages of APIs marked diff --git a/frontend/package-lock.json b/frontend/package-lock.json index f315d85e8..06ef921a4 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -11,50 +11,50 @@ "@ant-design/icons": "^6.3.4", "@codemirror/lang-json": "^6.0.2", "@codemirror/theme-one-dark": "^6.1.3", - "@hookform/resolvers": "^7.0.1", + "@hookform/resolvers": "^7.0.8", "@noble/hashes": "^2.4.0", - "@tanstack/react-query": "^5.105.1", - "@tanstack/react-query-devtools": "^5.105.1", - "antd": "^6.6.8", + "@tanstack/react-query": "^5.108.3", + "@tanstack/react-query-devtools": "^5.108.3", + "antd": "^6.7.2", "codemirror": "^6.0.2", "dayjs": "^1.11.23", - "i18next": "^26.6.0", - "otpauth": "^9.5.2", + "i18next": "^27.2.4", + "otpauth": "^9.6.0", "persian-calendar-suite": "^1.5.6", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-hook-form": "^7.91.0", - "react-i18next": "^17.1.10", - "react-router": "^8.5.1", - "swagger-ui-react": "^5.34.1", + "react-hook-form": "^7.92.0", + "react-i18next": "^18.0.3", + "react-router": "^8.5.2", + "swagger-ui-react": "^5.36.0", "uplot": "^1.6.32", "zod": "^4.6.7" }, "devDependencies": { - "@storybook/addon-a11y": "^10.6.5", - "@storybook/addon-docs": "^10.6.5", - "@storybook/addon-vitest": "^10.6.5", - "@storybook/react-vite": "^10.6.5", + "@storybook/addon-a11y": "^10.6.8", + "@storybook/addon-docs": "^10.6.8", + "@storybook/addon-vitest": "^10.6.8", + "@storybook/react-vite": "^10.6.8", "@testing-library/dom": "^10.4.2", "@testing-library/react": "^16.3.3", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@types/swagger-ui-react": "^5.18.0", - "@vitejs/plugin-react": "^6.1.2", - "@vitest/browser-playwright": "5.0.5", - "@vitest/coverage-v8": "^5.0.5", + "@vitejs/plugin-react": "^6.3.0", + "@vitest/browser-playwright": "5.1.1", + "@vitest/coverage-v8": "^5.1.1", "husky": "^9.1.7", - "jsdom": "^30.1.3", - "lint-staged": "^17.6.0", - "msw": "^3.0.3", - "oxfmt": "0.75.0", + "jsdom": "^31.0.1", + "lint-staged": "^17.6.2", + "msw": "^3.0.7", + "oxfmt": "0.78.0", "oxlint": "1.90.0", - "oxlint-tsgolint": "^7.0.2005", - "playwright": "^1.64.1", - "storybook": "^10.6.5", + "oxlint-tsgolint": "^7.0.2008", + "playwright": "^1.65.1", + "storybook": "^10.6.8", "typescript": "7.0.2", - "vite": "8.3.5", - "vitest": "^5.0.5" + "vite": "8.3.8", + "vitest": "^5.1.1" }, "engines": { "node": ">=26.0.0", @@ -161,39 +161,6 @@ "react-dom": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/@asamuzakjp/css-color": { - "version": "7.1.9", - "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.9.tgz", - "integrity": "sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@csstools/css-calc": "^3.4.3", - "@csstools/css-color-parser": "^4.2.6", - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2", - "lru-cache": "^11.5.3" - }, - "engines": { - "node": "^22.22.2 || ^24.15.0 || >=26.0.0" - } - }, - "node_modules/@asamuzakjp/dom-selector": { - "version": "10.0.5", - "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.5.tgz", - "integrity": "sha512-EgmJ7oEaGQECTn3H3wmnQpEy4hKY66VvM7VQndwPIQob3p877BgbyOUE3EX0LgXQCciF2H8KMdR+RznqjMNOLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "bidi-js": "^1.1.0", - "css-tree": "^3.2.1", - "is-potential-custom-element-name": "^1.0.1", - "lru-cache": "^11.5.3" - }, - "engines": { - "node": "^22.22.2 || ^24.15.0 || >=26.0.0" - } - }, "node_modules/@babel/code-frame": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", @@ -220,21 +187,21 @@ } }, "node_modules/@babel/core": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", - "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.13.tgz", + "integrity": "sha512-j1nvOQCZYSgp7HLmisnCXFTpVvFODiijQ9QHkORfGKWH6YDtskTEeCJS7eV545GZ9UBzrq0e2xsOd5QQ5PjIqw==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.7", - "@babel/helper-compilation-targets": "^7.29.7", - "@babel/helper-module-transforms": "^7.29.7", - "@babel/helpers": "^7.29.7", - "@babel/parser": "^7.29.7", + "@babel/generator": "^7.29.13", + "@babel/helper-compilation-targets": "^7.29.13", + "@babel/helper-module-transforms": "^7.29.13", + "@babel/helpers": "^7.29.13", + "@babel/parser": "^7.29.13", "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7", + "@babel/traverse": "^7.29.13", + "@babel/types": "^7.29.11", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -251,14 +218,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.12", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.12.tgz", - "integrity": "sha512-2W76mhjrpQFO1lK5e8IvGYB2D0YZ7S2R1Z2BjO2ZUYuW+amcpK/z60U6ZZmzskwoa7sJ6XohP/Wg8H5KxXI/IA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.15.tgz", + "integrity": "sha512-gNWJUX0FlevflramOkaInywOMhU1lkln38gAC7TFZv2tsWbLYbN/2WZFGcq8zbX0Z55e4vGa27IB/NaeZoauWQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.12", - "@babel/types": "^7.29.11", + "@babel/parser": "^7.29.15", + "@babel/types": "^7.29.15", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -268,9 +235,9 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", - "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz", + "integrity": "sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==", "dev": true, "license": "MIT", "dependencies": { @@ -319,15 +286,15 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", - "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.14.tgz", + "integrity": "sha512-2XDvQVd9JESaOgGc4jT2/jquTAO7ppA5noTZQqH+MmZ89yjCzScLwtCPbWtkPZylL+TLWR49IwWmk+QkRR4GsA==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/traverse": "^7.29.14" }, "engines": { "node": ">=6.9.0" @@ -337,9 +304,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.11", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.11.tgz", - "integrity": "sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", + "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", "dev": true, "license": "MIT", "engines": { @@ -367,27 +334,27 @@ } }, "node_modules/@babel/helpers": { - "version": "7.29.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.10.tgz", - "integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.15.tgz", + "integrity": "sha512-l+ezV2czw3t2d2ELq+3CwPL4WLKK5O8IywBXb9/gpmbCOVZFmRYJPmHVqSCv2k+8iKbE30Zf54siOoIZ52XOxA==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.29.7", - "@babel/types": "^7.29.8" + "@babel/types": "^7.29.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.29.12", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.12.tgz", - "integrity": "sha512-WJ7JBp/Q4+z/ImydtI7jS6NVco5++632ExBemSX+Ysb+G1lCwQ5BVo3SY+jGGOcZXI4ZccbZSUSJLNBW6eEpJg==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", + "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.11" + "@babel/types": "^7.29.15" }, "bin": { "parser": "bin/babel-parser.js" @@ -397,18 +364,18 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", - "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.15.tgz", + "integrity": "sha512-304gsbbGVmQc+cNGHzwHBlqepYdWLKj3VXCQBGt/EGcV7PUPfKI7kAUNW1FZEOCwlQiLvQjg1JEaAlRQ616h+Q==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.29.10", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.29.10.tgz", - "integrity": "sha512-R4FKrg4Vy0hB7PfAxf9LOorEPd5/36SCIXPXAvjlQaQmPvtrjwoDXV15jsSm2ecsqBW1Iewwb7mEnG83xIEApg==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.29.15.tgz", + "integrity": "sha512-oWZbv4AjnZYKfpuis/BLJpikPpcb/KxVupHZbMqVDL1lxuaDpC4hYUpFCV/GtFUX9Vpg0G7n5Yrf4YauStAv7Q==", "license": "MIT", "dependencies": { "core-js-pure": "^3.48.0" @@ -433,18 +400,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.29.12", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.12.tgz", - "integrity": "sha512-MscXe/NAZcOkYEsRajHZFt3ynsb22PUi6CTrp5U7+RYycR9By84mn9mFN54YgfITiqK4hFx3Ju3tZSyzfpS5ew==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.15.tgz", + "integrity": "sha512-ZfawBo2i8vvt+BTt37dWDKBPjUfm/H+bw+ltwsCRhW7gPtyNVwUXuNo54eO2Xo+P4VXpalPFfFISbBTRKC8SOQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.12", + "@babel/generator": "^7.29.15", "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.12", + "@babel/parser": "^7.29.15", "@babel/template": "^7.29.7", - "@babel/types": "^7.29.11", + "@babel/types": "^7.29.15", "debug": "^4.3.1" }, "engines": { @@ -452,13 +419,13 @@ } }, "node_modules/@babel/types": { - "version": "7.29.11", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.11.tgz", - "integrity": "sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", + "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.11", + "@babel/helper-string-parser": "^7.29.15", "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { @@ -482,19 +449,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@bramus/specificity": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz", - "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "css-tree": "^3.2.1" - }, - "bin": { - "specificity": "bin/cli.js" - } - }, "node_modules/@codemirror/autocomplete": { "version": "6.20.4", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.4.tgz", @@ -545,9 +499,9 @@ } }, "node_modules/@codemirror/lint": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.9.7.tgz", - "integrity": "sha512-28/+iWLYxKxsvGYhSYL7zaCZqLz5+FFFDq9tVsvGv9kv8RY4fFAchJ5WX9M3YrrRlTIsECjsXPqeNgnSmNP2dg==", + "version": "6.9.8", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.9.8.tgz", + "integrity": "sha512-qNvtcE73xUto/D1RvtgSRI4A1Hg8ekxlvtZpjHpdpisLBnhyu82EUEJMEgaxkjuQCA8vqnrylENWKOsEDCOHcw==", "license": "MIT", "dependencies": { "@codemirror/state": "^6.0.0", @@ -617,146 +571,6 @@ "solid-js": "^1.8" } }, - "node_modules/@csstools/color-helpers": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz", - "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "engines": { - "node": ">=20.19.0" - } - }, - "node_modules/@csstools/css-calc": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", - "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-color-parser": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.7.tgz", - "integrity": "sha512-zgm9yjQz5iJB4VL8RyVwd71TWB8Q89FSxt/NzXoWqPSkEBOVtn9L6vAPtSc9hpKfB0Awo/AL2VKFHjYetBLFHQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "dependencies": { - "@csstools/color-helpers": "^6.1.2", - "@csstools/css-calc": "^3.4.3" - }, - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", - "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.16", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.16.tgz", - "integrity": "sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "peerDependencies": { - "css-tree": "^3.2.1" - }, - "peerDependenciesMeta": { - "css-tree": { - "optional": true - } - } - }, - "node_modules/@csstools/css-tokenizer": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", - "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - } - }, "node_modules/@emnapi/core": { "version": "1.9.2", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.2.tgz", @@ -1289,9 +1103,9 @@ "license": "MIT" }, "node_modules/@hookform/resolvers": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.1.tgz", - "integrity": "sha512-F3aM0dDWsRGmFjnnXjogaGLwP7gY2HA6/c5qp4v4Im/UV7pTNkX+WAjcOlM1V0PE0zoMzuPqCyaYtMzUhoFToA==", + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.8.tgz", + "integrity": "sha512-44+R4PUy3MWIBJR4sOjW0bZaz+H81k26urkTYeXAvEa8h45ueHrvQpZR/96iyLOobL6/yO0BJTaRPwwyDlL1/A==", "license": "MIT", "dependencies": { "@standard-schema/utils": "^0.3.0" @@ -1301,8 +1115,8 @@ "@vinejs/vine": "^2.0.0 || ^3.0.0 || ^4.0.0", "ajv": "^8.12.0", "ajv-errors": "^3.0.0", - "ajv-formats": "^2.1.1", - "arktype": "^2.0.0", + "ajv-formats": "^2.1.1 || ^3.0.0", + "arktype": "^2.0.0 || ^3.0.0", "ata-validator": "^1.23.0", "class-transformer": ">=0.4.0", "class-validator": ">=0.12.0", @@ -1395,9 +1209,9 @@ } }, "node_modules/@inquirer/ansi": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.10.tgz", - "integrity": "sha512-dwrc+1aqVZpHNkNDswXGtn1typ+Pxpo5FHZRyBw1le7onEJUkPUkYOY1FIFC1LvFMYUqqLuWBwElhAmencL7MQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.1.1.tgz", + "integrity": "sha512-WwCc5T9554vU/M3W6mztOJvZK/5RgMwQsGlSZSZpKA/H2IfsTWIPdn1WiS8+HHjhe3H0IsmQCXUlDbvGM6vvuA==", "dev": true, "license": "MIT", "engines": { @@ -1405,14 +1219,14 @@ } }, "node_modules/@inquirer/confirm": { - "version": "6.3.5", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.3.5.tgz", - "integrity": "sha512-BJ59BOyURiZiAxdr9AuRu38/k+rV+DcTIM2fUF/c/BXrab6H8zMZTTOl3LgkSJH96Xob2vOJxDiBkHiz32Xx2w==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.4.1.tgz", + "integrity": "sha512-ZLvGnS/+OtditM3RxULWDI3FVl3lR8mvh1ljZ8GCK8XKyfjI6Fq+ni6/2gbbH6n3gj6tinfNbE3QPplZ/xNVtQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^12.0.6", - "@inquirer/type": "4.2.1" + "@inquirer/core": "^12.1.1", + "@inquirer/type": "4.3.1" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" @@ -1427,16 +1241,17 @@ } }, "node_modules/@inquirer/core": { - "version": "12.0.6", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.0.6.tgz", - "integrity": "sha512-5yxn2LsJ8Tu4ei2a+yNkmFRhM/cb+JMEsEs/AW6CCOnBnpMy4IjYiPMFyHtYq8weOmlTyqqCx40y0DsD7OsEPw==", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.1.1.tgz", + "integrity": "sha512-JrVSjoB/+B4le+A/0GyZGv/oIK30KgGNUA0eVtEMNQLUmdpizfyXM0zglUZnwTtHLjpKGRlU/q6Iv5z2GYQw9w==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^2.0.10", - "@inquirer/figures": "^2.0.10", - "@inquirer/type": "4.2.1", + "@inquirer/ansi": "^2.1.1", + "@inquirer/figures": "^2.1.1", + "@inquirer/type": "4.3.1", "cli-width": "^4.1.0", + "fast-string-width": "^3.0.2", "fast-wrap-ansi": "^0.2.0", "mute-stream": "^3.0.0", "signal-exit": "^4.1.0" @@ -1454,9 +1269,9 @@ } }, "node_modules/@inquirer/figures": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.10.tgz", - "integrity": "sha512-51elrUJV3jZpvD0ygz8+U10Kc6+Lzqln+/tYmnbhy6jo5oXpE6hMCcv+OTBC0enwJXsb3JIuT3VtEinRNCSK2A==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.1.1.tgz", + "integrity": "sha512-63AOoKi9Wlsd1G+X5dKRg15GzN/WIEf0VghxHkcVn9JswideMlwq40qJMAO3II6JyhpDZPmi3CmVKjwOSYBAmA==", "dev": true, "license": "MIT", "engines": { @@ -1464,9 +1279,9 @@ } }, "node_modules/@inquirer/type": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.2.1.tgz", - "integrity": "sha512-lDkPsnv5M5CcYB2T1qTc3dobNTPkVr4DU3Ic2Q6SW8/qVRHgvzdRdmVZ6YqG9Ag1aJTeMsLU0s0WPRh3CZWDQQ==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.3.1.tgz", + "integrity": "sha512-WzfM7UPG5F8fhKPey5pTkAZQrGcGjOHbm6YLotuDdiuAkXEHiHSZh59yNeZs4RyrMHcZEZrl+GOcuLzzfLKJqg==", "dev": true, "license": "MIT", "engines": { @@ -1491,9 +1306,9 @@ } }, "node_modules/@isaacs/nonrecursive-glob-match": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.0.3.tgz", - "integrity": "sha512-SI7kyKHq4XXDRozw+r9GlRZkia1ZkFrpLW98r2IC2Bpr8YkFGE3fvjzmxCG0x78A++69HmDNrDvSMYBZmHGpKA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz", + "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==", "license": "BlueOak-1.0.0" }, "node_modules/@joshwooding/vite-plugin-react-docgen-typescript": { @@ -1539,9 +1354,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", "dev": true, "license": "MIT", "engines": { @@ -1603,9 +1418,9 @@ } }, "node_modules/@lezer/common": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.5.tgz", - "integrity": "sha512-Pw7PVCndruF1pb3ebCxpSVpkMHSDjwRCLcTRw+RizUKco5QbWylwq2g4lnG/RYN7yTTQDXE9F77MwtkAyphrjg==", + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.6.tgz", + "integrity": "sha512-NZxu3q49ck+YYbEJPuIPIyFP37XneBvzPIarBHEXBLBVfkZqQieZ/Y2boYnGNYtmjpOZLnAKs/lwqtmDpi365w==", "license": "MIT" }, "node_modules/@lezer/highlight": { @@ -1662,16 +1477,16 @@ } }, "node_modules/@msw/url": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@msw/url/-/url-0.1.2.tgz", - "integrity": "sha512-DdeBLQxQ+ZrtmwEmaj7GQ7lbzPCgbbbyAqOz/I4ulo68hwBpfdNvQJ5bmihJUkAAKOeCmqCIG3OFZGosqFN4mA==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@msw/url/-/url-0.1.3.tgz", + "integrity": "sha512-IvN0kCVRFtr12gBS3Nk8PRqjWjE/80ydze2DNQ0Z74ZjnMDWibVoaYFqGv9vR2LoiUfcVgEVaBWLFyp15M5YJg==", "dev": true, "license": "MIT" }, "node_modules/@mswjs/interceptors": { - "version": "0.45.11", - "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.45.11.tgz", - "integrity": "sha512-+ISPERIRIHhSVnFQRGCP9jDJXxn0/z2+pWWbXUym6JUfpUCRW2Pvro4P9RBKGYUKTKAULszKurKMTQIsaJUIgQ==", + "version": "0.45.12", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.45.12.tgz", + "integrity": "sha512-LLttQ/SSmseGFD/sNiHv9q34hd4gmPLN9uQdIIsU/V/o2AgTJm3dWoKHA4KTj0BzAans6CoEmpHYmp80yp69VA==", "dev": true, "license": "MIT", "dependencies": { @@ -1687,9 +1502,9 @@ } }, "node_modules/@napi-rs/wasm-runtime": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.6.tgz", - "integrity": "sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.7.tgz", + "integrity": "sha512-zJccwplOAbgfZju95IUHazLnx9RAPtPN2YGJXI6UbrgeaR9QfPjGrQL6ERkSAtnVCA4Q+83ApGyaX5zdpCaKkQ==", "dev": true, "license": "MIT", "optional": true, @@ -1704,8 +1519,8 @@ "url": "https://github.com/sponsors/Brooooooklyn" }, "peerDependencies": { - "@emnapi/core": "^1.7.1 || 2.0.0-beta.2", - "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" + "@emnapi/core": "^1.7.1 || 2.0.0-beta.2 || 2.0.0-beta.3", + "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2 || 2.0.0-beta.3" } }, "node_modules/@noble/hashes": { @@ -2436,9 +2251,9 @@ ] }, "node_modules/@oxfmt/binding-android-arm-eabi": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-android-arm-eabi/-/binding-android-arm-eabi-0.75.0.tgz", - "integrity": "sha512-zHJ7LcTN46/5mtoLxsUu14pdF9ixFwDURtmxZ0CeNwqom5qB5NRVqU6o2GRZ7QPdNBW8G6j9UTJzQ+EDevMH0w==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-android-arm-eabi/-/binding-android-arm-eabi-0.78.0.tgz", + "integrity": "sha512-1x9NPGQG5WMOOT8spRP4hPbeqwB/P9ayxFo4EUDSle6mLmtYRqE6suXgHr93/S2nnszy77LlIa8klkKdWtHbMw==", "cpu": [ "arm" ], @@ -2453,9 +2268,9 @@ } }, "node_modules/@oxfmt/binding-android-arm64": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-android-arm64/-/binding-android-arm64-0.75.0.tgz", - "integrity": "sha512-IdxsKZJvHZUvI7q6kLmzXdEFpFiBEDQw/WJtSp1QlzNXBw1JlLN3tY50WwWd4doPnq86XW4P+7BsQwu6meCW+w==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-android-arm64/-/binding-android-arm64-0.78.0.tgz", + "integrity": "sha512-1muYaW9SiPEq8NIPGX0B20oUwCx6HWiCsZem/2jU7UsOzoXLT4YxWq6ybdhwKSKl0PyAfvyMyPF7FsI1To7AdA==", "cpu": [ "arm64" ], @@ -2470,9 +2285,9 @@ } }, "node_modules/@oxfmt/binding-darwin-arm64": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-darwin-arm64/-/binding-darwin-arm64-0.75.0.tgz", - "integrity": "sha512-vyiqZilO5jal/nXZ0143NyKcP6TkzjaQdVEWU/kwgyWqugAgIRgAbrnO3MOF+e6LkQu3CrtrkPoc3mrsZZY6cA==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-darwin-arm64/-/binding-darwin-arm64-0.78.0.tgz", + "integrity": "sha512-jl4KJdo8HrVpLmcSYS/7oDXPH8Hzd6VrzgUFRAbY0j6cSRjcDkUnpuAStuNLoqvMtZEi7Rdy68BBriCgWJcy2g==", "cpu": [ "arm64" ], @@ -2487,9 +2302,9 @@ } }, "node_modules/@oxfmt/binding-darwin-x64": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-darwin-x64/-/binding-darwin-x64-0.75.0.tgz", - "integrity": "sha512-oua7eVqVe769mDam6ORcavygxTzG3ovo5QRQ1kJCPaEbnWXPYhtAiYDj8pajVmFjO7j8Elf3gInnWpTX0LLYtg==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-darwin-x64/-/binding-darwin-x64-0.78.0.tgz", + "integrity": "sha512-RwOhQgAQi1qV3TeuTfrgGkCWEL3eDFIql/lo4rt2xpGHqyolKa+W5cFbb+M9IvwMwQbplii5Gbv1ZQQPTJlNug==", "cpu": [ "x64" ], @@ -2504,9 +2319,9 @@ } }, "node_modules/@oxfmt/binding-freebsd-x64": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-freebsd-x64/-/binding-freebsd-x64-0.75.0.tgz", - "integrity": "sha512-NWkbezhg7mx2Ep94g/TysR3c1bsISsU4lQ6t5xI4841PAk0Kqcn1+UEe+BoFH2/UK2YegPXq+OF+0bUcSvUalA==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-freebsd-x64/-/binding-freebsd-x64-0.78.0.tgz", + "integrity": "sha512-MAXydj01mLjMUlnmo7sYVm+7kdBdU9Nwaux2Q1f9oLNqt3CCdego1oMoZ30qDyZQGQXfVJZEU1yRV7mSzwKDVA==", "cpu": [ "x64" ], @@ -2521,9 +2336,9 @@ } }, "node_modules/@oxfmt/binding-linux-arm-gnueabihf": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.75.0.tgz", - "integrity": "sha512-CAHX87kJplTq2E0OWP7opG8gEVlHc7CeLEi4nMJOyx3psuqBKf84HZ3UIkX2guWEJ5UljU2zJF0o46XylywVVA==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.78.0.tgz", + "integrity": "sha512-rz6FVZRiWsq3O2YQgCoqZRwaQQaPQ70NBks4+KINjjPJOjBTd8g/iq6ynS97ode+qKGlhXtpc/xCl8LHzfOjyQ==", "cpu": [ "arm" ], @@ -2538,9 +2353,9 @@ } }, "node_modules/@oxfmt/binding-linux-arm-musleabihf": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.75.0.tgz", - "integrity": "sha512-jmxYOiQzx2fp+OwQb7717K1zI8AMKEykw04sfr95/mU8SIL/oKgQq8nXH42sEznEquBL2RU7nLY36eBnYFT+vg==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.78.0.tgz", + "integrity": "sha512-lIK0XJi4JP1FnhuLjR/JWhQHGghZc+ghFNnbZTQC8kxsmrkW3ex8CeF7fp0FT+rEP0Nm6voCYkasL8poVWA9sQ==", "cpu": [ "arm" ], @@ -2555,9 +2370,9 @@ } }, "node_modules/@oxfmt/binding-linux-arm64-gnu": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.75.0.tgz", - "integrity": "sha512-eimaiAhx08dbOg12Fj3PYhymXY8vRbaiJB505vDXMy6ohne3Y1qTS0e5KEwFMq3LmDjEO+16BX38c/oXFI/SAQ==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.78.0.tgz", + "integrity": "sha512-o2LJIHfW3ZADOjDVk5c7MM1M8CiAG43GTc4mlJAK23fOHgru4CvnqWedCoCXpIsKokoRdEa7XdQywPGZv1BAiA==", "cpu": [ "arm64" ], @@ -2575,9 +2390,9 @@ } }, "node_modules/@oxfmt/binding-linux-arm64-musl": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.75.0.tgz", - "integrity": "sha512-bjSONIG1ba2xugr9oHQau0E6oPFYOMjPaa5hK/wpVC/Q1pcgf2BZMKwbuA8/cWzhWX5QV/UdPzD+rw1kQHpikQ==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.78.0.tgz", + "integrity": "sha512-G+lUaQk94Vo+4byyd8X2+pPXtd7wObpdbvBC8xyozZD0ROSVBI3XpNNR6HECkJq4Q51AwLuJG81f4x+4eqvSrw==", "cpu": [ "arm64" ], @@ -2595,9 +2410,9 @@ } }, "node_modules/@oxfmt/binding-linux-ppc64-gnu": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.75.0.tgz", - "integrity": "sha512-wDksWQXC/KZucISyqlhBtvpW+pyHh8z0Cjm6Qxiv22XlllM2Bx5gJGDnPYjV+H0lL+o1iqLlEli8jmBuRCLcjw==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.78.0.tgz", + "integrity": "sha512-r76PAZf9/ZgF/iDRaIf8nLsr4x6ZHe/j2QLmWUjoQ46Sa11qMO68a5u5iux3y8vLzqYTS/xtKO9PjjMfyk5png==", "cpu": [ "ppc64" ], @@ -2615,9 +2430,9 @@ } }, "node_modules/@oxfmt/binding-linux-riscv64-gnu": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.75.0.tgz", - "integrity": "sha512-5JkNwViqaVuk4I+9+zgVrEYiHOAPXFxgDgP6iDnpdOBjm7XAHAOjSvolHZZAokWPx7CGOw8tKteXmn4WPIInaQ==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.78.0.tgz", + "integrity": "sha512-SQiXTt/c4aVoRXkJvhf4Y/sA1XYe3XjSMDbdX5PiAssBuHERoGtncQXz0KKWkXPejWTKlAL4mZSQZdHOCiw7TA==", "cpu": [ "riscv64" ], @@ -2635,9 +2450,9 @@ } }, "node_modules/@oxfmt/binding-linux-riscv64-musl": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.75.0.tgz", - "integrity": "sha512-1EVqRIE0eZLB08j3ZCVN47Ors7LCXGmOI+3xJYgyoFUKUerD3Glxb+Q1Bp3lK8NeT5R3ZdS9uhX/wobNBYZ6jw==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.78.0.tgz", + "integrity": "sha512-VNB3wFUx/rAqwVNW+uyXxb+c0HUrmcS51UPkFMDWJY95c6Tck6u6HOyVLsqiYoC8kh2mGlwanYmjb/R2McvN0A==", "cpu": [ "riscv64" ], @@ -2655,9 +2470,9 @@ } }, "node_modules/@oxfmt/binding-linux-s390x-gnu": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.75.0.tgz", - "integrity": "sha512-UJWRVNT6Yuw4ssLv2BwaBUWU1GWtByE+EnoHu8I+P1t8Kn+WozYU5WYOqb5aj8gbXJJ8gGZt+w40Hi/7L6iVLw==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.78.0.tgz", + "integrity": "sha512-1nbI0Y7SXwx2f4mJmKt58MaDdjAcoaYM90pBMGdcZCsTW2taFW1/MUi3uQGRPAN2n+3PldCdO9m+D6x+gU/heg==", "cpu": [ "s390x" ], @@ -2675,9 +2490,9 @@ } }, "node_modules/@oxfmt/binding-linux-x64-gnu": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.75.0.tgz", - "integrity": "sha512-FHdvHhyz8ChBctBUvVGti49kSEwANd1PZQwlXUEoF9Ed4plxXxk/wWc0mfZmrze2lRgmME7ytDmVIOixYauQhg==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.78.0.tgz", + "integrity": "sha512-I2z2ISPjrl3CSRF5fmQkNnoh46UVU1GjM1V0+COJyNZcj0SDNM4DrPP2/gXCX38YJ1P2BL6sF2VdsJ+pEYEbJQ==", "cpu": [ "x64" ], @@ -2695,9 +2510,9 @@ } }, "node_modules/@oxfmt/binding-linux-x64-musl": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-x64-musl/-/binding-linux-x64-musl-0.75.0.tgz", - "integrity": "sha512-6MjtsF96s9mSBV0GEwUe4pOFPP2Mz7ahcHPAit0DSKL5fM6oMM7RG1zvYxwB7+SBkIxsWBRhhxuqmy7pibNwsA==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-linux-x64-musl/-/binding-linux-x64-musl-0.78.0.tgz", + "integrity": "sha512-YHt5nKKFxT4SruI57FHnEhGRSDuoFqNoAM3moYCClg70mjjS39gBBbdzaZv+N0otdzvQVuHTPu3jFu5tpqC3XQ==", "cpu": [ "x64" ], @@ -2715,9 +2530,9 @@ } }, "node_modules/@oxfmt/binding-openharmony-arm64": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-openharmony-arm64/-/binding-openharmony-arm64-0.75.0.tgz", - "integrity": "sha512-1D6T6aL1Pj+U5GLxqwV1fKjUJ5+FFm+bn7UrqNDMveZmWs0jo/3vc+dzzuV/jF/FdVo12gowODk3SnAO2YOwLg==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-openharmony-arm64/-/binding-openharmony-arm64-0.78.0.tgz", + "integrity": "sha512-WH21lBMU+LYzF7aMeozTZlyc44oa2F+I5OtQ7RwuidCDoAxgTyN1s34rx0PBYrio56+2G88U9VOnYJsyV7VMHQ==", "cpu": [ "arm64" ], @@ -2732,9 +2547,9 @@ } }, "node_modules/@oxfmt/binding-win32-arm64-msvc": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.75.0.tgz", - "integrity": "sha512-RX2eUmy7J/nM8+tnM3nzR8t1eqkwj1q8Kgo7beA+4DVgKYYHHyrEa3qEmthxw7Z+HqpCCEOWuoqa+jelo9/w2Q==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.78.0.tgz", + "integrity": "sha512-uNQqHJrtHIiSl8pMbhDktmGpA1hqwldWNO8kbNpNFhVt+BYk4C3Ge8nlJgkRtGjtMam0+542G5UQJJG6lLePbg==", "cpu": [ "arm64" ], @@ -2749,9 +2564,9 @@ } }, "node_modules/@oxfmt/binding-win32-ia32-msvc": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.75.0.tgz", - "integrity": "sha512-UpKta0iSZmPLII0dYXYdbzdBTsGREUbSHLqgLdtKcqBvs40qjmUz+cgUcaU1smPx13DfbEG4XqnaSn5MoFN0og==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.78.0.tgz", + "integrity": "sha512-W6omURRT39EHBPH4Z8sUPIOzWVjMbhCCCWcfT0sa6aeC+vOXNyBAJmpQRh5//KfPDX96jJlNith9i4N65wxB+Q==", "cpu": [ "ia32" ], @@ -2766,9 +2581,9 @@ } }, "node_modules/@oxfmt/binding-win32-x64-msvc": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.75.0.tgz", - "integrity": "sha512-pjiLiCk0QMCWxs0n5XiNU85YLAKA+wJxPjxlDVygmr4bP4glcfTU2nOpso5nR4Rdi2Pxv5YwakD4UE+eh7M0BQ==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/@oxfmt/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.78.0.tgz", + "integrity": "sha512-r9rWKeDVc7lIrj0Us9kP08W7FudYAoWyEdO40qnKk20bHiTbW/z2v4LoIxxUENQyFfApbeV2Gl9XsEgY/tY1dA==", "cpu": [ "x64" ], @@ -2783,9 +2598,9 @@ } }, "node_modules/@oxlint-tsgolint/darwin-arm64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/darwin-arm64/-/darwin-arm64-7.0.2005.tgz", - "integrity": "sha512-VqDZxcZVjlonNLuuvraVNgDQt+1ndwa4yJo8OqsK4HYh/61ba9IlMStCVfi/aaIqRoDhNbAKC8gdcTrXqnb+Ug==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/darwin-arm64/-/darwin-arm64-7.0.2008.tgz", + "integrity": "sha512-RXcQ439KXqspwHtw39825cyFmvrkOa1AA2CnqFNNG0pVJB0FdhpfQZsDLjRc/3Mt/uEG0MWOG50Hl09J2Ra9UA==", "cpu": [ "arm64" ], @@ -2797,9 +2612,9 @@ ] }, "node_modules/@oxlint-tsgolint/darwin-x64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/darwin-x64/-/darwin-x64-7.0.2005.tgz", - "integrity": "sha512-4kUfLRNYoVpv0Tm3jPYrvxyfOc/LmdvFC3pKZ4tL6K7lA7K/VS81SAtmxRzbYXYSyb3SBWhwsuX+df4neqzxxA==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/darwin-x64/-/darwin-x64-7.0.2008.tgz", + "integrity": "sha512-4FpkHVDF1I4W0Owgsff8rDdf/XVcI9aoqflqyh3JiMCg7zCzWNkB0hfKMNjMDYDAeK/k1CNawAb7Y7mYGr/Xhg==", "cpu": [ "x64" ], @@ -2811,9 +2626,9 @@ ] }, "node_modules/@oxlint-tsgolint/linux-arm64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/linux-arm64/-/linux-arm64-7.0.2005.tgz", - "integrity": "sha512-rhUNcPsBlKvhXtrbhbBUidtRBRdJ8fbEHN9H5Q5N59gby18ruGuDA7KUxl7oRnUzp797uykYQhkBDm+0KpfK/Q==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/linux-arm64/-/linux-arm64-7.0.2008.tgz", + "integrity": "sha512-CmheyZowc+sbXlZ2ksFrbqR6Mnu+HHheZZKTP3FpDBe64eCp6DzSrjcR2VHRj6mC2UKF1ZO0J8Z1e9Bgji4kKw==", "cpu": [ "arm64" ], @@ -2825,9 +2640,9 @@ ] }, "node_modules/@oxlint-tsgolint/linux-x64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/linux-x64/-/linux-x64-7.0.2005.tgz", - "integrity": "sha512-tKs9yinDQZOHygM0e8EJnjTU3mzJtdfkOZP6Udu82iLMePUSHOhTJ9zzU/mSd1hQxURI4LTRRiFhfzC+PzwdNA==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/linux-x64/-/linux-x64-7.0.2008.tgz", + "integrity": "sha512-7by4bup5rF9q7i19G6zPDXgywBi3tFB6jGzefoc/BfleNS0Q/eleYpD2SDLmsXzN2hFpDrfAskx7H0WnUtKbtQ==", "cpu": [ "x64" ], @@ -2839,9 +2654,9 @@ ] }, "node_modules/@oxlint-tsgolint/win32-arm64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/win32-arm64/-/win32-arm64-7.0.2005.tgz", - "integrity": "sha512-VYPnu1gjfbSv+ROhuyNfMs382D4zQU2ZRc8Uc3nuEZo1k2kf+1KfTrg4hrlWh73h9GI+dUWyo+DYCQzUBlPwcQ==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/win32-arm64/-/win32-arm64-7.0.2008.tgz", + "integrity": "sha512-u12UqT/xG64vXclqfe3/7I4j2mWSMZmXsMRBxbgmGfHaEfZUEzxl1QCNyx3TDM5OfsWWKH4dAHJtDRxTAiYA7A==", "cpu": [ "arm64" ], @@ -2853,9 +2668,9 @@ ] }, "node_modules/@oxlint-tsgolint/win32-x64": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/win32-x64/-/win32-x64-7.0.2005.tgz", - "integrity": "sha512-ekU89cTGy9fpQzuvxIsFHrnoP8XoFjGIRgPEW6eqgY2NYjGy9pwpjF79o04WXRMJFKRrcaVqkZXUUBdLsqpQDw==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/@oxlint-tsgolint/win32-x64/-/win32-x64-7.0.2008.tgz", + "integrity": "sha512-Vjev4Ns8rdGa4Tb85ZsBkei0reLa77j3FNJsCKPo2gi5oTPK5O2eN42sim2ewoorgx7JQ3+49YuUKa1d6UKHPw==", "cpu": [ "x64" ], @@ -3233,14 +3048,14 @@ } }, "node_modules/@rc-component/cascader": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@rc-component/cascader/-/cascader-1.22.0.tgz", - "integrity": "sha512-SffrA57aS9oub3VuI7ajPhJTPtaNxngSvtRhD40Rd8dwJ5vfWPSrVanWgeepdWFGBt7EHftIK5RUU0u3rCTwWw==", + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@rc-component/cascader/-/cascader-1.26.0.tgz", + "integrity": "sha512-x8n7/LKzdOcuo0+rzmLlMI7mwo2bkOzXS0BST8/X0XyD7NVBdC3xbXvL3/ZH6wsLAWBQAmkmJVrK3DKeDgqDMQ==", "license": "MIT", "dependencies": { - "@rc-component/select": "~1.10.0", - "@rc-component/tree": "~1.4.0", - "@rc-component/util": "^1.11.1", + "@rc-component/select": "~1.12.0", + "@rc-component/tree": "~1.5.3", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3263,14 +3078,14 @@ } }, "node_modules/@rc-component/collapse": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@rc-component/collapse/-/collapse-1.2.0.tgz", - "integrity": "sha512-ZRYSKSS39qsFx93p26bde7JUZJshsUBEQRlRXPuJYlAiNX0vyYlF5TsAm8JZN3LcF8XvKikdzPbgAtXSbkLUkw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@rc-component/collapse/-/collapse-1.3.0.tgz", + "integrity": "sha512-1pFv7V080Y2ba+MlW6R5arBbxz4EipC7YZmbyHT9ecfWtb1FPCBz9aOKKuX5cBBqdpM+jGDSNORuW4OM/QWIcg==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.10.1", + "@babel/runtime": "^8.0.0", "@rc-component/motion": "^1.1.4", - "@rc-component/util": "^1.3.0", + "@rc-component/util": "^1.13.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3278,6 +3093,12 @@ "react-dom": ">=18.0.0" } }, + "node_modules/@rc-component/collapse/node_modules/@babel/runtime": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.1.3.tgz", + "integrity": "sha512-tno/enifiFAE77kbJadRE5wKfmzxlYvdB5Dj8yqmWoT49mDJE+wvLgvJY/EKt/jQllv369GMxyyJ9tKfTL33Nw==", + "license": "MIT" + }, "node_modules/@rc-component/color-picker": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-3.1.1.tgz", @@ -3323,14 +3144,14 @@ } }, "node_modules/@rc-component/drawer": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.2.tgz", - "integrity": "sha512-1ib+fZEp6FBu+YvcIktm+nCQ+Q+qIpwpoaJH6opGr4ofh2QMq+qdr5DLC4oCf5qf3pcWX9lUWPYX652k4ini8Q==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.3.tgz", + "integrity": "sha512-7gqhmv9K4VQnpOR8JQfwBU2QxgjeRP/1MroKqXg7CDvrt8dghIpQ9ungD9JlrAlpyYmV4ziwRZeyc2ks++9L4g==", "license": "MIT", "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/portal": "^2.1.3", - "@rc-component/util": "^1.9.0", + "@rc-component/util": "^1.11.1", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3339,9 +3160,9 @@ } }, "node_modules/@rc-component/dropdown": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rc-component/dropdown/-/dropdown-1.0.3.tgz", - "integrity": "sha512-YTST/N6kpqpDz3IMuM/PSSZnrDpSOA6dgHv12gPA90ZTSLv2CoqkZ0+9NtwTY6BeO7dstPblSic2QJg7dSFy/g==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@rc-component/dropdown/-/dropdown-2.0.1.tgz", + "integrity": "sha512-ZZncN8mWNbC5U+YAUQUNXT/R5gOF7HxplEnK979CGjVVLvfp/ULb8IqE8sLU8bKVk7oWqv8cAt4DL0iGoGvNrA==", "license": "MIT", "dependencies": { "@rc-component/trigger": "^3.0.0", @@ -3388,13 +3209,13 @@ } }, "node_modules/@rc-component/input": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@rc-component/input/-/input-1.3.1.tgz", - "integrity": "sha512-iFvTUT9W+JC/MSin2aGAk8NqsVlTzcExNC9DZariON1IWirju9NoNeEk47an4Q8iHazkoVI/y1LnDi88+CPcig==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@rc-component/input/-/input-1.4.1.tgz", + "integrity": "sha512-NZF402PNixm56G6793DSz0zgDLtUf1eFR6XMI0cBbsRr71odJ295B/aJD2p0hliYJnm6X5pYxEMLcatRCpTjUQ==", "license": "MIT", "dependencies": { "@rc-component/resize-observer": "^1.1.1", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3403,13 +3224,13 @@ } }, "node_modules/@rc-component/input-number": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@rc-component/input-number/-/input-number-1.6.2.tgz", - "integrity": "sha512-Gjcq7meZlCOiWN1t1xCC+7/s85humHVokTBI7PJgTfoyw5OWF74y3e6P8PHX104g9+b54jsodFIzyaj6p8LI9w==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@rc-component/input-number/-/input-number-1.8.0.tgz", + "integrity": "sha512-6hyI17JGZ/P3LXEqDZ3fRmcdNVTAS6aBbZ/cvKu0xCz3v3IF5t8OxCddjy/oSCSBcu+iLh878BbHEgeqKBHQ3A==", "license": "MIT", "dependencies": { - "@rc-component/mini-decimal": "^1.0.1", - "@rc-component/util": "^1.4.0", + "@rc-component/mini-decimal": "^1.1.1", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3418,9 +3239,9 @@ } }, "node_modules/@rc-component/listy": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rc-component/listy/-/listy-1.2.3.tgz", - "integrity": "sha512-IXiMjV5s0rczLBlfh7G5nB4M3365mrEeedjwKtf5I+Ns3PqRUsebR2h5u8CeFarsVfLUPC2I5p0h09TNoOWyvQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rc-component/listy/-/listy-1.4.0.tgz", + "integrity": "sha512-enNtH2D3nU00qqP+YFxG3V3rnaXpN6HecFUIc/Q5SjxFmg8Ab20os1odn90Bam5y+ZIiOh52HUqvu4HwZv8pkQ==", "license": "MIT", "dependencies": { "@rc-component/motion": "^1.1.4", @@ -3436,15 +3257,15 @@ } }, "node_modules/@rc-component/mentions": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/@rc-component/mentions/-/mentions-1.12.0.tgz", - "integrity": "sha512-v5MBx8zDcqCT+uybJgKpcx3Fgrvj0m3u+A/15RlSBaMx12lLoJZTTYggC3pbYYfohcKujWWUyBz6O6Gp2vGiNA==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@rc-component/mentions/-/mentions-1.14.1.tgz", + "integrity": "sha512-Ra4462KKaiAkwRklJpYZPznWssCf0LjFKIhHaxuha1rwdrTY1UBeYSzfqj7ux7S2/AqjR9k60U5PijFToNma/Q==", "license": "MIT", "dependencies": { - "@rc-component/input": "~1.3.1", - "@rc-component/menu": "~1.5.0", + "@rc-component/input": "~1.4.1", + "@rc-component/menu": "~1.6.0", "@rc-component/trigger": "^3.0.0", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3453,15 +3274,15 @@ } }, "node_modules/@rc-component/menu": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@rc-component/menu/-/menu-1.5.0.tgz", - "integrity": "sha512-RjvzPsZkwVEg3xu+/jDDqDeUCBJAnWylONFlGeQgg5enlNAnlpybqhaMGE/UPEIvr6hL90PGhjFBguJqj0Qb2Q==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/@rc-component/menu/-/menu-1.6.2.tgz", + "integrity": "sha512-S4vR5PEhfDjV8Wi3bMQCGhM15MuQjtTTkLrUj/nVAaGrmD0/kcBZ6V3z0f5+QMIj01sF95dRohBKNh0gy/AoXQ==", "license": "MIT", "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/overflow": "^1.0.0", "@rc-component/trigger": "^3.0.0", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.13.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3482,12 +3303,12 @@ } }, "node_modules/@rc-component/motion": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@rc-component/motion/-/motion-1.3.3.tgz", - "integrity": "sha512-Xh3IszxvlSv3/PLYFyC2UZi9LNB83yOnkB/LNmRzaypZLvkhqUIPS7MQpGZcCMWrNsXV2p6YTSWbSGvFpEle9A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rc-component/motion/-/motion-1.4.0.tgz", + "integrity": "sha512-Eg2Wop56M8ZS1KrNhBHZD29gFg+WOT3W+ckncJuuLSGV95EabAyewJH6p28BFJryCSqRsuXRH3/iMiAIY7dtnw==", "license": "MIT", "dependencies": { - "@rc-component/util": "^1.11.0", + "@rc-component/util": "^1.11.1", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3546,12 +3367,12 @@ } }, "node_modules/@rc-component/pagination": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@rc-component/pagination/-/pagination-1.4.0.tgz", - "integrity": "sha512-CW1g7P9V8u+e8JQdUsl2RWg+GCsoee0mtJjZUCCxn/vb3jzOwDKm6hAdwddHCVBfWJ58eGUBZz3IvnU8rRktjw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@rc-component/pagination/-/pagination-1.7.0.tgz", + "integrity": "sha512-bG3H6gNTABAX9wIRjonxld2SU8C4wvpq/8Xgg30oQWsunRTtUeIlM7J+9UvJAC0CXgG9ZFpoiQ+vbyOuXCcveA==", "license": "MIT", "dependencies": { - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.13.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3560,15 +3381,15 @@ } }, "node_modules/@rc-component/picker": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/@rc-component/picker/-/picker-1.12.2.tgz", - "integrity": "sha512-ZB1A+tzTQkgtR4flPrAMvxIAOelIIOOOsp22fU2Nad6PbZcJacnyGJUJqUH7ZS9mwxeUwurf1pLMKXrVsK1tlA==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@rc-component/picker/-/picker-1.17.0.tgz", + "integrity": "sha512-r+fJajCeT2gIVzuOSX+M2jjMglCYLa2b7ESZbD1IYrhOBhnHN3H0rSrbcThi/XRumlz1qWMncnC1WHQTzPolSg==", "license": "MIT", "dependencies": { "@rc-component/overflow": "^1.0.0", "@rc-component/resize-observer": "^1.0.0", "@rc-component/trigger": "^3.6.15", - "@rc-component/util": "^1.13.0", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "engines": { @@ -3615,9 +3436,9 @@ } }, "node_modules/@rc-component/progress": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rc-component/progress/-/progress-1.0.3.tgz", - "integrity": "sha512-Q1nPLIvKr95el/q76yaBh5nv1hqCsWaHQb8U7vXEDMefEhHgM7n3CPoN+o4LHnTyANQHmMFgoS/naAT4Bhxuaw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rc-component/progress/-/progress-1.1.0.tgz", + "integrity": "sha512-4IjvlwckYBxp6kauIkjSGNNXKIpuU5PoBnAIME4fYoQABBt0HAzyM0Sz0EEnaJiifRu3wTOwE5GFy4hzJthBxA==", "license": "MIT", "dependencies": { "@rc-component/util": "^1.11.1", @@ -3691,20 +3512,20 @@ } }, "node_modules/@rc-component/segmented/node_modules/@babel/runtime": { - "version": "8.0.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.0.10.tgz", - "integrity": "sha512-0QyWQOIhl2onOgg96BuOYV+oCgLINVDPC8RkVPCiQhLILVqpefDUmcY+aAsW6vp7fcuTZL6SXXlFrSDCTFIu1w==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.1.3.tgz", + "integrity": "sha512-tno/enifiFAE77kbJadRE5wKfmzxlYvdB5Dj8yqmWoT49mDJE+wvLgvJY/EKt/jQllv369GMxyyJ9tKfTL33Nw==", "license": "MIT" }, "node_modules/@rc-component/select": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@rc-component/select/-/select-1.10.1.tgz", - "integrity": "sha512-H+yQsl+qED9NilQ3g6zdpsMwUgwVjrcMTkNHAWRVU/MoNCYgTbDgU+MIMgZDK+rVdd2JUfI/MkysMcZZ0cyQKw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@rc-component/select/-/select-1.12.0.tgz", + "integrity": "sha512-S3YCqh6GnXL47MkA7Jb1SQdiinfUeygBkCpWhWFVH3nrOzObOiNobkX8HPHomjhpiVRDa/9ESszhPnfyuubFFw==", "license": "MIT", "dependencies": { "@rc-component/overflow": "^1.0.0", "@rc-component/trigger": "^3.0.0", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.14.0", "@rc-component/virtual-list": "^1.2.0", "clsx": "^2.1.1" }, @@ -3717,12 +3538,12 @@ } }, "node_modules/@rc-component/slider": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@rc-component/slider/-/slider-1.1.1.tgz", - "integrity": "sha512-LSzgWGYDgeCDgR4r1XlU29gbYws6HpLnvJd/uMhLeW/vQgxldeR+Wb4uzHDCHiYEbr1bnEHWdjkPxjJRHxuiig==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@rc-component/slider/-/slider-1.2.1.tgz", + "integrity": "sha512-viYU/3Vy8dXfTOAB/5rNkNHIsHJQ7DwK+sdQ5L76qDHhL8RtLfwsR7pYTUFfmKUgSAhSzEQolmfuDeIx3/fBJQ==", "license": "MIT", "dependencies": { - "@rc-component/util": "^1.3.0", + "@rc-component/util": "^1.13.0", "clsx": "^2.1.1" }, "engines": { @@ -3765,9 +3586,9 @@ } }, "node_modules/@rc-component/table": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@rc-component/table/-/table-1.11.1.tgz", - "integrity": "sha512-OWdS6DMmeWb7bJBGqPxYZpQbzBlBiXZUu2sqo6Ii7Sjs9GeK1IsrXrWk26SL2c6KEseabswdxrRj7WUm9LdECw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@rc-component/table/-/table-1.12.0.tgz", + "integrity": "sha512-uyrnUDucOKR7BeXRtw3v2CM/LkuXjbvFhM1+HFdUc11Vkfc4aEXgHjPXvi6jKK8NuS3Yt4wMgBuLVIRTPJoqwQ==", "license": "MIT", "dependencies": { "@rc-component/context": "^2.0.1", @@ -3785,16 +3606,16 @@ } }, "node_modules/@rc-component/tabs": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@rc-component/tabs/-/tabs-1.13.0.tgz", - "integrity": "sha512-3FXr+9ZII8tFLWuDWrgjRaxZd2mazkKJAGRFEfVmp4r1qnBglOlxQ78l54Td1aj6/iFaaEReKSAF2HToztU5uw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@rc-component/tabs/-/tabs-2.0.0.tgz", + "integrity": "sha512-gpknpprmgyPXdDJ4TJ2NIVNbHc+S43bb4G1iAESq5DYCQwT6zGURWE/1uGtCoyQBZ+ySk2Tx+fekpbw9GafvoQ==", "license": "MIT", "dependencies": { - "@rc-component/dropdown": "~1.0.0", - "@rc-component/menu": "~1.5.0", + "@rc-component/dropdown": "~2.0.0", + "@rc-component/menu": "~1.6.0", "@rc-component/motion": "^1.1.3", "@rc-component/resize-observer": "^1.0.0", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.13.0", "clsx": "^2.1.1" }, "engines": { @@ -3840,13 +3661,13 @@ } }, "node_modules/@rc-component/tree": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@rc-component/tree/-/tree-1.4.0.tgz", - "integrity": "sha512-dGsJGDJQedA0BqqVgj3F8BvHXTSZijyhTXdbAdkcx8lynzZkty/CV3Z3LOm/fxz+BCfl3dfGiAQpb7Q5XNvl0Q==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@rc-component/tree/-/tree-1.5.3.tgz", + "integrity": "sha512-Uk4AFu3FQg+WfeFa+KtfQtuQmgV6Wc+ZQdeJeOpsJyu65bcGAp43PiHlx9xhW06BS+OUyzUc0pvwM9PqFZvB+Q==", "license": "MIT", "dependencies": { "@rc-component/motion": "^1.0.0", - "@rc-component/util": "^1.11.1", + "@rc-component/util": "^1.13.0", "@rc-component/virtual-list": "^1.2.0", "clsx": "^2.1.1" }, @@ -3859,14 +3680,14 @@ } }, "node_modules/@rc-component/tree-select": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/@rc-component/tree-select/-/tree-select-1.16.1.tgz", - "integrity": "sha512-a1Oi6EJhqAhdOxxupdJi6fP0RPHMKn5TcfkX2+llaQ4lF4nwfH7b6SCHcnsybaa2s+pk1yZYwVyeOYkDnEBRdg==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/@rc-component/tree-select/-/tree-select-1.19.0.tgz", + "integrity": "sha512-LlZTsnShZkSJpOJ7XuLmhSNUqyaYl1OUbdRzdgaqcyZyYydOyWb8GC0wxHMeyL3qau3kNg/r3fo6gqASHQ2uog==", "license": "MIT", "dependencies": { - "@rc-component/select": "~1.10.0", - "@rc-component/tree": "~1.4.0", - "@rc-component/util": "^1.11.1", + "@rc-component/select": "~1.12.0", + "@rc-component/tree": "~1.5.3", + "@rc-component/util": "^1.14.0", "clsx": "^2.1.1" }, "peerDependencies": { @@ -3909,9 +3730,9 @@ } }, "node_modules/@rc-component/util": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/@rc-component/util/-/util-1.14.0.tgz", - "integrity": "sha512-qFpkGBCiyN3NNAU+FOnZdcdz7A/rXCg3JdQk+bujUKAExZgRqzf2yy1f4YN63Lwctic5FcK9rgjQ6aWbykqwEw==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@rc-component/util/-/util-1.14.1.tgz", + "integrity": "sha512-pyCKpJ+L2EcNspFpKBG10C1dyMv0w9FzcM+gM3FK4h6/NtMZzdimr5iYDR8ptfp4wJj9lnYHg3OTvLVE1EuTbQ==", "license": "MIT", "dependencies": { "is-mobile": "^5.0.0", @@ -3942,9 +3763,9 @@ } }, "node_modules/@rc-component/virtual-list/node_modules/@babel/runtime": { - "version": "8.0.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.0.10.tgz", - "integrity": "sha512-0QyWQOIhl2onOgg96BuOYV+oCgLINVDPC8RkVPCiQhLILVqpefDUmcY+aAsW6vp7fcuTZL6SXXlFrSDCTFIu1w==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.1.3.tgz", + "integrity": "sha512-tno/enifiFAE77kbJadRE5wKfmzxlYvdB5Dj8yqmWoT49mDJE+wvLgvJY/EKt/jQllv369GMxyyJ9tKfTL33Nw==", "license": "MIT" }, "node_modules/@remix-run/route-pattern": { @@ -3954,9 +3775,9 @@ "license": "MIT" }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.16.tgz", - "integrity": "sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.19.tgz", + "integrity": "sha512-e+Ebe0WT+9tbXmNKPIiC8YrWAHYwug3m6i4p3rZGGulfZri1jtI4HslT+OZnFf/OIHowWF71DTlHwXBP2SiA7A==", "cpu": [ "arm" ], @@ -3971,9 +3792,9 @@ } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.16.tgz", - "integrity": "sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.19.tgz", + "integrity": "sha512-hOombrTJ+szt2ciEzS7oCA78lMPBgF5UMQWCJIyNfnrI7GLl8HYoFqCnpL2gcPOaXMqryGCU5ExdQKyDDcC+yA==", "cpu": [ "arm64" ], @@ -3988,9 +3809,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.16.tgz", - "integrity": "sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.19.tgz", + "integrity": "sha512-XoMA2pwCKGTQzUjPgtRwkedH4WmXhdIPKT6l6oOxd1PUbNodGI6DcBekgN7EC//+x3pfBYX/qL1gNmZAqivw5g==", "cpu": [ "arm64" ], @@ -4005,9 +3826,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.16.tgz", - "integrity": "sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.19.tgz", + "integrity": "sha512-zo8EsSSwMZCY/e+fRnGaX02YGgvJD0yvhNi/9hpGPA2MJ9ZF8dPCw75UGfpI6OpQ/myR/dIYmogRvqiZD0TrXg==", "cpu": [ "x64" ], @@ -4022,9 +3843,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.16.tgz", - "integrity": "sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.19.tgz", + "integrity": "sha512-O8ISAOfI1nj7AuBPd30FSF47z7f7lzlk5poQVGgiikvQuGEBFYvW8ki+UEnT+YJPnNGjQzn304klt4O9FUE7mA==", "cpu": [ "x64" ], @@ -4039,9 +3860,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.16.tgz", - "integrity": "sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.19.tgz", + "integrity": "sha512-/lYCba5NO0yq4S0jGMH8QTBtkvQxoXjoQWzF5BcWp9MjB9jxVRD1GQDNofkVjcOj30DWyhLIN/4Oe60JKzaONw==", "cpu": [ "arm" ], @@ -4056,9 +3877,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.16.tgz", - "integrity": "sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.19.tgz", + "integrity": "sha512-pm/apFMBnSbFb3O6nG5pHO1iqHhZrjGDFEjSm+ot9J17XXPvH9L90y5h+jgfHCE+Qdlsvy8qKEcU4VKxgjD+vA==", "cpu": [ "arm64" ], @@ -4076,9 +3897,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.16.tgz", - "integrity": "sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.19.tgz", + "integrity": "sha512-K1SmQp3FFichn8oqrNIwvFoZ5wcvjC7goBzpaMNvLf9FZc+QB/QvLmnpJZgAAGHiD980tP8FZZnXk2K94rvlxg==", "cpu": [ "arm64" ], @@ -4096,9 +3917,9 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.16.tgz", - "integrity": "sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.19.tgz", + "integrity": "sha512-I0xwD57jP/3A7+5UPZin2w8Y7XHEmEM5zqpYZOcQ45MlNW6tUJUziymV3yRr7rL4vwyfEcRsRksC4a7Kc08p5Q==", "cpu": [ "ppc64" ], @@ -4116,9 +3937,9 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.16.tgz", - "integrity": "sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.19.tgz", + "integrity": "sha512-BrtEHT24SNXj9HiXqy+s/kXiSiQGt6EKCPUlRirAoIioVxKGnbXBUEkbZASAei7iZJB0/Ynm+0JP00Ipx7AnSw==", "cpu": [ "s390x" ], @@ -4136,9 +3957,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.16.tgz", - "integrity": "sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.19.tgz", + "integrity": "sha512-rm75/9DkHKeU2WnA8w4X94WGYgLlDCFCfkQC+4bguVJmC/jvDRv2B+2wLOYhyE0fVuv7//Ckk39OoOufyCu76Q==", "cpu": [ "x64" ], @@ -4156,9 +3977,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.16.tgz", - "integrity": "sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.19.tgz", + "integrity": "sha512-irh/4+iYFM4GAzpluDErgjz89bj6NDtqqMAG/6O1LG38Ed3NpyebzCpcVNkFW8uhy+/3/BocUvnXDR33CXWe9A==", "cpu": [ "x64" ], @@ -4176,9 +3997,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.16.tgz", - "integrity": "sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.19.tgz", + "integrity": "sha512-+KWTWNoPt+CfSq94CiceWu3yPE+QzkaG+phPyz9G60tmZLwfQkcA4AeksafzvJAw4pvg1mcd5a1TkUqVv0s4JA==", "cpu": [ "arm64" ], @@ -4192,10 +4013,85 @@ "node": "^20.19.0 || >=22.12.0" } }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.2.19.tgz", + "integrity": "sha512-7EH+skOsl5qpWnK0vzamgJFhOv1cwxQpsxm8tI883K9fur5c27p8q87fzEO6BbBPabA2/+s/zR63/pLc137iOg==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "2.0.0-beta.2", + "@emnapi/runtime": "2.0.0-beta.2", + "@napi-rs/wasm-runtime": "1.2.6" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/core": { + "version": "2.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-beta.2.tgz", + "integrity": "sha512-MzCVoWtcg4Pm2B3je5mMvYMvj3MmBKw+fU7vbsJc9/iT8ip6/eYIHo/Dsm/mr+wsHB6SEyJDuxB09Yy6r/8+4A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "2.2.0", + "tslib": "^2.4.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/runtime": { + "version": "2.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-2.0.0-beta.2.tgz", + "integrity": "sha512-JcrSPzPvZuNZvJqPTF9Fw25LbOJ8avzFVlaf2grmH4Cku0oGP47tRgqPZadcfj3YoZMHkFVnCYFbQM8I+i5QEw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/wasi-threads": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-2.2.0.tgz", + "integrity": "sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.6.tgz", + "integrity": "sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || 2.0.0-beta.2", + "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" + } + }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.16.tgz", - "integrity": "sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.19.tgz", + "integrity": "sha512-3Q1Yg1Q7tEvBWoZf5rFvG/GKZQPgwfru+p4wBajDfJFBs0SHCpL++dfTjW9gyAKd1T7ZpIYvdaUax7Pa/IhFVQ==", "cpu": [ "arm64" ], @@ -4210,9 +4106,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.16.tgz", - "integrity": "sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.19.tgz", + "integrity": "sha512-y/sqRRc6d7hECzOFc5n3LSeqctmIp9mMjY1Kq4s14uLPd/LZ4z7i1zrW6fMtp2mPeuQIC4e6ULMcwQzMomqQag==", "cpu": [ "x64" ], @@ -4227,9 +4123,9 @@ } }, "node_modules/@rolldown/pluginutils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", - "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.1.1.tgz", + "integrity": "sha512-glFIJDvLNDtJhT9qrMFWLPbvS+skxgt4L0K8Ei2YtnhPysAJnsI7nyxSJxKj4ADeKX0OLjC4ntRkwpLOoS3rwA==", "dev": true, "license": "MIT" }, @@ -4423,9 +4319,9 @@ "license": "MIT" }, "node_modules/@storybook/addon-a11y": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-10.6.5.tgz", - "integrity": "sha512-7dEH3OHKdE+0zakqEy50KtfhPORIm1xnhWeehyROO1Ct7Rx9s7cYcx6edUZvh0tCuX5VhDnDmkvQV+dbrPDmCA==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-10.6.8.tgz", + "integrity": "sha512-+tzs6nyvy4A4/tCFcXZoYrt7d5K8nQN8p7H1nP1GFicTHY4mlQpebP2PZUBcitupXUpyvHfYvw8fJUhrQKJC4Q==", "dev": true, "license": "MIT", "dependencies": { @@ -4437,19 +4333,19 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^10.6.5" + "storybook": "^10.6.8" } }, "node_modules/@storybook/addon-docs": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-10.6.5.tgz", - "integrity": "sha512-Kt0pGLA+nwdu2g80p8jbdoiiKXxwQbhrY6uzMzq/0G1lytxpJUzrOQAM+GDcEbqyvpKr0u5d1q05/LPem/uooQ==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-10.6.8.tgz", + "integrity": "sha512-5Xa3HX/OHDxFlMwCe5CBRjUbxntTyI6O1s4vo9crDiHqO3wZJY1zwdVLzNCbdZ58sh2pxAWrATk9rKi6MjWp/w==", "dev": true, "license": "MIT", "dependencies": { "@mdx-js/react": "^3.0.0", "@storybook/icons": "^2.0.2", - "@storybook/react-dom-shim": "10.6.5", + "@storybook/react-dom-shim": "10.6.8", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "ts-dedent": "^2.0.0", @@ -4461,7 +4357,7 @@ }, "peerDependencies": { "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "storybook": "^10.6.5" + "storybook": "^10.6.8" }, "peerDependenciesMeta": { "@types/react": { @@ -4470,9 +4366,9 @@ } }, "node_modules/@storybook/addon-vitest": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/addon-vitest/-/addon-vitest-10.6.5.tgz", - "integrity": "sha512-0N0E7TQgmdrPNCPqNiVdTWOEQ1Nes+YsUphYX/abzlp6ReOyYBoQJw6mZ0b7BN5ACgdXQsr9Tth161t72k+51Q==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/addon-vitest/-/addon-vitest-10.6.8.tgz", + "integrity": "sha512-rokOBjvK8cmxHf4plhXgRtSfJsizG+jUAkvv8VwCaG9xTu2hCtbOT415McZlpAMhiMXSlRg9A8ESYatU0ZartQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4486,7 +4382,7 @@ "peerDependencies": { "@vitest/browser": "^4.0.0 || ^5.0.0", "@vitest/browser-playwright": "^4.0.0 || ^5.0.0", - "storybook": "^10.6.5", + "storybook": "^10.6.8", "vitest": "^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": { @@ -4502,9 +4398,9 @@ } }, "node_modules/@storybook/builder-vite": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-10.6.5.tgz", - "integrity": "sha512-udrGjg3yt38pz4FxplypXxw1creIGS7N6QS8xfvTFM8MQNtPyojT/gZdd4fhX0dFrQx5MMuJEYJA5gUBiPsLtg==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-10.6.8.tgz", + "integrity": "sha512-prL9t88RSzN3uk8Kzx5LnkqIODhRbwKa0PMryTlIEcew1J1hAiXcCNCJTDM5uhKjTO8s4OSBsCozVozdd+C2TQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4515,7 +4411,7 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^10.6.5", + "storybook": "^10.6.8", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" } }, @@ -4537,14 +4433,14 @@ } }, "node_modules/@storybook/react": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/react/-/react-10.6.5.tgz", - "integrity": "sha512-vvRjRe/O8NRiQbGyA7Ne6h2jbD6GjwNZFkMdHl+0kZH8Z/S9ZWWmKmjCySvH/OmgighdCOQ98tcfND7m65WQBg==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/react/-/react-10.6.8.tgz", + "integrity": "sha512-esvGyYhZp/c9REfTNg4ewcQugygWbRpff2iaJMZzez8KRchi+yW8mEdlG2SFQ2f4MDYzgPFHb7t+4+6OHxMA+A==", "dev": true, "license": "MIT", "dependencies": { "@storybook/global": "^5.0.0", - "@storybook/react-dom-shim": "10.6.5", + "@storybook/react-dom-shim": "10.6.8", "react-docgen": "^8.0.2", "react-docgen-typescript": "^2.2.2" }, @@ -4557,7 +4453,7 @@ "@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "storybook": "^10.6.5", + "storybook": "^10.6.8", "typescript": ">= 4.9.x" }, "peerDependenciesMeta": { @@ -4573,9 +4469,9 @@ } }, "node_modules/@storybook/react-dom-shim": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-10.6.5.tgz", - "integrity": "sha512-Qbbkp+5Otg32w8Ddav6rH6MGPiYVfEzrgn0HqbqlqS8kY+DRXo+NYXJwZTVSDSwrYPrfH+Ok2tV4uE8Zo0c3cg==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-10.6.8.tgz", + "integrity": "sha512-5OI3IEdi0kZYvbi3sAvg7Z/UHGYm8Dr/kl9DPgv5PiK4vqnyRvIOaufypQMNc9gujz4gm2X1WKMwffEAWV1EMQ==", "dev": true, "license": "MIT", "funding": { @@ -4587,7 +4483,7 @@ "@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "storybook": "^10.6.5" + "storybook": "^10.6.8" }, "peerDependenciesMeta": { "@types/react": { @@ -4599,16 +4495,16 @@ } }, "node_modules/@storybook/react-vite": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/@storybook/react-vite/-/react-vite-10.6.5.tgz", - "integrity": "sha512-RsRF1drYtCku7+PMdRnuFt3EdG8Rn8I5G8ne0cBjn24xSn5Pbo9W+y9IoyD2llAeaeCpzEEdASY12wpKd3aCQA==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/@storybook/react-vite/-/react-vite-10.6.8.tgz", + "integrity": "sha512-LD3twjlX5/LZ1NRY9uI1IxzsNHrNV7NuKABTG8RRsBdFF8gX+lUyF38GuNdASgBhmOQSGKGZIiREXrbs3ls3Ug==", "dev": true, "license": "MIT", "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "^0.7.0", "@rollup/pluginutils": "^5.0.2", - "@storybook/builder-vite": "10.6.5", - "@storybook/react": "10.6.5", + "@storybook/builder-vite": "10.6.8", + "@storybook/react": "10.6.8", "empathic": "^2.0.0", "magic-string": "^1.1.0", "react-docgen": "^8.0.2", @@ -4622,7 +4518,7 @@ "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "storybook": "^10.6.5", + "storybook": "^10.6.8", "typescript": ">= 4.9.x", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, @@ -4633,13 +4529,13 @@ } }, "node_modules/@swagger-api/apidom-ast": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ast/-/apidom-ast-1.13.3.tgz", - "integrity": "sha512-5722GHs+iLl4F5EbyReh+d0XEmG6t4F1BRTPEjHBrmfboBICi7u1cwwZ2wsCskQl0TehEl3RX1ZJWPmpkzjQFw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ast/-/apidom-ast-1.14.0.tgz", + "integrity": "sha512-yzKA1z63/YL/bT50axexISPwQpQC7Vtl+OBVGMktz9lQgKpQTudKEp/k4c3D61jOS5YWKtu2UzcB65l/AY+0mQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-error": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4647,14 +4543,14 @@ } }, "node_modules/@swagger-api/apidom-core": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-core/-/apidom-core-1.13.3.tgz", - "integrity": "sha512-Sgd8pWucD2vs055koRTrRG1zH+pj9VXdyLtjKKC/iML6eAFgd0lmLccK2aFNGt2/36olIzNODeRMTPRnufZgCA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-core/-/apidom-core-1.14.0.tgz", + "integrity": "sha512-4BCnyq7P7ZJZawZpIt0tw/OGgiTYsfZ5nCq+9az0hHQWyQ/C7nbYzjeCoY+gMGlO33S/CIlzkJL7nL7xv4rijA==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", "@types/ramda": "~0.30.0", "minim": "~0.23.8", "ramda": "~0.30.0", @@ -4664,35 +4560,35 @@ } }, "node_modules/@swagger-api/apidom-error": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-error/-/apidom-error-1.13.3.tgz", - "integrity": "sha512-5erobaeuRu5rAwcL/ljE3jGuX/ILENq3zLU8rZCV0/rvlc5vuGGhyowt8UmI79L7y+vifYFs6d+kcfn/di0T6A==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-error/-/apidom-error-1.14.0.tgz", + "integrity": "sha512-LiuN9xv+qM1w+zrYXTg94uZSKtzMQp64fiKxU8CZW/psfyj+/5RUt3bn+tHzoVuaN8XPLyvCafCchZ8MKTcvEA==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.20.7" } }, "node_modules/@swagger-api/apidom-json-pointer": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-json-pointer/-/apidom-json-pointer-1.13.3.tgz", - "integrity": "sha512-eQaMH3HnR5eElsBQc5IueDsZoK76uCnW78JZDP2uLDTq3Lqx0hzUyFnZUSwY/XrLmfcLWtJiSABezEU/DcfJBg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-json-pointer/-/apidom-json-pointer-1.14.0.tgz", + "integrity": "sha512-lxBGROkikKtqe8WyXSczRSttwKp79jqNiJ2KK6OsuWxe+3ehic2dzvC+xKXgIiSkGjYRV3saSa2OcwvcqSWOuQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", "@swaggerexpert/json-pointer": "^2.10.1" } }, "node_modules/@swagger-api/apidom-ns-a2a-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-a2a-1/-/apidom-ns-a2a-1-1.13.3.tgz", - "integrity": "sha512-TZEmV3E2Hji9dDm7e1wAckMnqFGdxnFSrbDtwKbubSfYgshSMqx0Vc3mQu/IsigqSmZZLWgmOI9iq737SqraZQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-a2a-1/-/apidom-ns-a2a-1-1.14.0.tgz", + "integrity": "sha512-Dz/z444nTMr2n4cGHhf7fuBdX6dI+rsS65651NLmD52oFENRkklMgWcfwZqBWp8u87oLsCf8ZS0vqiaU6myLfQ==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4700,16 +4596,16 @@ } }, "node_modules/@swagger-api/apidom-ns-api-design-systems": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-api-design-systems/-/apidom-ns-api-design-systems-1.13.3.tgz", - "integrity": "sha512-00aflYATDo1RbkLNvAq/lS3aEZHfCKFwBZbSSvoLAXsIguzKYCCIjm5F+4fWLIiToL7junHvnUuS9PHTMre7bQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-api-design-systems/-/apidom-ns-api-design-systems-1.14.0.tgz", + "integrity": "sha512-p9GfaYZvNGMVuSy89IGeeyod+RFfKma+znrv1N4Id/QLBe0VLisnmqf/wKNWCpK8FE0uZqxvuFRUMj2eOuGnfQ==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-1": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4717,15 +4613,15 @@ } }, "node_modules/@swagger-api/apidom-ns-arazzo-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-arazzo-1/-/apidom-ns-arazzo-1-1.13.3.tgz", - "integrity": "sha512-42apSY7ttFRHIX7JDCH494IGwd6AhS7Owj4ftdfzhZUj1ZQU8YcXzunmlwig4tw1RyOR3hBzH51h0uvWO6M2+w==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-arazzo-1/-/apidom-ns-arazzo-1-1.14.0.tgz", + "integrity": "sha512-UIjdwgBCkOJYXxjmCulnvRjocJW0uhg2OXUS7FzKMXf0O3EeK3ChUoyOYgfSsQ8x6oF7uWbpSy4geSezCikj1Q==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-2020-12": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4733,15 +4629,15 @@ } }, "node_modules/@swagger-api/apidom-ns-asyncapi-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-asyncapi-2/-/apidom-ns-asyncapi-2-1.13.3.tgz", - "integrity": "sha512-TrUYjBi8obSkt30/rqmDS9mNepoPbJCF1zrnMVKx2EmYMqq3S35ZRC+PJSqCDCZ7VlVm8oE4/jtRm1LCmCPFvg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-asyncapi-2/-/apidom-ns-asyncapi-2-1.14.0.tgz", + "integrity": "sha512-MTJZk9Dpg9maey3eHg7D4t1Hl8i0pK8PrqXhmMGNiyKGMLSVmZeIZMC89fJVUZFn6zEcYAGE9dq0oAR4V17n5Q==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-7": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-7": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4749,15 +4645,15 @@ } }, "node_modules/@swagger-api/apidom-ns-asyncapi-3": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-asyncapi-3/-/apidom-ns-asyncapi-3-1.13.3.tgz", - "integrity": "sha512-uN8dK3zUS0rR2uWgeH7X2AGVzsupBjJqz3jebkneTdPm9r8xmJuKhPboXiafrveqv0V9BGFUcMSn9S9FPyD1Cg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-asyncapi-3/-/apidom-ns-asyncapi-3-1.14.0.tgz", + "integrity": "sha512-oxRxbEaZ019N2hYQh7TQT5JyyWFaenwx0nCE8wGUCYVeXAnH5BH8SCOxJgi51++N1Ro+mFtP6+D26GyFLl1asA==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4765,15 +4661,15 @@ } }, "node_modules/@swagger-api/apidom-ns-json-schema-2019-09": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-2019-09/-/apidom-ns-json-schema-2019-09-1.13.3.tgz", - "integrity": "sha512-W0P/yN5ZDxjEFb2W+f7NK1XokhBxXvfhWVSPoze7K+bF4ekcB2qkfxAdsI38FWvlxQGL6TQETxQna9Lp1d7blw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-2019-09/-/apidom-ns-json-schema-2019-09-1.14.0.tgz", + "integrity": "sha512-jHE49ethyReHw0krjIx+pi0gEESNCCjVxuEp1ZvdVun7a+KIBJwp9koHVxO+GPlXBeg/accV2WK0ASGiwXffQA==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-7": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-7": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4781,15 +4677,15 @@ } }, "node_modules/@swagger-api/apidom-ns-json-schema-2020-12": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-2020-12/-/apidom-ns-json-schema-2020-12-1.13.3.tgz", - "integrity": "sha512-fF5Wqvmb2vvx0o0Tr5Vcz+Q6gedVi7oGeKJWaSBA7WJ0awUz+PCIW3OPiKhcxdVW2/Zrxd5kMELDCmarnHS65Q==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-2020-12/-/apidom-ns-json-schema-2020-12-1.14.0.tgz", + "integrity": "sha512-HGBVG+JlAQbHmLunjDlmNw80NUN6DVyy4p+VMs9JZH2oACSKaOxNmHhertk0Szg0xdNXVEJiVvOKkjeLI+iADw==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-2019-09": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2019-09": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4797,14 +4693,14 @@ } }, "node_modules/@swagger-api/apidom-ns-json-schema-draft-4": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-4/-/apidom-ns-json-schema-draft-4-1.13.3.tgz", - "integrity": "sha512-8jh6dhDKskIPP/76aIMlNpCHf5oHHyMuAe4FL2nw3fat3GOq/l0ea0a/6E1tjUJLokAaES0sWTkxYgNRWMBrBg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-4/-/apidom-ns-json-schema-draft-4-1.14.0.tgz", + "integrity": "sha512-Un0xLcfALPM9NWavUPL5LCU2kEYjhnkhqTxQolbXqE/BbQzBdiSFTlXys56L4tz6UyH8v1LjE2Af63UCY4kKmQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-core": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-core": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4812,15 +4708,15 @@ } }, "node_modules/@swagger-api/apidom-ns-json-schema-draft-6": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-6/-/apidom-ns-json-schema-draft-6-1.13.3.tgz", - "integrity": "sha512-axUur9XmKCi42WSGceBXKwnqPTMMVF+0Etaksazo5j7ydWLEM0J1EyeeE7uZlpaoIA1/ev2m09j2v1LNOc6NYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-6/-/apidom-ns-json-schema-draft-6-1.14.0.tgz", + "integrity": "sha512-lVLknAwGZEyjWbFCQg8ZUVQetN8I5hGmcGb3bnURxglXpneFGsf6vFg1ptBRF4W6PO3okeOAyKvE93gZB4F5Jg==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-4": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-4": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4828,15 +4724,15 @@ } }, "node_modules/@swagger-api/apidom-ns-json-schema-draft-7": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-7/-/apidom-ns-json-schema-draft-7-1.13.3.tgz", - "integrity": "sha512-AyIMoer1bFhn3ULeEe6EMQDcD4b4JiTWQMvS/qDUoQqY6fCLPu6er/6cxcjcgTgf8L86aG6PhPxucnYDWr0DFQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-json-schema-draft-7/-/apidom-ns-json-schema-draft-7-1.14.0.tgz", + "integrity": "sha512-XECPBJyJRj6QKvNGwWumagSRIQhu0WGpYlnLNxyXPTFbDt52GBdz1k5qA4F+cJIBtOMKqZH+TSsMiRKjHs0PxA==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-6": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-6": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4844,16 +4740,16 @@ } }, "node_modules/@swagger-api/apidom-ns-openapi-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-2/-/apidom-ns-openapi-2-1.13.3.tgz", - "integrity": "sha512-ndrNoyETfWPOvoqNIQ19yoYGVhXlrLCK2xanTn+IGJ4hg/9vK2Le4Qmiv1O/E90hODs5JPx1WuZBRQikKOLW8Q==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-2/-/apidom-ns-openapi-2-1.14.0.tgz", + "integrity": "sha512-ithVOQNsgUbA4o4Gsyv5IXvXGk2EVFSzRb79L+fUNb2kBn2NThyG3IBLaHVkdLxzD5AtNiqw7canD1+osJLgZg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-4": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-4": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4861,15 +4757,15 @@ } }, "node_modules/@swagger-api/apidom-ns-openapi-3-0": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-0/-/apidom-ns-openapi-3-0-1.13.3.tgz", - "integrity": "sha512-emLzxkwOb/RCenwZ6DRukuTAWwwqcM6a76gpHL8rq9Ax8AEbmKB0Ex25tqc/HWXRRTOioylSuotluUvHcRqXEQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-0/-/apidom-ns-openapi-3-0-1.14.0.tgz", + "integrity": "sha512-sWd0ck8wG6dJZRhUEXENZWJwU4zdT8mPeGyNaaCwN0T7ShATg3RXL3eMJuRqP1liQmZuf+A5Ho/IxmS98ZgWYw==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-draft-4": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-draft-4": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4877,17 +4773,17 @@ } }, "node_modules/@swagger-api/apidom-ns-openapi-3-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-1/-/apidom-ns-openapi-3-1-1.13.3.tgz", - "integrity": "sha512-Oh1lonFFB1sEATek6e18efUMNG+ttXWrRHrblJtVMx7cUelP1BTvBt4ykrvlnXw4EoG8bIHwLtD6yVgCX1mcpw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-1/-/apidom-ns-openapi-3-1-1.14.0.tgz", + "integrity": "sha512-HCTmFPzQumKTrcs+4eaTMfhWgkx6dJ30Zh/VOkZOtVgQDUzezKKUm1+NIdFZEIaQ0ZmRGvdXZ+RZnF6v1U6hUQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-json-pointer": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-2020-12": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-0": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-json-pointer": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-0": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4895,18 +4791,18 @@ } }, "node_modules/@swagger-api/apidom-ns-openapi-3-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-2/-/apidom-ns-openapi-3-2-1.13.3.tgz", - "integrity": "sha512-1wUZvT2E71WorxQDy9zxrq2GJud7wUO6r/oDPTldnRiagAe/KXyLyRbucxeaLqh417wCg2ySGyClZVUT5QwE9g==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-ns-openapi-3-2/-/apidom-ns-openapi-3-2-1.14.0.tgz", + "integrity": "sha512-tFBqwD4t3ChezZ6oM7gNEbTFpNsb5xxg7ozhfgc34xdak1/MIQkRNLH/GgvpztG81pERIqrQLGcbWm5iH8wqFg==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-json-pointer": "^1.13.3", - "@swagger-api/apidom-ns-json-schema-2020-12": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-0": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-1": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-json-pointer": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-0": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -4914,176 +4810,176 @@ } }, "node_modules/@swagger-api/apidom-parser-adapter-a2a-json-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-a2a-json-1/-/apidom-parser-adapter-a2a-json-1-1.13.3.tgz", - "integrity": "sha512-v1GCfvk/goJBlroHSW5gVHWI0OgHG3HfsfHR6XlWwronJaaTq/Adz7yE/rNyjC+Wfmi7VVhuNoWvOUuWjbWr3w==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-a2a-json-1/-/apidom-parser-adapter-a2a-json-1-1.14.0.tgz", + "integrity": "sha512-161dG8D7BP7ejwNKLRweemGw4cpJjVMixXos/67PCnr2Hg+MV+vEhh0VtBJoSf2NMNnfhO9g1wKAnj2pDCYWNA==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-a2a-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-a2a-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-a2a-yaml-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-a2a-yaml-1/-/apidom-parser-adapter-a2a-yaml-1-1.13.3.tgz", - "integrity": "sha512-WMDimop6PdvAoNKymE5sm4xclvEfFFQhASKjY48t9E7gYg0qterZKspNBVDw0Zd6OP/Lg4NxmdafPlkhD5JTQA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-a2a-yaml-1/-/apidom-parser-adapter-a2a-yaml-1-1.14.0.tgz", + "integrity": "sha512-osK6KbCLUS12fMtjIQ/GZ8SbVZVoe0t9Lhb9IO4WSQz75R2YUdU/iB8Jx93SciiHjCQ/1iRI+EBfUZkmyzbeIw==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-a2a-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-a2a-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-api-design-systems-json": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-api-design-systems-json/-/apidom-parser-adapter-api-design-systems-json-1.13.3.tgz", - "integrity": "sha512-eaoQxXaMBBqYlNxYDbmzNyYCfn73TiqVuTQxfDNENtQmX36w3c/T7fBwOjfL41GqzzJF6pzVvu3jFHOFgse0Ww==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-api-design-systems-json/-/apidom-parser-adapter-api-design-systems-json-1.14.0.tgz", + "integrity": "sha512-Ga4ibi3XL4QPVKInUID5mbsX6wfDZ0awHHtLPktxkEauZdh/O/VAnvL7s559wJcFltNaHAQkHq0c2WPVkwxjZw==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-api-design-systems": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-api-design-systems": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-api-design-systems-yaml": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-api-design-systems-yaml/-/apidom-parser-adapter-api-design-systems-yaml-1.13.3.tgz", - "integrity": "sha512-Ne6oCXVaanpN1h4ThuOhiF4HDUN3lZmSfpkJt5qJrsMYNGIVqIIEjrqhVs3MDK+gSa+oQszHnbZSkePz+6dsJQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-api-design-systems-yaml/-/apidom-parser-adapter-api-design-systems-yaml-1.14.0.tgz", + "integrity": "sha512-6FWu5PsI/0YJts0GCF3+0EcBHteoV1oVVaKhf9cT2ZehG3fXHtgmz3lviG+CtdolIQ5+k4NNPvWXmECzZo96fg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-api-design-systems": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-api-design-systems": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-arazzo-json-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-arazzo-json-1/-/apidom-parser-adapter-arazzo-json-1-1.13.3.tgz", - "integrity": "sha512-UTV8YHKZInMCyXDBQq4rmgW+dK9rQ7tjRFjr4lzXWMZuBPcd0+ot4Wh0azn7NC8vXqa1qBX6a+pqX9hUVLRXQA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-arazzo-json-1/-/apidom-parser-adapter-arazzo-json-1-1.14.0.tgz", + "integrity": "sha512-CBSyZX+g3A7x9WPzve97gRNibgVXobPgEYaRBMkfEun51rsygI33yMOpmEBi7xu3FV7h8SQiB268krhCjfKaYw==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-arazzo-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-arazzo-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-arazzo-yaml-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-arazzo-yaml-1/-/apidom-parser-adapter-arazzo-yaml-1-1.13.3.tgz", - "integrity": "sha512-s0eT30Yy0izzZIRSJfQedwI0nOFMLs5E5wRzAUje8DI2qdSlFjA1AFtDtylMq9TQPn9y6AG2ysPy/TecfigdbQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-arazzo-yaml-1/-/apidom-parser-adapter-arazzo-yaml-1-1.14.0.tgz", + "integrity": "sha512-zDjsCgVDcFS/+YWZgSD3vJK4rzOZCg+HvcNEsCV9lO7FfN/jXykWFlFTkWDfSrSEoltRbWAzV5hd/etEvpjbjQ==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-arazzo-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-arazzo-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-asyncapi-json-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-json-2/-/apidom-parser-adapter-asyncapi-json-2-1.13.3.tgz", - "integrity": "sha512-u7OXUI17VK+SX6j8whSBNPnMl85fvexFyu1lbrdpNIJP3gojUgvSZN6g9w0pII7VYBfsYDkDLKQemYVQtK4jEA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-json-2/-/apidom-parser-adapter-asyncapi-json-2-1.14.0.tgz", + "integrity": "sha512-DwQpgYw8s9cLbxUtrP8psFzqoR52Bn1+r7a2khLxTebUgfUYLn8orffvq/xppx3lf2Rnvqgey7wPy0eI5WUoag==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-asyncapi-json-3": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-json-3/-/apidom-parser-adapter-asyncapi-json-3-1.13.3.tgz", - "integrity": "sha512-Z65quIJg7z74wGJH/JuAbGM92FsWxmHKrZQl7/0yMAzI56mATUTgDWNXbm51JypRzSA393MKpFzy0dinU0eN+A==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-json-3/-/apidom-parser-adapter-asyncapi-json-3-1.14.0.tgz", + "integrity": "sha512-V4BA10W8x0z/ZRpcRGjVdjKAxLC9eByrGDJjMYRQrEBOKGnUSkIE/xg3N7adp+SHSFem76H4Ez8+e4op67RQsw==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-3": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-yaml-2/-/apidom-parser-adapter-asyncapi-yaml-2-1.13.3.tgz", - "integrity": "sha512-18m7ubllmlEp1xUL2idh7u5QgJbQVkLVYtQvIalvVHC8Lr6I4kbG4LiZXjxGx1SBg+BpPV1jjlQ+bG+Iz4Vh7w==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-yaml-2/-/apidom-parser-adapter-asyncapi-yaml-2-1.14.0.tgz", + "integrity": "sha512-w5+0L5sZKbmjcx06Y1me6nK8v+q9n013hL19DzmU0EhVn9rWrqWg891irWwkOqmfJmCcuz8NVBIwqNMxDJy5Fg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-asyncapi-yaml-3": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-yaml-3/-/apidom-parser-adapter-asyncapi-yaml-3-1.13.3.tgz", - "integrity": "sha512-iuLrgNFv1mujaHkeO1xTRvrP28RMtwT3D6zq8RmqHrdlXEYd9RFTsecuBBax6ZyB4WRU3r/bbTPhy2UfhM0vaw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-asyncapi-yaml-3/-/apidom-parser-adapter-asyncapi-yaml-3-1.14.0.tgz", + "integrity": "sha512-TQpWTTJNg0eSxv8xpTJGOwMlftuHY/YeVpBphA9Ssk22K8ImmB/pZQGhE5oUJ7M7mbgXvlJOtkbuBFDQ7ji3Eg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-3": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-json": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-json/-/apidom-parser-adapter-json-1.13.3.tgz", - "integrity": "sha512-1TbxPuoh+ZSoGo0bcGnAeOFANU8GPTYVt1jsDnVIhNQL/DU/27hCuKse5xiystKNt6qiGyAQ1wEKqtaBedojzg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-json/-/apidom-parser-adapter-json-1.14.0.tgz", + "integrity": "sha512-6dUeLKjA/h62ost0ZMXAUBdfFvSRINuDh1U+9VVHkERq9ZsOmetLon+7T9UGkJPIi2R0r/Qr49LjuMGtnAE5JA==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0", @@ -5092,145 +4988,177 @@ "web-tree-sitter": "=0.24.5" } }, - "node_modules/@swagger-api/apidom-parser-adapter-openapi-json-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-2/-/apidom-parser-adapter-openapi-json-2-1.13.3.tgz", - "integrity": "sha512-gwc2lBGvmMlHXPKU5a8isCbGvo1CDg84uEjp3A/zT3SSYXaEBKOqrqLFvSVoPAtVo3tpTTwtSoxodESxdl1YLw==", + "node_modules/@swagger-api/apidom-parser-adapter-json-schema-json-2020-12": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-json-schema-json-2020-12/-/apidom-parser-adapter-json-schema-json-2020-12-1.14.0.tgz", + "integrity": "sha512-PYB86bWah0dYBVnsFk7yi9E6clRLn45VaBWSE418c2kCI8q7Bpm+URSnR0LUYLHV573BMY7UKpi7/W8fP23f6A==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", + "@types/ramda": "~0.30.0", + "ramda": "~0.30.0", + "ramda-adjunct": "^5.0.0" + } + }, + "node_modules/@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12/-/apidom-parser-adapter-json-schema-yaml-2020-12-1.14.0.tgz", + "integrity": "sha512-S869/DexEyiZsybmNvNJW5q/+JMP2PkufKCBjwpxqWCcFFGaJenwjaIvTJX1tfKrpc/cuBlviaKeyNA+cCaWBA==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@babel/runtime-corejs3": "^7.26.10", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", + "@types/ramda": "~0.30.0", + "ramda": "~0.30.0", + "ramda-adjunct": "^5.0.0" + } + }, + "node_modules/@swagger-api/apidom-parser-adapter-openapi-json-2": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-2/-/apidom-parser-adapter-openapi-json-2-1.14.0.tgz", + "integrity": "sha512-50dRHYztd1DxZTrKjjoBxvWskRAqn9OdP5JtfO3UkARxG0tNsQrNzcYFuO39OZnBxpE3h+1WChmHNL+c3jvTNw==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@babel/runtime-corejs3": "^7.26.10", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-json-3-0": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-0/-/apidom-parser-adapter-openapi-json-3-0-1.13.3.tgz", - "integrity": "sha512-VrW34GMn8PerjUBCNDHJpulSEAH8BsUAV09jPw4PhVsIFSombRbEflLDH8cpmLYS4l2ywNVgn6YiZKy92jnJ6Q==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-0/-/apidom-parser-adapter-openapi-json-3-0-1.14.0.tgz", + "integrity": "sha512-Q96xoMKQ+tg1/bVD2XmRgFU1HW/T+gb8MtR+UDkpRMEyylPi2ODJE8sfoL/oKlo2RuzHSi0giJ2RnFVkZLZFTg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-0": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-json-3-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-1/-/apidom-parser-adapter-openapi-json-3-1-1.13.3.tgz", - "integrity": "sha512-h06hVkFgpRiyWes2kRBKvquAVozIjAXBmEV7xowyo1hRyE+45VFPjey/pdaV6YWiSCekLZ2kRYh4U4b+U+oL0w==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-1/-/apidom-parser-adapter-openapi-json-3-1-1.14.0.tgz", + "integrity": "sha512-sXzDeTnY/VHH5Fd0gxS9JiOISU/U/YEWwdL+wYXXJPjDr0dddhTSad7+QMxP1BkqBJEIuS87Jmfv5qOAFV79Mw==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-json-3-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-2/-/apidom-parser-adapter-openapi-json-3-2-1.13.3.tgz", - "integrity": "sha512-QsVjugqHqwM4VvN2DIIHpHt+5clvliHOBAj/WBYeiCBTBBI6m1/2hlG2Vu7jyMEpA88ML1WLK8JOHf2+fOwN1A==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-json-3-2/-/apidom-parser-adapter-openapi-json-3-2-1.14.0.tgz", + "integrity": "sha512-vgcy8rsMwxcsS8xtJ0qJwy93zrHZ85YooHtc8ny2zCAKEv7QlKjXYdX1bDUskdxOV3Xh8ZaS5XPBqvL4DFS8/g==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-yaml-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-2/-/apidom-parser-adapter-openapi-yaml-2-1.13.3.tgz", - "integrity": "sha512-lWTxEXmISAE5qN3H0sKLZyNdlBTM3LwyeRbkuGSLbzT8SyIAL37chiuYaBNRfdA1Y8x9xbIdimCWZpACet4Glw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-2/-/apidom-parser-adapter-openapi-yaml-2-1.14.0.tgz", + "integrity": "sha512-oQS4SEjBfoEp0MMs2m6+4YIh+tqgs/PklSW9vdIhMbc4tbluM7Ro8tJXeIh3aS5lSyeN7ReJg9aJhzDooeWoAg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-0/-/apidom-parser-adapter-openapi-yaml-3-0-1.13.3.tgz", - "integrity": "sha512-EDmWNX7OFaHQl8YIRNdH06aehJZr3qt+1p2Qzrc2vn0adnmw9lQX3FvBUI44A5w3R/Q2z0iMtOXIo3baqr7MZQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-0/-/apidom-parser-adapter-openapi-yaml-3-0-1.14.0.tgz", + "integrity": "sha512-WCyBR8Ca1ge8XT54nDvHnoYbGCOpOOb6VOLlzrMOy/ikF7JKR+A9IuqRkqPEuhUjjxr5Dc1Edv4NlivFykEdqA==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-0": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-1/-/apidom-parser-adapter-openapi-yaml-3-1-1.13.3.tgz", - "integrity": "sha512-0Qi+dK+6F6cgu0GTm1Y/tCSbhN6zZI9iULjLPNsQYLZEKvUzo56FFcGVIOaYveG7qguXKC9YQ9bZcS1ZqhgS1Q==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-1/-/apidom-parser-adapter-openapi-yaml-3-1-1.14.0.tgz", + "integrity": "sha512-m1CwUYTgK0zvs0AndrdzKuL5FNfez6lag9nEsKfumoJJ1T/kev7Yo3jmPC++lLGsnJGbagIAkZ2nIBC5BuVKvQ==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-openapi-yaml-3-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-2/-/apidom-parser-adapter-openapi-yaml-3-2-1.13.3.tgz", - "integrity": "sha512-dL3vJ8kFSvh9mmlHM1Cl8hNFJWHQ8CpypkfN7QTuMHIVJruvOwJ2VWhNXM8GTH07ytFg8cFto0UAGYgG2E/raw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-openapi-yaml-3-2/-/apidom-parser-adapter-openapi-yaml-3-2-1.14.0.tgz", + "integrity": "sha512-4G6gEAp742YgXUocebXTDitiDkVvK30ceZFLvCmKaeuw1VsQJ/yNWGzTxkB25F0qbgdFGzceGJlX9eJx/svlGg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" } }, "node_modules/@swagger-api/apidom-parser-adapter-yaml-1-2": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-yaml-1-2/-/apidom-parser-adapter-yaml-1-2-1.13.3.tgz", - "integrity": "sha512-6jNhcCGnEE35dCG1NGEEddUb26kFU8VzuBoCJpOeCOJcKcsVehSpS2igD9bOVepoWMORRRE7CQkcCjoKMk95Xg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-parser-adapter-yaml-1-2/-/apidom-parser-adapter-yaml-1-2-1.14.0.tgz", + "integrity": "sha512-ckzyyfgJUH+rEajzlrFaCwqc/K19KIIN1V9/zaVugDdxe1LLbtk11RQQa6AetkpeQdYVPzTMHIpKGluGyhZ1Bg==", "license": "Apache-2.0", "optional": true, "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-ast": "^1.13.3", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-ast": "^1.14.0", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", "@tree-sitter-grammars/tree-sitter-yaml": "=0.7.1", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", @@ -5272,14 +5200,14 @@ } }, "node_modules/@swagger-api/apidom-reference": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@swagger-api/apidom-reference/-/apidom-reference-1.13.3.tgz", - "integrity": "sha512-mOJ7ANqcrxhzGHPybNuzAV8Ytm7gCGRj+S4xOkNmg7cerPmMgUxTwhDPF3FDQ/wUfQL+jjdYef2IydwdOxab+A==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@swagger-api/apidom-reference/-/apidom-reference-1.14.0.tgz", + "integrity": "sha512-LCp15dZ61tEEMYsZY65qbRTx0KEqwO8j2qNowV3rADQa91x3QKPo8V1mcGAh+DUGun3m3hjh72c5rLsJCb6zSg==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.26.10", - "@swagger-api/apidom-core": "^1.13.3", - "@swagger-api/apidom-error": "^1.13.3", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", "@types/ramda": "~0.30.0", "axios": "^1.20.0", "minimatch": "^10.2.6", @@ -5287,34 +5215,37 @@ "ramda-adjunct": "^5.0.0" }, "optionalDependencies": { - "@swagger-api/apidom-json-pointer": "^1.13.3", - "@swagger-api/apidom-ns-a2a-1": "^1.13.3", - "@swagger-api/apidom-ns-arazzo-1": "^1.13.3", - "@swagger-api/apidom-ns-asyncapi-2": "^1.13.3", - "@swagger-api/apidom-ns-openapi-2": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-0": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-1": "^1.13.3", - "@swagger-api/apidom-ns-openapi-3-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-a2a-json-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-a2a-yaml-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.13.3", - "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.13.3", - "@swagger-api/apidom-parser-adapter-arazzo-json-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-arazzo-yaml-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-asyncapi-json-3": "^1.13.3", - "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-asyncapi-yaml-3": "^1.13.3", - "@swagger-api/apidom-parser-adapter-json": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-json-3-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.13.3", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-2": "^1.13.3", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.13.3" + "@swagger-api/apidom-json-pointer": "^1.14.0", + "@swagger-api/apidom-ns-a2a-1": "^1.14.0", + "@swagger-api/apidom-ns-arazzo-1": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-2": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-ns-openapi-2": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-0": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-a2a-json-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-a2a-yaml-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.14.0", + "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.14.0", + "@swagger-api/apidom-parser-adapter-arazzo-json-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-arazzo-yaml-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-json-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-yaml-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json-schema-json-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0" } }, "node_modules/@swaggerexpert/cookie": { @@ -5342,13 +5273,10 @@ } }, "node_modules/@swc/helpers": { - "version": "0.5.23", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz", - "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.8.0" - } + "version": "0.5.24", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.24.tgz", + "integrity": "sha512-6tcXo4kA8HgGO7AVmawB57RYi/piBPYVHVcO6dXjX+SZw8GoHmi262sp4v2Ha2kNP9Cx84qei27yT+fjS1lxgg==", + "license": "Apache-2.0" }, "node_modules/@tanstack/match-sorter-utils": { "version": "9.2.6", @@ -5367,9 +5295,9 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.105.1", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.105.1.tgz", - "integrity": "sha512-B/rNlZoZ54w1dlddiUt9oEe1SLM+37c00SKLJEg9YH+7as3Y54P81o9Fh+2ujZ36tXPnQJ5oVe7AcyEWkyFhPg==", + "version": "5.108.3", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.108.3.tgz", + "integrity": "sha512-Lh8fyLDlHOdZXfUB+G1M5bKxfQ1Y0/mfydFP+pMjFKweAU4OUiC4MyIBTcW7Ck+Iwt6K3/pzvADrJi2Dc1lwuQ==", "license": "MIT", "funding": { "type": "github", @@ -5377,9 +5305,9 @@ } }, "node_modules/@tanstack/query-devtools": { - "version": "5.105.1", - "resolved": "https://registry.npmjs.org/@tanstack/query-devtools/-/query-devtools-5.105.1.tgz", - "integrity": "sha512-3iHdlC/S1e1W+7bemP5WN/feZapc0WW6XHXtmfY3AmWVlA20tEK4WxVXcKhh7IngjPGHlY6eXi1MVkrHuaxDzQ==", + "version": "5.108.3", + "resolved": "https://registry.npmjs.org/@tanstack/query-devtools/-/query-devtools-5.108.3.tgz", + "integrity": "sha512-FG1i34kzU20+NPYErxOhEGe7x5Vitjz/gTbzuqsI+B+FQOaqw8pT6Y5BBoRJpOdyS5rh5sITLNNH1x1H68PMKQ==", "license": "MIT", "dependencies": { "@kobalte/core": "^0.13.14", @@ -5387,10 +5315,9 @@ "@solid-primitives/resize-observer": "^2.2.0", "@solid-primitives/storage": "^1.3.11", "@tanstack/match-sorter-utils": "^9.1.2", - "@tanstack/query-core": "5.105.1", - "clsx": "^2.1.1", - "goober": "^2.1.19", - "solid-js": "^1.9.15", + "@tanstack/query-core": "5.108.3", + "@tanstack/solid-virtual": "^3.13.52", + "solid-js": "^1.9.20", "solid-transition-group": "^0.2.3", "superjson": "^2.2.6" }, @@ -5400,12 +5327,12 @@ } }, "node_modules/@tanstack/react-query": { - "version": "5.105.1", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.105.1.tgz", - "integrity": "sha512-qcu+/+PtBOjW8qU4/0l47QVmNG7hPOWsCLzP0bTRhE1X7HYa757C4732wXTUH0QhCjTV1yedX8onsCiEwlNYrA==", + "version": "5.108.3", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.108.3.tgz", + "integrity": "sha512-dd9eDuqr6hvoTycO+wwuIgdA10S9gRA5EYsJCByhiATp/Xy0D51XgJUCRYJONgKs3URKApbBfNl8mgAe5wI0+Q==", "license": "MIT", "dependencies": { - "@tanstack/query-core": "5.105.1" + "@tanstack/query-core": "5.108.3" }, "funding": { "type": "github", @@ -5422,19 +5349,19 @@ } }, "node_modules/@tanstack/react-query-devtools": { - "version": "5.105.1", - "resolved": "https://registry.npmjs.org/@tanstack/react-query-devtools/-/react-query-devtools-5.105.1.tgz", - "integrity": "sha512-VJwunCp9fPbGGkbXlKn4T8w20sNdlFZoMqTjOdzqdhfk0Ujthln4LSN7xkVLCTAq0OGaV/0srQ/5esNpaktRvw==", + "version": "5.108.3", + "resolved": "https://registry.npmjs.org/@tanstack/react-query-devtools/-/react-query-devtools-5.108.3.tgz", + "integrity": "sha512-G+Ey+03pc+L9j5VkNNQU0CVQ3ql46xP3uP5VJ1LEJ3qr+6kriOzEgRXQEQons2nxc+GQbJBHfu/4UUEOa+smXQ==", "license": "MIT", "dependencies": { - "@tanstack/query-devtools": "5.105.1" + "@tanstack/query-devtools": "5.108.3" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/react-query": "^5.105.1", + "@tanstack/react-query": "^5.108.3", "@types/react": "^18 || ^19", "react": "^18 || ^19" }, @@ -5461,7 +5388,7 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/@tanstack/virtual-core": { + "node_modules/@tanstack/react-virtual/node_modules/@tanstack/virtual-core": { "version": "3.17.8", "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.17.8.tgz", "integrity": "sha512-BfEvehNpOT75r5Ksc5xW6NZuXujTfb7nlSEyVu4XHG3gdxNg1KqXruWbDewXOUaUYIo4oRbSfkjIajz4MAT8tA==", @@ -5471,6 +5398,32 @@ "url": "https://github.com/sponsors/tannerlinsley" } }, + "node_modules/@tanstack/solid-virtual": { + "version": "3.13.55", + "resolved": "https://registry.npmjs.org/@tanstack/solid-virtual/-/solid-virtual-3.13.55.tgz", + "integrity": "sha512-Bkibpa1DLcd5/9LipoDcAoHfNvCzXLLftx962//3mF/ycv5tndzVoqRGN9YasDQ+Kf1GsyqfFAMq8I0fmPEBBQ==", + "license": "MIT", + "dependencies": { + "@tanstack/virtual-core": "3.19.13" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "solid-js": "^1.3.0" + } + }, + "node_modules/@tanstack/virtual-core": { + "version": "3.19.13", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.19.13.tgz", + "integrity": "sha512-CyCvMm7m5JuvPW6eMPZkZBZk6diySrlUQNNRpQPiEnh2vakyghx82Hw3wW2THFUsl6xJ6uM4lSUaiA2T0oYW8w==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, "node_modules/@testing-library/dom": { "version": "10.4.2", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.2.tgz", @@ -5547,9 +5500,9 @@ } }, "node_modules/@testing-library/user-event": { - "version": "14.6.8", - "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.8.tgz", - "integrity": "sha512-vgSSqnANMnkcYR/vUNDbwS7aM3OErRLNUG8vCVVlj4oc6cKffUrccX7UAS5AmJQQNZTSibi9z5GvvRZ0aYgUCQ==", + "version": "14.6.13", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.13.tgz", + "integrity": "sha512-2LVZGptuB5un1Cu/u31o9adkCwbsUTMp4B4p04xupI7uobvTIpgKidSdShqZiReo/mQmvR9xjgdgTgge4oAbYA==", "dev": true, "license": "MIT", "engines": { @@ -5561,9 +5514,9 @@ } }, "node_modules/@tybys/wasm-util": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", - "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz", + "integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==", "dev": true, "license": "MIT", "optional": true, @@ -6100,9 +6053,9 @@ } }, "node_modules/@vitejs/plugin-react": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", - "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.3.0.tgz", + "integrity": "sha512-H9E955aVvD2F4zNHCw4eIZbIfF6xKldlh7MNu+hSU7xwQzh65lI/N+CJWqmfhi0PEjDXIt/H7T7J/4wU63KJiw==", "dev": true, "license": "MIT", "dependencies": { @@ -6112,9 +6065,9 @@ "node": "^20.19.0 || >=22.12.0" }, "peerDependencies": { - "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0 || ^0.3.0", "babel-plugin-react-compiler": "^1.0.0", - "oxc-transform-react": "^0.152.0", + "oxc-transform-react": ">=0.152.0 <0.157.0", "vite": "^8.0.0" }, "peerDependenciesMeta": { @@ -6130,38 +6083,38 @@ } }, "node_modules/@vitest/browser": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/browser/-/browser-5.0.5.tgz", - "integrity": "sha512-IDMoZX/iZ8rkilw7weaSgN8tJ7iZ9hUv0wYoKXyiyjWjWFwLSWAY707DcVTgxTYOudWC1E3HA9LYn7kVa9a7uQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/browser/-/browser-5.1.1.tgz", + "integrity": "sha512-xxWAtzfr7tuRXtKLdyCY1hWEP74oLeb7hrGMFcoFBOTsvJnl5bmeQ9W2Wzzh8IJN1gHYp1eIRaduP/WHn+jUcA==", "dev": true, "license": "MIT", "dependencies": { "@blazediff/core": "1.10.0", - "@vitest/mocker": "5.0.5", - "@vitest/ui": "5.0.5", - "@vitest/utils": "5.0.5", - "magic-string": "^1.4.3", + "@vitest/mocker": "5.1.1", + "@vitest/ui": "5.1.1", + "@vitest/utils": "5.1.1", + "magic-string": "^1.4.5", "pngjs": "^7.0.0", "sirv": "^3.0.2", "tinyrainbow": "^3.2.0", - "ws": "^8.22.0" + "ws": "^8.22.1" }, "funding": { "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "vitest": "5.0.5" + "vitest": "5.1.1" } }, "node_modules/@vitest/browser-playwright": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/browser-playwright/-/browser-playwright-5.0.5.tgz", - "integrity": "sha512-lcdThFUUcMV9mGGV1SUiZXPxfjgW4CssA7o3STxzh8WK0tT2r526kc12tZIBRZfoLMwkhxjLmMXkWXONzdsDQw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/browser-playwright/-/browser-playwright-5.1.1.tgz", + "integrity": "sha512-GYitBgjG7/+TkhkFXiPEYvEV1DtvwIVuFi5Jg0QUC6RK7Dt9pCMlI0W5WmKs8FFU7TBq3mc7VIg4oq6cDyzzgA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/browser": "5.0.5", - "@vitest/mocker": "5.0.5", + "@vitest/browser": "5.1.1", + "@vitest/mocker": "5.1.1", "tinyrainbow": "^3.2.0" }, "funding": { @@ -6169,7 +6122,7 @@ }, "peerDependencies": { "playwright": "*", - "vitest": "5.0.5" + "vitest": "5.1.1" }, "peerDependenciesMeta": { "playwright": { @@ -6178,15 +6131,15 @@ } }, "node_modules/@vitest/coverage-v8": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.0.5.tgz", - "integrity": "sha512-4KpkGdIrSqBihx/JyP/e+S+IKB98etg1XDQiLAxksLfcShnwi1VReGeOT9NI43hLHbknosKp/1CCLn9Zgcs8mg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.1.1.tgz", + "integrity": "sha512-xL4NkbVx/UqqDHaXSOyvB8qsSoLQ+dVNGR9H2Bh/4ggQtmaPFNPUC9gZQwKZePLOQ6WDcgwXVnPulFW9eCHt0w==", "dev": true, "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^1.0.2", - "@vitest/istanbul-lib-coverage": "^1.0.2", - "@vitest/istanbul-lib-report": "^1.0.2", + "@vitest/istanbul-lib-coverage": "^2.1.0", + "@vitest/istanbul-lib-report": "^2.1.0", "ast-v8-to-istanbul": "^1.0.7", "magicast": "^0.5.5", "obug": "^3.0.0", @@ -6197,8 +6150,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "5.0.5", - "vitest": "5.0.5" + "@vitest/browser": "5.1.1", + "vitest": "5.1.1" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -6275,9 +6228,9 @@ } }, "node_modules/@vitest/istanbul-lib-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz", - "integrity": "sha512-9J/JMwOf9AoJhAywhrn7ScKTL38hsWQP/qPG60OtaAFcQ5OXPwKsxZFlbnuCKmZ61m8/lGgHYnFpdyQZUvG/iA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.1.tgz", + "integrity": "sha512-pF9nMHHuyQzyEXdkWX3d4wElEKjymfL5TEoofegJn/jK2WjmTLOcJKfJ7/YwYGYdbZf8Ebrt4VDUoBPiTuO9zg==", "dev": true, "license": "MIT", "engines": { @@ -6285,29 +6238,29 @@ } }, "node_modules/@vitest/istanbul-lib-report": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-1.0.2.tgz", - "integrity": "sha512-gUsfXZJbzPamoIY5TvHFiMMoXESBrUMo+xqaj+rYrWI69+EnvRlYBlP96ZnHPY4vX8kyUpgAnFUCg5wZG/HkDQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.1.tgz", + "integrity": "sha512-Qba+8OpQQAbWrmq3u1olh6jqE/vyW4OYJe6TLrrTBpXhjJhbY7Os69wyVvMQmNA64KJhGd5nQ/c7l4io8tPCHQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/istanbul-lib-coverage": "1.0.2" + "@vitest/istanbul-lib-coverage": "2.1.1" }, "engines": { "node": ">=22" } }, "node_modules/@vitest/mocker": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz", - "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.1.tgz", + "integrity": "sha512-b2OgTB4+3ImWIVafXKazJXwLKwQxUNnix6b3xUvUTMh7RyXlrtzoxfZr8aEz9zkHOMAS4K5lu3TvFWoiVeVTQg==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.31", - "@vitest/spy": "5.0.5", + "@vitest/spy": "5.1.1", "estree-walker": "^3.0.3", - "magic-string": "^1.4.3" + "magic-string": "^1.4.5" }, "funding": { "url": "https://opencollective.com/vitest" @@ -6336,9 +6289,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-5.0.5.tgz", - "integrity": "sha512-24sSdIlMA9DVPXnYiB9siwU0bTd887Y9jX3+vabztCSsvHwo7ipvJ/a2L3Rljw8+2rK1f5fCj3h5U9I/Jsqgbw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-5.1.1.tgz", + "integrity": "sha512-25VrNCa2fxNyRv7VTtYBjJnC7hQkAzDLuSWJb8kHJATfCPe+5YPferPPDrSO7pcxik4+cBo4IXS2H7rf4OOXgg==", "dev": true, "license": "MIT", "dependencies": { @@ -6349,9 +6302,9 @@ } }, "node_modules/@vitest/spy": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz", - "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.1.tgz", + "integrity": "sha512-6K8C6alQG1/Yc8/ZI22iJS7JEsxPdVzqtqDq+/xM4Z0mGVykemMVjLhqMy/q6/IHYG3kKD8hKSwRen/ZdyI9vQ==", "dev": true, "license": "MIT", "funding": { @@ -6359,13 +6312,13 @@ } }, "node_modules/@vitest/ui": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-5.0.5.tgz", - "integrity": "sha512-dCoGUOdgmCaSB2g+WQ/spPCBkytAWdNUkFSXY4z+eYp2d8JEOY8v0uDRaJTG9qf/kTlTVZ4CuYMYMz/f1HS/qQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-5.1.1.tgz", + "integrity": "sha512-qpNyZ9CAKhBCnWMZSYQMFJzcBvpqb7ssC9NHJUq8haNZkjC4rSMSmKZzMu7IYR1XMqiKOSIAF34FmOQkGP77Mw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "5.0.5", + "@vitest/utils": "5.1.1", "fflate": "^0.8.3", "flatted": "^3.4.4", "pathe": "^2.0.3", @@ -6376,17 +6329,17 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "vitest": "5.0.5" + "vitest": "5.1.1" } }, "node_modules/@vitest/utils": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-5.0.5.tgz", - "integrity": "sha512-/rBu7gzLDQI/SC79Tn98b5DwOgaHU/Gt4I9OVeP3YofzNaYtbImRCOJQmT1S6vOJg9gEIlWC+r3QxKkjuSa1nQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-5.1.1.tgz", + "integrity": "sha512-CtwJP89ozg9RLHb70HM9jwzHnzZDaLTCovwr313CSRM6IkwNuIcORlZluW0zVNkmjJWBxPRLpvjnX6XhztjS2w==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "5.0.5", + "@vitest/pretty-format": "5.1.1", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.2.0" }, @@ -6450,58 +6403,58 @@ } }, "node_modules/antd": { - "version": "6.6.8", - "resolved": "https://registry.npmjs.org/antd/-/antd-6.6.8.tgz", - "integrity": "sha512-e+hDj/0myqbLBn8UGS0dYhPROAENruNscWe4gzyTnwx7yTip7D72wJUNxtsTplPXwRM1Mo4tXNSgaSb3UmV3RQ==", + "version": "6.7.2", + "resolved": "https://registry.npmjs.org/antd/-/antd-6.7.2.tgz", + "integrity": "sha512-pOYblXwhVNTUMpRcp2765YYW4i8aq8s3SOZYlP0I/ALI7l9zynXCfofLn+oaEezQeZlvFQFJXXmzK4qr0dXHLw==", "license": "MIT", "dependencies": { "@ant-design/colors": "^8.0.1", - "@ant-design/cssinjs": "^2.1.2", + "@ant-design/cssinjs": "~2.1.2", "@ant-design/cssinjs-utils": "^2.1.2", "@ant-design/fast-color": "^3.0.1", "@ant-design/icons": "^6.3.4", "@ant-design/react-slick": "~2.0.0", "@babel/runtime": "^7.29.2", - "@rc-component/cascader": "~1.22.0", + "@rc-component/cascader": "~1.26.0", "@rc-component/checkbox": "~2.0.0", - "@rc-component/collapse": "~1.2.0", + "@rc-component/collapse": "~1.3.0", "@rc-component/color-picker": "~3.1.1", "@rc-component/dialog": "~1.10.0", - "@rc-component/drawer": "~1.4.2", - "@rc-component/dropdown": "~1.0.3", + "@rc-component/drawer": "~1.4.3", + "@rc-component/dropdown": "~2.0.1", "@rc-component/form": "~1.8.6", "@rc-component/image": "~1.10.0", - "@rc-component/input": "~1.3.1", - "@rc-component/input-number": "~1.6.2", - "@rc-component/listy": "~1.2.3", - "@rc-component/mentions": "~1.12.0", - "@rc-component/menu": "~1.5.0", - "@rc-component/motion": "^1.3.3", + "@rc-component/input": "~1.4.1", + "@rc-component/input-number": "~1.8.0", + "@rc-component/listy": "~1.4.0", + "@rc-component/mentions": "~1.14.1", + "@rc-component/menu": "~1.6.2", + "@rc-component/motion": "^1.4.0", "@rc-component/mutate-observer": "^2.0.1", "@rc-component/notification": "~2.1.1", - "@rc-component/pagination": "~1.4.0", - "@rc-component/picker": "~1.12.2", - "@rc-component/progress": "~1.0.3", + "@rc-component/pagination": "~1.7.0", + "@rc-component/picker": "~1.17.0", + "@rc-component/progress": "~1.1.0", "@rc-component/qrcode": "~2.0.0", "@rc-component/rate": "~1.0.1", "@rc-component/resize-observer": "^1.1.2", "@rc-component/segmented": "~1.4.0", - "@rc-component/select": "~1.10.1", - "@rc-component/slider": "~1.1.1", + "@rc-component/select": "~1.12.0", + "@rc-component/slider": "~1.2.1", "@rc-component/steps": "~1.2.3", "@rc-component/switch": "~1.0.3", - "@rc-component/table": "~1.11.1", - "@rc-component/tabs": "~1.13.0", + "@rc-component/table": "~1.12.0", + "@rc-component/tabs": "~2.0.0", "@rc-component/tooltip": "~1.5.2", "@rc-component/tour": "~2.4.0", - "@rc-component/tree": "~1.4.0", - "@rc-component/tree-select": "~1.16.1", + "@rc-component/tree": "~1.5.3", + "@rc-component/tree-select": "~1.19.0", "@rc-component/trigger": "^3.10.1", "@rc-component/upload": "~1.1.1", - "@rc-component/util": "^1.14.0", + "@rc-component/util": "^1.14.1", "clsx": "^2.1.1", "dayjs": "^1.11.11", - "scroll-into-view-if-needed": "^3.1.0", + "scroll-into-view-if-needed": "^3.2.1", "throttle-debounce": "^5.0.2" }, "funding": { @@ -6559,9 +6512,9 @@ } }, "node_modules/ast-v8-to-istanbul": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.7.tgz", - "integrity": "sha512-kFL68AG6ajd8fg248zwM9GQrUWEp79gsmjum34OEXjs4yHuUMZfYKwOLW9GMmB4oNvVrj+EAGxsP7ye2UR9UlA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.8.tgz", + "integrity": "sha512-lPdpagk13ANXV+HClJEpCZM7kUsl5XcvgqKzZhaj6Ve1ZFICcY2sGhAN1n1vT0tML6EclT7bfVgTxqL57Gkpow==", "dev": true, "license": "MIT", "dependencies": { @@ -6581,9 +6534,9 @@ } }, "node_modules/ast-v8-to-istanbul/node_modules/js-tokens": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", - "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.1.tgz", + "integrity": "sha512-XMt+uh+yEs6srFvEb/pEe4IMvbtoXVdNxF7lZFU+I9sdWI641L97L+gXQMTGm1x3RjPUVizNVjHueclXr0U7sw==", "dev": true, "license": "MIT" }, @@ -6618,9 +6571,9 @@ } }, "node_modules/axe-core": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.0.tgz", - "integrity": "sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==", + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.1.tgz", + "integrity": "sha512-FHfa+lmNjQZfJz1q8wKqIDwC6DExcHt/pkjNQb09a3NPjCKg2rhu5qb2S4r76ASyFNNtuFooJpZe37OgudVGtQ==", "dev": true, "license": "MPL-2.0", "engines": { @@ -6628,12 +6581,12 @@ } }, "node_modules/axios": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.21.0.tgz", - "integrity": "sha512-YCzXMB53Q9PZBsh7yN7wtapit4WepwcHS2fP8QhGsBxSz5YtgYobV7GGlWlAJi+RxfU77GQTQi2DSLUma42EYA==", + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.21.1.tgz", + "integrity": "sha512-6eI5Q/Y4u/Um9dDlsRoq5pY2rxnUTv+L4PpLitnbk/i4jb3MxLZ5CsN5Ih3IysbeRYK4pR+P7qfMsOQl9fwwFQ==", "license": "MIT", "dependencies": { - "follow-redirects": "^1.16.0", + "follow-redirects": "^1.16.2", "form-data": "^4.0.6", "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" @@ -6669,9 +6622,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.11.34", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.34.tgz", - "integrity": "sha512-Aqr8mA1kIvyJ3UY5YAY7ib8LSo1DmDMbMnVqGPtsKW1LxaFQFwn9Eb3yvq2fUKJsRvaXjnAV7R5osqETapzNiA==", + "version": "2.11.39", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.39.tgz", + "integrity": "sha512-Q9buOYhr2ggrEZpImICecZTJHCCd8yXkRUokFlUEQ8uiD6oP82F4W4jWnhOHZYV+wlvrC51V7Wy0ULyWjil5Wg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -6681,20 +6634,37 @@ "node": ">=6.0.0" } }, - "node_modules/bidi-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz", - "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==", + "node_modules/bcp-47": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bcp-47/-/bcp-47-2.1.2.tgz", + "integrity": "sha512-wsv86UuNFuPnVieKLyECTT+CP1WSAHeoIg5P3xu2kA9Z+7fVPoKt7dxzSeEhtJel0AI+NW3fIW3KtTKQKUCngg==", "dev": true, "license": "MIT", "dependencies": { - "require-from-string": "^2.0.2" + "is-alphabetical": "^2.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/bcp-47-match": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/bcp-47-match/-/bcp-47-match-2.0.3.tgz", + "integrity": "sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, "node_modules/brace-expansion": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", - "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.13.tgz", + "integrity": "sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==", "license": "MIT", "dependencies": { "balanced-match": "^4.0.2" @@ -6704,9 +6674,9 @@ } }, "node_modules/browserslist": { - "version": "4.29.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.5.tgz", - "integrity": "sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==", + "version": "4.29.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz", + "integrity": "sha512-CmVVIQ3RVc5HxYEc9X84GvxK/C8C1wH8TlKAiO7uTxF8PDwt7r8t9Qk3J9NkMOVzX5O/HbLv3yzxZg9HPrnI9w==", "dev": true, "funding": [ { @@ -6724,11 +6694,11 @@ ], "license": "MIT", "dependencies": { - "baseline-browser-mapping": "^2.11.33", - "caniuse-lite": "^1.0.30001819", - "electron-to-chromium": "^1.5.464", - "node-releases": "^2.0.60", - "update-browserslist-db": "^1.3.4" + "baseline-browser-mapping": "^2.11.37", + "caniuse-lite": "^1.0.30001826", + "electron-to-chromium": "^1.5.486", + "node-releases": "^2.0.64", + "update-browserslist-db": "^1.4.0" }, "bin": { "browserslist": "cli.js" @@ -6825,9 +6795,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001820", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001820.tgz", - "integrity": "sha512-gfWD6MxqVCqAOwmODfZf7DchWvlrA+SRdNX7ceLfg3xRqe5ssjjpF7EgslC/0tiLiNTajdaNN/q8c/5u/7Gz8w==", + "version": "1.0.30001826", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz", + "integrity": "sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==", "dev": true, "funding": [ { @@ -6998,9 +6968,9 @@ } }, "node_modules/compute-scroll-into-view": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz", - "integrity": "sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.2.2.tgz", + "integrity": "sha512-X+jf3y2j3TbtxA3fq3/kBNiSnD1QlIChiIQdAc2Yo1LtOc0yjO1TzgxWJf8PwtKPGgSvSfWUlVvrb7vGx1eYWA==", "license": "MIT" }, "node_modules/convert-source-map": { @@ -7011,9 +6981,9 @@ "license": "MIT" }, "node_modules/cookie": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-2.0.1.tgz", - "integrity": "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-2.0.2.tgz", + "integrity": "sha512-SL0cVuEdETEp7pN0FuZb01toc3vnODEfVUCooxG1SJN0yIirh7JMb9X9bvfCFf0vzzbT68RdbKDHYTiWy7a7iw==", "dev": true, "license": "MIT", "engines": { @@ -7071,20 +7041,6 @@ "integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==", "license": "MIT" }, - "node_modules/css-tree": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", - "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdn-data": "2.27.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" - } - }, "node_modules/css.escape": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", @@ -7092,9 +7048,9 @@ "license": "MIT" }, "node_modules/csstype": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", - "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz", + "integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==", "license": "MIT" }, "node_modules/data-urls": { @@ -7292,9 +7248,9 @@ "license": "MIT" }, "node_modules/dompurify": { - "version": "3.4.17", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.17.tgz", - "integrity": "sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.5.0.tgz", + "integrity": "sha512-LYC0ZkE8P1V42JsRYTwMdme/2ET8SpOc5AA2eOFjP/IadvRd2fwiT4TVz5vkfy0XUx12aS2UaRkTnfVPNOv9vw==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" @@ -7324,9 +7280,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.472", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.472.tgz", - "integrity": "sha512-s4+nfT29b0FKpVKoaIxl2pWsoNcn7A/nMPSrxayw4T3BsmPeV2lF9Y06BsAQeMGhCTQ4nYJ5XST7jkqe4ZEqFw==", + "version": "1.5.492", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.492.tgz", + "integrity": "sha512-4uMs7omhajKiud0GqALLTazS/zyvHLTLmDWVTR+e6BnyJo5bSNrph/JoRWEFJJmY75ct9hCiSGsbFF9fLe5gDw==", "dev": true, "license": "ISC" }, @@ -7348,9 +7304,9 @@ } }, "node_modules/entities": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", - "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -7506,9 +7462,9 @@ } }, "node_modules/fast-json-patch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", - "integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.2.tgz", + "integrity": "sha512-Dhr5mVii8hIvjkp0Xdrun9B3GlXe3j+L4Ymv8J0h3Di996xoBi8qSDQ/sqSNKZd1NEqx55ZfcseG1MphW7MkHg==", "license": "MIT" }, "node_modules/fast-string-truncated-width": { @@ -7584,9 +7540,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.2.tgz", - "integrity": "sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==", + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.3.tgz", + "integrity": "sha512-toOSoqN6d51Wjf1aOFJYcoVv1aND9rj/CwjLU0Vz40oDuSpWDayCeKe4JpL5NL0WdFvoOOCI3BRo69HahjbR1A==", "funding": [ { "type": "individual", @@ -7737,13 +7693,13 @@ } }, "node_modules/glob": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-14.0.3.tgz", - "integrity": "sha512-A1vjIwC3qpdCso45Iw127gnp7sPhqgY8lUQhDrArIs+GbmfaaVPFuoyy7WyLT9EPZCRZ7j7aLdwUhQmHWesEow==", + "version": "14.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-14.0.6.tgz", + "integrity": "sha512-OwXjVP2svY5EyLY75Vek96C8qK43gqrt4xsZ+qSILdnaEiJPXkd62mcfUSNx/TQErQRdu5uM5kF67sfONragKw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { - "minimatch": "^11.0.2", + "minimatch": "^11.0.5", "minipass": "^7.1.3", "path-scurry": "^3.0.0" }, @@ -7754,15 +7710,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/goober": { - "version": "2.1.19", - "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.19.tgz", - "integrity": "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg==", - "license": "MIT", - "peerDependencies": { - "csstype": "^3.0.10" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -7934,9 +7881,9 @@ } }, "node_modules/i18next": { - "version": "26.6.0", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.6.0.tgz", - "integrity": "sha512-jpb1n5386s9mbBLNF6tSNIVhbBUUNiNeDyjWte+uxHP/Wr+CEy7WBM8q29TkfQ46VbwKeJFYdQJK3pSUhLp4CQ==", + "version": "27.2.4", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.4.tgz", + "integrity": "sha512-Twhl6dx3IznvyQEv7rrYH2xBMAmOIjNuj/lPicevTa0d/fxg4Km315MlAI07SOWQcw2pypA4qf39RoMJgJ8WEQ==", "funding": [ { "type": "individual", @@ -7952,6 +7899,9 @@ } ], "license": "MIT", + "engines": { + "node": ">=22" + }, "peerDependencies": { "typescript": "^5 || ^6 || ^7" }, @@ -7982,9 +7932,9 @@ "license": "BSD-3-Clause" }, "node_modules/immutable": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.9.tgz", - "integrity": "sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.2.1.tgz", + "integrity": "sha512-CgXNM1BhKqpMjFHTyqQSk09OWqzHNJ/U4BdeBgXoBdR2DdgBdOSv131cO1/YMgzopqnka3B/i949UaMLEKUxOA==", "license": "MIT" }, "node_modules/indent-string": { @@ -8049,9 +7999,9 @@ } }, "node_modules/is-core-module": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", - "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.18.0.tgz", + "integrity": "sha512-qyax9fgaKOEC4qK8WZn7Q4IcoZC9RC1O1fFxRcRTq/oMMkWT/uXpqpXa12kzWR409zAt1drYN9N9BO26UmBCmw==", "dev": true, "license": "MIT", "dependencies": { @@ -8211,41 +8161,39 @@ } }, "node_modules/jsdom": { - "version": "30.1.3", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-30.1.3.tgz", - "integrity": "sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==", + "version": "31.0.1", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-31.0.1.tgz", + "integrity": "sha512-CbhJL8ZQg3eKswxSZth4QO9tW0jPIhmR0vtSXQSbKSfWbwIT6hoRc17wdHIVTQ43KI0mdV5iTJr3281IDgVZ5g==", "dev": true, "license": "MIT", "dependencies": { - "@asamuzakjp/css-color": "^7.1.3", - "@asamuzakjp/dom-selector": "^10.0.3", - "@bramus/specificity": "^2.4.2", - "@csstools/css-syntax-patches-for-csstree": "^1.1.15", "@exodus/bytes": "^1.16.0", - "css-tree": "^3.2.1", + "bcp-47": "^2.1.2", + "bcp-47-match": "^2.0.3", "data-urls": "^8.0.0", "decimal.js": "^10.6.0", "html-encoding-sniffer": "^7.0.0", "is-potential-custom-element-name": "^1.0.1", "lru-cache": "^11.5.3", - "parse5": "^8.0.1", + "parse5": "^8.1.0", + "parse5-parser-stream": "^8.1.0", "saxes": "^6.0.0", "tough-cookie": "^6.0.2", - "undici": "^8.12.1", + "undici": "^8.12.3", "w3c-xmlserializer": "^6.0.0", "webidl-conversions": "^8.0.1", "whatwg-mimetype": "^5.0.0", - "whatwg-url": "^17.2.0", + "whatwg-url": "^17.3.0", "xml-name-validator": "^5.0.0" }, "engines": { "node": "^22.22.2 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "canvas": "^3.2.3" + "@napi-rs/canvas": "^1.0.13" }, "peerDependenciesMeta": { - "canvas": { + "@napi-rs/canvas": { "optional": true } } @@ -8566,14 +8514,14 @@ } }, "node_modules/lint-staged": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.6.0.tgz", - "integrity": "sha512-nOhBfYkZEwkFtNzD5pK9s9LkcWoxJ+whLzEnhqi9nl7zTB5n7tg8+9iYgMGx2Wm3VlLu8cbNj0RACzY+nWi5iQ==", + "version": "17.6.2", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.6.2.tgz", + "integrity": "sha512-c/JaXaXmleubmKUwwp4OAcq55RV9Z3HTUNdqdqPh2srtmP9Of3bcR6o00GoWDUye+9JhMuoYkhYqAVPIOZKcsw==", "dev": true, "license": "MIT", "dependencies": { "picomatch": "^4.0.7", - "string-argv": "^0.3.2", + "string-argv": "^0.4.0", "tinyexec": "^1.3.1" }, "bin": { @@ -8685,13 +8633,6 @@ "node": ">= 0.4" } }, - "node_modules/mdn-data": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", - "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -8736,16 +8677,16 @@ } }, "node_modules/minimatch": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.3.tgz", - "integrity": "sha512-iny/40PEGkNJQ5/Pv6z3nm6FbRAby32GeZRjCUJk2WnNDbgPSTcdI+DDvLqsgBdD4cD5sMtMheqPPnehCCa8Nw==", + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", "license": "BlueOak-1.0.0", "dependencies": { - "@isaacs/nonrecursive-glob-match": "^1.0.3", + "@isaacs/nonrecursive-glob-match": "^1.1.0", "brace-expansion": "^5.0.12" }, "engines": { - "node": "18 || 20 || >=22" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -8788,15 +8729,15 @@ "license": "MIT" }, "node_modules/msw": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/msw/-/msw-3.0.3.tgz", - "integrity": "sha512-hsXUCt2gK12q1IUBY9VmMun+yC60eEpVzegAFN5aGZbXhrGqtgPARVWn2ew4mezYvk1G8yhFha9myGSyRyRGWg==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/msw/-/msw-3.0.7.tgz", + "integrity": "sha512-e9BmzG3HN2J8VOUbEYU7OJQ7tgNS7GfPmG86jv3hKZks0iiFA0sh1colqLVjPEckU+QLWjWNximsLzykVdINgQ==", "dev": true, "license": "MIT", "dependencies": { "@inquirer/confirm": "^6.0.11", - "@msw/url": "^0.1.2", - "@mswjs/interceptors": "^0.45.6", + "@msw/url": "^0.1.3", + "@mswjs/interceptors": "^0.45.11", "cookie": "^2.0.1", "headers-polyfill": "^5.0.1", "is-node-process": "^1.2.0", @@ -8875,6 +8816,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==", + "deprecated": "This package is no longer needed on supported Node.js versions. Node.js 16+ includes AbortController and AbortSignal as built-in globals. All Node.js versions requiring this polyfill are end-of-life. Use the built-in globals instead.", "license": "MIT" }, "node_modules/node-addon-api": { @@ -8900,9 +8842,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.63", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.63.tgz", - "integrity": "sha512-6li2QanLsAXpIH2R6j77MzRyvOyrvdTqlKtO4CgBdHGNvN99ZZfyxszHc5o5+IZBWD5u6Hzwg83JoGXmqZNG9Q==", + "version": "2.0.65", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz", + "integrity": "sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==", "dev": true, "license": "MIT", "engines": { @@ -8976,9 +8918,9 @@ } }, "node_modules/otpauth": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/otpauth/-/otpauth-9.5.2.tgz", - "integrity": "sha512-GQ5emWR/x1tcExT62IBT0UfO95wZzJZyxYOJOGVeQF47SYEN9vmh0vISvDZaNMuFJRG+IaWCKtfm+t9Bfoal6w==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/otpauth/-/otpauth-9.6.0.tgz", + "integrity": "sha512-qQXHTxcXohDhQjF1ZEbUVEpTIssFL2rd+2kHfw/McIVCbTLD6qAsbTCQxpXRLyeyUw6Ipjpykw4dWZL/zfIVqA==", "license": "MIT", "dependencies": { "@noble/hashes": "2.4.0" @@ -9064,9 +9006,9 @@ } }, "node_modules/oxfmt": { - "version": "0.75.0", - "resolved": "https://registry.npmjs.org/oxfmt/-/oxfmt-0.75.0.tgz", - "integrity": "sha512-/ZKvY5asfsVi9hdkOmRIumqOPu6kxlTgiJSZf54uq29kKew+Gu1FFAnEkGePyvLVW+MAYu41D6XggnzoElQzPw==", + "version": "0.78.0", + "resolved": "https://registry.npmjs.org/oxfmt/-/oxfmt-0.78.0.tgz", + "integrity": "sha512-uagX+70mKqh/YqxB6ON/lkxVPH6E1Z7pfP2x6XVRPPyiDCZtX6o1xIEeXAIXJ/2wA5ViX4RFuW+IAQn85yJdWg==", "dev": true, "license": "MIT", "dependencies": { @@ -9082,25 +9024,25 @@ "url": "https://github.com/sponsors/oxc-project" }, "optionalDependencies": { - "@oxfmt/binding-android-arm-eabi": "0.75.0", - "@oxfmt/binding-android-arm64": "0.75.0", - "@oxfmt/binding-darwin-arm64": "0.75.0", - "@oxfmt/binding-darwin-x64": "0.75.0", - "@oxfmt/binding-freebsd-x64": "0.75.0", - "@oxfmt/binding-linux-arm-gnueabihf": "0.75.0", - "@oxfmt/binding-linux-arm-musleabihf": "0.75.0", - "@oxfmt/binding-linux-arm64-gnu": "0.75.0", - "@oxfmt/binding-linux-arm64-musl": "0.75.0", - "@oxfmt/binding-linux-ppc64-gnu": "0.75.0", - "@oxfmt/binding-linux-riscv64-gnu": "0.75.0", - "@oxfmt/binding-linux-riscv64-musl": "0.75.0", - "@oxfmt/binding-linux-s390x-gnu": "0.75.0", - "@oxfmt/binding-linux-x64-gnu": "0.75.0", - "@oxfmt/binding-linux-x64-musl": "0.75.0", - "@oxfmt/binding-openharmony-arm64": "0.75.0", - "@oxfmt/binding-win32-arm64-msvc": "0.75.0", - "@oxfmt/binding-win32-ia32-msvc": "0.75.0", - "@oxfmt/binding-win32-x64-msvc": "0.75.0" + "@oxfmt/binding-android-arm-eabi": "0.78.0", + "@oxfmt/binding-android-arm64": "0.78.0", + "@oxfmt/binding-darwin-arm64": "0.78.0", + "@oxfmt/binding-darwin-x64": "0.78.0", + "@oxfmt/binding-freebsd-x64": "0.78.0", + "@oxfmt/binding-linux-arm-gnueabihf": "0.78.0", + "@oxfmt/binding-linux-arm-musleabihf": "0.78.0", + "@oxfmt/binding-linux-arm64-gnu": "0.78.0", + "@oxfmt/binding-linux-arm64-musl": "0.78.0", + "@oxfmt/binding-linux-ppc64-gnu": "0.78.0", + "@oxfmt/binding-linux-riscv64-gnu": "0.78.0", + "@oxfmt/binding-linux-riscv64-musl": "0.78.0", + "@oxfmt/binding-linux-s390x-gnu": "0.78.0", + "@oxfmt/binding-linux-x64-gnu": "0.78.0", + "@oxfmt/binding-linux-x64-musl": "0.78.0", + "@oxfmt/binding-openharmony-arm64": "0.78.0", + "@oxfmt/binding-win32-arm64-msvc": "0.78.0", + "@oxfmt/binding-win32-ia32-msvc": "0.78.0", + "@oxfmt/binding-win32-x64-msvc": "0.78.0" }, "peerDependencies": { "@astrojs/compiler-rs": "^0.5.0", @@ -9169,21 +9111,21 @@ } }, "node_modules/oxlint-tsgolint": { - "version": "7.0.2005", - "resolved": "https://registry.npmjs.org/oxlint-tsgolint/-/oxlint-tsgolint-7.0.2005.tgz", - "integrity": "sha512-6ccPGu4u4J9bwYPHXBFPee3RZrX3BboRdU7k14zRDDB1lvN3O7J/vPRFdaEfa1+CWx4xnQQOp4ctoaF66oO0uw==", + "version": "7.0.2008", + "resolved": "https://registry.npmjs.org/oxlint-tsgolint/-/oxlint-tsgolint-7.0.2008.tgz", + "integrity": "sha512-QuRK+gdriCwpOs+1PGq6/aImEEEK+EClNptdVtI0y4bDOhJ0uH/v3noz+yPKe+DYOTdkej75/5f3ouOGP5EGrQ==", "dev": true, "license": "MIT", "bin": { "tsgolint": "bin/tsgolint.js" }, "optionalDependencies": { - "@oxlint-tsgolint/darwin-arm64": "7.0.2005", - "@oxlint-tsgolint/darwin-x64": "7.0.2005", - "@oxlint-tsgolint/linux-arm64": "7.0.2005", - "@oxlint-tsgolint/linux-x64": "7.0.2005", - "@oxlint-tsgolint/win32-arm64": "7.0.2005", - "@oxlint-tsgolint/win32-x64": "7.0.2005" + "@oxlint-tsgolint/darwin-arm64": "7.0.2008", + "@oxlint-tsgolint/darwin-x64": "7.0.2008", + "@oxlint-tsgolint/linux-arm64": "7.0.2008", + "@oxlint-tsgolint/linux-x64": "7.0.2008", + "@oxlint-tsgolint/win32-arm64": "7.0.2008", + "@oxlint-tsgolint/win32-x64": "7.0.2008" } }, "node_modules/parse-entities": { @@ -9212,13 +9154,26 @@ "license": "MIT" }, "node_modules/parse5": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz", - "integrity": "sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz", + "integrity": "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==", "dev": true, "license": "MIT", "dependencies": { - "entities": "^8.0.0" + "entities": "^9.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-8.1.1.tgz", + "integrity": "sha512-hMcVbbUJcQmP8rURWUdYrT1flRiBiBVjq/RYGguJpDUgIXSqdYKlE0CxthmdMWoSlBAuL5bUBa73g0pttSy7Hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^8.1.1" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" @@ -9295,13 +9250,13 @@ } }, "node_modules/playwright": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", - "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", + "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.64.1" + "playwright-core": "1.65.1" }, "bin": { "playwright": "cli.js" @@ -9311,9 +9266,9 @@ } }, "node_modules/playwright-core": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", - "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", + "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -9343,9 +9298,9 @@ } }, "node_modules/postcss": { - "version": "8.5.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", - "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", "dev": true, "funding": [ { @@ -9582,9 +9537,9 @@ } }, "node_modules/react-hook-form": { - "version": "7.91.0", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.91.0.tgz", - "integrity": "sha512-5BEBUnCBwa28AFXYTYmOaB/+CSpJ/+CWVASHEvIGUzFdHyUiPHeRhG7r5hOZ8nZi0yP7pbHdFNXO/p31EKTJFQ==", + "version": "7.92.0", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.92.0.tgz", + "integrity": "sha512-O5ILyY5fYHN7N13Pfxpe55KboyNFsJdM03BHpshQkClJd8raugiAUGY7VjifITrfhVxyx81ko25azXCoayhf1w==", "license": "MIT", "engines": { "node": ">=18.0.0" @@ -9604,25 +9559,24 @@ } }, "node_modules/react-i18next": { - "version": "17.1.10", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.1.10.tgz", - "integrity": "sha512-XuUuA/rxukE4hXuR//PN308DuSQkWqKNNWBUj0dDTR087l3+6WLid3NC/w55ALrXA/dtWb7lychJ4rQLR3DCDg==", + "version": "18.0.3", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-18.0.3.tgz", + "integrity": "sha512-S84rtVuaKuiRtoCOspbGEaDlFjka+KvK/A5YCOr4LQ41XF3iJOrJ5rqQTD/jJHFVUf6X1i4ZMN5PGGgpz8NN6g==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.29.7", - "html-parse-stringify": "^4.0.1", - "use-sync-external-store": "^1.6.0" + "html-parse-stringify": "^4.0.1" + }, + "engines": { + "node": ">=22" }, "peerDependencies": { - "i18next": ">= 26.2.0", - "react": ">= 16.8.0", + "@types/react": "*", + "i18next": ">= 27.0.1", + "react": ">= 18.0.0", "typescript": "^5 || ^6 || ^7" }, "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { + "@types/react": { "optional": true }, "typescript": { @@ -9692,9 +9646,9 @@ } }, "node_modules/react-router": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.1.tgz", - "integrity": "sha512-5u1eQ46QjuXjNfEnLwzrnou1Bm5dquO3xjVYkkMYCudtkicD2AQHtx+fvXzPATtPJx8TW6DR1x1TDRqsfHyZBw==", + "version": "8.5.2", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.2.tgz", + "integrity": "sha512-luPXqNUAIZAmCHbeBysc2KO7VJjckIMZk4ByEetS7Jotit8R6lLSVVeC76UE//AYK6QD6tAnVAPGkvmqMd+b1w==", "license": "MIT", "dependencies": { "@remix-run/route-pattern": "^0.22.1", @@ -9838,16 +9792,6 @@ "node": ">=0.10" } }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", @@ -9861,14 +9805,14 @@ "license": "MIT" }, "node_modules/resolve": { - "version": "1.22.13", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz", - "integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==", + "version": "1.22.14", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.14.tgz", + "integrity": "sha512-1ZjYvR9sbkiwC5+9QHetqW5HmA2pHRMaoupD01t2HlYnV/vydC2zPwLixhsMieSWVZt0JJRg5LVIk0Ow1D/TrA==", "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", - "is-core-module": "^2.17.0", + "is-core-module": "^2.18.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -9899,9 +9843,9 @@ "license": "MIT" }, "node_modules/rolldown": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.16.tgz", - "integrity": "sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.19.tgz", + "integrity": "sha512-QIiV1J9d0pzN4jeeTH4sjPy0AZ6cAy2cG0ExeoE1+U8Rvj+hR3gYkokx0YbeUNGlZqiQJJ2utcETe0oKXwzsuA==", "dev": true, "license": "MIT", "dependencies": { @@ -9915,21 +9859,22 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.16", - "@rolldown/binding-android-arm64": "1.2.16", - "@rolldown/binding-darwin-arm64": "1.2.16", - "@rolldown/binding-darwin-x64": "1.2.16", - "@rolldown/binding-freebsd-x64": "1.2.16", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.16", - "@rolldown/binding-linux-arm64-gnu": "1.2.16", - "@rolldown/binding-linux-arm64-musl": "1.2.16", - "@rolldown/binding-linux-ppc64-gnu": "1.2.16", - "@rolldown/binding-linux-s390x-gnu": "1.2.16", - "@rolldown/binding-linux-x64-gnu": "1.2.16", - "@rolldown/binding-linux-x64-musl": "1.2.16", - "@rolldown/binding-openharmony-arm64": "1.2.16", - "@rolldown/binding-win32-arm64-msvc": "1.2.16", - "@rolldown/binding-win32-x64-msvc": "1.2.16" + "@rolldown/binding-android-arm-eabi": "1.2.19", + "@rolldown/binding-android-arm64": "1.2.19", + "@rolldown/binding-darwin-arm64": "1.2.19", + "@rolldown/binding-darwin-x64": "1.2.19", + "@rolldown/binding-freebsd-x64": "1.2.19", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.19", + "@rolldown/binding-linux-arm64-gnu": "1.2.19", + "@rolldown/binding-linux-arm64-musl": "1.2.19", + "@rolldown/binding-linux-ppc64-gnu": "1.2.19", + "@rolldown/binding-linux-s390x-gnu": "1.2.19", + "@rolldown/binding-linux-x64-gnu": "1.2.19", + "@rolldown/binding-linux-x64-musl": "1.2.19", + "@rolldown/binding-openharmony-arm64": "1.2.19", + "@rolldown/binding-wasm32-wasi": "1.2.19", + "@rolldown/binding-win32-arm64-msvc": "1.2.19", + "@rolldown/binding-win32-x64-msvc": "1.2.19" } }, "node_modules/rolldown/node_modules/@oxc-project/types": { @@ -9995,18 +9940,18 @@ "license": "MIT" }, "node_modules/scroll-into-view-if-needed": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", - "integrity": "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.2.1.tgz", + "integrity": "sha512-dgeJvJhSV9MY6hyhtsivbSxHoZVm+lumsWTObtUdAchJflwOGmKKHNkEpU8pVYMomZ8h/yrfzVQkcPlObQNDWQ==", "license": "MIT", "dependencies": { - "compute-scroll-into-view": "^3.0.2" + "compute-scroll-into-view": "^3.2.2" } }, "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.2.tgz", + "integrity": "sha512-GYrCADwpu6yV5OAvchkQ27Z5wwMxWAEMg5NNWjyHh/5DboFFqbdbvYNIvZouQpxXyeMPoTOh0vdPYKlf0ZswdQ==", "dev": true, "license": "ISC", "bin": { @@ -10041,30 +9986,30 @@ } }, "node_modules/seroval": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/seroval/-/seroval-1.7.6.tgz", - "integrity": "sha512-oKNe6A8I3lSA5J0xg9xsrWCWDpET6CFhCMVuIsCmqrjNpBXzQXDAAQI5UfuC4Ner4DIR+VAtSw7TC0AmRMqFFQ==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/seroval/-/seroval-1.8.2.tgz", + "integrity": "sha512-zmMxi/9MdLK1MKazLmIP6Rk39RuK0Xydd+QHeOYntS37olJeTjB3+nwVj4ce/ZWiZJeRhcO5htfxt0mUzQBscQ==", "license": "MIT", "engines": { "node": ">=20" } }, "node_modules/seroval-plugins": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.7.6.tgz", - "integrity": "sha512-/TPCAd6q5stAZnugD2fsvNKtM2UpgwrS8/fO1cXTgPC0EqCsGB+UfkEEsToFCfg35CDTMlWkppfr/zWnLJGpBA==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.8.0.tgz", + "integrity": "sha512-96vBb12rDvPPwdKUgWw1op3fGq8AVBFOr0IllbnM72yR5J9WWXF18cQ4g1XfDO7HCyh2dt70P3XdtyRayP8FWg==", "license": "MIT", "engines": { "node": ">=20" }, "peerDependencies": { - "seroval": "^1.0" + "seroval": "^1.8.0" } }, "node_modules/set-cookie-parser": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.2.2.tgz", - "integrity": "sha512-df017qMeYuXo4emL09nlyMpi2i2MtEIKS/6jtXH3vmjFgIRsOi852/5RmhJ4EkvN3ZF8jXadM/EkTPXgc8yPIw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.2.3.tgz", + "integrity": "sha512-bDO7NdAkLprNt3BNl3LAh0oVnOS5+WspzxOxiboo7vRIyTqj2pvFmNWYEFynSGQgpJ+7yG/9nc/aSG20UDBUpg==", "dev": true, "license": "MIT" }, @@ -10144,9 +10089,9 @@ } }, "node_modules/solid-js": { - "version": "1.9.18", - "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.9.18.tgz", - "integrity": "sha512-CHGO5YFk6Y9m/1YSxVtKnXfrW7JD3Tmof8HmR4z6TmCPsS8efo8LnzIR8CQh3cUvffqYm6DWyBFfk8dQw1CNQQ==", + "version": "1.9.20", + "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.9.20.tgz", + "integrity": "sha512-7zEbPxRU5/hHX8O/rYtQ34p/wq44w09gv0u4+myOW5Ode8unKhoG5FbcGlqRXKqqDuDW9yOJ1OXoHgUUl/1f3Q==", "license": "MIT", "dependencies": { "csstype": "^3.1.0", @@ -10206,13 +10151,13 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/space-separated-tokens": { @@ -10233,9 +10178,9 @@ "license": "MIT" }, "node_modules/storybook": { - "version": "10.6.5", - "resolved": "https://registry.npmjs.org/storybook/-/storybook-10.6.5.tgz", - "integrity": "sha512-qurC38Nx4PDF9YIq6GO95dpUx8a3B9AZwlcHBo4cOI9At09ifjQRsqcwcdOf2YX0cpVhFKmHkI20SWCrxqYQrg==", + "version": "10.6.8", + "resolved": "https://registry.npmjs.org/storybook/-/storybook-10.6.8.tgz", + "integrity": "sha512-evtpCo87LwamL5oMQJmtD0kaQNOBePOAbhW9WlM2zW5nItbtDHeXVBLJR4d3Wld9++XhPntaGJKE3RUw6c0VVg==", "dev": true, "license": "MIT", "dependencies": { @@ -10295,9 +10240,9 @@ } }, "node_modules/storybook/node_modules/semver": { - "version": "7.8.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", - "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==", "dev": true, "license": "ISC", "bin": { @@ -10308,13 +10253,13 @@ } }, "node_modules/string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.4.0.tgz", + "integrity": "sha512-UOtaksJ3SK3KLHba2i9I27fvuZNfBlImDP5wKsCOxCDMRDNxlipCe8rmnUAaDpqlQ93upnA0SzF2pjWhttozSA==", "dev": true, "license": "MIT", "engines": { - "node": ">=0.6.19" + "node": ">=16.20.0" } }, "node_modules/string-convert": { @@ -10357,9 +10302,9 @@ } }, "node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz", - "integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz", + "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==", "dev": true, "license": "MIT", "engines": { @@ -10393,9 +10338,9 @@ } }, "node_modules/style-mod": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.4.tgz", - "integrity": "sha512-XXWIQt633/EpAFx8aZDOTjBzrCaGmhvEQlQo6MVPfa2OzO2cWo+4hV9h+6UkHYlXGfy+ODXKUdP7Pthmcu5ATw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.5.tgz", + "integrity": "sha512-WQ2llCZa9sZSkJA+aOwpg5DkfbAXFKGh//t3MRTBeruFiSBC+GXUmbBzrw3bXyboCWAbtCW9InDfBsXrRD/rAg==", "license": "MIT" }, "node_modules/stylis": { @@ -10405,9 +10350,9 @@ "license": "MIT" }, "node_modules/superjson": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/superjson/-/superjson-2.2.6.tgz", - "integrity": "sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==", + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/superjson/-/superjson-2.2.7.tgz", + "integrity": "sha512-QK/H+tosbovdRvIuGqcWn8g3IxPZY7B8ZPowCAmWsV8bPvCk+bGMlZt90C4AxZjnzMO2WBRDacr1+0i1AOy/5g==", "license": "MIT", "dependencies": { "copy-anything": "^4" @@ -10430,19 +10375,20 @@ } }, "node_modules/swagger-client": { - "version": "3.38.4", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-3.38.4.tgz", - "integrity": "sha512-uY92350FG2Nc54rZ9hClmRMXa7hKyEGL08iERCAXLAODS0d3RjTrttVyV/T0pM0HknCc2S1gi2whyZcGMx4FSQ==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-3.39.0.tgz", + "integrity": "sha512-EDpBphskzOCzczUrucX3/FVb7k5gch1GSzB+MTBcdGY3Zew2XKs0ryPPw1J2l1hioojwwKUZXtEg31axbnQvpQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.22.15", "@scarf/scarf": "=1.4.0", - "@swagger-api/apidom-core": "^1.12.1", - "@swagger-api/apidom-error": "^1.12.1", - "@swagger-api/apidom-json-pointer": "^1.12.1", - "@swagger-api/apidom-ns-openapi-3-1": "^1.12.1", - "@swagger-api/apidom-ns-openapi-3-2": "^1.12.1", - "@swagger-api/apidom-reference": "^1.12.1", + "@swagger-api/apidom-core": "^1.14.0", + "@swagger-api/apidom-error": "^1.14.0", + "@swagger-api/apidom-json-pointer": "^1.14.0", + "@swagger-api/apidom-ns-json-schema-2020-12": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-1": "^1.14.0", + "@swagger-api/apidom-ns-openapi-3-2": "^1.14.0", + "@swagger-api/apidom-reference": "^1.14.0", "@swaggerexpert/cookie": "^2.0.2", "deepmerge": "~4.3.0", "fast-json-patch": "^3.0.0-1", @@ -10458,33 +10404,35 @@ "node": ">=22" }, "optionalDependencies": { - "@swagger-api/apidom-ns-asyncapi-2": "^1.12.1", - "@swagger-api/apidom-ns-asyncapi-3": "^1.12.1", - "@swagger-api/apidom-ns-openapi-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.12.1", - "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.12.1", - "@swagger-api/apidom-parser-adapter-arazzo-json-1": "^1.12.1", - "@swagger-api/apidom-parser-adapter-arazzo-yaml-1": "^1.12.1", - "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-asyncapi-json-3": "^1.12.1", - "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-asyncapi-yaml-3": "^1.12.1", - "@swagger-api/apidom-parser-adapter-json": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-json-3-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.12.1", - "@swagger-api/apidom-parser-adapter-openapi-yaml-3-2": "^1.12.1", - "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.12.1" + "@swagger-api/apidom-ns-asyncapi-2": "^1.14.0", + "@swagger-api/apidom-ns-asyncapi-3": "^1.14.0", + "@swagger-api/apidom-ns-openapi-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.14.0", + "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.14.0", + "@swagger-api/apidom-parser-adapter-arazzo-json-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-arazzo-yaml-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-json-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-asyncapi-yaml-3": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json-schema-json-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-json-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.14.0", + "@swagger-api/apidom-parser-adapter-openapi-yaml-3-2": "^1.14.0", + "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.14.0" } }, "node_modules/swagger-ui-react": { - "version": "5.34.1", - "resolved": "https://registry.npmjs.org/swagger-ui-react/-/swagger-ui-react-5.34.1.tgz", - "integrity": "sha512-22/QWHoSwlLHGyB2BMHEzLoFU80Zp1286BZmTSNPWnI9SomWlrtmO+W4p5X9Rt0jH2tl4D+VU8aYsg+ufhMpIQ==", + "version": "5.36.0", + "resolved": "https://registry.npmjs.org/swagger-ui-react/-/swagger-ui-react-5.36.0.tgz", + "integrity": "sha512-JNfF4cShc8m7z6SMGjlgGN3vKQGBsx8ly6l79KugDdVdd60X96rWEZFsv1By9BA4IOMMkGwb0gHi8Ox2pRgTTQ==", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.27.1", @@ -10516,7 +10464,7 @@ "reselect": "^5.1.1", "serialize-error": "^8.1.0", "sha.js": "^2.4.12", - "swagger-client": "^3.38.4", + "swagger-client": "^3.39.0", "url-parse": "^1.5.10", "xml": "=1.0.1", "xml-but-prettier": "^1.0.1", @@ -10557,9 +10505,9 @@ "license": "MIT" }, "node_modules/tinybench": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.2.tgz", - "integrity": "sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.4.tgz", + "integrity": "sha512-SQ52jEncXxbMCzJuY2A/jGIbbAu6NYsBWW7grz2pNE+EnzQdoGaoBfpk4qC/opE7qiUcGmGgaGIz5EoHdS1O9w==", "dev": true, "license": "MIT", "engines": { @@ -10624,22 +10572,22 @@ } }, "node_modules/tldts": { - "version": "7.4.19", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.19.tgz", - "integrity": "sha512-48dH6aSpQnpbzDUc4vIQZ1VjB8tkK+e8c1yx05/SZK+rkssgjEOlxDd/yU8/a4vGYQ9vRgJr9dwMq9TJ0b3X2Q==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.5.5.tgz", + "integrity": "sha512-Hy6IImaWALzJOgCIss4gIFi4G0M9lqk95pFKCUVxQPZw+biZ1Pv6f28JpYgahpJB+BufA0HYsIU/aP/WIx3KRg==", "dev": true, "license": "MIT", "dependencies": { - "tldts-core": "^7.4.19" + "tldts-core": "^7.5.5" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "7.4.20", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.20.tgz", - "integrity": "sha512-C630TWXZCZmLq0F2bW4QqwnaaxCQ/svpAqvJwnC4JvgEM5ohhBnGsEzTLSOXcN+xjz+kEaHS5uoWIw2klnqd0A==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.5.5.tgz", + "integrity": "sha512-rEJz/8cJFY/bdF354gl14yxavbrIbvM+FcbkYVQ6CSCMQTJdUFUIm39TTWSiGPvcpQh7/F6qHrD3SkwwdgtDCw==", "dev": true, "license": "MIT" }, @@ -10674,9 +10622,9 @@ } }, "node_modules/tough-cookie": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz", - "integrity": "sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.1.0.tgz", + "integrity": "sha512-FTxc8u8Kl2tz0Lat1u8ksvcy8bwHRyEMawwTWybo51JqaC6O7SvfuhAKg+Ld6VqyIe2QRJBzY9HA7y2WyFRT2w==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -10849,9 +10797,9 @@ } }, "node_modules/undici": { - "version": "8.12.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", - "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + "version": "8.13.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.13.1.tgz", + "integrity": "sha512-Kt7EaPjh0s93lJH/PmW3d5rhkcpUa6fS3jqZ7+YGxNd9L7Xy/i827xe4C2uhhq+pJebM4tQOl5AgHmW11G5Skg==", "dev": true, "license": "MIT", "engines": { @@ -10898,9 +10846,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", - "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.4.0.tgz", + "integrity": "sha512-WPJuOnjI9FWDct4fB+ej4Mz8opLaw5CDcZ2t44tFZ0vIQVYWzBhWR3mkixuUj/A7+vY4V9+ApOZ2YYLwdgq46w==", "dev": true, "funding": [ { @@ -10954,16 +10902,16 @@ } }, "node_modules/vite": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz", - "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==", + "version": "8.3.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.8.tgz", + "integrity": "sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.30", - "rolldown": "~1.2.14", + "postcss": "^8.5.32", + "rolldown": "~1.2.18", "tinyglobby": "^0.2.17" }, "bin": { @@ -11032,22 +10980,22 @@ } }, "node_modules/vitest": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz", - "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.1.tgz", + "integrity": "sha512-trVmzUFOSraCZcI3uZIMD5FqBh4atFkC/XuJP/IU7qtyQay0FCs3Ia+0QiQ2JJwGyWG/xrcBoJNel2+O7kEZ0g==", "dev": true, "license": "MIT", "dependencies": { "@types/chai": "^5.2.2", - "@vitest/mocker": "5.0.5", + "@vitest/mocker": "5.1.1", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", - "magic-string": "^1.4.3", + "magic-string": "^1.4.5", "obug": "^3.0.0", "picomatch": "^4.0.7", "std-env": "^4.3.0", - "tinybench": "^6.2.2", + "tinybench": "^6.2.3", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "why-is-node-running": "3.2.1" @@ -11065,12 +11013,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "5.0.5", - "@vitest/browser-preview": "5.0.5", + "@vitest/browser-playwright": "5.1.1", + "@vitest/browser-preview": "5.1.1", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", - "@vitest/coverage-istanbul": "5.0.5", - "@vitest/coverage-v8": "5.0.5", - "@vitest/ui": "5.0.5", + "@vitest/coverage-istanbul": "5.1.1", + "@vitest/coverage-v8": "5.1.1", + "@vitest/ui": "5.1.1", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" @@ -11276,9 +11224,9 @@ } }, "node_modules/ws": { - "version": "8.22.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz", - "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.23.0.tgz", + "integrity": "sha512-wCkmX8QMOrKjgO8HW2WyDbTSGeqkocxgDzS9iR79rEAexty6/2qzilx3Ag8Tqf9ykop3irLKle0MtVn5qjVnoQ==", "dev": true, "license": "MIT", "engines": { diff --git a/frontend/package.json b/frontend/package.json index a9a192c42..2e691b492 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -38,50 +38,50 @@ "@ant-design/icons": "^6.3.4", "@codemirror/lang-json": "^6.0.2", "@codemirror/theme-one-dark": "^6.1.3", - "@hookform/resolvers": "^7.0.1", + "@hookform/resolvers": "^7.0.8", "@noble/hashes": "^2.4.0", - "@tanstack/react-query": "^5.105.1", - "@tanstack/react-query-devtools": "^5.105.1", - "antd": "^6.6.8", + "@tanstack/react-query": "^5.108.3", + "@tanstack/react-query-devtools": "^5.108.3", + "antd": "^6.7.2", "codemirror": "^6.0.2", "dayjs": "^1.11.23", - "i18next": "^26.6.0", - "otpauth": "^9.5.2", + "i18next": "^27.2.4", + "otpauth": "^9.6.0", "persian-calendar-suite": "^1.5.6", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-hook-form": "^7.91.0", - "react-i18next": "^17.1.10", - "react-router": "^8.5.1", - "swagger-ui-react": "^5.34.1", + "react-hook-form": "^7.92.0", + "react-i18next": "^18.0.3", + "react-router": "^8.5.2", + "swagger-ui-react": "^5.36.0", "uplot": "^1.6.32", "zod": "^4.6.7" }, "devDependencies": { - "@storybook/addon-a11y": "^10.6.5", - "@storybook/addon-docs": "^10.6.5", - "@storybook/addon-vitest": "^10.6.5", - "@storybook/react-vite": "^10.6.5", + "@storybook/addon-a11y": "^10.6.8", + "@storybook/addon-docs": "^10.6.8", + "@storybook/addon-vitest": "^10.6.8", + "@storybook/react-vite": "^10.6.8", "@testing-library/dom": "^10.4.2", "@testing-library/react": "^16.3.3", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@types/swagger-ui-react": "^5.18.0", - "@vitejs/plugin-react": "^6.1.2", - "@vitest/browser-playwright": "5.0.5", - "@vitest/coverage-v8": "^5.0.5", + "@vitejs/plugin-react": "^6.3.0", + "@vitest/browser-playwright": "5.1.1", + "@vitest/coverage-v8": "^5.1.1", "husky": "^9.1.7", - "jsdom": "^30.1.3", - "lint-staged": "^17.6.0", - "msw": "^3.0.3", - "oxfmt": "0.75.0", + "jsdom": "^31.0.1", + "lint-staged": "^17.6.2", + "msw": "^3.0.7", + "oxfmt": "0.78.0", "oxlint": "1.90.0", - "oxlint-tsgolint": "^7.0.2005", - "playwright": "^1.64.1", - "storybook": "^10.6.5", + "oxlint-tsgolint": "^7.0.2008", + "playwright": "^1.65.1", + "storybook": "^10.6.8", "typescript": "7.0.2", - "vite": "8.3.5", - "vitest": "^5.0.5" + "vite": "8.3.8", + "vitest": "^5.1.1" }, "overrides": { "dompurify": "^3.4.17", @@ -104,9 +104,9 @@ "valibot": "^1.1.0" }, "@storybook/addon-vitest": { - "vitest": "5.0.5", - "@vitest/browser-playwright": "5.0.5", - "@vitest/browser": "5.0.5" + "vitest": "5.1.1", + "@vitest/browser-playwright": "5.1.1", + "@vitest/browser": "5.1.1" }, "remarkable": { "argparse": "^2.0.1" diff --git a/frontend/public/openapi.json b/frontend/public/openapi.json index c999960f5..8ee92524e 100644 --- a/frontend/public/openapi.json +++ b/frontend/public/openapi.json @@ -152,6 +152,22 @@ "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -170,6 +186,21 @@ "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -354,6 +385,9 @@ "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -504,6 +538,14 @@ "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -607,6 +649,40 @@ "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -648,10 +724,17 @@ "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -710,6 +793,7 @@ "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -759,6 +843,8 @@ "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -789,7 +875,17 @@ "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -872,6 +968,12 @@ "hasWarpSecret": { "type": "boolean" }, + "hasWechatToken": { + "type": "boolean" + }, + "hasWechatWebhookURL": { + "type": "boolean" + }, "ipLimitAllowlist": { "type": "string" }, @@ -943,6 +1045,22 @@ "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -961,6 +1079,21 @@ "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -1145,6 +1278,9 @@ "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -1295,6 +1431,14 @@ "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -1398,6 +1542,40 @@ "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -1425,6 +1603,8 @@ "hasTgBotToken", "hasTwoFactorToken", "hasWarpSecret", + "hasWechatToken", + "hasWechatWebhookURL", "ipLimitAllowlist", "ldapAutoCreate", "ldapAutoDelete", @@ -1447,10 +1627,17 @@ "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -1509,6 +1696,7 @@ "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -1558,6 +1746,8 @@ "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -1588,7 +1778,17 @@ "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -1703,6 +1903,140 @@ ], "type": "object" }, + "AttachCandidate": { + "properties": { + "alreadyAttached": { + "example": false, + "type": "boolean" + }, + "comment": { + "example": "Example client", + "type": "string" + }, + "email": { + "example": "alice@example.test", + "type": "string" + }, + "enable": { + "example": true, + "type": "boolean" + }, + "group": { + "example": "staff", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inScope": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "alreadyAttached", + "comment", + "email", + "enable", + "group", + "id", + "inScope" + ], + "type": "object" + }, + "AttachCandidatePage": { + "properties": { + "eligible": { + "example": 118, + "format": "int64", + "type": "integer" + }, + "groups": { + "example": [ + "staff" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "items": { + "items": { + "$ref": "#/components/schemas/AttachCandidate" + }, + "type": "array" + }, + "maxId": { + "type": "integer" + }, + "scopeToken": { + "type": "string" + }, + "total": { + "example": 120, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "eligible", + "groups", + "items", + "total" + ], + "type": "object" + }, + "AttachJobStatus": { + "properties": { + "ended": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "result": { + "allOf": [ + { + "$ref": "#/components/schemas/AttachSelectionResult" + } + ], + "nullable": true + }, + "running": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "ended", + "running" + ], + "type": "object" + }, + "AttachSelectionResult": { + "properties": { + "attached": { + "example": 9997, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "attached", + "errors", + "skipped" + ], + "type": "object" + }, "Blocker": { "description": "Blocker is one unmet requirement.", "properties": { @@ -1720,6 +2054,73 @@ ], "type": "object" }, + "BulkAdjustReport": { + "properties": { + "email": { + "example": "carol", + "type": "string" + }, + "reason": { + "example": "client not found", + "type": "string" + } + }, + "required": [ + "email", + "reason" + ], + "type": "object" + }, + "BulkAdjustResult": { + "description": "BulkAdjustResult reports changed clients and per-client skip reasons.\nExternalLinks contains row counts only for append requests.", + "properties": { + "adjusted": { + "example": 2, + "type": "integer" + }, + "externalLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/BulkExternalLinksResult" + } + ], + "nullable": true + }, + "skipped": { + "example": [], + "items": { + "$ref": "#/components/schemas/BulkAdjustReport" + }, + "type": "array" + } + }, + "required": [ + "adjusted" + ], + "type": "object" + }, + "BulkExternalLinksResult": { + "properties": { + "added": { + "example": 4, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "added", + "errors", + "skipped" + ], + "type": "object" + }, "Client": { "description": "Client represents a client configuration for Xray inbounds with traffic limits and settings.", "properties": { @@ -1892,6 +2293,15 @@ "description": "Last update timestamp", "format": "int64", "type": "integer" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -1911,6 +2321,52 @@ ], "type": "object" }, + "ClientChangeLog": { + "description": "ClientChangeLog records one metadata change to a client: one row per\nchanged field, newest read first in the client's usage history.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "field": { + "example": "dataLimit", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "newValue": { + "example": "21474836480", + "type": "string" + }, + "oldValue": { + "example": "10737418240", + "type": "string" + }, + "source": { + "description": "panel | tgbot | auto-renew", + "example": "panel", + "type": "string" + } + }, + "required": [ + "at", + "email", + "field", + "id", + "newValue", + "oldValue", + "source" + ], + "type": "object" + }, "ClientInbound": { "properties": { "clientId": { @@ -1935,6 +2391,36 @@ ], "type": "object" }, + "ClientNodeUsage": { + "description": "ClientNodeUsage is one node's counters for a client since its last reset.", + "properties": { + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "nodeId": { + "example": 7, + "type": "integer" + }, + "nodeName": { + "example": "de-fra-1", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "down", + "nodeId", + "nodeName", + "up" + ], + "type": "object" + }, "ClientPageResponse": { "description": "ClientPageResponse is the shape returned by ListPaged. `Total` is the\nrow count in the DB; `Filtered` is the count after Search/Filter/Protocol\nwere applied, before pagination. The page contains at most PageSize items.\nSummary is computed across the full DB row set so dashboard counters\non the clients page stay stable as the user paginates/filters.", "properties": { @@ -2106,6 +2592,15 @@ }, "uuid": { "type": "string" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -2141,7 +2636,9 @@ "trafficReset", "trafficResetDay", "updatedAt", - "uuid" + "uuid", + "wgDeviceLimit", + "wireguardDevices" ], "type": "object" }, @@ -2454,6 +2951,107 @@ ], "type": "object" }, + "ClientTrafficWindow": { + "description": "ClientTrafficWindow is one closed traffic window of a client: usage zeroed at a\nreset or an auto-renewal; lifetime = SUM(rows) + live counters.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "reason": { + "description": "reset | renew | earlier", + "example": "reset", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "at", + "down", + "email", + "id", + "reason", + "up" + ], + "type": "object" + }, + "ClientUsageHistory": { + "description": "ClientUsageHistory is what the client editor's history button shows.", + "properties": { + "changes": { + "items": { + "$ref": "#/components/schemas/ClientChangeLog" + }, + "type": "array" + }, + "currentDown": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "currentUp": { + "example": 1048576, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "lifetimeDown": { + "example": 21474836480, + "format": "int64", + "type": "integer" + }, + "lifetimeUp": { + "example": 10737418240, + "format": "int64", + "type": "integer" + }, + "nodes": { + "items": { + "$ref": "#/components/schemas/ClientNodeUsage" + }, + "type": "array" + }, + "windows": { + "items": { + "$ref": "#/components/schemas/ClientTrafficWindow" + }, + "type": "array" + } + }, + "required": [ + "changes", + "currentDown", + "currentUp", + "email", + "lifetimeDown", + "lifetimeUp", + "nodes", + "windows" + ], + "type": "object" + }, "ClientsSummary": { "description": "ClientsSummary collects per-bucket counts plus the matching email lists so\nthe clients page can render the dashboard stat cards and their hover\npopovers without shipping the full client array. The counters are exact;\nthe lists stop at clientSummaryEmailCap entries and only back the popovers.", "properties": { @@ -2528,6 +3126,40 @@ ], "type": "object" }, + "ExternalLinkInput": { + "description": "ExternalLinkInput is one row from the client form's Links tab.", + "properties": { + "enable": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "expiryTime": { + "example": 0, + "format": "int64", + "type": "integer" + }, + "kind": { + "example": "link", + "type": "string" + }, + "namePrefix": { + "type": "string" + }, + "remark": { + "example": "Backup", + "type": "string" + }, + "value": { + "example": "vless://uuid@example.com:443", + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "FallbackParentInfo": { "description": "FallbackParentInfo carries everything the frontend needs to rewrite a\nchild inbound's client link: where to connect (the master's address\nand port) and which path matched on the master's fallbacks array.\nThe frontend already has the master inbound in its dbInbounds list,\nso we only ship identifiers + the match path here.", "properties": { @@ -3216,6 +3848,11 @@ "minimum": 0, "type": "integer" }, + "preserveClientTraffic": { + "description": "Older snapshots omit this field.\nKeep client usage during scheduled inbound resets", + "nullable": true, + "type": "boolean" + }, "protocol": { "enum": [ "vmess", @@ -3609,6 +4246,72 @@ ], "type": "object" }, + "NetworkInterfaceOption": { + "properties": { + "name": { + "example": "eth0", + "type": "string" + }, + "up": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "name", + "up" + ], + "type": "object" + }, + "NetworkInterfacesResponse": { + "properties": { + "automatic": { + "example": "eth0", + "type": "string" + }, + "automaticError": { + "type": "string" + }, + "interfaces": { + "items": { + "$ref": "#/components/schemas/NetworkInterfaceOption" + }, + "type": "array" + } + }, + "required": [ + "automatic", + "automaticError", + "interfaces" + ], + "type": "object" + }, + "NetworkTrafficSelection": { + "properties": { + "available": { + "example": true, + "type": "boolean" + }, + "error": { + "type": "string" + }, + "mode": { + "example": "manual", + "type": "string" + }, + "name": { + "example": "eth0", + "type": "string" + } + }, + "required": [ + "available", + "error", + "mode", + "name" + ], + "type": "object" + }, "NewUUIDResponse": { "properties": { "uuid": { @@ -3731,6 +4434,11 @@ "example": 3, "type": "integer" }, + "onlineTotalCount": { + "description": "OnlineTotalCount also counts clients on inbounds this panel does not sync.", + "example": 7, + "type": "integer" + }, "outboundTag": { "type": "string" }, @@ -3834,6 +4542,7 @@ "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4056,6 +4765,10 @@ "example": 5, "type": "integer" }, + "onlineTotalCount": { + "example": 9, + "type": "integer" + }, "outboundTag": { "example": "direct", "type": "string" @@ -4149,6 +4862,7 @@ "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4196,6 +4910,34 @@ ], "type": "object" }, + "PanelRestart": { + "description": "PanelRestart describes the listener that took the restart call and the one that follows.", + "properties": { + "nextPort": { + "example": 2053, + "type": "integer" + }, + "nextTls": { + "example": false, + "type": "boolean" + }, + "port": { + "example": 2053, + "type": "integer" + }, + "tls": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "nextPort", + "nextTls", + "port", + "tls" + ], + "type": "object" + }, "PanelUpdateStatus": { "description": "PanelUpdateStatus reports the outcome of the most recently launched panel\nself-update. RunID lets the caller confirm this status belongs to the\nupdate it started rather than a stale result left over from an earlier\nrun; State is one of \"pending\", \"success\", or \"failed\". RunID is a decimal\nstring, not a JSON number: it's a formatted UnixNano timestamp, and\nJavaScript's number type can't represent that precisely (it exceeds\nNumber.MAX_SAFE_INTEGER), which would let two different runs round to the\nsame value on the wire and defeat the whole point of this field.", "properties": { @@ -4496,6 +5238,132 @@ ], "type": "object" }, + "RealityWatchEntry": { + "description": "RealityWatchEntry is what the admin sets per inbound: spare targets (host:port) in order\nof preference, and whether a dead target is replaced without asking.", + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "auto", + "spares" + ], + "type": "object" + }, + "RealityWatchEvent": { + "description": "RealityWatchEvent is one switch (To set) or a failed attempt to find a working spare.", + "properties": { + "at": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "from": { + "example": "old.example.com:443", + "type": "string" + }, + "reason": { + "example": "TLS handshake failed: EOF", + "type": "string" + }, + "to": { + "example": "www.example.com:443", + "type": "string" + } + }, + "required": [ + "at", + "from", + "reason", + "to" + ], + "type": "object" + }, + "RealityWatchStatus": { + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "checkedAt": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "events": { + "items": { + "$ref": "#/components/schemas/RealityWatchEvent" + }, + "type": "array" + }, + "fails": { + "example": 0, + "type": "integer" + }, + "inboundId": { + "example": 3, + "type": "integer" + }, + "latencyMs": { + "example": 180, + "type": "integer" + }, + "ok": { + "example": true, + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "serverNames": { + "example": [ + "old.example.com" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "target": { + "example": "old.example.com:443", + "type": "string" + } + }, + "required": [ + "auto", + "checkedAt", + "events", + "fails", + "inboundId", + "latencyMs", + "ok", + "reason", + "serverNames", + "spares", + "target" + ], + "type": "object" + }, "ServerSettings": { "description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.", "properties": { @@ -4748,6 +5616,99 @@ ], "type": "object" }, + "Status": { + "description": "Status represents comprehensive system and application status information.\nIt includes CPU, memory, disk, network statistics, and Xray process status.", + "properties": { + "amneziawg": { + "description": "AmneziaWG gates the overview's AmneziaWG log view: Configured stays true\nwhile an inbound exists but its embedded interface isn't up yet, which\nis exactly when that view's event lines are worth reading." + }, + "appStats": {}, + "cpu": { + "type": "number" + }, + "cpuCores": { + "type": "integer" + }, + "cpuSpeedMhz": { + "type": "number" + }, + "disk": {}, + "diskIO": {}, + "diskTraffic": {}, + "loads": { + "items": { + "type": "number" + }, + "type": "array" + }, + "logicalPro": { + "type": "integer" + }, + "mem": {}, + "netIO": {}, + "netTraffic": {}, + "networkInterface": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkTrafficSelection" + } + ], + "nullable": true + }, + "panelGuid": { + "type": "string" + }, + "panelVersion": { + "type": "string" + }, + "publicIP": {}, + "resourceScope": { + "type": "string" + }, + "swap": {}, + "tcpCount": { + "type": "integer" + }, + "udpCount": { + "type": "integer" + }, + "unavailableMetrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "uptime": { + "format": "int64", + "type": "integer" + }, + "xray": {} + }, + "required": [ + "amneziawg", + "appStats", + "cpu", + "cpuCores", + "cpuSpeedMhz", + "disk", + "diskIO", + "diskTraffic", + "loads", + "logicalPro", + "mem", + "netIO", + "netTraffic", + "panelGuid", + "panelVersion", + "publicIP", + "swap", + "tcpCount", + "udpCount", + "uptime", + "xray" + ], + "type": "object" + }, "SubBalancer": { "description": "SubBalancer is one extra JSON-subscription config document whose members are\nthe selected inbounds' proxy outbounds. SortOrder shares SubSortIndex semantics.", "properties": { @@ -4820,6 +5781,112 @@ ], "type": "object" }, + "SubBalancerProblem": { + "description": "SubBalancerProblem is one reason a balancer cannot emit what an operator expects.\nAdvisories never change the emitted config, and per-client losses are out of scope.", + "properties": { + "code": { + "example": "unknown_inbound", + "type": "string" + }, + "detail": { + "example": "amneziawg", + "type": "string" + }, + "inboundIds": { + "example": [ + 7, + 9 + ], + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "SubBalancerWithProblems": { + "description": "SubBalancerWithProblems embeds the row by value so it marshals flat; Problems is\nalways non-nil so the response shape is stable.", + "properties": { + "createdAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + }, + "enabled": { + "description": "No gorm default:true — a bool default makes an explicit false at insert\ncollapse back to the column default (zero value is skipped).", + "example": true, + "type": "boolean" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inboundIds": { + "example": [ + 1, + 3 + ], + "items": { + "type": "integer" + }, + "type": "array" + }, + "memberWeights": { + "additionalProperties": { + "type": "number" + }, + "description": "inboundId -> leastLoad weight; absent entries mean 1.0. Only meaningful\nwith Strategy \"leastLoad\" — xray ignores costs on every other strategy.", + "type": "object" + }, + "problems": { + "items": { + "$ref": "#/components/schemas/SubBalancerProblem" + }, + "type": "array" + }, + "remark": { + "example": "auto-fastest", + "maxLength": 256, + "type": "string" + }, + "sortOrder": { + "example": 1, + "minimum": 1, + "type": "integer" + }, + "strategy": { + "enum": [ + "leastLoad", + "leastPing", + "random", + "roundRobin" + ], + "example": "random", + "type": "string" + }, + "updatedAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "createdAt", + "enabled", + "id", + "inboundIds", + "problems", + "remark", + "sortOrder", + "strategy", + "updatedAt" + ], + "type": "object" + }, "TgBotCapabilities": { "description": "TgBotCapabilities is the browser-safe shape of the bot's own capabilities.", "properties": { @@ -4976,6 +6043,44 @@ ], "type": "object" }, + "WireguardDevice": { + "description": "WireguardDevice is an additional peer sharing its client's quota and lifecycle.\nThe original client credentials remain the primary device for compatibility.", + "properties": { + "allowedIPs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "preSharedKey": { + "type": "string" + }, + "privateKey": { + "type": "string" + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "allowedIPs", + "enable", + "id", + "name", + "privateKey", + "publicKey" + ], + "type": "object" + }, "WebSocketEnvelope": { "type": "object", "required": [ @@ -5043,10 +6148,18 @@ "name": "Hosts", "description": "Per-inbound override endpoints. Each enabled host renders one extra subscription link/proxy with its own address/port/TLS, superseding the legacy externalProxy array. All endpoints under /panel/api/hosts." }, + { + "name": "REALITY watch", + "description": "Spare targets per REALITY inbound. Every 10 minutes the panel checks each watched target from this server; after 3 failed checks in a row, an inbound with auto switch on moves to the first spare that passes the same check and a real REALITY connection through a throwaway Xray server and client. Inbounds on nodes, and targets on this machine or the LAN (a bare port, a unix socket, a private address), are not checked." + }, { "name": "Backup", "description": "Operations that interact with the configured Telegram bot." }, + { + "name": "MCP", + "description": "Model Context Protocol endpoint for AI agents (Claude, Cursor, VS Code). Point an MCP client at this URL with an admin Bearer token; restricted token scopes are refused." + }, { "name": "Settings", "description": "Panel configuration and user credentials. All endpoints live under /panel/api/setting and require a logged-in session or Bearer token." @@ -5383,6 +6496,7 @@ "nodeId": null, "originNodeGuid": "", "port": 443, + "preserveClientTraffic": null, "protocol": "vless", "remark": "VLESS-443", "settings": null, @@ -6457,39 +7571,42 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/Status" + } } }, "example": { "success": true, "obj": { - "cpu": 12.5, - "mem": { - "current": 2147483648, - "total": 8589934592 - }, - "swap": { - "current": 0, - "total": 4294967296 - }, - "disk": { - "current": 53687091200, - "total": 268435456000 - }, - "netIO": { - "up": 1073741824, - "down": 2147483648 - }, - "xray": { - "state": "running", - "version": "v25.10.31" - }, - "tcpCount": 42, - "load": { - "load1": 0.5, - "load5": 0.3, - "load15": 0.2 - } + "amneziawg": null, + "appStats": null, + "cpu": 0, + "cpuCores": 0, + "cpuSpeedMhz": 0, + "disk": null, + "diskIO": null, + "diskTraffic": null, + "loads": [ + 0 + ], + "logicalPro": 0, + "mem": null, + "netIO": null, + "netTraffic": null, + "networkInterface": null, + "panelGuid": "", + "panelVersion": "", + "publicIP": null, + "resourceScope": "", + "swap": null, + "tcpCount": 0, + "udpCount": 0, + "unavailableMetrics": [ + "" + ], + "uptime": 0, + "xray": null } } } @@ -6537,6 +7654,51 @@ } } }, + "/panel/api/server/networkInterfaces": { + "get": { + "tags": [ + "Server" + ], + "summary": "List network interface names and resolve the primary default-route interface in this panel network namespace. Requires an admin session or admin API token. No addresses or hardware identifiers are returned.", + "operationId": "get_panel_api_server_networkInterfaces", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/NetworkInterfacesResponse" + } + } + }, + "example": { + "success": true, + "obj": { + "automatic": "eth0", + "automaticError": "", + "interfaces": [ + { + "name": "eth0", + "up": true + } + ] + } + } + } + } + } + } + } + }, "/panel/api/server/cpuHistory/{bucket}": { "get": { "tags": [ @@ -6549,7 +7711,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6583,14 +7745,14 @@ "tags": [ "Server" ], - "summary": "Aggregated time-series for one metric. Returns an array of {t, v} samples covering the last ~6 hours.", + "summary": "Aggregated time-series for one system metric. Returns up to 60 {t, v} samples; supported bucket sizes cover windows from 2 minutes up to 7 days.", "operationId": "get_panel_api_server_history_metric_bucket", "parameters": [ { "name": "metric", "in": "path", "required": true, - "description": "cpu | mem | netUp | netDown | online | load1 | load5 | load15.", + "description": "cpu | mem | swap | netUp | netDown | pktUp | pktDown | diskRead | diskWrite | diskUsage | tcpCount | udpCount | online | load1 | load5 | load15.", "schema": { "type": "string" } @@ -6599,7 +7761,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6641,6 +7803,47 @@ } } }, + "/panel/api/server/overviewHistory/{bucket}": { + "get": { + "tags": [ + "Server" + ], + "summary": "Aggregated history for all overview charts in one response: up to 60 {t, v} samples for each of cpu, mem, swap, diskUsage, netUp, netDown, tcpCount and udpCount.", + "operationId": "get_panel_api_server_overviewHistory_bucket", + "parameters": [ + { + "name": "bucket", + "in": "path", + "required": true, + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/server/xrayMetricsState": { "get": { "tags": [ @@ -6676,7 +7879,7 @@ "tags": [ "Server" ], - "summary": "Time-series history for one Xray runtime metric over the last ~6 hours. Same {t, v} shape as /history/:metric/:bucket.", + "summary": "Aggregated history for one Xray runtime metric. Returns up to 60 {t, v} samples for bucket windows up to 7 days.", "operationId": "get_panel_api_server_xrayMetricsHistory_metric_bucket", "parameters": [ { @@ -6692,7 +7895,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -6772,7 +7975,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -7859,7 +9062,7 @@ "keepHostSettings": { "type": "boolean", "default": true, - "description": "Keep this machine's addresses, certificates and node identity. Default true." + "description": "Keep this machine's addresses, certificates, node identity, and network traffic interface selection. Default true." } }, "required": [ @@ -8421,6 +9624,135 @@ } } }, + "/panel/api/clients/attachCandidates": { + "get": { + "tags": [ + "Clients" + ], + "summary": "List up to 100 clients for the inbound attachment picker. Counts distinguish filtered rows and all eligible clients. A freeze request returns only the eligible count, maximum ID and a scope token covering the eligible IDs that match the given search and group for the chosen source and targets.", + "operationId": "get_panel_api_clients_attachCandidates", + "parameters": [ + { + "name": "sourceId", + "in": "query", + "required": false, + "description": "Restrict candidates to clients on this inbound.", + "schema": { + "type": "integer" + } + }, + { + "name": "inboundIds", + "in": "query", + "required": false, + "description": "Comma-separated target IDs. Required for freeze and if no source ID is specified.", + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "1-indexed page, defaults to 1.", + "schema": { + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "required": false, + "description": "Match email and either comment (with a source) or group.", + "schema": { + "type": "string" + } + }, + { + "name": "group", + "in": "query", + "required": false, + "description": "Filter by exact group when there is no source.", + "schema": { + "type": "string" + } + }, + { + "name": "freeze", + "in": "query", + "required": false, + "description": "Freeze the eligible IDs matching search and group, independently of page.", + "schema": { + "type": "boolean" + } + }, + { + "name": "scopeSearch", + "in": "query", + "required": false, + "description": "Search a frozen selection was taken under; rows outside it report inScope false.", + "schema": { + "type": "string" + } + }, + { + "name": "scopeGroup", + "in": "query", + "required": false, + "description": "Group a frozen selection was taken under; rows outside it report inScope false.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/AttachCandidatePage" + } + } + }, + "example": { + "success": true, + "obj": { + "eligible": 118, + "groups": [ + "staff" + ], + "items": [ + { + "alreadyAttached": false, + "comment": "Example client", + "email": "alice@example.test", + "enable": true, + "group": "staff", + "id": 1, + "inScope": true + } + ], + "maxId": 0, + "scopeToken": "", + "total": 120 + } + } + } + } + } + } + } + }, "/panel/api/clients/list/paged": { "get": { "tags": [ @@ -8722,6 +10054,48 @@ } } }, + "/panel/api/clients/get": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Fetch one client by email, including the inbound IDs and external config IDs it is attached to.", + "operationId": "get_panel_api_clients_get", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email (unique identifier).", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/clients/get/subId/{subId}": { "get": { "tags": [ @@ -8845,7 +10219,7 @@ ], "summary": "Create a new client and attach it to one or more inbounds in a single call. Body is JSON. Per-protocol secrets are generated server-side when omitted, so callers can send only the universal fields.", "operationId": "post_panel_api_clients_add", - "description": "Fields the server fills in when they are omitted — a valid value sent by the caller is never overwritten. Re-adding an email that already exists, with its stored `subId`, reuses the stored `id`, `password`, `auth` and `secret` instead of minting new ones, so the identity stays in sync across its inbounds.\n\n- **VLESS / VMess** — `id`, a fresh UUID\n- **Trojan** — `password`\n- **Shadowsocks** — `password`. On a `2022-blake3-*` inbound a supplied password that does not base64-decode to the key length of the cipher (16 or 32 bytes) is replaced by a generated key and the call still succeeds, so read the client back if you did not let the server pick. Legacy ciphers keep any non-empty password\n- **Hysteria** — `auth`\n- **mtproto** — `secret`, a FakeTLS secret derived from the fronting domain of the inbound, or from `www.cloudflare.com` when it has none\n- **WireGuard** — `privateKey` and `publicKey` when both are blank, or `publicKey` alone when only a `privateKey` was sent, plus `allowedIPs`: one free `/32` taken from the /24 the existing peers of that inbound already sit in, or from `10.0.0.0/24` when it has none\n\nAccepted on the same body but never generated: `preSharedKey` and `keepAlive` (WireGuard), `adTag` (mtproto).\n\nWireGuard is the only one of these that can fail. Allocation widens the search to the containing /16 before giving up with `inbound : wireguard: no free address available in `, and an `allowedIPs` supplied by the caller is validated instead of allocated: `inbound : wireguard: allowedIPs entry overlaps
used by another client` when its range overlaps an address or prefix a different client of that same inbound holds, or `... used by a client on ` when the holder sits on another WireGuard or AmneziaWG inbound. Ranges are compared, not strings, so `10.0.0.9/24` collides with `10.0.0.5/32`; a `/0` entry collides with every address of its family another client holds, and only a `0.0.0.0/0` or `::/0` default route that is already stored (legacy peers) keeps nobody out. Allocation likewise skips every address inside a prefix another client holds. The same validation runs on POST /panel/api/clients/{email}/attach, where a client that already carries an address brings it along.\n\nAn `inboundIds` entry that names no existing inbound rejects the whole call before anything is written. Past that, the inbounds are applied concurrently and independently: one that fails no longer stops the others, so a `success:false` response can still have created the client on the rest. Every error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. `limitHwid` is applied only when every inbound succeeded, so re-run the call after fixing the failure.", + "description": "Client email must not be exactly `.` or `..`. Existing reserved-name clients can be read, renamed to a valid name, or deleted using the query-parameter /get, /update and /del aliases. Fields the server fills in when they are omitted — a valid value sent by the caller is never overwritten. Re-adding an email that already exists, with its stored `subId`, reuses the stored `id`, `password`, `auth` and `secret` instead of minting new ones, so the identity stays in sync across its inbounds.\n\n- **VLESS / VMess** — `id`, a fresh UUID\n- **Trojan** — `password`\n- **Shadowsocks** — `password`. On a `2022-blake3-*` inbound a supplied password that does not base64-decode to the key length of the cipher (16 or 32 bytes) is replaced by a generated key and the call still succeeds, so read the client back if you did not let the server pick. Legacy ciphers keep any non-empty password\n- **Hysteria** — `auth`\n- **mtproto** — `secret`, a FakeTLS secret derived from the fronting domain of the inbound, or from `www.cloudflare.com` when it has none\n- **WireGuard** — `privateKey` and `publicKey` when both are blank, or `publicKey` alone when only a `privateKey` was sent, plus `allowedIPs`: one free `/32` taken from the /24 the existing peers of that inbound already sit in, or from `10.0.0.0/24` when it has none\n\nAccepted on the same body but never generated: `preSharedKey` and `keepAlive` (WireGuard), `adTag` (mtproto).\n\nWireGuard is the only one of these that can fail. Allocation widens the search to the containing /16 before giving up with `inbound : wireguard: no free address available in `, and an `allowedIPs` supplied by the caller is validated instead of allocated: `inbound : wireguard: allowedIPs entry overlaps
used by another client` when its range overlaps an address or prefix a different client of that same inbound holds, or `... used by a client on ` when the holder sits on another WireGuard or AmneziaWG inbound. Ranges are compared, not strings, so `10.0.0.9/24` collides with `10.0.0.5/32`; a `/0` entry collides with every address of its family another client holds, and only a `0.0.0.0/0` or `::/0` default route that is already stored (legacy peers) keeps nobody out. Allocation likewise skips every address inside a prefix another client holds. The same validation runs on POST /panel/api/clients/{email}/attach, where a client that already carries an address brings it along.\n\nAn `inboundIds` entry that names no existing inbound rejects the whole call before anything is written. Past that, the inbounds are applied concurrently and independently: one that fails no longer stops the others, so a `success:false` response can still have created the client on the rest. Every error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. `limitHwid` is applied only when every inbound succeeded, so re-run the call after fixing the failure.", "requestBody": { "required": true, "content": { @@ -9011,9 +10385,9 @@ "tags": [ "Clients" ], - "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload — supply the full set of fields you want to keep (the server replaces the row, it does not patch).", + "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload: omitted fields keep their current values, and an explicit zero, empty or null value clears a field, except as noted below.", "operationId": "post_panel_api_clients_update_email", - "description": "The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", + "description": "An omitted `flow` leaves every attached inbound on its own flow. Send `\"reverse\": null` to remove the reverse tag. Credentials (`id`, `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG `allowedIPs` are never cleared: an empty value keeps the stored one. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", "parameters": [ { "name": "email", @@ -9070,6 +10444,70 @@ } } }, + "/panel/api/clients/update": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload: omitted fields keep their current values, and an explicit zero, empty or null value clears a field, except as noted below.", + "operationId": "post_panel_api_clients_update", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization. An omitted `flow` leaves every attached inbound on its own flow. Send `\"reverse\": null` to remove the reverse tag. Credentials (`id`, `password`, `auth`, `secret`, `subId`) and WireGuard/AmneziaWG `allowedIPs` are never cleared: an empty value keeps the stored one. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have applied the edit to the remaining inbounds. The client record is written after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the inbound edits in place.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Current client email (unique identifier).", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "email": "alice@example.com", + "totalGB": 107374182400, + "expiryTime": 1767225600000, + "limitHwid": 2, + "tgId": 123456789, + "enable": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Client updated" + } + } + } + } + } + } + }, "/panel/api/clients/del/{email}": { "post": { "tags": [ @@ -9091,7 +10529,62 @@ { "name": "keepTraffic", "in": "query", + "required": false, + "description": "Pass 1 to retain the xray_client_traffic row after deletion.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Client deleted" + } + } + } + } + } + } + }, + "/panel/api/clients/del": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed.", + "operationId": "post_panel_api_clients_del", + "description": "Query-parameter alias for the path endpoint. Use email=. or email=.. to manage legacy reserved names without URL dot-segment normalization. The inbounds are applied concurrently and independently: one that fails no longer stops the others. Every inbound error names the inbound it came from (`inbound 7: `), and several failures are reported together, one per line. So a `success:false` response can still have removed the client from the remaining inbounds; the client record is kept in that case, so re-running the call retries exactly the leftovers. The record and traffic rows are dropped after the inbounds, so a failure there is reported without an `inbound :` prefix and leaves the client already removed from every inbound.", + "parameters": [ + { + "name": "email", + "in": "query", "required": true, + "description": "Client email (unique identifier).", + "schema": { + "type": "string" + } + }, + { + "name": "keepTraffic", + "in": "query", + "required": false, "description": "Pass 1 to retain the xray_client_traffic row after deletion.", "schema": { "type": "integer" @@ -9355,6 +10848,464 @@ } } }, + "/panel/api/clients/wireguardDevices": { + "get": { + "tags": [ + "Clients" + ], + "summary": "List WireGuard devices and their per-inbound addresses.", + "operationId": "get_panel_api_clients_wireguardDevices", + "description": "The original credentials remain the primary device. Additional devices share their parent client email, traffic quota, expiry and enable state. Keep each device configuration on one device. Device-specific subscriptions use the existing subscription URL with the wgDevice query parameter set to the device ID.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Clients" + ], + "summary": "Create a WireGuard device on every attached WireGuard inbound.", + "operationId": "post_panel_api_clients_wireguardDevices", + "description": "Keys are generated once and each inbound allocates an available tunnel address. All inbounds commit together. The default limit is 5 devices including primary.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Device name with 1 to 64 characters on one line." + } + }, + "required": [ + "name" + ] + }, + "example": { + "name": "Phone" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, + "/panel/api/clients/wireguardDevices/limit": { + "put": { + "tags": [ + "Clients" + ], + "summary": "Set the maximum number of WireGuard devices.", + "operationId": "put_panel_api_clients_wireguardDevices_limit", + "description": "The limit includes primary and disabled devices. Choose 1 to 32. Values below the current device count are rejected.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 5, + "description": "Maximum device count including primary." + } + }, + "required": [ + "limit" + ] + }, + "example": { + "limit": 5 + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, + "/panel/api/clients/wireguardDevices/{deviceId}": { + "patch": { + "tags": [ + "Clients" + ], + "summary": "Rename or enable a WireGuard device.", + "operationId": "patch_panel_api_clients_wireguardDevices_deviceId", + "description": "The primary device is managed through the parent client. Disabled additional devices retain their reserved addresses.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "Additional device UUID.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New device name." + }, + "enable": { + "type": "boolean", + "description": "Whether the device can connect." + } + } + }, + "example": { + "name": "Work phone", + "enable": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "summary": "Delete an additional WireGuard device and release its address.", + "operationId": "delete_panel_api_clients_wireguardDevices_deviceId", + "description": "The device is removed from every attached WireGuard inbound. Its previously downloaded configuration loses access after the configuration is applied.", + "parameters": [ + { + "name": "email", + "in": "query", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "Additional device UUID.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "limit": 5, + "inbounds": [ + { + "inboundId": 3, + "devices": [ + { + "id": "primary", + "name": "", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.2/32" + ] + }, + { + "id": "e3550bd1-0ba0-48b2-8a91-e57263a23d9d", + "name": "Phone", + "enable": true, + "privateKey": "...", + "publicKey": "...", + "allowedIPs": [ + "10.0.0.3/32" + ] + } + ] + } + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/resetAllTraffics": { "post": { "tags": [ @@ -9576,25 +11527,71 @@ "tags": [ "Clients" ], - "summary": "Shift expiry and/or traffic quota for many clients in one call. addDays/addBytes may be negative. Clients with unlimited expiry (expiryTime=0) or unlimited traffic (totalGB=0) are skipped for the corresponding field — bulk extend never converts unlimited to limited. A client that was auto-disabled solely because it was depleted (expired or over quota) is automatically re-enabled — locally and on its node — when the adjustment lifts it out of depletion; a manually-disabled or still-depleted client is left disabled. The optional flow directive sets the XTLS flow on every client: \"none\" clears it, \"xtls-rprx-vision\"/\"xtls-rprx-vision-udp443\" set it where the inbound supports it (omit or \"\" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets MTProto Telegram sponsor channel (\"none\" clears). Returns the adjusted count and per-email skip reasons.", + "summary": "Shift expiry and/or traffic quota for many clients in one call. addDays/addBytes may be negative. Clients with unlimited expiry (expiryTime=0) or unlimited traffic (totalGB=0) are skipped for the corresponding field — bulk extend never converts unlimited to limited. A client that was auto-disabled solely because it was depleted (expired or over quota) is automatically re-enabled — locally and on its node — when the adjustment lifts it out of depletion; a manually-disabled or still-depleted client is left disabled. The optional flow directive sets the XTLS flow on every client: \"none\" clears it, \"xtls-rprx-vision\"/\"xtls-rprx-vision-udp443\" set it where the inbound supports it (omit or \"\" to leave it unchanged). The optional limitHwid sets maximum registered devices (0 = unlimited). The optional adTag sets MTProto Telegram sponsor channel (\"none\" clears). Alternatively, send externalLinks to append external share links and http(s) subscriptions to each selected client in one transaction. This mode cannot be combined with other adjustments. Existing entries, metadata, and ordering are preserved. Duplicates match (kind, value) per client, including repeated input rows; the first entry wins. Missing clients are not written and appear in skipped. externalLinks.added counts inserted rows, externalLinks.skipped counts duplicate rows across found clients, externalLinks.errors counts missing clients, and adjusted counts clients receiving at least one new row. Validation or database failure aborts the whole append without writes. Repeating an append is idempotent and does not restart Xray.", "operationId": "post_panel_api_clients_bulkAdjust", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "type": "object" + "type": "object", + "required": [ + "emails" + ], + "properties": { + "emails": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1 + }, + "addDays": { + "type": "integer" + }, + "addBytes": { + "type": "integer" + }, + "flow": { + "type": "string" + }, + "limitHwid": { + "type": "integer", + "minimum": 0 + }, + "adTag": { + "type": "string" + }, + "externalLinks": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/components/schemas/ExternalLinkInput" + } + } + } }, "example": { "emails": [ "alice", "bob" ], - "addDays": 30, - "addBytes": 53687091200, - "flow": "xtls-rprx-vision", - "limitHwid": 2, - "adTag": "0123456789abcdef0123456789abcdef" + "externalLinks": [ + { + "kind": "link", + "value": "vless://uuid@example.com:443", + "remark": "Backup", + "enable": true, + "expiryTime": 0 + }, + { + "kind": "subscription", + "value": "https://provider.example/sub", + "namePrefix": "[provider] ", + "enable": true, + "expiryTime": 0 + } + ] } } } @@ -9613,19 +11610,17 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/BulkAdjustResult" + } } }, "example": { "success": true, "obj": { "adjusted": 2, - "skipped": [ - { - "email": "carol", - "reason": "unlimited expiry" - } - ] + "externalLinks": null, + "skipped": [] } } } @@ -9998,7 +11993,7 @@ "tags": [ "Clients" ], - "summary": "Attach many existing clients to many inbounds in one call. Each client keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are reported under skipped. Returns per-email attached/skipped/errors lists and triggers a single Xray restart if any target inbound was running.", + "summary": "Attach many existing clients to many inbounds in one call. Each client keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a target are reported under skipped. Explicit email requests return per-email lists. Alternatively submit selection with explicit clientIds or a frozen allMatching scopeToken plus excludedClientIds and the search and group it was frozen under. Scoped requests start a background job and return {jobId}. Poll GET /bulkAttach/:id for counts or a stale-selection error. Newer IDs stay outside the frozen scope. Changes to the frozen membership are rejected before applying changes. Triggers a single Xray restart if any target inbound was running.", "operationId": "post_panel_api_clients_bulkAttach", "requestBody": { "required": true, @@ -10012,7 +12007,11 @@ "items": { "type": "string" }, - "description": "Emails of existing clients to attach." + "description": "Emails of existing clients to attach. Omit when using selection." + }, + "selection": { + "type": "object", + "description": "Either {mode: \"explicit\", clientIds, sourceId?} or {mode: \"allMatching\", scopeToken, excludedClientIds?, search?, group?, sourceId?}." }, "inboundIds": { "type": "array", @@ -10023,7 +12022,6 @@ } }, "required": [ - "emails", "inboundIds" ] }, @@ -10076,6 +12074,58 @@ } } }, + "/panel/api/clients/bulkAttach/{id}": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Poll a scoped attachment job. The result contains counts per target (attached, skipped, errors); an operation failure sets error instead. Completed results are retained for up to 15 minutes in the running panel process.", + "operationId": "get_panel_api_clients_bulkAttach_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Job ID returned by the scoped bulkAttach request.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/AttachJobStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "ended": "2025-01-01T00:00:00Z", + "error": "", + "result": null, + "running": false + } + } + } + } + } + } + } + }, "/panel/api/clients/bulkDetach": { "post": { "tags": [ @@ -10214,7 +12264,7 @@ "tags": [ "Clients" ], - "summary": "List all client groups with their member counts. Merges persisted groups (rows in client_groups, including empty placeholders) with the distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive).", + "summary": "List all client groups with their member counts and the host groups bound to each. Merges persisted groups (rows in client_groups, including empty placeholders) with the distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive).", "operationId": "get_panel_api_clients_groups", "responses": { "200": { @@ -10237,12 +12287,18 @@ "success": true, "obj": [ { + "id": 1, "name": "customer-a", - "clientCount": 5 + "clientCount": 5, + "hostGroupIds": [ + "cdn-front" + ] }, { + "id": 2, "name": "internal", - "clientCount": 0 + "clientCount": 0, + "hostGroupIds": [] } ] } @@ -10252,6 +12308,70 @@ } } }, + "/panel/api/clients/groups/{name}/hosts": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Replace the host groups attached to a client group. Clients in this group receive the bound host groups instead of the inbound default host pool; other clients are unaffected. An empty array clears the bindings. Returns the saved host group IDs.", + "operationId": "post_panel_api_clients_groups_name_hosts", + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "description": "Group name (URL-encoded).", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "hostGroupIds": [ + "cdn-front" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "obj": { + "hostGroupIds": [ + "cdn-front" + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/groups/{name}/emails": { "get": { "tags": [ @@ -10306,7 +12426,7 @@ "tags": [ "Clients" ], - "summary": "Create a new empty (placeholder) group. The group becomes selectable in client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists.", + "summary": "Create a new group, optionally with host rules bound to it. The group becomes selectable in client forms and the filter drawer even before any client is added to it. Host group IDs are validated before the group is created. Errors if a group with the same name already exists.", "operationId": "post_panel_api_clients_groups_create", "requestBody": { "required": true, @@ -10316,7 +12436,10 @@ "type": "object" }, "example": { - "name": "customer-a" + "name": "customer-a", + "hostGroupIds": [ + "cdn-front" + ] } } } @@ -10355,7 +12478,7 @@ "tags": [ "Clients" ], - "summary": "Rename a group. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whose label was updated.", + "summary": "Rename a group and optionally replace its host rules in one transaction. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON). Omit hostGroupIds to leave the bindings unchanged; send an empty array to clear them. Returns the number of clients whose label was updated.", "operationId": "post_panel_api_clients_groups_rename", "requestBody": { "required": true, @@ -10366,7 +12489,10 @@ }, "example": { "oldName": "customer-a", - "newName": "tier-1" + "newName": "tier-1", + "hostGroupIds": [ + "cdn-front" + ] } } } @@ -10681,7 +12807,7 @@ "tags": [ "Clients" ], - "summary": "List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed.", + "summary": "List registered HWID devices for a client with a short fingerprint and a blocked flag. Bans are scoped to the subscription ID shared by the client. Full hashes are not exposed.", "operationId": "post_panel_api_clients_hwids_email", "parameters": [ { @@ -10716,6 +12842,7 @@ "obj": [ { "id": 1, + "blocked": false, "firstSeen": 1735000000000, "lastSeen": 1735100000000, "userAgent": "Happ/1.0", @@ -10735,7 +12862,7 @@ "tags": [ "Clients" ], - "summary": "Clear all registered HWID devices for a client so new devices can register again.", + "summary": "Clear unblocked HWID registrations for a client so devices can register again. Blocked devices and their bans are preserved.", "operationId": "delete_panel_api_clients_hwids_email", "parameters": [ { @@ -10776,7 +12903,7 @@ "tags": [ "Clients" ], - "summary": "Remove a single registered HWID device by its id, freeing one slot under the HWID limit.", + "summary": "Remove a single unblocked HWID device by its id, freeing one slot under the HWID limit. A blocked device must be unblocked before it can be removed.", "operationId": "delete_panel_api_clients_hwids_email_id", "parameters": [ { @@ -10821,6 +12948,82 @@ } } }, + "/panel/api/clients/hwids/{email}/{id}/block": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Block or unblock one device for the client subscription. Send an explicit boolean blocked value. A ban denies subscription bodies for that HWID even with limitHwid=0, does not consume a device slot, and survives clearing devices or changing the limit. It does not revoke copied credentials or identify requests with a different or missing HWID.", + "operationId": "post_panel_api_clients_hwids_email_id_block", + "parameters": [ + { + "name": "email", + "in": "path", + "required": true, + "description": "Client email.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "Device id, from the list endpoint.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "blocked": { + "type": "boolean", + "description": "true to block the device, false to unblock it." + } + }, + "required": [ + "blocked" + ] + }, + "example": { + "blocked": true + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + }, + "example": { + "success": true, + "msg": "Updated successfully." + } + } + } + } + } + } + }, "/panel/api/clients/onlines": { "post": { "tags": [ @@ -11084,6 +13287,88 @@ } } }, + "/panel/api/clients/usageHistory/{email}": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Usage and change history for one client, behind the edit modal's history button. lifetimeUp/lifetimeDown are every archived window plus the client's live counters; currentUp/currentDown are the still-open window. windows lists the closed cycles, newest first (reason: reset | renew | earlier): one is archived whenever a traffic reset or an auto-renewal zeroes the client's counters, the newest 100 are kept and older ones are folded into a single earlier row, so the lifetime total does not change. nodes is the per-node upload/download accumulated since the last reset. changes is the metadata change log, newest first, capped at the newest 200 rows: one row per changed field (subId, expiry, dataLimit, enable, limitIp, limitHwid, adTag, group, renewalPlan) and a name row for a rename; source is panel | tgbot | auto-renew. A renamed client keeps its history under the new email. The history belongs to the client: once the client is deleted, its history is removed within five minutes. Requires an admin token or a panel login session.", + "operationId": "get_panel_api_clients_usageHistory_email", + "parameters": [ + { + "name": "email", + "in": "path", + "required": true, + "description": "Client email (unique across the panel).", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/ClientUsageHistory" + } + } + }, + "example": { + "success": true, + "obj": { + "changes": [ + { + "at": 1735689600000, + "email": "user1@example.com", + "field": "dataLimit", + "id": 14825, + "newValue": "21474836480", + "oldValue": "10737418240", + "source": "panel" + } + ], + "currentDown": 2097152, + "currentUp": 1048576, + "email": "user1@example.com", + "lifetimeDown": 21474836480, + "lifetimeUp": 10737418240, + "nodes": [ + { + "down": 2097152, + "nodeId": 7, + "nodeName": "de-fra-1", + "up": 1048576 + } + ], + "windows": [ + { + "at": 1735689600000, + "down": 2097152, + "email": "user1@example.com", + "id": 14825, + "reason": "reset", + "up": 1048576 + } + ] + } + } + } + } + } + } + } + }, "/panel/api/clients/subLinks/{subId}": { "get": { "tags": [ @@ -11289,6 +13574,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -11493,6 +13779,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -11646,6 +13933,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -12047,6 +14335,88 @@ } } }, + "/panel/api/nodes/restartXray/{id}": { + "post": { + "tags": [ + "Nodes" + ], + "summary": "Restart Xray on one enabled, directly configured node. Active Xray connections are interrupted. Uses the node runtime and accepts admin, node-admin or node-sync credentials on the node. A stale heartbeat does not prevent the request.", + "operationId": "post_panel_api_nodes_restartXray_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Node ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, + "/panel/api/nodes/restartPanel/{id}": { + "post": { + "tags": [ + "Nodes" + ], + "summary": "Request a restart of the panel and subscription services on one enabled, directly configured node. Requires admin or node-admin credentials on the node; mTLS requires an explicit node-admin bearer token. Success acknowledges scheduling, before the three-second restart delay. A stale heartbeat does not prevent the request. Older nodes may reject node-admin access until upgraded.", + "operationId": "post_panel_api_nodes_restartPanel_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Node ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/nodes/updatePanel": { "post": { "tags": [ @@ -12141,7 +14511,7 @@ "name": "bucket", "in": "path", "required": true, - "description": "Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.", + "description": "Bucket size in seconds. Allowed: 2, 5, 30, 60, 180, 360, 720, 1440, 2880, 10080.", "schema": { "type": "integer" } @@ -13189,6 +15559,382 @@ } } }, + "/panel/api/realityWatch/list": { + "get": { + "tags": [ + "REALITY watch" + ], + "summary": "Status of every watched inbound: current target, spares, last check and the switch history.", + "operationId": "get_panel_api_realityWatch_list", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + } + }, + "example": { + "success": true, + "obj": [ + { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + ] + } + } + } + } + } + } + }, + "/panel/api/realityWatch/status/{id}": { + "get": { + "tags": [ + "REALITY watch" + ], + "summary": "Status of one REALITY inbound.", + "operationId": "get_panel_api_realityWatch_status_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/save/{id}": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Set the spare targets (host[:port], in order of preference, at most 10; the current target is dropped) and whether a dead target is replaced automatically.", + "operationId": "post_panel_api_realityWatch_save_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "auto": true, + "spares": [ + "www.example.com:443" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/switch/{id}": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Move the inbound to this target now and return its new status. Refused for a node inbound, or unless the target passes the server check and a real REALITY connection. Only target and serverNames change, plus any Hosts of this inbound that pin an old server name.", + "operationId": "post_panel_api_realityWatch_switch_id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Inbound ID.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "target": "www.example.com:443" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityWatchStatus" + } + } + }, + "example": { + "success": true, + "obj": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + } + } + } + } + } + } + } + }, + "/panel/api/realityWatch/test": { + "post": { + "tags": [ + "REALITY watch" + ], + "summary": "Check a target from this server and through a real REALITY connection; feasible is false with a reason when either fails.", + "operationId": "post_panel_api_realityWatch_test", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "target": "www.example.com:443" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": { + "$ref": "#/components/schemas/RealityScanResult" + } + } + }, + "example": { + "success": true, + "obj": { + "alpn": "h2", + "certChainBytes": 3427, + "certChainValid": true, + "certIssuer": "Google Trust Services", + "certSubject": "cloudflare.com", + "certValid": true, + "curveID": "X25519", + "feasible": true, + "h2": true, + "host": "www.cloudflare.com", + "ip": "104.16.124.96", + "latencyMs": 180, + "notAfter": "2026-08-01T00:00:00Z", + "port": 443, + "privateTarget": false, + "reason": "", + "serverNames": [ + "" + ], + "target": "www.cloudflare.com:443", + "tls13": true, + "tlsVersion": "1.3", + "x25519": true + } + } + } + } + } + } + } + }, "/panel/api/backuptotgbot": { "post": { "tags": [ @@ -13219,6 +15965,62 @@ } } }, + "/panel/api/mcp": { + "post": { + "tags": [ + "MCP" + ], + "summary": "Stateless streamable-HTTP MCP endpoint (JSON-RPC 2.0). Exposes panel tools for inbounds, clients, server, Xray, nodes, hosts and settings; each tool call runs the matching /panel/api route with the caller’s credentials. Off by default: answers 404 until the MCP server is enabled under Settings → Security → API Token.", + "operationId": "post_panel_api_mcp", + "parameters": [ + { + "name": "toolsets", + "in": "query", + "required": false, + "description": "Comma-separated tool groups to expose: inbounds, clients, server, panel. Omit for all. call_api and get_openapi_spec are always included.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "example": { + "jsonrpc": "2.0", + "id": 1, + "method": "tools/list" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/setting/all": { "post": { "tags": [ @@ -13473,6 +16275,7 @@ ], "summary": "Restart the entire 3x-ui process after a 3-second grace period. The connection drops immediately; the panel comes back online ~5-10 seconds later.", "operationId": "post_panel_api_setting_restartPanel", + "description": "The answer names the listener that took the call (port, tls) and the one the restarted panel opens (nextPort, nextTls), with XUI_PORT and an unloadable certificate pair already applied. A client reaching the panel through a proxy or a port mapping compares port and tls with the address it used, and follows a change only where they match.", "responses": { "200": { "description": "Successful response", @@ -13487,7 +16290,18 @@ "msg": { "type": "string" }, - "obj": {} + "obj": { + "$ref": "#/components/schemas/PanelRestart" + } + } + }, + "example": { + "success": true, + "obj": { + "nextPort": 2053, + "nextTls": false, + "port": 2053, + "tls": false } } } @@ -13640,6 +16454,36 @@ } } }, + "/panel/api/setting/testWechat": { + "post": { + "tags": [ + "Settings" + ], + "summary": "Send a text test notification using the saved WeChat destination. Supports WeCom group robots and compatible personal WeChat webhook gateways. Requires WeChat notifications to be enabled.", + "operationId": "post_panel_api_setting_testWechat", + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "obj": {} + } + } + } + } + } + } + } + }, "/panel/api/setting/getDefaultJsonConfig": { "get": { "tags": [ @@ -15405,8 +18249,9 @@ "tags": [ "Subscription Balancers" ], - "summary": "List all subscription balancers in sort order (sort_order asc, id asc).", + "summary": "List all subscription balancers in sort order, with problems[] advisories.", "operationId": "get_panel_api_sub_balancers", + "description": "Each balancer carries a problems[] array of diagnostic advisories: unknown_inbound, disabled_inbound, json_incapable_protocol, inbound_without_clients, hosts_excluded_from_json, no_members. Advisories never change the emitted config — a balancer with no resolvable member is still omitted from the JSON subscription. sort_order asc, id asc.", "responses": { "200": { "description": "Successful response", @@ -15424,7 +18269,7 @@ "obj": { "type": "array", "items": { - "$ref": "#/components/schemas/SubBalancer" + "$ref": "#/components/schemas/SubBalancerWithProblems" } } } @@ -15441,6 +18286,16 @@ 3 ], "memberWeights": {}, + "problems": [ + { + "code": "unknown_inbound", + "detail": "amneziawg", + "inboundIds": [ + 7, + 9 + ] + } + ], "remark": "auto-fastest", "sortOrder": 1, "strategy": "random", @@ -16547,9 +19402,10 @@ "type": "string", "enum": [ "xray", - "tuic" + "tuic", + "node" ], - "description": "Present for native TUIC samples; omitted Xray samples default to xray." + "description": "Present for native TUIC samples and for clients served by managed nodes; omitted Xray samples default to xray." }, "clientTrafficIntervalMs": { "type": "integer", @@ -16794,6 +19650,7 @@ "nodeId": null, "originNodeGuid": "", "port": 443, + "preserveClientTraffic": null, "protocol": "vless", "remark": "VLESS-443", "settings": null, @@ -16876,6 +19733,7 @@ "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", diff --git a/frontend/src/api/client-management.ts b/frontend/src/api/client-management.ts new file mode 100644 index 000000000..0ba8f6b63 --- /dev/null +++ b/frontend/src/api/client-management.ts @@ -0,0 +1,5 @@ +export function clientManagementPath(action: 'get' | 'update' | 'del', email: string): string { + const base = `/panel/api/clients/${action}`; + const encoded = encodeURIComponent(email); + return email === '.' || email === '..' ? `${base}?email=${encoded}` : `${base}/${encoded}`; +} diff --git a/frontend/src/api/queries/useAllSettings.ts b/frontend/src/api/queries/useAllSettings.ts index 0d6cb757b..9b7cabb4f 100644 --- a/frontend/src/api/queries/useAllSettings.ts +++ b/frontend/src/api/queries/useAllSettings.ts @@ -6,7 +6,7 @@ import { parseMsg } from '@/utils/zodValidate'; import { AllSetting } from '@/models/setting'; import { AllSettingResponseSchema, - AllSettingSchema, + AllSettingFieldsSchema, type AllSettingInput, } from '@/schemas/setting'; import { keys } from '@/api/queryKeys'; @@ -63,7 +63,7 @@ export function useAllSettings() { saved?: AllSetting; }): Promise => { const next = { ...payload }; - const body = AllSettingSchema.partial().safeParse(next); + const body = AllSettingFieldsSchema.partial().safeParse(next); if (!body.success) { console.warn('[zod] setting/update body failed validation', body.error.issues); } diff --git a/frontend/src/api/queries/useClientUsageHistoryQuery.ts b/frontend/src/api/queries/useClientUsageHistoryQuery.ts new file mode 100644 index 000000000..98e2bb399 --- /dev/null +++ b/frontend/src/api/queries/useClientUsageHistoryQuery.ts @@ -0,0 +1,30 @@ +import { useQuery } from '@tanstack/react-query'; + +import { keys } from '@/api/queryKeys'; +import { + normalizeClientUsageHistory, + type ClientUsageHistoryInfo, +} from '@/lib/clients/usage-history'; +import { HttpUtil } from '@/utils'; + +async function fetchClientUsageHistory(email: string): Promise { + const msg = await HttpUtil.get( + `/panel/api/clients/usageHistory/${encodeURIComponent(email)}`, + undefined, + { silent: true }, + ); + if (!msg?.success || !msg.obj) { + throw new Error(msg?.msg || 'Failed to load the usage history'); + } + return normalizeClientUsageHistory(msg.obj); +} + +// The edit modal's usage-history fetch: runs only while the modal is open +// for a real client, and caches per email so a reopen is instant. +export function useClientUsageHistoryQuery(email: string | undefined, enabled: boolean) { + return useQuery({ + queryKey: keys.clients.usageHistory(email ?? ''), + enabled: enabled && !!email, + queryFn: () => fetchClientUsageHistory(email as string), + }); +} diff --git a/frontend/src/api/queries/useNetworkInterfaces.ts b/frontend/src/api/queries/useNetworkInterfaces.ts new file mode 100644 index 000000000..54e0e1b6a --- /dev/null +++ b/frontend/src/api/queries/useNetworkInterfaces.ts @@ -0,0 +1,21 @@ +import { useQuery } from '@tanstack/react-query'; + +import { NetworkInterfacesResponseSchema } from '@/generated/zod'; +import { keys } from '@/api/queryKeys'; +import { HttpUtil } from '@/utils'; + +export function useNetworkInterfaces(enabled: boolean) { + return useQuery({ + enabled, + queryKey: keys.server.networkInterfaces(), + queryFn: async () => { + const msg = await HttpUtil.get('/panel/api/server/networkInterfaces', undefined, { + silent: true, + }); + if (!msg?.success) throw new Error(msg?.msg || 'Failed to load network interfaces'); + return NetworkInterfacesResponseSchema.parse(msg.obj); + }, + staleTime: 10_000, + refetchInterval: 15_000, + }); +} diff --git a/frontend/src/api/queries/useNodeMutations.ts b/frontend/src/api/queries/useNodeMutations.ts index af87d178a..c773d4e48 100644 --- a/frontend/src/api/queries/useNodeMutations.ts +++ b/frontend/src/api/queries/useNodeMutations.ts @@ -83,12 +83,29 @@ export function useNodeMutations() { }, }); + const restartMut = useMutation({ + mutationFn: ({ id, target }: { id: number; target: 'xray' | 'panel' }) => + HttpUtil.post( + `/panel/api/nodes/${target === 'xray' ? 'restartXray' : 'restartPanel'}/${id}`, + undefined, + { + silent: true, + timeout: 12000, + }, + ), + retry: false, + onSuccess: (msg) => { + if (msg?.success) queryClient.invalidateQueries({ queryKey: keys.nodes.root() }); + }, + }); + return { create: (payload: Partial) => createMut.mutateAsync(payload), update: (id: number, payload: Partial) => updateMut.mutateAsync({ id, payload }), remove: (id: number) => removeMut.mutateAsync(id), setEnable: (id: number, enable: boolean) => setEnableMut.mutateAsync({ id, enable }), probe: (id: number) => probeMut.mutateAsync(id), + restart: (id: number, target: 'xray' | 'panel') => restartMut.mutateAsync({ id, target }), updatePanels: (ids: number[], dev: boolean): Promise> => updatePanelsMut.mutateAsync({ ids, dev }), testConnection: async (payload: Partial): Promise> => { diff --git a/frontend/src/api/queryKeys.ts b/frontend/src/api/queryKeys.ts index ee634497b..c03d796ad 100644 --- a/frontend/src/api/queryKeys.ts +++ b/frontend/src/api/queryKeys.ts @@ -2,6 +2,7 @@ export const keys = { sponsors: () => ['sponsors'] as const, server: { status: () => ['server', 'status'] as const, + networkInterfaces: () => ['server', 'networkInterfaces'] as const, fail2banStatus: () => ['server', 'fail2banStatus'] as const, }, nodes: { @@ -40,6 +41,7 @@ export const keys = { activeInbounds: () => ['clients', 'activeInbounds'] as const, lastOnline: () => ['clients', 'lastOnline'] as const, groups: () => ['clients', 'groups'] as const, + usageHistory: (email: string) => ['clients', 'usageHistory', email] as const, }, xray: { root: () => ['xray'] as const, diff --git a/frontend/src/components/clients/ClientHwidList.stories.tsx b/frontend/src/components/clients/ClientHwidList.stories.tsx new file mode 100644 index 000000000..2c28a8ea6 --- /dev/null +++ b/frontend/src/components/clients/ClientHwidList.stories.tsx @@ -0,0 +1,55 @@ +import type { Meta, StoryObj } from '@storybook/react-vite'; +import { fn } from 'storybook/test'; + +import ClientHwidListModal from './ClientHwidList'; + +const meta = { + title: 'Clients/HWID Devices', + component: ClientHwidListModal, + args: { + open: true, + email: 'subscriber@example.com', + loading: false, + clearing: false, + deletingId: null, + blockingId: null, + formatDate: (ts: number) => new Date(ts).toISOString().replace('T', ' ').slice(0, 16), + onRefresh: fn(), + onClearAll: fn(), + onDelete: fn(), + onSetBlocked: fn(), + onClose: fn(), + }, +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const AllowedAndBlocked: Story = { + args: { + hwids: [ + { + id: 1, + blocked: false, + firstSeen: 1794225600000, + lastSeen: 1794484800000, + userAgent: 'Happ/4.0', + deviceOs: 'Android', + osVersion: '15', + deviceModel: 'Pixel 9', + fingerprint: '6ad17c93e821', + }, + { + id: 2, + blocked: true, + firstSeen: 1794225600000, + lastSeen: 1794398400000, + userAgent: 'Happ/4.0', + deviceOs: 'iOS', + osVersion: '18', + deviceModel: 'iPhone', + fingerprint: '9d241cb7e506', + }, + ], + }, +}; diff --git a/frontend/src/components/clients/ClientHwidList.tsx b/frontend/src/components/clients/ClientHwidList.tsx index c1444ca34..b0bb812c0 100644 --- a/frontend/src/components/clients/ClientHwidList.tsx +++ b/frontend/src/components/clients/ClientHwidList.tsx @@ -1,5 +1,5 @@ import { Button, Modal, Popconfirm, Tag, Typography } from 'antd'; -import { DeleteOutlined, ReloadOutlined } from '@ant-design/icons'; +import { DeleteOutlined, ReloadOutlined, StopOutlined, UnlockOutlined } from '@ant-design/icons'; import { useTranslation } from 'react-i18next'; import type { ClientHwidInfo } from '@/lib/clients/hwid-log'; @@ -11,10 +11,12 @@ interface ClientHwidListModalProps { loading: boolean; clearing: boolean; deletingId: number | null; + blockingId: number | null; formatDate: (ts: number) => string; onRefresh: () => void; onClearAll: () => void; onDelete: (id: number) => void; + onSetBlocked: (id: number, blocked: boolean) => void; onClose: () => void; } @@ -28,10 +30,12 @@ export default function ClientHwidListModal({ loading, clearing, deletingId, + blockingId, formatDate, onRefresh, onClearAll, onDelete, + onSetBlocked, onClose, }: ClientHwidListModalProps) { const { t } = useTranslation(); @@ -60,7 +64,16 @@ export default function ClientHwidListModal({ okText={t('delete')} cancelText={t('cancel')} > - , @@ -69,6 +82,9 @@ export default function ClientHwidListModal({ , ]} > + + {t('pages.clients.hwidBlockHint')} + {hwids.length > 0 ? (
{hwids.map((entry) => ( @@ -86,6 +102,7 @@ export default function ClientHwidListModal({ {entry.deviceModel || entry.userAgent || t('pages.clients.hwidDevice')} + {entry.blocked && {t('pages.clients.hwidBlocked')}}
{[entry.deviceOs, entry.osVersion].filter(Boolean).join(' ')} @@ -115,6 +132,29 @@ export default function ClientHwidListModal({ )}
+ onSetBlocked(entry.id, !entry.blocked)} + okType={entry.blocked ? 'primary' : 'danger'} + okText={t(entry.blocked ? 'pages.clients.unblockHwid' : 'pages.clients.blockHwid')} + cancelText={t('cancel')} + > + + onDelete(entry.id)} @@ -129,6 +169,13 @@ export default function ClientHwidListModal({ aria-label={t('pages.clients.deleteHwid')} icon={} loading={deletingId === entry.id} + disabled={ + entry.blocked || + clearing || + loading || + blockingId !== null || + deletingId !== null + } /> diff --git a/frontend/src/components/clients/ClientUsageHistoryModal.tsx b/frontend/src/components/clients/ClientUsageHistoryModal.tsx new file mode 100644 index 000000000..9b52a467d --- /dev/null +++ b/frontend/src/components/clients/ClientUsageHistoryModal.tsx @@ -0,0 +1,268 @@ +import { useTranslation } from 'react-i18next'; +import { Modal, Spin, Table, Tag, Typography } from 'antd'; + +import { useClientUsageHistoryQuery } from '@/api/queries/useClientUsageHistoryQuery'; +import { useDatepicker } from '@/hooks/useDatepicker'; +import { IntlUtil, SizeFormatter } from '@/utils'; + +interface ClientUsageHistoryModalProps { + open: boolean; + email?: string; + zIndex?: number; + onClose: () => void; +} + +// Reason label for each closed traffic window; unknown reasons stay raw so a +// future reason still renders instead of blanking out. +const REASON_KEYS: Record = { + reset: 'pages.clients.reasonReset', + renew: 'pages.clients.reasonRenew', + earlier: 'pages.clients.reasonEarlier', +}; + +// Human labels for the change-log field names; unknown fields fall back to the +// raw key so a future field still renders instead of blanking out. +const FIELD_KEYS: Record = { + name: 'pages.clients.fieldName', + subId: 'pages.clients.fieldSubId', + expiry: 'pages.clients.fieldExpiry', + dataLimit: 'pages.clients.fieldDataLimit', + enable: 'pages.clients.fieldEnable', + renewalPlan: 'pages.clients.fieldRenewalPlan', + limitIp: 'pages.clients.fieldLimitIp', + limitHwid: 'pages.clients.fieldLimitHwid', + adTag: 'pages.clients.fieldAdTag', + group: 'pages.clients.fieldGroup', +}; + +function fieldLabel(t: (key: string) => string, field: string): string { + const key = FIELD_KEYS[field]; + return key ? t(key) : field; +} + +function changeValueText(field: string, value: string, formatDate: (ts: number) => string): string { + if (value === '') return '—'; + if (field === 'expiry') { + const n = Number(value); + if (Number.isFinite(n) && n > 0) return formatDate(n); + } else if (field === 'dataLimit') { + const n = Number(value); + if (Number.isFinite(n)) return SizeFormatter.sizeFormat(n); + } + return value; +} + +export default function ClientUsageHistoryModal({ + open, + email, + zIndex, + onClose, +}: ClientUsageHistoryModalProps) { + const { t } = useTranslation(); + const { data: history, isFetching, isError } = useClientUsageHistoryQuery(email, open); + const { datepicker } = useDatepicker(); + const formatDate = (ts: number) => IntlUtil.formatDate(ts, datepicker); + + const bytesCell = (value: number) => SizeFormatter.sizeFormat(value); + + const nodeColumns = [ + { + title: t('pages.clients.node'), + dataIndex: 'nodeName', + key: 'nodeName', + render: (value: string, row: { nodeId: number }) => value || `#${row.nodeId}`, + }, + { + title: t('pages.clients.upload'), + dataIndex: 'up', + key: 'up', + width: 140, + align: 'right' as const, + render: bytesCell, + }, + { + title: t('pages.clients.download'), + dataIndex: 'down', + key: 'down', + width: 140, + align: 'right' as const, + render: bytesCell, + }, + ]; + + const windowColumns = [ + { + title: t('pages.clients.time'), + dataIndex: 'at', + key: 'at', + width: 160, + render: formatDate, + }, + { + title: t('pages.clients.upload'), + dataIndex: 'up', + key: 'up', + width: 110, + align: 'right' as const, + render: bytesCell, + }, + { + title: t('pages.clients.download'), + dataIndex: 'down', + key: 'down', + width: 110, + align: 'right' as const, + render: bytesCell, + }, + { + title: t('pages.clients.reason'), + dataIndex: 'reason', + key: 'reason', + width: 90, + render: (value: string) => {REASON_KEYS[value] ? t(REASON_KEYS[value]) : value}, + }, + ]; + + const changeColumns = [ + { + title: t('pages.clients.time'), + dataIndex: 'at', + key: 'at', + width: 160, + render: formatDate, + }, + { + title: t('pages.clients.field'), + dataIndex: 'field', + key: 'field', + width: 100, + render: (value: string) => fieldLabel(t, value), + }, + { + title: t('pages.clients.oldValue'), + dataIndex: 'oldValue', + key: 'oldValue', + render: (value: string, row: { field: string }) => + changeValueText(row.field, value, formatDate), + }, + { + title: t('pages.clients.newValue'), + dataIndex: 'newValue', + key: 'newValue', + render: (value: string, row: { field: string }) => + changeValueText(row.field, value, formatDate), + }, + { + title: t('pages.clients.source'), + dataIndex: 'source', + key: 'source', + width: 90, + render: (value: string) => {value}, + }, + ]; + + const hasContent = + history !== undefined && + (history.lifetimeUp > 0 || + history.lifetimeDown > 0 || + history.windows.length > 0 || + history.nodes.length > 0 || + history.changes.length > 0); + + return ( + + {isFetching ? ( +
+ +
+ ) : isError ? ( + {t('pages.clients.historyError')} + ) : !hasContent ? ( + {t('pages.clients.noUsageHistory')} + ) : ( +
+
+ + {t('pages.clients.lifetimeTraffic')} + + + + + + + + + + + + + +
{t('pages.clients.upload')} + {SizeFormatter.sizeFormat(history!.lifetimeUp)} + {t('pages.clients.download')} + {SizeFormatter.sizeFormat(history!.lifetimeDown)} +
+ {t('pages.clients.currentCycle')}: ↑{' '} + {SizeFormatter.sizeFormat(history!.currentUp)} / ↓{' '} + {SizeFormatter.sizeFormat(history!.currentDown)} +
+
+ {history!.nodes.length > 0 && ( +
+ + {t('pages.clients.usageByNode')} + + + + )} + {history!.windows.length > 0 && ( +
+ + {t('pages.clients.pastCycles')} + +
+
+ + + )} + {history!.changes.length > 0 && ( +
+ + {t('pages.clients.changes')} + +
+
+ + + )} + + )} + + ); +} diff --git a/frontend/src/components/command-palette/CommandPalette.tsx b/frontend/src/components/command-palette/CommandPalette.tsx index ca8505520..5bf820c10 100644 --- a/frontend/src/components/command-palette/CommandPalette.tsx +++ b/frontend/src/components/command-palette/CommandPalette.tsx @@ -14,6 +14,7 @@ import { CopyOutlined, DashboardOutlined, DatabaseOutlined, + DesktopOutlined, DiscordOutlined, ExportOutlined, FileTextOutlined, @@ -36,7 +37,7 @@ import { ClipboardManager, HttpUtil, SizeFormatter } from '@/utils'; import { activateOnKey } from '@/utils/a11y'; import { useInboundOptions } from '@/api/queries/useInboundOptions'; import { useAllSettings } from '@/api/queries/useAllSettings'; -import { useTheme } from '@/hooks/useTheme'; +import { themeModeKey, useTheme } from '@/hooks/useTheme'; import { PANEL_ROUTES } from '@/routes/panelRoutes'; import type { ClientRecord, InboundOption } from '@/schemas/client'; import { commandPaletteStore, useCommandPalette } from './useCommandPalette'; @@ -90,7 +91,7 @@ export default function CommandPalette() { const { t } = useTranslation(); const [messageApi, messageContextHolder] = message.useMessage(); const navigate = useNavigate(); - const { isDark, isUltra, toggleTheme, toggleUltra, antdThemeConfig } = useTheme(); + const { mode, isDark, isUltra, cycleTheme: advanceTheme, antdThemeConfig } = useTheme(); const { isOpen, close } = useCommandPalette(); const { allSetting } = useAllSettings(); const { data: inbounds = [] } = useInboundOptions(); @@ -240,17 +241,9 @@ export default function CommandPalette() { }, [close, messageApi, t]); const cycleTheme = useCallback(() => { - if (!isDark) { - toggleTheme(); - if (isUltra) toggleUltra(); - } else if (!isUltra) { - toggleUltra(); - } else { - toggleUltra(); - toggleTheme(); - } + advanceTheme(); close(); - }, [isDark, isUltra, toggleTheme, toggleUltra, close]); + }, [advanceTheme, close]); const trimmedQuery = query.trim(); const isDebouncing = isOpen && trimmedQuery.length > 0 && trimmedQuery !== debouncedQuery; @@ -551,9 +544,16 @@ export default function CommandPalette() { id: 'act-cycle-theme', category: 'actions', title: t('menu.theme'), - subtitle: isUltra ? 'Ultra Dark' : isDark ? 'Dark' : 'Light', - keywords: ['theme', 'light', 'dark', 'ultra'], - icon: isDark ? : , + subtitle: t(themeModeKey(mode, isUltra)), + keywords: ['theme', 'light', 'dark', 'ultra', 'system', 'auto'], + icon: + mode === 'system' ? ( + + ) : isDark ? ( + + ) : ( + + ), action: cycleTheme, }, { @@ -589,6 +589,7 @@ export default function CommandPalette() { query, clientSearch, inbounds, + mode, isDark, isUltra, allSetting.subURI, diff --git a/frontend/src/components/form/NativeSelect.css b/frontend/src/components/form/NativeSelect.css new file mode 100644 index 000000000..7d1d00b48 --- /dev/null +++ b/frontend/src/components/form/NativeSelect.css @@ -0,0 +1,14 @@ +.native-select { + padding-inline: 11px; + font-family: inherit; + cursor: pointer; +} + +.native-select:focus-visible { + outline: 2px solid currentColor; + outline-offset: 2px; +} + +.native-select:disabled { + cursor: not-allowed; +} diff --git a/frontend/src/components/form/NativeSelect.stories.tsx b/frontend/src/components/form/NativeSelect.stories.tsx new file mode 100644 index 000000000..cfe0eca95 --- /dev/null +++ b/frontend/src/components/form/NativeSelect.stories.tsx @@ -0,0 +1,67 @@ +import { useState } from 'react'; +import type { Meta, StoryObj } from '@storybook/react-vite'; +import { expect, within } from 'storybook/test'; + +import { NativeSelect } from './NativeSelect'; + +const meta = { + title: 'Form/NativeSelect', + component: NativeSelect, + tags: ['autodocs'], + parameters: { + docs: { + description: { + component: + 'Native single selection for short, fixed lists. Labels, values, keyboard interaction and the mobile picker belong to the browser. Index keys keep number and string values distinct in onChange; searchable, clearable and multi-select fields continue using Ant Design.', + }, + }, + }, + argTypes: { + options: { + description: 'Ordered labels, typed string/number values and optional disabled choices.', + }, + value: { + description: 'Controlled form value. Saved values absent from the list remain visible.', + }, + onChange: { + description: 'Receives the original typed option value for RHF or Ant Design Form.', + }, + placeholder: { description: 'Shown until the form has a value.' }, + disabled: { + description: 'Uses native disabled behavior and preserves the controlled form value.', + }, + size: { + description: 'Ant Design token size, without turning the control into a multi-row listbox.', + }, + }, + args: { + 'aria-label': 'Protocol', + options: [ + { value: 'vless', label: 'VLESS' }, + { value: 'shadowsocks', label: 'Shadowsocks' }, + { value: 'tuic', label: 'TUIC', disabled: true }, + ], + }, +} satisfies Meta; +export default meta; +type Story = StoryObj; + +export const SingleSelection: Story = { + render: function Render(args) { + const [value, setValue] = useState('vless'); + return ; + }, + play: async ({ canvas, userEvent }) => { + const select = canvas.getByRole('combobox', { name: 'Protocol' }); + await expect(select).toHaveDisplayValue('VLESS'); + await userEvent.selectOptions( + select, + within(select).getByRole('option', { name: 'Shadowsocks' }), + ); + await expect(select).toHaveDisplayValue('Shadowsocks'); + await expect(within(select).getByRole('option', { name: 'Shadowsocks' })).toHaveProperty( + 'selected', + true, + ); + }, +}; diff --git a/frontend/src/components/form/NativeSelect.tsx b/frontend/src/components/form/NativeSelect.tsx new file mode 100644 index 000000000..52307a299 --- /dev/null +++ b/frontend/src/components/form/NativeSelect.tsx @@ -0,0 +1,70 @@ +import type { ComponentPropsWithRef } from 'react'; +import { theme } from 'antd'; + +import './NativeSelect.css'; + +export interface NativeSelectProps extends Omit< + ComponentPropsWithRef<'select'>, + 'value' | 'defaultValue' | 'onChange' | 'multiple' | 'children' | 'size' +> { + value?: Value | null; + onChange?: (value: Value) => void; + options: readonly { value: Value; label: string | number; disabled?: boolean }[]; + placeholder?: string; + size?: 'small' | 'middle' | 'large'; +} + +export function NativeSelect({ + value, + options, + onChange, + placeholder, + disabled, + className, + style, + size, + ...props +}: NativeSelectProps) { + const { token } = theme.useToken(); + const selected = options.findIndex((option) => Object.is(option.value, value)); + const hasUnlistedValue = selected < 0 && value != null; + return ( + + ); +} diff --git a/frontend/src/components/form/rhf/FormField.stories.tsx b/frontend/src/components/form/rhf/FormField.stories.tsx index 37541574b..5bf09ca2c 100644 --- a/frontend/src/components/form/rhf/FormField.stories.tsx +++ b/frontend/src/components/form/rhf/FormField.stories.tsx @@ -221,6 +221,9 @@ export const ValidationErrors: Story = { play: async ({ canvas, userEvent }) => { const remarkError = await canvas.findByText('Remark is required'); await waitFor(() => expect(remarkError).toBeVisible()); + await expect(canvas.getByRole('textbox', { name: 'Remark' })).toHaveAccessibleDescription( + 'Remark is required', + ); await waitFor(() => expect(canvas.getByText('Port must be between 1 and 65535')).toBeVisible()); await userEvent.type(canvas.getByPlaceholderText('vless-reality-443'), 'vless-reality-443'); await userEvent.click(canvas.getByRole('button', { name: 'Validate' })); diff --git a/frontend/src/components/form/rhf/FormField.tsx b/frontend/src/components/form/rhf/FormField.tsx index aeca5064c..db04469a9 100644 --- a/frontend/src/components/form/rhf/FormField.tsx +++ b/frontend/src/components/form/rhf/FormField.tsx @@ -1,5 +1,5 @@ import { cloneElement, useId } from 'react'; -import type { CSSProperties, ReactElement, ReactNode } from 'react'; +import type { AriaAttributes, CSSProperties, ReactElement, ReactNode } from 'react'; import { Controller } from 'react-hook-form'; import type { Control, ControllerProps, FieldValues, Path } from 'react-hook-form'; import { Form } from 'antd'; @@ -50,12 +50,10 @@ export function FormField({ const dottedName = toDotted(name) as Path; const generatedId = useId(); const hintId = useId(); - const childOwnProps = (children as ReactElement<{ id?: string; 'aria-describedby'?: string }>) - .props; + const errorId = `${generatedId}-error`; + const extraId = `${generatedId}-extra`; + const childOwnProps = (children as ReactElement<{ id?: string } & AriaAttributes>).props; const fieldId = childOwnProps.id ?? generatedId; - const describedBy = tooltip - ? [childOwnProps['aria-describedby'], hintId].filter(Boolean).join(' ') - : undefined; return ( ({ const help = fieldState.error?.message ? t(fieldState.error.message, { defaultValue: fieldState.error.message }) : undefined; + const describedBy = + [childOwnProps['aria-describedby'], tooltip && hintId, extra && extraId, help && errorId] + .filter(Boolean) + .join(' ') || undefined; const childProps: Record = { id: fieldId, + 'aria-describedby': describedBy, + 'aria-invalid': fieldState.invalid || childOwnProps['aria-invalid'], [valueProp]: displayValue, onChange: (...args: unknown[]) => { const raw = normalizeAntdOnChange(args, valueProp); @@ -79,16 +83,15 @@ export function FormField({ onBlur: field.onBlur, ref: field.ref, }; - if (describedBy) childProps['aria-describedby'] = describedBy; return ( {extra} : extra} required={required} validateStatus={fieldState.error ? 'error' : undefined} - help={help} + help={help ? {help} : undefined} noStyle={noStyle} className={className} style={style} diff --git a/frontend/src/components/form/rhf/index.ts b/frontend/src/components/form/rhf/index.ts index f59bb1a4f..28b8b2b0a 100644 --- a/frontend/src/components/form/rhf/index.ts +++ b/frontend/src/components/form/rhf/index.ts @@ -1,4 +1,4 @@ export { FormField, type FormFieldProps } from './FormField'; -export { rhfZodValidate } from './rhfZodValidate'; +export { rhfZodValidate, rhfZodValidateAsync } from './rhfZodValidate'; export { normalizeAntdOnChange, type ValueProp } from './normalizeAntdOnChange'; export { toDotted, type FieldName } from './toDotted'; diff --git a/frontend/src/components/form/rhf/rhfZodValidate.ts b/frontend/src/components/form/rhf/rhfZodValidate.ts index add87f9e8..72fc6c69c 100644 --- a/frontend/src/components/form/rhf/rhfZodValidate.ts +++ b/frontend/src/components/form/rhf/rhfZodValidate.ts @@ -7,3 +7,11 @@ export function rhfZodValidate(schema: S) { return result.error.issues[0]?.message ?? 'validation.invalid'; }; } + +export function rhfZodValidateAsync(schema: S) { + return async (value: unknown): Promise => { + const result = await schema.safeParseAsync(value); + if (result.success) return true; + return result.error.issues[0]?.message ?? 'validation.invalid'; + }; +} diff --git a/frontend/src/components/ui/notifications/WechatNotifications.stories.tsx b/frontend/src/components/ui/notifications/WechatNotifications.stories.tsx new file mode 100644 index 000000000..6fbb96352 --- /dev/null +++ b/frontend/src/components/ui/notifications/WechatNotifications.stories.tsx @@ -0,0 +1,96 @@ +import { useState } from 'react'; +import type { Meta, StoryObj } from '@storybook/react-vite'; + +import { AllSetting } from '@/models/setting'; +import { WechatNotifications } from './WechatNotifications'; + +const meta = { + title: 'UI/Notifications/WechatNotifications', + component: WechatNotifications, + tags: ['autodocs'], + parameters: { + layout: 'padded', + docs: { + description: { + component: + 'Grid of grouped event checkboxes on the settings page that picks which panel events (outbound/node health, Xray crashes, CPU/RAM thresholds, login attempts) trigger a WeChat notification, stored as a comma-separated list in wechatEnabledEvents.', + }, + }, + }, + argTypes: { + allSetting: { + description: + 'Panel settings snapshot; wechatEnabledEvents holds the selected event keys and wechatCpu/wechatMemory the alert threshold percentages.', + }, + updateSetting: { + description: + 'Receives a partial settings patch when an event is toggled or a threshold input changes.', + }, + }, +} satisfies Meta; + +export default meta; + +type Story = StoryObj; + +function StatefulDemo({ initial }: { initial: AllSetting }) { + const [settings, setSettings] = useState(initial); + return ( + setSettings((prev) => new AllSetting({ ...prev, ...patch }))} + /> + ); +} + +const placeholderArgs = { + allSetting: new AllSetting(), + updateSetting: () => undefined, +}; + +export const NothingSelected: Story = { + args: placeholderArgs, + render: () => , +}; + +export const SystemThresholdAlerts: Story = { + args: placeholderArgs, + render: () => ( + + ), +}; + +export const InfrastructureOnly: Story = { + args: placeholderArgs, + render: () => ( + + ), +}; + +export const AllEventsEnabled: Story = { + args: placeholderArgs, + render: () => ( + + ), +}; diff --git a/frontend/src/components/ui/notifications/WechatNotifications.tsx b/frontend/src/components/ui/notifications/WechatNotifications.tsx new file mode 100644 index 000000000..b56dd957e --- /dev/null +++ b/frontend/src/components/ui/notifications/WechatNotifications.tsx @@ -0,0 +1,160 @@ +import { InputNumber } from 'antd'; +import { + CloudServerOutlined, + ThunderboltOutlined, + DesktopOutlined, + DashboardOutlined, + SafetyOutlined, +} from '@ant-design/icons'; +import type { AllSetting } from '@/models/setting'; +import { onNumber } from '@/utils/onNumber'; +import { NotificationLayout } from './NotificationLayout'; +import { NotificationGroup } from './NotificationGroup'; +import type { NotificationGroupConfig } from './types'; + +const GROUPS: NotificationGroupConfig[] = [ + { + icon: , + title: 'eventGroupOutbound', + events: [ + { + key: 'outbound.down', + label: 'eventOutboundDown', + settingKey: 'outboundDownThreshold', + hint: 'eventDownThresholdHint', + extra: ({ value, onChange, ariaLabel }) => ( + onChange(Math.round(next)))} + aria-label={ariaLabel} + style={{ width: 80 }} + /> + ), + }, + { key: 'outbound.up', label: 'eventOutboundUp', settingKey: '' }, + ], + }, + { + icon: , + title: 'eventGroupXray', + events: [{ key: 'xray.crash', label: 'eventXrayCrash', settingKey: '' }], + }, + { + icon: , + title: 'eventGroupNode', + events: [ + { + key: 'node.down', + label: 'eventNodeDown', + settingKey: 'nodeDownThreshold', + hint: 'eventDownThresholdHint', + extra: ({ value, onChange, ariaLabel }) => ( + onChange(Math.round(next)))} + aria-label={ariaLabel} + style={{ width: 80 }} + /> + ), + }, + { key: 'node.up', label: 'eventNodeUp', settingKey: '' }, + ], + }, + { + icon: , + title: 'eventGroupSystem', + events: [ + { + key: 'cpu.high', + label: 'eventCPUHigh', + settingKey: 'wechatCpu', + extra: ({ value, onChange, ariaLabel }) => ( + onChange(Math.round(next)))} + aria-label={ariaLabel} + style={{ width: 80 }} + /> + ), + }, + { + key: 'memory.high', + label: 'eventMemoryHigh', + settingKey: 'wechatMemory', + extra: ({ value, onChange, ariaLabel }) => ( + onChange(Math.round(next)))} + aria-label={ariaLabel} + style={{ width: 80 }} + /> + ), + }, + ], + }, + { + icon: , + title: 'eventGroupSecurity', + events: [{ key: 'login.attempt', label: 'eventLoginAttempt', settingKey: '' }], + }, +]; + +interface Props { + allSetting: AllSetting; + updateSetting: (patch: Partial) => void; +} + +export function WechatNotifications({ allSetting, updateSetting }: Props) { + const events = allSetting.wechatEnabledEvents || ''; + const selected = events + ? events + .split(',') + .map((s) => s.trim()) + .filter(Boolean) + : []; + + function toggle(key: string) { + const next = selected.includes(key) ? selected.filter((e) => e !== key) : [...selected, key]; + updateSetting({ wechatEnabledEvents: next.join(',') }); + } + + function toggleAll(keys: string[]) { + const allSelected = keys.every((v) => selected.includes(v)); + const next = allSelected + ? selected.filter((v) => !keys.includes(v)) + : [...new Set([...selected, ...keys])]; + updateSetting({ wechatEnabledEvents: next.join(',') }); + } + + return ( + + {GROUPS.map((group, i) => ( + + ))} + + ); +} diff --git a/frontend/src/env.d.ts b/frontend/src/env.d.ts index 6aff7f8be..441eef46b 100644 --- a/frontend/src/env.d.ts +++ b/frontend/src/env.d.ts @@ -14,11 +14,13 @@ interface SubPageData { subUrl?: string; subJsonUrl?: string; subClashUrl?: string; + subFormat?: 'raw' | 'json' | 'clash'; subTitle?: string; subSupportUrl?: string; subUpdates?: number; links?: string[]; emails?: string[]; + linkRemarks?: string[]; datepicker?: 'gregorian' | 'jalalian'; announce?: string; downloadByte?: string | number; diff --git a/frontend/src/generated/examples.ts b/frontend/src/generated/examples.ts index 384de907c..1c7b6c620 100644 --- a/frontend/src/generated/examples.ts +++ b/frontend/src/generated/examples.ts @@ -39,10 +39,17 @@ export const EXAMPLES: Record = { "ldapUserAttr": "", "ldapUserFilter": "", "ldapVlessField": "", + "mcpEnable": false, + "networkTrafficInterface": "eth0", + "networkTrafficMode": "legacy", "nodeDownThreshold": 1, "outboundDownThreshold": 1, "pageSize": 0, "panelOutbound": "", + "publicIpRefreshMinutes": 0, + "publicIpv4Override": "", + "publicIpv6Detect": false, + "publicIpv6Override": "", "realityScanCandidates": "", "remarkTemplate": "", "restartXrayOnClientDisable": false, @@ -101,6 +108,7 @@ export const EXAMPLES: Record = { "subHappTunType": "", "subHideSettings": false, "subHostSortMode": "inbound-first", + "subHwidRejectWithConfig": false, "subIncyAnnounceUrl": "", "subIncyAppAutoDetect": false, "subIncyBannerBgColor": "", @@ -150,6 +158,8 @@ export const EXAMPLES: Record = { "subPort": 1, "subProfileMode": "", "subProfileUrl": "", + "subRateLimit": 1, + "subRateLimitEnable": false, "subRoutingRules": "", "subShowIdentityOnAllLinks": false, "subSupportUrl": "", @@ -180,7 +190,17 @@ export const EXAMPLES: Record = { "webDomain": "", "webKeyFile": "", "webListen": "", - "webPort": 1 + "webPort": 1, + "wechatCpu": 0, + "wechatEnable": false, + "wechatEnabledEvents": "", + "wechatLang": "", + "wechatMemory": 0, + "wechatMode": "", + "wechatReportEnable": false, + "wechatRunTime": "", + "wechatToken": "", + "wechatWebhookURL": "" }, "AllSettingView": { "datepicker": "", @@ -207,6 +227,8 @@ export const EXAMPLES: Record = { "hasTgBotToken": false, "hasTwoFactorToken": false, "hasWarpSecret": false, + "hasWechatToken": false, + "hasWechatWebhookURL": false, "ipLimitAllowlist": "", "ldapAutoCreate": false, "ldapAutoDelete": false, @@ -229,10 +251,17 @@ export const EXAMPLES: Record = { "ldapUserAttr": "", "ldapUserFilter": "", "ldapVlessField": "", + "mcpEnable": false, + "networkTrafficInterface": "eth0", + "networkTrafficMode": "legacy", "nodeDownThreshold": 1, "outboundDownThreshold": 1, "pageSize": 0, "panelOutbound": "", + "publicIpRefreshMinutes": 0, + "publicIpv4Override": "", + "publicIpv6Detect": false, + "publicIpv6Override": "", "realityScanCandidates": "", "remarkTemplate": "", "restartXrayOnClientDisable": false, @@ -291,6 +320,7 @@ export const EXAMPLES: Record = { "subHappTunType": "", "subHideSettings": false, "subHostSortMode": "inbound-first", + "subHwidRejectWithConfig": false, "subIncyAnnounceUrl": "", "subIncyAppAutoDetect": false, "subIncyBannerBgColor": "", @@ -340,6 +370,8 @@ export const EXAMPLES: Record = { "subPort": 1, "subProfileMode": "", "subProfileUrl": "", + "subRateLimit": 1, + "subRateLimitEnable": false, "subRoutingRules": "", "subShowIdentityOnAllLinks": false, "subSupportUrl": "", @@ -370,7 +402,17 @@ export const EXAMPLES: Record = { "webDomain": "", "webKeyFile": "", "webListen": "", - "webPort": 1 + "webPort": 1, + "wechatCpu": 0, + "wechatEnable": false, + "wechatEnabledEvents": "", + "wechatLang": "", + "wechatMemory": 0, + "wechatMode": "", + "wechatReportEnable": false, + "wechatRunTime": "", + "wechatToken": "", + "wechatWebhookURL": "" }, "AmneziaWGLogs": { "events": [ @@ -410,10 +452,64 @@ export const EXAMPLES: Record = { "scope": "admin", "token": "new-token-string" }, + "AttachCandidate": { + "alreadyAttached": false, + "comment": "Example client", + "email": "alice@example.test", + "enable": true, + "group": "staff", + "id": 1, + "inScope": true + }, + "AttachCandidatePage": { + "eligible": 118, + "groups": [ + "staff" + ], + "items": [ + { + "alreadyAttached": false, + "comment": "Example client", + "email": "alice@example.test", + "enable": true, + "group": "staff", + "id": 1, + "inScope": true + } + ], + "maxId": 0, + "scopeToken": "", + "total": 120 + }, + "AttachJobStatus": { + "ended": "2025-01-01T00:00:00Z", + "error": "", + "result": null, + "running": false + }, + "AttachSelectionResult": { + "attached": 9997, + "errors": 0, + "skipped": 0 + }, "Blocker": { "code": "tools", "detail": "awg" }, + "BulkAdjustReport": { + "email": "carol", + "reason": "client not found" + }, + "BulkAdjustResult": { + "adjusted": 2, + "externalLinks": null, + "skipped": [] + }, + "BulkExternalLinksResult": { + "added": 4, + "errors": 0, + "skipped": 0 + }, "Client": { "adTag": "0123456789abcdef0123456789abcdef", "allowedIPs": [ @@ -452,7 +548,30 @@ export const EXAMPLES: Record = { "totalGB": 0, "trafficReset": "never", "trafficResetDay": 1, - "updated_at": 0 + "updated_at": 0, + "wgDeviceLimit": 0, + "wireguardDevices": [ + { + "allowedIPs": [ + "" + ], + "enable": false, + "id": "", + "name": "", + "preSharedKey": "", + "privateKey": "", + "publicKey": "" + } + ] + }, + "ClientChangeLog": { + "at": 1735689600000, + "email": "user1@example.com", + "field": "dataLimit", + "id": 14825, + "newValue": "21474836480", + "oldValue": "10737418240", + "source": "panel" }, "ClientInbound": { "clientId": 0, @@ -460,6 +579,12 @@ export const EXAMPLES: Record = { "flowOverride": "", "inboundId": 0 }, + "ClientNodeUsage": { + "down": 2097152, + "nodeId": 7, + "nodeName": "de-fra-1", + "up": 1048576 + }, "ClientPageResponse": { "filtered": 47, "groups": [ @@ -547,7 +672,21 @@ export const EXAMPLES: Record = { "trafficReset": "", "trafficResetDay": 0, "updatedAt": 0, - "uuid": "" + "uuid": "", + "wgDeviceLimit": 0, + "wireguardDevices": [ + { + "allowedIPs": [ + "" + ], + "enable": false, + "id": "", + "name": "", + "preSharedKey": "", + "privateKey": "", + "publicKey": "" + } + ] }, "ClientRenewalPreview": { "canRenew": true, @@ -612,6 +751,50 @@ export const EXAMPLES: Record = { "up": 1048576, "uuid": "e18c9a96-71bf-48d4-933f-8b9a46d4290c" }, + "ClientTrafficWindow": { + "at": 1735689600000, + "down": 2097152, + "email": "user1@example.com", + "id": 14825, + "reason": "reset", + "up": 1048576 + }, + "ClientUsageHistory": { + "changes": [ + { + "at": 1735689600000, + "email": "user1@example.com", + "field": "dataLimit", + "id": 14825, + "newValue": "21474836480", + "oldValue": "10737418240", + "source": "panel" + } + ], + "currentDown": 2097152, + "currentUp": 1048576, + "email": "user1@example.com", + "lifetimeDown": 21474836480, + "lifetimeUp": 10737418240, + "nodes": [ + { + "down": 2097152, + "nodeId": 7, + "nodeName": "de-fra-1", + "up": 1048576 + } + ], + "windows": [ + { + "at": 1735689600000, + "down": 2097152, + "email": "user1@example.com", + "id": 14825, + "reason": "reset", + "up": 1048576 + } + ] + }, "ClientsSummary": { "active": 1850, "deactive": [ @@ -628,6 +811,14 @@ export const EXAMPLES: Record = { "onlineCount": 1, "total": 2000 }, + "ExternalLinkInput": { + "enable": true, + "expiryTime": 0, + "kind": "link", + "namePrefix": "", + "remark": "Backup", + "value": "vless://uuid@example.com:443" + }, "FallbackParentInfo": { "masterId": 0, "path": "" @@ -833,6 +1024,7 @@ export const EXAMPLES: Record = { "nodeId": null, "originNodeGuid": "", "port": 443, + "preserveClientTraffic": null, "protocol": "vless", "remark": "VLESS-443", "settings": null, @@ -915,6 +1107,26 @@ export const EXAMPLES: Record = { "obj": null, "success": false }, + "NetworkInterfaceOption": { + "name": "eth0", + "up": true + }, + "NetworkInterfacesResponse": { + "automatic": "eth0", + "automaticError": "", + "interfaces": [ + { + "name": "eth0", + "up": true + } + ] + }, + "NetworkTrafficSelection": { + "available": true, + "error": "", + "mode": "manual", + "name": "eth0" + }, "NewUUIDResponse": { "uuid": "550e8400-e29b-41d4-a716-446655440000" }, @@ -946,6 +1158,7 @@ export const EXAMPLES: Record = { "netDown": 2097152, "netUp": 1048576, "onlineCount": 3, + "onlineTotalCount": 7, "outboundTag": "", "panelVersion": "v3.x.x", "parentGuid": "", @@ -1014,6 +1227,7 @@ export const EXAMPLES: Record = { "netDown": 1048576, "netUp": 2097152, "onlineCount": 5, + "onlineTotalCount": 9, "outboundTag": "direct", "panelVersion": "v3.x.x", "parentGuid": "", @@ -1040,6 +1254,12 @@ export const EXAMPLES: Record = { "total": 0, "up": 0 }, + "PanelRestart": { + "nextPort": 2053, + "nextTls": false, + "port": 2053, + "tls": false + }, "PanelUpdateStatus": { "exitCode": 0, "finishedAt": 1735689612, @@ -1108,6 +1328,42 @@ export const EXAMPLES: Record = { "tlsVersion": "1.3", "x25519": true }, + "RealityWatchEntry": { + "auto": true, + "spares": [ + "www.example.com:443" + ] + }, + "RealityWatchEvent": { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + }, + "RealityWatchStatus": { + "auto": true, + "checkedAt": 1793000000, + "events": [ + { + "at": 1793000000, + "from": "old.example.com:443", + "reason": "TLS handshake failed: EOF", + "to": "www.example.com:443" + } + ], + "fails": 0, + "inboundId": 3, + "latencyMs": 180, + "ok": true, + "reason": "", + "serverNames": [ + "old.example.com" + ], + "spares": [ + "www.example.com:443" + ], + "target": "old.example.com:443" + }, "ServerSettings": { "contentPaddingAddition": "", "disableCookies": false, @@ -1186,6 +1442,36 @@ export const EXAMPLES: Record = { } ] }, + "Status": { + "amneziawg": null, + "appStats": null, + "cpu": 0, + "cpuCores": 0, + "cpuSpeedMhz": 0, + "disk": null, + "diskIO": null, + "diskTraffic": null, + "loads": [ + 0 + ], + "logicalPro": 0, + "mem": null, + "netIO": null, + "netTraffic": null, + "networkInterface": null, + "panelGuid": "", + "panelVersion": "", + "publicIP": null, + "resourceScope": "", + "swap": null, + "tcpCount": 0, + "udpCount": 0, + "unavailableMetrics": [ + "" + ], + "uptime": 0, + "xray": null + }, "SubBalancer": { "createdAt": 1710000000000, "enabled": true, @@ -1200,6 +1486,38 @@ export const EXAMPLES: Record = { "strategy": "random", "updatedAt": 1710000000000 }, + "SubBalancerProblem": { + "code": "unknown_inbound", + "detail": "amneziawg", + "inboundIds": [ + 7, + 9 + ] + }, + "SubBalancerWithProblems": { + "createdAt": 1710000000000, + "enabled": true, + "id": 1, + "inboundIds": [ + 1, + 3 + ], + "memberWeights": {}, + "problems": [ + { + "code": "unknown_inbound", + "detail": "amneziawg", + "inboundIds": [ + 7, + 9 + ] + } + ], + "remark": "auto-fastest", + "sortOrder": 1, + "strategy": "random", + "updatedAt": 1710000000000 + }, "TgBotCapabilities": { "groupPrivacy": false, "inlineEnabled": true, @@ -1237,5 +1555,16 @@ export const EXAMPLES: Record = { "id": 0, "password": "", "username": "" + }, + "WireguardDevice": { + "allowedIPs": [ + "" + ], + "enable": false, + "id": "", + "name": "", + "preSharedKey": "", + "privateKey": "", + "publicKey": "" } }; diff --git a/frontend/src/generated/schemas.ts b/frontend/src/generated/schemas.ts index 479ec9fdb..bd97abbdc 100644 --- a/frontend/src/generated/schemas.ts +++ b/frontend/src/generated/schemas.ts @@ -126,6 +126,22 @@ export const SCHEMAS: Record = { "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -144,6 +160,21 @@ export const SCHEMAS: Record = { "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -328,6 +359,9 @@ export const SCHEMAS: Record = { "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -478,6 +512,14 @@ export const SCHEMAS: Record = { "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -581,6 +623,40 @@ export const SCHEMAS: Record = { "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -622,10 +698,17 @@ export const SCHEMAS: Record = { "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -684,6 +767,7 @@ export const SCHEMAS: Record = { "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -733,6 +817,8 @@ export const SCHEMAS: Record = { "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -763,7 +849,17 @@ export const SCHEMAS: Record = { "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -846,6 +942,12 @@ export const SCHEMAS: Record = { "hasWarpSecret": { "type": "boolean" }, + "hasWechatToken": { + "type": "boolean" + }, + "hasWechatWebhookURL": { + "type": "boolean" + }, "ipLimitAllowlist": { "type": "string" }, @@ -917,6 +1019,22 @@ export const SCHEMAS: Record = { "ldapVlessField": { "type": "string" }, + "mcpEnable": { + "type": "boolean" + }, + "networkTrafficInterface": { + "example": "eth0", + "type": "string" + }, + "networkTrafficMode": { + "enum": [ + "legacy", + "auto", + "manual" + ], + "example": "legacy", + "type": "string" + }, "nodeDownThreshold": { "maximum": 100, "minimum": 1, @@ -935,6 +1053,21 @@ export const SCHEMAS: Record = { "panelOutbound": { "type": "string" }, + "publicIpRefreshMinutes": { + "description": "0 stops refreshing the detected public IP after the first success.", + "maximum": 10080, + "minimum": 0, + "type": "integer" + }, + "publicIpv4Override": { + "type": "string" + }, + "publicIpv6Detect": { + "type": "boolean" + }, + "publicIpv6Override": { + "type": "string" + }, "realityScanCandidates": { "type": "string" }, @@ -1119,6 +1252,9 @@ export const SCHEMAS: Record = { "example": "inbound-first", "type": "string" }, + "subHwidRejectWithConfig": { + "type": "boolean" + }, "subIncyAnnounceUrl": { "type": "string" }, @@ -1269,6 +1405,14 @@ export const SCHEMAS: Record = { "subProfileUrl": { "type": "string" }, + "subRateLimit": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + "subRateLimitEnable": { + "type": "boolean" + }, "subRoutingRules": { "type": "string" }, @@ -1372,6 +1516,40 @@ export const SCHEMAS: Record = { "maximum": 65535, "minimum": 1, "type": "integer" + }, + "wechatCpu": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatEnable": { + "type": "boolean" + }, + "wechatEnabledEvents": { + "type": "string" + }, + "wechatLang": { + "type": "string" + }, + "wechatMemory": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "wechatMode": { + "type": "string" + }, + "wechatReportEnable": { + "type": "boolean" + }, + "wechatRunTime": { + "type": "string" + }, + "wechatToken": { + "type": "string" + }, + "wechatWebhookURL": { + "type": "string" } }, "required": [ @@ -1399,6 +1577,8 @@ export const SCHEMAS: Record = { "hasTgBotToken", "hasTwoFactorToken", "hasWarpSecret", + "hasWechatToken", + "hasWechatWebhookURL", "ipLimitAllowlist", "ldapAutoCreate", "ldapAutoDelete", @@ -1421,10 +1601,17 @@ export const SCHEMAS: Record = { "ldapUserAttr", "ldapUserFilter", "ldapVlessField", + "mcpEnable", + "networkTrafficInterface", + "networkTrafficMode", "nodeDownThreshold", "outboundDownThreshold", "pageSize", "panelOutbound", + "publicIpRefreshMinutes", + "publicIpv4Override", + "publicIpv6Detect", + "publicIpv6Override", "realityScanCandidates", "remarkTemplate", "restartXrayOnClientDisable", @@ -1483,6 +1670,7 @@ export const SCHEMAS: Record = { "subHappTunType", "subHideSettings", "subHostSortMode", + "subHwidRejectWithConfig", "subIncyAnnounceUrl", "subIncyAppAutoDetect", "subIncyBannerBgColor", @@ -1532,6 +1720,8 @@ export const SCHEMAS: Record = { "subPort", "subProfileMode", "subProfileUrl", + "subRateLimit", + "subRateLimitEnable", "subRoutingRules", "subShowIdentityOnAllLinks", "subSupportUrl", @@ -1562,7 +1752,17 @@ export const SCHEMAS: Record = { "webDomain", "webKeyFile", "webListen", - "webPort" + "webPort", + "wechatCpu", + "wechatEnable", + "wechatEnabledEvents", + "wechatLang", + "wechatMemory", + "wechatMode", + "wechatReportEnable", + "wechatRunTime", + "wechatToken", + "wechatWebhookURL" ], "type": "object" }, @@ -1677,6 +1877,140 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "AttachCandidate": { + "properties": { + "alreadyAttached": { + "example": false, + "type": "boolean" + }, + "comment": { + "example": "Example client", + "type": "string" + }, + "email": { + "example": "alice@example.test", + "type": "string" + }, + "enable": { + "example": true, + "type": "boolean" + }, + "group": { + "example": "staff", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inScope": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "alreadyAttached", + "comment", + "email", + "enable", + "group", + "id", + "inScope" + ], + "type": "object" + }, + "AttachCandidatePage": { + "properties": { + "eligible": { + "example": 118, + "format": "int64", + "type": "integer" + }, + "groups": { + "example": [ + "staff" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "items": { + "items": { + "$ref": "#/components/schemas/AttachCandidate" + }, + "type": "array" + }, + "maxId": { + "type": "integer" + }, + "scopeToken": { + "type": "string" + }, + "total": { + "example": 120, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "eligible", + "groups", + "items", + "total" + ], + "type": "object" + }, + "AttachJobStatus": { + "properties": { + "ended": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "result": { + "allOf": [ + { + "$ref": "#/components/schemas/AttachSelectionResult" + } + ], + "nullable": true + }, + "running": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "ended", + "running" + ], + "type": "object" + }, + "AttachSelectionResult": { + "properties": { + "attached": { + "example": 9997, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "attached", + "errors", + "skipped" + ], + "type": "object" + }, "Blocker": { "description": "Blocker is one unmet requirement.", "properties": { @@ -1694,6 +2028,73 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "BulkAdjustReport": { + "properties": { + "email": { + "example": "carol", + "type": "string" + }, + "reason": { + "example": "client not found", + "type": "string" + } + }, + "required": [ + "email", + "reason" + ], + "type": "object" + }, + "BulkAdjustResult": { + "description": "BulkAdjustResult reports changed clients and per-client skip reasons.\nExternalLinks contains row counts only for append requests.", + "properties": { + "adjusted": { + "example": 2, + "type": "integer" + }, + "externalLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/BulkExternalLinksResult" + } + ], + "nullable": true + }, + "skipped": { + "example": [], + "items": { + "$ref": "#/components/schemas/BulkAdjustReport" + }, + "type": "array" + } + }, + "required": [ + "adjusted" + ], + "type": "object" + }, + "BulkExternalLinksResult": { + "properties": { + "added": { + "example": 4, + "type": "integer" + }, + "errors": { + "example": 0, + "type": "integer" + }, + "skipped": { + "example": 0, + "type": "integer" + } + }, + "required": [ + "added", + "errors", + "skipped" + ], + "type": "object" + }, "Client": { "description": "Client represents a client configuration for Xray inbounds with traffic limits and settings.", "properties": { @@ -1866,6 +2267,15 @@ export const SCHEMAS: Record = { "description": "Last update timestamp", "format": "int64", "type": "integer" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -1885,6 +2295,52 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "ClientChangeLog": { + "description": "ClientChangeLog records one metadata change to a client: one row per\nchanged field, newest read first in the client's usage history.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "field": { + "example": "dataLimit", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "newValue": { + "example": "21474836480", + "type": "string" + }, + "oldValue": { + "example": "10737418240", + "type": "string" + }, + "source": { + "description": "panel | tgbot | auto-renew", + "example": "panel", + "type": "string" + } + }, + "required": [ + "at", + "email", + "field", + "id", + "newValue", + "oldValue", + "source" + ], + "type": "object" + }, "ClientInbound": { "properties": { "clientId": { @@ -1909,6 +2365,36 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "ClientNodeUsage": { + "description": "ClientNodeUsage is one node's counters for a client since its last reset.", + "properties": { + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "nodeId": { + "example": 7, + "type": "integer" + }, + "nodeName": { + "example": "de-fra-1", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "down", + "nodeId", + "nodeName", + "up" + ], + "type": "object" + }, "ClientPageResponse": { "description": "ClientPageResponse is the shape returned by ListPaged. `Total` is the\nrow count in the DB; `Filtered` is the count after Search/Filter/Protocol\nwere applied, before pagination. The page contains at most PageSize items.\nSummary is computed across the full DB row set so dashboard counters\non the clients page stay stable as the user paginates/filters.", "properties": { @@ -2080,6 +2566,15 @@ export const SCHEMAS: Record = { }, "uuid": { "type": "string" + }, + "wgDeviceLimit": { + "type": "integer" + }, + "wireguardDevices": { + "items": { + "$ref": "#/components/schemas/WireguardDevice" + }, + "type": "array" } }, "required": [ @@ -2115,7 +2610,9 @@ export const SCHEMAS: Record = { "trafficReset", "trafficResetDay", "updatedAt", - "uuid" + "uuid", + "wgDeviceLimit", + "wireguardDevices" ], "type": "object" }, @@ -2428,6 +2925,107 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "ClientTrafficWindow": { + "description": "ClientTrafficWindow is one closed traffic window of a client: usage zeroed at a\nreset or an auto-renewal; lifetime = SUM(rows) + live counters.", + "properties": { + "at": { + "example": 1735689600000, + "format": "int64", + "type": "integer" + }, + "down": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "id": { + "example": 14825, + "format": "int64", + "type": "integer" + }, + "reason": { + "description": "reset | renew | earlier", + "example": "reset", + "type": "string" + }, + "up": { + "example": 1048576, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "at", + "down", + "email", + "id", + "reason", + "up" + ], + "type": "object" + }, + "ClientUsageHistory": { + "description": "ClientUsageHistory is what the client editor's history button shows.", + "properties": { + "changes": { + "items": { + "$ref": "#/components/schemas/ClientChangeLog" + }, + "type": "array" + }, + "currentDown": { + "example": 2097152, + "format": "int64", + "type": "integer" + }, + "currentUp": { + "example": 1048576, + "format": "int64", + "type": "integer" + }, + "email": { + "example": "user1@example.com", + "type": "string" + }, + "lifetimeDown": { + "example": 21474836480, + "format": "int64", + "type": "integer" + }, + "lifetimeUp": { + "example": 10737418240, + "format": "int64", + "type": "integer" + }, + "nodes": { + "items": { + "$ref": "#/components/schemas/ClientNodeUsage" + }, + "type": "array" + }, + "windows": { + "items": { + "$ref": "#/components/schemas/ClientTrafficWindow" + }, + "type": "array" + } + }, + "required": [ + "changes", + "currentDown", + "currentUp", + "email", + "lifetimeDown", + "lifetimeUp", + "nodes", + "windows" + ], + "type": "object" + }, "ClientsSummary": { "description": "ClientsSummary collects per-bucket counts plus the matching email lists so\nthe clients page can render the dashboard stat cards and their hover\npopovers without shipping the full client array. The counters are exact;\nthe lists stop at clientSummaryEmailCap entries and only back the popovers.", "properties": { @@ -2502,6 +3100,40 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "ExternalLinkInput": { + "description": "ExternalLinkInput is one row from the client form's Links tab.", + "properties": { + "enable": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "expiryTime": { + "example": 0, + "format": "int64", + "type": "integer" + }, + "kind": { + "example": "link", + "type": "string" + }, + "namePrefix": { + "type": "string" + }, + "remark": { + "example": "Backup", + "type": "string" + }, + "value": { + "example": "vless://uuid@example.com:443", + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "FallbackParentInfo": { "description": "FallbackParentInfo carries everything the frontend needs to rewrite a\nchild inbound's client link: where to connect (the master's address\nand port) and which path matched on the master's fallbacks array.\nThe frontend already has the master inbound in its dbInbounds list,\nso we only ship identifiers + the match path here.", "properties": { @@ -3190,6 +3822,11 @@ export const SCHEMAS: Record = { "minimum": 0, "type": "integer" }, + "preserveClientTraffic": { + "description": "Older snapshots omit this field.\nKeep client usage during scheduled inbound resets", + "nullable": true, + "type": "boolean" + }, "protocol": { "enum": [ "vmess", @@ -3583,6 +4220,72 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "NetworkInterfaceOption": { + "properties": { + "name": { + "example": "eth0", + "type": "string" + }, + "up": { + "example": true, + "type": "boolean" + } + }, + "required": [ + "name", + "up" + ], + "type": "object" + }, + "NetworkInterfacesResponse": { + "properties": { + "automatic": { + "example": "eth0", + "type": "string" + }, + "automaticError": { + "type": "string" + }, + "interfaces": { + "items": { + "$ref": "#/components/schemas/NetworkInterfaceOption" + }, + "type": "array" + } + }, + "required": [ + "automatic", + "automaticError", + "interfaces" + ], + "type": "object" + }, + "NetworkTrafficSelection": { + "properties": { + "available": { + "example": true, + "type": "boolean" + }, + "error": { + "type": "string" + }, + "mode": { + "example": "manual", + "type": "string" + }, + "name": { + "example": "eth0", + "type": "string" + } + }, + "required": [ + "available", + "error", + "mode", + "name" + ], + "type": "object" + }, "NewUUIDResponse": { "properties": { "uuid": { @@ -3705,6 +4408,11 @@ export const SCHEMAS: Record = { "example": 3, "type": "integer" }, + "onlineTotalCount": { + "description": "OnlineTotalCount also counts clients on inbounds this panel does not sync.", + "example": 7, + "type": "integer" + }, "outboundTag": { "type": "string" }, @@ -3808,6 +4516,7 @@ export const SCHEMAS: Record = { "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4030,6 +4739,10 @@ export const SCHEMAS: Record = { "example": 5, "type": "integer" }, + "onlineTotalCount": { + "example": 9, + "type": "integer" + }, "outboundTag": { "example": "direct", "type": "string" @@ -4123,6 +4836,7 @@ export const SCHEMAS: Record = { "netDown", "netUp", "onlineCount", + "onlineTotalCount", "outboundTag", "panelVersion", "pinnedCertSha256", @@ -4170,6 +4884,34 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "PanelRestart": { + "description": "PanelRestart describes the listener that took the restart call and the one that follows.", + "properties": { + "nextPort": { + "example": 2053, + "type": "integer" + }, + "nextTls": { + "example": false, + "type": "boolean" + }, + "port": { + "example": 2053, + "type": "integer" + }, + "tls": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "nextPort", + "nextTls", + "port", + "tls" + ], + "type": "object" + }, "PanelUpdateStatus": { "description": "PanelUpdateStatus reports the outcome of the most recently launched panel\nself-update. RunID lets the caller confirm this status belongs to the\nupdate it started rather than a stale result left over from an earlier\nrun; State is one of \"pending\", \"success\", or \"failed\". RunID is a decimal\nstring, not a JSON number: it's a formatted UnixNano timestamp, and\nJavaScript's number type can't represent that precisely (it exceeds\nNumber.MAX_SAFE_INTEGER), which would let two different runs round to the\nsame value on the wire and defeat the whole point of this field.", "properties": { @@ -4470,6 +5212,132 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "RealityWatchEntry": { + "description": "RealityWatchEntry is what the admin sets per inbound: spare targets (host:port) in order\nof preference, and whether a dead target is replaced without asking.", + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "auto", + "spares" + ], + "type": "object" + }, + "RealityWatchEvent": { + "description": "RealityWatchEvent is one switch (To set) or a failed attempt to find a working spare.", + "properties": { + "at": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "from": { + "example": "old.example.com:443", + "type": "string" + }, + "reason": { + "example": "TLS handshake failed: EOF", + "type": "string" + }, + "to": { + "example": "www.example.com:443", + "type": "string" + } + }, + "required": [ + "at", + "from", + "reason", + "to" + ], + "type": "object" + }, + "RealityWatchStatus": { + "properties": { + "auto": { + "example": true, + "type": "boolean" + }, + "checkedAt": { + "example": 1793000000, + "format": "int64", + "type": "integer" + }, + "events": { + "items": { + "$ref": "#/components/schemas/RealityWatchEvent" + }, + "type": "array" + }, + "fails": { + "example": 0, + "type": "integer" + }, + "inboundId": { + "example": 3, + "type": "integer" + }, + "latencyMs": { + "example": 180, + "type": "integer" + }, + "ok": { + "example": true, + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "serverNames": { + "example": [ + "old.example.com" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "spares": { + "example": [ + "www.example.com:443" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "target": { + "example": "old.example.com:443", + "type": "string" + } + }, + "required": [ + "auto", + "checkedAt", + "events", + "fails", + "inboundId", + "latencyMs", + "ok", + "reason", + "serverNames", + "spares", + "target" + ], + "type": "object" + }, "ServerSettings": { "description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.", "properties": { @@ -4722,6 +5590,99 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "Status": { + "description": "Status represents comprehensive system and application status information.\nIt includes CPU, memory, disk, network statistics, and Xray process status.", + "properties": { + "amneziawg": { + "description": "AmneziaWG gates the overview's AmneziaWG log view: Configured stays true\nwhile an inbound exists but its embedded interface isn't up yet, which\nis exactly when that view's event lines are worth reading." + }, + "appStats": {}, + "cpu": { + "type": "number" + }, + "cpuCores": { + "type": "integer" + }, + "cpuSpeedMhz": { + "type": "number" + }, + "disk": {}, + "diskIO": {}, + "diskTraffic": {}, + "loads": { + "items": { + "type": "number" + }, + "type": "array" + }, + "logicalPro": { + "type": "integer" + }, + "mem": {}, + "netIO": {}, + "netTraffic": {}, + "networkInterface": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkTrafficSelection" + } + ], + "nullable": true + }, + "panelGuid": { + "type": "string" + }, + "panelVersion": { + "type": "string" + }, + "publicIP": {}, + "resourceScope": { + "type": "string" + }, + "swap": {}, + "tcpCount": { + "type": "integer" + }, + "udpCount": { + "type": "integer" + }, + "unavailableMetrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "uptime": { + "format": "int64", + "type": "integer" + }, + "xray": {} + }, + "required": [ + "amneziawg", + "appStats", + "cpu", + "cpuCores", + "cpuSpeedMhz", + "disk", + "diskIO", + "diskTraffic", + "loads", + "logicalPro", + "mem", + "netIO", + "netTraffic", + "panelGuid", + "panelVersion", + "publicIP", + "swap", + "tcpCount", + "udpCount", + "uptime", + "xray" + ], + "type": "object" + }, "SubBalancer": { "description": "SubBalancer is one extra JSON-subscription config document whose members are\nthe selected inbounds' proxy outbounds. SortOrder shares SubSortIndex semantics.", "properties": { @@ -4794,6 +5755,112 @@ export const SCHEMAS: Record = { ], "type": "object" }, + "SubBalancerProblem": { + "description": "SubBalancerProblem is one reason a balancer cannot emit what an operator expects.\nAdvisories never change the emitted config, and per-client losses are out of scope.", + "properties": { + "code": { + "example": "unknown_inbound", + "type": "string" + }, + "detail": { + "example": "amneziawg", + "type": "string" + }, + "inboundIds": { + "example": [ + 7, + 9 + ], + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "SubBalancerWithProblems": { + "description": "SubBalancerWithProblems embeds the row by value so it marshals flat; Problems is\nalways non-nil so the response shape is stable.", + "properties": { + "createdAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + }, + "enabled": { + "description": "No gorm default:true — a bool default makes an explicit false at insert\ncollapse back to the column default (zero value is skipped).", + "example": true, + "type": "boolean" + }, + "id": { + "example": 1, + "type": "integer" + }, + "inboundIds": { + "example": [ + 1, + 3 + ], + "items": { + "type": "integer" + }, + "type": "array" + }, + "memberWeights": { + "additionalProperties": { + "type": "number" + }, + "description": "inboundId -\u003e leastLoad weight; absent entries mean 1.0. Only meaningful\nwith Strategy \"leastLoad\" — xray ignores costs on every other strategy.", + "type": "object" + }, + "problems": { + "items": { + "$ref": "#/components/schemas/SubBalancerProblem" + }, + "type": "array" + }, + "remark": { + "example": "auto-fastest", + "maxLength": 256, + "type": "string" + }, + "sortOrder": { + "example": 1, + "minimum": 1, + "type": "integer" + }, + "strategy": { + "enum": [ + "leastLoad", + "leastPing", + "random", + "roundRobin" + ], + "example": "random", + "type": "string" + }, + "updatedAt": { + "example": 1710000000000, + "format": "int64", + "type": "integer" + } + }, + "required": [ + "createdAt", + "enabled", + "id", + "inboundIds", + "problems", + "remark", + "sortOrder", + "strategy", + "updatedAt" + ], + "type": "object" + }, "TgBotCapabilities": { "description": "TgBotCapabilities is the browser-safe shape of the bot's own capabilities.", "properties": { @@ -4949,5 +6016,43 @@ export const SCHEMAS: Record = { "username" ], "type": "object" + }, + "WireguardDevice": { + "description": "WireguardDevice is an additional peer sharing its client's quota and lifecycle.\nThe original client credentials remain the primary device for compatibility.", + "properties": { + "allowedIPs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "preSharedKey": { + "type": "string" + }, + "privateKey": { + "type": "string" + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "allowedIPs", + "enable", + "id", + "name", + "privateKey", + "publicKey" + ], + "type": "object" } }; diff --git a/frontend/src/generated/types.ts b/frontend/src/generated/types.ts index c9d50cfc6..5b406d8d8 100644 --- a/frontend/src/generated/types.ts +++ b/frontend/src/generated/types.ts @@ -4,10 +4,6 @@ export type GeoKind = string; export type OnlineAPISupport = number; export type ProcessState = string; export type Protocol = string; -export type addrFamily = number; -export type staticEgressResolver = string; -export type trafficLocalApplyAction = number; -export type transportBits = number; export interface AllSetting { datepicker: string; @@ -48,10 +44,17 @@ export interface AllSetting { ldapUserAttr: string; ldapUserFilter: string; ldapVlessField: string; + mcpEnable: boolean; + networkTrafficInterface: string; + networkTrafficMode: string; nodeDownThreshold: number; outboundDownThreshold: number; pageSize: number; panelOutbound: string; + publicIpRefreshMinutes: number; + publicIpv4Override: string; + publicIpv6Detect: boolean; + publicIpv6Override: string; realityScanCandidates: string; remarkTemplate: string; restartXrayOnClientDisable: boolean; @@ -110,6 +113,7 @@ export interface AllSetting { subHappTunType: string; subHideSettings: boolean; subHostSortMode: string; + subHwidRejectWithConfig: boolean; subIncyAnnounceUrl: string; subIncyAppAutoDetect: boolean; subIncyBannerBgColor: string; @@ -159,6 +163,8 @@ export interface AllSetting { subPort: number; subProfileMode: string; subProfileUrl: string; + subRateLimit: number; + subRateLimitEnable: boolean; subRoutingRules: string; subShowIdentityOnAllLinks: boolean; subSupportUrl: string; @@ -190,6 +196,16 @@ export interface AllSetting { webKeyFile: string; webListen: string; webPort: number; + wechatCpu: number; + wechatEnable: boolean; + wechatEnabledEvents: string; + wechatLang: string; + wechatMemory: number; + wechatMode: string; + wechatReportEnable: boolean; + wechatRunTime: string; + wechatToken: string; + wechatWebhookURL: string; } export interface AllSettingView { @@ -217,6 +233,8 @@ export interface AllSettingView { hasTgBotToken: boolean; hasTwoFactorToken: boolean; hasWarpSecret: boolean; + hasWechatToken: boolean; + hasWechatWebhookURL: boolean; ipLimitAllowlist: string; ldapAutoCreate: boolean; ldapAutoDelete: boolean; @@ -239,10 +257,17 @@ export interface AllSettingView { ldapUserAttr: string; ldapUserFilter: string; ldapVlessField: string; + mcpEnable: boolean; + networkTrafficInterface: string; + networkTrafficMode: string; nodeDownThreshold: number; outboundDownThreshold: number; pageSize: number; panelOutbound: string; + publicIpRefreshMinutes: number; + publicIpv4Override: string; + publicIpv6Detect: boolean; + publicIpv6Override: string; realityScanCandidates: string; remarkTemplate: string; restartXrayOnClientDisable: boolean; @@ -301,6 +326,7 @@ export interface AllSettingView { subHappTunType: string; subHideSettings: boolean; subHostSortMode: string; + subHwidRejectWithConfig: boolean; subIncyAnnounceUrl: string; subIncyAppAutoDetect: boolean; subIncyBannerBgColor: string; @@ -350,6 +376,8 @@ export interface AllSettingView { subPort: number; subProfileMode: string; subProfileUrl: string; + subRateLimit: number; + subRateLimitEnable: boolean; subRoutingRules: string; subShowIdentityOnAllLinks: boolean; subSupportUrl: string; @@ -381,6 +409,16 @@ export interface AllSettingView { webKeyFile: string; webListen: string; webPort: number; + wechatCpu: number; + wechatEnable: boolean; + wechatEnabledEvents: string; + wechatLang: string; + wechatMemory: number; + wechatMode: string; + wechatReportEnable: boolean; + wechatRunTime: string; + wechatToken: string; + wechatWebhookURL: string; } export interface AmneziaWGLogs { @@ -409,11 +447,60 @@ export interface ApiTokenView { token?: string; } +export interface AttachCandidate { + alreadyAttached: boolean; + comment: string; + email: string; + enable: boolean; + group: string; + id: number; + inScope: boolean; +} + +export interface AttachCandidatePage { + eligible: number; + groups: string[]; + items: AttachCandidate[]; + maxId?: number; + scopeToken?: string; + total: number; +} + +export interface AttachJobStatus { + ended: string; + error?: string; + result?: AttachSelectionResult | null; + running: boolean; +} + +export interface AttachSelectionResult { + attached: number; + errors: number; + skipped: number; +} + export interface Blocker { code: BlockerCode; detail?: string; } +export interface BulkAdjustReport { + email: string; + reason: string; +} + +export interface BulkAdjustResult { + adjusted: number; + externalLinks?: BulkExternalLinksResult | null; + skipped?: BulkAdjustReport[]; +} + +export interface BulkExternalLinksResult { + added: number; + errors: number; + skipped: number; +} + export interface Client { adTag?: string; allowedIPs?: string[]; @@ -448,6 +535,18 @@ export interface Client { trafficReset?: string; trafficResetDay?: number; updated_at?: number; + wgDeviceLimit?: number; + wireguardDevices?: WireguardDevice[]; +} + +export interface ClientChangeLog { + at: number; + email: string; + field: string; + id: number; + newValue: string; + oldValue: string; + source: string; } export interface ClientInbound { @@ -457,6 +556,13 @@ export interface ClientInbound { inboundId: number; } +export interface ClientNodeUsage { + down: number; + nodeId: number; + nodeName: string; + up: number; +} + export interface ClientPageResponse { filtered: number; groups: string[]; @@ -502,6 +608,8 @@ export interface ClientRecord { trafficResetDay: number; updatedAt: number; uuid: string; + wgDeviceLimit: number; + wireguardDevices: WireguardDevice[]; } export interface ClientRenewalPreview { @@ -569,6 +677,26 @@ export interface ClientTraffic { uuid: string; } +export interface ClientTrafficWindow { + at: number; + down: number; + email: string; + id: number; + reason: string; + up: number; +} + +export interface ClientUsageHistory { + changes: ClientChangeLog[]; + currentDown: number; + currentUp: number; + email: string; + lifetimeDown: number; + lifetimeUp: number; + nodes: ClientNodeUsage[]; + windows: ClientTrafficWindow[]; +} + export interface ClientsSummary { active: number; deactive: string[]; @@ -582,6 +710,15 @@ export interface ClientsSummary { total: number; } +export interface ExternalLinkInput { + enable?: boolean | null; + expiryTime?: number; + kind?: string; + namePrefix?: string; + remark?: string; + value: string; +} + export interface FallbackParentInfo { masterId: number; path?: string; @@ -734,6 +871,7 @@ export interface Inbound { nodeId?: number | null; originNodeGuid?: string; port: number; + preserveClientTraffic?: boolean | null; protocol: Protocol; remark: string; settings: unknown; @@ -825,6 +963,24 @@ export interface Msg { success: boolean; } +export interface NetworkInterfaceOption { + name: string; + up: boolean; +} + +export interface NetworkInterfacesResponse { + automatic: string; + automaticError: string; + interfaces: NetworkInterfaceOption[]; +} + +export interface NetworkTrafficSelection { + available: boolean; + error: string; + mode: string; + name: string; +} + export interface NewUUIDResponse { uuid: string; } @@ -855,6 +1011,7 @@ export interface Node { netDown: number; netUp: number; onlineCount: number; + onlineTotalCount: number; outboundTag: string; panelVersion: string; parentGuid?: string; @@ -919,6 +1076,7 @@ export interface NodeView { netDown: number; netUp: number; onlineCount: number; + onlineTotalCount: number; outboundTag: string; panelVersion: string; parentGuid?: string; @@ -945,6 +1103,13 @@ export interface OutboundTraffics { up: number; } +export interface PanelRestart { + nextPort: number; + nextTls: boolean; + port: number; + tls: boolean; +} + export interface PanelUpdateStatus { exitCode: number; finishedAt: number; @@ -1009,6 +1174,32 @@ export interface RealityScanResult { x25519: boolean; } +export interface RealityWatchEntry { + auto: boolean; + spares: string[]; +} + +export interface RealityWatchEvent { + at: number; + from: string; + reason: string; + to: string; +} + +export interface RealityWatchStatus { + auto: boolean; + checkedAt: number; + events: RealityWatchEvent[]; + fails: number; + inboundId: number; + latencyMs: number; + ok: boolean; + reason: string; + serverNames: string[]; + spares: string[]; + target: string; +} + export interface ServerSettings { contentPaddingAddition?: string; disableCookies: boolean; @@ -1074,6 +1265,33 @@ export interface SponsorList { sponsors: Sponsor[]; } +export interface Status { + amneziawg: unknown; + appStats: unknown; + cpu: number; + cpuCores: number; + cpuSpeedMhz: number; + disk: unknown; + diskIO: unknown; + diskTraffic: unknown; + loads: number[]; + logicalPro: number; + mem: unknown; + netIO: unknown; + netTraffic: unknown; + networkInterface?: NetworkTrafficSelection | null; + panelGuid: string; + panelVersion: string; + publicIP: unknown; + resourceScope?: string; + swap: unknown; + tcpCount: number; + udpCount: number; + unavailableMetrics?: string[]; + uptime: number; + xray: unknown; +} + export interface SubBalancer { createdAt: number; enabled: boolean; @@ -1086,6 +1304,25 @@ export interface SubBalancer { updatedAt: number; } +export interface SubBalancerProblem { + code: string; + detail?: string; + inboundIds?: number[]; +} + +export interface SubBalancerWithProblems { + createdAt: number; + enabled: boolean; + id: number; + inboundIds: number[]; + memberWeights?: Record; + problems: SubBalancerProblem[]; + remark: string; + sortOrder: number; + strategy: string; + updatedAt: number; +} + export interface TgBotCapabilities { groupPrivacy: boolean; inlineEnabled: boolean; @@ -1127,3 +1364,13 @@ export interface User { username: string; } +export interface WireguardDevice { + allowedIPs: string[]; + enable: boolean; + id: string; + name: string; + preSharedKey?: string; + privateKey: string; + publicKey: string; +} + diff --git a/frontend/src/generated/zod.ts b/frontend/src/generated/zod.ts index d86fa6391..3611c3061 100644 --- a/frontend/src/generated/zod.ts +++ b/frontend/src/generated/zod.ts @@ -15,18 +15,6 @@ export type ProcessState = z.infer; export const ProtocolSchema = z.string(); export type Protocol = z.infer; -export const addrFamilySchema = z.number().int(); -export type addrFamily = z.infer; - -export const staticEgressResolverSchema = z.string(); -export type staticEgressResolver = z.infer; - -export const trafficLocalApplyActionSchema = z.number().int(); -export type trafficLocalApplyAction = z.infer; - -export const transportBitsSchema = z.number().int(); -export type transportBits = z.infer; - export const AllSettingSchema = z.object({ datepicker: z.string(), discordAdminIds: z.string(), @@ -66,10 +54,17 @@ export const AllSettingSchema = z.object({ ldapUserAttr: z.string(), ldapUserFilter: z.string(), ldapVlessField: z.string(), + mcpEnable: z.boolean(), + networkTrafficInterface: z.string(), + networkTrafficMode: z.enum(['legacy', 'auto', 'manual']), nodeDownThreshold: z.number().int().min(1).max(100), outboundDownThreshold: z.number().int().min(1).max(100), pageSize: z.number().int().min(0).max(1000), panelOutbound: z.string(), + publicIpRefreshMinutes: z.number().int().min(0).max(10080), + publicIpv4Override: z.string(), + publicIpv6Detect: z.boolean(), + publicIpv6Override: z.string(), realityScanCandidates: z.string(), remarkTemplate: z.string(), restartXrayOnClientDisable: z.boolean(), @@ -128,6 +123,7 @@ export const AllSettingSchema = z.object({ subHappTunType: z.string(), subHideSettings: z.boolean(), subHostSortMode: z.string(), + subHwidRejectWithConfig: z.boolean(), subIncyAnnounceUrl: z.string(), subIncyAppAutoDetect: z.boolean(), subIncyBannerBgColor: z.string(), @@ -177,6 +173,8 @@ export const AllSettingSchema = z.object({ subPort: z.number().int().min(1).max(65535), subProfileMode: z.string(), subProfileUrl: z.string(), + subRateLimit: z.number().int().min(1).max(1000), + subRateLimitEnable: z.boolean(), subRoutingRules: z.string(), subShowIdentityOnAllLinks: z.boolean(), subSupportUrl: z.string(), @@ -208,6 +206,16 @@ export const AllSettingSchema = z.object({ webKeyFile: z.string(), webListen: z.string(), webPort: z.number().int().min(1).max(65535), + wechatCpu: z.number().int().min(0).max(100), + wechatEnable: z.boolean(), + wechatEnabledEvents: z.string(), + wechatLang: z.string(), + wechatMemory: z.number().int().min(0).max(100), + wechatMode: z.string(), + wechatReportEnable: z.boolean(), + wechatRunTime: z.string(), + wechatToken: z.string(), + wechatWebhookURL: z.string(), }); export type AllSetting = z.infer; @@ -236,6 +244,8 @@ export const AllSettingViewSchema = z.object({ hasTgBotToken: z.boolean(), hasTwoFactorToken: z.boolean(), hasWarpSecret: z.boolean(), + hasWechatToken: z.boolean(), + hasWechatWebhookURL: z.boolean(), ipLimitAllowlist: z.string(), ldapAutoCreate: z.boolean(), ldapAutoDelete: z.boolean(), @@ -258,10 +268,17 @@ export const AllSettingViewSchema = z.object({ ldapUserAttr: z.string(), ldapUserFilter: z.string(), ldapVlessField: z.string(), + mcpEnable: z.boolean(), + networkTrafficInterface: z.string(), + networkTrafficMode: z.enum(['legacy', 'auto', 'manual']), nodeDownThreshold: z.number().int().min(1).max(100), outboundDownThreshold: z.number().int().min(1).max(100), pageSize: z.number().int().min(0).max(1000), panelOutbound: z.string(), + publicIpRefreshMinutes: z.number().int().min(0).max(10080), + publicIpv4Override: z.string(), + publicIpv6Detect: z.boolean(), + publicIpv6Override: z.string(), realityScanCandidates: z.string(), remarkTemplate: z.string(), restartXrayOnClientDisable: z.boolean(), @@ -320,6 +337,7 @@ export const AllSettingViewSchema = z.object({ subHappTunType: z.string(), subHideSettings: z.boolean(), subHostSortMode: z.string(), + subHwidRejectWithConfig: z.boolean(), subIncyAnnounceUrl: z.string(), subIncyAppAutoDetect: z.boolean(), subIncyBannerBgColor: z.string(), @@ -369,6 +387,8 @@ export const AllSettingViewSchema = z.object({ subPort: z.number().int().min(1).max(65535), subProfileMode: z.string(), subProfileUrl: z.string(), + subRateLimit: z.number().int().min(1).max(1000), + subRateLimitEnable: z.boolean(), subRoutingRules: z.string(), subShowIdentityOnAllLinks: z.boolean(), subSupportUrl: z.string(), @@ -400,6 +420,16 @@ export const AllSettingViewSchema = z.object({ webKeyFile: z.string(), webListen: z.string(), webPort: z.number().int().min(1).max(65535), + wechatCpu: z.number().int().min(0).max(100), + wechatEnable: z.boolean(), + wechatEnabledEvents: z.string(), + wechatLang: z.string(), + wechatMemory: z.number().int().min(0).max(100), + wechatMode: z.string(), + wechatReportEnable: z.boolean(), + wechatRunTime: z.string(), + wechatToken: z.string(), + wechatWebhookURL: z.string(), }); export type AllSettingView = z.infer; @@ -432,12 +462,68 @@ export const ApiTokenViewSchema = z.object({ }); export type ApiTokenView = z.infer; +export const AttachCandidateSchema = z.object({ + alreadyAttached: z.boolean(), + comment: z.string(), + email: z.string(), + enable: z.boolean(), + group: z.string(), + id: z.number().int(), + inScope: z.boolean(), +}); +export type AttachCandidate = z.infer; + +export const AttachCandidatePageSchema = z.object({ + eligible: z.number().int(), + groups: z.array(z.string()), + items: z.array(z.lazy(() => AttachCandidateSchema)), + maxId: z.number().int().optional(), + scopeToken: z.string().optional(), + total: z.number().int(), +}); +export type AttachCandidatePage = z.infer; + +export const AttachJobStatusSchema = z.object({ + ended: z.string(), + error: z.string().optional(), + result: z.lazy(() => AttachSelectionResultSchema).nullable().optional(), + running: z.boolean(), +}); +export type AttachJobStatus = z.infer; + +export const AttachSelectionResultSchema = z.object({ + attached: z.number().int(), + errors: z.number().int(), + skipped: z.number().int(), +}); +export type AttachSelectionResult = z.infer; + export const BlockerSchema = z.object({ code: z.lazy(() => BlockerCodeSchema), detail: z.string().optional(), }); export type Blocker = z.infer; +export const BulkAdjustReportSchema = z.object({ + email: z.string(), + reason: z.string(), +}); +export type BulkAdjustReport = z.infer; + +export const BulkAdjustResultSchema = z.object({ + adjusted: z.number().int(), + externalLinks: z.lazy(() => BulkExternalLinksResultSchema).nullable().optional(), + skipped: z.array(z.lazy(() => BulkAdjustReportSchema)).optional(), +}); +export type BulkAdjustResult = z.infer; + +export const BulkExternalLinksResultSchema = z.object({ + added: z.number().int(), + errors: z.number().int(), + skipped: z.number().int(), +}); +export type BulkExternalLinksResult = z.infer; + export const ClientSchema = z.object({ adTag: z.string().optional(), allowedIPs: z.array(z.string()).optional(), @@ -472,9 +558,22 @@ export const ClientSchema = z.object({ trafficReset: z.enum(['never', 'hourly', 'daily', 'weekly', 'monthly']).optional(), trafficResetDay: z.number().int().min(1).max(31).optional(), updated_at: z.number().int().optional(), + wgDeviceLimit: z.number().int().optional(), + wireguardDevices: z.array(z.lazy(() => WireguardDeviceSchema)).optional(), }); export type Client = z.infer; +export const ClientChangeLogSchema = z.object({ + at: z.number().int(), + email: z.string(), + field: z.string(), + id: z.number().int(), + newValue: z.string(), + oldValue: z.string(), + source: z.string(), +}); +export type ClientChangeLog = z.infer; + export const ClientInboundSchema = z.object({ clientId: z.number().int(), createdAt: z.number().int(), @@ -483,6 +582,14 @@ export const ClientInboundSchema = z.object({ }); export type ClientInbound = z.infer; +export const ClientNodeUsageSchema = z.object({ + down: z.number().int(), + nodeId: z.number().int(), + nodeName: z.string(), + up: z.number().int(), +}); +export type ClientNodeUsage = z.infer; + export const ClientPageResponseSchema = z.object({ filtered: z.number().int(), groups: z.array(z.string()), @@ -529,6 +636,8 @@ export const ClientRecordSchema = z.object({ trafficResetDay: z.number().int(), updatedAt: z.number().int(), uuid: z.string(), + wgDeviceLimit: z.number().int(), + wireguardDevices: z.array(z.lazy(() => WireguardDeviceSchema)), }); export type ClientRecord = z.infer; @@ -602,6 +711,28 @@ export const ClientTrafficSchema = z.object({ }); export type ClientTraffic = z.infer; +export const ClientTrafficWindowSchema = z.object({ + at: z.number().int(), + down: z.number().int(), + email: z.string(), + id: z.number().int(), + reason: z.string(), + up: z.number().int(), +}); +export type ClientTrafficWindow = z.infer; + +export const ClientUsageHistorySchema = z.object({ + changes: z.array(z.lazy(() => ClientChangeLogSchema)), + currentDown: z.number().int(), + currentUp: z.number().int(), + email: z.string(), + lifetimeDown: z.number().int(), + lifetimeUp: z.number().int(), + nodes: z.array(z.lazy(() => ClientNodeUsageSchema)), + windows: z.array(z.lazy(() => ClientTrafficWindowSchema)), +}); +export type ClientUsageHistory = z.infer; + export const ClientsSummarySchema = z.object({ active: z.number().int(), deactive: z.array(z.string()), @@ -616,6 +747,16 @@ export const ClientsSummarySchema = z.object({ }); export type ClientsSummary = z.infer; +export const ExternalLinkInputSchema = z.object({ + enable: z.boolean().nullable().optional(), + expiryTime: z.number().int().optional(), + kind: z.string().optional(), + namePrefix: z.string().optional(), + remark: z.string().optional(), + value: z.string(), +}); +export type ExternalLinkInput = z.infer; + export const FallbackParentInfoSchema = z.object({ masterId: z.number().int(), path: z.string().optional(), @@ -780,6 +921,7 @@ export const InboundSchema = z.object({ nodeId: z.number().int().nullable().optional(), originNodeGuid: z.string().optional(), port: z.number().int().min(0).max(65535), + preserveClientTraffic: z.boolean().nullable().optional(), protocol: z.enum(['vmess', 'vless', 'trojan', 'shadowsocks', 'wireguard', 'hysteria', 'http', 'mixed', 'tunnel', 'tun', 'mtproto', 'amneziawg', 'tuic', 'masque']), remark: z.string(), settings: z.unknown(), @@ -880,6 +1022,27 @@ export const MsgSchema = z.object({ }); export type Msg = z.infer; +export const NetworkInterfaceOptionSchema = z.object({ + name: z.string(), + up: z.boolean(), +}); +export type NetworkInterfaceOption = z.infer; + +export const NetworkInterfacesResponseSchema = z.object({ + automatic: z.string(), + automaticError: z.string(), + interfaces: z.array(z.lazy(() => NetworkInterfaceOptionSchema)), +}); +export type NetworkInterfacesResponse = z.infer; + +export const NetworkTrafficSelectionSchema = z.object({ + available: z.boolean(), + error: z.string(), + mode: z.string(), + name: z.string(), +}); +export type NetworkTrafficSelection = z.infer; + export const NewUUIDResponseSchema = z.object({ uuid: z.string(), }); @@ -911,6 +1074,7 @@ export const NodeSchema = z.object({ netDown: z.number().int(), netUp: z.number().int(), onlineCount: z.number().int(), + onlineTotalCount: z.number().int(), outboundTag: z.string(), panelVersion: z.string(), parentGuid: z.string().optional(), @@ -977,6 +1141,7 @@ export const NodeViewSchema = z.object({ netDown: z.number().int(), netUp: z.number().int(), onlineCount: z.number().int(), + onlineTotalCount: z.number().int(), outboundTag: z.string(), panelVersion: z.string(), parentGuid: z.string().optional(), @@ -1005,6 +1170,14 @@ export const OutboundTrafficsSchema = z.object({ }); export type OutboundTraffics = z.infer; +export const PanelRestartSchema = z.object({ + nextPort: z.number().int(), + nextTls: z.boolean(), + port: z.number().int(), + tls: z.boolean(), +}); +export type PanelRestart = z.infer; + export const PanelUpdateStatusSchema = z.object({ exitCode: z.number().int(), finishedAt: z.number().int(), @@ -1074,6 +1247,35 @@ export const RealityScanResultSchema = z.object({ }); export type RealityScanResult = z.infer; +export const RealityWatchEntrySchema = z.object({ + auto: z.boolean(), + spares: z.array(z.string()), +}); +export type RealityWatchEntry = z.infer; + +export const RealityWatchEventSchema = z.object({ + at: z.number().int(), + from: z.string(), + reason: z.string(), + to: z.string(), +}); +export type RealityWatchEvent = z.infer; + +export const RealityWatchStatusSchema = z.object({ + auto: z.boolean(), + checkedAt: z.number().int(), + events: z.array(z.lazy(() => RealityWatchEventSchema)), + fails: z.number().int(), + inboundId: z.number().int(), + latencyMs: z.number().int(), + ok: z.boolean(), + reason: z.string(), + serverNames: z.array(z.string()), + spares: z.array(z.string()), + target: z.string(), +}); +export type RealityWatchStatus = z.infer; + export const ServerSettingsSchema = z.object({ contentPaddingAddition: z.string().optional(), disableCookies: z.boolean(), @@ -1143,6 +1345,34 @@ export const SponsorListSchema = z.object({ }); export type SponsorList = z.infer; +export const StatusSchema = z.object({ + amneziawg: z.unknown(), + appStats: z.unknown(), + cpu: z.number(), + cpuCores: z.number().int(), + cpuSpeedMhz: z.number(), + disk: z.unknown(), + diskIO: z.unknown(), + diskTraffic: z.unknown(), + loads: z.array(z.number()), + logicalPro: z.number().int(), + mem: z.unknown(), + netIO: z.unknown(), + netTraffic: z.unknown(), + networkInterface: z.lazy(() => NetworkTrafficSelectionSchema).nullable().optional(), + panelGuid: z.string(), + panelVersion: z.string(), + publicIP: z.unknown(), + resourceScope: z.string().optional(), + swap: z.unknown(), + tcpCount: z.number().int(), + udpCount: z.number().int(), + unavailableMetrics: z.array(z.string()).optional(), + uptime: z.number().int(), + xray: z.unknown(), +}); +export type Status = z.infer; + export const SubBalancerSchema = z.object({ createdAt: z.number().int(), enabled: z.boolean(), @@ -1156,6 +1386,27 @@ export const SubBalancerSchema = z.object({ }); export type SubBalancer = z.infer; +export const SubBalancerProblemSchema = z.object({ + code: z.string(), + detail: z.string().optional(), + inboundIds: z.array(z.number().int()).optional(), +}); +export type SubBalancerProblem = z.infer; + +export const SubBalancerWithProblemsSchema = z.object({ + createdAt: z.number().int(), + enabled: z.boolean(), + id: z.number().int(), + inboundIds: z.array(z.number().int()), + memberWeights: z.record(z.number().int(), z.number()).optional(), + problems: z.array(z.lazy(() => SubBalancerProblemSchema)), + remark: z.string().max(256), + sortOrder: z.number().int().min(1), + strategy: z.enum(['leastLoad', 'leastPing', 'random', 'roundRobin']), + updatedAt: z.number().int(), +}); +export type SubBalancerWithProblems = z.infer; + export const TgBotCapabilitiesSchema = z.object({ groupPrivacy: z.boolean(), inlineEnabled: z.boolean(), @@ -1202,3 +1453,14 @@ export const UserSchema = z.object({ }); export type User = z.infer; +export const WireguardDeviceSchema = z.object({ + allowedIPs: z.array(z.string()), + enable: z.boolean(), + id: z.string(), + name: z.string(), + preSharedKey: z.string().optional(), + privateKey: z.string(), + publicKey: z.string(), +}); +export type WireguardDevice = z.infer; + diff --git a/frontend/src/hooks/useClientHwids.ts b/frontend/src/hooks/useClientHwids.ts index 5e368bb55..49877f2f2 100644 --- a/frontend/src/hooks/useClientHwids.ts +++ b/frontend/src/hooks/useClientHwids.ts @@ -14,6 +14,7 @@ export function useClientHwids(email: string | undefined) { const [hwidsLoading, setHwidsLoading] = useState(false); const [hwidsClearing, setHwidsClearing] = useState(false); const [deletingHwidId, setDeletingHwidId] = useState(null); + const [blockingHwidId, setBlockingHwidId] = useState(null); async function loadHwids() { if (!email) return; @@ -39,7 +40,7 @@ export function useClientHwids(email: string | undefined) { const msg = (await HttpUtil.delete( `/panel/api/clients/hwids/${encodeURIComponent(email)}`, )) as ApiMsg; - if (msg?.success) setClientHwids([]); + if (msg?.success) setClientHwids((prev) => prev.filter((entry) => entry.blocked)); } finally { setHwidsClearing(false); } @@ -58,6 +59,25 @@ export function useClientHwids(email: string | undefined) { } } + async function setHwidBlocked(id: number, blocked: boolean) { + if (!email) return; + setBlockingHwidId(id); + try { + const msg = (await HttpUtil.post( + `/panel/api/clients/hwids/${encodeURIComponent(email)}/${id}/block`, + { blocked }, + { headers: { 'Content-Type': 'application/json' } }, + )) as ApiMsg; + if (msg?.success) { + setClientHwids((prev) => + prev.map((entry) => (entry.id === id ? { ...entry, blocked } : entry)), + ); + } + } finally { + setBlockingHwidId(null); + } + } + function resetHwids() { setClientHwids([]); } @@ -67,9 +87,11 @@ export function useClientHwids(email: string | undefined) { hwidsLoading, hwidsClearing, deletingHwidId, + blockingHwidId, loadHwids, clearHwids, deleteHwid, + setHwidBlocked, resetHwids, }; } diff --git a/frontend/src/hooks/useClientWireguardDevices.ts b/frontend/src/hooks/useClientWireguardDevices.ts new file mode 100644 index 000000000..049bf75a4 --- /dev/null +++ b/frontend/src/hooks/useClientWireguardDevices.ts @@ -0,0 +1,56 @@ +import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'; +import { keys } from '@/api/queryKeys'; +import { httpRequest } from '@/api/http-init'; +import { HttpUtil } from '@/utils'; +import { WireguardDevicesSchema } from '@/schemas/client'; + +export function useClientWireguardDevices(email: string | undefined, active: boolean) { + const queryClient = useQueryClient(); + const queryKey = ['clients', 'wireguardDevices', email]; + const path = '/panel/api/clients/wireguardDevices'; + const emailQuery = `?email=${encodeURIComponent(email ?? '')}`; + const query = useQuery({ + queryKey, + enabled: active && !!email, + queryFn: async () => { + const msg = await HttpUtil.get(path + emailQuery); + if (!msg.success) throw new Error(msg.msg); + return WireguardDevicesSchema.parse(msg.obj); + }, + }); + const mutation = useMutation({ + mutationFn: async ({ + method, + suffix, + body, + }: { + method: string; + suffix: string; + body?: unknown; + }) => { + const response = await httpRequest(method, path + suffix + emailQuery, body, { + headers: { 'Content-Type': 'application/json' }, + }); + const msg = HttpUtil._respToMsg(response); + HttpUtil._handleMsg(msg); + if (!msg.success) throw new Error(msg.msg); + }, + onSuccess: () => queryClient.invalidateQueries({ queryKey: keys.clients.root() }), + }); + return { + data: query.data, + loading: query.isLoading, + error: query.error, + pending: mutation.isPending, + mutationError: mutation.error, + create: (name: string) => mutation.mutate({ method: 'POST', suffix: '', body: { name } }), + update: (id: string, body: { name?: string; enable?: boolean }) => + mutation.mutate({ + method: 'PATCH', + suffix: `/${encodeURIComponent(id)}`, + body, + }), + remove: (id: string) => + mutation.mutate({ method: 'DELETE', suffix: `/${encodeURIComponent(id)}` }), + }; +} diff --git a/frontend/src/hooks/useClients.ts b/frontend/src/hooks/useClients.ts index 199a47a2e..364035edb 100644 --- a/frontend/src/hooks/useClients.ts +++ b/frontend/src/hooks/useClients.ts @@ -4,6 +4,7 @@ import { keepPreviousData, useMutation, useQuery, useQueryClient } from '@tansta import { HttpUtil, Msg } from '@/utils'; import { parseMsg } from '@/utils/zodValidate'; import { keys } from '@/api/queryKeys'; +import { clientManagementPath } from '@/api/client-management'; import { markLocalInvalidate } from '@/api/invalidationTracker'; import { ClientHydrateSchema, @@ -33,16 +34,10 @@ import { } from '@/schemas/client'; import { DefaultsPayloadSchema } from '@/schemas/defaults'; import { TRAFFIC_POLL_INTERVAL_S } from '@/lib/traffic/poll-interval'; +import { ExternalLinksAppendSchema, type ExternalLinkInput } from '@/schemas/external-link'; // One row sent to POST /clients/:email/externalLinks. -export type ExternalLinkInput = { - kind: 'link' | 'subscription'; - value: string; - remark: string; - enable: boolean; - expiryTime: number; - namePrefix: string; -}; +export type { ExternalLinkInput } from '@/schemas/external-link'; export type { ClientRecord, ClientTraffic, ClientsSummary, InboundOption, ExternalLink }; @@ -98,7 +93,7 @@ export interface ClientSpeedEntry { down: number; } -type ClientSpeedSource = 'xray' | 'tuic'; +type ClientSpeedSource = 'xray' | 'tuic' | 'node'; type ClientStatRow = ClientTraffic & { email?: string }; @@ -305,7 +300,11 @@ export function useClients(options: UseClientsOptions = {}) { Partial>> >({}); const clientSpeedExpiryTimers = useRef>>({}); - const clientSpeedSourceVersions = useRef>({ xray: 0, tuic: 0 }); + const clientSpeedSourceVersions = useRef>({ + xray: 0, + tuic: 0, + node: 0, + }); const clientSpeed = useMemo(() => { const combined: Record = {}; for (const source of Object.values(clientSpeedBySource)) { @@ -343,7 +342,7 @@ export function useClients(options: UseClientsOptions = {}) { const hydrate = useCallback(async (email: string): Promise => { if (!email) return null; - const msg = await HttpUtil.get(`/panel/api/clients/get/${encodeURIComponent(email)}`); + const msg = await HttpUtil.get(clientManagementPath('get', email)); if (!msg?.success || !msg.obj) return null; const validated = parseMsg(msg, ClientHydrateSchema, 'clients/get'); return validated.obj; @@ -375,7 +374,7 @@ export function useClients(options: UseClientsOptions = {}) { const updateMut = useMutation({ mutationFn: ({ email, client }: { email: string; client: unknown }) => - HttpUtil.post(`/panel/api/clients/update/${encodeURIComponent(email)}`, client, JSON_HEADERS), + HttpUtil.post(clientManagementPath('update', email), client, JSON_HEADERS), onSuccess: (msg) => { if (msg?.success) invalidateAll(); }, @@ -383,9 +382,8 @@ export function useClients(options: UseClientsOptions = {}) { const removeMut = useMutation({ mutationFn: ({ email, keepTraffic }: { email: string; keepTraffic?: boolean }) => { - const url = keepTraffic - ? `/panel/api/clients/del/${encodeURIComponent(email)}?keepTraffic=1` - : `/panel/api/clients/del/${encodeURIComponent(email)}`; + let url = clientManagementPath('del', email); + if (keepTraffic) url += `${url.includes('?') ? '&' : '?'}keepTraffic=1`; return HttpUtil.post(url); }, onSuccess: (msg) => { @@ -424,7 +422,9 @@ export function useClients(options: UseClientsOptions = {}) { flow?: string; limitHwid?: number | null; adTag?: string; + externalLinks?: ExternalLinkInput[]; }): Promise> => { + if (payload.externalLinks !== undefined) await ExternalLinksAppendSchema.parseAsync(payload); const raw = await HttpUtil.post('/panel/api/clients/bulkAdjust', payload, JSON_HEADERS); return parseMsg(raw, BulkAdjustResultSchema, 'clients/bulkAdjust'); }, @@ -599,9 +599,18 @@ export function useClients(options: UseClientsOptions = {}) { flow = '', limitHwid?: number | null, adTag?: string, + externalLinks?: ExternalLinkInput[], ) => { if (!Array.isArray(emails) || emails.length === 0) return Promise.resolve(null); - return bulkAdjustMut.mutateAsync({ emails, addDays, addBytes, flow, limitHwid, adTag }); + return bulkAdjustMut.mutateAsync({ + emails, + addDays, + addBytes, + flow, + limitHwid, + adTag, + externalLinks, + }); }, [bulkAdjustMut], ); @@ -751,7 +760,7 @@ export function useClients(options: UseClientsOptions = {}) { const p = payload as { onlineClients?: string[]; clientTraffics?: { email: string; up: number; down: number }[]; - clientTrafficSource?: 'xray' | 'tuic'; + clientTrafficSource?: ClientSpeedSource; clientTrafficIntervalMs?: number; }; if (Array.isArray(p.onlineClients)) { @@ -764,7 +773,10 @@ export function useClients(options: UseClientsOptions = {}) { // dropped and an unchanged result returns the previous object — which lets // React bail out of the update instead of re-rendering the table. const next: Record = {}; - const source = p.clientTrafficSource === 'tuic' ? 'tuic' : 'xray'; + const source: ClientSpeedSource = + p.clientTrafficSource === 'tuic' || p.clientTrafficSource === 'node' + ? p.clientTrafficSource + : 'xray'; const sampleIntervalMs = typeof p.clientTrafficIntervalMs === 'number' && Number.isFinite(p.clientTrafficIntervalMs) && diff --git a/frontend/src/hooks/useTheme.tsx b/frontend/src/hooks/useTheme.tsx index d55b5ab0a..ae645979e 100644 --- a/frontend/src/hooks/useTheme.tsx +++ b/frontend/src/hooks/useTheme.tsx @@ -1,10 +1,24 @@ -import { createContext, useCallback, useContext, useLayoutEffect, useMemo, useState } from 'react'; +import { + createContext, + useCallback, + useContext, + useLayoutEffect, + useMemo, + useState, + useSyncExternalStore, +} from 'react'; import type { ReactNode } from 'react'; import { theme as antdTheme } from 'antd'; import type { ThemeConfig } from 'antd'; +export type ThemeMode = 'light' | 'dark' | 'system'; + +const STORAGE_MODE = 'theme-mode'; +// Written alongside `theme-mode` because older panel builds and third-party +// scripts still read the boolean. const STORAGE_DARK = 'dark-mode'; const STORAGE_ULTRA = 'isUltraDarkThemeEnabled'; +const SCHEME_QUERY = '(prefers-color-scheme: dark)'; function readBool(key: string, fallback: boolean): boolean { const raw = localStorage.getItem(key); @@ -12,6 +26,62 @@ function readBool(key: string, fallback: boolean): boolean { return raw === 'true'; } +function systemPrefersDark(): boolean { + try { + return window.matchMedia(SCHEME_QUERY).matches; + } catch { + return false; + } +} + +function subscribeSystemScheme(onChange: () => void): () => void { + const mql = window.matchMedia(SCHEME_QUERY); + mql.addEventListener('change', onChange); + return () => mql.removeEventListener('change', onChange); +} + +/** Reads a stored preference, falling back to the legacy boolean panels wrote. */ +function parseStoredMode(raw: string | null, legacyDark: boolean): ThemeMode { + if (raw === 'light' || raw === 'dark' || raw === 'system') return raw; + return legacyDark ? 'dark' : 'light'; +} + +function readMode(): ThemeMode { + try { + return parseStoredMode(localStorage.getItem(STORAGE_MODE), readBool(STORAGE_DARK, true)); + } catch { + return 'dark'; + } +} + +function readUltra(): boolean { + try { + return readBool(STORAGE_ULTRA, false); + } catch { + return false; + } +} + +function resolveDark(mode: ThemeMode, systemDark: boolean): boolean { + return mode === 'system' ? systemDark : mode === 'dark'; +} + +/** Ultra dark rides on dark, so leaving system always lands on light. */ +function nextTheme(mode: ThemeMode, isUltra: boolean): { mode: ThemeMode; ultra: boolean } { + if (mode === 'light') return { mode: 'dark', ultra: false }; + if (mode === 'dark') { + return isUltra ? { mode: 'system', ultra: false } : { mode: 'dark', ultra: true }; + } + return { mode: 'light', ultra: false }; +} + +/** i18n key naming the current mode, used for the toggle's label and tooltip. */ +export function themeModeKey(mode: ThemeMode, isUltra: boolean): string { + if (mode === 'system') return 'menu.themeSystem'; + if (mode === 'light') return 'menu.themeLight'; + return isUltra ? 'menu.themeUltraDark' : 'menu.themeDark'; +} + function applyDom(isDark: boolean, isUltra: boolean) { document.body.classList.remove('dark', 'light'); document.body.classList.add(isDark ? 'dark' : 'light'); @@ -30,9 +100,10 @@ function applyDom(isDark: boolean, isUltra: boolean) { } // module load so the document is in the right theme before React mounts. -const initialDark = readBool(STORAGE_DARK, true); -const initialUltra = readBool(STORAGE_ULTRA, false); -applyDom(initialDark, initialUltra); +const initialMode = readMode(); +const initialUltra = readUltra(); +const initialDark = resolveDark(initialMode, systemPrefersDark()); +applyDom(initialDark, initialUltra && initialDark); const DARK_TOKENS = { colorBgBase: '#1a1b1f', @@ -151,33 +222,54 @@ export function pauseAnimationsUntilLeave(elementId: string): void { } interface ThemeContextValue { + /** The stored preference: light, dark, or follow the OS. */ + mode: ThemeMode; + /** Resolved appearance — `system` collapsed against the OS scheme. */ isDark: boolean; + /** Ultra dark is a variant of dark and never applies to light. */ isUltra: boolean; - toggleTheme: () => void; - toggleUltra: () => void; + /** Walks light → dark → ultra dark → system → light. */ + cycleTheme: () => void; antdThemeConfig: ThemeConfig; } const ThemeContext = createContext(null); export function ThemeProvider({ children }: { children: ReactNode }) { - const [isDark, setIsDark] = useState(initialDark); - const [isUltra, setIsUltra] = useState(initialUltra); + // Read at mount so a preference written by another tab or a test is honoured. + const [mode, setModeState] = useState(readMode); + const [ultraRequested, setUltraRequested] = useState(readUltra); + // Tracks the OS scheme live so `system` mode follows the user flipping their + // desktop appearance without a reload. + const systemDark = useSyncExternalStore(subscribeSystemScheme, systemPrefersDark, () => false); + + const isDark = resolveDark(mode, systemDark); + const isUltra = ultraRequested && isDark; useLayoutEffect(() => { applyDom(isDark, isUltra); + localStorage.setItem(STORAGE_MODE, mode); localStorage.setItem(STORAGE_DARK, String(isDark)); localStorage.setItem(STORAGE_ULTRA, String(isUltra)); - }, [isDark, isUltra]); + }, [mode, isDark, isUltra]); - const toggleTheme = useCallback(() => setIsDark((v) => !v), []); - const toggleUltra = useCallback(() => setIsUltra((v) => !v), []); + const cycleTheme = useCallback(() => { + const next = nextTheme(mode, isUltra); + setModeState(next.mode); + setUltraRequested(next.ultra); + }, [mode, isUltra]); const antdThemeConfig = useMemo(() => buildAntdThemeConfig(isDark, isUltra), [isDark, isUltra]); const value = useMemo( - () => ({ isDark, isUltra, toggleTheme, toggleUltra, antdThemeConfig }), - [isDark, isUltra, toggleTheme, toggleUltra, antdThemeConfig], + () => ({ + mode, + isDark, + isUltra, + cycleTheme, + antdThemeConfig, + }), + [mode, isDark, isUltra, cycleTheme, antdThemeConfig], ); return {children}; diff --git a/frontend/src/i18n/react.ts b/frontend/src/i18n/react.ts index 7ca9d78d0..bec4dd670 100644 --- a/frontend/src/i18n/react.ts +++ b/frontend/src/i18n/react.ts @@ -9,14 +9,13 @@ import enUS from '../../../internal/web/translation/en-US.json'; const FALLBACK = 'en-US'; -// No locale uses $t(...) nesting, and its regex backtracks exponentially on an unclosed -// "$t(" in untrusted text (node-reported names, remarks); no off switch, so never match. +// No locale uses $t(...) nesting, and untrusted text (node-reported names, remarks) must not +// reach it; i18next 27 has no off switch, so the prefix is a NUL that no text contains. export const INTERPOLATION: InterpolationOptions = { escapeValue: false, prefix: '{', suffix: '}', - nestingPrefix: '', - nestingPrefixEscaped: '(?!)', + nestingPrefix: '\u0000', }; const lazyModules = import.meta.glob([ diff --git a/frontend/src/layouts/AppSidebar.tsx b/frontend/src/layouts/AppSidebar.tsx index e86cc260d..52aa347b9 100644 --- a/frontend/src/layouts/AppSidebar.tsx +++ b/frontend/src/layouts/AppSidebar.tsx @@ -11,6 +11,7 @@ import { ClusterOutlined, CodeOutlined, DatabaseOutlined, + DesktopOutlined, DiscordOutlined, GithubOutlined, HeartOutlined, @@ -27,11 +28,13 @@ import { SettingOutlined, SunOutlined, TelegramFilled, + WechatOutlined, } from '@ant-design/icons'; import { HttpUtil } from '@/utils'; import { formatPanelVersion } from '@/lib/panel-version'; -import { pauseAnimationsUntilLeave, useTheme } from '@/hooks/useTheme'; +import { pauseAnimationsUntilLeave, themeModeKey, useTheme } from '@/hooks/useTheme'; +import type { ThemeMode } from '@/hooks/useTheme'; import { useAllSettings } from '@/api/queries/useAllSettings'; import { useCommandPalette } from '@/components/command-palette/useCommandPalette'; import { PANEL_ROUTES } from '@/routes/panelRoutes'; @@ -100,24 +103,29 @@ function VersionBadge({ version, collapsed }: { version: string; collapsed?: boo function ThemeCycleButton({ id, + mode, isDark, isUltra, onCycle, ariaLabel, }: { id: string; + mode: ThemeMode; isDark: boolean; isUltra: boolean; onCycle: () => void; ariaLabel: string; }) { - const icon = !isDark ? ( - - ) : !isUltra ? ( - - ) : ( - - ); + const icon = + mode === 'system' ? ( + + ) : !isDark ? ( + + ) : !isUltra ? ( + + ) : ( + + ); return ( + + ); +} diff --git a/frontend/src/pages/clients/ClientExternalLinksFields.tsx b/frontend/src/pages/clients/ClientExternalLinksFields.tsx new file mode 100644 index 000000000..ba0a66a6f --- /dev/null +++ b/frontend/src/pages/clients/ClientExternalLinksFields.tsx @@ -0,0 +1,171 @@ +import { Button, Input, Switch, Tooltip, Typography } from 'antd'; +import { DeleteOutlined, PlusOutlined } from '@ant-design/icons'; +import dayjs from 'dayjs'; +import { Controller, useFieldArray, useFormContext } from 'react-hook-form'; +import { useTranslation } from 'react-i18next'; + +import { DateTimePicker } from '@/components/form'; +import { FormField, rhfZodValidateAsync } from '@/components/form/rhf'; +import { resolveExternalLinkExpiry } from '@/lib/clients/external-link'; +import { + ExternalShareLinkValueSchema, + ExternalSubscriptionValueSchema, + type ExternalLinksFormValues, +} from '@/schemas/external-link'; + +export default function ClientExternalLinksFields({ + clientExpiry = 0, + showFetchStatus = true, +}: { + clientExpiry?: number; + showFetchStatus?: boolean; +}) { + const { t } = useTranslation(); + const { control } = useFormContext(); + const { fields, append, remove } = useFieldArray({ control, name: 'externalLinks' }); + + return ( + <> + {(['link', 'subscription'] as const).map((kind) => { + const rows = fields + .map((field, index) => ({ field, index })) + .filter(({ field }) => field.kind === kind); + return ( +
+ +
+ {rows.length === 0 ? ( + + {t( + kind === 'link' + ? 'pages.clients.noExternalLinks' + : 'pages.clients.noExternalSubscriptions', + )} + + ) : ( + rows.map(({ field, index }) => ( +
+
+
+ + + + {t('enable')} +
+ + + + +
+
+ + + + {kind === 'subscription' && ( + + + + )} + { + const displayed = resolveExternalLinkExpiry( + expiryField.value, + clientExpiry, + ); + return ( + 0 ? dayjs(displayed) : null} + onChange={(value) => + expiryField.onChange(value ? value.valueOf() : 0) + } + placeholder={t('pages.inbounds.leaveBlankToNeverExpire')} + allowClear={Number(expiryField.value) > 0} + maxDate={clientExpiry > 0 ? dayjs(clientExpiry) : undefined} + /> + ); + }} + /> +
+ {kind === 'subscription' && showFetchStatus && ( + + {field.lastFetchError + ? `${t('pages.clients.lastFetchError')}: ${field.lastFetchError}` + : field.lastFetchAt > 0 + ? `${t('pages.clients.lastFetchAt')}: ${dayjs(field.lastFetchAt).format('YYYY-MM-DD HH:mm:ss')}` + : t('pages.clients.neverFetched')} + + )} +
+ )) + )} +
+
+ ); + })} + + ); +} diff --git a/frontend/src/pages/clients/ClientFormModal.css b/frontend/src/pages/clients/ClientFormModal.css index 3e5803424..52c695eed 100644 --- a/frontend/src/pages/clients/ClientFormModal.css +++ b/frontend/src/pages/clients/ClientFormModal.css @@ -3,3 +3,29 @@ .client-form-modal .ant-tabs-content > .ant-form-item:last-child { margin-bottom: 0; } + +/* Four labelled buttons are wider than a phone and would widen the modal past the + screen, so below the md breakpoint the two extra actions keep only their icon. */ +.client-form-footer { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 8px; +} + +.client-form-footer-actions { + display: flex; + gap: 8px; + margin-inline-start: auto; +} + +@media (max-width: 767px) { + .client-form-footer-extra.ant-btn { + padding-inline: 0; + width: 32px; + } + + .client-form-footer-extra.ant-btn > span:not(.ant-btn-icon) { + display: none; + } +} diff --git a/frontend/src/pages/clients/ClientFormModal.tsx b/frontend/src/pages/clients/ClientFormModal.tsx index e079ca354..a55c11173 100644 --- a/frontend/src/pages/clients/ClientFormModal.tsx +++ b/frontend/src/pages/clients/ClientFormModal.tsx @@ -19,28 +19,24 @@ import { Typography, message, } from 'antd'; -import { - DeleteOutlined, - EyeOutlined, - PlusOutlined, - ReloadOutlined, - RetweetOutlined, -} from '@ant-design/icons'; +import { EyeOutlined, HistoryOutlined, ReloadOutlined, RetweetOutlined } from '@ant-design/icons'; import dayjs from 'dayjs'; import type { Dayjs } from 'dayjs'; -import { Controller, FormProvider, useForm, useWatch, useFieldArray } from 'react-hook-form'; +import { FormProvider, useForm, useWatch, type FieldPath } from 'react-hook-form'; import { HttpUtil, IntlUtil, RandomUtil, Wireguard } from '@/utils'; import { formatInboundLabel } from '@/lib/inbounds/label'; import { generateMtprotoSecret } from '@/lib/xray/inbound-defaults'; import { normalizeClientIps, type ClientIpInfo } from '@/lib/clients/ip-log'; -import { resolveExternalLinkExpiry } from '@/lib/clients/external-link'; +import { ExternalLinksFormSchema, type ExternalLinkRow } from '@/schemas/external-link'; +import ClientExternalLinksFields from './ClientExternalLinksFields'; import { useDatepicker } from '@/hooks/useDatepicker'; import { useClientHwids } from '@/hooks/useClientHwids'; import { useRawHostsQuery } from '@/api/queries/useRawHostsQuery'; import { DateTimePicker, SelectAllClearButtons, selectTagRender } from '@/components/form'; import { FormField, rhfZodValidate } from '@/components/form/rhf'; import ClientHwidListModal from '@/components/clients/ClientHwidList'; +import ClientUsageHistoryModal from '@/components/clients/ClientUsageHistoryModal'; import { TLS_FLOW_CONTROL, TRAFFIC_RESETS } from '@/schemas/primitives'; import { OptionalAmneziaWGKeepAliveInputSchema, @@ -77,17 +73,6 @@ const MULTI_CLIENT_PROTOCOLS = new Set([ const CLIENT_FORM_MODAL_Z_INDEX = 1000; const CLIENT_IP_LOG_MODAL_Z_INDEX = CLIENT_FORM_MODAL_Z_INDEX + 1; -interface ExternalLinkRow { - kind: 'link' | 'subscription'; - value: string; - remark: string; - enable: boolean; - expiryTime: number; - namePrefix: string; - lastFetchAt: number; - lastFetchError: string; -} - interface ApiMsg { success?: boolean; msg?: string; @@ -136,6 +121,7 @@ interface ClientFormModalProps { type Values = ClientFormValues & { expiryDate: number; limitHwid: number; + wgDeviceLimit: number; externalLinks: ExternalLinkRow[]; clientHostRuleIds: number[]; wgPrivateKey: string; @@ -171,6 +157,7 @@ const EMPTY: Values = { trafficResetDay: 1, limitIp: 0, limitHwid: 0, + wgDeviceLimit: 5, tgId: 0, group: '', comment: '', @@ -267,6 +254,7 @@ export default function ClientFormModal({ const uid = useId(); const [messageApi, messageContextHolder] = message.useMessage(); const isEdit = mode === 'edit'; + const minWireguardDeviceLimit = Math.max(1, (client?.wireguardDevices?.length ?? 0) + 1); const methods = useForm({ defaultValues: EMPTY }); const inboundIds = useWatch({ control: methods.control, name: 'inboundIds' }); @@ -286,13 +274,9 @@ export default function ClientFormModal({ const auth = useWatch({ control: methods.control, name: 'auth' }); const wgPrivateKey = useWatch({ control: methods.control, name: 'wgPrivateKey' }); const limitIp = useWatch({ control: methods.control, name: 'limitIp' }); - const { - fields: externalLinkFields, - append: appendExternalLink, - remove: removeExternalLink, - } = useFieldArray({ control: methods.control, name: 'externalLinks' }); const [submitting, setSubmitting] = useState(false); + const [activeTab, setActiveTab] = useState('basic'); const [resetting, setResetting] = useState(false); const [clientIps, setClientIps] = useState([]); const [ipsLoading, setIpsLoading] = useState(false); @@ -303,11 +287,14 @@ export default function ClientFormModal({ hwidsLoading, hwidsClearing, deletingHwidId, + blockingHwidId, loadHwids, clearHwids, deleteHwid, + setHwidBlocked, } = useClientHwids(client?.email); const [hwidsModalOpen, setHwidsModalOpen] = useState(false); + const [usageHistoryOpen, setUsageHistoryOpen] = useState(false); const { datepicker } = useDatepicker(); const hwidDateLabel = (ts: number) => !ts || ts <= 0 ? '-' : IntlUtil.formatDate(ts, datepicker); @@ -336,19 +323,6 @@ export default function ClientFormModal({ return ids; }, [inbounds]); - function addExternalLinkRow(kind: 'link' | 'subscription') { - appendExternalLink({ - kind, - value: '', - remark: '', - enable: true, - expiryTime: 0, - namePrefix: '', - lastFetchAt: 0, - lastFetchError: '', - }); - } - useEffect(() => { if (!open) return; setIpsModalOpen(false); @@ -390,6 +364,7 @@ export default function ClientFormModal({ trafficResetDay: Number(client.trafficResetDay) || 1, limitIp: client.limitIp || 0, limitHwid: client.limitHwid || 0, + wgDeviceLimit: client.wgDeviceLimit || 5, tgId: Number(client.tgId) || 0, group: client.group || '', comment: client.comment || '', @@ -646,13 +621,6 @@ export default function ClientFormModal({ [expiryDate], ); - const linkRows = externalLinkFields - .map((field, index) => ({ field, index })) - .filter((row) => row.field.kind === 'link'); - const subscriptionRows = externalLinkFields - .map((field, index) => ({ field, index })) - .filter((row) => row.field.kind === 'subscription'); - async function loadIps() { if (!isEdit || !client?.email) return; setIpsLoading(true); @@ -713,7 +681,20 @@ export default function ClientFormModal({ } async function onSubmit() { + await methods.trigger('externalLinks'); const values = methods.getValues(); + if (showWireguard && !(await methods.trigger('wgDeviceLimit'))) return; + const externalValidation = await ExternalLinksFormSchema.safeParseAsync(values); + if (!externalValidation.success) { + for (const issue of externalValidation.error.issues) { + methods.setError(issue.path.join('.') as FieldPath, { + type: 'validate', + message: issue.message, + }); + } + setActiveTab('links'); + return; + } const unchangedLegacyKeepAlive = isEdit && typeof client?.keepAlive === 'number' && @@ -798,10 +779,11 @@ export default function ClientFormModal({ comment: values.comment, enable: !!values.enable, }; + if (showWireguard) clientPayload.wgDeviceLimit = values.wgDeviceLimit; + // Sent even when empty, so clearing the tag never rests on how the server + // reads an omitted key. const reverseTagValue = showReverseTag ? (values.reverseTag || '').trim() : ''; - if (reverseTagValue) { - clientPayload.reverse = { tag: reverseTagValue }; - } + clientPayload.reverse = reverseTagValue ? { tag: reverseTagValue } : null; if (showWireguard || showAmneziawg) { // AmneziaWG peers are wire-identical to WireGuard peers (same @@ -906,8 +888,9 @@ export default function ClientFormModal({ body: { maxHeight: 'calc(100vh - 160px)', overflowY: 'auto', overflowX: 'hidden' }, }} onCancel={close} + afterClose={() => setActiveTab('basic')} footer={ -
+
{isEdit && resetTraffic && ( )} -
+ {isEdit && client?.email && ( + + )} +
+ Number(value) }} + rules={{ + validate: (value) => + (Number.isInteger(value) && + value >= minWireguardDeviceLimit && + value <= 32) || + `${t('pages.clients.wgDevices.limit')} (${minWireguardDeviceLimit}–32)`, + }} + > + + + + )} @@ -1546,165 +1566,7 @@ export default function ClientFormModal({ {t('pages.clients.linksHint')} - -
- {linkRows.length === 0 ? ( - - {t('pages.clients.noExternalLinks')} - - ) : ( - linkRows.map(({ field, index }) => ( -
-
-
- - - - {t('enable')} -
- - - - -
-
- - - - { - const displayedExpiry = resolveExternalLinkExpiry( - expiryField.value, - expiryDate, - ); - const hasSpecificExpiry = Number(expiryField.value) > 0; - return ( - 0 ? dayjs(displayedExpiry) : null} - onChange={(v) => expiryField.onChange(v ? v.valueOf() : 0)} - placeholder={t('pages.inbounds.leaveBlankToNeverExpire')} - allowClear={hasSpecificExpiry} - maxDate={expiryDate > 0 ? dayjs(expiryDate) : undefined} - /> - ); - }} - /> -
-
- )) - )} -
- - -
- {subscriptionRows.length === 0 ? ( - - {t('pages.clients.noExternalSubscriptions')} - - ) : ( - subscriptionRows.map(({ field, index }) => ( -
-
-
- - - - {t('enable')} -
- - - - -
-
- - - - - - - { - const displayedExpiry = resolveExternalLinkExpiry( - expiryField.value, - expiryDate, - ); - const hasSpecificExpiry = Number(expiryField.value) > 0; - return ( - 0 ? dayjs(displayedExpiry) : null} - onChange={(v) => expiryField.onChange(v ? v.valueOf() : 0)} - placeholder={t('pages.inbounds.leaveBlankToNeverExpire')} - allowClear={hasSpecificExpiry} - maxDate={expiryDate > 0 ? dayjs(expiryDate) : undefined} - /> - ); - }} - /> -
- - {field.lastFetchError - ? `${t('pages.clients.lastFetchError')}: ${field.lastFetchError}` - : field.lastFetchAt > 0 - ? `${t('pages.clients.lastFetchAt')}: ${dayjs(field.lastFetchAt).format('YYYY-MM-DD HH:mm:ss')}` - : t('pages.clients.neverFetched')} - -
- )) - )} -
+ ), }, @@ -1781,12 +1643,21 @@ export default function ClientFormModal({ loading={hwidsLoading} clearing={hwidsClearing} deletingId={deletingHwidId} + blockingId={blockingHwidId} formatDate={hwidDateLabel} onRefresh={loadHwids} onClearAll={clearHwids} onDelete={deleteHwid} + onSetBlocked={setHwidBlocked} onClose={() => setHwidsModalOpen(false)} /> + + setUsageHistoryOpen(false)} + /> ); } diff --git a/frontend/src/pages/clients/ClientInfoModal.tsx b/frontend/src/pages/clients/ClientInfoModal.tsx index e32990687..0419d50f6 100644 --- a/frontend/src/pages/clients/ClientInfoModal.tsx +++ b/frontend/src/pages/clients/ClientInfoModal.tsx @@ -1,3 +1,5 @@ +import ClientWireguardDevices from './ClientWireguardDevices'; +import { useClientWireguardDevices } from '@/hooks/useClientWireguardDevices'; import { useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Button, Divider, Modal, Popover, Tag, Tooltip, message } from 'antd'; @@ -21,7 +23,7 @@ import { QrPanel } from '@/pages/inbounds/qr'; import ClientHwidListModal from '@/components/clients/ClientHwidList'; import ConfigBlock from '@/components/clients/ConfigBlock'; import { - buildWireguardClientConfig, + buildWireguardDeviceConfigs, findWireguardInbounds, isWireguardClient, } from './wireguardConfig'; @@ -127,9 +129,11 @@ export default function ClientInfoModal({ hwidsLoading, hwidsClearing, deletingHwidId, + blockingHwidId, loadHwids, clearHwids, deleteHwid, + setHwidBlocked, resetHwids, } = useClientHwids(client?.email); const [hwidsModalOpen, setHwidsModalOpen] = useState(false); @@ -191,21 +195,20 @@ export default function ClientInfoModal({ () => findWireguardInbounds(client, inboundsById), [client, inboundsById], ); + const wireguardDevices = useClientWireguardDevices(client?.email, open && wgInbounds.length > 0); const wgConfigs = useMemo(() => { if (!client || !isWireguardClient(client)) return []; - const host = window.location.hostname; - const publicHost = subSettings?.publicHost ?? ''; - return wgInbounds - .flatMap((ib) => { - const address = tunnelAllowedIPs?.[ib.id] ?? ''; - return tunnelConfigEndpoints(ib, hosts, host, publicHost).map((ep) => ({ - inbound: ib, - endpoint: tunnelEndpointLabel(ep), - text: buildWireguardClientConfig(client, ib, host, publicHost, address, ep), - })); - }) - .filter((c) => !!c.text); - }, [client, wgInbounds, tunnelAllowedIPs, subSettings?.publicHost, hosts]); + return buildWireguardDeviceConfigs( + client, + wgInbounds, + wireguardDevices.data, + tunnelAllowedIPs, + hosts, + window.location.hostname, + subSettings.publicHost ?? '', + true, + ); + }, [client, wgInbounds, wireguardDevices.data, tunnelAllowedIPs, subSettings.publicHost, hosts]); const awgInbounds = useMemo( () => findAmneziaWGInbounds(client, inboundsById), @@ -214,7 +217,7 @@ export default function ClientInfoModal({ const awgConfigs = useMemo(() => { if (!client || !isAmneziaWGClient(client)) return []; const host = window.location.hostname; - const publicHost = subSettings?.publicHost ?? ''; + const publicHost = subSettings.publicHost ?? ''; return awgInbounds .flatMap((ib) => { const address = tunnelAllowedIPs?.[ib.id] ?? ''; @@ -225,7 +228,7 @@ export default function ClientInfoModal({ })); }) .filter((c) => !!c.text); - }, [client, awgInbounds, tunnelAllowedIPs, subSettings?.publicHost, hosts]); + }, [client, awgInbounds, tunnelAllowedIPs, subSettings.publicHost, hosts]); async function copyValue(text: string) { if (!text) return; @@ -796,28 +799,13 @@ export default function ClientInfoModal({ )} - {wgConfigs.length > 0 && client && ( - <> - {t('pages.clients.wireguardConfig')} - {wgConfigs.map(({ inbound, endpoint, text }) => { - const meta = formatTunnelConfigMeta( - inbound, - client.email, - wgConfigs.length, - endpoint, - ); - return ( - - ); - })} - + {wgInbounds.length > 0 && client && ( + )} {awgConfigs.length > 0 && client && ( @@ -912,10 +900,12 @@ export default function ClientInfoModal({ loading={hwidsLoading} clearing={hwidsClearing} deletingId={deletingHwidId} + blockingId={blockingHwidId} formatDate={dateLabel} onRefresh={loadHwids} onClearAll={clearHwids} onDelete={deleteHwid} + onSetBlocked={setHwidBlocked} onClose={() => setHwidsModalOpen(false)} /> diff --git a/frontend/src/pages/clients/ClientQrModal.tsx b/frontend/src/pages/clients/ClientQrModal.tsx index 2ff5a1698..ecfd9b414 100644 --- a/frontend/src/pages/clients/ClientQrModal.tsx +++ b/frontend/src/pages/clients/ClientQrModal.tsx @@ -1,3 +1,4 @@ +import { useClientWireguardDevices } from '@/hooks/useClientWireguardDevices'; import { useCallback, useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useNavigate } from 'react-router'; @@ -12,7 +13,7 @@ import { QrPanel } from '@/pages/inbounds/qr'; import type { ClientRecord, InboundOption } from '@/hooks/useClients'; import { formatTunnelConfigMeta } from '@/lib/inbounds/label'; import { - buildWireguardClientConfig, + buildWireguardDeviceConfigs, findWireguardInbounds, isWireguardClient, } from './wireguardConfig'; @@ -330,21 +331,20 @@ function ClientQrModalContent({ () => findWireguardInbounds(client, inboundsById), [client, inboundsById], ); + const wireguardDevices = useClientWireguardDevices(client?.email, open && wgInbounds.length > 0); const wgConfigs = useMemo(() => { if (!client || !isWireguardClient(client)) return []; - const host = window.location.hostname; - const publicHost = subSettings.publicHost ?? ''; - return wgInbounds - .flatMap((ib) => { - const address = tunnelAllowedIPs?.[ib.id] ?? ''; - return tunnelConfigEndpoints(ib, hosts, host, publicHost).map((ep) => ({ - inbound: ib, - endpoint: tunnelEndpointLabel(ep), - text: buildWireguardClientConfig(client, ib, host, publicHost, address, ep), - })); - }) - .filter((c) => !!c.text); - }, [client, wgInbounds, tunnelAllowedIPs, subSettings.publicHost, hosts]); + return buildWireguardDeviceConfigs( + client, + wgInbounds, + wireguardDevices.data, + tunnelAllowedIPs, + hosts, + window.location.hostname, + subSettings.publicHost ?? '', + true, + ); + }, [client, wgInbounds, wireguardDevices.data, tunnelAllowedIPs, subSettings.publicHost, hosts]); const awgInbounds = useMemo( () => findAmneziaWGInbounds(client, inboundsById), @@ -472,7 +472,7 @@ function ClientQrModalContent({ ), }); }); - wgConfigs.forEach(({ inbound, endpoint, text }) => { + wgConfigs.forEach(({ inbound, deviceId, endpoint, text }) => { const meta = formatTunnelConfigMeta(inbound, client?.email, wgConfigs.length, endpoint); const label = ( @@ -483,9 +483,19 @@ function ClientQrModalContent({ ); out.push({ - key: `wg-config-${inbound.id}-${endpoint}`, + key: `wg-config-${inbound.id}-${deviceId}-${endpoint}`, label, - children: , + children: ( + + ), }); }); awgConfigs.forEach(({ inbound, endpoint, text }) => { diff --git a/frontend/src/pages/clients/ClientWireguardDevices.tsx b/frontend/src/pages/clients/ClientWireguardDevices.tsx new file mode 100644 index 000000000..5b8046597 --- /dev/null +++ b/frontend/src/pages/clients/ClientWireguardDevices.tsx @@ -0,0 +1,190 @@ +import { useState } from 'react'; +import { Alert, Button, Divider, Dropdown, Modal, Popover, Tag, Tooltip, message } from 'antd'; +import { + CheckOutlined, + CopyOutlined, + DownloadOutlined, + MoreOutlined, + PlusOutlined, + QrcodeOutlined, +} from '@ant-design/icons'; +import { useTranslation } from 'react-i18next'; +import { ClipboardManager, FileManager } from '@/utils'; +import { formatTunnelConfigMeta } from '@/lib/inbounds/label'; +import { QrPanel } from '@/pages/inbounds/qr'; +import PromptModal from '@/components/feedback/PromptModal'; +import type { useClientWireguardDevices } from '@/hooks/useClientWireguardDevices'; +import type { buildWireguardDeviceConfigs } from './wireguardConfig'; + +type DevicesState = ReturnType; + +export default function ClientWireguardDevices({ + state, + subLink, + clientEmail, + configs, +}: { + state: DevicesState; + subLink: string; + clientEmail: string; + configs: ReturnType; +}) { + const { t } = useTranslation(); + const [modal, modalContext] = Modal.useModal(); + const [messageApi, messageContext] = message.useMessage(); + const [prompt, setPrompt] = useState<{ id: string; name: string } | null>(null); + const deviceCount = state.data?.inbounds[0]?.devices.length ?? 0; + + async function copy(text: string) { + if (await ClipboardManager.copyText(text)) messageApi.success(t('copied')); + } + + function copySubscription(id: string) { + const url = new URL(subLink, window.location.href); + if (id !== 'primary') url.searchParams.set('wgDevice', id); + void copy(url.toString()); + } + + return ( + <> + {modalContext} + {messageContext} + {t('pages.clients.wgDevices.title')} + {configs.map((config) => { + const { inbound, deviceId, deviceName, text, enabled } = config; + const name = deviceName || t('pages.clients.wgDevices.primary'); + const meta = formatTunnelConfigMeta(inbound, clientEmail, configs.length, config.endpoint); + const label = + meta.label || [inbound.remark || inbound.tag, name].filter(Boolean).join(' · '); + const device = state.data?.inbounds + .find((entry) => entry.inboundId === inbound.id) + ?.devices.find((entry) => entry.id === deviceId); + const items = [ + ...(deviceId !== 'primary' + ? [ + { key: 'rename', label: t('edit') }, + { + key: 'enable', + label: t('pages.clients.wgDevices.enabled'), + icon: device?.enable ? : null, + }, + ] + : []), + ...(subLink + ? [{ key: 'subscription', label: t('pages.clients.wgDevices.subscription') }] + : []), + ...(deviceId !== 'primary' + ? [{ key: 'delete', label: t('pages.clients.wgDevices.remove'), danger: true }] + : []), + ]; + return ( +
+ + + WG + + + + {label} + +
+ +
+
+ ); + })} + + {state.error && } + {state.mutationError && } + setPrompt(null)} + onConfirm={(value) => { + const name = value.trim(); + if (!name || !prompt) return; + if (prompt.id) state.update(prompt.id, { name }); + else state.create(name); + setPrompt(null); + }} + /> + + ); +} diff --git a/frontend/src/pages/clients/ClientsPage.css b/frontend/src/pages/clients/ClientsPage.css index 17795ad03..d18c2f2f2 100644 --- a/frontend/src/pages/clients/ClientsPage.css +++ b/frontend/src/pages/clients/ClientsPage.css @@ -31,9 +31,15 @@ margin-bottom: 12px; } +/* Sticks below the fixed drawer handle (12px + 40px) rather than under it. */ .filter-bar.mobile { + position: sticky; + top: 60px; + z-index: 10; gap: 6px; - margin-bottom: 8px; + margin: 0 -12px 8px; + padding: 6px 12px; + background: var(--bg-card); } .filter-bar.mobile > * { @@ -332,3 +338,50 @@ text-align: center; color: var(--ant-color-text-secondary); } + +.clients-page + .ant-table-wrapper + .ant-table-tbody + > tr.client-row-expiring:not(.ant-table-row-selected) + > td { + background: var(--ant-color-warning-bg); +} + +.clients-page + .ant-table-wrapper + .ant-table-tbody + > tr.client-row-expiring:not(.ant-table-row-selected):hover + > td { + background: var(--ant-color-warning-bg-hover); +} + +.clients-page + .ant-table-wrapper + .ant-table-tbody + > tr.client-row-depleted:not(.ant-table-row-selected) + > td { + background: var(--ant-color-error-bg); +} + +.clients-page + .ant-table-wrapper + .ant-table-tbody + > tr.client-row-depleted:not(.ant-table-row-selected):hover + > td { + background: var(--ant-color-error-bg-hover); +} + +.client-card.is-expiring:not(.is-selected) { + border-color: var(--ant-color-warning-border); + background: var(--ant-color-warning-bg); +} + +.client-card.is-depleted:not(.is-selected) { + border-color: var(--ant-color-error-border); + background: var(--ant-color-error-bg); +} + +/* The menu item owns the click, so the box only shows the state. */ +.column-picker-check { + pointer-events: none; +} diff --git a/frontend/src/pages/clients/ClientsPage.tsx b/frontend/src/pages/clients/ClientsPage.tsx index c7e7754c5..3a269096d 100644 --- a/frontend/src/pages/clients/ClientsPage.tsx +++ b/frontend/src/pages/clients/ClientsPage.tsx @@ -93,6 +93,8 @@ const BulkDetachInboundsModal = lazy(() => import('./BulkDetachInboundsModal')); const TextModal = lazy(() => import('@/components/feedback/TextModal')); const PromptModal = lazy(() => import('@/components/feedback/PromptModal')); import { ClientInboundChips, ClientRowActions } from './RowCells'; +import ClientColumnPicker from './ClientColumnPicker'; +import { clientColumnOptions, hideClientColumns, useHiddenClientColumns } from './columnVisibility'; import { emptyFilters, activeFilterCount } from './filters'; import type { ClientFilters } from './filters'; import './ClientsPage.css'; @@ -1055,7 +1057,7 @@ export default function ClientsPage() { if (pag?.pageSize) setPageSizeChoice(pag.pageSize); }; - const columns = useMemo>( + const baseColumns = useMemo>( () => [ { title: t('pages.clients.actions'), @@ -1241,6 +1243,24 @@ export default function ClientsPage() { ], ); + const [hiddenColumns, setHiddenColumns] = useHiddenClientColumns(); + + const columnOptions = useMemo(() => clientColumnOptions(baseColumns), [baseColumns]); + const columns = useMemo( + () => hideClientColumns(baseColumns, hiddenColumns), + [baseColumns, hiddenColumns], + ); + + const rowClassName = useCallback( + (record: ClientRecord) => { + const bucket = clientBucket(record); + if (bucket === 'depleted') return 'client-row-depleted'; + if (bucket === 'expiring') return 'client-row-expiring'; + return ''; + }, + [clientBucket], + ); + const tablePagination = { current: currentPage, pageSize: tablePageSize, @@ -1558,6 +1578,13 @@ export default function ClientsPage() { {!isMobile && t('filter')} + {!isMobile && ( +
r} + pagination={false} + dataSource={spares} + locale={{ emptyText: t('pages.inbounds.realityWatch.noSpares') }} + columns={[ + { title: t('pages.inbounds.form.target'), render: (_, r: string) => r }, + { + title: t('pages.inbounds.realityWatch.realTest'), + width: 190, + render: (_, r: string) => { + const res = tests[r]; + return res ? ( + + {res.feasible + ? `${t('pages.inbounds.realityWatch.testOk')}${res.latencyMs > 0 ? ` · ${res.latencyMs} ms` : ''}` + : t('pages.inbounds.realityWatch.testFailed')} + + ) : ( + + ); + }, + }, + { + width: 96, + render: (_, r: string) => ( + + {!isDraft && ( + + + {!isDraft && ( + + )} + + + + {!!status?.events?.length && ( + + + {[...status.events].reverse().map((ev) => ( + + {dayjs.unix(ev.at).format('MM-DD HH:mm')} ·{' '} + {ev.to + ? t('pages.inbounds.realityWatch.eventSwitched', { from: ev.from, to: ev.to }) + : t('pages.inbounds.realityWatch.eventNoSpare', { from: ev.from })} + + ))} + + + )} + setScannerOpen(false)} + scanRealityCandidates={scanRealityCandidates} + onPick={(r) => { + setSpares((prev) => addSpare(prev, r.target, currentTarget)); + setDirty(true); + }} + /> + + ); +} diff --git a/frontend/src/pages/inbounds/form/security/reality.tsx b/frontend/src/pages/inbounds/form/security/reality.tsx index 0b5649138..e388dcf6e 100644 --- a/frontend/src/pages/inbounds/form/security/reality.tsx +++ b/frontend/src/pages/inbounds/form/security/reality.tsx @@ -1,3 +1,4 @@ +import { NativeSelect } from '@/components/form/NativeSelect'; import { useState, useId } from 'react'; import { useFormContext, useWatch } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; @@ -25,7 +26,9 @@ import { validateRealityMaxClientVer, validateRealityTarget, } from '@/lib/xray/stream-wire-normalize'; -import type { RealityScanResult } from '@/generated/types'; +import type { RealityScanResult, RealityWatchEntry } from '@/generated/types'; +import type { MessageInstance } from 'antd/es/message/interface'; +import RealityWatchSection from './RealityWatchSection'; import RealityTargetScannerModal, { MLDSA65_MIN_CERT_CHAIN_BYTES, } from './RealityTargetScannerModal'; @@ -43,6 +46,11 @@ interface RealityFormProps { clearRealityKeypair: () => void; genMldsa65: () => void; clearMldsa65: () => void; + inboundId?: number | null; + onNode?: boolean; + messageApi?: MessageInstance; + onWatchDraftChange?: (entry: RealityWatchEntry) => void; + onWatchSwitched?: (target: string, serverNames: string[]) => void; } export default function RealityForm({ @@ -58,6 +66,11 @@ export default function RealityForm({ clearRealityKeypair, genMldsa65, clearMldsa65, + inboundId = null, + onNode = false, + messageApi, + onWatchDraftChange, + onWatchSwitched, }: RealityFormProps) { const { t } = useTranslation(); const uid = useId(); @@ -112,7 +125,9 @@ export default function RealityForm({ name={['streamSettings', 'realitySettings', 'settings', 'fingerprint']} label="uTLS" > - ({ value: u, label: u }))} /> @@ -212,7 +213,7 @@ function EchSockoptSection() { name={['streamSettings', 'tlsSettings', 'echSockopt', 'domainStrategy']} label={t('pages.xray.wireguard.domainStrategy')} > - ({ value: v, label: v }))} /> - ({ value: fp, label: fp })), diff --git a/frontend/src/pages/inbounds/form/transport/kcp.tsx b/frontend/src/pages/inbounds/form/transport/kcp.tsx index 4aef260d8..4698350ec 100644 --- a/frontend/src/pages/inbounds/form/transport/kcp.tsx +++ b/frontend/src/pages/inbounds/form/transport/kcp.tsx @@ -8,7 +8,7 @@ export default function KcpForm() { return ( <> - + - - + + - - - + + )} {/* XMUX is the connection-multiplexing layer xHTTP uses to fan out parallel requests over a small pool of upstream connections. UI-only diff --git a/frontend/src/pages/inbounds/info/InboundInfoModal.tsx b/frontend/src/pages/inbounds/info/InboundInfoModal.tsx index 299bf688d..0315aa3a1 100644 --- a/frontend/src/pages/inbounds/info/InboundInfoModal.tsx +++ b/frontend/src/pages/inbounds/info/InboundInfoModal.tsx @@ -17,7 +17,7 @@ import { preferPublicHost, } from '@/lib/xray/inbound-link'; import { inboundFromDb } from '@/lib/xray/inbound-from-db'; -import { withHostEndpoints } from '@/lib/hosts/host-link'; +import { hostLinksClosed, withHostEndpoints } from '@/lib/hosts/host-link'; import { buildInboundInfo, @@ -150,14 +150,21 @@ export default function InboundInfoModal({ window.location.hostname, subSettings?.publicHost ?? '', ); + const baseInbound = inboundFromDb(dbInbound); const inboundForLinks = withHostEndpoints( - inboundFromDb(dbInbound), + baseInbound, dbInbound.id, hosts, nodeAddress, fallbackHostname, ); - if (info.protocol === Protocols.WIREGUARD) { + if (hostLinksClosed(baseInbound, dbInbound.id, hosts)) { + setWireguardConfigs([]); + setWireguardLinks([]); + setAmneziawgConfigs([]); + setAmneziawgLinks([]); + setLinks([]); + } else if (info.protocol === Protocols.WIREGUARD) { setWireguardConfigs( genWireguardPeerConfigs({ inbound: inboundForLinks, diff --git a/frontend/src/pages/index/BackupModal.tsx b/frontend/src/pages/index/BackupModal.tsx index 473d30592..fbc09ed04 100644 --- a/frontend/src/pages/index/BackupModal.tsx +++ b/frontend/src/pages/index/BackupModal.tsx @@ -61,7 +61,7 @@ export default function BackupModal({ // importDB schedules the panel restart server-side; wait it out, then reload. onBusy({ busy: true, tip: `${t('pages.settings.restartPanel')}…` }); - await PromiseUtil.sleep(5000); + await PromiseUtil.waitForPanel(window.location.href); window.location.reload(); }); fileInput.click(); diff --git a/frontend/src/pages/index/ConnectionsCard.tsx b/frontend/src/pages/index/ConnectionsCard.tsx index a127fb2f6..128e9b4ab 100644 --- a/frontend/src/pages/index/ConnectionsCard.tsx +++ b/frontend/src/pages/index/ConnectionsCard.tsx @@ -4,6 +4,8 @@ import { Card, theme } from 'antd'; import { Sparkline } from '@/components/viz'; import type { Status } from '@/models/status'; +import OverviewRangeSelect from './OverviewRangeSelect'; +import type { OverviewRange } from './OverviewRangeSelect'; interface ConnectionsCardProps { status: Status; @@ -11,6 +13,8 @@ interface ConnectionsCardProps { udp: number[]; labels: string[]; isMobile: boolean; + range: OverviewRange; + onRangeChange: (range: OverviewRange) => void; } export default function ConnectionsCard({ @@ -19,6 +23,8 @@ export default function ConnectionsCard({ udp, labels, isMobile, + range, + onRangeChange, }: ConnectionsCardProps) { const { t } = useTranslation(); const { token } = theme.useToken(); @@ -34,7 +40,7 @@ export default function ConnectionsCard({ ); return ( - +
{t('pages.index.connectionCount')}
@@ -43,6 +49,9 @@ export default function ConnectionsCard({
+
+ +
diff --git a/frontend/src/pages/index/IndexPage.css b/frontend/src/pages/index/IndexPage.css index 8eb56ebcc..22f689698 100644 --- a/frontend/src/pages/index/IndexPage.css +++ b/frontend/src/pages/index/IndexPage.css @@ -213,14 +213,19 @@ } .ov-tile { + position: relative; overflow: hidden; } +.ov-wide-card { + position: relative; +} + .ov-tile-head { display: flex; align-items: center; gap: 8px; - padding: 14px var(--ov-pad) 0; + padding: 14px calc(var(--ov-pad) + 82px + 12px) 0 var(--ov-pad); color: var(--ov-accent); } @@ -267,10 +272,30 @@ color: var(--ov-faint); } +.ov-tile-foot > span { + display: inline-flex; + align-items: baseline; + gap: 4px; + white-space: nowrap; + unicode-bidi: plaintext; +} + .ov-tile-chart { margin-top: 6px; } +.ov-range-toolbar { + position: absolute; + z-index: 1; + top: 14px; + right: var(--ov-pad); + display: flex; +} + +.ov-range-select { + width: 82px; +} + /* — throughput + connections — */ .ov-mid { @@ -290,7 +315,7 @@ align-items: flex-start; flex-wrap: wrap; gap: 16px; - padding: var(--ov-pad) var(--ov-pad) 0; + padding: var(--ov-pad) calc(var(--ov-pad) + 82px + 12px) 0 var(--ov-pad); } .ov-wide-head-stack { diff --git a/frontend/src/pages/index/IndexPage.tsx b/frontend/src/pages/index/IndexPage.tsx index 01cee6f64..63fda3f39 100644 --- a/frontend/src/pages/index/IndexPage.tsx +++ b/frontend/src/pages/index/IndexPage.tsx @@ -30,6 +30,7 @@ import ThroughputCard from './ThroughputCard'; import ConnectionsCard from './ConnectionsCard'; import SystemStrip from './SystemStrip'; import { mean, peak, useOverviewHistory } from './useOverviewHistory'; +import type { OverviewRange } from './OverviewRangeSelect'; import type { PanelUpdateInfo } from './PanelUpdateModal'; const JsonEditor = lazy(() => import('@/components/form/JsonEditor')); const PanelUpdateModal = lazy(() => import('./PanelUpdateModal')); @@ -42,6 +43,15 @@ const AmneziaWGLogModal = lazy(() => import('./AmneziaWGLogModal')); const VersionModal = lazy(() => import('./VersionModal')); import './IndexPage.css'; +function metricFoot(label: string, value: string) { + return ( + <> + {label} + {value} + + ); +} + export default function IndexPage() { const { t } = useTranslation(); const { isDark, isUltra, antdThemeConfig } = useTheme(); @@ -76,7 +86,8 @@ export default function IndexPage() { const [loading, setLoading] = useState(false); const [loadingTip, setLoadingTip] = useState(t('loading')); - const history = useOverviewHistory(status, fetched && !fetchError); + const [historyRange, setHistoryRange] = useState(2); + const history = useOverviewHistory(status, fetched && !fetchError, historyRange); useEffect(() => { HttpUtil.post<{ accessLogEnable?: boolean; devChannelEnable?: boolean }>( @@ -238,10 +249,18 @@ export default function IndexPage() { ? `${status.logicalPro} vCPU` : `${CPUFormatter.cpuCoreFormat(status.cpuCores)} / ${status.logicalPro}T · ${CPUFormatter.cpuSpeedFormat(status.cpuSpeedMhz)}` } - footLeft={`${t('pages.index.avg')} ${mean(history.series.cpu).toFixed(0)}%`} - footRight={`${t('pages.index.peak')} ${peak(history.series.cpu).toFixed(0)}%`} + footLeft={metricFoot( + t('pages.index.avg'), + `${mean(history.series.cpu).toFixed(0)}%`, + )} + footRight={metricFoot( + t('pages.index.peak'), + `${peak(history.series.cpu).toFixed(0)}%`, + )} data={history.series.cpu} isMobile={isMobile} + range={historyRange} + onRangeChange={setHistoryRange} /> } @@ -249,10 +268,18 @@ export default function IndexPage() { percent={status.mem.percent} statusColor={status.mem.color} detail={`${SizeFormatter.sizeFormat(status.mem.current)} / ${SizeFormatter.sizeFormat(status.mem.total)}`} - footLeft={`${t('pages.index.avg')} ${mean(history.series.mem).toFixed(0)}%`} - footRight={`${t('pages.index.peak')} ${peak(history.series.mem).toFixed(0)}%`} + footLeft={metricFoot( + t('pages.index.avg'), + `${mean(history.series.mem).toFixed(0)}%`, + )} + footRight={metricFoot( + t('pages.index.peak'), + `${peak(history.series.mem).toFixed(0)}%`, + )} data={history.series.mem} isMobile={isMobile} + range={historyRange} + onRangeChange={setHistoryRange} /> } @@ -261,10 +288,18 @@ export default function IndexPage() { percent={status.swap.percent} statusColor={status.swap.color} detail={`${SizeFormatter.sizeFormat(status.swap.current)} / ${SizeFormatter.sizeFormat(status.swap.total)}`} - footLeft={`${t('pages.index.avg')} ${mean(history.series.swap).toFixed(1)}%`} - footRight={`${t('pages.index.peak')} ${peak(history.series.swap).toFixed(0)}%`} + footLeft={metricFoot( + t('pages.index.avg'), + `${mean(history.series.swap).toFixed(1)}%`, + )} + footRight={metricFoot( + t('pages.index.peak'), + `${peak(history.series.swap).toFixed(0)}%`, + )} data={history.series.swap} isMobile={isMobile} + range={historyRange} + onRangeChange={setHistoryRange} /> } @@ -272,10 +307,18 @@ export default function IndexPage() { percent={status.disk.percent} statusColor={status.disk.color} detail={`${SizeFormatter.sizeFormat(status.disk.current)} / ${SizeFormatter.sizeFormat(totalDisk)}`} - footLeft={`${t('pages.index.free')} ${SizeFormatter.sizeFormat(freeDisk)}`} - footRight={`${t('pages.index.avg')} ${mean(history.series.diskUsage).toFixed(1)}%`} + footLeft={metricFoot( + t('pages.index.free'), + SizeFormatter.sizeFormat(freeDisk), + )} + footRight={metricFoot( + t('pages.index.avg'), + `${mean(history.series.diskUsage).toFixed(1)}%`, + )} data={history.series.diskUsage} isMobile={isMobile} + range={historyRange} + onRangeChange={setHistoryRange} />
@@ -286,6 +329,8 @@ export default function IndexPage() { down={history.series.netDown} labels={history.labels} isMobile={isMobile} + range={historyRange} + onRangeChange={setHistoryRange} />
diff --git a/frontend/src/pages/index/OverviewActionBar.tsx b/frontend/src/pages/index/OverviewActionBar.tsx index 900ce1ead..9a5dbab7f 100644 --- a/frontend/src/pages/index/OverviewActionBar.tsx +++ b/frontend/src/pages/index/OverviewActionBar.tsx @@ -1,7 +1,7 @@ import { Fragment } from 'react'; import type { ReactNode } from 'react'; import { useTranslation } from 'react-i18next'; -import { Button, Tag, Tooltip } from 'antd'; +import { Button, Modal, Tag, Tooltip } from 'antd'; import { ApiOutlined, ArrowUpOutlined, @@ -11,6 +11,7 @@ import { CloudServerOutlined, ControlOutlined, FileTextOutlined, + PlayCircleOutlined, PoweroffOutlined, ReloadOutlined, } from '@ant-design/icons'; @@ -26,7 +27,7 @@ interface OverviewActionBarProps { panelVersion: string; latestVersion: string; updateAvailable: boolean; - onStopXray: () => void; + onStopXray: () => void | Promise; onRestartXray: () => void; onOpenLogs: () => void; onOpenXrayLogs: () => void; @@ -45,6 +46,9 @@ interface BarAction { text: string; onClick: () => void; primary?: boolean; + danger?: boolean; + disabled?: boolean; + hint?: string; } const XRAY_STATE_KEYS: Record = { @@ -73,16 +77,18 @@ export default function OverviewActionBar({ onOpenVersionSwitch, }: OverviewActionBarProps) { const { t } = useTranslation(); + const [modal, modalContextHolder] = Modal.useModal(); const stateText = t(XRAY_STATE_KEYS[status.xray.state] ?? 'pages.index.xrayStatusUnknown'); const hasVersion = !!status.xray.version && status.xray.version !== 'Unknown'; const size = isMobile ? ('small' as const) : ('middle' as const); + const isStopped = status.xray.state === 'stop'; const actionGroups: BarAction[][] = [ [ { key: 'restart', - icon: , - text: t('pages.index.restartXray'), + icon: isStopped ? : , + text: t(isStopped ? 'pages.index.startXray' : 'pages.index.restartXray'), onClick: onRestartXray, primary: true, }, @@ -90,7 +96,19 @@ export default function OverviewActionBar({ key: 'stop', icon: , text: t('pages.index.stopXray'), - onClick: onStopXray, + danger: true, + disabled: isStopped, + hint: isStopped ? t('pages.index.stopXrayDisabledHint') : undefined, + onClick: () => + modal.confirm({ + title: t('pages.index.stopXrayConfirmTitle'), + content: t('pages.index.stopXrayConfirmContent'), + okText: t('pages.index.stopXrayConfirmOk'), + okType: 'danger', + cancelText: t('cancel'), + focusable: { autoFocusButton: 'cancel' }, + onOk: onStopXray, + }), }, ], [ @@ -165,6 +183,7 @@ export default function OverviewActionBar({ return (
+ {modalContextHolder} {status.xray.errorMsg ? ( {status.xray.errorMsg}}> {statePill} @@ -204,18 +223,21 @@ export default function OverviewActionBar({ {groupIndex > 0 && } {group.map((action) => ( - + + + ))} ))} diff --git a/frontend/src/pages/index/OverviewRangeSelect.tsx b/frontend/src/pages/index/OverviewRangeSelect.tsx new file mode 100644 index 000000000..a9878cee2 --- /dev/null +++ b/frontend/src/pages/index/OverviewRangeSelect.tsx @@ -0,0 +1,34 @@ +import { Select } from 'antd'; +import { useTranslation } from 'react-i18next'; + +export const OVERVIEW_RANGES = [2, 5, 30, 60, 360, 720] as const; +export type OverviewRange = (typeof OVERVIEW_RANGES)[number]; + +interface OverviewRangeSelectProps { + value: OverviewRange; + onChange: (value: OverviewRange) => void; +} + +const OPTIONS = [ + { value: 2, label: '2m' }, + { value: 5, label: '5m' }, + { value: 30, label: '30m' }, + { value: 60, label: '1h' }, + { value: 360, label: '6h' }, + { value: 720, label: '12h' }, +]; + +export default function OverviewRangeSelect({ value, onChange }: OverviewRangeSelectProps) { + const { t } = useTranslation(); + + return ( + updateSetting({ publicIpv4Override: e.target.value.trim() })} + /> + + + + updateSetting({ publicIpv6Override: e.target.value.trim() })} + /> + + + + ) => void; +}) { + const { t } = useTranslation(); + const mode = allSetting.networkTrafficMode; + const query = useNetworkInterfaces(mode !== 'legacy'); + const interfaces = query.data?.interfaces ?? []; + const missing = + mode === 'manual' && + query.data && + !interfaces.some((iface) => iface.name === allSetting.networkTrafficInterface); + return ( + + + ({ + value: iface.name, + title: iface.name, + label: iface.up ? iface.name : `${iface.name} (${t('disabled')})`, + }))} + notFoundContent={ + query.isPending ? : t('pages.settings.networkTrafficEmpty') + } + onChange={(value) => updateSetting({ networkTrafficInterface: value })} + /> + )} + {mode !== 'legacy' && query.isPending && } + {mode !== 'legacy' && query.isError && ( + void query.refetch()}> + {t('refresh')} + + } + /> + )} + {missing && ( + + )} + {mode === 'manual' && query.data && interfaces.length === 0 && ( + + {t('pages.settings.networkTrafficEmpty')} + + )} + {mode === 'auto' && + query.data && + (query.data.automatic ? ( + + {t('pages.settings.networkTrafficAutoResolved', { interface: query.data.automatic })} + + ) : ( + + ))} + + + ); +} diff --git a/frontend/src/pages/settings/NotifyTimeField.tsx b/frontend/src/pages/settings/NotifyTimeField.tsx index b073a9181..268bf03cc 100644 --- a/frontend/src/pages/settings/NotifyTimeField.tsx +++ b/frontend/src/pages/settings/NotifyTimeField.tsx @@ -41,9 +41,8 @@ export function composeRunTime(s: RunTime): string { return s.mode; } -// Custom is seeded with the six-field ("second minute hour day month weekday") -// equivalent of the current selection, so the admin edits a real expression. -export function toCrontab(s: RunTime): string { +// Keep elapsed-time intervals as descriptors. Crontab steps reset within their field. +function initialCustomSchedule(s: RunTime): string { switch (s.mode) { case '@hourly': return '0 0 * * * *'; @@ -53,14 +52,8 @@ export function toCrontab(s: RunTime): string { return '0 0 0 * * 0'; case '@monthly': return '0 0 0 1 * *'; - case 'every': { - const n = Math.max(1, s.num || 1); - if (s.unit === 's') return `*/${n} * * * * *`; - if (s.unit === 'm') return `0 */${n} * * * *`; - return `0 0 */${n} * * *`; - } default: - return s.custom; + return composeRunTime(s); } } @@ -84,7 +77,7 @@ export function NotifyTimeField({ function onModeChange(mode: Mode) { if (mode === 'custom' && !state.custom.trim()) { - update({ mode, custom: toCrontab(state) }); + update({ mode, custom: initialCustomSchedule(state) }); } else { update({ mode }); } diff --git a/frontend/src/pages/settings/SecurityTab.tsx b/frontend/src/pages/settings/SecurityTab.tsx index d8b448f70..f82f77a01 100644 --- a/frontend/src/pages/settings/SecurityTab.tsx +++ b/frontend/src/pages/settings/SecurityTab.tsx @@ -169,7 +169,7 @@ export default function SecurityTab({ allSetting, updateSetting, saveSetting }: if (!token) return; const ok = await ClipboardManager.copyText(token); if (ok) messageApi.success(t('copySuccess')); - else messageApi.error(t('copyFail') ?? 'Copy failed'); + else messageApi.error(t('copyFail')); } function openCreateModal() { @@ -375,6 +375,16 @@ export default function SecurityTab({ allSetting, updateSetting, saveSetting }: label: catTabLabel(, t('pages.nodes.apiToken'), isMobile), children: (
+ + updateSetting({ mcpEnable: v })} + /> +

{t('pages.nodes.apiTokenHint')}

-
r.key} - pagination={false} - size="small" - bordered - /> +
+
r.key} + rowClassName={(_r, i) => { + if (i === draggedIndex) return 'row-dragging'; + if (i !== dropTargetIndex || draggedIndex == null) return ''; + return i > draggedIndex ? 'drop-after' : 'drop-before'; + }} + pagination={false} + size="small" + bordered + /> + ), }); @@ -517,7 +551,17 @@ export default function DnsTab({ templateSettings, setTemplateSettings }: DnsTab return out; // eslint-disable-next-line react-hooks/exhaustive-deps - }, [t, isMobile, dnsEnabled, dns, hostsList, dnsServers, fakeDnsList]); + }, [ + t, + isMobile, + dnsEnabled, + dns, + hostsList, + dnsServers, + fakeDnsList, + draggedIndex, + dropTargetIndex, + ]); return ( <> diff --git a/frontend/src/pages/xray/dns/useDnsColumns.tsx b/frontend/src/pages/xray/dns/useDnsColumns.tsx index 70f12f25b..1c7ec608a 100644 --- a/frontend/src/pages/xray/dns/useDnsColumns.tsx +++ b/frontend/src/pages/xray/dns/useDnsColumns.tsx @@ -1,7 +1,14 @@ import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { Button, Dropdown, Input, InputNumber, Space } from 'antd'; -import { MoreOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons'; +import { + MoreOutlined, + EditOutlined, + DeleteOutlined, + ArrowUpOutlined, + ArrowDownOutlined, + HolderOutlined, +} from '@ant-design/icons'; import type { ColumnsType } from 'antd/es/table'; import { onNumber } from '@/utils/onNumber'; @@ -13,10 +20,16 @@ export type DnsServerRow = { key: number; server: DnsServerValue }; export type FakednsTableRow = { key: number; ipPool: string; poolSize: number }; export function useDnsServerColumns({ + rowsLength, + onHandlePointerDown, openEditServer, + moveServer, deleteServer, }: { + rowsLength: number; + onHandlePointerDown: (idx: number, ev: React.PointerEvent) => void; openEditServer: (idx: number) => void; + moveServer: (from: number, to: number) => void; deleteServer: (idx: number) => void; }): ColumnsType { const { t } = useTranslation(); @@ -29,6 +42,12 @@ export function useDnsServerColumns({ width: 60, render: (_v, _record, index) => ( +