ispbills-icli 8.6.4 → 8.6.5

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": "ispbills-icli",
3
- "version": "8.6.4",
3
+ "version": "8.6.5",
4
4
  "description": "iCli — IspBills AI network engineer in your terminal",
5
5
  "keywords": [
6
6
  "ispbills",
package/src/commands.js CHANGED
@@ -118,6 +118,7 @@ export const SLASH_COMMANDS = [
118
118
  // ── Help & Feedback ──
119
119
  { cmd: '/changelog', hint: '', desc: 'Show recent npm package releases', group: 'Help', local: true },
120
120
  { cmd: '/feedback', hint: '', desc: 'Show the feedback / bug-report URL', group: 'Help', local: true },
121
+ { cmd: '/bug', hint: '', desc: 'Report a bug (alias for /feedback)', group: 'Help', local: true },
121
122
  { cmd: '/update', hint: '', desc: 'Update iCli to the latest version', group: 'Help', local: true },
122
123
  { cmd: '/downgrade', hint: 'VERSION', desc: 'Roll back to a specific CLI version', group: 'Help', local: true },
123
124
  { cmd: '/app', hint: '', desc: 'Launch the GitHub Copilot desktop app', group: 'Help', local: true },
package/src/tui/app.js CHANGED
@@ -67,7 +67,7 @@ function approxTokens(messages) {
67
67
  }
68
68
 
69
69
  const TOKEN_LIMIT = 100000;
70
- const SESSION_SORTS = ['relevance', 'last used', 'created', 'name'];
70
+ const SESSION_SORTS = ['relevance', 'created', 'name', 'last used'];
71
71
 
72
72
  function sessionAutoName(messages = []) {
73
73
  const firstUser = messages.find((m) => m?.role === 'user' && String(m.content || '').trim());
@@ -70,20 +70,20 @@ function formatTs(ts) {
70
70
  } catch {
71
71
  return '';
72
72
  }
73
+ }
73
74
 
74
- function formatDate(ts) {
75
- if (!ts) return '';
76
- try {
77
- return new Date(ts).toLocaleString([], {
78
- year: 'numeric',
79
- month: 'short',
80
- day: '2-digit',
81
- hour: '2-digit',
82
- minute: '2-digit',
83
- });
84
- } catch {
85
- return '';
86
- }
75
+ function formatDate(ts) {
76
+ if (!ts) return '';
77
+ try {
78
+ return new Date(ts).toLocaleString([], {
79
+ year: 'numeric',
80
+ month: 'short',
81
+ day: '2-digit',
82
+ hour: '2-digit',
83
+ minute: '2-digit',
84
+ });
85
+ } catch {
86
+ return '';
87
87
  }
88
88
  }
89
89
 
@@ -463,7 +463,7 @@ export function Composer({
463
463
  const empty = value.length === 0;
464
464
  const sugTok = menuOpen && matches[sel] ? (slashMode ? matches[sel].cmd : matches[sel].tag) : '';
465
465
  const ghost = sugTok && sugTok.startsWith(token) && cursor >= value.length ? sugTok.slice(token.length) : '';
466
- const promptGlyph = busy ? glyphs.busy : glyphs.prompt;
466
+ const promptGlyph = glyphs.prompt;
467
467
  const promptColor = busy ? C.warning : C.success;
468
468
  const ghostHint = busy ? 'Working…' : 'Enter @ to mention files or / for commands…';
469
469
  const modePrefix = mode === 'plan'
@@ -514,7 +514,7 @@ export function Composer({
514
514
  ${empty
515
515
  ? html`<${Box} flexGrow=${1}>
516
516
  <${Text} color="white" inverse> <//>
517
- <${Text} color=${C.muted}> ${ghostHint}<//>
517
+ <${Text} color=${C.muted} italic> ${ghostHint}<//>
518
518
  <//>`
519
519
  : html`<${Box} flexGrow=${1}>
520
520
  <${Text}>${before}<//><${Text} inverse>${at}<//><${Text}>${after}<//><${Text} color=${C.muted}>${ghost}<//>