UNPKG

grix-connector

Version:

Connect local AI coding agents (Claude, Codex, Gemini, Qwen, DeepSeek, Cursor, OpenCode, Pi, OpenHuman, Reasonix) to the Grix scheduling platform. Also serves as an OpenClaw plugin for Grix channel transport.

2 lines (1 loc) 510 B
const o=Object.freeze(["commentary","final_answer"]),t=Object.freeze([]);function n(e){if(!e||!e.trim())return t;const r=e.split(",").map(s=>s.trim().toLowerCase()).filter(Boolean);return r.length>0?Object.freeze(r):t}function E(){const e=n(process.env.CODEX_VISIBLE_PHASES);return e.length>0?e:o}const i=E(),S=n(process.env.CODEX_HIDDEN_PHASES);function c(e){if(typeof e!="string")return!0;const r=e.trim().toLowerCase();return r?S.includes(r)?!1:i.includes(r):!0}export{c as isUserVisibleAgentMessagePhase};