ispbills-icli 8.7.9 → 8.7.10

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.7.9",
3
+ "version": "8.7.10",
4
4
  "description": "iCli — IspBills AI network engineer in your terminal",
5
5
  "keywords": [
6
6
  "ispbills",
package/src/commands.js CHANGED
@@ -121,9 +121,9 @@ export const SLASH_COMMANDS = [
121
121
  { cmd: '/bug', hint: '', desc: 'Report a bug (alias for /feedback)', group: 'Help', local: true },
122
122
  { cmd: '/update', hint: '', desc: 'Update iCli to the latest version', group: 'Help', local: true },
123
123
  { cmd: '/downgrade', hint: 'VERSION', desc: 'Roll back to a specific CLI version', group: 'Help', local: true },
124
- { cmd: '/app', hint: '', desc: 'Show instructions to open the iPolot web app', group: 'Help', local: true },
124
+ { cmd: '/app', hint: '', desc: 'Show instructions to open the iCopilot web app', group: 'Help', local: true },
125
125
  { cmd: '/user', hint: '', desc: 'Manage GitHub user list', group: 'Help', local: true },
126
- { cmd: '/login', hint: '', desc: 'Log in to iPolot', group: 'Help', local: true },
126
+ { cmd: '/login', hint: '', desc: 'Log in to iCopilot', group: 'Help', local: true },
127
127
  { cmd: '/whoami', hint: '', desc: 'Show current user info', group: 'Help', local: true },
128
128
  { cmd: '/clikit', hint: '[component]', desc: 'Preview CLI UI components', group: 'Help', local: true },
129
129
  { cmd: '/extensions', hint: '[manage|mode]', desc: 'Manage CLI extensions', group: 'Help', local: true },
package/src/tui/app.js CHANGED
@@ -2139,7 +2139,7 @@ export function App({ cfg, display = {}, onExternal, onExit, initialQuestion, sh
2139
2139
  const cwdMaxLen = Math.max(12, cols - footerRightEstLen - (branch ? branch.length + 6 : 0) - 4);
2140
2140
  const cwd = shortenPath(process.cwd(), cwdMaxLen);
2141
2141
  const footerLeft = busy
2142
- ? `${glyphs.spinner} Working\u2026`
2142
+ ? `${glyphs.arrow} Working\u2026`
2143
2143
  : hint
2144
2144
  ? hint
2145
2145
  : [cwd, branch ? `${glyphs.gitBranch}${branch}` : null].filter(Boolean).join(midDot());
@@ -380,7 +380,7 @@ export function StatusLines({ lines = [], busy = false, navigable = false }) {
380
380
  useEffect(() => { setSel(-1); setExpanded(new Set()); }, [lines.length]);
381
381
 
382
382
  useInput((input, key) => {
383
- if (!navigable) return;
383
+ if (!navigable || !key) return;
384
384
  if (key.upArrow || input === 'k') { setSel((i) => Math.max(0, (i < 0 ? lines.length - 1 : i) - 1)); return; }
385
385
  if (key.downArrow || input === 'j') { setSel((i) => Math.min(lines.length - 1, (i < 0 ? -1 : i) + 1)); return; }
386
386
  if ((key.return || input === ' ') && sel >= 0) {
@@ -388,7 +388,7 @@ export function StatusLines({ lines = [], busy = false, navigable = false }) {
388
388
  return;
389
389
  }
390
390
  if (key.escape) { setSel(-1); return; }
391
- });
391
+ }, { isActive: navigable });
392
392
 
393
393
  if (!lines.length) return null;
394
394
  const lastIdx = lines.length - 1;
package/src/tui/run.js CHANGED
@@ -93,7 +93,7 @@ function exitAltScreen() {
93
93
  altScreenActive = false;
94
94
  }
95
95
 
96
- // iPolot wordmark in block letters
96
+ // iCopilot wordmark in block letters
97
97
  const LOGO = [
98
98
  ' ██╗ ██████╗ ██████╗ ██████╗ ██╗██╗ ██████╗ ████████╗',
99
99
  ' ██║██╔════╝██╔═══██╗██╔══██╗██║██║ ██╔═══██╗╚══██╔══╝',
@@ -145,7 +145,7 @@ async function animateSplash(cfg = {}) {
145
145
  const R = '\x1b[0m';
146
146
 
147
147
  const hr = `${SEP}${'─'.repeat(cols)}${R}`;
148
- const subtitle = `${ACC}◈ iPolot${R} ${DIM}IspBills network engineer in your terminal${R}`;
148
+ const subtitle = `${ACC}◈ iCopilot${R} ${DIM}IspBills network engineer in your terminal${R}`;
149
149
  const subtitleLen = subtitle.replace(/\x1b\[[0-9;]*m/g, '').length;
150
150
  const subPad = ' '.repeat(Math.max(0, Math.floor((cols - subtitleLen) / 2)));
151
151