Spaces:
Running
Running
Prevent AskUser card fade in Space
Browse filesFiles changed (2)
36 unmodified lines3738394041421 unmodified line44454647484936 unmodified lines- Space-only deployment logic must not be copied back into the main repo unlessit is genuinely general-purpose.- Public documentation should be updated in the main repo, not duplicated here.## Sync Policy1 unmodified linechanges, sync only the files needed by the hosted browser app, then inspect thediff manually. Do not copy the whole main repository into this Space.### Fully Synced From The Main RepositoryThese files/directories should normally match the main repo exactly, unless a36 unmodified lines3738394041424344451 unmodified line474849505152535455565736 unmodified lines- Space-only deployment logic must not be copied back into the main repo unlessit is genuinely general-purpose.- Public documentation should be updated in the main repo, not duplicated here.- Treat the tables below as the sync boundary. Fully synced files may be copiedfrom the main repo and diff-checked. Partially synced files must be updatedwith targeted patches only; do not overwrite them with main-repo files.## Sync Policy1 unmodified linechanges, sync only the files needed by the hosted browser app, then inspect thediff manually. Do not copy the whole main repository into this Space.For partially synced files, a clean sync means the diff contains only thespecific hunk needed for the current bug or feature. If a full-file copy createslarge unrelated changes, restore the Space version from `HEAD` and reapply theminimal patch.### Fully Synced From The Main RepositoryThese files/directories should normally match the main repo exactly, unless a
504 unmodified lines505506507508509510511219 unmodified lines731732733734735736737504 unmodified linesvar body = eventBody(node);var toggle = node.querySelector(".event-toggle");if (!body) return;var shouldCollapse = body.scrollHeight > COLLAPSED_STEP_HEIGHT + 8;node.classList.toggle("can-collapse", shouldCollapse);if (toggle) toggle.hidden = !shouldCollapse;if (!shouldCollapse) {219 unmodified linesvar context = message.context || "";var body = "<pre>" + escapeHtml(question) + "</pre>";if (context) body += '<pre class="muted-text">' + escapeHtml(context) + "</pre>";addEvent("runtime", "Agent question", body, ["AskUser"]);setStatus("Waiting for input", "running");updateComposerMode();promptInput.focus();504 unmodified lines505506507508509510511512219 unmodified lines732733734735736737738504 unmodified linesvar body = eventBody(node);var toggle = node.querySelector(".event-toggle");if (!body) return;var shouldCollapse = !node.classList.contains("event-ask-user")&& body.scrollHeight > COLLAPSED_STEP_HEIGHT + 8;node.classList.toggle("can-collapse", shouldCollapse);if (toggle) toggle.hidden = !shouldCollapse;if (!shouldCollapse) {219 unmodified linesvar context = message.context || "";var body = "<pre>" + escapeHtml(question) + "</pre>";if (context) body += '<pre class="muted-text">' + escapeHtml(context) + "</pre>";addEvent("ask-user", "Agent question", body, ["AskUser"]);setStatus("Waiting for input", "running");updateComposerMode();promptInput.focus();
README.md+8
frontend/static/app.js+3-2