blecsd 0.2.0 → 0.4.0

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.
Files changed (124) hide show
  1. package/LICENSE +4 -2
  2. package/README.md +167 -65
  3. package/dist/3d/index.d.ts +2 -2
  4. package/dist/3d/index.js +1 -1
  5. package/dist/audio/index.d.ts +2 -2
  6. package/dist/{border-D_Jb4ZJV.d.ts → border-DGNDfT6T.d.ts} +20 -10
  7. package/dist/chunk-25OEBENM.js +3 -0
  8. package/dist/chunk-26STV7ZS.js +1 -0
  9. package/dist/chunk-2NMGUEFC.js +4 -0
  10. package/dist/{chunk-LYSK5S63.js → chunk-4PRDJTCM.js} +1 -1
  11. package/dist/chunk-5N3O25O7.js +1 -0
  12. package/dist/chunk-5VEKHA3B.js +5 -0
  13. package/dist/chunk-6KEM3OS2.js +11 -0
  14. package/dist/chunk-6PX5R326.js +1 -0
  15. package/dist/chunk-6XWY6GB7.js +1 -0
  16. package/dist/chunk-735KKTP3.js +1 -0
  17. package/dist/chunk-7SWJNDOL.js +26 -0
  18. package/dist/chunk-APKUNIMB.js +1 -0
  19. package/dist/{chunk-FGHEFXLK.js → chunk-CJCSZRV6.js} +1 -1
  20. package/dist/chunk-DMBMCCLN.js +1 -0
  21. package/dist/chunk-DQTVJITR.js +1 -0
  22. package/dist/chunk-DSKQ5J4R.js +1 -0
  23. package/dist/chunk-E4CJRSND.js +1 -0
  24. package/dist/{chunk-OB66FB4F.js → chunk-EF4DC6IN.js} +1 -1
  25. package/dist/chunk-EJAKECSN.js +1 -0
  26. package/dist/chunk-FNQRUMFD.js +1 -0
  27. package/dist/chunk-GJ3RS2VG.js +1 -0
  28. package/dist/{chunk-TYMY2TBR.js → chunk-JHCKPCUH.js} +3 -3
  29. package/dist/{chunk-2UBBZFE4.js → chunk-KTVEMB2I.js} +1 -1
  30. package/dist/chunk-KYAPE44E.js +8 -0
  31. package/dist/chunk-LI4Y7TBZ.js +1 -0
  32. package/dist/chunk-NHOL4BN6.js +1 -0
  33. package/dist/chunk-NPDPBAW6.js +4 -0
  34. package/dist/chunk-NPNUUSIB.js +1 -0
  35. package/dist/chunk-OFRWGW2G.js +1 -0
  36. package/dist/chunk-OMU5BSAS.js +2 -0
  37. package/dist/chunk-P3ZLIQJP.js +1 -0
  38. package/dist/chunk-PWI36BQJ.js +1 -0
  39. package/dist/{chunk-VNZ6CWJA.js → chunk-QQMUDJ32.js} +2 -2
  40. package/dist/chunk-R3ICZOE4.js +1 -0
  41. package/dist/chunk-RJULLVTH.js +1 -0
  42. package/dist/{chunk-3B7MIVW6.js → chunk-RZ7FGVI6.js} +1 -1
  43. package/dist/chunk-S6WS46FE.js +1 -0
  44. package/dist/{chunk-TWSWTBYL.js → chunk-TSARUU56.js} +1 -1
  45. package/dist/chunk-WJRVUAZR.js +33 -0
  46. package/dist/{chunk-JKVHO4LH.js → chunk-WY5EZOOL.js} +1 -1
  47. package/dist/chunk-YY6RZCZH.js +4 -0
  48. package/dist/chunk-ZPGJCHXH.js +1 -0
  49. package/dist/chunk-ZPL2J25N.js +1 -0
  50. package/dist/cli/init.d.ts +1 -1
  51. package/dist/{componentStorage-DTkj1Qyj.d.ts → componentStorage-CJTh-TPO.d.ts} +1 -1
  52. package/dist/components/index.d.ts +7137 -5587
  53. package/dist/components/index.js +1 -1
  54. package/dist/core/index.d.ts +4138 -3169
  55. package/dist/core/index.js +1 -1
  56. package/dist/debug/index.d.ts +491 -98
  57. package/dist/debug/index.js +1 -1
  58. package/dist/dirtyTracking-C4v8MmM9.d.ts +235 -0
  59. package/dist/errors/index.d.ts +12 -12
  60. package/dist/errors/index.js +1 -1
  61. package/dist/{events-BbbxkgvX.d.ts → events-9ForpTfM.d.ts} +75 -2
  62. package/dist/game/index.d.ts +8 -8
  63. package/dist/game/index.js +1 -1
  64. package/dist/{gameLoop-BIPW7-OY.d.ts → gameLoop-CSTb7e0L.d.ts} +2 -2
  65. package/dist/{index-zSGJ2eUk.d.ts → index-DBS5Uefn.d.ts} +2 -2
  66. package/dist/index.d.ts +1005 -26
  67. package/dist/index.js +3 -1
  68. package/dist/input/index.d.ts +1 -1
  69. package/dist/input/index.js +1 -1
  70. package/dist/{inputActions-CefRUBuT.d.ts → inputActions-Fyw14_Gm.d.ts} +11 -722
  71. package/dist/{keyParser-Bwm8-l7v.d.ts → keyParser-m7fWto6g.d.ts} +18 -18
  72. package/dist/{mouseParser-Cfrbn3AX.d.ts → mouseParser-B7p5ow7K.d.ts} +1 -1
  73. package/dist/{packedStore-480t2X74.d.ts → packedStore-BgvnEdE7.d.ts} +1 -1
  74. package/dist/{renderable-jTMOA-GK.d.ts → renderable-CwqGwrEV.d.ts} +9 -9
  75. package/dist/scheduler-DeeZleia.d.ts +150 -0
  76. package/dist/systems/index.d.ts +473 -37
  77. package/dist/systems/index.js +1 -1
  78. package/dist/terminal/index.d.ts +2481 -2225
  79. package/dist/terminal/index.js +1 -1
  80. package/dist/{tilemap-j0twN9-y.d.ts → tilemap-BirMJdbu.d.ts} +2 -2
  81. package/dist/{types-BcsvoKzf.d.ts → types-CPB4CpbH.d.ts} +2 -2
  82. package/dist/utils/index.d.ts +28 -27
  83. package/dist/utils/index.js +1 -1
  84. package/dist/{virtualScrollback-DvZTRU8a.d.ts → virtualScrollback-D9uLFe8l.d.ts} +4 -4
  85. package/dist/{virtualViewport-Dx2iJliO.d.ts → virtualViewport-DTSN6jFk.d.ts} +370 -848
  86. package/dist/widgets/bigText.d.ts +1 -1
  87. package/dist/widgets/bigText.js +1 -1
  88. package/dist/widgets/index.d.ts +12079 -5902
  89. package/dist/widgets/index.js +1 -1
  90. package/package.json +102 -6
  91. package/dist/chunk-35I22JJO.js +0 -1
  92. package/dist/chunk-3APDF6RW.js +0 -1
  93. package/dist/chunk-3EGGGI5J.js +0 -3
  94. package/dist/chunk-4GISPPOH.js +0 -33
  95. package/dist/chunk-4X4N4HNQ.js +0 -2
  96. package/dist/chunk-6N6BRCEM.js +0 -4
  97. package/dist/chunk-AXZQAH4X.js +0 -1
  98. package/dist/chunk-BCADUCOZ.js +0 -1
  99. package/dist/chunk-CIK4AMUA.js +0 -1
  100. package/dist/chunk-EAY7B5GL.js +0 -1
  101. package/dist/chunk-EJ5WVDDZ.js +0 -6
  102. package/dist/chunk-FMFEOAML.js +0 -1
  103. package/dist/chunk-FYEBZAWN.js +0 -1
  104. package/dist/chunk-G7GIWWLE.js +0 -1
  105. package/dist/chunk-GYHI26UE.js +0 -1
  106. package/dist/chunk-H2YAOJDW.js +0 -1
  107. package/dist/chunk-JUWDTH25.js +0 -1
  108. package/dist/chunk-K2B2OXQ5.js +0 -5
  109. package/dist/chunk-K3SX2LY5.js +0 -1
  110. package/dist/chunk-KD55INV7.js +0 -1
  111. package/dist/chunk-KFAK4A3G.js +0 -1
  112. package/dist/chunk-LB3JA744.js +0 -19
  113. package/dist/chunk-LCN2ZITE.js +0 -1
  114. package/dist/chunk-P6CJO3BC.js +0 -1
  115. package/dist/chunk-PSXXMBVJ.js +0 -1
  116. package/dist/chunk-PXXGH3BV.js +0 -1
  117. package/dist/chunk-SHUC6JWA.js +0 -1
  118. package/dist/chunk-VCW7EOZ4.js +0 -12
  119. package/dist/chunk-W5OU7Z6J.js +0 -1
  120. package/dist/chunk-WHF27JF3.js +0 -4
  121. package/dist/chunk-WNG4A3K7.js +0 -4
  122. package/dist/chunk-WY3KY2TR.js +0 -1
  123. package/dist/chunk-XZA63ZPO.js +0 -1
  124. package/dist/scheduler-DcfoFuum.d.ts +0 -86
