diff --git a/capsules/_shared/byte-format.js b/capsules/_shared/byte-format.js new file mode 100644 index 000000000..1ff2281a0 --- /dev/null +++ b/capsules/_shared/byte-format.js @@ -0,0 +1,29 @@ +// Decimal file sizes. A transfer keeps the unit selected by its total. +const UNITS = ["B", "KB", "MB", "GB", "TB"]; +const count = value => Number.isFinite(Number(value)) ? Math.max(0, Number(value)) : 0; +function rank(bytes, rounding = Math.round) { + let unit = 0; + while (unit < UNITS.length - 1 && (unit === 0 ? bytes >= 1000 : rounding(bytes * 10 / 1000 ** unit) >= 10000)) unit++; + return unit; +} +function inUnit(bytes, unit, rounding = Math.round) { + const precision = unit === 3 ? 100 : 10; + return `${unit ? (rounding(bytes * precision / 1000 ** unit) / precision).toFixed(unit === 3 ? 2 : 1) : Math.floor(bytes)} ${UNITS[unit]}`; +} +export function formatBytes(value, rounding = Math.round) { + if (value === null || value === undefined || value === "" || !Number.isFinite(Number(value)) || Number(value) < 0) return "Size unknown"; + const bytes = count(value); + return inUnit(bytes, rank(bytes, rounding), rounding); +} +export function formatBytesOf(completed, total) { + const bytes = count(total), unit = rank(bytes); + const done = count(completed), size = inUnit(bytes, unit); + let received = inUnit(Math.min(done, bytes), unit); + // Reserve equal displayed counts for true byte completion at every unit. + if (done !== bytes && received === size) { + const precision = unit === 0 ? 1 : unit === 3 ? 100 : 10; + const step = 1000 ** unit / precision; + received = inUnit(Math.max(0, (Math.round(bytes / step) - 1) * step), unit); + } + return `${received} of ${size}`; +} diff --git a/capsules/_shared/model-management.js b/capsules/_shared/model-management.js index 7d25ac2eb..2e885a2f5 100644 --- a/capsules/_shared/model-management.js +++ b/capsules/_shared/model-management.js @@ -1,5 +1,7 @@ +import { formatBytes } from "./byte-format.js?v=download-progress-20261112"; +import { createTransferProgress, announceTransferProgress } from "./transfer-progress.js?v=download-progress-20261112"; /* Shared model presentation. Runtime owns admission, execution and retention. */ -(() => { + const CID = /^bafybei[a-z2-7]{52}$/; const STATES = new Set(["capacity_pending", "reserved", "preparing", "verifying", "admission_pending", "admitted", "reclaimed", "failed", "uncertain", "cancelled", "expired"]); const active = p => p && ["capacity_pending", "reserved", "preparing", "verifying", "admission_pending", "uncertain"].includes(p.state); @@ -115,11 +117,6 @@ } return entries.length === 1 ? entries[0] : null; } - function formatBytes(bytes) { - const units = ["B", "KB", "MB", "GB", "TB"]; - const rank = bytes ? Math.min(4, Math.floor(Math.log(bytes) / Math.log(1000))) : 0; - return `${(bytes / 1000 ** rank).toLocaleString(undefined, { maximumFractionDigits: rank ? 2 : 0 })} ${units[rank]}`; - } // Waiting for space names how much this model still needs, so the user knows what to free. const capacityText = p => p.failure_class === "cache_budget_unavailable" ? "Waiting for room in the local cache budget. Remove an unneeded model or increase the budget and it continues." @@ -139,12 +136,15 @@ dispatch_ready: output.dispatch_ready, dispatch_unavailable_reason: output.dispatch_unavailable_reason, offer_id: output.offer_id, preparation }, cid); } - window.ElastosModelManagement = { + export const ElastosModelManagement = { // Compact mode is the Marketplace detail: root is its Status list, so each // fact is a list row led by a copy of itemMarker; the actions go to // actionsRoot (the detail footer) and Refresh appears only when a read failed. + // The consumer owns announceRoot: the element that holds the live region + // outside the rows this view replaces, and outside structure it must match. create({ root, capsule, token, buttonClass = "pc2-btn pc2-btn-secondary", primaryButtonClass = buttonClass, - cid: requiredCid = null, compact = false, onReadyOpen = null, actionsRoot = null, itemMarker = null }) { + cid: requiredCid = null, compact = false, onReadyOpen = null, actionsRoot = null, itemMarker = null, + announceRoot = root.parentElement }) { let visible = false, closed = false, generation = 0, busy = false, timer, reader; let selectedCid = requiredCid, choices = [], model = null, methods = new Map(), message = "", loading = false; let unresolvedUse = null, reconcileRequired = false, refusal = ""; @@ -158,6 +158,9 @@ // The full view brings its own styles; compact rows use the host's list styles. if (!compact) root.classList.add("model-management"); root.tabIndex = -1; + // A screen reader reads a live region that already exists when its text + // changes, so this view opens the region empty. + announceTransferProgress(announceRoot, null, null); const show = () => visible && !closed && !document.hidden; function stopRead() { clearTimeout(timer); reader?.abort(); reader = null; } async function request(path, body, signal) { @@ -409,11 +412,11 @@ row.append(fact(label)); if (compact) row.append(fact(`Download size: ${formatBytes(model.content_size_bytes)}`, "model-size")); row.append(fact((compact ? COMPACT_MEMORY_FIT_TEXT : MEMORY_FIT_TEXT)[model.model_memory_fit], "model-memory-fit")); + announceTransferProgress(announceRoot, active(p) ? p.completed_bytes : null, p?.total_bytes, "Model download"); if (active(p)) { - const progress = element("progress"); progress.max = p.total_bytes || 1; progress.value = p.completed_bytes; - progress.setAttribute("aria-label", "Preparation progress"); - const done = fact(`${formatBytes(p.completed_bytes)} of ${formatBytes(p.total_bytes)}`); - if (compact) { done.append(progress); row.append(done); } else row.append(progress, done); + const progress = createTransferProgress(p.completed_bytes, p.total_bytes, "Model download progress"); + if (compact) { const item = fact(""); item.append(progress); row.append(item); } + else row.append(progress); } const controls = actionsRoot || element("div", "", "model-controls"); const useLabel = r.dispatch_unavailable_reason === "catalog_updated" ? "Use" @@ -466,12 +469,15 @@ } function setVisible(value) { if (visible === value) return; + if (!value) announceTransferProgress(announceRoot, null, null); visible = value; root.hidden = !value; ++generation; stopRead(); if (show()) void load(); } const onVisibility = () => { ++generation; stopRead(); if (show()) void load(); }; function destroy() { closed = true; ++generation; stopRead(); + // A live region on a host that outlives this view keeps its last text. + announceTransferProgress(announceRoot, null, null); document.removeEventListener("visibilitychange", onVisibility); window.removeEventListener("pagehide", destroy); } @@ -480,4 +486,6 @@ return { setVisible, refresh: load, destroy }; }, }; -})(); + +if (typeof window !== "undefined") window.ElastosModelManagement = ElastosModelManagement; +export { capacityText, parseRuntime, operationRuntime, failureText, catalogEntries, selectCatalogEntry, phaseOf, PHASE_TEXT, COMPACT_PHASE_TEXT, DISPATCH_UNAVAILABLE_TEXT }; diff --git a/capsules/_shared/model-selection.js b/capsules/_shared/model-selection.js index 063624629..8987ac3e4 100644 --- a/capsules/_shared/model-selection.js +++ b/capsules/_shared/model-selection.js @@ -20,24 +20,28 @@ export function catalogModels(catalog) { typeof facts.admitted !== "boolean" || typeof facts.dispatch_ready !== "boolean" || (facts.dispatch_ready ? !facts.admitted || !text(facts.offer_id) : facts.offer_id !== null)) throw new Error("Model catalog unavailable"); return { cid: row.cid, title: row.title, offerId: facts.offer_id, ready: facts.dispatch_ready, - downloadPercent: downloadPercent(facts.preparation) }; + downloadPercent: downloadPercent(facts.preparation), + download: downloadProgress(facts.preparation) }; }); } // Runtime preparation states that are still fetching or checking model files. const DOWNLOADING_STATES = new Set(["capacity_pending", "reserved", "preparing", "verifying", "admission_pending"]); -// Whole-percent download progress for a running preparation, otherwise null. -function downloadPercent(preparation) { +function downloadProgress(preparation) { if (!preparation || !DOWNLOADING_STATES.has(preparation.state) || preparation.cancel_requested) return null; - const { completed_bytes: done, total_bytes: total } = preparation; - if (!Number.isSafeInteger(done) || !Number.isSafeInteger(total) || total <= 0) return 0; - return Math.min(100, Math.floor((Math.max(0, done) * 100) / total)); + return { completed: preparation.completed_bytes, total: preparation.total_bytes }; +} +// Retained for model-choice callers; the shared pattern owns the visible value. +function downloadPercent(preparation) { + const progress = downloadProgress(preparation); + if (!progress) return null; + return progress.total > 0 ? Math.min(100, Math.floor(Math.max(0, progress.completed) * 100 / progress.total)) : null; } // The model a running preparation is downloading, for when no model is ready yet. export function downloadingModel(models) { - return models.find(row => !row.ready && row.downloadPercent !== null) || null; + return models.find(row => !row.ready && row.download !== null) || null; } export function selectedModelOffer(offers, offerId, selectedCid, models) { diff --git a/capsules/_shared/transfer-progress.css b/capsules/_shared/transfer-progress.css new file mode 100644 index 000000000..c9531451f --- /dev/null +++ b/capsules/_shared/transfer-progress.css @@ -0,0 +1,8 @@ +.transfer-progress { display: grid; gap: 6px; min-width: 0; width: 100%; } +.transfer-progress progress { width: 100%; height: 8px; accent-color: var(--el-accent); } +.transfer-progress span { color: var(--el-muted); font-size: 12px; font-variant-numeric: tabular-nums; } +.transfer-progress progress::-webkit-progress-bar { background: var(--el-hairline-strong); border-radius: 4px; } +.transfer-progress progress::-webkit-progress-value { background: var(--el-accent); border-radius: 4px; } +.transfer-progress progress::-moz-progress-bar { background: var(--el-accent); border-radius: 4px; } + +.transfer-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } diff --git a/capsules/_shared/transfer-progress.js b/capsules/_shared/transfer-progress.js new file mode 100644 index 000000000..f0e573567 --- /dev/null +++ b/capsules/_shared/transfer-progress.js @@ -0,0 +1,52 @@ +import { formatBytes, formatBytesOf } from "./byte-format.js?v=download-progress-20261112"; + +// Completion comes from the true byte counts, independent of display precision. +function transferPercent(completed, total) { + return completed === total ? 100 : Math.min(99, Math.floor(Math.max(0, completed || 0) * 100 / total)); +} + +// Native progress supplies keyboard-independent, screen-reader progress semantics. +export function createTransferProgress(completed, total, label = "Download progress", doc = document) { + const root = doc.createElement("div"); + root.className = "transfer-progress"; + const bar = doc.createElement("progress"); + bar.setAttribute("aria-label", label); + const detail = doc.createElement("span"); + const known = Number.isFinite(total) && total > 0; + const done = Number.isFinite(completed) ? Math.max(0, completed) : 0; + if (known) { + bar.max = total; + const percent = transferPercent(done, total); + bar.value = percent === 100 ? total : Math.min(done, total); + detail.textContent = `${formatBytesOf(done, total)} · ${percent}%`; + bar.setAttribute("aria-valuetext", detail.textContent); + } else { + detail.textContent = done > 0 ? `${formatBytes(done)} received · Size unknown` : "Size unknown"; + bar.setAttribute("aria-valuetext", detail.textContent); + } + root.append(bar, detail); + return root; +} + +// Keep this region outside a consumer's replaced rows. Announce five-percent +// milestones; the visible numbers and native bar can update more often. +export function announceTransferProgress(host, completed, total, label = "Download") { + if (!host) return; + let live = host.querySelector(":scope > .transfer-announcement"); + if (!live) { + live = host.ownerDocument.createElement("span"); + live.className = "transfer-announcement"; + live.setAttribute("role", "status"); + live.setAttribute("aria-live", "polite"); + live.setAttribute("aria-atomic", "true"); + host.append(live); + } + const known = Number.isFinite(total) && total > 0; + const percent = known ? transferPercent(completed, total) : null; + const key = completed == null ? "" : `${label}:${total}:${known ? Math.floor(percent / 5) : "unknown"}`; + if (live.dataset.progressKey === key) return; + live.dataset.progressKey = key; + live.textContent = completed == null ? "" : known + ? `${label}: ${formatBytesOf(completed, total)}, ${percent}%.` + : `${label} in progress. Total size is unknown.`; +} diff --git a/capsules/archive-manager/browser/archive-manager.js b/capsules/archive-manager/browser/archive-manager.js index 84c0b7e18..c8f412f22 100644 --- a/capsules/archive-manager/browser/archive-manager.js +++ b/capsules/archive-manager/browser/archive-manager.js @@ -1,3 +1,4 @@ +import { formatBytes } from "./byte-format.js?v=download-progress-20261112"; import { createHomeNavigationClient } from "/apps/home/home-navigation-client.js"; const params = new URLSearchParams(window.location.search); const homeToken = new URLSearchParams(window.location.hash.replace(/^#/, "")).get("home_token") || ""; @@ -634,14 +635,6 @@ return index > "localhost://".length ? clean.slice(0, index) : clean; } - function formatBytes(value) { - if (value == null || Number.isNaN(Number(value))) return "size unknown"; - const bytes = Number(value); - if (bytes < 1024) return `${bytes} B`; - if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`; - return `${(bytes / 1024 / 1024).toFixed(1)} MB`; - } - function escapeHtml(value) { return String(value || "") .replace(/&/g, "&") diff --git a/capsules/archive-manager/browser/byte-format.js b/capsules/archive-manager/browser/byte-format.js new file mode 100644 index 000000000..1ff2281a0 --- /dev/null +++ b/capsules/archive-manager/browser/byte-format.js @@ -0,0 +1,29 @@ +// Decimal file sizes. A transfer keeps the unit selected by its total. +const UNITS = ["B", "KB", "MB", "GB", "TB"]; +const count = value => Number.isFinite(Number(value)) ? Math.max(0, Number(value)) : 0; +function rank(bytes, rounding = Math.round) { + let unit = 0; + while (unit < UNITS.length - 1 && (unit === 0 ? bytes >= 1000 : rounding(bytes * 10 / 1000 ** unit) >= 10000)) unit++; + return unit; +} +function inUnit(bytes, unit, rounding = Math.round) { + const precision = unit === 3 ? 100 : 10; + return `${unit ? (rounding(bytes * precision / 1000 ** unit) / precision).toFixed(unit === 3 ? 2 : 1) : Math.floor(bytes)} ${UNITS[unit]}`; +} +export function formatBytes(value, rounding = Math.round) { + if (value === null || value === undefined || value === "" || !Number.isFinite(Number(value)) || Number(value) < 0) return "Size unknown"; + const bytes = count(value); + return inUnit(bytes, rank(bytes, rounding), rounding); +} +export function formatBytesOf(completed, total) { + const bytes = count(total), unit = rank(bytes); + const done = count(completed), size = inUnit(bytes, unit); + let received = inUnit(Math.min(done, bytes), unit); + // Reserve equal displayed counts for true byte completion at every unit. + if (done !== bytes && received === size) { + const precision = unit === 0 ? 1 : unit === 3 ? 100 : 10; + const step = 1000 ** unit / precision; + received = inUnit(Math.max(0, (Math.round(bytes / step) - 1) * step), unit); + } + return `${received} of ${size}`; +} diff --git a/capsules/archive-manager/browser/index.html b/capsules/archive-manager/browser/index.html index 812f834cc..f1d41ed74 100644 --- a/capsules/archive-manager/browser/index.html +++ b/capsules/archive-manager/browser/index.html @@ -684,6 +684,6 @@

