diff --git a/.claude/skills/create-pr/SKILL.md b/.claude/skills/create-pr/SKILL.md
index 7840454d..99051c68 100644
--- a/.claude/skills/create-pr/SKILL.md
+++ b/.claude/skills/create-pr/SKILL.md
@@ -28,15 +28,20 @@ If the full diff is too large, diff individual areas (backend routes, frontend,
### 2. Write the PR file
-Write the file to `.pr/YYYY-MM-DD.md` (using today's date). Create the `.pr/` directory if it doesn't exist. If a file for today's date already exists, append a counter: `YYYY-MM-DD-2.md`, `YYYY-MM-DD-3.md`, etc.
+Write **two** files under `.pr/` (create the directory if it doesn't exist), sharing one base name from today's date:
+
+- `.pr/YYYY-MM-DD.title.txt` — the PR title, one line, nothing else.
+- `.pr/YYYY-MM-DD.md` — the PR **body only**. It starts directly with the summary paragraph.
+
+If files for today's date already exist, append a counter to the base name: `YYYY-MM-DD-2`, `YYYY-MM-DD-3`, etc.
+
+**The body file must never contain the title.** No `#
` heading, no `Title:` line, no frontmatter, no "PR description:" preamble. GitHub already renders the title above the body, so anything title-like in the body file shows up twice — whoever opens the PR (you, another agent, or the user copy-pasting) pastes the body file verbatim and should not have to edit it.
The structure depends on whether the PR introduces user-facing features or is purely internal (refactors, bug fixes, infra).
#### When the PR has user-facing features:
~~~markdown
-#
-
<4-6 sentence summary>
### Highlights
@@ -58,8 +63,6 @@ The structure depends on whether the PR introduces user-facing features or is pu
#### When the PR is purely internal (no user-facing features):
~~~markdown
-#
-
<4-6 sentence summary>
@@ -82,7 +85,7 @@ Omit the Highlights section entirely for internal-only PRs — don't force it.
- Bad: `feat(dns): add cloudflare provisioning` · `fix: subprocess injection` · `chore(deps): bump`
- Capitalize the first word like a sentence; imperative or plain-descriptive are both fine; no trailing period. Keep it under ~70 chars.
- Leading with the subsystem and a colon in plain words is fine when it aids scanning: `Backend: …`, `Extensions: …`.
-- The `# ` line at the top of the generated file **is** the PR title — when the PR is eventually opened, that same string is the `gh pr create --title` value. Don't write a second, different headline.
+- The title lives **only** in the `.title.txt` file — that string is the `gh pr create --title` value. Don't repeat it, or a variant of it, as a headline in the body file.
- **Where the release weight actually lives (so you can safely keep it out of the title):** `version-bump.yml` reads the *commit message* pushed to `dev` (`github.event.head_commit.message`), **not this title.** A `feat:`/`feature:`/`minor:` prefix or a `[minor]` tag in the commit → minor bump; `BREAKING:`/`major:` or `[major]` → major; anything else → patch. Put any bump intent in your **commits**; leave the PR title human.
#### Summary
@@ -123,6 +126,16 @@ Omit the Highlights section entirely for internal-only PRs — don't force it.
- **No emoji.**
- **No "Generated by" footer.**
-### 3. Stop after writing the file
+### 3. Stop after writing the files
-This skill's job ends when the `.pr/` file is written. **Do not** run `gh pr create`, `git push`, or any other remote-affecting command to actually open the PR — that's a separate, explicit step the user requests on its own. Print the path of the file you wrote and a one-line note that it's ready to review/copy.
+This skill's job ends when the `.pr/` files are written. **Do not** run `gh pr create`, `git push`, or any other remote-affecting command to actually open the PR — that's a separate, explicit step the user requests on its own. Print the title, the paths of both files, and a one-line note that they're ready to review/copy.
+
+### 4. Opening the PR (only when the user explicitly asks)
+
+Pass the two files separately — never derive the body from a file that has a heading in it:
+
+```bash
+gh pr create --base main --head dev --title "$(cat .pr/YYYY-MM-DD.title.txt)" --body-file .pr/YYYY-MM-DD.md
+```
+
+Before running it, check the first line of the body file: if it is a `#` heading or repeats the title, delete that line first. After creating, run `gh pr view --json title,body -q .body | head -3` and confirm the body does not start with the title.
diff --git a/.githooks/pre-commit b/.githooks/pre-commit
index 2b0ab8fd..db67f8e1 100755
--- a/.githooks/pre-commit
+++ b/.githooks/pre-commit
@@ -1,13 +1,34 @@
#!/bin/sh
-# ServerKit pre-commit hook — lints staged frontend JS/JSX and blocks the commit
-# on ESLint ERRORS only (warnings are allowed). It exits early for commits that
-# touch no frontend JS/JSX (backend, SCSS, docs), so it never gets in the way of
-# those. Enable once per clone with:
+# ServerKit pre-commit hook — blocks internal plan citations in any staged app
+# file, then lints staged frontend JS/JSX and blocks the commit on ESLint
+# ERRORS only (warnings are allowed). The lint half exits early for commits
+# that touch no frontend JS/JSX (backend, SCSS, docs). Enable once per clone with:
#
# git config core.hooksPath .githooks
#
# (Or run frontend/setup-hooks.sh.)
+# Plan-citation guard: same patterns and allowlist as
+# backend/tests/test_no_plan_references.py, run on the staged blobs of every
+# file type (SCSS and Python included) so CI never has to catch it.
+# First interpreter that actually runs (Windows ships a python3 stub that
+# only opens the Store); none found means the CI test still covers it.
+py=""
+for candidate in python3 python; do
+ if "$candidate" -c 'import sys; sys.exit(sys.version_info < (3, 8))' 2>/dev/null; then
+ py=$candidate
+ break
+ fi
+done
+if [ -n "$py" ]; then
+ if ! "$py" backend/tests/test_no_plan_references.py --staged; then
+ echo ""
+ echo "✖ Commit blocked: remove the plan reference(s) above."
+ echo " To bypass for an emergency commit: git commit --no-verify"
+ exit 1
+ fi
+fi
+
files=$(git diff --cached --name-only --diff-filter=ACM | grep -E '^frontend/src/.*\.(js|jsx)$' || true)
[ -z "$files" ] && exit 0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27e2f9df..8e447d1f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,12 @@ release history; historical `agent-v*` tags are not panel releases.
### Fixed
+- The Docker tab on a server's detail page lists that server's images by
+ name and tag again, with readable sizes and dates. The agent reports
+ images as `repo_tags`, byte counts and epoch seconds, but the tab read
+ the CLI fields, so every row showed `` and raw numbers. It now
+ uses the Docker page's image accessors, moved to `dockerHelpers.js`.
+
- Importing a Git repository that has a `docker-compose.yml` now deploys the
compose project — every service it declares — instead of building only its
Dockerfile, which started the web container without its database.
diff --git a/VERSION b/VERSION
index 0ce40b95..32bf4405 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.26
+1.11.27
diff --git a/backend/tests/test_no_plan_references.py b/backend/tests/test_no_plan_references.py
index df4ba244..d7b5b1a0 100644
--- a/backend/tests/test_no_plan_references.py
+++ b/backend/tests/test_no_plan_references.py
@@ -4,6 +4,10 @@ Plans live in a git-ignored folder, so "(plan 29 #9)" in a comment points
at nothing for anyone but its author — 680 of them had piled up, and one
reached users in a bottleneck hint. Say what the code does and why; the
history belongs in the commit message.
+
+The pre-commit hook runs this file directly (``--staged``) so a citation is
+caught at commit time, on any file type, instead of in a CI shard minutes
+after the push.
"""
import re
import subprocess
@@ -33,6 +37,11 @@ def _tracked():
return [p for p in out.decode().split('\0') if p and p not in EXCLUDED]
+def _hits(text):
+ return (len(PLAN_REF.findall(text)) + len(SPLIT_REF.findall(text))
+ + len(SECTION_REF.findall(text)))
+
+
def _counts():
found = {}
for rel in _tracked():
@@ -40,8 +49,27 @@ def _counts():
text = (REPO / rel).read_text(encoding='utf-8')
except (UnicodeDecodeError, FileNotFoundError):
continue
- hits = (len(PLAN_REF.findall(text)) + len(SPLIT_REF.findall(text))
- + len(SECTION_REF.findall(text)))
+ hits = _hits(text)
+ if hits:
+ found[rel] = hits
+ return found
+
+
+def _staged_counts():
+ """Hits in the staged (index) version of each staged file under ROOTS."""
+ out = subprocess.run(['git', 'diff', '--cached', '--name-only', '-z',
+ '--diff-filter=ACMR', '--', *ROOTS], cwd=REPO,
+ capture_output=True, check=True).stdout
+ found = {}
+ for rel in out.decode().split('\0'):
+ if not rel or rel in EXCLUDED:
+ continue
+ blob = subprocess.run(['git', 'show', f':{rel}'], cwd=REPO,
+ capture_output=True, check=True).stdout
+ try:
+ hits = _hits(blob.decode('utf-8'))
+ except UnicodeDecodeError:
+ continue
if hits:
found[rel] = hits
return found
@@ -58,3 +86,15 @@ def test_pending_list_is_not_stale():
counts = _counts()
stale = {rel: n for rel, n in PENDING.items() if counts.get(rel, 0) < n}
assert not stale, f'Lower or remove these PENDING entries: {stale} (now {counts})'
+
+
+if __name__ == '__main__':
+ import sys
+ counts = _staged_counts() if '--staged' in sys.argv else _counts()
+ over = {rel: n for rel, n in counts.items() if n > PENDING.get(rel, 0)}
+ for rel, n in sorted(over.items()):
+ print(f'{rel}: {n} internal plan reference(s), e.g. "plan 92" or a bare section sign')
+ if over:
+ print('Plans are git-ignored, so these point at nothing. Say what the code '
+ 'does instead; the history belongs in the commit message.')
+ sys.exit(1 if over else 0)
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index c4b33f12..6d825a2e 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -14,10 +14,13 @@
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
+ "@radix-ui/react-radio-group": "^1.5.1",
"@radix-ui/react-select": "^2.2.6",
+ "@radix-ui/react-slider": "^1.6.1",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
+ "@radix-ui/react-tooltip": "^1.4.1",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
@@ -1371,6 +1374,319 @@
}
}
},
+ "node_modules/@radix-ui/react-radio-group": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.5.1.tgz",
+ "integrity": "sha512-QbyVT1ddnjqB9H+CUYKkNWdU9fIK3QHCYtjf7mS6ekSqiuXkWtWn5UZW9mhA8qtl3vrVyIsmR9gePstAtKrqkw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-roving-focus": "1.2.1",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-size": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/primitive": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz",
+ "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-collection": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz",
+ "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz",
+ "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-context": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz",
+ "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-direction": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz",
+ "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-id": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz",
+ "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz",
+ "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz",
+ "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.5.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.2.1.tgz",
+ "integrity": "sha512-UwraORzVUeEPMclhO1p0vz0qI+TbdDLO9i+FiOqhJyHKwdpCRCck9yVEscUnAMIzCiuNoQa8D4A9bIpOPXGt6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-collection": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-is-hydrated": "0.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-slot": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz",
+ "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz",
+ "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz",
+ "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz",
+ "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz",
+ "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz",
+ "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-roving-focus": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz",
@@ -1463,6 +1779,234 @@
}
}
},
+ "node_modules/@radix-ui/react-slider": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.6.1.tgz",
+ "integrity": "sha512-IRNRR90moPqxfwCJ0XbMJIxo70W0/1ZExT/sNCxEHMaPx0SF9HoQrcPEC75+H28cFKa0b+KH63anfLYJmwKacw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.3",
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-collection": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-use-size": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/number": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.3.tgz",
+ "integrity": "sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/primitive": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz",
+ "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-collection": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz",
+ "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz",
+ "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-context": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz",
+ "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-direction": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz",
+ "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz",
+ "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.5.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-slot": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz",
+ "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz",
+ "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz",
+ "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz",
+ "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz",
+ "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-slot": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",
@@ -1540,6 +2084,427 @@
}
}
},
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.4.1.tgz",
+ "integrity": "sha512-NxLFGSFtZ78zVfcoOhTwR1xwqo5qx1Jh8Pw6FMZ9McCaqfRzz7/gIRahs2Oy5XlPgQ+8QkUcKbN5B0U44J/kCg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-dismissable-layer": "1.2.1",
+ "@radix-ui/react-focus-scope": "1.3.1",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.4.0",
+ "@radix-ui/react-portal": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-visually-hidden": "1.2.13"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz",
+ "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow": {
+ "version": "1.1.17",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.17.tgz",
+ "integrity": "sha512-67jjcVvxjXCCStnTW3Z+M7jmaFMuMR7M2JgpDzH4w7JSRrikmzhjfYgP/09ECb8n7whnsgh1ifJ+Ie96qEj+pQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz",
+ "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz",
+ "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.2.1.tgz",
+ "integrity": "sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-effect-event": "0.0.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.3.1.tgz",
+ "integrity": "sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-id": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz",
+ "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.4.0.tgz",
+ "integrity": "sha512-yCWRvLeGv9Pz3+efwHqGPp70mZ56r3kfIgQVF56Oj2aAa4uP/Tb+IE59wNcc+758rctqbCKx4LbK8II/r7Bn0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.1.17",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-use-rect": "1.1.4",
+ "@radix-ui/react-use-size": "1.1.5",
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.2.0.tgz",
+ "integrity": "sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz",
+ "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz",
+ "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.5.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz",
+ "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz",
+ "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz",
+ "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz",
+ "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz",
+ "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-rect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.4.tgz",
+ "integrity": "sha512-cSOCh6JlkmfjLyNcLiu2nB4v+nm+dkZ+Q5KHWk/soo4U7ZLiEQFKHK9/YmtBHjfCEaU43IBKQOc4/uJmCaiCTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz",
+ "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.13.tgz",
+ "integrity": "sha512-feijiN1oPk4rck4u9Dm9tsU4mT6Wp9oeEEhaz1WUEs1VuqLf8xzsFG+Qk+uWq6TnMH9O+WRECRg0NftyP9E4Fw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/rect": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.3.tgz",
+ "integrity": "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw==",
+ "license": "MIT"
+ },
"node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
@@ -1610,6 +2575,21 @@
}
}
},
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.3.tgz",
+ "integrity": "sha512-umO/aJ+82CpOnhDZUTbILCQf7kU/g0iv+oGs/Q8jw7IkhWBzaEP4sA268PhFAJTFetbwp3ICc6ktpI4TqtxcIw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index 8e5f9374..f6fcfc5b 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -50,10 +50,13 @@
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
+ "@radix-ui/react-radio-group": "^1.5.1",
"@radix-ui/react-select": "^2.2.6",
+ "@radix-ui/react-slider": "^1.6.1",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
+ "@radix-ui/react-tooltip": "^1.4.1",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index fd512ad9..f632fc84 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -12,6 +12,7 @@ import { WorkspaceProvider } from './contexts/WorkspaceContext';
import { rememberRedirect } from './utils/redirectAfterLogin';
import { TUNNEL_BASE } from './services/tunnelBase.js';
import { Toaster } from './components/ui/sonner';
+import { TooltipProvider } from './components/ui/tooltip';
import ThemeSync from './components/ThemeSync';
import LocaleSync from './components/LocaleSync';
import DashboardLayout from './layouts/DashboardLayout';
@@ -264,9 +265,11 @@ function App() {
-
-
-
+
+
+
+
+
diff --git a/frontend/src/components/FormField.jsx b/frontend/src/components/FormField.jsx
index 98dffb56..4ec2a80a 100644
--- a/frontend/src/components/FormField.jsx
+++ b/frontend/src/components/FormField.jsx
@@ -1,12 +1,20 @@
+import { useId, useMemo } from 'react';
import { Label } from '@/components/ui/label';
+import { FieldContext } from '@/components/ui/field-context';
import { cn } from '@/lib/utils';
/**
* Standard form field wrapper: label, hint, error message, and input slot.
*
- *
- *
+ *
+ *
*
+ *
+ * The control inside receives the field's id, `aria-describedby` (hint or
+ * error), `aria-invalid` and `aria-required` through FieldContext, so a
+ * screen reader announces the hint and the validation message with the field.
+ * Every control in components/ui reads it; `htmlFor` is only needed when the
+ * control already has its own id. One control per field.
*/
export function FormField({
label,
@@ -18,10 +26,22 @@ export function FormField({
className,
labelClassName,
}) {
- const inputId = htmlFor;
+ const autoId = useId();
+ const inputId = htmlFor || `${autoId}control`;
+ const hintId = `${autoId}hint`;
+ const errorId = `${autoId}error`;
+ const invalid = Boolean(error);
+ const showHint = Boolean(hint) && !invalid;
+
+ const field = useMemo(() => ({
+ id: inputId,
+ describedBy: invalid ? errorId : (showHint ? hintId : undefined),
+ invalid,
+ required,
+ }), [inputId, invalid, showHint, errorId, hintId, required]);
return (
-
+
{label && (
)}
- {children}
+
+ {children}
+
- {hint && !error &&
{hint}
}
- {error &&
{error}
}
+ {showHint &&
{hint}
}
+ {invalid &&
{error}
}
);
}
diff --git a/frontend/src/components/IconButton.jsx b/frontend/src/components/IconButton.jsx
index 0ff80fd2..f503ba6d 100644
--- a/frontend/src/components/IconButton.jsx
+++ b/frontend/src/components/IconButton.jsx
@@ -1,9 +1,12 @@
import { Button } from '@/components/ui/button';
+import { Tip } from '@/components/ui/tooltip';
import { cn } from '@/lib/utils';
/**
- * Accessible icon-only button. Always provide a descriptive label; it is used
- * for the aria-label and optional title.
+ * Accessible icon-only button. Always provide a descriptive label; it is the
+ * aria-label and the tooltip (a real one, shown on hover and keyboard focus,
+ * unlike `title`). `title` overrides the tooltip text; `shortcut` adds a key
+ * hint to it.
*
* } label="Refresh" onClick={load} />
*/
@@ -15,23 +18,25 @@ export function IconButton({
size = 'sm',
className,
title,
+ shortcut,
disabled,
...props
}) {
return (
-
+
+
+
);
}
diff --git a/frontend/src/components/ProgressBar.jsx b/frontend/src/components/ProgressBar.jsx
index b528bd13..900c01b5 100644
--- a/frontend/src/components/ProgressBar.jsx
+++ b/frontend/src/components/ProgressBar.jsx
@@ -1,9 +1,51 @@
+import { cn } from '@/lib/utils';
-export function ProgressBar({ percent = 0, color, className = '' }) {
+const TONES = new Set(['accent', 'success', 'warning', 'danger', 'info']);
+
+/**
+ * Determinate or indeterminate progress, announced as a progressbar.
+ *
+ *
+ *
+ *
+ *
+ * `label` names it for screen readers (pass `aria-labelledby` instead when a
+ * visible label sits next to it). `tone` picks a semantic colour; `color` is
+ * the legacy raw-colour escape hatch and wins when both are set.
+ */
+export function ProgressBar({
+ percent = 0,
+ tone,
+ color,
+ size = 'sm',
+ indeterminate = false,
+ label,
+ valueText,
+ className = '',
+ ...props
+}) {
const clamped = Math.max(0, Math.min(100, Number(percent) || 0));
- const fillStyle = { width: `${clamped}%`, ...(color && { background: color }) };
+ const fillStyle = indeterminate
+ ? (color ? { background: color } : undefined)
+ : { width: `${clamped}%`, ...(color && { background: color }) };
return (
-
+
);
diff --git a/frontend/src/components/docker/ImagesTab.jsx b/frontend/src/components/docker/ImagesTab.jsx
index 4cae5802..754c746e 100644
--- a/frontend/src/components/docker/ImagesTab.jsx
+++ b/frontend/src/components/docker/ImagesTab.jsx
@@ -21,6 +21,11 @@ import { useTranslation } from 'react-i18next';
import {
useServer,
normalizeListResponse,
+ imageId,
+ imageRef,
+ imageSizeBytes,
+ imageSizeMb,
+ imageCreatedMs,
} from './dockerHelpers';
import { toastError } from '@/utils/errorMessage';
import { formatDateTime } from '@/utils/intl';
@@ -38,67 +43,6 @@ export const PullImageButton = () => {
);
};
-// The two transports describe the same image differently: `docker images`
-// hands back repository/tag as separate strings, the agent hands back
-// `repo_tags: ["nginx:latest"]` and nothing else. Every accessor below reads
-// both, because a column that silently blanks on remote hosts is worse than no
-// column at all.
-const imageId = (image) => String(image.id || image.ID || '').replace(/^sha256:/, '');
-
-const imageRef = (image) => {
- if (image.repository || image.tag) {
- return { repository: image.repository || '', tag: image.tag || '' };
- }
- const first = Array.isArray(image.repo_tags) ? image.repo_tags[0] : null;
- if (!first) return { repository: '', tag: '' };
- // A registry port ("registry:5000/app") puts a colon in the REPOSITORY
- // half, so the last colon is only the tag separator when no '/' follows it.
- const colon = first.lastIndexOf(':');
- if (colon > 0 && !first.slice(colon).includes('/')) {
- return { repository: first.slice(0, colon), tag: first.slice(colon + 1) };
- }
- return { repository: first, tag: '' };
-};
-
-// Docker's CLI prints sizes in SI units ("142MB" = 142 * 10^6); the agent sends
-// a byte count. Parsed to MEGABYTES rather than bytes because this number is
-// also what the filter drawer and the chips show — "size is over 500 MB" is a
-// question you can ask, "is over 500000000" is not. The cell still renders
-// through the app's canonical formatter, so one host's images read the same way
-// as another's.
-const SIZE_MULTIPLIERS = {
- b: 1, kb: 1e3, mb: 1e6, gb: 1e9, tb: 1e12,
- kib: 1024, mib: 1024 ** 2, gib: 1024 ** 3, tib: 1024 ** 4,
-};
-
-const imageSizeBytes = (image) => {
- const raw = image.size ?? image.Size;
- if (typeof raw === 'number') return Number.isFinite(raw) ? raw : null;
- if (typeof raw !== 'string') return null;
- const match = raw.trim().match(/^([\d.]+)\s*([a-z]+)?$/i);
- if (!match) return null;
- const amount = Number.parseFloat(match[1]);
- if (!Number.isFinite(amount)) return null;
- return amount * (SIZE_MULTIPLIERS[(match[2] || 'b').toLowerCase()] ?? 1);
-};
-
-// The number a filter rule compares against MUST be the number the cell shows,
-// or "Size is over 400 MB" matches a row whose own cell reads "392.9 MB". The
-// cell renders through the app-wide formatBytes, which is base-1024 with MB/GB
-// labels, so the rule value is mebibytes too — not docker's base-1000 MB.
-const imageSizeMb = (image) => {
- const bytes = imageSizeBytes(image);
- return bytes == null ? null : bytes / (1024 * 1024);
-};
-
-const imageCreatedMs = (image) => {
- const raw = image.created ?? image.CreatedAt ?? image.Created;
- // The agent sends epoch SECONDS, the CLI "2026-08-12 09:12:33 -0400 EDT".
- if (typeof raw === 'number') return raw > 1e11 ? raw : raw * 1000;
- const parsed = Date.parse(raw || '');
- return Number.isNaN(parsed) ? null : parsed;
-};
-
// Built-in views. Dangling is the one axis this payload really has: docker
// reports an untagged layer as repository ``, on both transports, so the
// rule below is reading a fact rather than a guess. There is deliberately no
diff --git a/frontend/src/components/docker/__tests__/dockerHelpers.test.mjs b/frontend/src/components/docker/__tests__/dockerHelpers.test.mjs
new file mode 100644
index 00000000..40d4a4d3
--- /dev/null
+++ b/frontend/src/components/docker/__tests__/dockerHelpers.test.mjs
@@ -0,0 +1,56 @@
+// Proving test for the Docker image accessors shared by the Docker page and the
+// server detail Docker tab. The two transports describe the same image
+// differently: the `docker images` CLI gives repository/tag strings and sizes
+// like "142MB", the agent gives `repo_tags`, a byte count and epoch seconds.
+// Both must render the same name, tag, size and date.
+//
+// Run: node --test src/components/docker/__tests__/dockerHelpers.test.mjs
+import test from 'node:test';
+import assert from 'node:assert/strict';
+
+import { imageId, imageRef, imageSizeBytes, imageCreatedMs } from '../dockerHelpers.js';
+
+test('imageRef splits an agent repo_tags entry into repository and tag', () => {
+ assert.deepEqual(
+ imageRef({ repo_tags: ['roundcube/roundcubemail:latest-apache'] }),
+ { repository: 'roundcube/roundcubemail', tag: 'latest-apache' },
+ );
+ assert.deepEqual(
+ imageRef({ repo_tags: ['ghcr.io/docker-mailserver/docker-mailserver:16.0.1'] }),
+ { repository: 'ghcr.io/docker-mailserver/docker-mailserver', tag: '16.0.1' },
+ );
+});
+
+test('imageRef does not split on a registry port', () => {
+ assert.deepEqual(imageRef({ repo_tags: ['registry:5000/app'] }), { repository: 'registry:5000/app', tag: '' });
+ assert.deepEqual(imageRef({ repo_tags: ['registry:5000/app:1.2'] }), { repository: 'registry:5000/app', tag: '1.2' });
+});
+
+test('imageRef reports an untagged image as ', () => {
+ assert.deepEqual(imageRef({ repo_tags: [] }), { repository: '', tag: '' });
+ assert.deepEqual(imageRef({}), { repository: '', tag: '' });
+});
+
+test('imageRef passes CLI repository/tag fields through', () => {
+ assert.deepEqual(imageRef({ repository: 'nginx', tag: 'latest' }), { repository: 'nginx', tag: 'latest' });
+});
+
+test('imageId drops the sha256: prefix', () => {
+ assert.equal(imageId({ id: 'sha256:734d9162c522' }), '734d9162c522');
+ assert.equal(imageId({ ID: '734d9162c522' }), '734d9162c522');
+});
+
+test('imageSizeBytes reads agent byte counts and CLI size strings', () => {
+ assert.equal(imageSizeBytes({ size: 1044290102 }), 1044290102);
+ assert.equal(imageSizeBytes({ size: '142MB' }), 142e6);
+ assert.equal(imageSizeBytes({ size: '1.5GB' }), 1.5e9);
+ assert.equal(imageSizeBytes({ size: 'n/a' }), null);
+ assert.equal(imageSizeBytes({}), null);
+});
+
+test('imageCreatedMs reads agent epoch seconds and CLI date strings', () => {
+ assert.equal(imageCreatedMs({ created: 1792605383 }), 1792605383000);
+ assert.equal(imageCreatedMs({ created: 1792605383000 }), 1792605383000);
+ assert.equal(imageCreatedMs({ CreatedAt: '2026-08-12T09:12:33Z' }), Date.parse('2026-08-12T09:12:33Z'));
+ assert.equal(imageCreatedMs({ created: 'not a date' }), null);
+});
diff --git a/frontend/src/components/docker/dockerHelpers.js b/frontend/src/components/docker/dockerHelpers.js
index 5c2d9ffb..d6986d72 100644
--- a/frontend/src/components/docker/dockerHelpers.js
+++ b/frontend/src/components/docker/dockerHelpers.js
@@ -106,3 +106,64 @@ export const getContainerProjectName = (container, details) => {
const labels = details?.Config?.Labels || container?.Labels || {};
return labels['com.docker.compose.project'] || labels['com.docker.compose.service'] || '-';
};
+
+// The two transports describe the same image differently: `docker images`
+// hands back repository/tag as separate strings, the agent hands back
+// `repo_tags: ["nginx:latest"]` and nothing else. Every accessor below reads
+// both, because a column that silently blanks on remote hosts is worse than no
+// column at all.
+export const imageId = (image) => String(image.id || image.ID || '').replace(/^sha256:/, '');
+
+export const imageRef = (image) => {
+ if (image.repository || image.tag) {
+ return { repository: image.repository || '', tag: image.tag || '' };
+ }
+ const first = Array.isArray(image.repo_tags) ? image.repo_tags[0] : null;
+ if (!first) return { repository: '', tag: '' };
+ // A registry port ("registry:5000/app") puts a colon in the REPOSITORY
+ // half, so the last colon is only the tag separator when no '/' follows it.
+ const colon = first.lastIndexOf(':');
+ if (colon > 0 && !first.slice(colon).includes('/')) {
+ return { repository: first.slice(0, colon), tag: first.slice(colon + 1) };
+ }
+ return { repository: first, tag: '' };
+};
+
+// Docker's CLI prints sizes in SI units ("142MB" = 142 * 10^6); the agent sends
+// a byte count. Parsed to MEGABYTES rather than bytes because this number is
+// also what the filter drawer and the chips show — "size is over 500 MB" is a
+// question you can ask, "is over 500000000" is not. The cell still renders
+// through the app's canonical formatter, so one host's images read the same way
+// as another's.
+const SIZE_MULTIPLIERS = {
+ b: 1, kb: 1e3, mb: 1e6, gb: 1e9, tb: 1e12,
+ kib: 1024, mib: 1024 ** 2, gib: 1024 ** 3, tib: 1024 ** 4,
+};
+
+export const imageSizeBytes = (image) => {
+ const raw = image.size ?? image.Size;
+ if (typeof raw === 'number') return Number.isFinite(raw) ? raw : null;
+ if (typeof raw !== 'string') return null;
+ const match = raw.trim().match(/^([\d.]+)\s*([a-z]+)?$/i);
+ if (!match) return null;
+ const amount = Number.parseFloat(match[1]);
+ if (!Number.isFinite(amount)) return null;
+ return amount * (SIZE_MULTIPLIERS[(match[2] || 'b').toLowerCase()] ?? 1);
+};
+
+// The number a filter rule compares against MUST be the number the cell shows,
+// or "Size is over 400 MB" matches a row whose own cell reads "392.9 MB". The
+// cell renders through the app-wide formatBytes, which is base-1024 with MB/GB
+// labels, so the rule value is mebibytes too — not docker's base-1000 MB.
+export const imageSizeMb = (image) => {
+ const bytes = imageSizeBytes(image);
+ return bytes == null ? null : bytes / (1024 * 1024);
+};
+
+export const imageCreatedMs = (image) => {
+ const raw = image.created ?? image.CreatedAt ?? image.Created;
+ // The agent sends epoch SECONDS, the CLI "2026-08-12 09:12:33 -0400 EDT".
+ if (typeof raw === 'number') return raw > 1e11 ? raw : raw * 1000;
+ const parsed = Date.parse(raw || '');
+ return Number.isNaN(parsed) ? null : parsed;
+};
diff --git a/frontend/src/components/ds/Stepper.jsx b/frontend/src/components/ds/Stepper.jsx
new file mode 100644
index 00000000..dd3b0189
--- /dev/null
+++ b/frontend/src/components/ds/Stepper.jsx
@@ -0,0 +1,90 @@
+import { AlertTriangle, Check } from 'lucide-react';
+import { useTranslation } from 'react-i18next';
+import { cn } from '@/lib/utils';
+import { Button } from '@/components/ui/button';
+
+// Styling lives in styles/components/_controls.scss (.sk-stepper*).
+
+// Read after the label by screen readers; the marker alone is visual only.
+function statusCopy(t, status) {
+ if (status === 'complete') return t('common.controls.stepComplete', 'Completed');
+ if (status === 'current') return t('common.controls.stepCurrent', 'Current step');
+ if (status === 'error') return t('common.controls.stepError', 'Needs attention');
+ return t('common.controls.stepUpcoming', 'Not started');
+}
+
+function statusOf(step, index, current) {
+ if (step.status) return step.status;
+ if (index < current) return 'complete';
+ if (index === current) return 'current';
+ return 'upcoming';
+}
+
+/**
+ * Progress through an ordered flow: setup, onboarding, a multi-page form, a
+ * deploy pipeline.
+ *
+ *
+ *
+ * Status comes from `current` (before = complete, at = current, after =
+ * upcoming) unless a step sets its own `status` ('error' for a failed one).
+ * With `onStepClick`, completed steps become buttons to go back to; the
+ * current and later steps stay inert so a flow cannot be skipped ahead.
+ */
+export function Stepper({
+ steps = [],
+ current = 0,
+ orientation = 'horizontal',
+ onStepClick,
+ className,
+ 'aria-label': ariaLabel,
+}) {
+ const { t } = useTranslation();
+ return (
+
+ {steps.map((step, index) => {
+ const status = statusOf(step, index, current);
+ const clickable = onStepClick && status === 'complete';
+ const marker = (
+ <>
+
+ {status === 'complete' && }
+ {status === 'error' && }
+ {(status === 'current' || status === 'upcoming') && index + 1}
+
+
+ {step.label}
+ {step.description && {step.description}}
+ {statusCopy(t, status)}
+
+ >
+ );
+ return (
+
+ )}
+
+
+
+ );
+});
+Combobox.displayName = 'Combobox';
+
+export { Combobox };
diff --git a/frontend/src/components/ui/date-picker.jsx b/frontend/src/components/ui/date-picker.jsx
new file mode 100644
index 00000000..57ea425d
--- /dev/null
+++ b/frontend/src/components/ui/date-picker.jsx
@@ -0,0 +1,226 @@
+import * as React from 'react';
+import { CalendarDays, X } from 'lucide-react';
+import { useTranslation } from 'react-i18next';
+import { Calendar } from '@/components/ui/calendar';
+import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
+import { useFieldProps } from '@/components/ui/field-context';
+import useFormat from '@/hooks/useFormat';
+import { isSameDay, startOfDay } from '@/lib/dateMath';
+import { defaultRangePresets } from '@/components/ui/dateRangePresets';
+import { cn } from '@/lib/utils';
+import { Button } from '@/components/ui/button';
+
+// Styling lives in styles/components/_controls.scss (.ui-date-picker*).
+
+/** Trigger + clear button shared by both pickers. */
+const PickerTrigger = React.forwardRef(({
+ label, placeholder, open, disabled, size, invalid, onClear, clearLabel, fieldProps, className,
+}, ref) => (
+
+
+
+
+
+ {onClear && (
+
+ )}
+
+
+));
+PickerTrigger.displayName = 'PickerTrigger';
+
+/**
+ * One calendar day.
+ *
+ *
+ *
+ * `value` is a local-midnight Date or null (lib/dateMath has toISODate /
+ * fromISODate for the wire). Picking a day closes the popover.
+ */
+const DatePicker = React.forwardRef(({
+ value,
+ onChange,
+ min,
+ max,
+ isDateDisabled,
+ placeholder,
+ clearable = true,
+ disabled = false,
+ size,
+ className,
+ ...props
+}, ref) => {
+ const { t } = useTranslation();
+ const { formatDate } = useFormat();
+ const fieldProps = useFieldProps(props);
+ const [open, setOpen] = React.useState(false);
+
+ return (
+
+ onChange?.(null) : null}
+ />
+
+ { onChange?.(day); setOpen(false); }}
+ />
+
+
+ );
+});
+DatePicker.displayName = 'DatePicker';
+
+/**
+ * A start–end range of days with quick presets, for log, metric and audit
+ * filters.
+ *
+ *
+ *
+ * `value` is `{ start, end }` (either may be null). The first click picks the
+ * start, the second the end (in either order); the popover closes once both
+ * are set. `presets={[]}` hides the preset list.
+ */
+const DateRangePicker = React.forwardRef(({
+ value,
+ onChange,
+ min,
+ max,
+ presets,
+ months = 2,
+ placeholder,
+ clearable = true,
+ disabled = false,
+ size,
+ className,
+ ...props
+}, ref) => {
+ const { t } = useTranslation();
+ const { formatDate } = useFormat();
+ const fieldProps = useFieldProps(props);
+ const [open, setOpen] = React.useState(false);
+ const [draft, setDraft] = React.useState(value || { start: null, end: null });
+ const presetList = presets ?? defaultRangePresets(t);
+
+ // Each opening starts from the committed value; a half-picked range that
+ // was dismissed does not come back.
+ const openChange = (next) => {
+ if (next) setDraft(value || { start: null, end: null });
+ setOpen(next);
+ };
+
+ const today = startOfDay(new Date());
+ const activePreset = value?.start && value?.end && presetList.find((preset) => {
+ const range = preset.range(today);
+ return isSameDay(range.start, value.start) && isSameDay(range.end, value.end);
+ });
+
+ let label = null;
+ if (activePreset) label = activePreset.label;
+ else if (value?.start && value?.end) {
+ label = isSameDay(value.start, value.end)
+ ? formatDate(value.start, { style: 'medium' })
+ : t('common.controls.dateRange', '{{start}} – {{end}}', {
+ start: formatDate(value.start, { style: 'medium' }),
+ end: formatDate(value.end, { style: 'medium' }),
+ });
+ }
+
+ const commit = (range) => {
+ setDraft(range);
+ if (range.start && range.end) {
+ onChange?.(range);
+ setOpen(false);
+ }
+ };
+
+ return (
+
+ onChange?.({ start: null, end: null }) : null}
+ />
+
+ {presetList.length > 0 && (
+
+ {presetList.map((preset) => (
+
+
+
+ ))}
+
+ )}
+
+
+
+ {draft.start && !draft.end
+ ? t('common.controls.pickEndDate', 'Now pick the end date.')
+ : t('common.controls.pickStartDate', 'Pick a start date, or choose a preset.')}
+
+
+
+
+ );
+});
+DateRangePicker.displayName = 'DateRangePicker';
+
+export { DatePicker, DateRangePicker };
diff --git a/frontend/src/components/ui/dateRangePresets.js b/frontend/src/components/ui/dateRangePresets.js
new file mode 100644
index 00000000..fc5df0c4
--- /dev/null
+++ b/frontend/src/components/ui/dateRangePresets.js
@@ -0,0 +1,23 @@
+import { addDays, addMonths, endOfMonth, startOfMonth } from '@/lib/dateMath';
+
+/**
+ * The presets most range filters want. Each is computed when opened, so
+ * "Last 7 days" means the seven days before today, not before page load.
+ */
+export function defaultRangePresets(t) {
+ return [
+ { id: 'today', label: t('common.controls.presetToday', 'Today'), range: (today) => ({ start: today, end: today }) },
+ { id: 'yesterday', label: t('common.controls.presetYesterday', 'Yesterday'), range: (today) => ({ start: addDays(today, -1), end: addDays(today, -1) }) },
+ { id: 'last7', label: t('common.controls.presetLast7', 'Last 7 days'), range: (today) => ({ start: addDays(today, -6), end: today }) },
+ { id: 'last30', label: t('common.controls.presetLast30', 'Last 30 days'), range: (today) => ({ start: addDays(today, -29), end: today }) },
+ { id: 'thisMonth', label: t('common.controls.presetThisMonth', 'This month'), range: (today) => ({ start: startOfMonth(today), end: today }) },
+ {
+ id: 'lastMonth',
+ label: t('common.controls.presetLastMonth', 'Last month'),
+ range: (today) => {
+ const previous = addMonths(startOfMonth(today), -1);
+ return { start: previous, end: endOfMonth(previous) };
+ },
+ },
+ ];
+}
diff --git a/frontend/src/components/ui/field-context.js b/frontend/src/components/ui/field-context.js
new file mode 100644
index 00000000..3da95e00
--- /dev/null
+++ b/frontend/src/components/ui/field-context.js
@@ -0,0 +1,32 @@
+import { createContext, useContext } from 'react';
+
+// FormField publishes the ids of its label, hint and error here so the control
+// inside it can point at them without every call site threading
+// `aria-describedby` by hand. Controls read it through useFieldProps().
+//
+// Overlays (popover, dialog, sheet) reset it to null: their content is a
+// portal but still a React child, and a search box inside a picker's popover
+// must not claim the field's id.
+export const FieldContext = createContext(null);
+
+export function useField() {
+ return useContext(FieldContext);
+}
+
+/**
+ * Merge the surrounding FormField's wiring into a control's props. Explicit
+ * props win; `aria-describedby` is joined rather than replaced.
+ */
+export function useFieldProps(props = {}) {
+ const field = useContext(FieldContext);
+ if (!field) return props;
+ const describedBy = [props['aria-describedby'], field.describedBy]
+ .filter(Boolean).join(' ') || undefined;
+ return {
+ ...props,
+ id: props.id ?? field.id,
+ 'aria-describedby': describedBy,
+ 'aria-invalid': props['aria-invalid'] ?? (field.invalid || undefined),
+ 'aria-required': props['aria-required'] ?? (field.required || undefined),
+ };
+}
diff --git a/frontend/src/components/ui/file-dropzone.jsx b/frontend/src/components/ui/file-dropzone.jsx
new file mode 100644
index 00000000..a1cb3212
--- /dev/null
+++ b/frontend/src/components/ui/file-dropzone.jsx
@@ -0,0 +1,236 @@
+import * as React from 'react';
+import { AlertCircle, CheckCircle2, FileText, RotateCcw, UploadCloud, X } from 'lucide-react';
+import { useTranslation } from 'react-i18next';
+import { ProgressBar } from '@/components/ProgressBar';
+import { useFieldProps } from '@/components/ui/field-context';
+import { validateFiles } from '@/lib/fileAccept';
+import { formatBytes } from '@/utils/formatBytes';
+import { cn } from '@/lib/utils';
+import { Button } from '@/components/ui/button';
+
+// Styling lives in styles/components/_controls.scss (.ui-dropzone*, .ui-upload-list*).
+
+/**
+ * Drop target + browse button. It validates and hands files over; uploading
+ * is the caller's job (show progress with FileUploadList).
+ *
+ * startUpload(accepted)}
+ * onReject={(rejected) => …} />
+ *
+ * `accept` uses grammar and is re-checked on drop (the browser
+ * only filters its own picker). Rejections carry a reason ('type' | 'size' |
+ * 'count'); with no `onReject` they are listed inside the zone. The whole
+ * zone is one button: Enter / Space opens the picker.
+ */
+const FileDropzone = React.forwardRef(({
+ accept,
+ maxSize,
+ maxFiles,
+ existingCount = 0,
+ multiple = true,
+ onFiles,
+ onReject,
+ disabled = false,
+ title,
+ hint,
+ compact = false,
+ className,
+ ...props
+}, ref) => {
+ const { t } = useTranslation();
+ const fieldProps = useFieldProps(props);
+ const inputRef = React.useRef(null);
+ const depth = React.useRef(0);
+ const [dragging, setDragging] = React.useState(false);
+ const [rejections, setRejections] = React.useState([]);
+ const hintId = React.useId();
+
+ const take = (fileList) => {
+ const files = Array.from(fileList || []);
+ if (!files.length) return;
+ const { accepted, rejected } = validateFiles(multiple ? files : files.slice(0, 1), {
+ accept, maxSize, maxFiles, existingCount,
+ });
+ if (accepted.length) onFiles?.(accepted);
+ if (onReject) onReject(rejected);
+ else setRejections(rejected);
+ };
+
+ const reasonText = ({ file, reason }) => {
+ if (reason === 'size') {
+ return t('common.controls.fileTooLarge', '{{name}} is larger than {{max}}.', { name: file.name, max: formatBytes(maxSize) });
+ }
+ if (reason === 'count') {
+ return t('common.controls.tooManyFiles', '{{name}} was not added: the limit is {{max}} files.', { name: file.name, max: maxFiles });
+ }
+ return t('common.controls.fileTypeNotAllowed', '{{name}} is not an allowed file type.', { name: file.name });
+ };
+
+ const open = () => { if (!disabled) inputRef.current?.click(); };
+
+ const limits = [
+ accept && accept.split(',').map((part) => part.trim()).join(', '),
+ Number.isFinite(maxSize) && t('common.controls.upToSize', 'up to {{size}}', { size: formatBytes(maxSize) }),
+ ].filter(Boolean).join(' · ');
+
+ return (
+
+
{
+ if (event.key === 'Enter' || event.key === ' ') { event.preventDefault(); open(); }
+ }}
+ onDragEnter={(event) => {
+ event.preventDefault();
+ if (disabled) return;
+ // dragenter/leave fire for every child crossed; count depth
+ // so the highlight does not flicker over the icon and text.
+ depth.current += 1;
+ setDragging(true);
+ }}
+ onDragOver={(event) => {
+ event.preventDefault();
+ if (!disabled) event.dataTransfer.dropEffect = 'copy';
+ }}
+ onDragLeave={() => {
+ depth.current = Math.max(0, depth.current - 1);
+ if (depth.current === 0) setDragging(false);
+ }}
+ onDrop={(event) => {
+ event.preventDefault();
+ depth.current = 0;
+ setDragging(false);
+ if (!disabled) take(event.dataTransfer.files);
+ }}
+ >
+
+
+
+ {dragging
+ ? t('common.controls.dropToUpload', 'Drop to add')
+ : (title || t('common.controls.dropOrBrowse', 'Drop files here or browse'))}
+
+ {hint || limits}
+
+
+ {/* Outside the zone: input.click() bubbles, and a click reaching
+ the zone would open the picker a second time. */}
+ { take(event.target.files); event.target.value = ''; }}
+ />
+ {rejections.length > 0 && (
+
+ {rejections.map((rejection) => (
+
+
+ {reasonText(rejection)}
+
+ ))}
+
+ )}
+
+ );
+});
+FileDropzone.displayName = 'FileDropzone';
+
+const ITEM_ICONS = { done: CheckCircle2, error: AlertCircle };
+
+/**
+ * The files of an upload and where each one is.
+ *
+ *
+ *
+ * Items are `{ id, name, size, status, progress?, error? }` with status
+ * 'queued' | 'uploading' | 'done' | 'error'. Retry shows on errors, remove on
+ * anything not mid-upload (pass `onCancel` to offer cancelling those).
+ */
+function FileUploadList({ items = [], onRetry, onRemove, onCancel, className }) {
+ const { t } = useTranslation();
+ if (!items.length) return null;
+ const statusText = (item) => {
+ if (item.status === 'uploading') {
+ return t('common.controls.uploadingPercent', 'Uploading {{percent}}%', { percent: Math.round(item.progress || 0) });
+ }
+ if (item.status === 'done') return t('common.controls.uploaded', 'Uploaded');
+ if (item.status === 'error') return item.error || t('common.controls.uploadFailed', 'Upload failed');
+ return t('common.controls.queued', 'Queued');
+ };
+ return (
+