mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-29 21:14:01 +01:00
Compare commits
No commits in common. "d2a684ebf9655673a8f53ef4f480c175aed594a9" and "0d93539944df38113997535634dd6c16c62cd661" have entirely different histories.
d2a684ebf9
...
0d93539944
@ -205,12 +205,9 @@ hard-codes it.
|
|||||||
`gaming_unblock{phrase}`, `gaming_reset_arm{phrase}`,
|
`gaming_unblock{phrase}`, `gaming_reset_arm{phrase}`,
|
||||||
`gaming_reset_heartbeat{pending_id}`, `gaming_reset_commit{pending_id, phrase}`,
|
`gaming_reset_heartbeat{pending_id}`, `gaming_reset_commit{pending_id, phrase}`,
|
||||||
`gaming_reset_cancel{pending_id}`, `restart{}`. There is no `stop`.
|
`gaming_reset_cancel{pending_id}`, `restart{}`. There is no `stop`.
|
||||||
- `status` also lists the daemon's steam-game-installer runs as
|
- `status` also lists the daemon's live steam-game-installer runs as
|
||||||
`fast_installs: [{app_id, name, phase, percent, elapsed_seconds, error}]`,
|
`fast_installs: [{app_id, name, phase, percent, elapsed_seconds}]`, read
|
||||||
read from its log by the enforce loop; `percent` is the current depot's, or
|
from its log by the enforce loop; `percent` is the current depot's, or null.
|
||||||
null. A failed run stays listed with `phase: "failed"` and `error` set to
|
|
||||||
the installer's own ERROR lines until a new run starts or the game is fully
|
|
||||||
installed; `error` is null while a run is live.
|
|
||||||
|
|
||||||
## Verification record (2026-10-10)
|
## Verification record (2026-10-10)
|
||||||
|
|
||||||
|
|||||||
@ -140,7 +140,6 @@ def _fast_install_info(run: dict[str, object]) -> FastInstallInfo:
|
|||||||
phase=str(run["phase"]),
|
phase=str(run["phase"]),
|
||||||
percent=None if percent is None else float(cast("float", percent)),
|
percent=None if percent is None else float(cast("float", percent)),
|
||||||
elapsed_seconds=int(cast("int", run["elapsed_seconds"])),
|
elapsed_seconds=int(cast("int", run["elapsed_seconds"])),
|
||||||
error=None if run.get("error") is None else str(run["error"]),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -22,8 +22,6 @@ class FastInstallInfo:
|
|||||||
phase: str
|
phase: str
|
||||||
percent: float | None
|
percent: float | None
|
||||||
elapsed_seconds: int
|
elapsed_seconds: int
|
||||||
# Why the run failed (``phase`` is then ``failed``); None while it runs.
|
|
||||||
error: str | None = None
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
|||||||
@ -27,29 +27,29 @@ from __future__ import annotations
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
from pathlib import Path
|
||||||
|
import pwd
|
||||||
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
import signal
|
import signal
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
from steam_backlog_enforcer import _fast_install_progress as _fip
|
from steam_backlog_enforcer import _fast_install_progress as _fip
|
||||||
from steam_backlog_enforcer import config as _config
|
from steam_backlog_enforcer import config as _config
|
||||||
from steam_backlog_enforcer._desktop_env import resolve_desktop_user
|
from steam_backlog_enforcer._desktop_env import desktop_user_cmd, resolve_desktop_user
|
||||||
from steam_backlog_enforcer._echo import _echo
|
from steam_backlog_enforcer._echo import _echo
|
||||||
from steam_backlog_enforcer._fast_install_cmd import build_cmd, installer_path
|
|
||||||
from steam_backlog_enforcer._fast_install_failure import failure_reason
|
|
||||||
from steam_backlog_enforcer._steam_restart_guard import game_is_running
|
from steam_backlog_enforcer._steam_restart_guard import game_is_running
|
||||||
from steam_backlog_enforcer._steam_state import is_game_fully_installed
|
from steam_backlog_enforcer._steam_state import STEAMAPPS_PATH
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from collections.abc import Callable
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
_INSTALLER = Path("src", "steam-game-installer", "run.sh")
|
||||||
_INSTALLER_LOG = "~/.local/state/steam-game-installer/latest.log"
|
_INSTALLER_LOG = "~/.local/state/steam-game-installer/latest.log"
|
||||||
|
# Depot content only: the app itself is ours to choose, the language is not
|
||||||
|
# worth a prompt nobody is there to answer.
|
||||||
|
_LANGUAGE = "english"
|
||||||
# depotdownloader prints a line per finished chunk, so a healthy download is
|
# depotdownloader prints a line per finished chunk, so a healthy download is
|
||||||
# never silent this long; a login prompt waiting on /dev/null is.
|
# never silent this long; a login prompt waiting on /dev/null is.
|
||||||
STALL_SECONDS = 15 * 60
|
STALL_SECONDS = 15 * 60
|
||||||
@ -67,10 +67,39 @@ class _DetachedRun:
|
|||||||
|
|
||||||
|
|
||||||
_RUNS: list[_DetachedRun] = []
|
_RUNS: list[_DetachedRun] = []
|
||||||
# Apps whose installer run failed in this process, with the reason. They go
|
# Apps whose installer run failed in this process. They go straight to the
|
||||||
# straight to the steam:// fallback from then on, so a broken login cannot
|
# steam:// fallback from then on, so a broken login cannot close Steam on
|
||||||
# close Steam on every 3-second pass.
|
# every 3-second pass.
|
||||||
_FAILED: dict[int, str] = {}
|
_FAILED: set[int] = set()
|
||||||
|
|
||||||
|
|
||||||
|
def _installer_path(user: str | None) -> Path | None:
|
||||||
|
"""steam-game-installer's ``run.sh`` in the desktop user's home, if present.
|
||||||
|
|
||||||
|
Resolved from the passwd entry rather than ``Path.home()``: the daemon runs
|
||||||
|
as root, and the installer, its venv and its credentials are per-user.
|
||||||
|
"""
|
||||||
|
try:
|
||||||
|
home = Path(pwd.getpwnam(user).pw_dir) if user else Path.home()
|
||||||
|
except KeyError:
|
||||||
|
return None
|
||||||
|
path = home / _INSTALLER
|
||||||
|
return path if path.is_file() else None
|
||||||
|
|
||||||
|
|
||||||
|
def _steam_account_name() -> str | None:
|
||||||
|
"""The account Steam itself last signed in with, from ``loginusers.vdf``.
|
||||||
|
|
||||||
|
Read from Steam's own state rather than a copy in the enforcer config, so
|
||||||
|
it cannot drift from the account that actually owns the games.
|
||||||
|
"""
|
||||||
|
path = STEAMAPPS_PATH.parent / "config" / "loginusers.vdf"
|
||||||
|
try:
|
||||||
|
content = path.read_text(encoding="utf-8", errors="replace")
|
||||||
|
except OSError:
|
||||||
|
return None
|
||||||
|
match = re.search(r'"AccountName"\s+"([^"]+)"', content)
|
||||||
|
return match.group(1) if match else None
|
||||||
|
|
||||||
|
|
||||||
def _refusal() -> str | None:
|
def _refusal() -> str | None:
|
||||||
@ -80,16 +109,32 @@ def _refusal() -> str | None:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
def _build_cmd(installer: Path, app_id: int, user: str | None) -> list[str]:
|
||||||
|
"""The installer invocation, dropped to the desktop user when root."""
|
||||||
|
cmd = [
|
||||||
|
str(installer),
|
||||||
|
# install.sh reaches for yay; dependencies are installed once, by hand.
|
||||||
|
"--no-deps",
|
||||||
|
"--appid",
|
||||||
|
str(app_id),
|
||||||
|
"--yes",
|
||||||
|
"--language",
|
||||||
|
_LANGUAGE,
|
||||||
|
# Finishes the manifest from depotdownloader's own data, under the same
|
||||||
|
# fail-closed checks: no second login, no 70 GB re-hash by steamcmd.
|
||||||
|
"--skip-steamcmd",
|
||||||
|
]
|
||||||
|
account = _steam_account_name()
|
||||||
|
if account:
|
||||||
|
cmd += ["--username", account]
|
||||||
|
return desktop_user_cmd(cmd, user)
|
||||||
|
|
||||||
|
|
||||||
def is_fast_installing(app_id: int) -> bool:
|
def is_fast_installing(app_id: int) -> bool:
|
||||||
"""Whether this process has a live detached installer run for *app_id*."""
|
"""Whether this process has a live detached installer run for *app_id*."""
|
||||||
return any(run.app_id == app_id for run in _RUNS)
|
return any(run.app_id == app_id for run in _RUNS)
|
||||||
|
|
||||||
|
|
||||||
def fast_install_failure(app_id: int) -> str | None:
|
|
||||||
"""Why this process's installer run for *app_id* failed, if it did."""
|
|
||||||
return _FAILED.get(app_id)
|
|
||||||
|
|
||||||
|
|
||||||
def _stalled(run: _DetachedRun) -> bool:
|
def _stalled(run: _DetachedRun) -> bool:
|
||||||
"""Whether a live run has printed nothing for :data:`STALL_SECONDS`."""
|
"""Whether a live run has printed nothing for :data:`STALL_SECONDS`."""
|
||||||
try:
|
try:
|
||||||
@ -122,16 +167,15 @@ def poll_fast_installs() -> None:
|
|||||||
if returncode == 0:
|
if returncode == 0:
|
||||||
logger.info("steam-game-installer finished AppID=%d.", run.app_id)
|
logger.info("steam-game-installer finished AppID=%d.", run.app_id)
|
||||||
continue
|
continue
|
||||||
_FAILED[run.app_id] = failure_reason(run.log_path, returncode)
|
_FAILED.add(run.app_id)
|
||||||
_fip.mark_failed(run.app_id, _FAILED[run.app_id])
|
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"steam-game-installer failed for AppID=%d: %s. Falling back to "
|
"steam-game-installer failed for AppID=%d (exit %d); falling back "
|
||||||
"Steam's own download. Log: %s",
|
"to Steam's own download. Log: %s",
|
||||||
run.app_id,
|
run.app_id,
|
||||||
_FAILED[run.app_id],
|
returncode,
|
||||||
run.log_path,
|
run.log_path,
|
||||||
)
|
)
|
||||||
_fip.poll_trackers({run.app_id for run in _RUNS}, is_game_fully_installed)
|
_fip.poll_trackers({run.app_id for run in _RUNS})
|
||||||
|
|
||||||
|
|
||||||
def _spawn_detached(cmd: list[str], app_id: int, label: str = "") -> None:
|
def _spawn_detached(cmd: list[str], app_id: int, label: str = "") -> None:
|
||||||
@ -167,26 +211,12 @@ def _wait_detached(app_id: int, label: str) -> bool:
|
|||||||
time.sleep(_WAIT_POLL_SECONDS)
|
time.sleep(_WAIT_POLL_SECONDS)
|
||||||
poll_fast_installs()
|
poll_fast_installs()
|
||||||
reporter.report(time.monotonic())
|
reporter.report(time.monotonic())
|
||||||
if app_id not in _FAILED:
|
return app_id not in _FAILED
|
||||||
return True
|
|
||||||
# "Failed" first: a job takes such a line as its verdict, so the run can
|
|
||||||
# no longer end on a full progress bar and "Succeeded".
|
|
||||||
_echo(
|
|
||||||
f"Failed: fast install of {label}: {_FAILED[app_id]}. Steam's own "
|
|
||||||
f"download takes over (log: {_INSTALLER_LOG})."
|
|
||||||
)
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def fast_install(
|
def fast_install(app_id: int, label: str) -> bool:
|
||||||
app_id: int, label: str, prepare: Callable[[], object] = lambda: None
|
|
||||||
) -> bool:
|
|
||||||
"""Install *app_id* with steam-game-installer.
|
"""Install *app_id* with steam-game-installer.
|
||||||
|
|
||||||
*prepare* runs once the run is sure to start, before it does: the
|
|
||||||
installer only finishes a manifest it finds, so this is where a fresh
|
|
||||||
install gets one.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True if the game was installed (foreground) or the run was started
|
True if the game was installed (foreground) or the run was started
|
||||||
(detached); False if the caller should fall back to Steam's download.
|
(detached); False if the caller should fall back to Steam's download.
|
||||||
@ -194,7 +224,7 @@ def fast_install(
|
|||||||
if app_id in _FAILED:
|
if app_id in _FAILED:
|
||||||
return False
|
return False
|
||||||
user = resolve_desktop_user()
|
user = resolve_desktop_user()
|
||||||
installer = installer_path(user)
|
installer = _installer_path(user)
|
||||||
if installer is None:
|
if installer is None:
|
||||||
logger.warning("steam-game-installer not found; using Steam's download.")
|
logger.warning("steam-game-installer not found; using Steam's download.")
|
||||||
return False
|
return False
|
||||||
@ -203,8 +233,7 @@ def fast_install(
|
|||||||
_echo(f" Fast install of {label} skipped: {reason}.")
|
_echo(f" Fast install of {label} skipped: {reason}.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
cmd = build_cmd(installer, app_id, user)
|
cmd = _build_cmd(installer, app_id, user)
|
||||||
prepare()
|
|
||||||
if not sys.stdin.isatty():
|
if not sys.stdin.isatty():
|
||||||
_spawn_detached(cmd, app_id, label)
|
_spawn_detached(cmd, app_id, label)
|
||||||
return os.geteuid() == 0 or _wait_detached(app_id, label)
|
return os.geteuid() == 0 or _wait_detached(app_id, label)
|
||||||
@ -213,9 +242,9 @@ def fast_install(
|
|||||||
returncode = subprocess.run(cmd, check=False).returncode
|
returncode = subprocess.run(cmd, check=False).returncode
|
||||||
if returncode == 0:
|
if returncode == 0:
|
||||||
return True
|
return True
|
||||||
_FAILED[app_id] = f"exit {returncode}"
|
_FAILED.add(app_id)
|
||||||
_echo(
|
_echo(
|
||||||
f"Failed: fast install of {label} (exit {returncode}, reasons above). "
|
f" steam-game-installer failed (exit {returncode}); falling back to "
|
||||||
f"Steam's own download takes over (log: {_INSTALLER_LOG})."
|
f"Steam's own download. Log: {_INSTALLER_LOG}"
|
||||||
)
|
)
|
||||||
return False
|
return False
|
||||||
|
|||||||
@ -1,71 +0,0 @@
|
|||||||
"""How steam-game-installer is invoked: where it lives, as whom, with what argv.
|
|
||||||
|
|
||||||
Split out of :mod:`_fast_install`, which runs and reaps the installer; this
|
|
||||||
half only decides the command line, every choice it would otherwise prompt for
|
|
||||||
pinned in advance.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import pwd
|
|
||||||
import re
|
|
||||||
|
|
||||||
from steam_backlog_enforcer._desktop_env import desktop_user_cmd
|
|
||||||
from steam_backlog_enforcer._steam_state import STEAMAPPS_PATH
|
|
||||||
|
|
||||||
_INSTALLER = Path("src", "steam-game-installer", "run.sh")
|
|
||||||
|
|
||||||
# Depot content only: the app itself is ours to choose, the language is not
|
|
||||||
# worth a prompt nobody is there to answer.
|
|
||||||
_LANGUAGE = "english"
|
|
||||||
|
|
||||||
|
|
||||||
def installer_path(user: str | None) -> Path | None:
|
|
||||||
"""steam-game-installer's ``run.sh`` in the desktop user's home, if present.
|
|
||||||
|
|
||||||
Resolved from the passwd entry rather than ``Path.home()``: the daemon runs
|
|
||||||
as root, and the installer, its venv and its credentials are per-user.
|
|
||||||
"""
|
|
||||||
try:
|
|
||||||
home = Path(pwd.getpwnam(user).pw_dir) if user else Path.home()
|
|
||||||
except KeyError:
|
|
||||||
return None
|
|
||||||
path = home / _INSTALLER
|
|
||||||
return path if path.is_file() else None
|
|
||||||
|
|
||||||
|
|
||||||
def steam_account_name() -> str | None:
|
|
||||||
"""The account Steam itself last signed in with, from ``loginusers.vdf``.
|
|
||||||
|
|
||||||
Read from Steam's own state rather than a copy in the enforcer config, so
|
|
||||||
it cannot drift from the account that actually owns the games.
|
|
||||||
"""
|
|
||||||
path = STEAMAPPS_PATH.parent / "config" / "loginusers.vdf"
|
|
||||||
try:
|
|
||||||
content = path.read_text(encoding="utf-8", errors="replace")
|
|
||||||
except OSError:
|
|
||||||
return None
|
|
||||||
match = re.search(r'"AccountName"\s+"([^"]+)"', content)
|
|
||||||
return match.group(1) if match else None
|
|
||||||
|
|
||||||
|
|
||||||
def build_cmd(installer: Path, app_id: int, user: str | None) -> list[str]:
|
|
||||||
"""The installer invocation, dropped to the desktop user when root."""
|
|
||||||
cmd = [
|
|
||||||
str(installer),
|
|
||||||
# install.sh reaches for yay; dependencies are installed once, by hand.
|
|
||||||
"--no-deps",
|
|
||||||
"--appid",
|
|
||||||
str(app_id),
|
|
||||||
"--yes",
|
|
||||||
"--language",
|
|
||||||
_LANGUAGE,
|
|
||||||
# Finishes the manifest from depotdownloader's own data, under the same
|
|
||||||
# fail-closed checks: no second login, no 70 GB re-hash by steamcmd.
|
|
||||||
"--skip-steamcmd",
|
|
||||||
]
|
|
||||||
account = steam_account_name()
|
|
||||||
if account:
|
|
||||||
cmd += ["--username", account]
|
|
||||||
return desktop_user_cmd(cmd, user)
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
"""Why a steam-game-installer run failed, in the installer's own words.
|
|
||||||
|
|
||||||
A bare exit status hid the BG3 run of 2026-10-23: 160 GB downloaded, then a
|
|
||||||
refusal to mark it installed, and the job still read "Succeeded". The console
|
|
||||||
output ends with ``Run log (send this): <path>``; that run log tags every line
|
|
||||||
with its level, so its ERROR lines are exactly the reasons the run gave up.
|
|
||||||
|
|
||||||
Both files are read from the end only: a depotdownloader run writes a line
|
|
||||||
per downloaded file, tens of megabytes of them.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import re
|
|
||||||
from typing import Final
|
|
||||||
|
|
||||||
# The reasons and the run log line are printed last; 64 KiB holds them.
|
|
||||||
_TAIL_BYTES: Final = 1 << 16
|
|
||||||
_RUN_LOG: Final = re.compile(r"^Run log(?: \(send this\))?: (/.+)$")
|
|
||||||
_ERROR: Final = re.compile(r"^\S+ \S+ ERROR\s+[\w.]+: (.*)$")
|
|
||||||
|
|
||||||
|
|
||||||
def _tail_lines(path: Path) -> list[str]:
|
|
||||||
"""The last lines of *path* (empty if unreadable), first partial one dropped."""
|
|
||||||
try:
|
|
||||||
with path.open("rb") as log:
|
|
||||||
size = log.seek(0, 2)
|
|
||||||
log.seek(max(0, size - _TAIL_BYTES))
|
|
||||||
data = log.read()
|
|
||||||
except OSError:
|
|
||||||
return []
|
|
||||||
lines = data.decode("utf-8", "replace").splitlines()
|
|
||||||
return lines[1:] if size > _TAIL_BYTES else lines
|
|
||||||
|
|
||||||
|
|
||||||
def _run_log_errors(console: list[str]) -> list[str]:
|
|
||||||
"""ERROR messages of the run log the console output names last."""
|
|
||||||
for line in reversed(console):
|
|
||||||
if match := _RUN_LOG.match(line.strip()):
|
|
||||||
run_log = _tail_lines(Path(match.group(1)))
|
|
||||||
return [m.group(1).strip() for ln in run_log if (m := _ERROR.match(ln))]
|
|
||||||
return []
|
|
||||||
|
|
||||||
|
|
||||||
def failure_reason(console_log: Path, returncode: int) -> str:
|
|
||||||
"""One line saying why the run that just wrote *console_log* failed."""
|
|
||||||
console = _tail_lines(console_log)
|
|
||||||
errors = _run_log_errors(console)
|
|
||||||
if errors:
|
|
||||||
# Callers add their own full stop.
|
|
||||||
return " ".join(errors).rstrip(".")
|
|
||||||
# Died before the installer could log a reason (a traceback, a kill).
|
|
||||||
last = next((ln.strip() for ln in reversed(console) if ln.strip()), "")
|
|
||||||
return f"exit {returncode}: {last}" if last else f"exit {returncode}"
|
|
||||||
@ -40,7 +40,6 @@ from steam_backlog_enforcer._echo import _echo
|
|||||||
from steam_backlog_enforcer._progress import current_progress
|
from steam_backlog_enforcer._progress import current_progress
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Callable
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
STARTING: Final = "starting"
|
STARTING: Final = "starting"
|
||||||
@ -147,9 +146,6 @@ class InstallTracker:
|
|||||||
# Live detached runs of this process by app id, with the name to show. The
|
# Live detached runs of this process by app id, with the name to show. The
|
||||||
# enforce loop polls them; ctl connection threads read snapshots.
|
# enforce loop polls them; ctl connection threads read snapshots.
|
||||||
_TRACKERS: dict[int, tuple[str, InstallTracker]] = {}
|
_TRACKERS: dict[int, tuple[str, InstallTracker]] = {}
|
||||||
# Failed runs by app id: (name, reason). The daemon has no job to print a
|
|
||||||
# failure to, so it stays listed until a new run or the game is installed.
|
|
||||||
_FAILURES: dict[int, tuple[str, str]] = {}
|
|
||||||
_LOCK = threading.Lock()
|
_LOCK = threading.Lock()
|
||||||
|
|
||||||
|
|
||||||
@ -157,25 +153,13 @@ def track(app_id: int, name: str, log_path: Path, *, offset: int, now: float) ->
|
|||||||
"""Start following a run just spawned with its output at *offset* of the log."""
|
"""Start following a run just spawned with its output at *offset* of the log."""
|
||||||
with _LOCK:
|
with _LOCK:
|
||||||
_TRACKERS[app_id] = (name, InstallTracker(log_path, offset=offset, started=now))
|
_TRACKERS[app_id] = (name, InstallTracker(log_path, offset=offset, started=now))
|
||||||
_FAILURES.pop(app_id, None)
|
|
||||||
|
|
||||||
|
|
||||||
def mark_failed(app_id: int, reason: str) -> None:
|
def poll_trackers(live: set[int]) -> None:
|
||||||
"""List *app_id*'s run as failed with *reason*, under its tracked name."""
|
"""Read new log lines of the *live* runs and forget every other one."""
|
||||||
with _LOCK:
|
|
||||||
entry = _TRACKERS.get(app_id)
|
|
||||||
_FAILURES[app_id] = (entry[0] if entry else f"AppID={app_id}", reason)
|
|
||||||
|
|
||||||
|
|
||||||
def poll_trackers(
|
|
||||||
live: set[int], installed: Callable[[int], bool] = lambda _app_id: False
|
|
||||||
) -> None:
|
|
||||||
"""Read the *live* runs' new lines; drop other runs and *installed* failures."""
|
|
||||||
with _LOCK:
|
with _LOCK:
|
||||||
for app_id in [aid for aid in _TRACKERS if aid not in live]:
|
for app_id in [aid for aid in _TRACKERS if aid not in live]:
|
||||||
del _TRACKERS[app_id]
|
del _TRACKERS[app_id]
|
||||||
for app_id in [aid for aid in _FAILURES if installed(aid)]:
|
|
||||||
del _FAILURES[app_id]
|
|
||||||
for _name, tracker in _TRACKERS.values():
|
for _name, tracker in _TRACKERS.values():
|
||||||
tracker.poll()
|
tracker.poll()
|
||||||
|
|
||||||
@ -188,15 +172,9 @@ def progress_of(app_id: int, now: float) -> InstallProgress | None:
|
|||||||
|
|
||||||
|
|
||||||
def fast_install_status(now: float) -> list[dict[str, object]]:
|
def fast_install_status(now: float) -> list[dict[str, object]]:
|
||||||
"""Every tracked and failed run as the ctl ``status`` op reports it (no I/O)."""
|
"""Every tracked run as the ctl ``status`` op reports it (no file I/O)."""
|
||||||
with _LOCK:
|
with _LOCK:
|
||||||
entries = [(aid, name, t.snapshot(now)) for aid, (name, t) in _TRACKERS.items()]
|
entries = [(aid, name, t.snapshot(now)) for aid, (name, t) in _TRACKERS.items()]
|
||||||
failed = [
|
|
||||||
{"app_id": aid, "name": name, "phase": "failed", "percent": None}
|
|
||||||
| {"elapsed_seconds": 0, "error": reason}
|
|
||||||
for aid, (name, reason) in _FAILURES.items()
|
|
||||||
if aid not in _TRACKERS
|
|
||||||
]
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"app_id": app_id,
|
"app_id": app_id,
|
||||||
@ -204,10 +182,9 @@ def fast_install_status(now: float) -> list[dict[str, object]]:
|
|||||||
"phase": snap.phase,
|
"phase": snap.phase,
|
||||||
"percent": None if snap.percent is None else round(snap.percent, 2),
|
"percent": None if snap.percent is None else round(snap.percent, 2),
|
||||||
"elapsed_seconds": snap.elapsed_seconds,
|
"elapsed_seconds": snap.elapsed_seconds,
|
||||||
"error": None,
|
|
||||||
}
|
}
|
||||||
for app_id, name, snap in entries
|
for app_id, name, snap in entries
|
||||||
] + failed
|
]
|
||||||
|
|
||||||
|
|
||||||
class WaitReporter:
|
class WaitReporter:
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from functools import partial
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
@ -169,10 +168,7 @@ def install_game(
|
|||||||
if ready is not None:
|
if ready is not None:
|
||||||
return ready
|
return ready
|
||||||
|
|
||||||
# The installer only finishes a manifest it finds: queue a fresh install first.
|
if fast_install(app_id, label):
|
||||||
if fast_install(
|
|
||||||
app_id, label, partial(_queue_download, app_id, game_name, steam_id)
|
|
||||||
):
|
|
||||||
return True
|
return True
|
||||||
# Steam already has a download of its own going: let it carry on, rather
|
# Steam already has a download of its own going: let it carry on, rather
|
||||||
# than overwrite its manifest with the fabricated one below.
|
# than overwrite its manifest with the fabricated one below.
|
||||||
@ -185,16 +181,6 @@ def install_game(
|
|||||||
return True
|
return True
|
||||||
logger.debug("steam:// protocol failed; falling back to manifest")
|
logger.debug("steam:// protocol failed; falling back to manifest")
|
||||||
|
|
||||||
if not _queue_download(app_id, game_name, steam_id):
|
|
||||||
return False
|
|
||||||
_ensure_steam_running() # so it picks the manifest up
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def _queue_download(app_id: int, game_name: str, steam_id: str) -> bool:
|
|
||||||
"""Make Steam download *app_id* with a minimal appmanifest; False if unwritable."""
|
|
||||||
if is_game_installed(app_id):
|
|
||||||
return True
|
|
||||||
# Build a minimal appmanifest. StateFlags 1026 = UpdateRequired (2) +
|
# Build a minimal appmanifest. StateFlags 1026 = UpdateRequired (2) +
|
||||||
# UpdateStarted (1024), which tells Steam "this app needs downloading".
|
# UpdateStarted (1024), which tells Steam "this app needs downloading".
|
||||||
manifest_content = (
|
manifest_content = (
|
||||||
@ -233,6 +219,7 @@ def _queue_download(app_id: int, game_name: str, steam_id: str) -> bool:
|
|||||||
)
|
)
|
||||||
|
|
||||||
manifest_path = STEAMAPPS_PATH / f"appmanifest_{app_id}.acf"
|
manifest_path = STEAMAPPS_PATH / f"appmanifest_{app_id}.acf"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with manifest_path.open("w", encoding="utf-8") as fh:
|
with manifest_path.open("w", encoding="utf-8") as fh:
|
||||||
fh.write(manifest_content)
|
fh.write(manifest_content)
|
||||||
@ -243,8 +230,13 @@ def _queue_download(app_id: int, game_name: str, steam_id: str) -> bool:
|
|||||||
if os.geteuid() == 0 and real_user and real_user != "root":
|
if os.geteuid() == 0 and real_user and real_user != "root":
|
||||||
uid, gid = _get_uid_gid_for_user(real_user)
|
uid, gid = _get_uid_gid_for_user(real_user)
|
||||||
os.chown(manifest_path, uid, gid)
|
os.chown(manifest_path, uid, gid)
|
||||||
logger.info("Created appmanifest for %s — Steam will auto-download", game_name)
|
|
||||||
|
logger.info("Created appmanifest for %s — Steam will auto-download", label)
|
||||||
except OSError:
|
except OSError:
|
||||||
logger.exception("Failed to create appmanifest for %s", game_name)
|
logger.exception("Failed to create appmanifest for %s", label)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
# Make sure Steam is running so it picks up the manifest.
|
||||||
|
_ensure_steam_running()
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
@ -6,7 +6,6 @@ from typing import TYPE_CHECKING
|
|||||||
|
|
||||||
from steam_backlog_enforcer._actions import allowed_app_ids, allowed_games
|
from steam_backlog_enforcer._actions import allowed_app_ids, allowed_games
|
||||||
from steam_backlog_enforcer._enforce_loop import get_all_owned_app_ids
|
from steam_backlog_enforcer._enforce_loop import get_all_owned_app_ids
|
||||||
from steam_backlog_enforcer._fast_install import fast_install_failure
|
|
||||||
from steam_backlog_enforcer._progress import current_progress
|
from steam_backlog_enforcer._progress import current_progress
|
||||||
from steam_backlog_enforcer._prompter import (
|
from steam_backlog_enforcer._prompter import (
|
||||||
PromptOption,
|
PromptOption,
|
||||||
@ -116,13 +115,10 @@ def cmd_install(config: Config, state: State) -> None:
|
|||||||
# install_game only *starts* the download (fast installer or steam://);
|
# install_game only *starts* the download (fast installer or steam://);
|
||||||
# there is no download-progress loop to report on yet.
|
# there is no download-progress loop to report on yet.
|
||||||
current_progress().phase(f"Starting install of {name}")
|
current_progress().phase(f"Starting install of {name}")
|
||||||
if not install_game(app_id, name, config.steam_id, use_steam_protocol=True):
|
if install_game(app_id, name, config.steam_id, use_steam_protocol=True):
|
||||||
_echo("Failed to start the install.")
|
|
||||||
elif fast_install_failure(app_id) is None:
|
|
||||||
_echo("Done!")
|
_echo("Done!")
|
||||||
else:
|
else:
|
||||||
# The fast install already printed its "Failed: ..." line.
|
_echo("Failed to start the install.")
|
||||||
_echo("Steam's own download was started instead.")
|
|
||||||
|
|
||||||
|
|
||||||
def cmd_hide(config: Config, state: State) -> None:
|
def cmd_hide(config: Config, state: State) -> None:
|
||||||
|
|||||||
@ -18,11 +18,7 @@ from unittest.mock import patch
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from steam_backlog_enforcer import (
|
from steam_backlog_enforcer import _fast_install, _fast_install_progress
|
||||||
_fast_install,
|
|
||||||
_fast_install_cmd,
|
|
||||||
_fast_install_progress,
|
|
||||||
)
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Iterator
|
from collections.abc import Iterator
|
||||||
@ -44,14 +40,11 @@ def _no_fast_install(tmp_path: Path) -> Iterator[None]:
|
|||||||
_fast_install._RUNS.clear()
|
_fast_install._RUNS.clear()
|
||||||
_fast_install._FAILED.clear()
|
_fast_install._FAILED.clear()
|
||||||
_fast_install_progress._TRACKERS.clear()
|
_fast_install_progress._TRACKERS.clear()
|
||||||
_fast_install_progress._FAILURES.clear()
|
|
||||||
patches = [patch(name, return_value=False) for name in _RUNNING_BINDINGS]
|
patches = [patch(name, return_value=False) for name in _RUNNING_BINDINGS]
|
||||||
patches += [
|
patches += [
|
||||||
# Absolute, so `home / _INSTALLER` resolves here and never under ~.
|
# Absolute, so `home / _INSTALLER` resolves here and never under ~.
|
||||||
patch.object(
|
patch.object(_fast_install, "_INSTALLER", tmp_path / "no-installer" / "run.sh"),
|
||||||
_fast_install_cmd, "_INSTALLER", tmp_path / "no-installer" / "run.sh"
|
patch.object(_fast_install, "STEAMAPPS_PATH", fake_steamapps),
|
||||||
),
|
|
||||||
patch.object(_fast_install_cmd, "STEAMAPPS_PATH", fake_steamapps),
|
|
||||||
]
|
]
|
||||||
for p in patches:
|
for p in patches:
|
||||||
p.start()
|
p.start()
|
||||||
@ -63,4 +56,3 @@ def _no_fast_install(tmp_path: Path) -> Iterator[None]:
|
|||||||
_fast_install._RUNS.clear()
|
_fast_install._RUNS.clear()
|
||||||
_fast_install._FAILED.clear()
|
_fast_install._FAILED.clear()
|
||||||
_fast_install_progress._TRACKERS.clear()
|
_fast_install_progress._TRACKERS.clear()
|
||||||
_fast_install_progress._FAILURES.clear()
|
|
||||||
|
|||||||
@ -145,14 +145,6 @@ class TestTypedWrappers:
|
|||||||
FastInstallInfo(7, "G", "downloading depot 1/8", 46.9, 60),
|
FastInstallInfo(7, "G", "downloading depot 1/8", 46.9, 60),
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_status_failed_fast_install(self) -> None:
|
|
||||||
run = {"app_id": 7, "name": "G", "phase": "failed", "percent": None}
|
|
||||||
run |= {"elapsed_seconds": 0, "error": "exit 1"}
|
|
||||||
data = {"state": "running", "started_at": "t", "pid": 4, "fast_installs": [run]}
|
|
||||||
with self._call(data):
|
|
||||||
info = _ctl_client.status()
|
|
||||||
assert info.fast_installs[0].error == "exit 1"
|
|
||||||
|
|
||||||
def test_journal_tail(self) -> None:
|
def test_journal_tail(self) -> None:
|
||||||
with self._call({"lines": ["a", 2]}) as call:
|
with self._call({"lines": ["a", 2]}) as call:
|
||||||
assert _ctl_client.journal_tail(9) == ["a", "2"]
|
assert _ctl_client.journal_tail(9) == ["a", "2"]
|
||||||
|
|||||||
@ -1,66 +0,0 @@
|
|||||||
"""Tests for a failed daemon-started fast install staying visible.
|
|
||||||
|
|
||||||
The root daemon has no job to print to: before, a failed run's tracker was
|
|
||||||
dropped and the Dashboard card simply vanished, as if nothing had happened.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
from unittest.mock import MagicMock, patch
|
|
||||||
|
|
||||||
from steam_backlog_enforcer import _fast_install
|
|
||||||
from steam_backlog_enforcer import _fast_install_progress as fip
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
PKG = "steam_backlog_enforcer._fast_install"
|
|
||||||
|
|
||||||
|
|
||||||
def _failed_run(tmp_path: Path, app_id: int = 7) -> None:
|
|
||||||
"""A tracked daemon run of *app_id* that has just exited 1."""
|
|
||||||
log = tmp_path / "log"
|
|
||||||
log.write_text("Restarting the Steam client...\n")
|
|
||||||
fip.track(app_id, "Baldur's Gate 3", log, offset=0, now=0.0)
|
|
||||||
proc = MagicMock(pid=4321)
|
|
||||||
proc.poll.return_value = 1
|
|
||||||
_fast_install._RUNS.append(_fast_install._DetachedRun(app_id, proc, log))
|
|
||||||
|
|
||||||
|
|
||||||
class TestFailedRunsStayListed:
|
|
||||||
def test_status_carries_the_reason(self, tmp_path: Path) -> None:
|
|
||||||
_failed_run(tmp_path)
|
|
||||||
with patch(f"{PKG}.is_game_fully_installed", return_value=False):
|
|
||||||
_fast_install.poll_fast_installs()
|
|
||||||
assert fip.fast_install_status(now=9.0) == [
|
|
||||||
{
|
|
||||||
"app_id": 7,
|
|
||||||
"name": "Baldur's Gate 3",
|
|
||||||
"phase": "failed",
|
|
||||||
"percent": None,
|
|
||||||
"elapsed_seconds": 0,
|
|
||||||
"error": "exit 1: Restarting the Steam client...",
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
def test_live_runs_have_no_error(self, tmp_path: Path) -> None:
|
|
||||||
fip.track(8, "G", tmp_path / "log", offset=0, now=0.0)
|
|
||||||
fip.poll_trackers({8})
|
|
||||||
assert fip.fast_install_status(now=1.0)[0]["error"] is None
|
|
||||||
|
|
||||||
def test_gone_once_the_game_is_installed(self, tmp_path: Path) -> None:
|
|
||||||
"""Steam's own download finished: the failure is history."""
|
|
||||||
_failed_run(tmp_path)
|
|
||||||
with patch(f"{PKG}.is_game_fully_installed", return_value=False):
|
|
||||||
_fast_install.poll_fast_installs()
|
|
||||||
with patch(f"{PKG}.is_game_fully_installed", return_value=True):
|
|
||||||
_fast_install.poll_fast_installs()
|
|
||||||
assert fip.fast_install_status(now=9.0) == []
|
|
||||||
|
|
||||||
def test_a_new_run_replaces_the_failure(self, tmp_path: Path) -> None:
|
|
||||||
_failed_run(tmp_path)
|
|
||||||
with patch(f"{PKG}.is_game_fully_installed", return_value=False):
|
|
||||||
_fast_install.poll_fast_installs()
|
|
||||||
fip.track(7, "Baldur's Gate 3", tmp_path / "log", offset=0, now=0.0)
|
|
||||||
assert [s["phase"] for s in fip.fast_install_status(now=1.0)] == [fip.STARTING]
|
|
||||||
@ -1,54 +0,0 @@
|
|||||||
"""Tests for _fast_install_failure: a failed run explained in the installer's words.
|
|
||||||
|
|
||||||
The text is the BG3 run of 2026-10-23, which downloaded 160 GB and then
|
|
||||||
refused; all the job showed was a finished bar and "Succeeded".
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
from steam_backlog_enforcer._fast_install_failure import failure_reason
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
_REFUSAL = (
|
|
||||||
"2026-10-23 22:33:13,889 ERROR steam_installer: Refusing to mark "
|
|
||||||
"Baldur's Gate 3 as installed:\n"
|
|
||||||
"2026-10-23 22:33:13,889 ERROR steam_installer: - depot(s) 1419654 "
|
|
||||||
"have no cached manifest -- the download did not finish\n"
|
|
||||||
"2026-10-23 22:33:13,889 INFO steam_installer: Restarting the Steam client...\n"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def _console(tmp_path: Path, run_log: Path) -> Path:
|
|
||||||
console = tmp_path / "fast_install-1000.log"
|
|
||||||
console.write_text(
|
|
||||||
f"Run log: {tmp_path / 'old.log'}\n"
|
|
||||||
" 99.99% /x/Gustav.pak (403.89 Mbit/s)\n"
|
|
||||||
"Refusing to mark Baldur's Gate 3 as installed:\n"
|
|
||||||
f"Run log (send this): {run_log}\n"
|
|
||||||
"Restarting the Steam client...\n"
|
|
||||||
)
|
|
||||||
return console
|
|
||||||
|
|
||||||
|
|
||||||
def test_reason_is_the_run_logs_error_lines(tmp_path: Path) -> None:
|
|
||||||
run_log = tmp_path / "run-1086940.log"
|
|
||||||
hello = "2026-10-23 22:13:21,605 INFO steam_installer: hi\n"
|
|
||||||
run_log.write_text(hello + _REFUSAL)
|
|
||||||
assert failure_reason(_console(tmp_path, run_log), 1) == (
|
|
||||||
"Refusing to mark Baldur's Gate 3 as installed: - depot(s) 1419654 have "
|
|
||||||
"no cached manifest -- the download did not finish"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def test_without_a_run_log_the_last_console_line_is_shown(tmp_path: Path) -> None:
|
|
||||||
console = tmp_path / "fast_install-0.log"
|
|
||||||
console.write_text("Traceback (most recent call last):\nOSError: disk full\n")
|
|
||||||
assert failure_reason(console, 1) == "exit 1: OSError: disk full"
|
|
||||||
|
|
||||||
|
|
||||||
def test_an_unreadable_console_log_still_names_the_exit(tmp_path: Path) -> None:
|
|
||||||
assert failure_reason(tmp_path / "missing.log", 3) == "exit 3"
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
"""Tests for the fast install's pure helpers: paths, account, refusal, argv.
|
"""Tests for _fast_install's pure helpers: paths, account, refusal, argv.
|
||||||
|
|
||||||
The run lifecycle (spawn, poll, fast_install) lives in test_fast_install_runs.py
|
The run lifecycle (spawn, poll, fast_install) lives in test_fast_install_runs.py
|
||||||
to keep both files under the 250-line cap.
|
to keep both files under the 250-line cap.
|
||||||
@ -10,10 +10,9 @@ from pathlib import Path
|
|||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
from unittest.mock import MagicMock, patch
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
from steam_backlog_enforcer import _fast_install, _fast_install_cmd, _steam_state
|
from steam_backlog_enforcer import _fast_install, _steam_state
|
||||||
|
|
||||||
PKG = "steam_backlog_enforcer._fast_install"
|
PKG = "steam_backlog_enforcer._fast_install"
|
||||||
CMD = "steam_backlog_enforcer._fast_install_cmd"
|
|
||||||
|
|
||||||
|
|
||||||
class TestInstallerPath:
|
class TestInstallerPath:
|
||||||
@ -27,44 +26,44 @@ class TestInstallerPath:
|
|||||||
# real relative one back so the home join itself is what is tested.
|
# real relative one back so the home join itself is what is tested.
|
||||||
relative = Path("src", "steam-game-installer", "run.sh")
|
relative = Path("src", "steam-game-installer", "run.sh")
|
||||||
with (
|
with (
|
||||||
patch.object(_fast_install_cmd, "_INSTALLER", relative),
|
patch.object(_fast_install, "_INSTALLER", relative),
|
||||||
patch(f"{CMD}.pwd.getpwnam", return_value=SimpleNamespace(pw_dir=tmp_path)),
|
patch(f"{PKG}.pwd.getpwnam", return_value=SimpleNamespace(pw_dir=tmp_path)),
|
||||||
):
|
):
|
||||||
assert _fast_install_cmd.installer_path("kuhy") == installer
|
assert _fast_install._installer_path("kuhy") == installer
|
||||||
|
|
||||||
def test_missing_file_is_none(self, tmp_path: Path) -> None:
|
def test_missing_file_is_none(self, tmp_path: Path) -> None:
|
||||||
with patch(
|
with patch(
|
||||||
f"{CMD}.pwd.getpwnam", return_value=SimpleNamespace(pw_dir=tmp_path)
|
f"{PKG}.pwd.getpwnam", return_value=SimpleNamespace(pw_dir=tmp_path)
|
||||||
):
|
):
|
||||||
assert _fast_install_cmd.installer_path("kuhy") is None
|
assert _fast_install._installer_path("kuhy") is None
|
||||||
|
|
||||||
def test_unknown_user_is_none(self) -> None:
|
def test_unknown_user_is_none(self) -> None:
|
||||||
with patch(f"{CMD}.pwd.getpwnam", side_effect=KeyError("nobody")):
|
with patch(f"{PKG}.pwd.getpwnam", side_effect=KeyError("nobody")):
|
||||||
assert _fast_install_cmd.installer_path("nobody") is None
|
assert _fast_install._installer_path("nobody") is None
|
||||||
|
|
||||||
def test_no_user_uses_own_home(self, tmp_path: Path) -> None:
|
def test_no_user_uses_own_home(self, tmp_path: Path) -> None:
|
||||||
with patch(f"{CMD}.Path.home", return_value=tmp_path):
|
with patch(f"{PKG}.Path.home", return_value=tmp_path):
|
||||||
assert _fast_install_cmd.installer_path(None) is None
|
assert _fast_install._installer_path(None) is None
|
||||||
|
|
||||||
|
|
||||||
class TestSteamAccountName:
|
class TestSteamAccountName:
|
||||||
"""The username comes from Steam's own loginusers.vdf."""
|
"""The username comes from Steam's own loginusers.vdf."""
|
||||||
|
|
||||||
def _write(self, content: str) -> None:
|
def _write(self, content: str) -> None:
|
||||||
config = _fast_install_cmd.STEAMAPPS_PATH.parent / "config"
|
config = _fast_install.STEAMAPPS_PATH.parent / "config"
|
||||||
config.mkdir(parents=True, exist_ok=True)
|
config.mkdir(parents=True, exist_ok=True)
|
||||||
(config / "loginusers.vdf").write_text(content)
|
(config / "loginusers.vdf").write_text(content)
|
||||||
|
|
||||||
def test_reads_account_name(self) -> None:
|
def test_reads_account_name(self) -> None:
|
||||||
self._write('"users"\n{\n\t"7656"\n\t{\n\t\t"AccountName"\t\t"krzys"\n')
|
self._write('"users"\n{\n\t"7656"\n\t{\n\t\t"AccountName"\t\t"krzys"\n')
|
||||||
assert _fast_install_cmd.steam_account_name() == "krzys"
|
assert _fast_install._steam_account_name() == "krzys"
|
||||||
|
|
||||||
def test_no_account_field(self) -> None:
|
def test_no_account_field(self) -> None:
|
||||||
self._write('"users"\n{\n}\n')
|
self._write('"users"\n{\n}\n')
|
||||||
assert _fast_install_cmd.steam_account_name() is None
|
assert _fast_install._steam_account_name() is None
|
||||||
|
|
||||||
def test_missing_file(self) -> None:
|
def test_missing_file(self) -> None:
|
||||||
assert _fast_install_cmd.steam_account_name() is None
|
assert _fast_install._steam_account_name() is None
|
||||||
|
|
||||||
|
|
||||||
class TestRefusal:
|
class TestRefusal:
|
||||||
@ -91,10 +90,10 @@ class TestBuildCmd:
|
|||||||
|
|
||||||
def test_with_account(self) -> None:
|
def test_with_account(self) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{CMD}.steam_account_name", return_value="krzys"),
|
patch(f"{PKG}._steam_account_name", return_value="krzys"),
|
||||||
patch(f"{CMD}.desktop_user_cmd", side_effect=lambda cmd, _u: cmd),
|
patch(f"{PKG}.desktop_user_cmd", side_effect=lambda cmd, _u: cmd),
|
||||||
):
|
):
|
||||||
cmd = _fast_install_cmd.build_cmd(Path("/i/run.sh"), 42, "kuhy")
|
cmd = _fast_install._build_cmd(Path("/i/run.sh"), 42, "kuhy")
|
||||||
assert cmd == [
|
assert cmd == [
|
||||||
"/i/run.sh",
|
"/i/run.sh",
|
||||||
"--no-deps",
|
"--no-deps",
|
||||||
@ -110,10 +109,10 @@ class TestBuildCmd:
|
|||||||
|
|
||||||
def test_without_account_and_drops_privileges(self) -> None:
|
def test_without_account_and_drops_privileges(self) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{CMD}.steam_account_name", return_value=None),
|
patch(f"{PKG}._steam_account_name", return_value=None),
|
||||||
patch(f"{CMD}.desktop_user_cmd", return_value=["wrapped"]) as wrap,
|
patch(f"{PKG}.desktop_user_cmd", return_value=["wrapped"]) as wrap,
|
||||||
):
|
):
|
||||||
assert _fast_install_cmd.build_cmd(Path("/i/run.sh"), 42, "kuhy") == [
|
assert _fast_install._build_cmd(Path("/i/run.sh"), 42, "kuhy") == [
|
||||||
"wrapped"
|
"wrapped"
|
||||||
]
|
]
|
||||||
argv, user = wrap.call_args.args
|
argv, user = wrap.call_args.args
|
||||||
|
|||||||
@ -51,13 +51,13 @@ class TestJobWaitsForInstaller:
|
|||||||
|
|
||||||
def _install(self, tmp_path: Path, spawn: MagicMock, euid: int) -> bool:
|
def _install(self, tmp_path: Path, spawn: MagicMock, euid: int) -> bool:
|
||||||
with (
|
with (
|
||||||
patch(f"{PKG}.installer_path", return_value=_ready(tmp_path)),
|
patch(f"{PKG}._installer_path", return_value=_ready(tmp_path)),
|
||||||
patch(f"{PKG}._refusal", return_value=None),
|
patch(f"{PKG}._refusal", return_value=None),
|
||||||
patch(f"{PKG}.sys.stdin.isatty", return_value=False),
|
patch(f"{PKG}.sys.stdin.isatty", return_value=False),
|
||||||
patch(f"{PKG}.os.geteuid", return_value=euid),
|
patch(f"{PKG}.os.geteuid", return_value=euid),
|
||||||
patch(f"{PKG}._spawn_detached", spawn),
|
patch(f"{PKG}._spawn_detached", spawn),
|
||||||
patch(f"{PKG}.time.sleep"),
|
patch(f"{PKG}.time.sleep"),
|
||||||
patch(f"{PKG}._echo") as self.echo,
|
patch(f"{PKG}._echo"),
|
||||||
):
|
):
|
||||||
return _fast_install.fast_install(7, "G")
|
return _fast_install.fast_install(7, "G")
|
||||||
|
|
||||||
@ -67,18 +67,7 @@ class TestJobWaitsForInstaller:
|
|||||||
|
|
||||||
def test_failure_falls_back(self, tmp_path: Path) -> None:
|
def test_failure_falls_back(self, tmp_path: Path) -> None:
|
||||||
assert self._install(tmp_path, _fake_spawn(None, 3), 1000) is False
|
assert self._install(tmp_path, _fake_spawn(None, 3), 1000) is False
|
||||||
assert {7} == set(_fast_install._FAILED)
|
assert {7} == _fast_install._FAILED
|
||||||
|
|
||||||
def test_failure_is_an_error_line_with_the_reason(self, tmp_path: Path) -> None:
|
|
||||||
"""A job turns a line starting "Failed" into its failed verdict."""
|
|
||||||
log = b"Refusing to mark G as installed:\nRestarting the Steam client...\n"
|
|
||||||
with patch(f"{PKG}._fip.current_progress"):
|
|
||||||
self._install(tmp_path, _fake_spawn(None, 1, log_text=log), 1000)
|
|
||||||
echoed = [c.args[0] for c in self.echo.call_args_list]
|
|
||||||
assert any(
|
|
||||||
line.startswith("Failed: fast install of G") and "exit 1" in line
|
|
||||||
for line in echoed
|
|
||||||
), echoed
|
|
||||||
|
|
||||||
def test_progress_is_reported_while_waiting(self, tmp_path: Path) -> None:
|
def test_progress_is_reported_while_waiting(self, tmp_path: Path) -> None:
|
||||||
text = b"Shutting down the Steam client...\r\nDownloading via depot\r\n"
|
text = b"Shutting down the Steam client...\r\nDownloading via depot\r\n"
|
||||||
|
|||||||
@ -154,7 +154,6 @@ class TestRegistry:
|
|||||||
"phase": "downloading depot 1/8",
|
"phase": "downloading depot 1/8",
|
||||||
"percent": 59.16,
|
"percent": 59.16,
|
||||||
"elapsed_seconds": 60,
|
"elapsed_seconds": 60,
|
||||||
"error": None,
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -34,13 +34,13 @@ class TestPollFastInstalls:
|
|||||||
_run(1, 0, tmp_path / "log")
|
_run(1, 0, tmp_path / "log")
|
||||||
_fast_install.poll_fast_installs()
|
_fast_install.poll_fast_installs()
|
||||||
assert _fast_install._RUNS == []
|
assert _fast_install._RUNS == []
|
||||||
assert not _fast_install._FAILED
|
assert set() == _fast_install._FAILED
|
||||||
|
|
||||||
def test_failure_is_remembered(self, tmp_path: Path) -> None:
|
def test_failure_is_remembered(self, tmp_path: Path) -> None:
|
||||||
_run(2, 3, tmp_path / "log")
|
_run(2, 3, tmp_path / "log")
|
||||||
_fast_install.poll_fast_installs()
|
_fast_install.poll_fast_installs()
|
||||||
assert _fast_install._RUNS == []
|
assert _fast_install._RUNS == []
|
||||||
assert {2} == set(_fast_install._FAILED)
|
assert {2} == _fast_install._FAILED
|
||||||
|
|
||||||
def test_live_and_chatty_is_left_alone(self, tmp_path: Path) -> None:
|
def test_live_and_chatty_is_left_alone(self, tmp_path: Path) -> None:
|
||||||
log = tmp_path / "log"
|
log = tmp_path / "log"
|
||||||
@ -123,8 +123,8 @@ class TestFastInstall:
|
|||||||
return installer
|
return installer
|
||||||
|
|
||||||
def test_previously_failed_goes_straight_to_fallback(self) -> None:
|
def test_previously_failed_goes_straight_to_fallback(self) -> None:
|
||||||
_fast_install._FAILED[7] = "exit 1"
|
_fast_install._FAILED.add(7)
|
||||||
with patch(f"{PKG}.installer_path") as find:
|
with patch(f"{PKG}._installer_path") as find:
|
||||||
assert _fast_install.fast_install(7, "G") is False
|
assert _fast_install.fast_install(7, "G") is False
|
||||||
find.assert_not_called()
|
find.assert_not_called()
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ class TestFastInstall:
|
|||||||
|
|
||||||
def test_refused(self, tmp_path: Path) -> None:
|
def test_refused(self, tmp_path: Path) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{PKG}.installer_path", return_value=self._ready(tmp_path)),
|
patch(f"{PKG}._installer_path", return_value=self._ready(tmp_path)),
|
||||||
patch(f"{PKG}._refusal", return_value="a game is running"),
|
patch(f"{PKG}._refusal", return_value="a game is running"),
|
||||||
patch(f"{PKG}._echo") as echo,
|
patch(f"{PKG}._echo") as echo,
|
||||||
patch(f"{PKG}.subprocess.run") as run,
|
patch(f"{PKG}.subprocess.run") as run,
|
||||||
@ -145,7 +145,7 @@ class TestFastInstall:
|
|||||||
|
|
||||||
def test_no_terminal_spawns_detached(self, tmp_path: Path) -> None:
|
def test_no_terminal_spawns_detached(self, tmp_path: Path) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{PKG}.installer_path", return_value=self._ready(tmp_path)),
|
patch(f"{PKG}._installer_path", return_value=self._ready(tmp_path)),
|
||||||
patch(f"{PKG}._refusal", return_value=None),
|
patch(f"{PKG}._refusal", return_value=None),
|
||||||
patch(f"{PKG}.sys.stdin.isatty", return_value=False),
|
patch(f"{PKG}.sys.stdin.isatty", return_value=False),
|
||||||
patch(f"{PKG}._spawn_detached") as spawn,
|
patch(f"{PKG}._spawn_detached") as spawn,
|
||||||
@ -157,23 +157,23 @@ class TestFastInstall:
|
|||||||
|
|
||||||
def test_terminal_runs_in_foreground(self, tmp_path: Path) -> None:
|
def test_terminal_runs_in_foreground(self, tmp_path: Path) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{PKG}.installer_path", return_value=self._ready(tmp_path)),
|
patch(f"{PKG}._installer_path", return_value=self._ready(tmp_path)),
|
||||||
patch(f"{PKG}._refusal", return_value=None),
|
patch(f"{PKG}._refusal", return_value=None),
|
||||||
patch(f"{PKG}.sys.stdin.isatty", return_value=True),
|
patch(f"{PKG}.sys.stdin.isatty", return_value=True),
|
||||||
patch(f"{PKG}._echo"),
|
patch(f"{PKG}._echo"),
|
||||||
patch(f"{PKG}.subprocess.run", return_value=MagicMock(returncode=0)),
|
patch(f"{PKG}.subprocess.run", return_value=MagicMock(returncode=0)),
|
||||||
):
|
):
|
||||||
assert _fast_install.fast_install(7, "G") is True
|
assert _fast_install.fast_install(7, "G") is True
|
||||||
assert not _fast_install._FAILED
|
assert set() == _fast_install._FAILED
|
||||||
|
|
||||||
def test_foreground_failure_falls_back(self, tmp_path: Path) -> None:
|
def test_foreground_failure_falls_back(self, tmp_path: Path) -> None:
|
||||||
with (
|
with (
|
||||||
patch(f"{PKG}.installer_path", return_value=self._ready(tmp_path)),
|
patch(f"{PKG}._installer_path", return_value=self._ready(tmp_path)),
|
||||||
patch(f"{PKG}._refusal", return_value=None),
|
patch(f"{PKG}._refusal", return_value=None),
|
||||||
patch(f"{PKG}.sys.stdin.isatty", return_value=True),
|
patch(f"{PKG}.sys.stdin.isatty", return_value=True),
|
||||||
patch(f"{PKG}._echo") as echo,
|
patch(f"{PKG}._echo") as echo,
|
||||||
patch(f"{PKG}.subprocess.run", return_value=MagicMock(returncode=2)),
|
patch(f"{PKG}.subprocess.run", return_value=MagicMock(returncode=2)),
|
||||||
):
|
):
|
||||||
assert _fast_install.fast_install(7, "G") is False
|
assert _fast_install.fast_install(7, "G") is False
|
||||||
assert {7} == set(_fast_install._FAILED)
|
assert {7} == _fast_install._FAILED
|
||||||
assert "exit 2" in echo.call_args.args[0]
|
assert "exit 2" in echo.call_args.args[0]
|
||||||
|
|||||||
@ -1,50 +0,0 @@
|
|||||||
"""Tests for queueing an install with Steam before the fast installer runs.
|
|
||||||
|
|
||||||
steam-game-installer only finishes a manifest it finds. A fresh install used
|
|
||||||
to reach it with none (Oct 22, BG3: "nothing to finish"), so the enforcer now
|
|
||||||
writes Steam's own "needs downloading" manifest first.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
from unittest.mock import patch
|
|
||||||
|
|
||||||
from steam_backlog_enforcer.game_install import _queue_download, install_game
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from collections.abc import Callable
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
PKG = "steam_backlog_enforcer.game_install"
|
|
||||||
|
|
||||||
|
|
||||||
class TestQueueBeforeFastInstall:
|
|
||||||
def test_fast_install_gets_a_manifest_to_finish(self, tmp_path: Path) -> None:
|
|
||||||
"""steam-game-installer only finishes a manifest it finds, so a fresh
|
|
||||||
install is queued with Steam before the installer runs, not after."""
|
|
||||||
seen: list[bool] = []
|
|
||||||
|
|
||||||
def fast(_app_id: int, _label: str, prepare: Callable[[], object]) -> bool:
|
|
||||||
prepare()
|
|
||||||
seen.append((tmp_path / "appmanifest_440.acf").exists())
|
|
||||||
return True
|
|
||||||
|
|
||||||
with (
|
|
||||||
patch(f"{PKG}.STEAMAPPS_PATH", tmp_path),
|
|
||||||
patch(f"{PKG}.fast_install", side_effect=fast),
|
|
||||||
patch(f"{PKG}.os.geteuid", return_value=1000),
|
|
||||||
):
|
|
||||||
assert install_game(440, "TF2", "s1", use_steam_protocol=True) is True
|
|
||||||
assert seen == [True]
|
|
||||||
|
|
||||||
def test_a_manifest_steam_already_has_is_kept(self, tmp_path: Path) -> None:
|
|
||||||
"""Steam's own download in progress: its manifest is never overwritten."""
|
|
||||||
manifest = tmp_path / "appmanifest_440.acf"
|
|
||||||
manifest.write_text('"StateFlags"\t\t"1042"\n')
|
|
||||||
with (
|
|
||||||
patch(f"{PKG}.STEAMAPPS_PATH", tmp_path),
|
|
||||||
patch("steam_backlog_enforcer._steam_client.STEAMAPPS_PATH", tmp_path),
|
|
||||||
):
|
|
||||||
assert _queue_download(440, "TF2", "s1") is True
|
|
||||||
assert manifest.read_text() == '"StateFlags"\t\t"1042"\n'
|
|
||||||
@ -112,19 +112,6 @@ class TestCmdInstall:
|
|||||||
):
|
):
|
||||||
cmd_install(Config(steam_id="i"), state)
|
cmd_install(Config(steam_id="i"), state)
|
||||||
|
|
||||||
def test_failed_fast_install_never_says_done(self) -> None:
|
|
||||||
"""Steam's fallback download started, but the fast one failed: "Done!"
|
|
||||||
after the "Failed: ..." line was the success the BG3 job showed."""
|
|
||||||
state = State(current_app_id=1, current_game_name="G")
|
|
||||||
with (
|
|
||||||
patch(f"{PKG}.is_game_fully_installed", return_value=False),
|
|
||||||
patch(f"{PKG}.install_game", return_value=True),
|
|
||||||
patch(f"{PKG}.fast_install_failure", return_value="exit 1"),
|
|
||||||
patch(f"{PKG}._echo") as echo,
|
|
||||||
):
|
|
||||||
cmd_install(Config(steam_id="i"), state)
|
|
||||||
echo.assert_called_with("Steam's own download was started instead.")
|
|
||||||
|
|
||||||
|
|
||||||
class TestCmdHide:
|
class TestCmdHide:
|
||||||
"""Tests for cmd_hide."""
|
"""Tests for cmd_hide."""
|
||||||
|
|||||||
@ -91,7 +91,6 @@ class TestDaemonView:
|
|||||||
"phase": "downloading depot 3/8",
|
"phase": "downloading depot 3/8",
|
||||||
"percent": 46.9,
|
"percent": 46.9,
|
||||||
"elapsed_seconds": 60,
|
"elapsed_seconds": 60,
|
||||||
"error": None,
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
32
web/package-lock.json
generated
32
web/package-lock.json
generated
@ -9,7 +9,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/react-query": "5.104.5",
|
"@tanstack/react-query": "5.104.5",
|
||||||
"@tanstack/react-router": "1.170.46",
|
"@tanstack/react-router": "1.170.45",
|
||||||
"react": "19.3.1",
|
"react": "19.3.1",
|
||||||
"react-dom": "19.3.1"
|
"react-dom": "19.3.1"
|
||||||
},
|
},
|
||||||
@ -1552,14 +1552,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tanstack/react-router": {
|
"node_modules/@tanstack/react-router": {
|
||||||
"version": "1.170.46",
|
"version": "1.170.45",
|
||||||
"resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.170.46.tgz",
|
"resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.170.45.tgz",
|
||||||
"integrity": "sha512-ez1iNIhsPjGlaDHg3BXWs67EWVIYzB2tbopEHYDESdkO7owgkGb5de52+5Kv2v1fxdkggcNzo35bdk4arTVGQw==",
|
"integrity": "sha512-6tuiIAFb82zsk/YxveJRyGjbsm6kIfgUuoH7qCp2R2aSHveW6W0t/6j+Sn4m1iIlA2lLU4cvooqks08/YMOThw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/history": "1.162.5",
|
"@tanstack/history": "1.162.5",
|
||||||
"@tanstack/react-store": "^0.11.2",
|
"@tanstack/react-store": "^0.11.2",
|
||||||
"@tanstack/router-core": "1.171.39",
|
"@tanstack/router-core": "1.171.38",
|
||||||
"isbot": "^5.1.22"
|
"isbot": "^5.1.22"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -1593,9 +1593,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tanstack/router-core": {
|
"node_modules/@tanstack/router-core": {
|
||||||
"version": "1.171.39",
|
"version": "1.171.38",
|
||||||
"resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.171.39.tgz",
|
"resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.171.38.tgz",
|
||||||
"integrity": "sha512-qUhoJ0meuSUqGYQbHbcJYdASr06YtK+bulbj6vtrhKYFkLgkSsZ6tXmMyym7sFxiSJSPYgasgozrL01LyyR/6A==",
|
"integrity": "sha512-XRZVxiO6BIexICmEo3XfPmpoyyLhbjgaMJsONz4gIf5oYys0UiaG1BJGRyj9x8QZPDZcBhvAMuTYN70wSxV0gA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/history": "1.162.5",
|
"@tanstack/history": "1.162.5",
|
||||||
@ -4091,21 +4091,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/seroval": {
|
"node_modules/seroval": {
|
||||||
"version": "1.7.1",
|
"version": "1.6.11",
|
||||||
"resolved": "https://registry.npmjs.org/seroval/-/seroval-1.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/seroval/-/seroval-1.6.11.tgz",
|
||||||
"integrity": "sha512-tSRMcPkD/bu1rmY0/XfFP2zLPD8jXVuzHli6Y2UFi9AiG/d0kOd8LAc/G6NolpW8MA1PtgDUhywKCmerS4E3tg==",
|
"integrity": "sha512-hpb6XnMCGN/A+79Uf8V7/iTGkyyyazNn5X0CoCAp7Uy9vT3RT8jZ9GLcnxGoVjg3P8AArbe4ZVHq6C8oT2a0kA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/seroval-plugins": {
|
"node_modules/seroval-plugins": {
|
||||||
"version": "1.7.1",
|
"version": "1.6.11",
|
||||||
"resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.6.11.tgz",
|
||||||
"integrity": "sha512-5EiMqQiw2/KqzTCyJNdpMvBFbKlidtcinyRwZg77pW5Z+QllOp2JUkEpTdThkdsEFXsPGf8ofTpu5yC1kXwv0g==",
|
"integrity": "sha512-LmB3nd8pL39jKHKvnpTUjcjBtNwR8MLty/ydAR8qbfXt5j6/6KqR1atuw8cVmD2/lDxAkvAwq5tI/HsisD9Fqg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"seroval": "^1.0"
|
"seroval": "^1.0"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/react-query": "5.104.5",
|
"@tanstack/react-query": "5.104.5",
|
||||||
"@tanstack/react-router": "1.170.46",
|
"@tanstack/react-router": "1.170.45",
|
||||||
"react": "19.3.1",
|
"react": "19.3.1",
|
||||||
"react-dom": "19.3.1"
|
"react-dom": "19.3.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -9,11 +9,11 @@ importers:
|
|||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tanstack/react-query':
|
'@tanstack/react-query':
|
||||||
specifier: 5.104.5
|
specifier: 5.104.4
|
||||||
version: 5.104.5(@types/react@19.3.0)(react@19.3.1)
|
version: 5.104.4(@types/react@19.3.0)(react@19.3.1)
|
||||||
'@tanstack/react-router':
|
'@tanstack/react-router':
|
||||||
specifier: 1.170.46
|
specifier: 1.170.45
|
||||||
version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
version: 1.170.45(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||||
react:
|
react:
|
||||||
specifier: 19.3.1
|
specifier: 19.3.1
|
||||||
version: 19.3.1
|
version: 19.3.1
|
||||||
@ -29,7 +29,7 @@ importers:
|
|||||||
version: 10.0.1(eslint@10.13.0(supports-color@7.2.0))
|
version: 10.0.1(eslint@10.13.0(supports-color@7.2.0))
|
||||||
'@rolldown/plugin-babel':
|
'@rolldown/plugin-babel':
|
||||||
specifier: 0.2.4
|
specifier: 0.2.4
|
||||||
version: 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))
|
version: 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@26.6.5))
|
||||||
'@testing-library/dom':
|
'@testing-library/dom':
|
||||||
specifier: 10.4.2
|
specifier: 10.4.2
|
||||||
version: 10.4.2
|
version: 10.4.2
|
||||||
@ -53,7 +53,7 @@ importers:
|
|||||||
version: 19.3.0(@types/react@19.3.0)
|
version: 19.3.0(@types/react@19.3.0)
|
||||||
'@vitejs/plugin-react':
|
'@vitejs/plugin-react':
|
||||||
specifier: 6.1.2
|
specifier: 6.1.2
|
||||||
version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.5))
|
version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.4(@types/node@26.6.5))
|
||||||
'@vitest/coverage-v8':
|
'@vitest/coverage-v8':
|
||||||
specifier: 5.0.5
|
specifier: 5.0.5
|
||||||
version: 5.0.5(vitest@5.0.5)
|
version: 5.0.5(vitest@5.0.5)
|
||||||
@ -79,14 +79,14 @@ importers:
|
|||||||
specifier: 6.0.3
|
specifier: 6.0.3
|
||||||
version: 6.0.3
|
version: 6.0.3
|
||||||
typescript-eslint:
|
typescript-eslint:
|
||||||
specifier: 8.72.0
|
specifier: 8.71.2
|
||||||
version: 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
version: 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
vite:
|
vite:
|
||||||
specifier: 8.3.5
|
specifier: 8.3.4
|
||||||
version: 8.3.5(@types/node@26.6.5)
|
version: 8.3.4(@types/node@26.6.5)
|
||||||
vitest:
|
vitest:
|
||||||
specifier: 5.0.5
|
specifier: 5.0.5
|
||||||
version: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
|
version: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5))
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@ -374,101 +374,101 @@ packages:
|
|||||||
'@keyv/serialize@1.1.1':
|
'@keyv/serialize@1.1.1':
|
||||||
resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==}
|
resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==}
|
||||||
|
|
||||||
'@oxc-project/types@0.155.0':
|
'@oxc-project/types@0.153.0':
|
||||||
resolution: {integrity: sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==}
|
resolution: {integrity: sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==}
|
||||||
|
|
||||||
'@rolldown/binding-android-arm-eabi@1.2.15':
|
'@rolldown/binding-android-arm-eabi@1.2.13':
|
||||||
resolution: {integrity: sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==}
|
resolution: {integrity: sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [android]
|
os: [android]
|
||||||
|
|
||||||
'@rolldown/binding-android-arm64@1.2.15':
|
'@rolldown/binding-android-arm64@1.2.13':
|
||||||
resolution: {integrity: sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==}
|
resolution: {integrity: sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [android]
|
os: [android]
|
||||||
|
|
||||||
'@rolldown/binding-darwin-arm64@1.2.15':
|
'@rolldown/binding-darwin-arm64@1.2.13':
|
||||||
resolution: {integrity: sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==}
|
resolution: {integrity: sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@rolldown/binding-darwin-x64@1.2.15':
|
'@rolldown/binding-darwin-x64@1.2.13':
|
||||||
resolution: {integrity: sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==}
|
resolution: {integrity: sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@rolldown/binding-freebsd-x64@1.2.15':
|
'@rolldown/binding-freebsd-x64@1.2.13':
|
||||||
resolution: {integrity: sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==}
|
resolution: {integrity: sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [freebsd]
|
os: [freebsd]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm-gnueabihf@1.2.15':
|
'@rolldown/binding-linux-arm-gnueabihf@1.2.13':
|
||||||
resolution: {integrity: sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==}
|
resolution: {integrity: sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-gnu@1.2.15':
|
'@rolldown/binding-linux-arm64-gnu@1.2.13':
|
||||||
resolution: {integrity: sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==}
|
resolution: {integrity: sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-musl@1.2.15':
|
'@rolldown/binding-linux-arm64-musl@1.2.13':
|
||||||
resolution: {integrity: sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==}
|
resolution: {integrity: sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@rolldown/binding-linux-ppc64-gnu@1.2.15':
|
'@rolldown/binding-linux-ppc64-gnu@1.2.13':
|
||||||
resolution: {integrity: sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==}
|
resolution: {integrity: sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [ppc64]
|
cpu: [ppc64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@rolldown/binding-linux-s390x-gnu@1.2.15':
|
'@rolldown/binding-linux-s390x-gnu@1.2.13':
|
||||||
resolution: {integrity: sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==}
|
resolution: {integrity: sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [s390x]
|
cpu: [s390x]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-gnu@1.2.15':
|
'@rolldown/binding-linux-x64-gnu@1.2.13':
|
||||||
resolution: {integrity: sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==}
|
resolution: {integrity: sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-musl@1.2.15':
|
'@rolldown/binding-linux-x64-musl@1.2.13':
|
||||||
resolution: {integrity: sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==}
|
resolution: {integrity: sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@rolldown/binding-openharmony-arm64@1.2.15':
|
'@rolldown/binding-openharmony-arm64@1.2.13':
|
||||||
resolution: {integrity: sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==}
|
resolution: {integrity: sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [openharmony]
|
os: [openharmony]
|
||||||
|
|
||||||
'@rolldown/binding-win32-arm64-msvc@1.2.15':
|
'@rolldown/binding-win32-arm64-msvc@1.2.13':
|
||||||
resolution: {integrity: sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==}
|
resolution: {integrity: sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@rolldown/binding-win32-x64-msvc@1.2.15':
|
'@rolldown/binding-win32-x64-msvc@1.2.13':
|
||||||
resolution: {integrity: sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==}
|
resolution: {integrity: sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
@ -497,11 +497,11 @@ packages:
|
|||||||
resolution: {integrity: sha512-w1+YvwmTkwt5n8yUqEH3IWZ9DsmorCZW/EQ3KYHnqEgIkOZpH54NvW6/Epq3Dzb8H0ifIeYX8PExvrNLIH5FIA==}
|
resolution: {integrity: sha512-w1+YvwmTkwt5n8yUqEH3IWZ9DsmorCZW/EQ3KYHnqEgIkOZpH54NvW6/Epq3Dzb8H0ifIeYX8PExvrNLIH5FIA==}
|
||||||
engines: {node: '>=20.19'}
|
engines: {node: '>=20.19'}
|
||||||
|
|
||||||
'@tanstack/query-core@5.104.5':
|
'@tanstack/query-core@5.104.4':
|
||||||
resolution: {integrity: sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==}
|
resolution: {integrity: sha512-nU4Yrb8Sjn0DeVb7PKG9uiepNavys3yoxy1FX0hViY4/P6Ng/mBje2SMl7i9812rtyHKtHyqiaC/td6GkI8StA==}
|
||||||
|
|
||||||
'@tanstack/react-query@5.104.5':
|
'@tanstack/react-query@5.104.4':
|
||||||
resolution: {integrity: sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==}
|
resolution: {integrity: sha512-YD5QkvUNy8Ey3LbOy2vwL97JjoYycwDv++cWAibTe+9BLYvl3c09XpYp5dZ2VcxcguwoDhGF+utYJYb79RB36w==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^18 || ^19
|
'@types/react': ^18 || ^19
|
||||||
react: ^18 || ^19
|
react: ^18 || ^19
|
||||||
@ -509,8 +509,8 @@ packages:
|
|||||||
'@types/react':
|
'@types/react':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@tanstack/react-router@1.170.46':
|
'@tanstack/react-router@1.170.45':
|
||||||
resolution: {integrity: sha512-ez1iNIhsPjGlaDHg3BXWs67EWVIYzB2tbopEHYDESdkO7owgkGb5de52+5Kv2v1fxdkggcNzo35bdk4arTVGQw==}
|
resolution: {integrity: sha512-6tuiIAFb82zsk/YxveJRyGjbsm6kIfgUuoH7qCp2R2aSHveW6W0t/6j+Sn4m1iIlA2lLU4cvooqks08/YMOThw==}
|
||||||
engines: {node: '>=20.19'}
|
engines: {node: '>=20.19'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=18.0.0 || >=19.0.0'
|
react: '>=18.0.0 || >=19.0.0'
|
||||||
@ -522,8 +522,8 @@ packages:
|
|||||||
react: ^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
|
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
'@tanstack/router-core@1.171.39':
|
'@tanstack/router-core@1.171.38':
|
||||||
resolution: {integrity: sha512-qUhoJ0meuSUqGYQbHbcJYdASr06YtK+bulbj6vtrhKYFkLgkSsZ6tXmMyym7sFxiSJSPYgasgozrL01LyyR/6A==}
|
resolution: {integrity: sha512-XRZVxiO6BIexICmEo3XfPmpoyyLhbjgaMJsONz4gIf5oYys0UiaG1BJGRyj9x8QZPDZcBhvAMuTYN70wSxV0gA==}
|
||||||
engines: {node: '>=20.19'}
|
engines: {node: '>=20.19'}
|
||||||
|
|
||||||
'@tanstack/store@0.11.2':
|
'@tanstack/store@0.11.2':
|
||||||
@ -599,63 +599,63 @@ packages:
|
|||||||
'@types/react@19.3.0':
|
'@types/react@19.3.0':
|
||||||
resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}
|
resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}
|
||||||
|
|
||||||
'@typescript-eslint/eslint-plugin@8.72.0':
|
'@typescript-eslint/eslint-plugin@8.71.2':
|
||||||
resolution: {integrity: sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==}
|
resolution: {integrity: sha512-K72/pvT7qpm8q3k8G5u93NCSN1RcLxX5h7Gw0bQpbMXviBHeY6Nx1WEwmk9wP+eKTSQ8ecxvcgt/ZX/rB938xQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@typescript-eslint/parser': ^8.72.0
|
'@typescript-eslint/parser': ^8.71.2
|
||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/parser@8.72.0':
|
'@typescript-eslint/parser@8.71.2':
|
||||||
resolution: {integrity: sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==}
|
resolution: {integrity: sha512-aTtmZjp/x3gsGHkDs04/1I8kNogBJkpQaeGaN0PfiG43NzDEmW2n+OP5im9wfsvyX0yP1UZWBrAGtDBfH9jEVw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/project-service@8.72.0':
|
'@typescript-eslint/project-service@8.71.2':
|
||||||
resolution: {integrity: sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==}
|
resolution: {integrity: sha512-Pd68GsLVh5ZXlcEccFPdhSOvtHZ/2WU0XsA8zmXOS3F158lVlcTLhfQ6qvtL1RzbMie0Kp8xtbVwAg4nejKPHw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/scope-manager@8.72.0':
|
'@typescript-eslint/scope-manager@8.71.2':
|
||||||
resolution: {integrity: sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==}
|
resolution: {integrity: sha512-YF4wgg5iUX5Obywoac27B56FhozMNFhdJSbh11H5GBAwmBtfyRhmgTQqW9tRNNmHDvsZ2CX6UGzoz+YfYn2Leg==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@typescript-eslint/tsconfig-utils@8.72.0':
|
'@typescript-eslint/tsconfig-utils@8.71.2':
|
||||||
resolution: {integrity: sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==}
|
resolution: {integrity: sha512-jz49TAWokm/7yWD9/o837nYax9DyALxIPOImdImvVzo6canBCZYzin8zJyqNR5k1j9K1DE0bVvr0XYB+99uAdg==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/type-utils@8.72.0':
|
'@typescript-eslint/type-utils@8.71.2':
|
||||||
resolution: {integrity: sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==}
|
resolution: {integrity: sha512-cC8UaalCViJkb3rH/xLIvidEwoFRtMZMUqDjjJMGEKaTFwYRHYBcoczlEGHuvkHEO8svRDrgZ0yQgOArFmwang==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/types@8.72.0':
|
'@typescript-eslint/types@8.71.2':
|
||||||
resolution: {integrity: sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==}
|
resolution: {integrity: sha512-y5Ukl3oVp7e/VGxqIoEXoeb/Roj71PAJ4WG/N/RGj+eeDvKRLM15kGr9MijLbN0i03S52zxu31Z98E5gWChJKw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@typescript-eslint/typescript-estree@8.72.0':
|
'@typescript-eslint/typescript-estree@8.71.2':
|
||||||
resolution: {integrity: sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==}
|
resolution: {integrity: sha512-DgNOEsl4pdYzwSL+N/Cl33tX1Hlw3FvId73LnKXfq7jnrF2viOEn7X+P7RBkkSWCVm92gnWd28GIC5vJuLREeA==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/utils@8.72.0':
|
'@typescript-eslint/utils@8.71.2':
|
||||||
resolution: {integrity: sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==}
|
resolution: {integrity: sha512-RyKa1G1M9rKHDhrk+HJtiF1MvLD5Ux2JW3TSkzw+02pRALdpJb+QzG1Y5em+LvCgzGwgg8H7mBRFKljNz7ImPw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
'@typescript-eslint/visitor-keys@8.72.0':
|
'@typescript-eslint/visitor-keys@8.71.2':
|
||||||
resolution: {integrity: sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==}
|
resolution: {integrity: sha512-zozlN0UA32bSG2zkKAgQyRYSbEISVoyU6vvkKYo2aSny74D8Jh4e+POkJ6Lk0dlezZi5x7TtD+88Xb06IB8nhg==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@vitejs/plugin-react@6.1.2':
|
'@vitejs/plugin-react@6.1.2':
|
||||||
@ -1214,8 +1214,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
|
resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
postcss@8.5.31:
|
postcss@8.5.29:
|
||||||
resolution: {integrity: sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==}
|
resolution: {integrity: sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==}
|
||||||
engines: {node: ^10 || ^12 || >=14}
|
engines: {node: ^10 || ^12 || >=14}
|
||||||
|
|
||||||
prelude-ls@1.2.1:
|
prelude-ls@1.2.1:
|
||||||
@ -1254,8 +1254,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
|
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
rolldown@1.2.15:
|
rolldown@1.2.13:
|
||||||
resolution: {integrity: sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==}
|
resolution: {integrity: sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
@ -1348,8 +1348,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
||||||
engines: {node: '>= 0.8.0'}
|
engines: {node: '>= 0.8.0'}
|
||||||
|
|
||||||
typescript-eslint@8.72.0:
|
typescript-eslint@8.71.2:
|
||||||
resolution: {integrity: sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==}
|
resolution: {integrity: sha512-Rz4effbMy2g9wnvOJZG6SbVavX313Lap1vNEbk1RUochzickvzP8P4HB+bkNg5e50eVz1hQGjh9K1omI1xB4Bw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
@ -1384,13 +1384,13 @@ packages:
|
|||||||
resolution: {integrity: sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==}
|
resolution: {integrity: sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==}
|
||||||
engines: {node: '>=18.12.0'}
|
engines: {node: '>=18.12.0'}
|
||||||
|
|
||||||
vite@8.3.5:
|
vite@8.3.4:
|
||||||
resolution: {integrity: sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==}
|
resolution: {integrity: sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/node': ^20.19.0 || >=22.12.0
|
'@types/node': ^20.19.0 || >=22.12.0
|
||||||
'@vitejs/devtools': ^0.7.1 || ^0.8.0
|
'@vitejs/devtools': ^0.7.1
|
||||||
esbuild: ^0.27.0 || ^0.28.0
|
esbuild: ^0.27.0 || ^0.28.0
|
||||||
jiti: '>=1.21.0'
|
jiti: '>=1.21.0'
|
||||||
less: ^4.0.0
|
less: ^4.0.0
|
||||||
@ -1849,80 +1849,80 @@ snapshots:
|
|||||||
|
|
||||||
'@keyv/serialize@1.1.1': {}
|
'@keyv/serialize@1.1.1': {}
|
||||||
|
|
||||||
'@oxc-project/types@0.155.0': {}
|
'@oxc-project/types@0.153.0': {}
|
||||||
|
|
||||||
'@rolldown/binding-android-arm-eabi@1.2.15':
|
'@rolldown/binding-android-arm-eabi@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-android-arm64@1.2.15':
|
'@rolldown/binding-android-arm64@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-darwin-arm64@1.2.15':
|
'@rolldown/binding-darwin-arm64@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-darwin-x64@1.2.15':
|
'@rolldown/binding-darwin-x64@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-freebsd-x64@1.2.15':
|
'@rolldown/binding-freebsd-x64@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm-gnueabihf@1.2.15':
|
'@rolldown/binding-linux-arm-gnueabihf@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-gnu@1.2.15':
|
'@rolldown/binding-linux-arm64-gnu@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-musl@1.2.15':
|
'@rolldown/binding-linux-arm64-musl@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-ppc64-gnu@1.2.15':
|
'@rolldown/binding-linux-ppc64-gnu@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-s390x-gnu@1.2.15':
|
'@rolldown/binding-linux-s390x-gnu@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-gnu@1.2.15':
|
'@rolldown/binding-linux-x64-gnu@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-musl@1.2.15':
|
'@rolldown/binding-linux-x64-musl@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-openharmony-arm64@1.2.15':
|
'@rolldown/binding-openharmony-arm64@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-win32-arm64-msvc@1.2.15':
|
'@rolldown/binding-win32-arm64-msvc@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-win32-x64-msvc@1.2.15':
|
'@rolldown/binding-win32-x64-msvc@1.2.13':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))':
|
'@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@26.6.5))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 8.0.7
|
'@babel/core': 8.0.7
|
||||||
picomatch: 4.0.7
|
picomatch: 4.0.7
|
||||||
rolldown: 1.2.15
|
rolldown: 1.2.13
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@babel/runtime': 7.29.7
|
'@babel/runtime': 7.29.7
|
||||||
vite: 8.3.5(@types/node@26.6.5)
|
vite: 8.3.4(@types/node@26.6.5)
|
||||||
|
|
||||||
'@rolldown/pluginutils@1.0.1': {}
|
'@rolldown/pluginutils@1.0.1': {}
|
||||||
|
|
||||||
'@tanstack/history@1.162.5': {}
|
'@tanstack/history@1.162.5': {}
|
||||||
|
|
||||||
'@tanstack/query-core@5.104.5': {}
|
'@tanstack/query-core@5.104.4': {}
|
||||||
|
|
||||||
'@tanstack/react-query@5.104.5(@types/react@19.3.0)(react@19.3.1)':
|
'@tanstack/react-query@5.104.4(@types/react@19.3.0)(react@19.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tanstack/query-core': 5.104.5
|
'@tanstack/query-core': 5.104.4
|
||||||
react: 19.3.1
|
react: 19.3.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 19.3.0
|
'@types/react': 19.3.0
|
||||||
|
|
||||||
'@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1)':
|
'@tanstack/react-router@1.170.45(react-dom@19.3.1(react@19.3.1))(react@19.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tanstack/history': 1.162.5
|
'@tanstack/history': 1.162.5
|
||||||
'@tanstack/react-store': 0.11.2(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
'@tanstack/react-store': 0.11.2(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||||
'@tanstack/router-core': 1.171.39
|
'@tanstack/router-core': 1.171.38
|
||||||
isbot: 5.2.2
|
isbot: 5.2.2
|
||||||
react: 19.3.1
|
react: 19.3.1
|
||||||
react-dom: 19.3.1(react@19.3.1)
|
react-dom: 19.3.1(react@19.3.1)
|
||||||
@ -1934,7 +1934,7 @@ snapshots:
|
|||||||
react-dom: 19.3.1(react@19.3.1)
|
react-dom: 19.3.1(react@19.3.1)
|
||||||
use-sync-external-store: 1.7.0(react@19.3.1)
|
use-sync-external-store: 1.7.0(react@19.3.1)
|
||||||
|
|
||||||
'@tanstack/router-core@1.171.39':
|
'@tanstack/router-core@1.171.38':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tanstack/history': 1.162.5
|
'@tanstack/history': 1.162.5
|
||||||
cookie-es: 3.1.1
|
cookie-es: 3.1.1
|
||||||
@ -1964,7 +1964,7 @@ snapshots:
|
|||||||
picocolors: 1.1.1
|
picocolors: 1.1.1
|
||||||
redent: 3.0.0
|
redent: 3.0.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
|
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5))
|
||||||
|
|
||||||
'@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@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)':
|
'@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@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)':
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2011,14 +2011,14 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
csstype: 3.2.3
|
csstype: 3.2.3
|
||||||
|
|
||||||
'@typescript-eslint/eslint-plugin@8.72.0(@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/eslint-plugin@8.71.2(@typescript-eslint/parser@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/regexpp': 4.12.2
|
'@eslint-community/regexpp': 4.12.2
|
||||||
'@typescript-eslint/parser': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/parser': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/scope-manager': 8.72.0
|
'@typescript-eslint/scope-manager': 8.71.2
|
||||||
'@typescript-eslint/type-utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/type-utils': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/utils': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/visitor-keys': 8.72.0
|
'@typescript-eslint/visitor-keys': 8.71.2
|
||||||
eslint: 10.13.0(supports-color@7.2.0)
|
eslint: 10.13.0(supports-color@7.2.0)
|
||||||
ignore: 7.0.6
|
ignore: 7.0.6
|
||||||
natural-compare: 1.4.0
|
natural-compare: 1.4.0
|
||||||
@ -2027,41 +2027,41 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/parser@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/scope-manager': 8.72.0
|
'@typescript-eslint/scope-manager': 8.71.2
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/typescript-estree': 8.71.2(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/visitor-keys': 8.72.0
|
'@typescript-eslint/visitor-keys': 8.71.2
|
||||||
debug: 4.4.3(supports-color@7.2.0)
|
debug: 4.4.3(supports-color@7.2.0)
|
||||||
eslint: 10.13.0(supports-color@7.2.0)
|
eslint: 10.13.0(supports-color@7.2.0)
|
||||||
typescript: 6.0.3
|
typescript: 6.0.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/project-service@8.72.0(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/project-service@8.71.2(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/tsconfig-utils': 8.72.0(typescript@6.0.3)
|
'@typescript-eslint/tsconfig-utils': 8.71.2(typescript@6.0.3)
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
debug: 4.4.3(supports-color@7.2.0)
|
debug: 4.4.3(supports-color@7.2.0)
|
||||||
typescript: 6.0.3
|
typescript: 6.0.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/scope-manager@8.72.0':
|
'@typescript-eslint/scope-manager@8.71.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
'@typescript-eslint/visitor-keys': 8.72.0
|
'@typescript-eslint/visitor-keys': 8.71.2
|
||||||
|
|
||||||
'@typescript-eslint/tsconfig-utils@8.72.0(typescript@6.0.3)':
|
'@typescript-eslint/tsconfig-utils@8.71.2(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
typescript: 6.0.3
|
typescript: 6.0.3
|
||||||
|
|
||||||
'@typescript-eslint/type-utils@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/type-utils@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/typescript-estree': 8.71.2(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/utils': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
debug: 4.4.3(supports-color@7.2.0)
|
debug: 4.4.3(supports-color@7.2.0)
|
||||||
eslint: 10.13.0(supports-color@7.2.0)
|
eslint: 10.13.0(supports-color@7.2.0)
|
||||||
ts-api-utils: 2.5.0(typescript@6.0.3)
|
ts-api-utils: 2.5.0(typescript@6.0.3)
|
||||||
@ -2069,14 +2069,14 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/types@8.72.0': {}
|
'@typescript-eslint/types@8.71.2': {}
|
||||||
|
|
||||||
'@typescript-eslint/typescript-estree@8.72.0(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/typescript-estree@8.71.2(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/project-service': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/project-service': 8.71.2(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/tsconfig-utils': 8.72.0(typescript@6.0.3)
|
'@typescript-eslint/tsconfig-utils': 8.71.2(typescript@6.0.3)
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
'@typescript-eslint/visitor-keys': 8.72.0
|
'@typescript-eslint/visitor-keys': 8.71.2
|
||||||
debug: 4.4.3(supports-color@7.2.0)
|
debug: 4.4.3(supports-color@7.2.0)
|
||||||
minimatch: 10.2.6
|
minimatch: 10.2.6
|
||||||
semver: 7.8.5
|
semver: 7.8.5
|
||||||
@ -2086,28 +2086,28 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/utils@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
'@typescript-eslint/utils@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(supports-color@7.2.0))
|
'@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(supports-color@7.2.0))
|
||||||
'@typescript-eslint/scope-manager': 8.72.0
|
'@typescript-eslint/scope-manager': 8.71.2
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/typescript-estree': 8.71.2(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
eslint: 10.13.0(supports-color@7.2.0)
|
eslint: 10.13.0(supports-color@7.2.0)
|
||||||
typescript: 6.0.3
|
typescript: 6.0.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/visitor-keys@8.72.0':
|
'@typescript-eslint/visitor-keys@8.71.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 8.72.0
|
'@typescript-eslint/types': 8.71.2
|
||||||
eslint-visitor-keys: 5.0.1
|
eslint-visitor-keys: 5.0.1
|
||||||
|
|
||||||
'@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.5))':
|
'@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.4(@types/node@26.6.5))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rolldown/pluginutils': 1.0.1
|
'@rolldown/pluginutils': 1.0.1
|
||||||
vite: 8.3.5(@types/node@26.6.5)
|
vite: 8.3.4(@types/node@26.6.5)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@rolldown/plugin-babel': 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))
|
'@rolldown/plugin-babel': 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@26.6.5))
|
||||||
babel-plugin-react-compiler: 1.0.0
|
babel-plugin-react-compiler: 1.0.0
|
||||||
|
|
||||||
'@vitest/coverage-v8@5.0.5(vitest@5.0.5)':
|
'@vitest/coverage-v8@5.0.5(vitest@5.0.5)':
|
||||||
@ -2120,7 +2120,7 @@ snapshots:
|
|||||||
obug: 3.0.0
|
obug: 3.0.0
|
||||||
std-env: 4.3.0
|
std-env: 4.3.0
|
||||||
tinyrainbow: 3.2.0
|
tinyrainbow: 3.2.0
|
||||||
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
|
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5))
|
||||||
|
|
||||||
'@vitest/istanbul-lib-coverage@1.0.2': {}
|
'@vitest/istanbul-lib-coverage@1.0.2': {}
|
||||||
|
|
||||||
@ -2128,14 +2128,14 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/istanbul-lib-coverage': 1.0.2
|
'@vitest/istanbul-lib-coverage': 1.0.2
|
||||||
|
|
||||||
'@vitest/mocker@5.0.5(vite@8.3.5(@types/node@26.6.5))':
|
'@vitest/mocker@5.0.5(vite@8.3.4(@types/node@26.6.5))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@jridgewell/trace-mapping': 0.3.31
|
'@jridgewell/trace-mapping': 0.3.31
|
||||||
'@vitest/spy': 5.0.5
|
'@vitest/spy': 5.0.5
|
||||||
estree-walker: 3.0.3
|
estree-walker: 3.0.3
|
||||||
magic-string: 1.4.3
|
magic-string: 1.4.3
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vite: 8.3.5(@types/node@26.6.5)
|
vite: 8.3.4(@types/node@26.6.5)
|
||||||
|
|
||||||
'@vitest/spy@5.0.5': {}
|
'@vitest/spy@5.0.5': {}
|
||||||
|
|
||||||
@ -2596,7 +2596,7 @@ snapshots:
|
|||||||
|
|
||||||
picomatch@4.0.7: {}
|
picomatch@4.0.7: {}
|
||||||
|
|
||||||
postcss@8.5.31:
|
postcss@8.5.29:
|
||||||
dependencies:
|
dependencies:
|
||||||
nanoid: 3.3.20
|
nanoid: 3.3.20
|
||||||
picocolors: 1.1.1
|
picocolors: 1.1.1
|
||||||
@ -2632,26 +2632,26 @@ snapshots:
|
|||||||
|
|
||||||
require-from-string@2.0.2: {}
|
require-from-string@2.0.2: {}
|
||||||
|
|
||||||
rolldown@1.2.15:
|
rolldown@1.2.13:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@oxc-project/types': 0.155.0
|
'@oxc-project/types': 0.153.0
|
||||||
'@rolldown/pluginutils': 1.0.1
|
'@rolldown/pluginutils': 1.0.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@rolldown/binding-android-arm-eabi': 1.2.15
|
'@rolldown/binding-android-arm-eabi': 1.2.13
|
||||||
'@rolldown/binding-android-arm64': 1.2.15
|
'@rolldown/binding-android-arm64': 1.2.13
|
||||||
'@rolldown/binding-darwin-arm64': 1.2.15
|
'@rolldown/binding-darwin-arm64': 1.2.13
|
||||||
'@rolldown/binding-darwin-x64': 1.2.15
|
'@rolldown/binding-darwin-x64': 1.2.13
|
||||||
'@rolldown/binding-freebsd-x64': 1.2.15
|
'@rolldown/binding-freebsd-x64': 1.2.13
|
||||||
'@rolldown/binding-linux-arm-gnueabihf': 1.2.15
|
'@rolldown/binding-linux-arm-gnueabihf': 1.2.13
|
||||||
'@rolldown/binding-linux-arm64-gnu': 1.2.15
|
'@rolldown/binding-linux-arm64-gnu': 1.2.13
|
||||||
'@rolldown/binding-linux-arm64-musl': 1.2.15
|
'@rolldown/binding-linux-arm64-musl': 1.2.13
|
||||||
'@rolldown/binding-linux-ppc64-gnu': 1.2.15
|
'@rolldown/binding-linux-ppc64-gnu': 1.2.13
|
||||||
'@rolldown/binding-linux-s390x-gnu': 1.2.15
|
'@rolldown/binding-linux-s390x-gnu': 1.2.13
|
||||||
'@rolldown/binding-linux-x64-gnu': 1.2.15
|
'@rolldown/binding-linux-x64-gnu': 1.2.13
|
||||||
'@rolldown/binding-linux-x64-musl': 1.2.15
|
'@rolldown/binding-linux-x64-musl': 1.2.13
|
||||||
'@rolldown/binding-openharmony-arm64': 1.2.15
|
'@rolldown/binding-openharmony-arm64': 1.2.13
|
||||||
'@rolldown/binding-win32-arm64-msvc': 1.2.15
|
'@rolldown/binding-win32-arm64-msvc': 1.2.13
|
||||||
'@rolldown/binding-win32-x64-msvc': 1.2.15
|
'@rolldown/binding-win32-x64-msvc': 1.2.13
|
||||||
|
|
||||||
saxes@6.0.0:
|
saxes@6.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2721,12 +2721,12 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
prelude-ls: 1.2.1
|
prelude-ls: 1.2.1
|
||||||
|
|
||||||
typescript-eslint@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3):
|
typescript-eslint@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 8.72.0(@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/eslint-plugin': 8.71.2(@typescript-eslint/parser@8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/parser': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/parser': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/typescript-estree': 8.71.2(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
'@typescript-eslint/utils': 8.71.2(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
|
||||||
eslint: 10.13.0(supports-color@7.2.0)
|
eslint: 10.13.0(supports-color@7.2.0)
|
||||||
typescript: 6.0.3
|
typescript: 6.0.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
@ -2754,21 +2754,21 @@ snapshots:
|
|||||||
|
|
||||||
verkit@0.5.0: {}
|
verkit@0.5.0: {}
|
||||||
|
|
||||||
vite@8.3.5(@types/node@26.6.5):
|
vite@8.3.4(@types/node@26.6.5):
|
||||||
dependencies:
|
dependencies:
|
||||||
lightningcss: 1.33.0
|
lightningcss: 1.33.0
|
||||||
picomatch: 4.0.7
|
picomatch: 4.0.7
|
||||||
postcss: 8.5.31
|
postcss: 8.5.29
|
||||||
rolldown: 1.2.15
|
rolldown: 1.2.13
|
||||||
tinyglobby: 0.2.17
|
tinyglobby: 0.2.17
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 26.6.5
|
'@types/node': 26.6.5
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
|
|
||||||
vitest@5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5)):
|
vitest@5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/chai': 5.2.3
|
'@types/chai': 5.2.3
|
||||||
'@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@26.6.5))
|
'@vitest/mocker': 5.0.5(vite@8.3.4(@types/node@26.6.5))
|
||||||
chai: 6.3.0
|
chai: 6.3.0
|
||||||
es-module-lexer: 2.3.2
|
es-module-lexer: 2.3.2
|
||||||
expect-type: 1.4.0
|
expect-type: 1.4.0
|
||||||
@ -2779,7 +2779,7 @@ snapshots:
|
|||||||
tinybench: 6.2.2
|
tinybench: 6.2.2
|
||||||
tinyexec: 1.3.1
|
tinyexec: 1.3.1
|
||||||
tinyglobby: 0.2.17
|
tinyglobby: 0.2.17
|
||||||
vite: 8.3.5(@types/node@26.6.5)
|
vite: 8.3.4(@types/node@26.6.5)
|
||||||
why-is-node-running: 3.2.1
|
why-is-node-running: 3.2.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 26.6.5
|
'@types/node': 26.6.5
|
||||||
|
|||||||
@ -173,8 +173,6 @@ export interface FastInstallRun {
|
|||||||
/** The current depot's percent; null until depotdownloader reports one. */
|
/** The current depot's percent; null until depotdownloader reports one. */
|
||||||
percent: number | null
|
percent: number | null
|
||||||
elapsed_seconds: number
|
elapsed_seconds: number
|
||||||
/** Why the run failed (`phase` is then `failed`); null while it runs. */
|
|
||||||
error?: string | null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DaemonStatus {
|
export interface DaemonStatus {
|
||||||
|
|||||||
@ -114,14 +114,6 @@ describe('Dashboard', () => {
|
|||||||
expect(screen.getByRole('progressbar', { name: "Baldur's Gate 3 download" })).toHaveClass('bar-indeterminate')
|
expect(screen.getByRole('progressbar', { name: "Baldur's Gate 3 download" })).toHaveClass('bar-indeterminate')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('keeps a failed daemon run on screen with its reason', async () => {
|
|
||||||
const failed = { ...bg3, phase: 'failed', percent: null, elapsed_seconds: 0, error: 'Refusing to mark it as installed' }
|
|
||||||
show({ 'GET /api/daemon': daemon([failed]) })
|
|
||||||
expect(await screen.findByText("Fast install of Baldur's Gate 3 failed: Refusing to mark it as installed")).toHaveClass('text-danger')
|
|
||||||
expect(screen.getByText("Steam's own download took over.")).toBeInTheDocument()
|
|
||||||
expect(screen.queryByRole('progressbar', { name: "Baldur's Gate 3 download" })).not.toBeInTheDocument()
|
|
||||||
})
|
|
||||||
|
|
||||||
it('stays out of the way when nothing is installing', async () => {
|
it('stays out of the way when nothing is installing', async () => {
|
||||||
show()
|
show()
|
||||||
expect(await screen.findByText('Hollow Knight')).toBeInTheDocument()
|
expect(await screen.findByText('Hollow Knight')).toBeInTheDocument()
|
||||||
|
|||||||
@ -55,21 +55,13 @@ function FastInstalls() {
|
|||||||
if (!runs.length) return null
|
if (!runs.length) return null
|
||||||
return (
|
return (
|
||||||
<Card title="Fast install">
|
<Card title="Fast install">
|
||||||
{runs.map((r) =>
|
{runs.map((r) => (
|
||||||
r.error ? (
|
|
||||||
// The daemon has no job to report to: a failure stays here until Steam finishes.
|
|
||||||
<div key={r.app_id}>
|
|
||||||
<p className="text-danger">{`Fast install of ${r.name} failed: ${r.error}`}</p>
|
|
||||||
<p className="field-help">Steam's own download took over.</p>
|
|
||||||
</div>
|
|
||||||
) : (
|
|
||||||
<div key={r.app_id}>
|
<div key={r.app_id}>
|
||||||
<p>{fastInstallLine(r)}</p>
|
<p>{fastInstallLine(r)}</p>
|
||||||
<ProgressBar fraction={r.percent === null ? null : Math.floor(r.percent) / 100} label={`${r.name} download`} />
|
<ProgressBar fraction={r.percent === null ? null : Math.floor(r.percent) / 100} label={`${r.name} download`} />
|
||||||
<p className="field-help">{fmtDuration(r.elapsed_seconds)} elapsed</p>
|
<p className="field-help">{fmtDuration(r.elapsed_seconds)} elapsed</p>
|
||||||
</div>
|
</div>
|
||||||
),
|
))}
|
||||||
)}
|
|
||||||
</Card>
|
</Card>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user