@great-arrow/cli 0.10.2 → 0.10.4

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 +11 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10011,7 +10011,7 @@ async function clearStoredCredential() {
10011
10011
 
10012
10012
  // src/lib/version.ts
10013
10013
  var CLI_PACKAGE_NAME = "@great-arrow/cli";
10014
- var CLI_VERSION = "0.10.2";
10014
+ var CLI_VERSION = "0.10.4";
10015
10015
  var GAD_INSTALL_VERSION = "2026.08.08";
10016
10016
  var GAD_INSTALL_MIN_VERSION = "2026.06.22";
10017
10017
  var GAD_INSTALL_HEADER = "X-GAD-Install-Version";
@@ -39105,6 +39105,8 @@ function normalizeGlance(raw) {
39105
39105
  }
39106
39106
  ];
39107
39107
  });
39108
+ const more = obj.needsYouMore;
39109
+ const needsYouMore = more && typeof more.count === "number" && more.count > 0 && typeof more.text === "string" && typeof more.href === "string" ? { count: more.count, text: more.text, href: more.href } : null;
39108
39110
  const atRisk = asArray2(obj.atRisk).flatMap((item) => {
39109
39111
  if (typeof item !== "object" || item === null) return [];
39110
39112
  const it = item;
@@ -39194,6 +39196,7 @@ function normalizeGlance(raw) {
39194
39196
  return typeof row.id === "string" && typeof row.name === "string" ? [{ id: row.id, name: row.name }] : [];
39195
39197
  }) : [],
39196
39198
  needsYou,
39199
+ ...needsYouMore ? { needsYouMore } : {},
39197
39200
  atRisk,
39198
39201
  topGoal,
39199
39202
  integrations,
@@ -39403,6 +39406,13 @@ function renderFooter(payload, apiUrl) {
39403
39406
  if (url2) lines.push(` ${c.dim("\u2192")} ${c.cyan(url2)}`);
39404
39407
  }
39405
39408
  }
39409
+ if (payload.needsYouMore) {
39410
+ const hidden = Math.max(0, payload.needsYou.length - 2) + payload.needsYouMore.count;
39411
+ const url2 = glanceItemUrl(payload.needsYouMore.href, apiUrl);
39412
+ lines.push(
39413
+ `${c.dim(`+${hidden} more needs you`)}${url2 ? ` ${c.dim("\u2192")} ${c.cyan(url2)}` : ""}`
39414
+ );
39415
+ }
39406
39416
  if (lines.length === 0) {
39407
39417
  const integration = payload.integrations[0];
39408
39418
  if (integration) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@great-arrow/cli",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "description": "GreatArrow.ai CLI tool",
5
5
  "type": "module",
6
6
  "bin": {