@harborppm/cli 0.73.0 → 0.74.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.
package/dist/app.mjs CHANGED
@@ -30928,15 +30928,16 @@ const ANSI = {
30928
30928
  };
30929
30929
  /** One ticker line for the terminal: the time dim, the rest bright when it's yours. */
30930
30930
  function watchText(line, at, opts) {
30931
- const time = wallClock(at).slice(11, 16);
30932
- const room = (opts.width ?? 0) - 6;
30931
+ const time = `${wallClock(at).slice(11, 16)} ${zoneName(at)}`.trim();
30932
+ const room = (opts.width ?? 0) - time.length - 1;
30933
+ const indent = " ".repeat(time.length + 1);
30933
30934
  const fit = (s, n) => opts.width && s.length > n ? `${s.slice(0, Math.max(1, n - 1))}…` : s;
30934
30935
  const text = fit(line.text, room);
30935
30936
  const quote = line.quote ? fit(`“${line.quote}”`, room - 2) : null;
30936
- if (!opts.colour) return [`${time} ${text}`, ...quote ? [` ${quote}`] : []].join("\n");
30937
+ if (!opts.colour) return [`${time} ${text}`, ...quote ? [`${indent}${quote}`] : []].join("\n");
30937
30938
  const tone = line.tone === "plain" ? "" : ANSI[line.tone];
30938
30939
  const body = line.mine ? `${ANSI.bold}${tone}${text}${ANSI.reset}` : `${tone || ANSI.dim}${text}${ANSI.reset}`;
30939
- return [`${ANSI.dim}${time}${ANSI.reset} ${body}`, ...quote ? [`${ANSI.dim} ${quote}${ANSI.reset}`] : []].join("\n");
30940
+ return [`${ANSI.dim}${time}${ANSI.reset} ${body}`, ...quote ? [`${ANSI.dim}${indent}${quote}${ANSI.reset}`] : []].join("\n");
30940
30941
  }
30941
30942
  async function watchOn(opts) {
30942
30943
  const out = (text) => opts.write(`${text}\n`);
package/lib/cli.mjs CHANGED
@@ -985,8 +985,9 @@ const DETAIL = {
985
985
  ],
986
986
  watch: [
987
987
  " harbor watch reads, live: each change to the harbor",
988
- " as it lands, one line with the time:",
989
- " cards moving, comments, health changes",
988
+ " as it lands, one line with its time",
989
+ " and zone: cards moving, comments,",
990
+ " health changes",
990
991
  " --project P one project's changes only",
991
992
  " --bell ring the terminal's bell when something of yours changes",
992
993
  " --since TIME start with every change since TIME (14:30 today, or",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harborppm/cli",
3
- "version": "0.73.0",
3
+ "version": "0.74.0",
4
4
  "description": "Harbor from the terminal: a full-screen app with everything, plus commands for scripts and agents.",
5
5
  "keywords": [
6
6
  "harbor",