openalmanac 0.2.48 → 0.2.49
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/setup.js +4 -6
- package/package.json +1 -1
package/dist/setup.js
CHANGED
|
@@ -102,12 +102,13 @@ const LOGO_LINES = [
|
|
|
102
102
|
"\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u255a\u2550\u255d \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255a\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2557",
|
|
103
103
|
"\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u2550\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d",
|
|
104
104
|
];
|
|
105
|
+
let bannerSubtitle = "Write and publish articles with your AI agent";
|
|
105
106
|
function printBanner() {
|
|
106
107
|
process.stdout.write("\n");
|
|
107
108
|
for (let i = 0; i < LOGO_LINES.length; i++) {
|
|
108
109
|
process.stdout.write(`${GRADIENT[i]}${LOGO_LINES[i]}${RST}\n`);
|
|
109
110
|
}
|
|
110
|
-
process.stdout.write(`\n${DIM}
|
|
111
|
+
process.stdout.write(`\n${DIM} ${bannerSubtitle}${RST}\n`);
|
|
111
112
|
}
|
|
112
113
|
function printBadge() {
|
|
113
114
|
process.stdout.write(`\n ${ACCENT_BG} almanac ${RST}\n`);
|
|
@@ -584,11 +585,7 @@ const REDDIT_EXTRA_TOOLS = [
|
|
|
584
585
|
];
|
|
585
586
|
/* ── Reddit setup banner ───────────────────────────────────────── */
|
|
586
587
|
function printRedditBanner() {
|
|
587
|
-
|
|
588
|
-
for (let i = 0; i < LOGO_LINES.length; i++) {
|
|
589
|
-
process.stdout.write(`${GRADIENT[i]}${LOGO_LINES[i]}${RST}\n`);
|
|
590
|
-
}
|
|
591
|
-
process.stdout.write(`\n${DIM} Turn any subreddit into a wiki${RST}\n`);
|
|
588
|
+
printBanner();
|
|
592
589
|
}
|
|
593
590
|
/* ── Reddit result screen ──────────────────────────────────────── */
|
|
594
591
|
function printRedditResult(agent, loginResult, mcpChanged, toolCount) {
|
|
@@ -629,6 +626,7 @@ function printRedditResult(agent, loginResult, mcpChanged, toolCount) {
|
|
|
629
626
|
}
|
|
630
627
|
/* ── Reddit entry point ────────────────────────────────────────── */
|
|
631
628
|
export async function runRedditSetup() {
|
|
629
|
+
bannerSubtitle = "Turn any subreddit into a published wiki";
|
|
632
630
|
const skipTui = process.argv.includes("--yes") || process.argv.includes("-y");
|
|
633
631
|
const interactive = process.stdin.isTTY && !skipTui;
|
|
634
632
|
let agent = "Claude Code";
|