@opentuah/core 0.1.86 → 0.1.88

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/3d.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  RGBA,
4
4
  Renderable
5
- } from "./index-k7jgng5f.js";
5
+ } from "./index-1n3xjscm.js";
6
6
 
7
7
  // src/3d/WGPURenderer.ts
8
8
  import { PerspectiveCamera, Color, NoToneMapping, LinearSRGBColorSpace } from "three";
@@ -8109,11 +8109,12 @@ try {
8109
8109
  const module = await import(`@opentuah/core-${process.platform}-${process.arch}/index.ts`);
8110
8110
  targetLibPath = module.default;
8111
8111
  } catch {
8112
- if (process.platform !== "linux") {
8112
+ if (process.platform === "linux") {
8113
+ const module = await import(`@opentuah/core-linux-musl-${process.arch}/index.ts`);
8114
+ targetLibPath = module.default;
8115
+ } else {
8113
8116
  throw new Error(`opentui is not supported on the current platform: ${process.platform}-${process.arch}`);
8114
8117
  }
8115
- const module = await import(`@opentuah/core-linux-musl-${process.arch}/index.ts`);
8116
- targetLibPath = module.default;
8117
8118
  }
8118
8119
  if (isBunfsPath(targetLibPath)) {
8119
8120
  targetLibPath = targetLibPath.replace("../", "");
@@ -15077,5 +15078,5 @@ Captured output:
15077
15078
 
15078
15079
  export { isValidBorderStyle, parseBorderStyle, BorderChars, getBorderFromSides, getBorderSides, borderCharsToArray, BorderCharArrays, nonAlphanumericKeys, parseKeypress, KeyEvent, PasteEvent, KeyHandler, InternalKeyHandler, RGBA, hexToRgb, rgbToHex, hsvToRgb, parseColor, fonts, measureText, getCharacterPositions, coordinateToCharacterIndex, renderFontToFrameBuffer, TextAttributes, ATTRIBUTE_BASE_BITS, ATTRIBUTE_BASE_MASK, getBaseAttributes, DebugOverlayCorner, createTextAttributes, attributesWithLink, getLinkId, visualizeRenderableTree, isStyledText, StyledText, stringToStyledText, black, red, green, yellow, blue, magenta, cyan, white, brightBlack, brightRed, brightGreen, brightYellow, brightBlue, brightMagenta, brightCyan, brightWhite, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bold, italic, underline, strikethrough, dim, reverse, blink, fg, bg, link, t, hastToStyledText, LinearScrollAccel, MacOSScrollAccel, StdinBuffer, parseAlign, parseAlignItems, parseBoxSizing, parseDimension, parseDirection, parseDisplay, parseEdge, parseFlexDirection, parseGutter, parseJustify, parseLogLevel, parseMeasureMode, parseOverflow, parsePositionType, parseUnit, parseWrap, MouseParser, Selection, convertGlobalToLocalSelection, ASCIIFontSelectionHelper, envRegistry, registerEnvVar, clearEnvCache, generateEnvMarkdown, generateEnvColored, env, treeSitterToTextChunks, treeSitterToStyledText, addDefaultParsers, TreeSitterClient, DataPathsManager, getDataPaths, extToFiletype, pathToFiletype, main, getTreeSitterClient, ExtmarksController, createExtmarksController, TerminalPalette, createTerminalPalette, VTermStyleFlags, vtermDataToStyledText, TextBuffer, LogLevel2 as LogLevel, setRenderLibPath, resolveRenderLib, OptimizedBuffer, h, isVNode, maybeMakeRenderable, wrapWithDelegates, instantiate, delegate, isValidPercentage, LayoutEvents, RenderableEvents, isRenderable, BaseRenderable, Renderable, RootRenderable, ANSI, defaultKeyAliases, mergeKeyAliases, mergeKeyBindings, getKeyBindingKey, buildKeyBindingsMap, capture, ConsolePosition, TerminalConsole, getObjectsInViewport, buildKittyKeyboardFlags, MouseEvent, MouseButton, createCliRenderer, CliRenderEvents, RendererControlState, CliRenderer };
15079
15080
 
15080
- //# debugId=7E0C146AD00552B664756E2164756E21
15081
- //# sourceMappingURL=index-k7jgng5f.js.map
15081
+ //# debugId=C15A319C5711EB2964756E2164756E21
15082
+ //# sourceMappingURL=index-1n3xjscm.js.map