@gguf/coder 0.1.5 → 0.1.6

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,wBA2EG"}
1
+ {"version":3,"file":"welcome-message.d.ts","sourceRoot":"","sources":["../../source/components/welcome-message.tsx"],"names":[],"mappings":";AAqBA,wBAgFG"}
@@ -16,12 +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(BigText, { text: "NC", 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" })] })] })) : (
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: "Coder", font: "tiny" }) }), _jsxs(TitledBox, { title: `✻ Welcome to Coder ${packageJson.version}`, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.white, children: "Tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: isNormal
21
+ _jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "coder", font: "tiny" }) }), _jsxs(TitledBox
22
+ // title={`✻ Welcome to Coder ${packageJson.version}`}
23
+ , {
24
+ // title={`✻ Welcome to Coder ${packageJson.version}`}
25
+ title: `Version ${packageJson.version}`, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.white, children: "/help for help; tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: isNormal
22
26
  ? '1. Use natural language to describe your task.'
23
- : '1. Use natural language to describe what you want to build.' }), _jsx(Text, { color: colors.secondary, children: "2. Ask for file analysis, editing, bash commands and more." }), _jsx(Text, { color: colors.secondary, children: isNormal
24
- ? '3. Be specific for best results.'
25
- : '3. Be specific as you would with another engineer for best results.' }), _jsx(Text, { color: colors.secondary, children: "4. Type /exit or press Ctrl+C to quit." })] }), _jsx(Text, { color: colors.white, children: "/help for help" })] })] })) }));
27
+ : '1. Use natural language to describe what you want to build.' }), _jsx(Text, { color: colors.secondary, children: "2. Type /exit or press Ctrl+C to quit." })] })] })] })) }));
26
28
  });
27
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,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,IAAI,CAAC,KAAK,CAC7B,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,EAAE,MAAM,CAAC,CAC9C,CAAC;AAEvB,eAAe,IAAI,CAAC,SAAS,cAAc;IAC1C,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAC,GAAG,qBAAqB,EAAE,CAAC;IAC/D,MAAM,EAAC,MAAM,EAAC,GAAG,QAAQ,EAAE,CAAC;IAE5B,OAAO,CACN,4BAEE,QAAQ,CAAC,CAAC,CAAC,CACX,8BACC,KAAC,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