flow.js: drop dead window.HiveTerminal (#406 step 2 follow-up)

Per @argus on PR #412: after the common.js step (#410)
`appendText` uses the direct `termLinkify` import and `termCreate`
is called directly in flow.js — nothing reads `window.HiveTerminal`
anywhere. Drop the line + the stale comment alongside.
This commit is contained in:
iris 2026-05-25 02:18:42 +02:00 committed by Mara
parent 06c23e0bdc
commit 918dccfedd

View file

@ -11,18 +11,13 @@
// runs purely on the broker stream + an initial /api/state fetch // runs purely on the broker stream + an initial /api/state fetch
// (compose autocomplete needs the live container list). // (compose autocomplete needs the live container list).
import { create as termCreate, linkify as termLinkify } from '@hive/shared/terminal.js'; import { create as termCreate } from '@hive/shared/terminal.js';
import { import {
$, el, $, el,
Panel, NOTIF, Panel, NOTIF,
appendLinkified, appendLinkified,
} from './common.js'; } from './common.js';
// Common helpers (mdNode in common.js) probe `window.marked` at use
// time. Flow page doesn't actually call mdNode (it has no file-preview
// path); we set it anyway so any future preview-on-flow lands hot.
window.HiveTerminal = { create: termCreate, linkify: termLinkify };
(() => { (() => {
Panel.bind(); Panel.bind();
NOTIF.bind(); NOTIF.bind();