@flydocs/cli 0.5.0-beta.12 → 0.5.0-beta.14

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/cli.js CHANGED
@@ -15,7 +15,7 @@ var CLI_VERSION, CLI_NAME, PACKAGE_NAME;
15
15
  var init_constants = __esm({
16
16
  "src/lib/constants.ts"() {
17
17
  "use strict";
18
- CLI_VERSION = "0.5.0-beta.12";
18
+ CLI_VERSION = "0.5.0-beta.14";
19
19
  CLI_NAME = "flydocs";
20
20
  PACKAGE_NAME = "@flydocs/cli";
21
21
  }
@@ -137,6 +137,59 @@ import pc2 from "picocolors";
137
137
  function hyperlink(text3, url) {
138
138
  return `\x1B]8;;${url}\x07${text3}\x1B]8;;\x07`;
139
139
  }
140
+ function shadow(text3) {
141
+ return `\x1B[38;2;55;45;70m${text3}\x1B[0m`;
142
+ }
143
+ function renderBannerBlock() {
144
+ const height = BANNER_ROWS.length;
145
+ const width = BANNER_ROWS[0].length;
146
+ const padded = BANNER_ROWS.map((r) => r.padEnd(width));
147
+ console.log(` ${GRADIENT[0](padded[0])}`);
148
+ for (let i = 1; i < height; i++) {
149
+ let line = "";
150
+ const shadowSrc2 = padded[i - 1];
151
+ const textSrc = padded[i];
152
+ for (let c = 0; c < width; c++) {
153
+ const textChar = textSrc[c];
154
+ const shadowChar = c > 0 ? shadowSrc2[c - 1] : " ";
155
+ if (textChar === "\u2588") {
156
+ line += "\u2588";
157
+ } else if (shadowChar === "\u2588") {
158
+ line += "\u2593";
159
+ } else {
160
+ line += " ";
161
+ }
162
+ }
163
+ let colored = " ";
164
+ let j = 0;
165
+ while (j < line.length) {
166
+ const ch = line[j];
167
+ let run = "";
168
+ while (j < line.length && line[j] === ch) {
169
+ run += line[j];
170
+ j++;
171
+ }
172
+ if (ch === "\u2588") {
173
+ colored += GRADIENT[i](run);
174
+ } else if (ch === "\u2593") {
175
+ colored += shadow(run);
176
+ } else {
177
+ colored += run;
178
+ }
179
+ }
180
+ console.log(colored);
181
+ }
182
+ const shadowSrc = padded[height - 1];
183
+ let bottomShadow = "";
184
+ for (let c = 0; c < width + 1; c++) {
185
+ const shadowChar = c > 0 ? shadowSrc[c - 1] : " ";
186
+ bottomShadow += shadowChar === "\u2588" ? "\u2593" : " ";
187
+ }
188
+ bottomShadow = bottomShadow.replace(/\s+$/, "");
189
+ if (bottomShadow.trim()) {
190
+ console.log(` ${shadow(" " + bottomShadow)}`);
191
+ }
192
+ }
140
193
  function printStatus(message) {
141
194
  console.log(`${pc2.green("\u2714")} ${message}`);
142
195
  }
@@ -150,26 +203,13 @@ function printInfo(message) {
150
203
  console.log(`${pc2.cyan("\u2139")} ${message}`);
151
204
  }
152
205
  function printBanner(version) {
153
- const pink = (t) => pc2.bold(pc2.magenta(t));
154
- const purple = (t) => pc2.bold(pc2.cyan(t));
155
- const dim = pc2.dim;
156
- const bold = pc2.bold;
157
- const pinkBlock12 = pink("\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588");
158
- const pinkBlock4 = pink("\u2588\u2588\u2588\u2588");
159
- const purpleBlock12 = purple("\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588");
160
- const purpleBlock4 = purple("\u2588\u2588\u2588\u2588");
161
206
  console.log();
162
- console.log(` ${pinkBlock12}`);
163
- console.log(` ${pinkBlock12}`);
164
- console.log(` ${pinkBlock4}`);
165
- console.log(
166
- ` ${pinkBlock4} ${purpleBlock12} ${bold("FlyDocs")} ${dim("(Beta)")}`
167
- );
207
+ renderBannerBlock();
208
+ console.log();
168
209
  console.log(
169
- ` ${purpleBlock12} ${dim("Structured context for AI coding tools")}`
210
+ ` ${pc2.bold(pc2.white("Structured context for AI coding tools"))} ${pc2.dim("(Beta)")}`
170
211
  );
171
- console.log(` ${purpleBlock4}`);
172
- console.log(` ${purpleBlock4} ${dim(`v${version}`)}`);
212
+ console.log(` ${pc2.dim(`Version: ${version}`)}`);
173
213
  console.log();
174
214
  }
175
215
  function printCompletionBox(title, lines) {
@@ -197,21 +237,33 @@ function printBetaCta() {
197
237
  );
198
238
  console.log();
199
239
  console.log(
200
- ` ${pc2.bold("Join the community")} ${dim("\u2014 bugs, ideas, and updates")}`
201
- );
202
- console.log(
203
- ` ${hyperlink(pc2.cyan("discord.com/invite/YAkjePmZTQ"), discordUrl)}`
240
+ ` ${hyperlink(pc2.bold(pc2.cyan("Join the Discord")), discordUrl)} for upcoming features, support, and early access to what's next.`
204
241
  );
205
242
  console.log();
206
243
  console.log(
207
- ` ${dim("Docs and updates:")} ${hyperlink(pc2.cyan("flydocs.ai"), siteUrl)}`
244
+ ` ${dim("Docs and updates:")} ${hyperlink(pc2.bold(pc2.cyan("flydocs.ai")), siteUrl)}`
208
245
  );
209
246
  console.log();
210
247
  }
248
+ var GRADIENT, BANNER_ROWS;
211
249
  var init_ui = __esm({
212
250
  "src/lib/ui.ts"() {
213
251
  "use strict";
214
252
  init_constants();
253
+ GRADIENT = [
254
+ (t) => `\x1B[1;38;2;255;0;128m${t}\x1B[0m`,
255
+ (t) => `\x1B[1;38;2;225;15;158m${t}\x1B[0m`,
256
+ (t) => `\x1B[1;38;2;190;30;190m${t}\x1B[0m`,
257
+ (t) => `\x1B[1;38;2;158;44;214m${t}\x1B[0m`,
258
+ (t) => `\x1B[1;38;2;124;58;237m${t}\x1B[0m`
259
+ ];
260
+ BANNER_ROWS = [
261
+ "\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588",
262
+ "\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 ",
263
+ "\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 ",
264
+ "\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588",
265
+ "\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588"
266
+ ];
215
267
  }
216
268
  });
217
269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flydocs/cli",
3
- "version": "0.5.0-beta.12",
3
+ "version": "0.5.0-beta.14",
4
4
  "type": "module",
5
5
  "description": "FlyDocs AI CLI — install, setup, and manage FlyDocs projects",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0-beta.12",
2
+ "version": "0.5.0-beta.14",
3
3
  "sourceRepo": "github.com/plastrlab/flydocs-core",
4
4
  "tier": "local",
5
5
  "setupComplete": false,
@@ -1 +1 @@
1
- 0.5.0-beta.12
1
+ 0.5.0-beta.14
@@ -7,6 +7,26 @@ Versioning: [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.5.0-beta.14] — 2026-02-24
11
+
12
+ ### Changed
13
+
14
+ - **Discord CTA restyled** — "Join the Discord" is now a bold cyan clickable hyperlink
15
+ with descriptive copy ("for upcoming features, support, and early access to what's
16
+ next"), matching the docs page CTA style. "flydocs.ai" link also bold cyan and clickable.
17
+
18
+ ---
19
+
20
+ ## [0.5.0-beta.13] — 2026-02-24
21
+
22
+ ### Changed
23
+
24
+ - **New ASCII banner** — gradient block-letter "FlyDocs" heading with subtle drop shadow,
25
+ replacing the block mark logo. Pink-to-purple gradient matches brand colors using true
26
+ color (24-bit) escape sequences. Tagline in bold white, version label in dim.
27
+
28
+ ---
29
+
10
30
  ## [0.5.0-beta.12] — 2026-02-24
11
31
 
12
32
  ### Changed
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0-beta.12",
2
+ "version": "0.5.0-beta.14",
3
3
  "description": "FlyDocs Core - Manifest of all managed files",
4
4
  "repository": "github.com/plastrlab/flydocs-core",
5
5