@@ -1 +1 @@
1
- export{Nc as ATTR_BLINK,Jc as ATTR_BOLD,Kc as ATTR_DIM,Pc as ATTR_HIDDEN,Oc as ATTR_INVERSE,Lc as ATTR_ITALIC,Qc as ATTR_STRIKETHROUGH,Mc as ATTR_UNDERLINE,Qa as BAR_CURSOR_CHAR,e as BEL,Oa as BLOCK_CURSOR_CHAR,a as CSI,xa as CleanupManager,q as ClipboardSelection,V as CursorPositionSchema,i as CursorShape,c as DCS,u as DEC_SPECIAL_GRAPHICS,r as DEFAULT_CLIPBOARD_MAX_SIZE,Rc as DEFAULT_COLOR,Hd as DEFAULT_INPUT_SANITIZE_OPTIONS,ka as DEFAULT_QUERY_TIMEOUT,Td as DEFAULT_SANITIZE_OPTIONS,f as ESC,pc as FocusEventSchema,Eb as GpmButton,Fb as GpmClientConfigSchema,Db as GpmEventType,oa as GraphicsProtocol,$a as HIDE_TERMINAL_CURSOR,z as HYPERLINK_ALLOWED_PROTOCOLS,sc as InputHandlerConfigSchema,Gd as InputSanitizeOptionsSchema,kc as KeyEventSchema,uc as KittyFlags,na as KittyKeyboardLevel,G as LocatorButton,F as LocatorEvent,db as LogLevel,ma as MAX_QUERY_TIMEOUT,la as MIN_QUERY_TIMEOUT,C as MediaCopyMode,oc as MouseEventSchema,m as MouseMode,Pb as MouseTrackingMode,pa as NegotiationTiming,qa as NegotiatorConfigSchema,b as OSC,J as PasteConfigSchema,I as PasteEventSchema,wd as ProgramConfigSchema,U as ResponseType,g as SGR,ab as SHOW_TERMINAL_CURSOR,d as ST,Sd as SanitizeOptionsSchema,Pa as UNDERLINE_CURSOR_CHAR,v as UNICODE_TO_ASCII,Fc as activateProtocol,Va as addCursor,Xb as areKeysEnabled,bd as beginFrame,x as boxDrawing,p as bracketedPaste,Lb as buildGpmConnectPacket,wa as capabilityQuery,Zd as categorizeEscapeSequences,w as charset,Ca as chunkText,od as clearLine,kb as clearLog,gd as clearOutputBuffer,md as clearOutputScreen,nd as clearToEnd,s as clipboard,eb as configureDebugLogger,Vd as containsEscapeSequences,Ea as createArtificialCursor,ra as createCapabilityNegotiator,Ba as createClipboardManager,Sa as createCursorCell,Ta as createCursorManager,hb as createDebugLogger,Ob as createGpmClient,Sb as createInputControl,tc as createInputHandler,Cc as createKittyConfig,Dc as createKittyProtocolState,Sc as createOutputBuffer,Q as createPasteState,xd as createProgram,Ad as createResizeHandler,Xd as createSafeStringBuilder,_d as createSuspendManager,be as createSynchronizedOutput,he as createThrottledResize,de as createTput,h as cursor,Gc as deactivateProtocol,je as debounceResize,lb as debugLoggers,Ub as destroyInputControl,Mb as detectVirtualConsole,T as disableBracketedPaste,cc as disableInput,Wb as disableKeys,Zb as disableMouse,Cd as disableResizeHandling,jc as disableWorldInput,fc as disableWorldKeys,hc as disableWorldMouse,jb as dumpRaw,ib as dumpTerminalState,S as enableBracketedPaste,bc as enableInput,Vb as enableKeys,Yb as enableMouse,Bd as enableResizeHandling,ic as enableWorldInput,ec as enableWorldKeys,gc as enableWorldMouse,cd as endFrame,pd as estimateBytesSaved,rd as exec,sd as execSync,Yd as extractEscapeSequences,P as extractPasteContent,O as findPasteEnd,fd as flushToStream,wc as generatePopSequence,vc as generatePushSequence,xc as generateQuerySequence,ed as getBufferLength,vb as getColorDepth,dd as getContents,_a as getCursorAt,td as getDefaultEditor,sa as getDefaultNegotiator,ee as getDefaultTput,ge as getDefaultXtermData,Tb as getInputControl,Qb as getInputControlEventBus,gb as getLogFile,$b as getMouseMode,jd as getOutputStats,Ua as getPrimaryCursor,yd as getResizeEventBus,Dd as getResizeHandler,ua as getTerminalCapabilities,Cb as getTerminalInfo,Bb as getTerminalVersion,Ya as getVisibleCursors,Hb as gpmButtonToMouseButton,Kb as gpmEventToMouseEvent,Ib as gpmTypeToMouseAction,va as hasCapability,Qd as hasControlChars,Rd as hasNullBytes,kd as hideCursor,bb as hideTerminalCursor,B as hyperlink,sb as isAlacritty,Ab as isBracketedPasteSupported,ga as isCharCellSize,wb as isColorSupported,Z as isCursorPosition,Na as isCursorVisible,fb as isDebugLoggingEnabled,_ as isDeviceStatus,Nb as isGpmAvailable,A as isHyperlinkAllowed,rb as isITerm2,aa as isIconLabel,dc as isInputEnabled,tb as isKitty,Ac as isKittyKeyEvent,yc as isKittyResponse,Ic as isKittySupported,ha as isLocatorPosition,rc as isMouseBuffer,_b as isMouseEnabled,lc as isMouseSequence,zb as isMouseSupported,M as isPasteStart,X as isPrimaryDA,Wd as isSafeForTerminal,nb as isScreen,fa as isScreenSize,Y as isSecondaryDA,ce as isSyncOutputSupported,ea as isTextAreaSize,mb as isTmux,xb as isTrueColorSupported,yb as isUnicodeSupported,ia as isUnknown,ob as isVSCode,qb as isVTE,Pd as isValidUtf8String,ca as isWindowPosition,da as isWindowSizePixels,ba as isWindowState,$ as isWindowTitle,ub as isWindowsTerminal,pb as isXterm,Hc as kittyKeyToName,H as locator,D as mediaCopy,N as mightBePasteStart,n as mouse,Yc as moveCursor,Ga as moveCursorBy,Fa as moveCursorTo,Aa as onExit,Gb as parseGpmEventBuffer,Jb as parseGpmModifiers,nc as parseKeyBuffer,mc as parseKeySequence,Bc as parseKittyKeyEvent,zc as parseKittyQueryResponse,qc as parseMouseSequence,W as parseResponse,R as processPasteBuffer,vd as processUtils,ja as query,ud as readEditor,E as rectangle,ya as registerForCleanup,Wa as removeCursor,Ra as renderCursor,Nd as replaceInvalidUtf16,hd as resetBuffer,Uc as resetColorState,Ma as resetCursorBlink,ta as resetDefaultNegotiator,fe as resetDefaultTput,Rb as resetInputControlEventBus,id as resetOutputStats,zd as resetResizeEventBus,Od as restrictToAscii,Ud as sanitizeForTerminal,K as sanitizePastedText,Id as sanitizeTextInput,Jd as sanitizeTextInputDetailed,k as screen,Xc as setAttributes,Wc as setBackground,Ja as setCursorBlink,Ka as setCursorColors,Ia as setCursorShape,Ha as setCursorVisible,Vc as setForeground,ac as setMouseMode,Tc as setScreenSize,Fd as setupSigwinchHandler,ld as showCursor,cb as showTerminalCursor,qd as spawn,Da as streamPaste,Md as stripC1Controls,Ld as stripControlChars,Kd as stripNullBytes,j as style,ae as suspend,$d as suspendSequences,o as sync,ie as throttleResize,l as title,t as tmux,Ed as triggerResize,L as truncatePaste,za as unregisterFromCleanup,Za as updateAllCursorBlinks,La as updateCursorBlink,Xa as updateCursorInManager,Ec as updateProtocolState,y as windowOps,_c as writeCellAt,Zc as writeChar,ad as writeRaw,$c as writeStringAt}from'../chunk-VCW7EOZ4.js';import'../chunk-FMFEOAML.js';export{a as createDoubleBuffer}from'../chunk-4LWWONFK.js';import'../chunk-FGHEFXLK.js';export{c as AttributeSchema,b as ColorType,d as DEFAULT_ATTRIBUTE,a as TextStyle,h as applySgrCodes,j as attrCode,l as attrToSgrCodes,o as attributesEqual,f as cloneAttribute,k as codeAttr,e as createAttribute,g as extractSgrCodes,n as hasStyle,q as packRgb,i as parseSgrString,m as sgrReset,r as stripAnsi,p as unpackRgb,s as visibleLength}from'../chunk-AEJIX2MW.js';export{a as Attr,c as CELL_DEFAULT_BG,b as CELL_DEFAULT_FG,d as DEFAULT_CHAR,l as cellIndex,g as cellsEqual,q as clearBuffer,f as cloneCell,u as copyRegion,e as createCell,k as createScreenBuffer,v as diffBuffers,r as fillRect,n as getCell,h as hasAttr,m as isInBounds,s as resizeBuffer,o as setCell,p as setChar,i as withAttr,j as withoutAttr,t as writeString}from'../chunk-C5PCEQ6G.js';import'../chunk-XQIGERNI.js';import'../chunk-WY3KY2TR.js';import'../chunk-XZA63ZPO.js';import'../chunk-BCADUCOZ.js';import'../chunk-K3SX2LY5.js';import'../chunk-KD55INV7.js';import'../chunk-LCN2ZITE.js';import'../chunk-W5OU7Z6J.js';import'../chunk-Z4EZERNE.js';import'../chunk-SHUC6JWA.js';import'../chunk-G7GIWWLE.js';import'../chunk-PXXGH3BV.js';import'../chunk-5PELJRUQ.js';
1
+ export{Wa as BAR_CURSOR_CHAR,J as BEL,Ua as BLOCK_CURSOR_CHAR,F as CSI,Da as CleanupManager,$ as ClipboardSelection,b as CursorPositionSchema,Y as CursorShape,H as DCS,S as DEC_SPECIAL_GRAPHICS,aa as DEFAULT_CLIPBOARD_MAX_SIZE,md as DEFAULT_INPUT_SANITIZE_OPTIONS,s as DEFAULT_QUERY_TIMEOUT,yd as DEFAULT_SANITIZE_OPTIONS,K as ESC,Dc as FocusEventSchema,Sb as GpmButton,Tb as GpmClientConfigSchema,Rb as GpmEventType,w as GraphicsProtocol,fb as HIDE_TERMINAL_CURSOR,M as HYPERLINK_ALLOWED_PROTOCOLS,Gc as InputHandlerConfigSchema,ld as InputSanitizeOptionsSchema,yc as KeyEventSchema,Ic as KittyFlags,v as KittyKeyboardLevel,ga as LocatorButton,fa as LocatorEvent,jb as LogLevel,u as MAX_QUERY_TIMEOUT,t as MIN_QUERY_TIMEOUT,P as MediaCopyMode,Cc as MouseEventSchema,da as MouseMode,bc as MouseTrackingMode,x as NegotiationTiming,y as NegotiatorConfigSchema,G as OSC,sa as PasteConfigSchema,ra as PasteEventSchema,bd as ProgramConfigSchema,a as ResponseType,W as SGR,gb as SHOW_TERMINAL_CURSOR,I as ST,xd as SanitizeOptionsSchema,Va as UNDERLINE_CURSOR_CHAR,T as UNICODE_TO_ASCII,Tc as activateProtocol,$a as addCursor,jc as areKeysEnabled,V as boxDrawing,_ as bracketedPaste,Zb as buildGpmConnectPacket,E as capabilityQuery,Ed as categorizeEscapeSequences,U as charset,Ia as chunkText,qb as clearLog,ba as clipboard,kb as configureDebugLogger,Ad as containsEscapeSequences,la as createAnsiBackend,Ka as createArtificialCursor,z as createCapabilityNegotiator,Ha as createClipboardManager,Ya as createCursorCell,Za as createCursorManager,nb as createDebugLogger,Lb as createFocusTracker,ac as createGpmClient,ec as createInputControl,Hc as createInputHandler,Qc as createKittyConfig,Rc as createKittyProtocolState,na as createKittyRenderBackend,za as createPasteState,cd as createProgram,oa as createRenderBackendByType,fd as createResizeHandler,Cd as createSafeStringBuilder,Fd as createSuspendManager,Id as createSynchronizedOutput,Od as createThrottledResize,Kd as createTput,X as cursor,Uc as deactivateProtocol,Qd as debounceResize,rb as debugLoggers,gc as destroyInputControl,pa as detectRenderBackend,_b as detectVirtualConsole,Ca as disableBracketedPaste,Nb as disableFocusTracking,qc as disableInput,ic as disableKeys,lc as disableMouse,hd as disableResizeHandling,xc as disableWorldInput,tc as disableWorldKeys,vc as disableWorldMouse,pb as dumpRaw,ob as dumpTerminalState,Ba as enableBracketedPaste,Mb as enableFocusTracking,pc as enableInput,hc as enableKeys,kc as enableMouse,gd as enableResizeHandling,wc as enableWorldInput,sc as enableWorldKeys,uc as enableWorldMouse,ma as encodeKittyImage,Yc as exec,Zc as execSync,Dd as extractEscapeSequences,ya as extractPasteContent,xa as findPasteEnd,Kc as generatePopSequence,Jc as generatePushSequence,Lc as generateQuerySequence,qa as getAvailableBackends,Bb as getColorDepth,eb as getCursorAt,_c as getDefaultEditor,A as getDefaultNegotiator,Ld as getDefaultTput,Nd as getDefaultXtermData,Ob as getFocusTracker,fc as getInputControl,cc as getInputControlEventBus,mb as getLogFile,nc as getMouseMode,_a as getPrimaryCursor,dd as getResizeEventBus,id as getResizeHandler,C as getTerminalCapabilities,Jb as getTerminalFocusEventBus,Ib as getTerminalInfo,Hb as getTerminalVersion,cb as getVisibleCursors,Vb as gpmButtonToMouseButton,Yb as gpmEventToMouseEvent,Wb as gpmTypeToMouseAction,D as hasCapability,vd as hasControlChars,wd as hasNullBytes,hb as hideTerminalCursor,O as hyperlink,yb as isAlacritty,Gb as isBracketedPasteSupported,o as isCharCellSize,Cb as isColorSupported,f as isCursorPosition,Ta as isCursorVisible,lb as isDebugLoggingEnabled,g as isDeviceStatus,$b as isGpmAvailable,N as isHyperlinkAllowed,xb as isITerm2,i as isIconLabel,rc as isInputEnabled,zb as isKitty,Oc as isKittyKeyEvent,Mc as isKittyResponse,Wc as isKittySupported,p as isLocatorPosition,Fc as isMouseBuffer,mc as isMouseEnabled,zc as isMouseSequence,Fb as isMouseSupported,va as isPasteStart,d as isPrimaryDA,Bd as isSafeForTerminal,tb as isScreen,n as isScreenSize,e as isSecondaryDA,Jd as isSyncOutputSupported,Pb as isTerminalFocused,m as isTextAreaSize,sb as isTmux,Db as isTrueColorSupported,Eb as isUnicodeSupported,q as isUnknown,ub as isVSCode,wb as isVTE,ud as isValidUtf8String,k as isWindowPosition,l as isWindowSizePixels,j as isWindowState,h as isWindowTitle,Ab as isWindowsTerminal,vb as isXterm,Vc as kittyKeyToName,ha as locator,Q as mediaCopy,wa as mightBePasteStart,ea as mouse,Ma as moveCursorBy,La as moveCursorTo,Ga as onExit,Ub as parseGpmEventBuffer,Xb as parseGpmModifiers,Bc as parseKeyBuffer,Ac as parseKeySequence,Pc as parseKittyKeyEvent,Nc as parseKittyQueryResponse,Ec as parseMouseSequence,c as parseResponse,Aa as processPasteBuffer,ad as processUtils,r as query,$c as readEditor,R as rectangle,Ea as registerForCleanup,ab as removeCursor,Xa as renderCursor,sd as replaceInvalidUtf16,Sa as resetCursorBlink,B as resetDefaultNegotiator,Md as resetDefaultTput,dc as resetInputControlEventBus,ed as resetResizeEventBus,Kb as resetTerminalFocusEventBus,td as restrictToAscii,zd as sanitizeForTerminal,ta as sanitizePastedText,nd as sanitizeTextInput,od as sanitizeTextInputDetailed,ja as screen,Pa as setCursorBlink,Qa as setCursorColors,Oa as setCursorShape,Na as setCursorVisible,oc as setMouseMode,kd as setupSigwinchHandler,ib as showTerminalCursor,Xc as spawn,Ja as streamPaste,rd as stripC1Controls,qd as stripControlChars,pd as stripNullBytes,ia as style,Hd as suspend,Gd as suspendSequences,Z as sync,Pd as throttleResize,ka as title,ca as tmux,Qb as triggerFocusEvent,jd as triggerResize,ua as truncatePaste,Fa as unregisterFromCleanup,db as updateAllCursorBlinks,Ra as updateCursorBlink,bb as updateCursorInManager,Sc as updateProtocolState,L as windowOps}from'../chunk-6KEM3OS2.js';import'../chunk-XQIGERNI.js';import'../chunk-NHOL4BN6.js';import'../chunk-OFRWGW2G.js';export{a as createDoubleBuffer}from'../chunk-4LWWONFK.js';import'../chunk-FNQRUMFD.js';import'../chunk-CJCSZRV6.js';export{c as AttributeSchema,b as ColorType,d as DEFAULT_ATTRIBUTE,a as TextStyle,h as applySgrCodes,j as attrCode,l as attrToSgrCodes,o as attributesEqual,f as cloneAttribute,k as codeAttr,e as createAttribute,g as extractSgrCodes,n as hasStyle,q as packRgb,i as parseSgrString,m as sgrReset,r as stripAnsi,p as unpackRgb,s as visibleLength}from'../chunk-AEJIX2MW.js';export{a as Attr,c as CELL_DEFAULT_BG,b as CELL_DEFAULT_FG,d as DEFAULT_CHAR,l as cellIndex,g as cellsEqual,q as clearBuffer,f as cloneCell,u as copyRegion,e as createCell,k as createScreenBuffer,v as diffBuffers,r as fillRect,n as getCell,h as hasAttr,m as isInBounds,s as resizeBuffer,o as setCell,p as setChar,i as withAttr,j as withoutAttr,t as writeString}from'../chunk-C5PCEQ6G.js';import'../chunk-DMBMCCLN.js';import'../chunk-LI4Y7TBZ.js';import'../chunk-DQTVJITR.js';import'../chunk-ZPGJCHXH.js';import'../chunk-APKUNIMB.js';import'../chunk-GJ3RS2VG.js';import'../chunk-Z4EZERNE.js';import'../chunk-P3ZLIQJP.js';import'../chunk-5PELJRUQ.js';
@@ -1,5 +1,5 @@
1
- import { E as Entity, W as World } from './types-BcsvoKzf.js';
2
- import { a as PackedStore } from './packedStore-480t2X74.js';
1
+ import { E as Entity, W as World } from './types-CPB4CpbH.js';
2
+ import { P as PackedStore } from './packedStore-BgvnEdE7.js';
3
3
 
