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) 325 B
import{readJSONFile as i,writeJSONFileAtomic as o}from"../util/json-file.js";function l(t){const r=i(t);return r&&typeof r=="object"&&"owners"in r&&Array.isArray(r.owners)?r.owners.filter(e=>typeof e=="string"&&e.trim().length>0):[]}async function a(t,r){await o(t,{owners:r})}export{l as readAllowlist,a as writeAllowlist};