E5K7's picture
Initial commit: Rebranded to GLMPilot and migrated to GLM-5 API
c2c8c8d
export const WS_EVENTS = {
COMPLETION_REQUEST: 'completion:request',
COMPLETION_RESULT: 'completion:result',
REVIEW_START: 'review:start',
REVIEW_PROGRESS: 'review:progress',
REVIEW_COMPLETE: 'review:complete',
REVIEW_FILE: 'review:file',
REVIEW_FILE_RESULT: 'review:file:result',
CHAT_MESSAGE: 'chat:message',
CHAT_TOKEN: 'chat:token',
CHAT_COMPLETE: 'chat:complete',
CHAT_STOP: 'chat:stop',
CHAT_ERROR: 'chat:error',
EXECUTE_REQUEST: 'execute:request',
EXECUTE_STARTED: 'execute:started',
EXECUTE_TOKEN: 'execute:token',
EXECUTE_COMPLETE: 'execute:complete',
EXECUTE_ERROR: 'execute:error',
EXECUTE_INPUT: 'execute:input',
} as const;