@pipelab/core-node 1.0.0-beta.27 → 1.0.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/dist/{config-CFgGRD9U.mjs → config-6j2vtyRe.mjs} +29 -5
- package/dist/config-6j2vtyRe.mjs.map +1 -0
- package/dist/config-CAz_XbPS.cjs +448 -0
- package/dist/config-DRifo1Uc.mjs +2 -0
- package/dist/index.cjs +54034 -0
- package/dist/index.d.cts +774 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +316 -17
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +70 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/context.ts +17 -8
- package/src/handlers/system.ts +26 -0
- package/src/runner.ts +2 -0
- package/src/utils/fs-extras.ts +42 -3
- package/src/utils/github.test.ts +6 -0
- package/src/utils/remote.ts +61 -2
- package/tsconfig.json +0 -2
- package/tsdown.config.ts +12 -0
- package/dist/config-Bi0ORcTK.mjs +0 -2
- package/dist/config-CFgGRD9U.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["DOMEvent","Event","GlobalResponse","Response","GlobalRequest","Request","Electron","Params","Type","K","events","EventEmitter","BrowserWindow","WebContents","Certificate","Details","ContinueActivityDetails","Function","AuthenticationResponseDetails","AuthInfo","Record","NotificationResponse","RenderProcessGoneDetails","Session","ConfigureHostResolverOptions","FocusOptions","ApplicationInfoForProtocolReturnValue","Promise","ProcessMetric","FileIconOptions","NativeImage","GPUFeatureStatus","JumpListSettings","LoginItemSettingsOptions","LoginItemSettings","ImportCertificateOptions","MoveToApplicationsFolderOptions","RelaunchOptions","AboutPanelOptionsOptions","JumpListCategory","Settings","ProxyConfig","Task","Menu","CommandLine","Dock","NodeJS","Error","Date","FeedURLOptions","Point","Rectangle","WillResizeDetails","BaseWindowConstructorOptions","BaseWindow","Buffer","AppDetailsOptions","Size","Partial","View","IgnoreMouseEventsOptions","ProgressBarOptions","ThumbarButton","TitleBarOverlayOptions","TouchBar","VisibleOnAllWorkspacesOptions","NodeEventEmitter","TitleBarOverlay","BrowserViewConstructorOptions","AutoResizeOptions","BrowserWindowConstructorOptions","BrowserView","Opts","LoadFileOptions","LoadURLOptions","WebPreferences","CertificatePrincipal","IncomingMessage","ClientRequestConstructorOptions","UploadProgress","ReadBookmark","Data","TraceBufferUsageReturnValue","TraceConfig","TraceCategoriesAndOptions","Cookie","CookiesGetFilter","CookiesSetDetails","CrashReport","CrashReporterStartOptions","Privileges","SourcesOptions","DesktopCapturerSource","CertificateTrustDialogOptions","MessageBoxOptions","MessageBoxReturnValue","MessageBoxSyncOptions","OpenDialogOptions","OpenDialogReturnValue","OpenDialogSyncOptions","SaveDialogOptions","SaveDialogReturnValue","SaveDialogSyncOptions","PermissionRequest","Accelerator","Product","PurchaseProductOpts","Array","IpcMainInvokeEvent","IpcMainEvent","MessagePortMain","WebFrameMain","IpcRendererEvent","MessagePort","IpcRenderer","JumpListItem","InputEvent","MenuItemConstructorOptions","MenuItem","PopupOptions","SharingItem","MessageEvent","MouseInputEvent","CreateFromBitmapOptions","CreateFromBufferOptions","AddRepresentationOptions","BitmapOptions","ResizeOptions","ToBitmapOptions","ToDataURLOptions","ToPNGOptions","EntryAtIndex","RequestInit","ClientRequest","ResolveHostOptions","ResolvedHost","StartLoggingOptions","NotificationConstructorOptions","NotificationAction","UploadRawData","UploadFile","Options","CPUUsage","MemoryInfo","ProductDiscount","ProductSubscriptionPeriod","ProtocolRequest","ProtocolResponse","ReadableStream","CustomScheme","UploadData","ProtocolResponseUploadData","ResolvedEndpoint","Display","MessageDetails","RegistrationCompletedDetails","ServiceWorkerInfo","FromPartitionOptions","FromPathOptions","Extension","FileSystemAccessRestrictedDetails","HidDeviceAddedDetails","HidDeviceRemovedDetails","HidDeviceRevokedDetails","SelectHidDeviceDetails","SerialPort","SelectUsbDeviceDetails","SerialPortRevokedDetails","USBDevice","UsbDeviceRevokedDetails","DownloadItem","ClearCodeCachesOptions","ClearDataOptions","ClearStorageDataOptions","CreateInterruptedDownloadOptions","DownloadURLOptions","EnableNetworkEmulationOptions","LoadExtensionOptions","PreconnectOptions","BluetoothPairingHandlerHandlerDetails","DevicePermissionHandlerHandlerDetails","DisplayMediaRequestHandlerHandlerRequest","Streams","DisplayMediaRequestHandlerOpts","PermissionCheckHandlerHandlerDetails","FilesystemPermissionRequest","MediaAccessPermissionRequest","OpenExternalPermissionRequest","Config","USBProtectedClassesHandlerHandlerDetails","Cookies","NetLog","Protocol","ServiceWorkers","WebRequest","OpenExternalOptions","ShortcutDetails","AnimationSettings","UserDefaultTypes","TouchBarConstructorOptions","TouchBarButton","TouchBarColorPicker","TouchBarGroup","TouchBarLabel","TouchBarPopover","TouchBarScrubber","TouchBarSegmentedControl","TouchBarSlider","TouchBarSpacer","TouchBarOtherItemsProxy","TouchBarButtonConstructorOptions","TouchBarColorPickerConstructorOptions","TouchBarGroupConstructorOptions","TouchBarLabelConstructorOptions","TouchBarPopoverConstructorOptions","TouchBarScrubberConstructorOptions","ScrubberItem","TouchBarSegmentedControlConstructorOptions","SegmentedControlSegment","TouchBarSliderConstructorOptions","TouchBarSpacerConstructorOptions","Payment","KeyboardEvent","DisplayBalloonOptions","TitleOptions","ForkOptions","UtilityProcess","WebContentsAudioStateChangedEventParams","Input","ContextMenuParams","DidCreateWindowDetails","WebContentsDidRedirectNavigationEventParams","WebContentsDidStartNavigationEventParams","Result","FrameCreatedDetails","LoginAuthenticationResponseDetails","BluetoothDevice","WebContentsWillFrameNavigateEventParams","WebContentsWillNavigateEventParams","WebContentsWillRedirectEventParams","AdjustSelectionOptions","CloseOpts","Parameters","WebSource","FindInPageOptions","SharedWorkerInfo","PrinterInfo","WebRTCUDPPortRange","InsertCSSOptions","OpenDevToolsOptions","WebContentsPrintOptions","PrintToPDFOptions","MouseWheelInputEvent","KeyboardInputEvent","UdpPortRange","HandlerDetails","WindowOpenHandlerResponse","Item","Debugger","IpcMain","NavigationHistory","WebContentsViewConstructorOptions","WebFrame","ResourceUsage","Info","Provider","DefaultFontFamily","WebRequestFilter","OnBeforeRedirectListenerDetails","OnBeforeRequestListenerDetails","CallbackResponse","OnBeforeSendHeadersListenerDetails","BeforeSendResponse","OnCompletedListenerDetails","OnErrorOccurredListenerDetails","OnHeadersReceivedListenerDetails","HeadersReceivedResponse","OnResponseStartedListenerDetails","OnSendHeadersListenerDetails","File","LoadCommitEvent","DidFailLoadEvent","DidFrameFinishLoadEvent","PageTitleUpdatedEvent","PageFaviconUpdatedEvent","ConsoleMessageEvent","FoundInPageEvent","WillNavigateEvent","WillFrameNavigateEvent","DidStartNavigationEvent","DidRedirectNavigationEvent","DidNavigateEvent","DidFrameNavigateEvent","DidNavigateInPageEvent","IpcMessageEvent","RenderProcessGoneEvent","PluginCrashedEvent","DidChangeThemeColorEvent","UpdateTargetUrlEvent","DevtoolsOpenUrlEvent","DevtoolsSearchQueryEvent","ContextMenuEvent","HTMLElementEventMap","HTMLElement","EventListenerOrEventListenerObject","WebviewTagPrintOptions","Uint8Array","Referrer","MediaFlags","EditFlags","HIDDevice","PostBody","Env","FoundInPageResult","LaunchItems","AbortSignal","FileFilter","PaymentDiscount","Margins","MemoryUsageDetails","Video","PageRanges","Clipboard","CrashReporter","Shell","BlinkMemoryInfo","HeapStatistics","SystemMemoryInfo","ExtensionInfo","FilePathWithHeaders","MimeTypedBuffer","ProcessMemoryInfo","Transaction","App","AutoUpdater","ContentTracing","DesktopCapturer","Dialog","GlobalShortcut","InAppPurchase","MessageChannelMain","NativeTheme","Net","Notification","PowerMonitor","PowerSaveBlocker","PushNotifications","SafeStorage","Screen","ShareMenu","SystemPreferences","Tray","WebContentsView","ContextBridge","WebUtils","WebviewTag","ParentPort","preventDefault","defaultPrevented","on","event","accessibilitySupportEnabled","listener","off","once","addListener","removeListener","hasVisibleWindows","type","userInfo","window","webContents","url","error","certificate","isTrusted","callback","isMainFrame","details","authenticationResponseDetails","authInfo","username","password","path","exitCode","launchInfo","argv","workingDirectory","additionalData","certificateList","session","addRecentDocument","clearRecentDocuments","configureHostResolver","options","disableDomainBlockingFor3DAPIs","disableHardwareAcceleration","enableSandbox","exit","focus","getApplicationInfoForProtocol","getApplicationNameForProtocol","getAppMetrics","getAppPath","getBadgeCount","getCurrentActivityType","getFileIcon","getGPUFeatureStatus","getGPUInfo","infoType","getJumpListSettings","getLocale","getLocaleCountryCode","getLoginItemSettings","getName","getPath","name","getPreferredSystemLanguages","getSystemLocale","getVersion","hasSingleInstanceLock","hide","importCertificate","result","invalidateCurrentActivity","isAccessibilitySupportEnabled","isDefaultProtocolClient","protocol","args","isEmojiPanelSupported","isHidden","isInApplicationsFolder","isReady","isSecureKeyboardEntryEnabled","isUnityRunning","moveToApplicationsFolder","quit","relaunch","releaseSingleInstanceLock","removeAsDefaultProtocolClient","requestSingleInstanceLock","resignCurrentActivity","resolveProxy","setAboutPanelOptions","setAccessibilitySupportEnabled","enabled","setActivationPolicy","policy","setAppLogsPath","setAppUserModelId","id","setAsDefaultProtocolClient","setBadgeCount","count","setJumpList","categories","setLoginItemSettings","settings","setName","setPath","setProxy","config","setSecureKeyboardEntryEnabled","setUserActivity","webpageURL","setUserTasks","tasks","show","showAboutPanel","showEmojiPanel","startAccessingSecurityScopedResource","bookmarkData","updateCurrentActivity","whenReady","applicationMenu","badgeCount","commandLine","dock","isPackaged","runningUnderARM64Translation","userAgentFallback","releaseNotes","releaseName","releaseDate","updateURL","checkForUpdates","getFeedURL","quitAndInstall","setFeedURL","isAlwaysOnTop","command","rotation","direction","point","newBounds","constructor","fromId","getAllWindows","getFocusedWindow","addTabbedWindow","baseWindow","blur","center","close","closeFilePreview","destroy","flashFrame","flag","getBackgroundColor","getBounds","getChildWindows","getContentBounds","getContentSize","getContentView","getMaximumSize","getMediaSourceId","getMinimumSize","getNativeWindowHandle","getNormalBounds","getOpacity","getParentWindow","getPosition","getRepresentedFilename","getSize","getTitle","getWindowButtonPosition","hasShadow","hookWindowMessage","message","wParam","lParam","invalidateShadow","isClosable","isDestroyed","isDocumentEdited","isEnabled","isFocusable","isFocused","isFullScreen","isFullScreenable","isHiddenInMissionControl","isKiosk","isMaximizable","isMaximized","isMenuBarAutoHide","isMenuBarVisible","isMinimizable","isMinimized","isModal","isMovable","isNormal","isResizable","isSimpleFullScreen","isTabletMode","isVisible","isVisibleOnAllWorkspaces","isWindowMessageHooked","maximize","mergeAllWindows","minimize","moveAbove","mediaSourceId","moveTabToNewWindow","moveTop","previewFile","displayName","removeMenu","restore","selectNextTab","selectPreviousTab","setAlwaysOnTop","level","relativeLevel","setAppDetails","setAspectRatio","aspectRatio","extraSize","setAutoHideCursor","autoHide","setAutoHideMenuBar","setBackgroundColor","backgroundColor","setBackgroundMaterial","material","setBounds","bounds","animate","setClosable","closable","setContentBounds","setContentProtection","enable","setContentSize","width","height","setContentView","view","setDocumentEdited","edited","setEnabled","setFocusable","focusable","setFullScreen","setFullScreenable","fullscreenable","setHasShadow","setHiddenInMissionControl","hidden","setIcon","icon","setIgnoreMouseEvents","ignore","setKiosk","setMaximizable","maximizable","setMaximumSize","setMenu","menu","setMenuBarVisibility","visible","setMinimizable","minimizable","setMinimumSize","setMovable","movable","setOpacity","opacity","setOverlayIcon","overlay","description","setParentWindow","parent","setPosition","x","y","setProgressBar","progress","setRepresentedFilename","filename","setResizable","resizable","setShape","rects","setSheetOffset","offsetY","offsetX","setSimpleFullScreen","setSize","setSkipTaskbar","skip","setThumbarButtons","buttons","setThumbnailClip","region","setThumbnailToolTip","toolTip","setTitle","title","setTitleBarOverlay","setTouchBar","touchBar","setVibrancy","setVisibleOnAllWorkspaces","setWindowButtonPosition","position","setWindowButtonVisibility","showAllTabs","showInactive","toggleTabBar","unhookAllWindowMessages","unhookWindowMessage","unmaximize","accessibleTitle","autoHideMenuBar","contentView","documentEdited","excludedFromShownWindowsMenu","fullScreen","fullScreenable","kiosk","menuBarVisible","representedFilename","shadow","simpleFullScreen","tabbingIdentifier","visibleOnAllWorkspaces","acceptFirstMouse","alwaysOnTop","backgroundMaterial","darkTheme","disableAutoHideCursor","enableLargerThanScreen","frame","fullscreen","hiddenInMissionControl","maxHeight","maxWidth","minHeight","minWidth","modal","roundedCorners","simpleFullscreen","skipTaskbar","thickFrame","titleBarOverlay","titleBarStyle","trafficLightPosition","transparent","useContentSize","vibrancy","visualEffectState","zoomToPageWidth","deviceId","deviceName","setAutoResize","color","explicitSet","fromBrowserView","browserView","fromWebContents","addBrowserView","browserWindow","blurWebView","capturePage","rect","opts","focusOnWebView","getBrowserView","getBrowserViews","loadFile","filePath","loadURL","reload","removeBrowserView","setBrowserView","setTopBrowserView","showDefinitionForSelection","paintWhenInitiallyHidden","webPreferences","data","fingerprint","issuer","issuerCert","issuerName","serialNumber","subject","subjectName","validExpiry","validStart","commonName","country","locality","organizations","organizationUnits","state","statusCode","method","redirectUrl","responseHeaders","response","abort","end","chunk","encoding","followRedirect","getHeader","getUploadProgress","removeHeader","setHeader","value","write","chunkedEncoding","availableFormats","clear","has","format","read","readBookmark","readBuffer","readFindText","readHTML","readImage","readRTF","readText","writeBookmark","writeBuffer","buffer","writeFindText","text","writeHTML","markup","writeImage","image","writeRTF","writeText","appendArgument","appendSwitch","the_switch","getSwitchValue","hasSwitch","removeSwitch","getCategories","getTraceBufferUsage","startRecording","stopRecording","resultFilePath","exposeInIsolatedWorld","worldId","apiKey","api","exposeInMainWorld","domain","expirationDate","hostOnly","httpOnly","sameSite","secure","cookie","cause","removed","flushStore","get","filter","remove","set","cumulativeCPUUsage","idleWakeupsPerSecond","percentCPUUsage","date","addExtraParameter","key","getLastCrashReport","getParameters","getUploadedReports","getUploadToServer","removeExtraParameter","setUploadToServer","uploadToServer","start","privileges","scheme","reason","params","sessionId","attach","protocolVersion","detach","isAttached","sendCommand","commandParams","getSources","appIcon","display_id","thumbnail","showCertificateTrustDialog","showErrorBox","content","showMessageBox","showMessageBoxSync","showOpenDialog","showOpenDialogSync","showSaveDialog","showSaveDialogSync","accelerometerSupport","colorDepth","colorSpace","depthPerComponent","detected","displayFrequency","internal","label","maximumCursorSize","monochrome","nativeOrigin","scaleFactor","size","touchSupport","workArea","workAreaSize","bounce","cancelBounce","downloadFinished","getBadge","getMenu","setBadge","cancel","canResume","getContentDisposition","getCurrentBytesPerSecond","getEndTime","getETag","getFilename","getLastModifiedTime","getMimeType","getPercentComplete","getReceivedBytes","getSaveDialogOptions","getSavePath","getStartTime","getState","getTotalBytes","getURL","getURLChain","hasUserGesture","isPaused","pause","resume","setSaveDialogOptions","setSavePath","savePath","manifest","version","extensions","headers","fileAccessType","isDirectory","isRegistered","accelerator","register","registerAll","accelerators","unregister","unregisterAll","flash_3d","flash_stage3d","flash_stage3d_baseline","gpu_compositing","multiple_raster_threads","native_gpu_memory_buffers","rasterization","video_decode","video_encode","vpx_decode","webgl","webgl2","guid","productId","vendorId","canMakePayments","finishAllTransactions","finishTransactionByDate","getProducts","productIDs","getReceiptURL","purchaseProduct","productID","restoreCompletedTransactions","httpVersion","httpVersionMajor","httpVersionMinor","rawHeaders","statusMessage","modifiers","handle","channel","handleOnce","removeAllListeners","removeHandler","frameId","ports","processId","reply","returnValue","sender","senderFrame","invoke","postMessage","transfer","send","sendSync","sendToHost","items","iconIndex","iconPath","program","altKey","ctrlKey","metaKey","shiftKey","triggeredByAccelerator","keyCode","mediaTypes","securityOrigin","peakWorkingSetSize","privateBytes","workingSetSize","liveSize","buildFromTemplate","template","getApplicationMenu","sendActionToFirstResponder","action","setApplicationMenu","append","menuItem","closePopup","getMenuItemById","insert","pos","popup","checked","click","commandId","registerAccelerator","role","sharingItem","sublabel","submenu","userAccelerator","port1","port2","messageEvent","charset","mimeType","button","clickCount","globalX","globalY","movementX","movementY","accelerationRatioX","accelerationRatioY","canScroll","deltaX","deltaY","hasPreciseScrollingDeltas","wheelTicksX","wheelTicksY","createEmpty","createFromBitmap","createFromBuffer","createFromDataURL","dataURL","createFromNamedImage","imageName","hslShift","createFromPath","createThumbnailFromPath","addRepresentation","crop","getAspectRatio","getBitmap","getNativeHandle","getScaleFactors","isEmpty","isTemplateImage","resize","setTemplateImage","option","toBitmap","toDataURL","toJPEG","quality","toPNG","isMacTemplateImage","inForcedColorsMode","prefersReducedTransparency","shouldUseDarkColors","shouldUseHighContrastColors","shouldUseInvertedColorScheme","themeSource","canGoBack","canGoForward","canGoToOffset","offset","getActiveIndex","getEntryAtIndex","index","goBack","goForward","goToIndex","goToOffset","length","fetch","input","bypassCustomProtocolHandlers","init","isOnline","request","resolveHost","host","online","startLogging","stopLogging","currentlyLogging","isSupported","actions","body","closeButtonText","hasReply","replyPlaceholder","silent","sound","subtitle","timeoutType","toastXml","urgency","actionIdentifier","identifier","userText","externalURL","keyIdentifier","nonce","signature","timestamp","requestingUrl","boundary","contentType","getCurrentThermalState","getSystemIdleState","idleThreshold","getSystemIdleTime","isOnBatteryPower","onBatteryPower","isStarted","stop","isDefault","status","private","residentSet","shared","cpu","creationTime","integrityLevel","memory","pid","sandboxed","serviceName","currencyCode","discounts","downloadContentLengths","downloadContentVersion","formattedPrice","introductoryPrice","isDownloadable","localizedDescription","localizedTitle","price","productIdentifier","subscriptionGroupIdentifier","subscriptionPeriod","numberOfPeriods","paymentMode","priceLocale","numberOfUnits","unit","handler","interceptBufferProtocol","interceptFileProtocol","interceptHttpProtocol","interceptStreamProtocol","interceptStringProtocol","isProtocolHandled","isProtocolIntercepted","isProtocolRegistered","registerBufferProtocol","registerFileProtocol","registerHttpProtocol","registerSchemesAsPrivileged","customSchemes","registerStreamProtocol","registerStringProtocol","unhandle","uninterceptProtocol","unregisterProtocol","referrer","uploadData","mode","pacScript","proxyBypassRules","proxyRules","registerForAPNSNotifications","unregisterForAPNSNotifications","address","family","endpoints","decryptString","encrypted","encryptString","plainText","getSelectedStorageBackend","isEncryptionAvailable","setUsePlainTextEncryption","usePlainText","newDisplay","display","changedMetrics","oldDisplay","dipToScreenPoint","dipToScreenRect","getAllDisplays","getCursorScreenPoint","getDisplayMatching","getDisplayNearestPoint","getPrimaryDisplay","screenToDipPoint","screenToDipRect","deviceInstanceId","portId","portName","usbDriverName","renderProcessId","scope","scriptUrl","messageDetails","getAllRunning","getFromVersionID","versionId","fromPartition","partition","fromPath","defaultSession","extension","preconnectUrl","allowCredentials","portList","port","languageCode","device","item","addWordToSpellCheckerDictionary","word","allowNTLMCredentialsForDomains","domains","clearAuthCache","clearCache","clearCodeCaches","clearData","clearHostResolverCache","clearStorageData","closeAllConnections","createInterruptedDownload","disableNetworkEmulation","downloadURL","enableNetworkEmulation","flushStorageData","forceReloadProxyConfig","getAllExtensions","getBlobData","getCacheSize","getExtension","extensionId","getPreloads","getSpellCheckerLanguages","getStoragePath","getUserAgent","isPersistent","isSpellCheckerEnabled","listWordsInSpellCheckerDictionary","loadExtension","preconnect","removeExtension","removeWordFromSpellCheckerDictionary","setBluetoothPairingHandler","setCertificateVerifyProc","verificationResult","proc","setCodeCachePath","setDevicePermissionHandler","setDisplayMediaRequestHandler","streams","setDownloadPath","setPermissionCheckHandler","permission","requestingOrigin","setPermissionRequestHandler","permissionGranted","setPreloads","preloads","setSpellCheckerDictionaryDownloadURL","setSpellCheckerEnabled","setSpellCheckerLanguages","languages","setSSLConfig","setUSBProtectedClassesHandler","setUserAgent","userAgent","acceptLanguages","availableSpellCheckerLanguages","cookies","netLog","serviceWorkers","spellCheckerEnabled","storagePath","webRequest","filePaths","texts","urls","beep","openExternal","openPath","readShortcutLink","shortcutPath","showItemInFolder","fullPath","trashItem","writeShortcutLink","operation","appUserModelId","cwd","target","toastActivatorClsid","newColor","askForMediaAccess","mediaType","canPromptTouchID","getAccentColor","getAnimationSettings","getColor","getEffectiveAppearance","getMediaAccessStatus","getSystemColor","getUserDefault","isAeroGlassEnabled","isSwipeTrackingFromScrollEventsEnabled","isTrustedAccessibilityClient","prompt","postLocalNotification","postNotification","deliverImmediately","postWorkspaceNotification","promptTouchID","registerDefaults","defaults","removeUserDefault","setUserDefault","subscribeLocalNotification","object","subscribeNotification","subscribeWorkspaceNotification","unsubscribeLocalNotification","unsubscribeNotification","unsubscribeWorkspaceNotification","accessibilityDisplayShouldReduceTransparency","effectiveAppearance","arguments","flags","tooltip","escapeItem","accessibilityLabel","iconPosition","availableColors","selectedColor","textColor","continuous","overlayStyle","selectedStyle","showArrowButtons","segments","segmentStyle","selectedIndex","maxValue","minValue","categoryFilter","traceOptions","enable_argument_filter","excluded_categories","histogram_names","included_categories","included_process_ids","memory_dump_config","recording_mode","trace_buffer_size_in_events","trace_buffer_size_in_kb","errorCode","errorMessage","originalTransactionIdentifier","payment","transactionDate","transactionIdentifier","transactionState","files","closeContextMenu","displayBalloon","getIgnoreDoubleClickEvents","popUpContextMenu","removeBalloon","setContextMenu","setIgnoreDoubleClickEvents","setImage","setPressedImage","setToolTip","blobUUID","bytes","file","modificationTime","deviceClass","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","manufacturerName","productName","usbVersionMajor","usbVersionMinor","usbVersionSubminor","array","boolean","dictionary","double","float","integer","string","fork","modulePath","code","kill","stderr","stdout","addChildView","removeChildView","setVisible","children","fromDevToolsTargetId","targetId","fromFrame","getAllWebContents","getFocusedWebContents","line","sourceId","scale","hotspot","query","errorDescription","validatedURL","frameProcessId","frameRoutingId","httpResponseCode","httpStatusText","isInPlace","inputEvent","favicons","dirtyRect","preferredSize","preloadPath","devices","zoomDirection","addWorkSpace","adjustSelection","beginFrameSubscription","onlyDirty","centerSelection","clearHistory","closeDevTools","copy","copyImageAt","cut","delete","disableDeviceEmulation","enableDeviceEmulation","parameters","endFrameSubscription","executeJavaScript","userGesture","executeJavaScriptInIsolatedWorld","scripts","findInPage","forcefullyCrashRenderer","getAllSharedWorkers","getBackgroundThrottling","getDevToolsTitle","getFrameRate","requestWebContents","getOSProcessId","getPrintersAsync","getProcessId","getType","getWebRTCIPHandlingPolicy","getWebRTCUDPPortRange","getZoomFactor","getZoomLevel","insertCSS","css","insertText","inspectElement","inspectServiceWorker","inspectSharedWorker","inspectSharedWorkerById","workerId","invalidate","isAudioMuted","isBeingCaptured","isCrashed","isCurrentlyAudible","isDevToolsFocused","isDevToolsOpened","isLoading","isLoadingMainFrame","isOffscreen","isPainting","isWaitingForResponse","openDevTools","paste","pasteAndMatchStyle","print","success","failureReason","printToPDF","redo","reloadIgnoringCache","removeInsertedCSS","removeWorkSpace","replace","replaceMisspelling","savePage","saveType","scrollToBottom","scrollToTop","selectAll","sendInputEvent","sendToFrame","setAudioMuted","muted","setBackgroundThrottling","allowed","setDevToolsTitle","setDevToolsWebContents","devToolsWebContents","setFrameRate","fps","setIgnoreMenuShortcuts","setImageAnimationPolicy","setVisualZoomLevelLimits","minimumLevel","maximumLevel","setWebRTCIPHandlingPolicy","setWebRTCUDPPortRange","udpPortRange","setWindowOpenHandler","setZoomFactor","factor","setZoomLevel","startDrag","startPainting","stopFindInPage","stopPainting","takeHeapSnapshot","toggleDevTools","undo","unselect","audioMuted","backgroundThrottling","debugger","frameRate","hostWebContents","ipc","mainFrame","navigationHistory","opener","zoomFactor","zoomLevel","findFrameByName","findFrameByRoutingId","routingId","getFrameForSelector","selector","getResourceUsage","getWordSuggestions","isWordMisspelled","setIsolatedWorldInfo","info","setSpellCheckProvider","language","provider","firstChild","nextSibling","top","frames","framesInSubtree","frameTreeNodeId","origin","osProcessId","visibilityState","additionalArguments","allowRunningInsecureContent","autoplayPolicy","contextIsolation","defaultEncoding","defaultFontFamily","defaultFontSize","defaultMonospaceFontSize","devTools","disableBlinkFeatures","disableDialogs","disableHtmlFullscreenWindowResize","enableBlinkFeatures","enablePreferredSizeMode","enableWebSQL","experimentalFeatures","imageAnimationPolicy","images","javascript","minimumFontSize","navigateOnDragDrop","nodeIntegration","nodeIntegrationInSubFrames","nodeIntegrationInWorker","offscreen","plugins","preload","safeDialogs","safeDialogsMessage","sandbox","scrollBounce","spellcheck","textAreasAreResizable","v8CacheOptions","webSecurity","webviewTag","onBeforeRedirect","onBeforeRequest","onBeforeSendHeaders","beforeSendResponse","onCompleted","onErrorOccurred","onHeadersReceived","headersReceivedResponse","onResponseStarted","onSendHeaders","types","getPathForFile","addEventListener","useCapture","removeEventListener","this","ev","getWebContentsId","allowpopups","disableblinkfeatures","disablewebsecurity","enableblinkfeatures","httpreferrer","nodeintegration","nodeintegrationinsubframes","src","useragent","webpreferences","createWindow","outlivesOpener","overrideBrowserWindowOptions","applicationName","applicationVersion","copyright","credits","authors","website","shouldRenderRichAnimation","scrollAnimationsEnabledBySystem","prefersReducedMotion","appId","appIconPath","appIconIndex","relaunchCommand","relaunchDisplayName","isProxy","realm","horizontal","vertical","requestHeaders","allocated","total","pairingKind","pin","redirectURL","dataTypes","origins","excludeOrigins","avoidClosingConnections","originMatchingMode","storages","quotas","credentials","useSessionCookies","hostname","redirect","referrerPolicy","cache","waitForBeforeUnload","minVersion","maxVersion","disabledCipherSuites","enableBuiltInResolver","secureDnsMode","secureDnsServers","enableAdditionalDnsQueryTypes","linkURL","linkText","pageURL","frameURL","srcURL","hasImageContents","isEditable","selectionText","titleText","altText","suggestedFilename","selectionRect","selectionStartOffset","misspelledWord","dictionarySuggestions","frameCharset","formControlType","spellcheckEnabled","menuSourceType","mediaFlags","editFlags","submitURL","companyName","ignoreSystemCrashHandler","rateLimit","compress","extra","globalExtra","urlChain","lastModified","eTag","startTime","html","rtf","bookmark","standard","serif","sansSerif","monospace","cursive","fantasy","math","deviceType","themeColor","frameName","postBody","disposition","iconType","largeIcon","noSound","respectQuietTime","videoRequested","audioRequested","useSystemPicker","offline","latency","downloadThroughput","uploadThroughput","serverType","forward","findNext","matchCase","steal","env","execArgv","stdio","allowLoadingUnsignedLibraries","respondToAuthRequestsFromMainProcess","features","statusLine","totalHeapSize","totalHeapSizeExecutable","totalPhysicalSize","totalAvailableSize","usedHeapSize","heapSizeLimit","mallocedMemory","peakMallocedMemory","doesZapGarbage","csp","isAutoRepeat","isComposing","shift","control","alt","meta","location","cssOrigin","minItems","removedItems","allowFileAccess","search","hash","httpReferrer","extraHeaders","postData","baseURLForDataURL","openAtLogin","openAsHidden","wasOpenedAtLogin","wasOpenedAsHidden","restoreState","executableWillLaunchAtLogin","launchItems","acceleratorWorksWhenHidden","before","after","beforeGroupContaining","afterGroupContaining","defaultId","signal","detail","checkboxLabel","checkboxChecked","textWidth","cancelId","noLink","normalizeAccessKeys","source","sourceUrl","lineNumber","conflictHandler","conflictType","webContentsId","resourceType","ip","fromCache","activate","defaultPath","buttonLabel","filters","properties","securityScopedBookmarks","canceled","bookmarks","logUsage","stayHidden","stayAwake","screenPosition","screenSize","viewPosition","deviceScaleFactor","viewSize","quantity","applicationUsername","paymentDiscount","embeddingOrigin","positioningItem","sourceType","numSockets","landscape","displayHeaderFooter","printBackground","pageSize","margins","pageRanges","headerTemplate","footerTemplate","preferCSSPageSize","generateTaggedPDF","generateDocumentOutline","bypassCSP","allowServiceWorkers","supportFetchAPI","corsEnabled","stream","codeCache","spellCheck","words","misspeltWords","execPath","validatedCertificate","isIssuedByKnownRoot","queryType","cacheUsage","secureDnsPolicy","cssStyleSheets","xslStyleSheets","fonts","other","confirmed","requestId","activeMatchOrdinal","matches","selectionArea","finalUpdate","nameFieldLabel","showsTagField","deviceList","thumbnailSize","fetchWindowIcons","captureMode","maxFileSize","video","audio","enableLocalEcho","free","swapTotal","swapFree","symbolColor","fontType","change","showCloseButton","select","highlight","highlightedIndex","isSelected","newValue","percentage","min","max","active","started","current","protectedClasses","visibleOnFullScreen","skipTransformProcessType","audible","isSameDocument","initiator","pagesPerSheet","collate","copies","duplexMode","dpi","header","footer","edge","canUndo","canRedo","canCut","canCopy","canPaste","canDelete","canSelectAll","canEditRichly","marginType","bottom","left","right","inError","isMuted","hasAudio","isLooping","isControlsVisible","canToggleControls","canPrint","canSave","canShowPictureInPicture","isShowingPictureInPicture","canRotate","canLoop","from","to","Common","clipboard","crashReporter","nativeImage","shell","Main","app","autoUpdater","contentTracing","desktopCapturer","dialog","globalShortcut","inAppPurchase","ipcMain","nativeTheme","net","powerMonitor","powerSaveBlocker","pushNotifications","safeStorage","screen","systemPreferences","utilityProcess","webFrameMain","Renderer","contextBridge","ipcRenderer","webFrame","webUtils","Utility","CrossProcessExports","parentPort","_0","sideEffect","_1","_2","_3","_4","NodeRequireFunction","moduleName","NodeRequire","_5","fs","_6","Document","createElement","tagName","Process","eventName","crash","getBlinkMemoryInfo","getCPUUsage","getCreationTime","getHeapStatistics","getProcessMemoryInfo","getSystemMemoryInfo","getSystemVersion","hang","setFdLimit","maxDescriptors","chrome","contextId","contextIsolated","defaultApp","electron","mas","noAsar","noDeprecation","resourcesPath","throwDeprecation","traceDeprecation","traceProcessWarnings","windowsStore","ProcessVersions"],"sources":["../src/context.ts","../src/websocket-server.ts","../src/ipc-core.ts","../src/handlers/shell.ts","../src/handlers/fs.ts","../src/handlers/config.ts","../src/handlers/history.ts","../src/handlers/engine.ts","../src/handlers/agents.ts","../src/handlers/build-history.ts","../src/handlers/index.ts","../src/config.ts","../src/api.ts","../src/handler-func.ts","../src/utils.ts","../src/plugins-registry.ts","../src/utils/remote.ts","../src/utils/fs-extras.ts","../../../node_modules/electron/electron.d.ts","../src/types/runner.ts","../src/runner.ts","../src/server.ts","../src/utils/github.ts","../src/fs-utils.ts"],"x_google_ignoreList":[18],"mappings":";;;;;;;;;;;cAiBa,KAAA;AAAA,KAED,UAAA;AAAA,cAEC,sBAAA,GAA0B,GAAA,GAAM,UAAA;AAAA,cAgChC,WAAA;AAAA,cAEA,WAAA;EAAA;;;;KAMD,eAAA,WAA0B,WAAA,eAA0B,WAAA;AAAA,UAE/C,qBAAA;EACf,YAAA;EACA,UAAA;AAAA;AAAA,KAGG,IAAA,yCAA6C,CAAA,mBAE9C,CAAA,oCACE,CAAA,GACA,CAAA,oEACK,CAAA,GAAI,CAAA,GAAI,IAAA,CAAK,CAAA,EAAG,CAAA;AAAA,cAGd,cAAA;EAAA,SACK,YAAA;EAAA,SACA,UAAA;cAEJ,OAAA,EAAS,qBAAA;EAKrB,eAAA,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tB3FX;;;iBsBmIsB,yBAAA,CACpB,OAAA,GAAS,mBAAA,GACR,OAAA,CAAQ,aAAA;;;;;;iBCxDK,iBAAA,CAAkB,WAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { DEFAULT_NODE_VERSION, DEFAULT_PNPM_VERSION, SandboxFolder } from "@pipelab/constants";
|
|
3
3
|
import { WebSocket } from "ws";
|
|
4
|
-
import
|
|
4
|
+
import * as _pipelab_shared0 from "@pipelab/shared";
|
|
5
|
+
import { Action, Agent, BuildHistoryEntry, Channels, End, Event as Event$1, Events, Expression, ExtractInputsFromAction, ExtractInputsFromEvent, ExtractInputsFromExpression, HandleListenerRendererSendFn, IBuildHistoryStorage, IpcMessage, RendererChannels, RendererData, RendererEnd, RendererEvents, RendererMessage, RendererPluginDefinition, RequestId, SetOutputActionFn, SetOutputExpressionFn, UpdateStatus, Variable, WebSocketConnectionState, WebSocketEvent, WebSocketHandler, WebSocketSendFunction } from "@pipelab/shared";
|
|
5
6
|
import * as execa$1 from "execa";
|
|
6
7
|
import { Options as Options$1, Subprocess } from "execa";
|
|
7
8
|
import * as http$1 from "http";
|
|
@@ -92,7 +93,7 @@ declare const useAPI: () => {
|
|
|
92
93
|
channel: KEY;
|
|
93
94
|
listener: WebSocketHandler<KEY>;
|
|
94
95
|
};
|
|
95
|
-
processWebSocketMessage: (ws: WebSocket, channel: string, message: IpcMessage) =>
|
|
96
|
+
processWebSocketMessage: (ws: WebSocket, channel: string, message: IpcMessage) => Promise<void> | undefined;
|
|
96
97
|
handlers: Record<string, WebSocketHandler<any>>;
|
|
97
98
|
};
|
|
98
99
|
//#endregion
|
|
@@ -162,24 +163,302 @@ declare const registerAllHandlers: (options: {
|
|
|
162
163
|
//#endregion
|
|
163
164
|
//#region src/config.d.ts
|
|
164
165
|
declare const setupSettingsConfigFile: (context: PipelabContext) => Promise<{
|
|
165
|
-
setConfig: (config:
|
|
166
|
-
|
|
166
|
+
setConfig: (config: {
|
|
167
|
+
theme: "light" | "dark";
|
|
168
|
+
version: "7.0.0";
|
|
169
|
+
locale: "en-US" | "fr-FR" | "pt-BR" | "zh-CN" | "es-ES" | "de-DE";
|
|
170
|
+
tours: {
|
|
171
|
+
dashboard: {
|
|
172
|
+
step: number;
|
|
173
|
+
completed: boolean;
|
|
174
|
+
};
|
|
175
|
+
editor: {
|
|
176
|
+
step: number;
|
|
177
|
+
completed: boolean;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
agents: {
|
|
181
|
+
id: string;
|
|
182
|
+
name: string;
|
|
183
|
+
url: string;
|
|
184
|
+
}[];
|
|
185
|
+
plugins: {
|
|
186
|
+
name: string;
|
|
187
|
+
enabled: boolean;
|
|
188
|
+
description: string;
|
|
189
|
+
}[];
|
|
190
|
+
autosave: boolean;
|
|
191
|
+
cacheFolder?: string | undefined;
|
|
192
|
+
tempFolder?: string | undefined;
|
|
193
|
+
}) => Promise<boolean>;
|
|
194
|
+
getConfig: () => Promise<{
|
|
195
|
+
theme: "light" | "dark";
|
|
196
|
+
version: "7.0.0";
|
|
197
|
+
locale: "en-US" | "fr-FR" | "pt-BR" | "zh-CN" | "es-ES" | "de-DE";
|
|
198
|
+
tours: {
|
|
199
|
+
dashboard: {
|
|
200
|
+
step: number;
|
|
201
|
+
completed: boolean;
|
|
202
|
+
};
|
|
203
|
+
editor: {
|
|
204
|
+
step: number;
|
|
205
|
+
completed: boolean;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
agents: {
|
|
209
|
+
id: string;
|
|
210
|
+
name: string;
|
|
211
|
+
url: string;
|
|
212
|
+
}[];
|
|
213
|
+
plugins: {
|
|
214
|
+
name: string;
|
|
215
|
+
enabled: boolean;
|
|
216
|
+
description: string;
|
|
217
|
+
}[];
|
|
218
|
+
autosave: boolean;
|
|
219
|
+
cacheFolder?: string | undefined;
|
|
220
|
+
tempFolder?: string | undefined;
|
|
221
|
+
}>;
|
|
167
222
|
}>;
|
|
168
223
|
declare const setupConnectionsConfigFile: (context: PipelabContext) => Promise<{
|
|
169
|
-
setConfig: (config:
|
|
170
|
-
|
|
224
|
+
setConfig: (config: {
|
|
225
|
+
version: "1.0.0";
|
|
226
|
+
connections: ({
|
|
227
|
+
id: string;
|
|
228
|
+
name: string;
|
|
229
|
+
pluginName: string;
|
|
230
|
+
createdAt: string;
|
|
231
|
+
isDefault: boolean;
|
|
232
|
+
} & {
|
|
233
|
+
[key: string]: unknown;
|
|
234
|
+
})[];
|
|
235
|
+
}) => Promise<boolean>;
|
|
236
|
+
getConfig: () => Promise<{
|
|
237
|
+
version: "1.0.0";
|
|
238
|
+
connections: ({
|
|
239
|
+
id: string;
|
|
240
|
+
name: string;
|
|
241
|
+
pluginName: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
isDefault: boolean;
|
|
244
|
+
} & {
|
|
245
|
+
[key: string]: unknown;
|
|
246
|
+
})[];
|
|
247
|
+
}>;
|
|
171
248
|
}>;
|
|
172
249
|
declare const setupProjectsConfigFile: (context: PipelabContext) => Promise<{
|
|
173
|
-
setConfig: (config:
|
|
174
|
-
|
|
250
|
+
setConfig: (config: {
|
|
251
|
+
version: "3.0.0";
|
|
252
|
+
projects: {
|
|
253
|
+
id: string;
|
|
254
|
+
name: string;
|
|
255
|
+
description: string;
|
|
256
|
+
}[];
|
|
257
|
+
pipelines?: ({
|
|
258
|
+
type: "external";
|
|
259
|
+
id: string;
|
|
260
|
+
summary: {
|
|
261
|
+
name: string;
|
|
262
|
+
plugins: string[];
|
|
263
|
+
description: string;
|
|
264
|
+
};
|
|
265
|
+
project: string;
|
|
266
|
+
path: string;
|
|
267
|
+
lastModified: string;
|
|
268
|
+
} | {
|
|
269
|
+
type: "internal";
|
|
270
|
+
id: string;
|
|
271
|
+
project: string;
|
|
272
|
+
lastModified: string;
|
|
273
|
+
configName: string;
|
|
274
|
+
} | {
|
|
275
|
+
type: "pipelab-cloud";
|
|
276
|
+
id: string;
|
|
277
|
+
project: string;
|
|
278
|
+
})[] | undefined;
|
|
279
|
+
}) => Promise<boolean>;
|
|
280
|
+
getConfig: () => Promise<{
|
|
281
|
+
version: "3.0.0";
|
|
282
|
+
projects: {
|
|
283
|
+
id: string;
|
|
284
|
+
name: string;
|
|
285
|
+
description: string;
|
|
286
|
+
}[];
|
|
287
|
+
pipelines?: ({
|
|
288
|
+
type: "external";
|
|
289
|
+
id: string;
|
|
290
|
+
summary: {
|
|
291
|
+
name: string;
|
|
292
|
+
plugins: string[];
|
|
293
|
+
description: string;
|
|
294
|
+
};
|
|
295
|
+
project: string;
|
|
296
|
+
path: string;
|
|
297
|
+
lastModified: string;
|
|
298
|
+
} | {
|
|
299
|
+
type: "internal";
|
|
300
|
+
id: string;
|
|
301
|
+
project: string;
|
|
302
|
+
lastModified: string;
|
|
303
|
+
configName: string;
|
|
304
|
+
} | {
|
|
305
|
+
type: "pipelab-cloud";
|
|
306
|
+
id: string;
|
|
307
|
+
project: string;
|
|
308
|
+
})[] | undefined;
|
|
309
|
+
}>;
|
|
175
310
|
}>;
|
|
176
311
|
declare const setupPipelineConfigFileByName: (name: string, context: PipelabContext) => Promise<{
|
|
177
|
-
setConfig: (config:
|
|
178
|
-
|
|
312
|
+
setConfig: (config: {
|
|
313
|
+
version: "5.0.0";
|
|
314
|
+
name: string;
|
|
315
|
+
description: string;
|
|
316
|
+
variables: _pipelab_shared0.VariableBase[];
|
|
317
|
+
canvas: {
|
|
318
|
+
blocks: {
|
|
319
|
+
type: "action";
|
|
320
|
+
params: {
|
|
321
|
+
[x: string]: {
|
|
322
|
+
editor: "editor" | "simple";
|
|
323
|
+
value: unknown;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
uid: string;
|
|
327
|
+
origin: {
|
|
328
|
+
pluginId: string;
|
|
329
|
+
nodeId: string;
|
|
330
|
+
version?: string | undefined;
|
|
331
|
+
};
|
|
332
|
+
name?: string | undefined;
|
|
333
|
+
disabled?: boolean | undefined;
|
|
334
|
+
}[];
|
|
335
|
+
triggers: {
|
|
336
|
+
type: "event";
|
|
337
|
+
params: {
|
|
338
|
+
[x: string]: any;
|
|
339
|
+
};
|
|
340
|
+
uid: string;
|
|
341
|
+
origin: {
|
|
342
|
+
pluginId: string;
|
|
343
|
+
nodeId: string;
|
|
344
|
+
version?: string | undefined;
|
|
345
|
+
};
|
|
346
|
+
}[];
|
|
347
|
+
};
|
|
348
|
+
}) => Promise<boolean>;
|
|
349
|
+
getConfig: () => Promise<{
|
|
350
|
+
version: "5.0.0";
|
|
351
|
+
name: string;
|
|
352
|
+
description: string;
|
|
353
|
+
variables: _pipelab_shared0.VariableBase[];
|
|
354
|
+
canvas: {
|
|
355
|
+
blocks: {
|
|
356
|
+
type: "action";
|
|
357
|
+
params: {
|
|
358
|
+
[x: string]: {
|
|
359
|
+
editor: "editor" | "simple";
|
|
360
|
+
value: unknown;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
uid: string;
|
|
364
|
+
origin: {
|
|
365
|
+
pluginId: string;
|
|
366
|
+
nodeId: string;
|
|
367
|
+
version?: string | undefined;
|
|
368
|
+
};
|
|
369
|
+
name?: string | undefined;
|
|
370
|
+
disabled?: boolean | undefined;
|
|
371
|
+
}[];
|
|
372
|
+
triggers: {
|
|
373
|
+
type: "event";
|
|
374
|
+
params: {
|
|
375
|
+
[x: string]: any;
|
|
376
|
+
};
|
|
377
|
+
uid: string;
|
|
378
|
+
origin: {
|
|
379
|
+
pluginId: string;
|
|
380
|
+
nodeId: string;
|
|
381
|
+
version?: string | undefined;
|
|
382
|
+
};
|
|
383
|
+
}[];
|
|
384
|
+
};
|
|
385
|
+
}>;
|
|
179
386
|
}>;
|
|
180
387
|
declare const setupPipelineConfigFileByPath: (absolutePath: string, context: PipelabContext) => Promise<{
|
|
181
|
-
setConfig: (config:
|
|
182
|
-
|
|
388
|
+
setConfig: (config: {
|
|
389
|
+
version: "5.0.0";
|
|
390
|
+
name: string;
|
|
391
|
+
description: string;
|
|
392
|
+
variables: _pipelab_shared0.VariableBase[];
|
|
393
|
+
canvas: {
|
|
394
|
+
blocks: {
|
|
395
|
+
type: "action";
|
|
396
|
+
params: {
|
|
397
|
+
[x: string]: {
|
|
398
|
+
editor: "editor" | "simple";
|
|
399
|
+
value: unknown;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
uid: string;
|
|
403
|
+
origin: {
|
|
404
|
+
pluginId: string;
|
|
405
|
+
nodeId: string;
|
|
406
|
+
version?: string | undefined;
|
|
407
|
+
};
|
|
408
|
+
name?: string | undefined;
|
|
409
|
+
disabled?: boolean | undefined;
|
|
410
|
+
}[];
|
|
411
|
+
triggers: {
|
|
412
|
+
type: "event";
|
|
413
|
+
params: {
|
|
414
|
+
[x: string]: any;
|
|
415
|
+
};
|
|
416
|
+
uid: string;
|
|
417
|
+
origin: {
|
|
418
|
+
pluginId: string;
|
|
419
|
+
nodeId: string;
|
|
420
|
+
version?: string | undefined;
|
|
421
|
+
};
|
|
422
|
+
}[];
|
|
423
|
+
};
|
|
424
|
+
}) => Promise<boolean>;
|
|
425
|
+
getConfig: () => Promise<{
|
|
426
|
+
version: "5.0.0";
|
|
427
|
+
name: string;
|
|
428
|
+
description: string;
|
|
429
|
+
variables: _pipelab_shared0.VariableBase[];
|
|
430
|
+
canvas: {
|
|
431
|
+
blocks: {
|
|
432
|
+
type: "action";
|
|
433
|
+
params: {
|
|
434
|
+
[x: string]: {
|
|
435
|
+
editor: "editor" | "simple";
|
|
436
|
+
value: unknown;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
uid: string;
|
|
440
|
+
origin: {
|
|
441
|
+
pluginId: string;
|
|
442
|
+
nodeId: string;
|
|
443
|
+
version?: string | undefined;
|
|
444
|
+
};
|
|
445
|
+
name?: string | undefined;
|
|
446
|
+
disabled?: boolean | undefined;
|
|
447
|
+
}[];
|
|
448
|
+
triggers: {
|
|
449
|
+
type: "event";
|
|
450
|
+
params: {
|
|
451
|
+
[x: string]: any;
|
|
452
|
+
};
|
|
453
|
+
uid: string;
|
|
454
|
+
origin: {
|
|
455
|
+
pluginId: string;
|
|
456
|
+
nodeId: string;
|
|
457
|
+
version?: string | undefined;
|
|
458
|
+
};
|
|
459
|
+
}[];
|
|
460
|
+
};
|
|
461
|
+
}>;
|
|
183
462
|
}>;
|
|
184
463
|
declare const deletePipelineConfigFileByName: (name: string, context: PipelabContext) => Promise<void>;
|
|
185
464
|
declare const deletePipelineConfigFileByPath: (absolutePath: string, context: PipelabContext) => Promise<void>;
|
|
@@ -229,7 +508,17 @@ declare const executeGraphWithHistory: ({
|
|
|
229
508
|
cachePath: string;
|
|
230
509
|
context: PipelabContext;
|
|
231
510
|
}) => Promise<{
|
|
232
|
-
result:
|
|
511
|
+
result: {
|
|
512
|
+
graph: Array<_pipelab_shared0.Block>;
|
|
513
|
+
definitions: Array<RendererPluginDefinition>;
|
|
514
|
+
variables: Array<Variable>;
|
|
515
|
+
steps: _pipelab_shared0.Steps;
|
|
516
|
+
context: _pipelab_shared0.Context;
|
|
517
|
+
onExecuteItem: (node: _pipelab_shared0.Block, params: Record<string, string>, steps: _pipelab_shared0.Steps) => Promise<_pipelab_shared0.End<"action:execute">>;
|
|
518
|
+
onNodeEnter: (node: _pipelab_shared0.Block) => void;
|
|
519
|
+
onNodeExit: (node: _pipelab_shared0.Block) => void;
|
|
520
|
+
abortSignal?: AbortSignal;
|
|
521
|
+
};
|
|
233
522
|
buildId: string;
|
|
234
523
|
}>;
|
|
235
524
|
//#endregion
|
|
@@ -289,11 +578,11 @@ declare function runPnpm(cwd: string, options: {
|
|
|
289
578
|
/**
|
|
290
579
|
* Installs a specific version of Node.js if not already present.
|
|
291
580
|
*/
|
|
292
|
-
declare function ensureNodeJS(context: PipelabContext, version?:
|
|
581
|
+
declare function ensureNodeJS(context: PipelabContext, version?: string): Promise<string>;
|
|
293
582
|
/**
|
|
294
583
|
* Installs the PNPM package from npm if not already present.
|
|
295
584
|
*/
|
|
296
|
-
declare function ensurePNPM(context: PipelabContext, version?:
|
|
585
|
+
declare function ensurePNPM(context: PipelabContext, version?: string): Promise<string>;
|
|
297
586
|
declare function fetchPipelabAsset(packageName: string, versionOrRange: string, options: FetchOptions): Promise<string>;
|
|
298
587
|
declare function fetchPipelabPlugin(pluginName: string, versionOrRange: string, options: FetchOptions): Promise<{
|
|
299
588
|
packageDir: string;
|
|
@@ -322,7 +611,7 @@ declare function extractZip(archivePath: string, destinationDir: string): Promis
|
|
|
322
611
|
/**
|
|
323
612
|
* Zips a folder.
|
|
324
613
|
*/
|
|
325
|
-
declare const zipFolder: (from: string, to: string, log?: typeof console.log) => Promise<string>;
|
|
614
|
+
declare const zipFolder: (from: string, to: string, log?: typeof console.log, abortSignal?: AbortSignal) => Promise<string>;
|
|
326
615
|
/**
|
|
327
616
|
* Downloads a file with progress tracking.
|
|
328
617
|
*/
|
|
@@ -421,7 +710,17 @@ interface RunOptions {
|
|
|
421
710
|
output?: string;
|
|
422
711
|
cloud?: boolean;
|
|
423
712
|
}
|
|
424
|
-
declare function runPipelineCommand(file: string, options: RunOptions, version: string): Promise<
|
|
713
|
+
declare function runPipelineCommand(file: string, options: RunOptions, version: string): Promise<{
|
|
714
|
+
graph: Array<_pipelab_shared0.Block>;
|
|
715
|
+
definitions: Array<_pipelab_shared0.RendererPluginDefinition>;
|
|
716
|
+
variables: Array<_pipelab_shared0.Variable>;
|
|
717
|
+
steps: _pipelab_shared0.Steps;
|
|
718
|
+
context: _pipelab_shared0.Context;
|
|
719
|
+
onExecuteItem: (node: _pipelab_shared0.Block, params: Record<string, string>, steps: _pipelab_shared0.Steps) => Promise<_pipelab_shared0.End<"action:execute">>;
|
|
720
|
+
onNodeEnter: (node: _pipelab_shared0.Block) => void;
|
|
721
|
+
onNodeExit: (node: _pipelab_shared0.Block) => void;
|
|
722
|
+
abortSignal?: AbortSignal;
|
|
723
|
+
}>;
|
|
425
724
|
//#endregion
|
|
426
725
|
//#region src/server.d.ts
|
|
427
726
|
interface ServeOptions {
|