@gguf/coder 0.5.3 → 0.5.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAmBA,wBAkEG"}
1
+ {"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAmBA,wBAiEG"}
@@ -1,7 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Box, Text } from 'ink';
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Text } from 'ink';
3
3
  import { memo } from 'react';
4
- import { TitledBox } from '../components/ui/titled-box.js';
4
+ // import { TitledBox } from '../components/ui/titled-box.js';
5
5
  import { useResponsiveTerminal } from '../hooks/useTerminalWidth.js';
6
6
  import { useTheme } from '../hooks/useTheme.js';
7
7
  import { fileURLToPath } from 'url';
@@ -16,14 +16,14 @@ const packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, '../../packa
16
16
  export default memo(function WelcomeMessage() {
17
17
  const { boxWidth, isNarrow, isNormal } = useResponsiveTerminal();
18
18
  const { colors } = useTheme();
19
- return (_jsx(_Fragment, { children: isNarrow ? (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
20
- █▀▀ ▄█▄█▄█▄ █▀▀ █▀█
21
- █▄▄▄▀▄▀▀▀▄▀ ██▄ █▀▄
22
- ` }) }), _jsxs(Box, { flexDirection: "column", marginBottom: 1, borderStyle: "round", borderColor: colors.primary, paddingY: 1, paddingX: 2, children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.primary, bold: true, children: packageJson.version }) }), _jsx(Text, { color: colors.white, children: "Tips:" }), _jsx(Text, { color: colors.secondary, children: "\u2022 /help for commands" }), _jsx(Text, { color: colors.secondary, children: "\u2022 Ctrl+C to quit" })] })] })) : (
19
+ return (_jsx(_Fragment, { children: isNarrow ? (_jsx(_Fragment, { children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
20
+ ▄█▄█▄█▄
21
+ █▄███▄█ ${packageJson.version}
22
+ ` }) }) })) : (
23
23
  /* Normal/Wide terminal: full version with TitledBox */
24
- _jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
24
+ _jsx(_Fragment, { children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
25
25
  █▀▀ ▄█▄█▄█▄ █▀▀ █▀█
26
- █▄▄▄▀▄▀▀▀▄▀ ██▄ █▀▄
27
- ` }) }), _jsx(TitledBox, { title: packageJson.version, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: _jsx(Box, { children: _jsx(Text, { color: colors.white, children: "\uD83C\uDF8A\u2728 Happy New Year 2026!\uD83C\uDF89\uD83C\uDF88 /help for help" }) }) })] })) }));
26
+ █▄▄▄▀▄▀▀▀▄▀ ██▄ █▀▄ ✻ ${packageJson.version}
27
+ ` }) }) })) }));
28
28
  });
29
29
  //# sourceMappingURL=welcome-message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"welcome-message.js","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;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