@great-arrow/cli 0.1.57 → 0.1.58

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 +31 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9402,7 +9402,7 @@ function isNodeError(value) {
9402
9402
 
9403
9403
  // src/lib/version.ts
9404
9404
  var CLI_PACKAGE_NAME = "@great-arrow/cli";
9405
- var CLI_VERSION = "0.1.57";
9405
+ var CLI_VERSION = "0.1.58";
9406
9406
  var GAD_INSTALL_VERSION = "2026.08.08";
9407
9407
  var GAD_INSTALL_MIN_VERSION = "2026.06.22";
9408
9408
  var GAD_INSTALL_HEADER = "X-GAD-Install-Version";
@@ -17697,6 +17697,24 @@ function normalizeGlance(raw) {
17697
17697
  goalUrl: typeof h.goalUrl === "string" ? h.goalUrl : null
17698
17698
  } : null;
17699
17699
  })(),
17700
+ ...(() => {
17701
+ const raw2 = obj.landing;
17702
+ if (typeof raw2 !== "object" || raw2 === null) return {};
17703
+ const l = raw2;
17704
+ const repos = asArray2(l.repos).flatMap((r) => {
17705
+ if (typeof r !== "object" || r === null) return [];
17706
+ const row = r;
17707
+ return typeof row.repo === "string" ? [
17708
+ {
17709
+ repo: row.repo,
17710
+ lines: asArray2(row.lines).filter(
17711
+ (x) => typeof x === "string"
17712
+ )
17713
+ }
17714
+ ] : [];
17715
+ });
17716
+ return repos.length > 0 ? { landing: { alertActive: l.alertActive === true, repos } } : {};
17717
+ })(),
17700
17718
  ...Array.isArray(obj.sections) ? { sections: normalizeTodaySections(obj.sections) } : {},
17701
17719
  ...Array.isArray(obj.degradedSections) ? {
17702
17720
  degradedSections: obj.degradedSections.filter(
@@ -19147,7 +19165,7 @@ function renderStatus2(payload, plain, apiUrl) {
19147
19165
  lines.push(c.badge(` ${payload.workspace} `));
19148
19166
  lines.push("");
19149
19167
  }
19150
- const hasAny = payload.needsYou.length > 0 || payload.topGoal !== null || payload.integrations.length > 0 || payload.agents.length > 0 || Boolean(payload.healthTriage) || payload.warRoom !== null && payload.warRoom.priorityCount > 0;
19168
+ const hasAny = payload.needsYou.length > 0 || payload.topGoal !== null || payload.integrations.length > 0 || payload.agents.length > 0 || Boolean(payload.healthTriage) || Boolean(payload.landing) || payload.warRoom !== null && payload.warRoom.priorityCount > 0;
19151
19169
  if (!hasAny) {
19152
19170
  lines.push(
19153
19171
  `${c.green("\u2713")} You're all clear \u2014 nothing needs you right now.`
@@ -19205,6 +19223,17 @@ function renderStatus2(payload, plain, apiUrl) {
19205
19223
  if (url) lines.push(` ${c.dim("\u2192")} ${link("Open the Goal", url)}`);
19206
19224
  lines.push("");
19207
19225
  }
19226
+ if (payload.landing) {
19227
+ lines.push(c.bold("Merge queue"));
19228
+ for (const r of payload.landing.repos) {
19229
+ lines.push(` ${r.repo}`);
19230
+ for (const l of r.lines) lines.push(` ${l}`);
19231
+ }
19232
+ const url = glanceItemUrl("/work/pipeline", apiUrl);
19233
+ if (url)
19234
+ lines.push(` ${c.dim("\u2192")} ${link("Open the Dev Pipeline", url)}`);
19235
+ lines.push("");
19236
+ }
19208
19237
  if (payload.integrations.length > 0) {
19209
19238
  lines.push(c.bold("Stale integrations"));
19210
19239
  for (const integration of payload.integrations) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@great-arrow/cli",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "GreatArrow.ai CLI tool",
5
5
  "type": "module",
6
6
  "bin": {