Files
opsxshell/src/utils/index.ts
T
Logan.LiandCursor fea6d8db04 feat: Pro 买断门禁、SFTP 精简与批量多机改造
新增 entitlement/license IPC 与 Waffo 一次性结账服务骨架,挂载 AI/转发/代理/串口/广播/批量导入导出门禁;批量执行改为结果矩阵并复用连接池,SFTP 工具栏图标化并去掉已连接条,同时完善跨平台本地终端与窗口配置。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 11:38:30 +08:00

26 lines
1.3 KiB
TypeScript

/**
* 工具函数统一导出
*/
export { createLogger, logger, LogLevel } from './logger'
export { handleError, createError, ErrorCode, withErrorHandling } from './error-handler'
export { getDefaultProxyConfig, isProxyConfigured, validateProxyConfig, parseProxyUrl, buildProxyUrl } from './proxy'
export { applyKeywordHighlights, DEFAULT_KEYWORD_HIGHLIGHT_RULES, type KeywordHighlightRule } from './keywordHighlight'
export { expandSnippetVariables, SNIPPET_VARIABLE_HINTS, type SnippetVariableContext } from './snippetVariables'
export { connectionReuseFingerprint } from './connectionFingerprint'
export {
disposeTabResources,
disposeAndCloseTab,
disposeAndCloseOtherTabs,
disposeAndCloseRightTabs,
disposeAndCloseLeftTabs,
disposeAndCloseAllTabs,
} from './disposeTab'
export { isWindowsLocalPath, joinLocalPath, parentPath, splitPathSegments } from './localPath'
export { fallbackLocalShells, localShellEnterKey, modKeyLabel } from './platformShells'
export { decodeShellPayload, shellPayloadByteLength } from './shellData'
export { TerminalPipeline, type TerminalPipelineOptions } from './terminalPipeline'
export { buildTerminalFontFamily, TERMINAL_FONT_OPTIONS, NERD_FONT_STACK } from './terminalFont'
// export { validators } from './validators'
// export { formatters } from './formatters'