@great-arrow/cli 0.1.67 → 0.1.68
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/index.js +18 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9437,7 +9437,7 @@ function isNodeError(value) {
|
|
|
9437
9437
|
|
|
9438
9438
|
// src/lib/version.ts
|
|
9439
9439
|
var CLI_PACKAGE_NAME = "@great-arrow/cli";
|
|
9440
|
-
var CLI_VERSION = "0.1.
|
|
9440
|
+
var CLI_VERSION = "0.1.68";
|
|
9441
9441
|
var GAD_INSTALL_VERSION = "2026.08.08";
|
|
9442
9442
|
var GAD_INSTALL_MIN_VERSION = "2026.06.22";
|
|
9443
9443
|
var GAD_INSTALL_HEADER = "X-GAD-Install-Version";
|
|
@@ -9625,6 +9625,11 @@ async function getSecretSlot(account) {
|
|
|
9625
9625
|
if (!migrated) {
|
|
9626
9626
|
return null;
|
|
9627
9627
|
}
|
|
9628
|
+
try {
|
|
9629
|
+
await entry2.deletePassword();
|
|
9630
|
+
} catch (err2) {
|
|
9631
|
+
debugSwallow("keychain.getSecretSlot(delete migrated)", err2);
|
|
9632
|
+
}
|
|
9628
9633
|
return trimmed;
|
|
9629
9634
|
}
|
|
9630
9635
|
} catch (err2) {
|
|
@@ -18683,6 +18688,12 @@ function normalizeGlance(raw) {
|
|
|
18683
18688
|
});
|
|
18684
18689
|
return repos.length > 0 ? { landing: { alertActive: l.alertActive === true, repos } } : {};
|
|
18685
18690
|
})(),
|
|
18691
|
+
...(() => {
|
|
18692
|
+
const raw2 = obj.setup;
|
|
18693
|
+
if (typeof raw2 !== "object" || raw2 === null) return {};
|
|
18694
|
+
const r = raw2;
|
|
18695
|
+
return typeof r.step === "string" && typeof r.line === "string" ? { setup: { step: r.step, line: r.line } } : {};
|
|
18696
|
+
})(),
|
|
18686
18697
|
...Array.isArray(obj.sections) ? { sections: normalizeTodaySections(obj.sections) } : {},
|
|
18687
18698
|
...Array.isArray(obj.degradedSections) ? {
|
|
18688
18699
|
degradedSections: obj.degradedSections.filter(
|
|
@@ -49759,7 +49770,7 @@ function renderStatus2(payload, plain, apiUrl) {
|
|
|
49759
49770
|
lines.push(c.badge(` ${payload.workspace} `));
|
|
49760
49771
|
lines.push("");
|
|
49761
49772
|
}
|
|
49762
|
-
const hasAny = payload.needsYou.length > 0 || payload.topGoal !== null || payload.integrations.length > 0 || payload.agents.length > 0 || Boolean(payload.healthTriage) || Boolean(payload.credentialRotation) || Boolean(payload.keyRotation) || Boolean(payload.landing) || payload.warRoom !== null && payload.warRoom.priorityCount > 0;
|
|
49773
|
+
const hasAny = payload.needsYou.length > 0 || payload.topGoal !== null || payload.integrations.length > 0 || payload.agents.length > 0 || Boolean(payload.healthTriage) || Boolean(payload.credentialRotation) || Boolean(payload.keyRotation) || Boolean(payload.landing) || Boolean(payload.setup) || payload.warRoom !== null && payload.warRoom.priorityCount > 0;
|
|
49763
49774
|
if (!hasAny) {
|
|
49764
49775
|
lines.push(
|
|
49765
49776
|
`${c.green("\u2713")} You're all clear \u2014 nothing needs you right now.`
|
|
@@ -49833,6 +49844,11 @@ function renderStatus2(payload, plain, apiUrl) {
|
|
|
49833
49844
|
if (url2) lines.push(` ${c.dim("\u2192")} ${link("Open rotation", url2)}`);
|
|
49834
49845
|
lines.push("");
|
|
49835
49846
|
}
|
|
49847
|
+
if (payload.setup) {
|
|
49848
|
+
lines.push(c.bold("Setup"));
|
|
49849
|
+
lines.push(` ${payload.setup.line}`);
|
|
49850
|
+
lines.push("");
|
|
49851
|
+
}
|
|
49836
49852
|
if (payload.keyRotation) {
|
|
49837
49853
|
const k = payload.keyRotation;
|
|
49838
49854
|
lines.push(c.bold("Key rotation"));
|