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

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.13";
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) {
@@ -208,10 +248,25 @@ function printBetaCta() {
208
248
  );
209
249
  console.log();
210
250
  }
251
+ var GRADIENT, BANNER_ROWS;
211
252
  var init_ui = __esm({
212
253
  "src/lib/ui.ts"() {
213
254
  "use strict";
214
255
  init_constants();
256
+ GRADIENT = [
257
+ (t) => `\x1B[1;38;2;255;0;128m${t}\x1B[0m`,
258
+ (t) => `\x1B[1;38;2;225;15;158m${t}\x1B[0m`,
259
+ (t) => `\x1B[1;38;2;190;30;190m${t}\x1B[0m`,
260
+ (t) => `\x1B[1;38;2;158;44;214m${t}\x1B[0m`,
261
+ (t) => `\x1B[1;38;2;124;58;237m${t}\x1B[0m`
262
+ ];
263
+ BANNER_ROWS = [
264
+ "\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",
265
+ "\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 ",
266
+ "\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 ",
267
+ "\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588",
268
+ "\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"
269
+ ];
215
270
  }
216
271
  });
217
272
 
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.13",
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.13",
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.13
@@ -7,6 +7,16 @@ Versioning: [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.5.0-beta.13] — 2026-02-24
11
+
12
+ ### Changed
13
+
14
+ - **New ASCII banner** — gradient block-letter "FlyDocs" heading with subtle drop shadow,
15
+ replacing the block mark logo. Pink-to-purple gradient matches brand colors using true
16
+ color (24-bit) escape sequences. Tagline in bold white, version label in dim.
17
+
18
+ ---
19
+
10
20
  ## [0.5.0-beta.12] — 2026-02-24
11
21
 
12
22
  ### Changed
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0-beta.12",
2
+ "version": "0.5.0-beta.13",
3
3
  "description": "FlyDocs Core - Manifest of all managed files",
4
4
  "repository": "github.com/plastrlab/flydocs-core",
5
5