Extract

- + diff --git a/capsules/assistant/browser/agent-harness.css b/capsules/assistant/browser/agent-harness.css index 4cc146333..f22bb7809 100644 --- a/capsules/assistant/browser/agent-harness.css +++ b/capsules/assistant/browser/agent-harness.css @@ -3908,3 +3908,5 @@ html[data-agent-reasoning="off"] .agent-thinking { :root[data-el-form-factor="phone"] :is(.agent-prompt-textarea, .agent-prompt-param input) { font-size: 16px; } + +.agent-model-download { min-width: 0; margin-top: 4px; padding: 6px 8px; border-radius: 8px; background: var(--el-surface-raised); } diff --git a/capsules/assistant/browser/agent-harness.js b/capsules/assistant/browser/agent-harness.js index a52a790ae..65863479b 100644 --- a/capsules/assistant/browser/agent-harness.js +++ b/capsules/assistant/browser/agent-harness.js @@ -1,3 +1,4 @@ +import { createTransferProgress, announceTransferProgress } from "./transfer-progress.js?v=download-progress-20261112"; /* Agent Harness — Home drops, Shelf stays as composer hinge. UI ≠ authority (Principle 16): never mints grants, never opens Carrier/ capsule ambient paths. Inference is the typed model contract or nothing. */ @@ -11,7 +12,7 @@ import { getComposerDraft, applyComposerDraft, syncAgentSendButton, -} from "./agent-shelf.js"; +} from "./agent-shelf.js?v=download-progress-20261112"; import { shellState, desktopObjects, @@ -728,7 +729,7 @@ function syncModelTrigger() { const content = liveContentModels().find(model => model.offerId === offer?.offerId); const downloading = offer ? null : liveDownloadingModel(); const label = content?.title || offer?.label || liveInference.model || - (downloading ? `${downloading.title} is downloading (${downloading.downloadPercent}%)` : "No model"); + (downloading ? `${downloading.title} is downloading` : "No model"); if (name) { name.textContent = label; } @@ -736,6 +737,17 @@ function syncModelTrigger() { tier.textContent = ""; tier.hidden = true; } + announceTransferProgress(btn.parentElement, downloading?.download?.completed ?? null, downloading?.download?.total, "Model download"); + const toolbar = btn.closest(".agent-composer-toolbar"); + let progress = toolbar?.parentElement.querySelector(".agent-model-download"); + if (downloading?.download) { + if (!progress) { + progress = document.createElement("div"); + progress.className = "agent-model-download"; + toolbar.after(progress); + } + progress.replaceChildren(createTransferProgress(downloading.download.completed, downloading.download.total, "Model download progress")); + } else progress?.remove(); btn.setAttribute("aria-label", offer ? `Model: ${label}` : "Choose a model"); btn.title = offer ? label : "Choose a model"; } diff --git a/capsules/assistant/browser/agent-sessions.js b/capsules/assistant/browser/agent-sessions.js index 32f0fb36e..e990a2994 100644 --- a/capsules/assistant/browser/agent-sessions.js +++ b/capsules/assistant/browser/agent-sessions.js @@ -21,7 +21,7 @@ import { import { syncAgentSendButton, composerInput as shelfComposerInput, -} from "./agent-shelf.js"; +} from "./agent-shelf.js?v=download-progress-20261112"; /** @type {null | object} */ let ctx = null; diff --git a/capsules/assistant/browser/agent-shelf.js b/capsules/assistant/browser/agent-shelf.js index 31794a274..91a5a61b1 100644 --- a/capsules/assistant/browser/agent-shelf.js +++ b/capsules/assistant/browser/agent-shelf.js @@ -1,3 +1,4 @@ +import { formatBytes } from "./byte-format.js?v=download-progress-20261112"; /* Agent composer — the pill Home's Shelf hands over to. UI ≠ authority (Principle 16): the composer never mints grants or Carrier authority. Home GUI owns the Shelf morph and the place; this module owns @@ -329,10 +330,10 @@ function renderComposerAttachments() { : file.kind === "text" ? "Text" : file.text - ? `text · ${Math.max(1, Math.round(String(file.text).length / 1024))} KB` + ? `text · ${formatBytes(new TextEncoder().encode(String(file.text)).length)}` : file.uri ? "desktop · reference" - : `${Math.max(1, Math.round((file.size || 0) / 1024))} KB`; + : `${formatBytes(file.size)}`; main.querySelector(".agent-attach-chip-meta").textContent = meta; const remove = document.createElement("button"); remove.type = "button"; diff --git a/capsules/assistant/browser/agent-stream.js b/capsules/assistant/browser/agent-stream.js index 95e0217d2..dd3de8335 100644 --- a/capsules/assistant/browser/agent-stream.js +++ b/capsules/assistant/browser/agent-stream.js @@ -21,7 +21,7 @@ import { unresolvedModelTurn, } from "./agent-live.js"; import { stampMessageNode, contentHash, newTurnId, createTurnManifest, turnStorePut, turnStorePatch, turnStoreGet, TurnState, cheapTurnSnapshot, resolveReasoningPolicy } from "./agent-context.js"; -import { setAgentComposerProcessing } from "./agent-shelf.js"; +import { setAgentComposerProcessing } from "./agent-shelf.js?v=download-progress-20261112"; import { renderHarnessPage } from "./agent-configure.js"; import { postToHome, openInboxFromAgent, openModelsFromAgent } from "./harness-host.js"; import { diff --git a/capsules/assistant/browser/assistant-modes.js b/capsules/assistant/browser/assistant-modes.js index c763a3fef..778b97f36 100644 --- a/capsules/assistant/browser/assistant-modes.js +++ b/capsules/assistant/browser/assistant-modes.js @@ -1,5 +1,5 @@ import { createAssistantApp, eligibleStudioOffers } from "./assistant.js"; -import { getAgentWorkspaceSnapshot, setAssistantMode } from "./agent-harness.js"; +import { getAgentWorkspaceSnapshot, setAssistantMode } from "./agent-harness.js?v=download-progress-20261112"; import { setAssistantWorkspaceField, getAssistantSession, ensureAssistantStudioSession, setAssistantSessionStudio, captureActiveSessionState, applyAssistantModeDraft } from "./agent-workspace.js"; import { getHomeGuiLaunchToken, persistAgentWorkspaceNow, flushAgentWorkspace, bindWorkspaceMergeGuard } from "./harness-host.js"; import { fetchModelOffers, unresolvedModelTurn } from "./agent-live.js"; diff --git a/capsules/assistant/browser/byte-format.js b/capsules/assistant/browser/byte-format.js new file mode 100644 index 000000000..1ff2281a0 --- /dev/null +++ b/capsules/assistant/browser/byte-format.js @@ -0,0 +1,29 @@ +// Decimal file sizes. A transfer keeps the unit selected by its total. +const UNITS = ["B", "KB", "MB", "GB", "TB"]; +const count = value => Number.isFinite(Number(value)) ? Math.max(0, Number(value)) : 0; +function rank(bytes, rounding = Math.round) { + let unit = 0; + while (unit < UNITS.length - 1 && (unit === 0 ? bytes >= 1000 : rounding(bytes * 10 / 1000 ** unit) >= 10000)) unit++; + return unit; +} +function inUnit(bytes, unit, rounding = Math.round) { + const precision = unit === 3 ? 100 : 10; + return `${unit ? (rounding(bytes * precision / 1000 ** unit) / precision).toFixed(unit === 3 ? 2 : 1) : Math.floor(bytes)} ${UNITS[unit]}`; +} +export function formatBytes(value, rounding = Math.round) { + if (value === null || value === undefined || value === "" || !Number.isFinite(Number(value)) || Number(value) < 0) return "Size unknown"; + const bytes = count(value); + return inUnit(bytes, rank(bytes, rounding), rounding); +} +export function formatBytesOf(completed, total) { + const bytes = count(total), unit = rank(bytes); + const done = count(completed), size = inUnit(bytes, unit); + let received = inUnit(Math.min(done, bytes), unit); + // Reserve equal displayed counts for true byte completion at every unit. + if (done !== bytes && received === size) { + const precision = unit === 0 ? 1 : unit === 3 ? 100 : 10; + const step = 1000 ** unit / precision; + received = inUnit(Math.max(0, (Math.round(bytes / step) - 1) * step), unit); + } + return `${received} of ${size}`; +} diff --git a/capsules/assistant/browser/home-agent.js b/capsules/assistant/browser/home-agent.js index 9880d1f9c..50da99fda 100644 --- a/capsules/assistant/browser/home-agent.js +++ b/capsules/assistant/browser/home-agent.js @@ -35,14 +35,14 @@ import { MAX_HOME_CLIPBOARD_TEXT_UTF8_BYTES, } from "/apps/home/home-clipboard-client.js?v=home-20260726a"; -import { bindAgentShelf, raiseComposerFace, agentShelfFaceActive, composerInput } from "./agent-shelf.js"; +import { bindAgentShelf, raiseComposerFace, agentShelfFaceActive, composerInput } from "./agent-shelf.js?v=download-progress-20261112"; import { bindAgentHarness, showAgentHarness, hideAgentHarness, agentHarnessActive, applyAgentWorkspaceSnapshot, -} from "./agent-harness.js"; +} from "./agent-harness.js?v=download-progress-20261112"; import { handleShellEscape } from "./shell-popovers.js"; import { postToHome, diff --git a/capsules/assistant/browser/index.html b/capsules/assistant/browser/index.html index 54e8730b6..a3a00a5a3 100644 --- a/capsules/assistant/browser/index.html +++ b/capsules/assistant/browser/index.html @@ -5,12 +5,13 @@ Assistant - ElastOS + - +