@guanmu/ccprofile 0.1.11 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +19 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ import { createRequire } from "node:module";
4
4
  import path from "node:path";
5
5
  import { execFileSync } from "node:child_process";
6
6
  import * as p from "@clack/prompts";
7
+ import pc from "picocolors";
7
8
  const PROFILES_DIR = path.join(process.env.HOME, ".ccx", "profiles");
8
9
  const MARKETPLACES_DIR = path.join(process.env.HOME, ".claude", "plugins", "marketplaces");
9
10
  function ensureProfilesDir() {
@@ -487,13 +488,30 @@ async function marketplaceWizard() {
487
488
  await searchPlugins();
488
489
  }
489
490
  }
491
+ const CCX_LOGO = [
492
+ " ██████╗██████╗",
493
+ " ██╔════╝██╔══██╗",
494
+ " ██║ ██████╔╝",
495
+ " ██║ ██╔══██╗",
496
+ " ╚██████╗██║ ██║",
497
+ " ╚═════╝╚═╝ ╚═╝",
498
+ ];
499
+ function printBanner() {
500
+ const require = createRequire(import.meta.url);
501
+ const pkg = require("../package.json");
502
+ console.log();
503
+ CCX_LOGO.forEach((line) => console.log(pc.bold(pc.magenta(line))));
504
+ console.log();
505
+ console.log(pc.dim(" ") + pc.italic(pc.white("Agent Profile Manager")) + pc.dim(" ") + pc.gray(`v${pkg.version}`));
506
+ console.log();
507
+ }
490
508
  async function interactiveMode() {
491
509
  if (!canPrompt()) {
492
510
  printNonInteractiveHelp();
493
511
  process.exitCode = 1;
494
512
  return;
495
513
  }
496
- p.intro("ccx — Agent Profile Manager");
514
+ printBanner();
497
515
  let shouldExit = false;
498
516
  while (!shouldExit) {
499
517
  const area = await p.select({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanmu/ccprofile",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Agent Profile Manager for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {