Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Filter Chromium EGL driver noise in run.sh stderr

aiservice0985247e6d34
diff --git a/run.sh b/run.sh
index a0aa0935..e3ea94e5 100755
--- a/run.sh
+++ b/run.sh
@@ -15,4 +15,8 @@ node "$APP_DIR/scripts/ensure-deps.cjs"
cd "$APP_DIR"
pkill -9 -f "$APP_DIR/node_modules/electron/dist" >/dev/null 2>&1 || true
sleep 0.3
-npm start
+# Chromium GPU 进程在 macOS 上反复刷 `EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute`,
+# 是 ANGLE 探测 EGL 属性时 macOS 驱动不识别的 fallback 噪音(无功能影响)。
+# 走 process substitution 把这一类 stderr 过滤掉,其余日志原样透传。
+# `unbuffer` 不可用时落到默认行缓冲(macOS bash 自带,无额外依赖)。
+exec npm start 2> >(grep -v --line-buffered "EGL Driver message" >&2)