Files
wehub-resource-sync 91e75e620b
CI: cua-driver distro-compat matrix / debian:12 (glibc 2.36) (push) Has been cancelled
CI: SPDX Headers / Check SPDX headers (warn-only) (push) Has been cancelled
CD: Docs MCP Server / build (linux/amd64) (push) Has been cancelled
CD: Docs MCP Server / build (linux/arm64) (push) Has been cancelled
CD: Docs MCP Server / merge (push) Has been cancelled
CI: cua-driver distro-compat matrix / Resolve release version (push) Has been cancelled
CI: cua-driver distro-compat matrix / fedora:41 (glibc 2.40) (push) Has been cancelled
CI: cua-driver distro-compat matrix / rockylinux:9 (glibc 2.34) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:22.04 (glibc 2.35) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:24.04 (glibc 2.39) (push) Has been cancelled
CI: cua-driver distro-compat matrix / Distro compat summary (push) Has been cancelled
CI: Rust Linux unit / Rust Linux unit and compile (push) Has been cancelled
CI: Rust Windows unit / Rust Windows unit and compile (push) Has been cancelled
CI: Nix Linux Rust source / Nix / compositor build (push) Has been cancelled
CI: Nix Linux Rust source / Nix / driver package (push) Has been cancelled
CI: Nix Linux Rust source / Nix / Rust unit tests (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:19 +08:00

41 lines
1.4 KiB
HTML

<main class="flex flex-col h-full w-full p-6" role="main" aria-label="Text input task interface">
<div class="max-w-md mx-auto w-full">
<h1 class="text-xl font-semibold text-gray-900 mb-4">Type into the field</h1>
<div class="flex flex-col gap-2">
<label for="text-input" class="text-sm font-medium text-gray-700"> {{FIELD_LABEL}} </label>
<input
type="text"
id="text-input"
class="px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 w-full"
placeholder="Type here..."
aria-label="Text input field"
/>
</div>
<div class="mt-4 p-3 bg-blue-50 border border-blue-200 rounded">
<p class="text-sm text-blue-800">
<iconify-icon icon="mdi:information" class="text-blue-600"></iconify-icon>
Type the required text into the input field above
</p>
</div>
</div>
<script>
// Store input value globally for evaluation
window.__inputValue = null;
const inputField = document.getElementById('text-input');
// Update the global value whenever the input changes
inputField.addEventListener('input', function () {
window.__inputValue = this.value;
});
// Also capture on blur in case the agent doesn't trigger input event
inputField.addEventListener('blur', function () {
window.__inputValue = this.value;
});
</script>
</main>