@gguf/coder 0.6.0 → 0.6.2
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/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAoBA,wBAkEG"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Text } from 'ink';
|
|
2
|
+
// import { Box, Text } from 'ink';
|
|
3
3
|
import { memo } from 'react';
|
|
4
|
+
import { Text } from 'ink';
|
|
4
5
|
// import { TitledBox } from '../components/ui/titled-box.js';
|
|
5
6
|
import { useResponsiveTerminal } from '../hooks/useTerminalWidth.js';
|
|
6
7
|
import { useTheme } from '../hooks/useTheme.js';
|
|
@@ -14,11 +15,12 @@ const __dirname = path.dirname(__filename);
|
|
|
14
15
|
// Read package.json once at module load time to avoid repeated file reads
|
|
15
16
|
const packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, '../../package.json'), 'utf8'));
|
|
16
17
|
export default memo(function WelcomeMessage() {
|
|
17
|
-
const { boxWidth, isNarrow, isNormal } = useResponsiveTerminal();
|
|
18
|
+
// const { boxWidth, isNarrow, isNormal } = useResponsiveTerminal();
|
|
19
|
+
const { isNarrow } = useResponsiveTerminal();
|
|
18
20
|
const { colors } = useTheme();
|
|
19
21
|
return (_jsx(_Fragment, { children: isNarrow ? (_jsx(_Fragment, { children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
▀▄█▄▄▄█▄▀
|
|
23
|
+
▀▄▀▀▀▄▀
|
|
22
24
|
` }) }) })) : (
|
|
23
25
|
/* Normal/Wide terminal: full version with TitledBox */
|
|
24
26
|
_jsx(_Fragment, { children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(Text, { children: `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-message.js","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"welcome-message.js","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,0DAA0D;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,sCAAsC;AACtC,OAAO,QAAQ,MAAM,cAAc,CAAC;AAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAE3C,0EAA0E;AAC1E,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAC7B,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,EAAE,MAAM,CAAC,CAC5C,CAAC;AAEzB,eAAe,IAAI,CAAC,SAAS,cAAc;IAC1C,oEAAoE;IACpE,MAAM,EAAE,QAAQ,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAC7C,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAE9B,OAAO,CACN,4BAEE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