myagent-ai 1.19.1 → 1.19.2
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/core/vnc_manager.py +4 -7
- package/package.json +1 -1
- package/web/ui/index.html +7 -7
package/core/vnc_manager.py
CHANGED
|
@@ -726,20 +726,18 @@ class VNCManager:
|
|
|
726
726
|
"-nocursorshape",
|
|
727
727
|
"-deferupdate", "5", # 延迟更新(降低带宽)
|
|
728
728
|
"-scale", "2/3", # 缩小 2/3(降低带宽)
|
|
729
|
-
# [v1.18.10] 抑制 Xvfb 环境下不支持的扩展警告
|
|
730
|
-
"-noxfixes", # 跳过 XFIXES 检查(Xvfb 可能不支持)
|
|
731
729
|
]
|
|
732
730
|
|
|
733
|
-
# [v1.18.5] 不使用 -threads 模式:与 -scale
|
|
731
|
+
# [v1.18.5] 不使用 -threads 模式:与 -scale 组合在 0.9.17 中
|
|
734
732
|
# 会导致父进程 fork 后立即退出,端口延迟监听
|
|
735
733
|
|
|
736
|
-
# 处理 shm-helper:
|
|
734
|
+
# [v1.19.1] 处理 shm-helper: 找到就传绝对路径,找不到就跳过
|
|
735
|
+
# 注意: x11vnc 0.9.17 不支持 -no-shm 参数,会报 unrecognized option
|
|
737
736
|
if shm_helper:
|
|
738
737
|
cmd.extend(["-shm-helper", shm_helper])
|
|
739
738
|
logger.info(f"x11vnc shm-helper: {shm_helper}")
|
|
740
739
|
else:
|
|
741
|
-
|
|
742
|
-
logger.info("x11vnc 未找到 shm-helper,使用 -no-shm 禁用 SHM")
|
|
740
|
+
logger.info("x11vnc 未找到 shm-helper,跳过 SHM 相关参数")
|
|
743
741
|
|
|
744
742
|
env = {**os.environ, "DISPLAY": self.display}
|
|
745
743
|
|
|
@@ -841,7 +839,6 @@ class VNCManager:
|
|
|
841
839
|
"-noxdamage",
|
|
842
840
|
"-nowf",
|
|
843
841
|
"-deferupdate", "5",
|
|
844
|
-
"-no-shm",
|
|
845
842
|
"-nobell",
|
|
846
843
|
]
|
|
847
844
|
env = {**os.environ, "DISPLAY": self.display}
|
package/package.json
CHANGED
package/web/ui/index.html
CHANGED
|
@@ -259,19 +259,19 @@ tr:hover{background:var(--surface2)}
|
|
|
259
259
|
<div class="nav">
|
|
260
260
|
<div style="flex:1;overflow-y:auto;padding:8px 0;min-height:0">
|
|
261
261
|
<div class="nav-item active" data-tooltip="仪表盘" onclick="showPage('dashboard')"><span class="icon">📊</span><span class="icon-text">仪表盘</span></div>
|
|
262
|
-
<div class="nav-item" data-tooltip="Agent 管理" onclick="showPage('agents')"><span class="icon"
|
|
263
|
-
<div class="nav-item" data-tooltip="聊天平台" onclick="showPage('platforms')"><span class="icon"
|
|
262
|
+
<div class="nav-item" data-tooltip="Agent 管理" onclick="showPage('agents')"><span class="icon">🤖</span><span class="icon-text">Agent 管理</span></div>
|
|
263
|
+
<div class="nav-item" data-tooltip="聊天平台" onclick="showPage('platforms')"><span class="icon">🌐</span><span class="icon-text">聊天平台</span></div>
|
|
264
264
|
<div class="nav-item" data-tooltip="组织管理" onclick="showPage('organization')"><span class="icon">🏢</span><span class="icon-text">组织管理</span></div>
|
|
265
265
|
<div class="nav-item" data-tooltip="部门管理" onclick="showPage('departments')"><span class="icon">🏛</span><span class="icon-text">部门管理</span></div>
|
|
266
|
-
<div class="nav-item" data-tooltip="会话管理" onclick="showPage('sessions')"><span class="icon"
|
|
266
|
+
<div class="nav-item" data-tooltip="会话管理" onclick="showPage('sessions')"><span class="icon">💬</span><span class="icon-text">会话管理</span></div>
|
|
267
267
|
<div class="nav-item" data-tooltip="记忆管理" onclick="showPage('memory')"><span class="icon">🧠</span><span class="icon-text">记忆管理</span></div>
|
|
268
268
|
<div class="nav-item" data-tooltip="权限管理" onclick="showPage('permissions')"><span class="icon">🔑</span><span class="icon-text">权限管理</span></div>
|
|
269
|
-
<div class="nav-item" data-tooltip="大模型设置" onclick="showPage('llm')"><span class="icon"
|
|
270
|
-
<div class="nav-item" data-tooltip="系统配置" onclick="showPage('system')"><span class="icon"
|
|
269
|
+
<div class="nav-item" data-tooltip="大模型设置" onclick="showPage('llm')"><span class="icon">🧬</span><span class="icon-text">大模型设置</span></div>
|
|
270
|
+
<div class="nav-item" data-tooltip="系统配置" onclick="showPage('system')"><span class="icon">⚙️</span><span class="icon-text">系统配置</span></div>
|
|
271
271
|
<div class="nav-item" data-tooltip="执行引擎" onclick="showPage('executor')"><span class="icon">🔧</span><span class="icon-text">执行引擎</span></div>
|
|
272
272
|
<div class="nav-item" data-tooltip="技能管理" onclick="showPage('skills')"><span class="icon">🛠</span><span class="icon-text">技能管理</span></div>
|
|
273
273
|
<div class="nav-item" data-tooltip="工作目录" onclick="showPage('files')"><span class="icon">📁</span><span class="icon-text">工作目录</span></div>
|
|
274
|
-
<div class="nav-item" data-tooltip="查看日志" onclick="showPage('logs')"><span class="icon"
|
|
274
|
+
<div class="nav-item" data-tooltip="查看日志" onclick="showPage('logs')"><span class="icon">📜</span><span class="icon-text">查看日志</span></div>
|
|
275
275
|
<div class="nav-item" data-tooltip="任务记录" onclick="showPage('tasks')"><span class="icon">📌</span><span class="icon-text">任务记录</span></div>
|
|
276
276
|
</div>
|
|
277
277
|
<div style="padding:10px 12px;border-top:1px solid var(--border);margin-top:4px;font-size:12px;color:var(--text2);flex-shrink:0" class="sidebar-footer-text">
|
|
@@ -292,7 +292,7 @@ tr:hover{background:var(--surface2)}
|
|
|
292
292
|
|
|
293
293
|
<script>
|
|
294
294
|
const API='';
|
|
295
|
-
const pages={dashboard:'📊 仪表盘',agents:'
|
|
295
|
+
const pages={dashboard:'📊 仪表盘',agents:'🤖 Agent 管理',platforms:'🌐 聊天平台',organization:'🏢 组织管理',departments:'🏛 部门管理',sessions:'💬 会话管理',memory:'🧠 记忆管理',permissions:'🔑 权限管理',llm:'🧬 大模型设置',system:'⚙️ 系统配置',executor:'🔧 执行引擎',skills:'🛠 技能管理',files:'📁 工作目录',logs:'📜 查看日志',tasks:'📌 任务记录'};
|
|
296
296
|
let currentPage='dashboard';
|
|
297
297
|
let allAgentsCache=[];
|
|
298
298
|
let allModelsCache=[];
|