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) • 3.47 kB
JavaScript
import{JsonRpcTransport as t}from"./core/transport/index.js";import{AcpClient as i}from"./protocol/index.js";import{AgentProcess as l}from"./agent/index.js";import{AgentEventType as p}from"./types/index.js";import{AibotClient as s}from"./core/aibot/index.js";import{AgentInstance as A}from"./bridge/index.js";import{CodexAdapter as S}from"./adapter/codex/index.js";import{Manager as E}from"./manager.js";import{GRIX_PATHS as I,ensureGrixDirs as T,initLogger as O,log as d}from"./core/log/index.js";import{HealthServer as u,writePidFile as c,removePidFile as C}from"./core/runtime/index.js";import{readJSONFile as N,writeJSONFileAtomic as v,EventBuffer as P,QuotedMessageStream as M}from"./core/util/index.js";import{SafeMarkdownStreamSegmenter as G}from"./core/text-segmentation/index.js";import{AllowlistGate as w,readAllowlist as y,writeAllowlist as H}from"./core/access/index.js";import{ConversationLog as h,DEFAULT_LOG_MAX_BYTES as k,DEFAULT_LOG_MAX_FILES as D,LOG_MAX_BYTES_ENV as B,LOG_MAX_FILES_ENV as U,resolveLogRotationOptions as V}from"./core/log/index.js";import{TOOLS as Y,toolCallToInvoke as q}from"./core/mcp/index.js";import{resolveRuntimePaths as Q,ensureRuntimeDirs as j,GRIX_HOME_ENV as z,DEFAULT_GRIX_HOME as W}from"./core/config/index.js";import{splitTextForAibotProtocol as $,resolveOutboundTextChunkLimit as ee,uploadReplyFileToAgentMedia as oe,resolveAgentAPIPresignURL as te}from"./core/protocol/index.js";import{CHANNEL_NAME as ie,INTERACTION_KINDS as ne,LOCAL_ACTION_TYPES as le,SESSION_CONTROL_VERBS as ae}from"./adapter/claude/protocol-contract.js";import{buildInteractionRequestInvokeParams as me,buildPermissionInteractionPayload as se,buildElicitationInteractionPayload as xe,parseInteractionReplyAction as Ae,buildInteractionReplyResult as fe}from"./adapter/claude/interaction-protocol.js";import{ChannelContextStore as _e,extractLatestGrixChannelTag as Ee,resolveHookChannelContext as Le}from"./core/context/index.js";import{HookSignalStore as Te}from"./core/hooks/index.js";import{ElicitationStore as de}from"./core/persistence/elicitation-store.js";import{ActivityStatusManager as ue}from"./adapter/claude/activity-status-manager.js";export{i as AcpClient,ue as ActivityStatusManager,p as AgentEventType,A as AgentInstance,l as AgentProcess,s as AibotClient,w as AllowlistGate,ie as CHANNEL_NAME,_e as ChannelContextStore,S as CodexAdapter,h as ConversationLog,W as DEFAULT_GRIX_HOME,k as DEFAULT_LOG_MAX_BYTES,D as DEFAULT_LOG_MAX_FILES,de as ElicitationStore,P as EventBuffer,z as GRIX_HOME_ENV,I as GRIX_PATHS,u as HealthServer,Te as HookSignalStore,ne as INTERACTION_KINDS,t as JsonRpcTransport,le as LOCAL_ACTION_TYPES,B as LOG_MAX_BYTES_ENV,U as LOG_MAX_FILES_ENV,E as Manager,M as QuotedMessageStream,ae as SESSION_CONTROL_VERBS,G as SafeMarkdownStreamSegmenter,Y as TOOLS,xe as buildElicitationInteractionPayload,fe as buildInteractionReplyResult,me as buildInteractionRequestInvokeParams,se as buildPermissionInteractionPayload,T as ensureGrixDirs,j as ensureRuntimeDirs,Ee as extractLatestGrixChannelTag,O as initLogger,d as log,Ae as parseInteractionReplyAction,y as readAllowlist,N as readJSONFile,C as removePidFile,te as resolveAgentAPIPresignURL,Le as resolveHookChannelContext,V as resolveLogRotationOptions,ee as resolveOutboundTextChunkLimit,Q as resolveRuntimePaths,$ as splitTextForAibotProtocol,q as toolCallToInvoke,oe as uploadReplyFileToAgentMedia,H as writeAllowlist,v as writeJSONFileAtomic,c as writePidFile};