OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.
TypeScript
export const CHANNELS = {
probeHardware: "openreel:probeHardware",
fsShowSaveDialog: "openreel:fs:showSaveDialog",
fsShowOpenDialog: "openreel:fs:showOpenDialog",
fsReadFile: "openreel:fs:readFile",
fsWriteFile: "openreel:fs:writeFile",
fsOpenWrite: "openreel:fs:openWrite",
fsWriteChunk: "openreel:fs:writeChunk",
fsCloseWrite: "openreel:fs:closeWrite",
fsAbortWrite: "openreel:fs:abortWrite",
fsRevealInFolder: "openreel:fs:revealInFolder",
fsReadFileBytes: "openreel:fs:readFileBytes",
fsTempFilePath: "openreel:fs:tempFilePath",
fsReleaseTemp: "openreel:fs:releaseTemp",
openFilesTake: "openreel:openFiles:take",
openFilesEvent: "openreel:openFiles:event",
fsLockProject: "openreel:fs:lockProject",
fsUnlockProject: "openreel:fs:unlockProject",
keychainGet: "openreel:keychain:get",
keychainSet: "openreel:keychain:set",
keychainDelete: "openreel:keychain:delete",
pluginsList: "openreel:plugins:list",
pluginsPut: "openreel:plugins:put",
pluginsRemove: "openreel:plugins:remove",
pluginsRevealFolder: "openreel:plugins:revealFolder",
exportStart: "openreel:export:start",
exportWriteAudioWav: "openreel:export:writeAudioWav",
exportWriteAudioChunk: "openreel:export:writeAudioChunk",
exportFinishAudio: "openreel:export:finishAudio",
exportEncodeDolbyAudio: "openreel:export:encodeDolbyAudio",
exportCancel: "openreel:export:cancel",
exportCopyRun: "openreel:export:copyRun",
exportProbeSource: "openreel:export:probeSource",
exportProbeGopTypes: "openreel:export:probeGopTypes",
exportProbeAudioSource: "openreel:export:probeAudioSource",
exportPrepareAudioCopy: "openreel:export:prepareAudioCopy",
auroraRenderPreview: "openreel:aurora:renderPreview",
auroraStartPreviewSession: "openreel:aurora:startPreviewSession",
auroraCancelPreviewSession: "openreel:aurora:cancelPreviewSession",
auroraPreviewEvent: "openreel:aurora:previewEvent",
auroraStartSequenceSession: "openreel:aurora:startSequenceSession",
auroraCancelSequenceSession: "openreel:aurora:cancelSequenceSession",
auroraSequenceEvent: "openreel:aurora:sequenceEvent",
mediaGenerateProxy: "openreel:media:generateProxy",
mediaTranscode: "openreel:media:transcode",
mediaExtractAudioWav: "openreel:media:extractAudioWav",
mediaProbeAudioStreams: "openreel:media:probeAudioStreams",
mediaDevelopRawStill: "openreel:media:developRawStill",
mediaFetchUrl: "openreel:media:fetchUrl",
mediaNativeProbe: "openreel:media:nativeProbe",
mediaNativeFrame: "openreel:media:nativeFrame",
mediaNativeStats: "openreel:media:nativeStats",
ingestResolveFolders: "openreel:ingest:resolveFolders",
ingestProxyEnqueue: "openreel:ingest:proxyEnqueue",
ingestProxyList: "openreel:ingest:proxyList",
ingestProxyCancel: "openreel:ingest:proxyCancel",
ingestProxyRetryFailed: "openreel:ingest:proxyRetryFailed",
ingestProxyAck: "openreel:ingest:proxyAck",
ingestProxySetConcurrency: "openreel:ingest:proxySetConcurrency",
ingestProxyEvent: "openreel:ingest:proxyEvent",
ingestStat: "openreel:ingest:stat",
ingestReadProxy: "openreel:ingest:readProxy",
ingestCopyToProject: "openreel:ingest:copyToProject",
ingestCopyEnqueue: "openreel:ingest:copyEnqueue",
ingestCopyProgress: "openreel:ingest:copyProgress",
ingestPickFolder: "openreel:ingest:pickFolder",
ingestScanFolder: "openreel:ingest:scanFolder",
projectManagerEstimate: "openreel:projectManager:estimate",
projectManagerStart: "openreel:projectManager:start",
projectManagerCancel: "openreel:projectManager:cancel",
/** Main -> renderer: progress, completion or failure of a Project Manager job. */
projectManagerEvent: "openreel:projectManager:event",
mediaBrowserPlaces: "openreel:mediaBrowser:places",
mediaBrowserList: "openreel:mediaBrowser:list",
mediaBrowserThumbnail: "openreel:mediaBrowser:thumbnail",
mediaBrowserFilmstrip: "openreel:mediaBrowser:filmstrip",
mediaBrowserPreview: "openreel:mediaBrowser:preview",
mediaBrowserPrepareImport: "openreel:mediaBrowser:prepareImport",
mediaBrowserProbeClip: "openreel:mediaBrowser:probeClip",
mediaBrowserReadXmp: "openreel:mediaBrowser:readXmp",
mediaBrowserWriteSidecar: "openreel:mediaBrowser:writeSidecar",
riggingProbeBackend: "openreel:rigging:probeBackend",
riggingRigHumanoidModel: "openreel:rigging:rigHumanoidModel",
cloudFetch: "openreel:cloud:fetch",
/** Renderer -> main: open (or focus) the window that edits a linked composition. */
linkedCompOpen: "openreel:linkedComp:open",
/** Renderer -> main: a message for the other side (editor window <-> composition window). */
linkedCompPost: "openreel:linkedComp:post",
/** Main -> renderer: a relayed linked-composition message. */
linkedCompMessage: "openreel:linkedComp:message",
windowControl: "openreel:window:control",
windowIsMaximized: "openreel:window:isMaximized",
lifecycleUnsavedQuery: "openreel:lifecycle:unsavedQuery",
lifecycleUnsavedReply: "openreel:lifecycle:unsavedReply",
lifecycleFlush: "openreel:lifecycle:flush",
lifecycleFlushed: "openreel:lifecycle:flushed",
updaterStatus: "openreel:updater:status",
updaterDownload: "openreel:updater:download",
updaterInstall: "openreel:updater:install",
crashReport: "openreel:crash:report",
mcpRequest: "openreel:mcp:request",
mcpResponse: "openreel:mcp:response",
/** Renderer -> main: the MCP request listener is installed (requests sent earlier were dropped). */
mcpReady: "openreel:mcp:ready",
mcpGetStatus: "openreel:mcp:getStatus",
mcpRotateToken: "openreel:mcp:rotateToken",
mcpTestConnection: "openreel:mcp:testConnection",
// ---- Onboarding / MCP windowless contract (frozen in Phase 0; see docs/onboarding.md) ----
/** Renderer -> main, SYNCHRONOUS (ipcRenderer.sendSync): is this launch an automation run? Replies boolean. */
onboardingAutomation: "openreel:onboarding:automation",
onboardingGet: "openreel:onboarding:get",
onboardingSet: "openreel:onboarding:set",
ollamaProbe: "openreel:ollama:probe",
microphoneStatus: "openreel:microphone:status",
microphoneRequest: "openreel:microphone:request",
microphoneOpenSettings: "openreel:microphone:openSettings",
samplesList: "openreel:samples:list",
samplesGet: "openreel:samples:get",
fontsBrotliDecompress: "openreel:fonts:brotliDecompress",
fsPickFiles: "openreel:fs:pickFiles",
fsPickProject: "openreel:fs:pickProject",
mcpGetClientStatus: "openreel:mcp:getClientStatus",
mcpGetPolicy: "openreel:mcp:getPolicy",
mcpSetPolicy: "openreel:mcp:setPolicy",
watchFoldersList: "openreel:watchFolders:list",
watchFoldersAdd: "openreel:watchFolders:add",
watchFoldersUpdate: "openreel:watchFolders:update",
watchFoldersPickOutput: "openreel:watchFolders:pickOutput",
watchFoldersRemove: "openreel:watchFolders:remove",
watchFoldersRetry: "openreel:watchFolders:retry",
watchFoldersClearFinished: "openreel:watchFolders:clearFinished",
renderCacheGetSettings: "openreel:renderCache:getSettings",
renderCachePickScratch: "openreel:renderCache:pickScratch",
renderCacheResetScratch: "openreel:renderCache:resetScratch",
renderCacheSetCap: "openreel:renderCache:setCap",
renderCacheOpen: "openreel:renderCache:open",
renderCachePut: "openreel:renderCache:put",
renderCacheGet: "openreel:renderCache:get",
renderCacheDelete: "openreel:renderCache:delete",
renderCacheList: "openreel:renderCache:list",
renderCacheClearProject: "openreel:renderCache:clearProject",
renderCacheClearAll: "openreel:renderCache:clearAll",
renderCacheUsage: "openreel:renderCache:usage",
renderCacheStat: "openreel:renderCache:stat",
/** Main -> renderer: the watch folders' status changed (full snapshot). */
watchFoldersEvent: "openreel:watchFolders:event",
/** Renderer/internal (WP-E path tools): resolve absolute paths and check them against the allowed roots. */
mcpFilesResolve: "openreel:mcp:files:resolve",
/** Renderer -> main: copy an app temp export to an allowed-roots destination (export outputPath). */
mcpFilesPlaceOutput: "openreel:mcp:files:placeOutput",
/** Hosted audio plugins (Audio Unit helper); see main/plughost. */
plughostScan: "openreel:plughost:scan",
plughostScanProgress: "openreel:plughost:scanProgress",
plughostUnblock: "openreel:plughost:unblock",
plughostRender: "openreel:plughost:render",
plughostProgress: "openreel:plughost:progress",
plughostCancel: "openreel:plughost:cancel",
plughostDescribe: "openreel:plughost:describe",
plughostUiOpen: "openreel:plughost:uiOpen",
plughostUiClose: "openreel:plughost:uiClose",
plughostUiEvent: "openreel:plughost:uiEvent",
/** Live (realtime) plugin inserts: open a session, update values, close; main hands the renderer a MessagePort per session. */
plughostLiveOpen: "openreel:plughost:liveOpen",
plughostLiveSet: "openreel:plughost:liveSet",
plughostLiveClose: "openreel:plughost:liveClose",
plughostLiveStats: "openreel:plughost:liveStats",
plughostLivePort: "openreel:plughost:livePort",
/** Renderer -> main: app version, platform and window counts for get_app_state. */
mcpAppInfo: "openreel:mcp:appInfo",
} as const;