codeep 1.2.79 → 1.2.80

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.
@@ -1500,7 +1500,7 @@ export class App {
1500
1500
  const placeholder = this.isMultilineMode
1501
1501
  ? 'Multi-line mode Enter=newline · Esc=send'
1502
1502
  : 'Message or /command';
1503
- this.screen.write(promptSymbol.length, y, placeholder, fg.gray + style.dim);
1503
+ this.screen.write(promptSymbol.length, y, placeholder, fg.gray);
1504
1504
  if (!hideCursor) {
1505
1505
  this.screen.setCursor(promptSymbol.length, y);
1506
1506
  this.screen.showCursor(true);
@@ -2067,25 +2067,34 @@ export class App {
2067
2067
  }
2068
2068
  const status = this.options.getStatus();
2069
2069
  const stats = status.tokenStats;
2070
- // Left segment: msg count · token count
2070
+ // Left: model (gradient) · msg count · token count
2071
+ const modelName = status.model || '';
2071
2072
  const msgCount = `${this.messages.length} msg`;
2072
2073
  const tokenStr = stats && stats.totalTokens > 0
2073
2074
  ? `${stats.totalTokens < 1000 ? stats.totalTokens : (stats.totalTokens / 1000).toFixed(1) + 'K'} tok`
2074
2075
  : '';
2075
- const leftParts = [msgCount, tokenStr].filter(Boolean);
2076
- const leftText = ' ' + leftParts.join(' · ');
2077
- this.screen.write(0, y, leftText, fg.gray + style.dim);
2078
- // Center: model name with gradient (only if it fits)
2079
- const modelName = status.model || '';
2080
- if (modelName && width > 40) {
2081
- const modelX = Math.floor((width - modelName.length) / 2);
2082
- this.screen.write(modelX, y, gradientText(modelName, GRADIENT_STOPS));
2083
- }
2084
- // Right: Esc hint only when active, nothing when idle
2076
+ let leftX = 1;
2077
+ if (modelName) {
2078
+ this.screen.write(leftX, y, gradientText(modelName, GRADIENT_STOPS));
2079
+ leftX += modelName.length + 2;
2080
+ this.screen.write(leftX - 1, y, '·', fg.gray);
2081
+ leftX += 1;
2082
+ }
2083
+ this.screen.write(leftX, y, msgCount, fg.gray);
2084
+ leftX += msgCount.length;
2085
+ if (tokenStr) {
2086
+ this.screen.write(leftX, y, ' · ', fg.gray);
2087
+ this.screen.write(leftX + 3, y, tokenStr, fg.gray);
2088
+ }
2089
+ // Right: context-sensitive hints
2090
+ let rightText;
2085
2091
  if (this.isStreaming || this.isLoading) {
2086
- const rightText = 'Esc ';
2087
- this.screen.write(width - rightText.length, y, rightText, fg.gray + style.dim);
2092
+ rightText = 'Esc to stop ';
2093
+ }
2094
+ else {
2095
+ rightText = '/help · ↑↓ history ';
2088
2096
  }
2097
+ this.screen.write(width - rightText.length, y, rightText, fg.gray);
2089
2098
  }
2090
2099
  /**
2091
2100
  * Get visible messages (including streaming)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",