4
4
  /**
5
5
  * Collision component for entity collision detection.
@@ -55,8 +55,8 @@ declare enum LoopPhase {
55
55
  UPDATE = 2,
56
56
  /** Post-update logic */
57
57
  LATE_UPDATE = 3,
58
- /** Physics calculations */
59
- PHYSICS = 4,
58
+ /** Animation, physics, tweens, and transitions */
59
+ ANIMATION = 4,
60
60
  /** UI layout calculation */
61
61
  LAYOUT = 5,
62
62
  /** Render to screen buffer */
@@ -1,11 +1,11 @@
1
- import { f as BorderCharset } from '../border-D_Jb4ZJV.js';
1
+ import { B as BorderCharset } from '../border-DGNDfT6T.js';
2
2
  export { c as colorToHex, h as hexToColor, p as packColor, a as parseColor, u as unpackColor } from '../color-B78w3zH-.js';
3
- export { C as ComponentMemoryReport, a as ComponentStore, b as ComponentStoreConfig, S as SparseStorageConfig, c as SparseStore, T as TypedArrayPool, d as createComponentStore, e as createSparseStore, f as createTypedArrayPool, g as estimateMemoryUsage, h as getComponentMemoryReport, i as isWithinMemoryBounds } from '../componentStorage-DTkj1Qyj.js';
3
+ export { C as ComponentMemoryReport, a as ComponentStore, b as ComponentStoreConfig, S as SparseStorageConfig, c as SparseStore, T as TypedArrayPool, d as createComponentStore, e as createSparseStore, f as createTypedArrayPool, g as estimateMemoryUsage, h as getComponentMemoryReport, i as isWithinMemoryBounds } from '../componentStorage-CJTh-TPO.js';
4
4
  import { z } from 'zod';
