aiblueprint-cli 1.2.2 → 1.2.3

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.
Files changed (2) hide show
  1. package/dist/cli.js +45 -10
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -33368,7 +33368,6 @@ async function setupCommand(params = {}) {
33368
33368
  "customStatusline",
33369
33369
  "aiblueprintCommands",
33370
33370
  "aiblueprintAgents",
33371
- "aiblueprintSkills",
33372
33371
  "notificationSounds",
33373
33372
  "codexSymlink",
33374
33373
  "openCodeSymlink"
@@ -33406,11 +33405,6 @@ async function setupCommand(params = {}) {
33406
33405
  name: "AIBlueprint agents - Specialized AI agents",
33407
33406
  checked: true
33408
33407
  },
33409
- {
33410
- value: "aiblueprintSkills",
33411
- name: "AIBlueprint Skills - Reusable skill modules for specialized tasks",
33412
- checked: false
33413
- },
33414
33408
  {
33415
33409
  value: "notificationSounds",
33416
33410
  name: "Notification sounds - Audio alerts for events",
@@ -33446,7 +33440,6 @@ async function setupCommand(params = {}) {
33446
33440
  customStatusline: features.includes("customStatusline"),
33447
33441
  aiblueprintCommands: features.includes("aiblueprintCommands"),
33448
33442
  aiblueprintAgents: features.includes("aiblueprintAgents"),
33449
- aiblueprintSkills: features.includes("aiblueprintSkills"),
33450
33443
  notificationSounds: features.includes("notificationSounds"),
33451
33444
  postEditTypeScript: features.includes("postEditTypeScript"),
33452
33445
  codexSymlink: features.includes("codexSymlink"),
@@ -34861,8 +34854,46 @@ function getTokenInfo() {
34861
34854
  }
34862
34855
 
34863
34856
  // src/commands/pro.ts
34857
+ var import_fs_extra15 = __toESM(require_lib4(), 1);
34858
+ import path17 from "path";
34864
34859
  var API_URL = "https://codeline.app/api/products";
34865
34860
  var PRODUCT_ID = "prd_XJVgxVPbGG";
34861
+ async function countInstalledItems(claudeDir) {
34862
+ const counts = {
34863
+ commands: 0,
34864
+ agents: 0,
34865
+ skills: 0
34866
+ };
34867
+ try {
34868
+ const commandsDir = path17.join(claudeDir, "commands");
34869
+ if (await import_fs_extra15.default.pathExists(commandsDir)) {
34870
+ const files = await import_fs_extra15.default.readdir(commandsDir);
34871
+ counts.commands = files.filter((f3) => f3.endsWith(".md")).length;
34872
+ }
34873
+ } catch {
34874
+ }
34875
+ try {
34876
+ const agentsDir = path17.join(claudeDir, "agents");
34877
+ if (await import_fs_extra15.default.pathExists(agentsDir)) {
34878
+ const files = await import_fs_extra15.default.readdir(agentsDir);
34879
+ counts.agents = files.filter((f3) => f3.endsWith(".md")).length;
34880
+ }
34881
+ } catch {
34882
+ }
34883
+ try {
34884
+ const skillsDir = path17.join(claudeDir, "skills");
34885
+ if (await import_fs_extra15.default.pathExists(skillsDir)) {
34886
+ const items = await import_fs_extra15.default.readdir(skillsDir);
34887
+ const dirs = await Promise.all(items.map(async (item) => {
34888
+ const stat = await import_fs_extra15.default.stat(path17.join(skillsDir, item));
34889
+ return stat.isDirectory();
34890
+ }));
34891
+ counts.skills = dirs.filter(Boolean).length;
34892
+ }
34893
+ } catch {
34894
+ }
34895
+ return counts;
34896
+ }
34866
34897
  async function proActivateCommand(userToken) {
34867
34898
  oe(source_default.blue("\uD83D\uDD11 Activate AIBlueprint CLI Premium"));
34868
34899
  try {
@@ -34982,11 +35013,15 @@ async function proSetupCommand(options = {}) {
34982
35013
  postEditTypeScript: true
34983
35014
  }, claudeDir);
34984
35015
  spinner.stop("Settings.json updated");
35016
+ spinner.start("Counting installed items...");
35017
+ const counts = await countInstalledItems(claudeDir);
35018
+ spinner.stop("Installation summary ready");
34985
35019
  f2.success("✅ Setup complete!");
34986
35020
  f2.info("Installed:");
34987
- f2.info("Free commands + Premium commands");
34988
- f2.info("Free agents + Premium agents");
34989
- f2.info(" • Premium statusline ONLY (advanced)");
35021
+ f2.info(`Commands (${counts.commands})`);
35022
+ f2.info(`Agents (${counts.agents})`);
35023
+ f2.info(` • Premium Skills (${counts.skills})`);
35024
+ f2.info(" • Premium statusline (advanced)");
34990
35025
  f2.info(" • Shell shortcuts (cc, ccc)");
34991
35026
  f2.info(" • Settings.json with hooks and statusline");
34992
35027
  $e(source_default.green("\uD83D\uDE80 Ready to use!"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiblueprint-cli",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "AIBlueprint CLI for setting up Claude Code configurations",
5
5
  "author": "AIBlueprint",
6
6
  "license": "MIT",