@pikecode/api-key-manager 1.1.2 โ†’ 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikecode/api-key-manager",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A CLI tool for managing and switching multiple API provider configurations",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -13,12 +13,12 @@ class StatusHelper {
13
13
  */
14
14
  static getIconForState(state) {
15
15
  const iconMap = {
16
- online: '๐ŸŸข',
17
- degraded: '๐ŸŸก',
18
- offline: '๐Ÿ”ด',
19
- pending: 'โณ'
16
+ online: chalk.green('โ—'),
17
+ degraded: chalk.yellow('โ—'),
18
+ offline: chalk.red('โ—‹'),
19
+ pending: chalk.gray('โ€ฆ')
20
20
  };
21
- return iconMap[state] || 'โšช';
21
+ return iconMap[state] || chalk.gray('ยท');
22
22
  }
23
23
 
24
24
  /**
@@ -31,8 +31,8 @@ class UIHelper {
31
31
  static createStatus(status, label) {
32
32
  const statusConfig = {
33
33
  current: { icon: UIHelper.icons.current, color: UIHelper.colors.success },
34
- active: { icon: '๐ŸŸข', color: UIHelper.colors.success },
35
- inactive: { icon: 'โšซ', color: UIHelper.colors.muted },
34
+ active: { icon: chalk.green('โ—'), color: UIHelper.colors.success },
35
+ inactive: { icon: chalk.gray('ยท'), color: UIHelper.colors.muted },
36
36
  loading: { icon: UIHelper.icons.loading, color: UIHelper.colors.warning },
37
37
  error: { icon: UIHelper.icons.error, color: UIHelper.colors.error }
38
38
  };
@@ -208,23 +208,23 @@ UIHelper.colors = {
208
208
 
209
209
  // ๅ›พๆ ‡
210
210
  UIHelper.icons = {
211
- success: 'โœ…',
212
- error: 'โŒ',
213
- warning: 'โš ๏ธ',
214
- info: 'โ„น๏ธ',
215
- loading: 'โณ',
211
+ success: 'โœ“',
212
+ error: 'โœ—',
213
+ warning: '!',
214
+ info: 'i',
215
+ loading: 'โ€ฆ',
216
216
  arrow: 'โ†’',
217
- back: '๐Ÿ”™',
218
- home: '๐Ÿ ',
219
- settings: 'โš™๏ธ',
220
- add: 'โž•',
221
- edit: 'โœ๏ธ',
222
- delete: '๐Ÿ—‘๏ธ',
223
- launch: '๐Ÿš€',
224
- list: '๐Ÿ“‹',
225
- config: '๐Ÿ› ๏ธ',
226
- current: '๐ŸŽฏ',
227
- search: '๐Ÿ”'
217
+ back: 'โ†',
218
+ home: '~',
219
+ settings: '*',
220
+ add: '+',
221
+ edit: '~',
222
+ delete: '-',
223
+ launch: 'โ–ถ',
224
+ list: 'โ‰ก',
225
+ config: '#',
226
+ current: 'โ€บ',
227
+ search: '?'
228
228
  };
229
229
 
230
230
  module.exports = { UIHelper };