feat(n7web): enhance control workflows and status feedback

This commit is contained in:
Miayui
2026-09-16 12:52:07 +08:00
parent 84a3cd73bb
commit 0e4328f548
45 changed files with 7317 additions and 1001 deletions
+2 -13
View File
@@ -1,20 +1,9 @@
import { Fragment, createApp, h, nextTick, reactive } from "vue";
(function () {
"use strict";
const VUE_VERSION = "3.5.21";
const vue = window.Vue;
const unavailable = {
available: false,
version: VUE_VERSION,
renderDispatchedControls: () => false,
renderModeChips: () => false,
};
if (!vue?.createApp || !vue?.h || !vue?.reactive) {
window.CognitiveAgentVueUI = unavailable;
return;
}
const { Fragment, createApp, h, nextTick, reactive } = vue;
const modeMounts = new WeakMap();
const commandMounts = new WeakMap();
const text = (value, fallback = "") => String(value ?? fallback);