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

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.14";
18
+ CLI_VERSION = "0.5.0-beta.16";
19
19
  CLI_NAME = "flydocs";
20
20
  PACKAGE_NAME = "@flydocs/cli";
21
21
  }
@@ -134,9 +134,6 @@ var init_template = __esm({
134
134
 
135
135
  // src/lib/ui.ts
136
136
  import pc2 from "picocolors";
137
- function hyperlink(text3, url) {
138
- return `\x1B]8;;${url}\x07${text3}\x1B]8;;\x07`;
139
- }
140
137
  function shadow(text3) {
141
138
  return `\x1B[38;2;55;45;70m${text3}\x1B[0m`;
142
139
  }
@@ -237,11 +234,13 @@ function printBetaCta() {
237
234
  );
238
235
  console.log();
239
236
  console.log(
240
- ` ${hyperlink(pc2.bold(pc2.cyan("Join the Discord")), discordUrl)} for upcoming features, support, and early access to what's next.`
237
+ ` ${pc2.bold(pc2.cyan("Join the Discord"))} for upcoming features, support, and early access to what's next.`
241
238
  );
239
+ console.log(` ${dim("Invite link:")}`);
240
+ console.log(` ${pc2.cyan(discordUrl)}`);
242
241
  console.log();
243
242
  console.log(
244
- ` ${dim("Docs and updates:")} ${hyperlink(pc2.bold(pc2.cyan("flydocs.ai")), siteUrl)}`
243
+ ` ${dim("Docs and updates:")} ${pc2.cyan("https://www.flydocs.ai")}`
245
244
  );
246
245
  console.log();
247
246
  }
@@ -366,13 +365,21 @@ async function installOwnedSkills(templateDir, targetDir, tier) {
366
365
  if (await pathExists(inactivePath)) {
367
366
  await rm5(inactivePath, { recursive: true, force: true });
368
367
  }
369
- for (const skill of OWNED_SKILLS) {
368
+ for (const skill of CORE_SKILLS) {
370
369
  if (skill === "flydocs-workflow") continue;
371
370
  const src = join4(templateSkillsDir, skill);
372
371
  if (await pathExists(src)) {
373
372
  await replaceDirectory(src, join4(skillsDir, skill));
374
373
  }
375
374
  }
375
+ if (tier === "cloud") {
376
+ for (const skill of CLOUD_ONLY_SKILLS) {
377
+ const src = join4(templateSkillsDir, skill);
378
+ if (await pathExists(src)) {
379
+ await replaceDirectory(src, join4(skillsDir, skill));
380
+ }
381
+ }
382
+ }
376
383
  const readmeSrc = join4(templateSkillsDir, "README.md");
377
384
  if (await pathExists(readmeSrc)) {
378
385
  await copyFile(readmeSrc, join4(skillsDir, "README.md"));
@@ -381,13 +388,24 @@ async function installOwnedSkills(templateDir, targetDir, tier) {
381
388
  async function replaceOwnedSkills(templateDir, targetDir, tier) {
382
389
  const skillsDir = join4(targetDir, ".claude", "skills");
383
390
  const templateSkillsDir = join4(templateDir, ".claude", "skills");
384
- for (const skill of OWNED_SKILLS) {
391
+ const { rm: rm5 } = await import("fs/promises");
392
+ for (const skill of CORE_SKILLS) {
385
393
  const src = join4(templateSkillsDir, skill);
386
394
  if (await pathExists(src)) {
387
395
  await replaceDirectory(src, join4(skillsDir, skill));
388
396
  }
389
397
  }
390
- const { rm: rm5 } = await import("fs/promises");
398
+ for (const skill of CLOUD_ONLY_SKILLS) {
399
+ const dest = join4(skillsDir, skill);
400
+ if (tier === "cloud") {
401
+ const src = join4(templateSkillsDir, skill);
402
+ if (await pathExists(src)) {
403
+ await replaceDirectory(src, dest);
404
+ }
405
+ } else if (await pathExists(dest)) {
406
+ await rm5(dest, { recursive: true, force: true });
407
+ }
408
+ }
391
409
  const activeMech = MECHANISM_SKILLS[tier];
392
410
  const inactiveMech = tier === "local" ? MECHANISM_SKILLS.cloud : MECHANISM_SKILLS.local;
393
411
  const inactivePath = join4(skillsDir, inactiveMech);
@@ -440,18 +458,17 @@ async function copyCursorRules(targetDir) {
440
458
  await copyFile(context7Rule, join4(rulesDir, "flydocs-context7.mdc"));
441
459
  }
442
460
  }
443
- var OWNED_SKILLS, MECHANISM_SKILLS;
461
+ var CORE_SKILLS, CLOUD_ONLY_SKILLS, MECHANISM_SKILLS;
444
462
  var init_skills = __esm({
445
463
  "src/lib/skills.ts"() {
446
464
  "use strict";
447
465
  init_fs_ops();
448
- OWNED_SKILLS = [
466
+ CORE_SKILLS = [
449
467
  "flydocs-workflow",
450
- "flydocs-figma",
451
- "flydocs-estimates",
452
468
  "flydocs-context-graph",
453
469
  "flydocs-context7"
454
470
  ];
471
+ CLOUD_ONLY_SKILLS = ["flydocs-figma", "flydocs-estimates"];
455
472
  MECHANISM_SKILLS = {
456
473
  local: "flydocs-local",
457
474
  cloud: "flydocs-cloud"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flydocs/cli",
3
- "version": "0.5.0-beta.14",
3
+ "version": "0.5.0-beta.16",
4
4
  "type": "module",
5
5
  "description": "FlyDocs AI CLI — install, setup, and manage FlyDocs projects",
6
6
  "bin": {
@@ -588,9 +588,11 @@ What's coming next:
588
588
  → Web portal — project setup, team visibility, session analytics
589
589
  → Cost intelligence — AI usage tracking and spend analysis
590
590
 
591
- Join the community:
592
- Discord: https://discord.com/invite/YAkjePmZTQ
593
- Docs & updates: https://www.flydocs.ai
591
+ Join the Discord for upcoming features, support, and early access to what's next.
592
+ Invite link:
593
+ https://discord.com/invite/YAkjePmZTQ
594
+
595
+ Docs and updates: https://www.flydocs.ai
594
596
 
595
597
  ─────────────────────────────────────────────────────
596
598
  ```
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0-beta.14",
2
+ "version": "0.5.0-beta.16",
3
3
  "sourceRepo": "github.com/plastrlab/flydocs-core",
4
4
  "tier": "local",
5
5
  "setupComplete": false,
@@ -1 +1 @@
1
- 0.5.0-beta.14
1
+ 0.5.0-beta.16
@@ -7,6 +7,27 @@ Versioning: [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.5.0-beta.16] — 2026-02-24
11
+
12
+ ### Changed
13
+
14
+ - **Premium skills are cloud-only** — `flydocs-figma` and `flydocs-estimates` are no
15
+ longer installed on local tier. Existing local installs have them cleaned up on
16
+ next update. Core skills (workflow, context-graph, context7) remain on all tiers.
17
+
18
+ ---
19
+
20
+ ## [0.5.0-beta.15] — 2026-02-24
21
+
22
+ ### Changed
23
+
24
+ - **CTA links use full URLs** — Discord and flydocs.ai links now display as full URLs
25
+ (`https://discord.com/invite/...`, `https://www.flydocs.ai`) for terminal compatibility.
26
+ Discord section shows "Join the Discord" heading with invite link on its own line.
27
+ Setup command CTA updated to match.
28
+
29
+ ---
30
+
10
31
  ## [0.5.0-beta.14] — 2026-02-24
11
32
 
12
33
  ### Changed
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0-beta.14",
2
+ "version": "0.5.0-beta.16",
3
3
  "description": "FlyDocs Core - Manifest of all managed files",
4
4
  "repository": "github.com/plastrlab/flydocs-core",
5
5