@gguf/coder 0.1.5 → 0.1.7
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":";AAqBA,
|
|
1
|
+
{"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAqBA,wBA+EG"}
|
|
@@ -16,12 +16,12 @@ 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(BigText, { text: "
|
|
19
|
+
return (_jsx(_Fragment, { children: isNarrow ? (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "coder", font: "tiny" }) }), _jsxs(Box, { flexDirection: "column", marginBottom: 1, borderStyle: "round", borderColor: colors.primary, paddingY: 1, paddingX: 2, children: [_jsx(Box, { marginBottom: 1, children: _jsxs(Text, { color: colors.primary, bold: true, children: ["\u273B Version ", packageJson.version] }) }), _jsx(Text, { color: colors.white, children: "Quick tips:" }), _jsx(Text, { color: colors.secondary, children: "\u2022 Use natural language" }), _jsx(Text, { color: colors.secondary, children: "\u2022 /help for commands" }), _jsx(Text, { color: colors.secondary, children: "\u2022 Ctrl+C to quit" })] })] })) : (
|
|
20
20
|
/* Normal/Wide terminal: full version with TitledBox */
|
|
21
|
-
_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "coder", font: "tiny" }) }), _jsx(TitledBox
|
|
22
|
+
// title={`✻ Welcome to Coder ${packageJson.version}`}
|
|
23
|
+
, {
|
|
24
|
+
// title={`✻ Welcome to Coder ${packageJson.version}`}
|
|
25
|
+
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\uDF84\uD83C\uDF85 Merry Christmas!\uD83C\uDF81 /help for help" }) }) })] })) }));
|
|
26
26
|
});
|
|
27
27
|
//# 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,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,KAAK,CAAC;AAC9B,OAAO,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAC,aAAa,EAAC,MAAM,KAAK,CAAC;AAClC,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,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,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