@sushant-kum/ccstatus 0.3.3 → 0.3.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.
|
@@ -297,7 +297,10 @@ register({
|
|
|
297
297
|
register({
|
|
298
298
|
type: "thinking-effort",
|
|
299
299
|
label: "Effort",
|
|
300
|
-
|
|
300
|
+
// The engine only reports an explicit effort level; when none is set it exposes
|
|
301
|
+
// nothing, so we can't derive a level here. Match ccstatusline and label that
|
|
302
|
+
// case "default" rather than inventing a level or hiding the widget. See DEC-0026.
|
|
303
|
+
format: ({ snapshot, item }) => labeled(rawOf(item), "Effort", snapshot.effort || "default")
|
|
301
304
|
});
|
|
302
305
|
register({
|
|
303
306
|
type: "session-id",
|
|
@@ -339,7 +342,9 @@ register({
|
|
|
339
342
|
register({
|
|
340
343
|
type: "git-worktree",
|
|
341
344
|
label: "Worktree",
|
|
342
|
-
|
|
345
|
+
// Inside a repo the widget stays visible: the worktree name, or a placeholder
|
|
346
|
+
// when the checkout is the main working tree rather than a linked worktree.
|
|
347
|
+
format: ({ snapshot }) => snapshot.repo ? `\u2387 ${snapshot.gitWorktree || "\u2014"}` : null
|
|
343
348
|
});
|
|
344
349
|
register({
|
|
345
350
|
type: "git-insertions",
|
package/dist/index.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var sub = process.argv[2];
|
|
6
6
|
if (sub === "statusline") {
|
|
7
|
-
const { runStatusline } = await import("./statusline-cmd-
|
|
7
|
+
const { runStatusline } = await import("./statusline-cmd-OX52DYX2.js");
|
|
8
8
|
await runStatusline();
|
|
9
9
|
} else {
|
|
10
10
|
const { render } = await import("ink");
|
|
11
|
-
const { App } = await import("./app-
|
|
11
|
+
const { App } = await import("./app-TAM7W557.js");
|
|
12
12
|
render(/* @__PURE__ */ jsx(App, {}));
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sushant-kum/ccstatus",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Interactive configurator (npx @sushant-kum/ccstatus) for the ccstatus Claude Code status bar — band, status line, pane, and threshold toasts from one config.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sushant Kumar",
|