agenthud 0.2.0 → 0.2.2

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/dist/index.js +7 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -60,10 +60,12 @@ function GitPanel({ branch, commits, stats, uncommitted = 0 }) {
60
60
  " \xB7 ",
61
61
  stats.files,
62
62
  " ",
63
- fileWord,
64
- hasUncommitted ? ` \xB7 ` : ""
65
- ] }),
66
- hasUncommitted && /* @__PURE__ */ jsxs(Text, { color: "yellow", children: [
63
+ fileWord
64
+ ] })
65
+ ] }),
66
+ hasUncommitted && /* @__PURE__ */ jsxs(Fragment, { children: [
67
+ /* @__PURE__ */ jsx(Text, { dimColor: true, children: " \xB7 " }),
68
+ /* @__PURE__ */ jsxs(Text, { color: "yellow", children: [
67
69
  uncommitted,
68
70
  " dirty"
69
71
  ] })
@@ -113,7 +115,7 @@ function createDecisionsHeader() {
113
115
  return label + "\u2500".repeat(dashCount) + "\u2524";
114
116
  }
115
117
  function PlanPanel({ plan, decisions, error }) {
116
- if (error || !plan) {
118
+ if (error || !plan || !plan.goal || !plan.steps) {
117
119
  return /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", width: PANEL_WIDTH, children: [
118
120
  /* @__PURE__ */ jsxs2(Text2, { children: [
119
121
  BOX.tl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenthud",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "CLI tool to monitor agent status in real-time. Works with Claude Code, multi-agent workflows, and any AI agent system.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",