5
- import { S as StyleData } from '../renderable-jTMOA-GK.js';
5
+ import { S as StyleData } from '../renderable-CwqGwrEV.js';
6
6
  export { C as CHUNKED_THRESHOLD, L as LineIndexSchema, a as LineRangeParamsSchema, b as LineStoreStats, T as TrimParamsSchema, c as VirtualizedLineInfo, d as VirtualizedLineRange, V as VirtualizedLineStore, e as VisibleLinesParamsSchema, f as appendLinesToStore, g as appendToStore, h as createEmptyLineStore, i as createLineStore, j as createLineStoreFromLines, k as exportContent, l as exportLineRange, m as getByteSize, n as getLineAtIndex, o as getLineForOffset, p as getLineInfo, q as getLineStoreLineCount, r as getLineStoreRange, s as getLineStoreVisibleLines, t as getOffsetForLine, u as getStoreStats, v as isStoreEmpty, w as trimLineStore } from '../virtualizedLineStore-DwPEvPkk.js';
7
- export { C as COMPRESSION_RATIO, a as Chunk, D as DEFAULT_CHUNK_SIZE, b as DEFAULT_MAX_CACHED, c as DEFAULT_MAX_MEMORY, L as LineRange, S as ScrollbackBuffer, d as ScrollbackConfig, e as ScrollbackLine, f as ScrollbackStats, g as appendLine, h as appendLines, i as clearScrollback, j as compressOldChunks, k as createScrollbackBuffer, l as decompressAll, m as exportToText, n as getLineRange, o as getMemoryUsage, p as getScrollbackLine, q as getScrollbackStats, r as getVisibleLines, s as jumpToLine, t as loadFromText, v as scrollBy, w as scrollToBottom, x as scrollToTop, u as trimToLineCount } from '../virtualScrollback-DvZTRU8a.js';
8
- import '../types-BcsvoKzf.js';
7
+ export { C as COMPRESSION_RATIO, a as Chunk, D as DEFAULT_CHUNK_SIZE, b as DEFAULT_MAX_CACHED, c as DEFAULT_MAX_MEMORY, L as LineRange, S as ScrollbackBuffer, d as ScrollbackConfig, e as ScrollbackLine, f as ScrollbackStats, g as appendLine, h as appendLines, i as clearScrollback, j as compressOldChunks, k as createScrollbackBuffer, l as decompressAll, m as exportToText, n as getLineRange, o as getMemoryUsage, p as getScrollbackLine, q as getScrollbackStats, r as getVisibleLines, s as jumpToLine, t as loadFromText, v as scrollBy, w as scrollToBottom, x as scrollToTop, u as trimToLineCount } from '../virtualScrollback-D9uLFe8l.js';
8
+ import '../types-CPB4CpbH.js';
9
9
  import 'bitecs';
