@ravshansbox/pi-statusline 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -135,7 +135,7 @@ export default function (pi: ExtensionAPI) {
135
135
  }
136
136
 
137
137
  const minPadding = 2;
138
- const modelName = model?.id || 'no-model';
138
+ const modelName = model?.id.replace(/^claude-/, '') || 'no-model';
139
139
  let right = modelName;
140
140
  if (model?.reasoning) {
141
141
  const level = ctx.thinkingLevel || 'off';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ravshansbox/pi-statusline",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Statusline extension for pi",
5
5
  "license": "MIT",
6
6
  "type": "module",