claude-simple-status 1.2.0 → 1.2.1
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/README.md +3 -1
- package/package.json +1 -1
- package/statusline.mjs +2 -2
package/README.md
CHANGED
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
A simple, no-frills statusline for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) that shows what matters: **project name, git branch, model, context usage, quota, and API costs**.
|
|
13
13
|
|
|
14
|
-

|
|
15
|
+
|
|
16
|
+

|
|
15
17
|
|
|
16
18
|
## Features
|
|
17
19
|
|
package/package.json
CHANGED
package/statusline.mjs
CHANGED
|
@@ -264,11 +264,11 @@ async function main() {
|
|
|
264
264
|
hasError = errContent.length > 0;
|
|
265
265
|
} catch {}
|
|
266
266
|
|
|
267
|
-
// Get rig
|
|
267
|
+
// Get rig name (claude-rig sets CLAUDE_CONFIG_DIR to ~/.claude-rig/rigs/<name>)
|
|
268
268
|
const rigProfile = (() => {
|
|
269
269
|
const configDir = process.env.CLAUDE_CONFIG_DIR;
|
|
270
270
|
if (!configDir) return null;
|
|
271
|
-
const match = configDir.match(/\.claude-rig\/
|
|
271
|
+
const match = configDir.match(/\.claude-rig\/rigs\/([^/]+)\/?$/);
|
|
272
272
|
return match ? match[1] : null;
|
|
273
273
|
})();
|
|
274
274
|
|