10
10
 
11
11
  /**
@@ -752,9 +752,9 @@ interface DiffLine {
752
752
  /** Line content */
753
753
  readonly content: string;
754
754
  /** Old line number (for remove/context) */
755
- readonly oldLineNo?: number;
755
+ readonly oldLineNo?: number | undefined;
756
756
  /** New line number (for add/context) */
757
- readonly newLineNo?: number;
757
+ readonly newLineNo?: number | undefined;
758
758
  }
759
759
  /**
760
760
  * A chunk/hunk in a diff.
@@ -807,9 +807,9 @@ interface SideBySideEntry<T extends SideBySideEntryType = SideBySideEntryType> {
807
807
  */
808
808
  interface SideBySideLine {
809
809
  /** Left (old) line */
810
- readonly left?: SideBySideEntry<'remove' | 'context'>;
810
+ readonly left?: SideBySideEntry<'remove' | 'context'> | undefined;
811
811
  /** Right (new) line */
812
- readonly right?: SideBySideEntry<'add' | 'context'>;
812
+ readonly right?: SideBySideEntry<'add' | 'context'> | undefined;
813
813
  }
814
814
  /**
815
815
  * Visible lines result for virtualized rendering.
@@ -1032,8 +1032,8 @@ type CodePage = z.infer<typeof CodePageSchema>;
1032
1032
  */
1033
1033
  declare const UnmappableModeSchema: z.ZodEnum<{
1034
1034
  error: "error";
1035
- replace: "replace";
1036
1035
  skip: "skip";
1036
+ replace: "replace";
1037
1037
  }>;
1038
1038
  /**
1039
1039
  * Unmappable character handling mode type.
@@ -1051,8 +1051,8 @@ declare const ConversionOptionsSchema: z.ZodObject<{
1051
1051
  }>;
1052
1052
  unmappable: z.ZodDefault<z.ZodEnum<{
1053
1053
  error: "error";
1054
- replace: "replace";
1055
1054
  skip: "skip";
1055
+ replace: "replace";
1056
1056
  }>>;
1057
1057
  replacement: z.ZodDefault<z.ZodString>;
1058
1058
  interpretControlChars: z.ZodDefault<z.ZodBoolean>;
@@ -1750,19 +1750,19 @@ declare function updateTotalLines(state: MutableFoldState, totalLines: number):
1750
1750
  */
1751
1751
  interface FuzzyOptions {
1752
1752
  /** Whether to ignore case (default: true) */
1753
- readonly caseSensitive?: boolean;
1753
+ readonly caseSensitive?: boolean | undefined;
1754
1754
  /** Minimum score threshold (0-1, default: 0) */
1755
- readonly threshold?: number;
1755
+ readonly threshold?: number | undefined;
1756
1756
  /** Maximum number of results to return (default: unlimited) */
1757
- readonly limit?: number;
1757
+ readonly limit?: number | undefined;
1758
1758
  /** Bonus for consecutive character matches (default: 0.3) */
1759
- readonly consecutiveBonus?: number;
1759
+ readonly consecutiveBonus?: number | undefined;
1760
1760
  /** Bonus for matches at word boundaries (default: 0.2) */
1761
- readonly wordBoundaryBonus?: number;
1761
+ readonly wordBoundaryBonus?: number | undefined;
1762
1762
  /** Bonus for exact prefix match (default: 0.5) */
1763
- readonly prefixBonus?: number;
1763
+ readonly prefixBonus?: number | undefined;
1764
1764
  /** Penalty per character distance between matches (default: 0.1) */
1765
- readonly gapPenalty?: number;
1765
+ readonly gapPenalty?: number | undefined;
1766
1766
  }
1767
1767
  /**
1768
1768
  * A single fuzzy match result.
@@ -1782,7 +1782,7 @@ interface FuzzyMatch<T = string> {
1782
1782
  */
1783
1783
  interface FuzzySearchOptions<T> extends FuzzyOptions {
1784
1784
  /** Function to extract searchable text from an item */
1785
- readonly getText?: (item: T) => string;
1785
+ readonly getText?: ((item: T) => string) | undefined;
1786
1786
  }
1787
1787
  /**
1788
1788
  * Zod schema for fuzzy options.
@@ -2825,14 +2825,14 @@ interface CodeData {
2825
2825
  interface ListData {
2826
2826
  readonly kind: 'list';
2827
2827
  readonly ordered: boolean;
2828
- readonly start?: number;
2828
+ readonly start?: number | undefined;
2829
2829
  readonly items: readonly ListItem[];
2830
2830
  }
2831
2831
  interface ListItem {
2832
2832
  readonly content: string;
2833
2833
  readonly inline: readonly InlineElement[];
2834
2834
  readonly indent: number;
2835
- readonly checked?: boolean;
2835
+ readonly checked?: boolean | undefined;
2836
2836
  }
2837
2837
  interface TableData {
2838
2838
  readonly kind: 'table';
@@ -2874,12 +2874,12 @@ interface RenderedLine {
2874
2874
  * Line style information.
2875
2875
  */
2876
2876
  interface LineStyle {
2877
- readonly fg?: number;
2878
- readonly bg?: number;
2879
- readonly bold?: boolean;
2880
- readonly italic?: boolean;
2881
- readonly underline?: boolean;
2882
- readonly dim?: boolean;
2877
+ readonly fg?: number | undefined;
2878
+ readonly bg?: number | undefined;
2879
+ readonly bold?: boolean | undefined;
2880
+ readonly italic?: boolean | undefined;
2881
+ readonly underline?: boolean | undefined;
2882
+ readonly dim?: boolean | undefined;
2883
2883
  }
2884
2884
  /**
2885
2885
  * Markdown parse result.
@@ -4178,6 +4178,7 @@ declare function searchReverse(text: string, query: string, options?: SearchOpti
4178
4178
  * Text wrapping utilities with Unicode and ANSI support.
4179
4179
  * @module utils/textWrap
4180
4180
  */
