@tanzerfe/page-use 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/dist/{src-ChJ6q7jl.mjs → src-DRLJiTQV.mjs} +145 -5
- package/dist/vue.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as pageUseSettings, B as BROWSER_ENGINE_ID, C as getPageUseConfig, D as pageUsePresets, E as pageUseStore, F as DEFAULT_TOUR_MAX_TAB_SWITCHES, H as DEFAULT_TOUR_STYLES, I as normalizeOptions, L as readLauncherSwitch, M as DEFAULT_MODEL, N as DEFAULT_SESSION_HEADER, O as pageUseHistory, P as DEFAULT_STORAGE_KEY_PREFIX, R as PAGE_USE_MASK_COLORS, S as getElapsedSeconds, T as isRunning, U as TOUR_STYLE_TRAINER, V as browserTtsEngine, W as TOUR_STYLE_USER, _ as runPageUseTool, a as PAGE_USE_STATIC_PRESETS, b as pageUseCapability, c as PAGE_USE_GLOW_TAG, d as PAGE_USE_GLOBAL_KEY, f as PAGE_USE_COMMAND_TYPE, g as isPageUseCommand, h as formatPageUseResultForModel, i as PageUseLauncherElement, j as DEFAULT_MAX_STEPS, k as DEFAULT_PAGE_USE_SETTINGS, l as PageUseGlowElement, m as PAGE_USE_TOOL_NAME, n as mountPageUseUI, o as buildMenuPresets, p as PAGE_USE_TOOL, r as PAGE_USE_LAUNCHER_TAG, s as PAGE_USE_ROBOT_ICON_SVG, t as definePageUseElements, u as createPageUse, v as hidePageUseLauncher, w as isPageUseConfigured, x as clearPageUseLog, y as showPageUseLauncher, z as SIMULATOR_MASK_ID } from "./src-
|
|
1
|
+
import { A as pageUseSettings, B as BROWSER_ENGINE_ID, C as getPageUseConfig, D as pageUsePresets, E as pageUseStore, F as DEFAULT_TOUR_MAX_TAB_SWITCHES, H as DEFAULT_TOUR_STYLES, I as normalizeOptions, L as readLauncherSwitch, M as DEFAULT_MODEL, N as DEFAULT_SESSION_HEADER, O as pageUseHistory, P as DEFAULT_STORAGE_KEY_PREFIX, R as PAGE_USE_MASK_COLORS, S as getElapsedSeconds, T as isRunning, U as TOUR_STYLE_TRAINER, V as browserTtsEngine, W as TOUR_STYLE_USER, _ as runPageUseTool, a as PAGE_USE_STATIC_PRESETS, b as pageUseCapability, c as PAGE_USE_GLOW_TAG, d as PAGE_USE_GLOBAL_KEY, f as PAGE_USE_COMMAND_TYPE, g as isPageUseCommand, h as formatPageUseResultForModel, i as PageUseLauncherElement, j as DEFAULT_MAX_STEPS, k as DEFAULT_PAGE_USE_SETTINGS, l as PageUseGlowElement, m as PAGE_USE_TOOL_NAME, n as mountPageUseUI, o as buildMenuPresets, p as PAGE_USE_TOOL, r as PAGE_USE_LAUNCHER_TAG, s as PAGE_USE_ROBOT_ICON_SVG, t as definePageUseElements, u as createPageUse, v as hidePageUseLauncher, w as isPageUseConfigured, x as clearPageUseLog, y as showPageUseLauncher, z as SIMULATOR_MASK_ID } from "./src-DRLJiTQV.mjs";
|
|
2
2
|
|
|
3
3
|
export { BROWSER_ENGINE_ID, DEFAULT_MAX_STEPS, DEFAULT_MODEL, DEFAULT_PAGE_USE_SETTINGS, DEFAULT_SESSION_HEADER, DEFAULT_STORAGE_KEY_PREFIX, DEFAULT_TOUR_MAX_TAB_SWITCHES, DEFAULT_TOUR_STYLES, PAGE_USE_COMMAND_TYPE, PAGE_USE_GLOBAL_KEY, PAGE_USE_GLOW_TAG, PAGE_USE_LAUNCHER_TAG, PAGE_USE_MASK_COLORS, PAGE_USE_ROBOT_ICON_SVG, PAGE_USE_STATIC_PRESETS, PAGE_USE_TOOL, PAGE_USE_TOOL_NAME, PageUseGlowElement, PageUseLauncherElement, SIMULATOR_MASK_ID, TOUR_STYLE_TRAINER, TOUR_STYLE_USER, browserTtsEngine, buildMenuPresets, clearPageUseLog, createPageUse, definePageUseElements, formatPageUseResultForModel, getElapsedSeconds, getPageUseConfig, hidePageUseLauncher, isPageUseCommand, isPageUseConfigured, isRunning, mountPageUseUI, normalizeOptions, pageUseCapability, pageUseHistory, pageUsePresets, pageUseSettings, pageUseStore, readLauncherSwitch, runPageUseTool, showPageUseLauncher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageAgent, tool } from "page-agent";
|
|
2
|
-
import { clickElement } from "@page-agent/page-controller";
|
|
3
2
|
import * as z from "zod/v4";
|
|
3
|
+
import { clickElement } from "@page-agent/page-controller";
|
|
4
4
|
import { LitElement, css, html, nothing, svg } from "lit";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
@@ -1596,6 +1596,115 @@ function createPageTour(deps) {
|
|
|
1596
1596
|
};
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
+
//#endregion
|
|
1600
|
+
//#region src/core/newWindow.ts
|
|
1601
|
+
/**
|
|
1602
|
+
* 新窗口打开记录器:任务执行期间识别点击触发的新窗口打开,供点击工具与按页提示反馈给模型。
|
|
1603
|
+
* - 识别:window.open、点击 <a target>(含点到其子元素)、未插入文档的 <a> 调用 click()
|
|
1604
|
+
* - 只以调用发生为依据:不检查 window.open 返回值,被浏览器弹窗拦截也视为已打开
|
|
1605
|
+
* - 不改变页面行为:原调用照常执行,参数与返回值不变,不拦截重复打开
|
|
1606
|
+
* 与 page-agent 解耦,由 createPageUseAgent 在任务开始时 install、结束时 uninstall。
|
|
1607
|
+
*/
|
|
1608
|
+
/** 在当前窗口内打开的窗口名(比较时转小写),不视为新窗口 */
|
|
1609
|
+
const SAME_WINDOW_TARGETS = /* @__PURE__ */ new Set([
|
|
1610
|
+
"_self",
|
|
1611
|
+
"_parent",
|
|
1612
|
+
"_top"
|
|
1613
|
+
]);
|
|
1614
|
+
/** 窗口名是否指向新窗口:空串(window.open 默认 _blank)与自定义窗口名均视为新窗口 */
|
|
1615
|
+
function opensNewWindow(name) {
|
|
1616
|
+
return !SAME_WINDOW_TARGETS.has(name.trim().toLowerCase());
|
|
1617
|
+
}
|
|
1618
|
+
/** 链接满足新窗口条件时返回绝对地址,否则返回 null */
|
|
1619
|
+
function newWindowAnchorUrl(anchor) {
|
|
1620
|
+
const target = anchor.getAttribute("target") ?? "";
|
|
1621
|
+
if (!target.trim() || !opensNewWindow(target)) return null;
|
|
1622
|
+
if (anchor.hasAttribute("download")) return null;
|
|
1623
|
+
const href = anchor.getAttribute("href")?.trim() ?? "";
|
|
1624
|
+
if (!href || /^javascript:/i.test(href)) return null;
|
|
1625
|
+
return anchor.href || href;
|
|
1626
|
+
}
|
|
1627
|
+
/** window.open 的地址参数解析为绝对 URL;未传地址时浏览器打开空白页 */
|
|
1628
|
+
function resolveOpenUrl(win, url) {
|
|
1629
|
+
const raw = url === void 0 ? "" : String(url).trim();
|
|
1630
|
+
if (!raw) return "about:blank";
|
|
1631
|
+
try {
|
|
1632
|
+
return new URL(raw, win.location.href).href;
|
|
1633
|
+
} catch {
|
|
1634
|
+
return raw;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
function unique(urls) {
|
|
1638
|
+
return [...new Set(urls)];
|
|
1639
|
+
}
|
|
1640
|
+
function createNewWindowWatcher(win = window) {
|
|
1641
|
+
let records = [];
|
|
1642
|
+
let installed = null;
|
|
1643
|
+
function recordAnchorClick(anchor, event) {
|
|
1644
|
+
const url = newWindowAnchorUrl(anchor);
|
|
1645
|
+
if (url) records.push({
|
|
1646
|
+
url,
|
|
1647
|
+
event
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
/** 已插入文档的链接(含 Shadow DOM 内):点击事件经 composedPath 传到 window */
|
|
1651
|
+
function onWindowClick(event) {
|
|
1652
|
+
const anchor = event.composedPath().find((node) => node instanceof win.HTMLAnchorElement);
|
|
1653
|
+
if (anchor) recordAnchorClick(anchor, event);
|
|
1654
|
+
}
|
|
1655
|
+
function install() {
|
|
1656
|
+
uninstall();
|
|
1657
|
+
records = [];
|
|
1658
|
+
const originalOpen = win.open;
|
|
1659
|
+
const wrappedOpen = (url, target, features) => {
|
|
1660
|
+
const opened = originalOpen.call(win, url, target, features);
|
|
1661
|
+
if (opensNewWindow(target ?? "")) records.push({ url: resolveOpenUrl(win, url) });
|
|
1662
|
+
return opened;
|
|
1663
|
+
};
|
|
1664
|
+
win.open = wrappedOpen;
|
|
1665
|
+
const proto = win.HTMLAnchorElement.prototype;
|
|
1666
|
+
const originalClick = proto.click;
|
|
1667
|
+
const wrappedClick = function() {
|
|
1668
|
+
if (this.isConnected) return originalClick.call(this);
|
|
1669
|
+
const listener = (event) => recordAnchorClick(this, event);
|
|
1670
|
+
this.addEventListener("click", listener, {
|
|
1671
|
+
capture: true,
|
|
1672
|
+
once: true
|
|
1673
|
+
});
|
|
1674
|
+
try {
|
|
1675
|
+
originalClick.call(this);
|
|
1676
|
+
} finally {
|
|
1677
|
+
this.removeEventListener("click", listener, { capture: true });
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
proto.click = wrappedClick;
|
|
1681
|
+
win.addEventListener("click", onWindowClick, { capture: true });
|
|
1682
|
+
installed = { restore: () => {
|
|
1683
|
+
if (win.open === wrappedOpen) win.open = originalOpen;
|
|
1684
|
+
if (proto.click === wrappedClick) proto.click = originalClick;
|
|
1685
|
+
win.removeEventListener("click", onWindowClick, { capture: true });
|
|
1686
|
+
} };
|
|
1687
|
+
}
|
|
1688
|
+
function uninstall() {
|
|
1689
|
+
installed?.restore();
|
|
1690
|
+
installed = null;
|
|
1691
|
+
}
|
|
1692
|
+
function since(n) {
|
|
1693
|
+
return unique(records.slice(n).filter((r) => !r.event?.defaultPrevented).map((r) => r.url));
|
|
1694
|
+
}
|
|
1695
|
+
return {
|
|
1696
|
+
install,
|
|
1697
|
+
uninstall,
|
|
1698
|
+
count: () => records.length,
|
|
1699
|
+
since,
|
|
1700
|
+
all: () => since(0)
|
|
1701
|
+
};
|
|
1702
|
+
}
|
|
1703
|
+
/** 点击结果追加的说明:告知模型新窗口不可观察,当前页面不会变化 */
|
|
1704
|
+
function formatOpenedNotice(urls) {
|
|
1705
|
+
return `已通过新窗口打开:${urls.join("、")}。新窗口不在可操作范围内,当前页面不会因此变化。`;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1599
1708
|
//#endregion
|
|
1600
1709
|
//#region src/core/siteMap.ts
|
|
1601
1710
|
/** 去掉 `#`、前导 `/` 与查询串,得到用于比较的路径 */
|
|
@@ -1677,6 +1786,8 @@ function buildSystemInstruction(options, flags = {}) {
|
|
|
1677
1786
|
"- 页面内的 Tab 通过点击 Tab 标签切换;详情/编辑通常是表格行内的按钮,点击后在抽屉或弹窗中打开。",
|
|
1678
1787
|
"- 下拉选择、日期选择若为自定义组件而非原生 select:先点击该输入框,再点击弹出层中的目标选项文字。",
|
|
1679
1788
|
"- 数据加载需要时间;点击后若内容未变化,先使用 wait 等待 1 到 2 秒再重新观察。",
|
|
1789
|
+
"- 允许点击会在新窗口打开页面或外链的入口(用户任务需要打开它时)。",
|
|
1790
|
+
"- 点击结果或页面提示出现「已通过新窗口打开」时,新窗口内容不可观察,当前页面也不会变化;若打开该页面就是任务目标,立即调用 done(success=true),说明已在新窗口打开的页面或地址,不要重复点击,也不要等待当前页面变化。",
|
|
1680
1791
|
"",
|
|
1681
1792
|
"## 安全边界",
|
|
1682
1793
|
"- 未经用户明确要求,不得执行删除、提交、审批、发布、批量修改等不可逆操作;不确定时用 ask_user 询问。",
|
|
@@ -1686,10 +1797,11 @@ function buildSystemInstruction(options, flags = {}) {
|
|
|
1686
1797
|
}
|
|
1687
1798
|
/**
|
|
1688
1799
|
* 按页提示:page-agent 每步调用一次。
|
|
1689
|
-
* 路由名命中 routeHints 优先,其次按路径命中;outlineText
|
|
1800
|
+
* 路由名命中 routeHints 优先,其次按路径命中;outlineText(页面讲解的模块清单)追加在其后;
|
|
1801
|
+
* openedUrls(本任务已通过新窗口打开的地址)追加在末尾,覆盖点击结果返回后才发生的异步打开。
|
|
1690
1802
|
* 返回 null 表示不追加。
|
|
1691
1803
|
*/
|
|
1692
|
-
function buildPageInstruction(options, outlineText = "") {
|
|
1804
|
+
function buildPageInstruction(options, outlineText = "", openedUrls = []) {
|
|
1693
1805
|
const path = options.getCurrentPath();
|
|
1694
1806
|
const parts = [];
|
|
1695
1807
|
const menu = findMenuByPath(path, options.getMenus());
|
|
@@ -1703,6 +1815,7 @@ function buildPageInstruction(options, outlineText = "") {
|
|
|
1703
1815
|
const hint = routeName && options.routeHints[routeName] || options.routeHints[normalizePath(path)];
|
|
1704
1816
|
if (hint) parts.push(hint);
|
|
1705
1817
|
if (outlineText) parts.push(outlineText);
|
|
1818
|
+
if (openedUrls.length) parts.push(`本任务已通过新窗口打开:${openedUrls.join("、")}`);
|
|
1706
1819
|
return parts.length ? parts.join("\n") : null;
|
|
1707
1820
|
}
|
|
1708
1821
|
|
|
@@ -1714,11 +1827,30 @@ function buildPageInstruction(options, outlineText = "") {
|
|
|
1714
1827
|
* - 站点知识:菜单树写入 system 提示,按页提示按当前路径动态注入
|
|
1715
1828
|
* - 任务开始前按设置执行宿主的 beforeTask(如展开折叠的侧栏)
|
|
1716
1829
|
* - 页面讲解:按页提示附带页面模块清单,并注册 present_page 工具(pageTour 关闭时均不启用)
|
|
1830
|
+
* - 新窗口打开:覆盖内置点击工具,点击触发新窗口打开时在结果中说明;按页提示列出本任务已打开的地址
|
|
1717
1831
|
*/
|
|
1718
1832
|
/** DOM 文本超过该长度时截断,避免大表格页把上下文撑爆 */
|
|
1719
1833
|
const PAGE_CONTENT_MAX_CHARS = 6e4;
|
|
1720
1834
|
/** 每步间隔(秒):留给路由切换与接口加载的时间 */
|
|
1721
1835
|
const STEP_DELAY_SECONDS = .6;
|
|
1836
|
+
/** page-agent 内置点击工具名:同名注册即覆盖内置实现 */
|
|
1837
|
+
const CLICK_TOOL_NAME = "click_element_by_index";
|
|
1838
|
+
/**
|
|
1839
|
+
* 点击工具:与内置实现相同(描述、输入结构不变),点击期间识别到新窗口打开时在结果后追加说明。
|
|
1840
|
+
* clickElement 返回前已等待 0.2 秒,同步与微任务内的打开均已记录;更晚的打开由按页提示兜底。
|
|
1841
|
+
*/
|
|
1842
|
+
function createClickTool(watcher) {
|
|
1843
|
+
return tool({
|
|
1844
|
+
description: "Click element by index",
|
|
1845
|
+
inputSchema: z.object({ index: z.int().min(0) }),
|
|
1846
|
+
async execute(input) {
|
|
1847
|
+
const before = watcher.count();
|
|
1848
|
+
const { message } = await this.pageController.clickElement(input.index);
|
|
1849
|
+
const urls = watcher.since(before);
|
|
1850
|
+
return urls.length ? `${message}\n${formatOpenedNotice(urls)}` : message;
|
|
1851
|
+
}
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1722
1854
|
/** 生成会话 ID;一次 execute 视为一个会话,任务开始时刷新 */
|
|
1723
1855
|
function newSessionId() {
|
|
1724
1856
|
return typeof crypto !== "undefined" && crypto.randomUUID?.() || `page-use-${Date.now()}`;
|
|
@@ -1749,6 +1881,7 @@ function createPageUseAgent({ options, enableMask, narration = false, shouldRunB
|
|
|
1749
1881
|
onMaskForced,
|
|
1750
1882
|
getStyle: getTourStyle
|
|
1751
1883
|
}) : null;
|
|
1884
|
+
const newWindows = createNewWindowWatcher();
|
|
1752
1885
|
return new PageAgent({
|
|
1753
1886
|
baseURL: llm.baseURL,
|
|
1754
1887
|
apiKey: llm.apiKey || void 0,
|
|
@@ -1767,7 +1900,7 @@ function createPageUseAgent({ options, enableMask, narration = false, shouldRunB
|
|
|
1767
1900
|
experimentalScriptExecutionTool: false,
|
|
1768
1901
|
instructions: {
|
|
1769
1902
|
system: buildSystemInstruction(options, { narration }),
|
|
1770
|
-
getPageInstructions: () => buildPageInstruction(options, tour?.outlineText() ?? "")
|
|
1903
|
+
getPageInstructions: () => buildPageInstruction(options, tour?.outlineText() ?? "", newWindows.all())
|
|
1771
1904
|
},
|
|
1772
1905
|
transformPageContent: (content) => {
|
|
1773
1906
|
if (content.length <= PAGE_CONTENT_MAX_CHARS) return content;
|
|
@@ -1775,10 +1908,12 @@ function createPageUseAgent({ options, enableMask, narration = false, shouldRunB
|
|
|
1775
1908
|
},
|
|
1776
1909
|
...hostPageAgent,
|
|
1777
1910
|
customTools: {
|
|
1911
|
+
[CLICK_TOOL_NAME]: createClickTool(newWindows),
|
|
1778
1912
|
...tour ? { [PRESENT_PAGE_TOOL_NAME]: tour.tool } : {},
|
|
1779
1913
|
...hostPageAgent.customTools
|
|
1780
1914
|
},
|
|
1781
1915
|
onBeforeTask: async (...args) => {
|
|
1916
|
+
newWindows.install();
|
|
1782
1917
|
sessionId = newSessionId();
|
|
1783
1918
|
tour?.onBeforeTask();
|
|
1784
1919
|
if (hostBeforeTask && shouldRunBeforeTask()) try {
|
|
@@ -1789,9 +1924,14 @@ function createPageUseAgent({ options, enableMask, narration = false, shouldRunB
|
|
|
1789
1924
|
await hostPageAgent.onBeforeTask?.(...args);
|
|
1790
1925
|
},
|
|
1791
1926
|
onAfterTask: async (...args) => {
|
|
1927
|
+
newWindows.uninstall();
|
|
1792
1928
|
await tour?.onAfterTask(args[1]);
|
|
1793
1929
|
onTaskFinished?.(args[1]);
|
|
1794
1930
|
await hostPageAgent.onAfterTask?.(...args);
|
|
1931
|
+
},
|
|
1932
|
+
onDispose: (...args) => {
|
|
1933
|
+
newWindows.uninstall();
|
|
1934
|
+
hostPageAgent.onDispose?.(...args);
|
|
1795
1935
|
}
|
|
1796
1936
|
});
|
|
1797
1937
|
}
|
|
@@ -2904,7 +3044,7 @@ var PageUseGlowElement = class extends LitElement {
|
|
|
2904
3044
|
|
|
2905
3045
|
//#endregion
|
|
2906
3046
|
//#region package.json
|
|
2907
|
-
var version = "0.0.
|
|
3047
|
+
var version = "0.0.8";
|
|
2908
3048
|
|
|
2909
3049
|
//#endregion
|
|
2910
3050
|
//#region src/ui/drag.ts
|
package/dist/vue.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as pageUseSettings, B as BROWSER_ENGINE_ID, C as getPageUseConfig, D as pageUsePresets, E as pageUseStore, F as DEFAULT_TOUR_MAX_TAB_SWITCHES, H as DEFAULT_TOUR_STYLES, I as normalizeOptions, L as readLauncherSwitch, M as DEFAULT_MODEL, N as DEFAULT_SESSION_HEADER, O as pageUseHistory, P as DEFAULT_STORAGE_KEY_PREFIX, R as PAGE_USE_MASK_COLORS, S as getElapsedSeconds, T as isRunning, U as TOUR_STYLE_TRAINER, V as browserTtsEngine, W as TOUR_STYLE_USER, _ as runPageUseTool, a as PAGE_USE_STATIC_PRESETS, b as pageUseCapability, c as PAGE_USE_GLOW_TAG, d as PAGE_USE_GLOBAL_KEY, f as PAGE_USE_COMMAND_TYPE, g as isPageUseCommand, h as formatPageUseResultForModel, i as PageUseLauncherElement, j as DEFAULT_MAX_STEPS, k as DEFAULT_PAGE_USE_SETTINGS, l as PageUseGlowElement, m as PAGE_USE_TOOL_NAME, n as mountPageUseUI, o as buildMenuPresets, p as PAGE_USE_TOOL, r as PAGE_USE_LAUNCHER_TAG, s as PAGE_USE_ROBOT_ICON_SVG, t as definePageUseElements, u as createPageUse, v as hidePageUseLauncher, w as isPageUseConfigured, x as clearPageUseLog, y as showPageUseLauncher, z as SIMULATOR_MASK_ID } from "./src-
|
|
1
|
+
import { A as pageUseSettings, B as BROWSER_ENGINE_ID, C as getPageUseConfig, D as pageUsePresets, E as pageUseStore, F as DEFAULT_TOUR_MAX_TAB_SWITCHES, H as DEFAULT_TOUR_STYLES, I as normalizeOptions, L as readLauncherSwitch, M as DEFAULT_MODEL, N as DEFAULT_SESSION_HEADER, O as pageUseHistory, P as DEFAULT_STORAGE_KEY_PREFIX, R as PAGE_USE_MASK_COLORS, S as getElapsedSeconds, T as isRunning, U as TOUR_STYLE_TRAINER, V as browserTtsEngine, W as TOUR_STYLE_USER, _ as runPageUseTool, a as PAGE_USE_STATIC_PRESETS, b as pageUseCapability, c as PAGE_USE_GLOW_TAG, d as PAGE_USE_GLOBAL_KEY, f as PAGE_USE_COMMAND_TYPE, g as isPageUseCommand, h as formatPageUseResultForModel, i as PageUseLauncherElement, j as DEFAULT_MAX_STEPS, k as DEFAULT_PAGE_USE_SETTINGS, l as PageUseGlowElement, m as PAGE_USE_TOOL_NAME, n as mountPageUseUI, o as buildMenuPresets, p as PAGE_USE_TOOL, r as PAGE_USE_LAUNCHER_TAG, s as PAGE_USE_ROBOT_ICON_SVG, t as definePageUseElements, u as createPageUse, v as hidePageUseLauncher, w as isPageUseConfigured, x as clearPageUseLog, y as showPageUseLauncher, z as SIMULATOR_MASK_ID } from "./src-DRLJiTQV.mjs";
|
|
2
2
|
import { defineComponent, inject, onBeforeUnmount, onScopeDispose, shallowRef } from "vue";
|
|
3
3
|
import { routerKey } from "vue-router";
|
|
4
4
|
|
package/package.json
CHANGED