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.
5 lines (4 loc) • 512 B
JavaScript
import{HookSignalStore as r}from"../core/hooks/hook-signal-store.js";import{resolveRuntimePaths as e}from"../core/config/paths.js";import{resolveLogRotationOptions as i}from"../core/log/rotation.js";import{readStdinJSON as a}from"./lib/read-stdin.js";async function c(){const t=await a(),o=e(),n=i(),s=process.env.GRIX_HOOK_SIGNALS_PATH||o.hookSignalsPath;await new r(s,o.hookSignalsLogPath,void 0,n).recordHookEvent(t),process.stdout.write(`{}
`)}c().catch(()=>process.stdout.write(`{}
`));