4181
+
4181
4182
  /**
4182
4183
  * Text alignment options.
4183
4184
  */
@@ -1 +1 @@
1
- export{Ha as AMBIGUOUS_RANGES,se as AlignmentSchema,Xd as AttrFlags,f as BOX_ASCII,e as BOX_BOLD,g as BOX_DASHED,c as BOX_DOUBLE,d as BOX_ROUNDED,b as BOX_SINGLE,za as COMBINING_RANGES,Aa as COMBINING_SET,Ib as DEFAULT_BATCH_SIZE,P as DEFAULT_COLLAPSE_THRESHOLD,O as DEFAULT_CONTEXT,Rc as DEFAULT_HIGHLIGHT_BATCH,nd as DEFAULT_PARSE_BATCH,Ee as DEFAULT_SEARCH_BATCH,De as DEFAULT_TIMEOUT,Ia as EMOJI_WIDE_RANGES,Sc as EMPTY_STATE,Fa as FULLWIDTH_RANGES,jc as FuzzyOptionsSchema,_c as GRAMMARS,Wc as GRAMMAR_GO,Tc as GRAMMAR_JAVASCRIPT,Yc as GRAMMAR_JSON,Zc as GRAMMAR_PLAINTEXT,Uc as GRAMMAR_PYTHON,Vc as GRAMMAR_RUST,Xc as GRAMMAR_SHELL,fa as HIGH_SURROGATE_END,ea as HIGH_SURROGATE_START,zd as LEAF_MAX_SIZE,Ad as LEAF_MIN_SIZE,ha as LOW_SURROGATE_END,ga as LOW_SURROGATE_START,Bd as MAX_DEPTH,Hb as MAX_PARAGRAPH_CHUNK,Ce as ParsedContentSchema,vb as TerminalWidthProfileSchema,Be as TextSegmentSchema,Ea as WIDE_RANGES,Ge as WORD_BOUNDARY_AFTER,Fe as WORD_BOUNDARY_BEFORE,ub as WidthOverrideSchema,Ga as ZERO_WIDTH_RANGES,Wb as addFoldRegion,Rd as append,ue as attrToTag,Zd as attrsToStyle,ye as attrsToTags,He as boyerMooreHorspool,n as bufferToString,w as buildLineIndex,x as buildLineIndexFromLengths,wb as buildTestCorpus,pb as centerByWidth,Id as charAt,xa as charAtCodePoint,gb as charWidth,hb as charWidthAt,sa as characters,a as charsetToBoxChars,E as clampCursor,me as cleanTags,S as clearDiffCache,ad as clearHighlightCache,Gc as clearLazyContent,rd as clearMarkdownCache,Oe as clearSearchCache,zb as clearWidthOverrides,Kb as clearWrapCache,oa as codePointAt,ta as codePointLength,na as codePointToSurrogatePair,fb as codePointWidth,qa as codePoints,V as collapseChunk,Y as collapseUnchanged,te as colorToTag,rb as columnAtIndex,Q as computeDiff,T as computeDiffCached,Kc as computeDigitWidth,Lc as computeGutterWidth,Oc as computeVisibleGutter,jd as continueHighlight,Ob as continueWrap,Jc as createArraySource,h as createCellBuffer,o as createCoalescer,A as createCursor,R as createDiffCache,Dd as createEmptyRope,Vb as createFoldState,Mc as createGutterConfig,$c as createHighlightCache,Cc as createLazyContent,qd as createMarkdownCache,C as createNavConfig,Cd as createRope,Ne as createSearchCache,oe as createTaggedText,B as createViewport,Jb as createWrapCache,je as decodeStyleAttr,t as deleteChange,Td as deleteRange,v as destroyCoalescer,kd as detectLanguage,ld as detectLanguageFromContent,Ya as dropUnicode,ie as encodeStyleAttr,da as encoding,D as ensureCursorVisible,ne as escapeTags,Fc as evictChunks,X as expandAll,U as expandChunk,l as fillRect,Eb as filterByCategory,xc as findAllFiles,wc as findFile,Ue as findNearestMatch,q as flushChanges,$b as foldAll,bc as foldAtDepth,Yb as foldRegion,Nc as formatLineNumber,Gb as formatTestReport,pa as fromCodePoint,oc as fuzzyFilter,kc as fuzzyMatch,lc as fuzzySearch,mc as fuzzySearchBy,pc as fuzzyTest,we as generateCloseTags,ve as generateTags,dc as getAllFoldRegions,Fb as getCategories,Ma as getCharWidth,r as getCoalescingState,Da as getCombiningCharCount,ca as getDiffStats,cc as getFoldAtLine,hc as getFoldStats,md as getGrammarByName,cd as getHighlightStats,xb as getKnownBadSequences,Hc as getLazyContentState,Dc as getLazyLines,Ed as getLength,Od as getLine,Gd as getLineCount,Nd as getLineEnd,Ld as getLineForIndex,Md as getLineStart,Pd as getLines,xd as getMarkdownLineCount,yd as getMarkdownStats,Te as getMatchAt,We as getMatchStatus,Fd as getNewlineCount,Re as getNextMatch,Ab as getOverrideCount,Bb as getOverrideWidth,Se as getPreviousMatch,$ as getSideBySideView,Vd as getStats,Kd as getText,_ as getTotalLineCount,Z as getVisibleDiffLines,ec as getVisibleFoldLines,wd as getVisibleMarkdown,Ve as getVisibleMatches,Ub as getWrapCacheStats,L as goToEnd,H as goToLine,K as goToStart,Qa as graphemeAt,Na as graphemeClusters,Pa as graphemeCount,Sa as graphemeWidth,Ac as groupBy,Pc as gutterWidthChanged,Wa as hasGraphemeSegmenter,re as hasTags,sb as hasWideChars,tb as hasZeroWidthChars,nc as highlightMatch,id as highlightVisibleFirst,hd as highlightWithCache,qb as indexAtColumn,Qd as insert,s as insertChange,yb as installWidthOverrides,Rb as invalidateAll,fd as invalidateAllLines,ed as invalidateLine,dd as invalidateLines,td as invalidateMarkdownLines,Qb as invalidateParagraph,Pb as invalidateRange,La as isAmbiguousChar,wa as isAstral,va as isBMP,Ba as isCombiningChar,Ca as isCombiningCharBinarySearch,Hd as isEmpty,ia as isHighSurrogate,ja as isLowSurrogate,Ic as isRangeLoaded,la as isSurrogate,ka as isSurrogateCode,ua as isValidCodePoint,Ja as isWideChar,Ka as isZeroWidthChar,y as lineForOffset,Sb as lineToPosition,Cb as measureWidthWithOverrides,qc as merge,pe as mergeSegments,G as moveCursorDown,M as moveCursorLeft,N as moveCursorRight,F as moveCursorUp,bb as normalizeNFC,cb as normalizeNFD,db as normalizeNFKC,eb as normalizeNFKD,z as offsetForLine,gc as originalToVisibleLine,nb as padEndByWidth,ob as padStartByWidth,J as pageDown,I as pageUp,od as parseInline,pd as parseMarkdown,sd as parseMarkdownCached,ke as parseTags,ba as parseUnifiedDiff,Ae as parsedToTaggedText,Bc as partition,Tb as positionToLine,Ie as positionToLineColumn,Ec as prefetchAround,Sd as prepend,p as queueChange,Xb as removeFoldRegion,ud as renderBlock,i as renderBox,Qc as renderGutterBlock,j as renderHLine,vd as renderMarkdown,m as renderText,k as renderVLine,u as replaceChange,Ud as replaceRange,Lb as resizeWrapCache,Xa as reverseGraphemes,Db as runWidthTests,_d as sattr,ee as sattrAddFlag,be as sattrCopy,he as sattrEmpty,ae as sattrEqual,$d as sattrFromStyleData,de as sattrHasFlag,ge as sattrInvert,ce as sattrMerge,fe as sattrRemoveFlag,Le as search,Me as searchBatch,Je as searchLiteral,Ke as searchRegex,Xe as searchReverse,Qe as searchWithCache,ze as segmentToTaggedText,bd as setGrammar,rc as shallowMerge,kb as sliceByWidth,Ua as sliceByWidthGrapheme,ya as sliceCodePoints,Ra as sliceGraphemes,vc as sortBy,tc as sortByIndex,sc as sortByName,uc as sortByPriority,jb as strWidth,ib as stringWidth,Ta as stringWidthGrapheme,$a as stripCombining,ab as stripControl,le as stripTags,_a as stripZeroWidth,Yd as styleToAttrs,Jd as substring,ma as surrogatePairToCodePoint,qe as taggedLength,Za as toAscii,ra as toCodePoints,Oa as toGraphemes,aa as toUnifiedDiff,W as toggleChunk,_b as toggleFold,gd as tokenizeLine,lb as truncateByWidth,mb as truncateWithEllipsis,Va as truncateWithEllipsisGrapheme,ac as unfoldAll,Zb as unfoldRegion,yc as unique,zc as uniqueBy,Pe as updateSearchQuery,ic as updateTotalLines,Wd as verify,fc as visibleToOriginalLine,Nb as wrapVisibleFirst,Mb as wrapWithCache,xe as wrapWithTags}from'../chunk-4GISPPOH.js';export{a as formatDate,b as unixTimestamp,c as unixTimestampMs}from'../chunk-AXZQAH4X.js';export{d as COMPRESSION_RATIO,a as DEFAULT_CHUNK_SIZE,b as DEFAULT_MAX_CACHED,c as DEFAULT_MAX_MEMORY,g as appendLine,h as appendLines,f as clearScrollback,u as compressOldChunks,e as createScrollbackBuffer,v as decompressAll,s as exportToText,j as getLineRange,q as getMemoryUsage,i as getScrollbackLine,p as getScrollbackStats,k as getVisibleLines,l as jumpToLine,r as loadFromText,m as scrollBy,o as scrollToBottom,n as scrollToTop,t as trimToLineCount}from'../chunk-TYMY2TBR.js';export{e as CHUNKED_THRESHOLD,a as LineIndexSchema,b as LineRangeParamsSchema,d as TrimParamsSchema,c as VisibleLinesParamsSchema,n as appendLinesToStore,m as appendToStore,h as createEmptyLineStore,f as createLineStore,g as createLineStoreFromLines,u as exportContent,v as exportLineRange,p as getByteSize,i as getLineAtIndex,s as getLineForOffset,j as getLineInfo,o as getLineStoreLineCount,k as getLineStoreRange,l as getLineStoreVisibleLines,t as getOffsetForLine,r as getStoreStats,q as isStoreEmpty,w as trimLineStore}from'../chunk-VOCM5T2G.js';export{a as createComponentStore,b as createSparseStore,c as createTypedArrayPool,d as estimateMemoryUsage,e as getComponentMemoryReport,f as isWithinMemoryBounds}from'../chunk-EAY7B5GL.js';import'../chunk-K3SX2LY5.js';import'../chunk-LCN2ZITE.js';export{d as alignLine,b as getVisibleWidth,g as padHeight,a as stripAnsi,c as truncate,e as wordWrap,f as wrapText}from'../chunk-WNG4A3K7.js';export{d as colorToHex,c as hexToColor,a as packColor,e as parseColor,b as unpackColor}from'../chunk-SHUC6JWA.js';import'../chunk-PXXGH3BV.js';import'../chunk-5PELJRUQ.js';
1
+ export{Ha as AMBIGUOUS_RANGES,le as AlignmentSchema,Qd as AttrFlags,f as BOX_ASCII,e as BOX_BOLD,g as BOX_DASHED,c as BOX_DOUBLE,d as BOX_ROUNDED,b as BOX_SINGLE,za as COMBINING_RANGES,Aa as COMBINING_SET,Ib as DEFAULT_BATCH_SIZE,P as DEFAULT_COLLAPSE_THRESHOLD,O as DEFAULT_CONTEXT,Kc as DEFAULT_HIGHLIGHT_BATCH,gd as DEFAULT_PARSE_BATCH,xe as DEFAULT_SEARCH_BATCH,we as DEFAULT_TIMEOUT,Ia as EMOJI_WIDE_RANGES,Lc as EMPTY_STATE,Fa as FULLWIDTH_RANGES,Tc as GRAMMARS,Pc as GRAMMAR_GO,Mc as GRAMMAR_JAVASCRIPT,Rc as GRAMMAR_JSON,Sc as GRAMMAR_PLAINTEXT,Nc as GRAMMAR_PYTHON,Oc as GRAMMAR_RUST,Qc as GRAMMAR_SHELL,fa as HIGH_SURROGATE_END,ea as HIGH_SURROGATE_START,sd as LEAF_MAX_SIZE,td as LEAF_MIN_SIZE,ha as LOW_SURROGATE_END,ga as LOW_SURROGATE_START,ud as MAX_DEPTH,Hb as MAX_PARAGRAPH_CHUNK,ve as ParsedContentSchema,vb as TerminalWidthProfileSchema,ue as TextSegmentSchema,Ea as WIDE_RANGES,ze as WORD_BOUNDARY_AFTER,ye as WORD_BOUNDARY_BEFORE,ub as WidthOverrideSchema,Ga as ZERO_WIDTH_RANGES,Wb as addFoldRegion,Kd as append,ne as attrToTag,Sd as attrsToStyle,re as attrsToTags,Ae as boyerMooreHorspool,n as bufferToString,w as buildLineIndex,x as buildLineIndexFromLengths,wb as buildTestCorpus,pb as centerByWidth,Bd as charAt,xa as charAtCodePoint,gb as charWidth,hb as charWidthAt,sa as characters,a as charsetToBoxChars,E as clampCursor,fe as cleanTags,S as clearDiffCache,Vc as clearHighlightCache,zc as clearLazyContent,kd as clearMarkdownCache,He as clearSearchCache,zb as clearWidthOverrides,Kb as clearWrapCache,oa as codePointAt,ta as codePointLength,na as codePointToSurrogatePair,fb as codePointWidth,qa as codePoints,V as collapseChunk,Y as collapseUnchanged,me as colorToTag,rb as columnAtIndex,Q as computeDiff,T as computeDiffCached,Dc as computeDigitWidth,Ec as computeGutterWidth,Hc as computeVisibleGutter,cd as continueHighlight,Ob as continueWrap,Cc as createArraySource,h as createCellBuffer,o as createCoalescer,A as createCursor,R as createDiffCache,wd as createEmptyRope,Vb as createFoldState,Fc as createGutterConfig,Uc as createHighlightCache,vc as createLazyContent,jd as createMarkdownCache,C as createNavConfig,vd as createRope,Ge as createSearchCache,he as createTaggedText,B as createViewport,Jb as createWrapCache,ce as decodeStyleAttr,t as deleteChange,Md as deleteRange,v as destroyCoalescer,dd as detectLanguage,ed as detectLanguageFromContent,Ya as dropUnicode,be as encodeStyleAttr,da as encoding,D as ensureCursorVisible,ge as escapeTags,yc as evictChunks,X as expandAll,U as expandChunk,l as fillRect,Eb as filterByCategory,qc as findAllFiles,pc as findFile,Ne as findNearestMatch,q as flushChanges,$b as foldAll,bc as foldAtDepth,Yb as foldRegion,Gc as formatLineNumber,Gb as formatTestReport,pa as fromCodePoint,pe as generateCloseTags,oe as generateTags,dc as getAllFoldRegions,Fb as getCategories,Ma as getCharWidth,r as getCoalescingState,Da as getCombiningCharCount,ca as getDiffStats,cc as getFoldAtLine,hc as getFoldStats,fd as getGrammarByName,Xc as getHighlightStats,xb as getKnownBadSequences,Ac as getLazyContentState,wc as getLazyLines,xd as getLength,Hd as getLine,zd as getLineCount,Gd as getLineEnd,Ed as getLineForIndex,Fd as getLineStart,Id as getLines,qd as getMarkdownLineCount,rd as getMarkdownStats,Me as getMatchAt,Pe as getMatchStatus,yd as getNewlineCount,Ke as getNextMatch,Ab as getOverrideCount,Bb as getOverrideWidth,Le as getPreviousMatch,$ as getSideBySideView,Od as getStats,Dd as getText,_ as getTotalLineCount,Z as getVisibleDiffLines,ec as getVisibleFoldLines,pd as getVisibleMarkdown,Oe as getVisibleMatches,Ub as getWrapCacheStats,L as goToEnd,H as goToLine,K as goToStart,Qa as graphemeAt,Na as graphemeClusters,Pa as graphemeCount,Sa as graphemeWidth,tc as groupBy,Ic as gutterWidthChanged,Wa as hasGraphemeSegmenter,ke as hasTags,sb as hasWideChars,tb as hasZeroWidthChars,bd as highlightVisibleFirst,ad as highlightWithCache,qb as indexAtColumn,Jd as insert,s as insertChange,yb as installWidthOverrides,Rb as invalidateAll,_c as invalidateAllLines,Zc as invalidateLine,Yc as invalidateLines,md as invalidateMarkdownLines,Qb as invalidateParagraph,Pb as invalidateRange,La as isAmbiguousChar,wa as isAstral,va as isBMP,Ba as isCombiningChar,Ca as isCombiningCharBinarySearch,Ad as isEmpty,ia as isHighSurrogate,ja as isLowSurrogate,Bc as isRangeLoaded,la as isSurrogate,ka as isSurrogateCode,ua as isValidCodePoint,Ja as isWideChar,Ka as isZeroWidthChar,y as lineForOffset,Sb as lineToPosition,Cb as measureWidthWithOverrides,jc as merge,ie as mergeSegments,G as moveCursorDown,M as moveCursorLeft,N as moveCursorRight,F as moveCursorUp,bb as normalizeNFC,cb as normalizeNFD,db as normalizeNFKC,eb as normalizeNFKD,z as offsetForLine,gc as originalToVisibleLine,nb as padEndByWidth,ob as padStartByWidth,J as pageDown,I as pageUp,hd as parseInline,id as parseMarkdown,ld as parseMarkdownCached,de as parseTags,ba as parseUnifiedDiff,te as parsedToTaggedText,uc as partition,Tb as positionToLine,Be as positionToLineColumn,xc as prefetchAround,Ld as prepend,p as queueChange,Xb as removeFoldRegion,nd as renderBlock,i as renderBox,Jc as renderGutterBlock,j as renderHLine,od as renderMarkdown,m as renderText,k as renderVLine,u as replaceChange,Nd as replaceRange,Lb as resizeWrapCache,Xa as reverseGraphemes,Db as runWidthTests,Td as sattr,Zd as sattrAddFlag,Wd as sattrCopy,ae as sattrEmpty,Vd as sattrEqual,Ud as sattrFromStyleData,Yd as sattrHasFlag,$d as sattrInvert,Xd as sattrMerge,_d as sattrRemoveFlag,Ee as search,Fe as searchBatch,Ce as searchLiteral,De as searchRegex,Qe as searchReverse,Je as searchWithCache,se as segmentToTaggedText,Wc as setGrammar,kc as shallowMerge,kb as sliceByWidth,Ua as sliceByWidthGrapheme,ya as sliceCodePoints,Ra as sliceGraphemes,oc as sortBy,mc as sortByIndex,lc as sortByName,nc as sortByPriority,jb as strWidth,ib as stringWidth,Ta as stringWidthGrapheme,$a as stripCombining,ab as stripControl,ee as stripTags,_a as stripZeroWidth,Rd as styleToAttrs,Cd as substring,ma as surrogatePairToCodePoint,je as taggedLength,Za as toAscii,ra as toCodePoints,Oa as toGraphemes,aa as toUnifiedDiff,W as toggleChunk,_b as toggleFold,$c as tokenizeLine,lb as truncateByWidth,mb as truncateWithEllipsis,Va as truncateWithEllipsisGrapheme,ac as unfoldAll,Zb as unfoldRegion,rc as unique,sc as uniqueBy,Ie as updateSearchQuery,ic as updateTotalLines,Pd as verify,fc as visibleToOriginalLine,Nb as wrapVisibleFirst,Mb as wrapWithCache,qe as wrapWithTags}from'../chunk-WJRVUAZR.js';export{a as FuzzyOptionsSchema,h as formatDate,f as fuzzyFilter,b as fuzzyMatch,c as fuzzySearch,d as fuzzySearchBy,g as fuzzyTest,e as highlightMatch,i as unixTimestamp,j as unixTimestampMs}from'../chunk-6PX5R326.js';export{d as COMPRESSION_RATIO,a as DEFAULT_CHUNK_SIZE,b as DEFAULT_MAX_CACHED,c as DEFAULT_MAX_MEMORY,g as appendLine,h as appendLines,f as clearScrollback,u as compressOldChunks,e as createScrollbackBuffer,v as decompressAll,s as exportToText,j as getLineRange,q as getMemoryUsage,i as getScrollbackLine,p as getScrollbackStats,k as getVisibleLines,l as jumpToLine,r as loadFromText,m as scrollBy,o as scrollToBottom,n as scrollToTop,t as trimToLineCount}from'../chunk-JHCKPCUH.js';export{e as CHUNKED_THRESHOLD,a as LineIndexSchema,b as LineRangeParamsSchema,d as TrimParamsSchema,c as VisibleLinesParamsSchema,n as appendLinesToStore,m as appendToStore,h as createEmptyLineStore,f as createLineStore,g as createLineStoreFromLines,u as exportContent,v as exportLineRange,p as getByteSize,i as getLineAtIndex,s as getLineForOffset,j as getLineInfo,o as getLineStoreLineCount,k as getLineStoreRange,l as getLineStoreVisibleLines,t as getOffsetForLine,r as getStoreStats,q as isStoreEmpty,w as trimLineStore}from'../chunk-VOCM5T2G.js';export{m as createComponentStore,n as createSparseStore,o as createTypedArrayPool,p as estimateMemoryUsage,q as getComponentMemoryReport,r as isWithinMemoryBounds}from'../chunk-RJULLVTH.js';import'../chunk-ZPGJCHXH.js';export{d as alignLine,b as getVisibleWidth,g as padHeight,a as stripAnsi,c as truncate,e as wordWrap,f as wrapText}from'../chunk-NPDPBAW6.js';export{r as colorToHex,q as hexToColor,o as packColor,s as parseColor,p as unpackColor}from'../chunk-P3ZLIQJP.js';import'../chunk-5PELJRUQ.js';
@@ -16,11 +16,11 @@ interface ScrollbackLine {
16
16
  /** The text content of the line */
17
17
  readonly text: string;
18
18
  /** ANSI formatting preserved */
19
- readonly ansi?: string;
19
+ readonly ansi?: string | undefined;
20
20
  /** Timestamp when line was added */
21
- readonly timestamp?: number;
21
+ readonly timestamp?: number | undefined;
22
22
  /** Custom metadata */
23
- readonly meta?: Record<string, unknown>;
23
+ readonly meta?: Record<string, unknown> | undefined;
24
24
  }
25
25
  /**
26
26
  * A chunk of lines.
@@ -37,7 +37,7 @@ interface Chunk {
37
37
  /** Whether this chunk is compressed */
38
38
  compressed: boolean;
39
39
  /** Compressed data (when compressed=true) */
40
- compressedData?: string;
40
+ compressedData?: string | undefined;
41
41
  /** Approximate memory usage in bytes */
42
42
  memorySize: number;
43
43
  /** Last access time for LRU */