cchost 0.4.1 → 0.4.2

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/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # cchost
2
2
 
3
- > Run multiple isolated Claude Code accounts on one machine — switch between them with a single `cc` command.
4
-
5
3
  [![npm version](https://img.shields.io/npm/v/cchost.svg)](https://www.npmjs.com/package/cchost)
6
4
  [![CI](https://github.com/allenhack638/cchost/actions/workflows/ci.yml/badge.svg)](https://github.com/allenhack638/cchost/actions/workflows/ci.yml)
7
5
  [![license](https://img.shields.io/npm/l/cchost.svg)](./LICENSE)
package/lib/banner.js CHANGED
@@ -1,29 +1,22 @@
1
1
  'use strict';
2
2
 
3
- // ASCII banner shown on `cc`, `cc help`, `cc --help`, and the unknown-command
4
- // fallback. Generated once with figlet's "ANSI Shadow" font and frozen as a
5
- // literal so the runtime has no dependency on figlet. Plain ASCII / no color —
6
- // works in any terminal, including ones with NO_COLOR or no TTY.
7
-
8
3
  const BANNER =
9
4
  '\n' +
10
- ' ██████╗ ██████╗██╗ ██╗ ██████╗ ███████╗████████╗\n' +
11
- '██╔════╝██╔════╝██║ ██║██╔═══██╗██╔════╝╚══██╔══╝\n' +
12
- '██║ ██║ ███████║██║ ██║███████╗ ██║ \n' +
13
- '██║ ██║ ██╔══██║██║ ██║╚════██║ ██║ \n' +
14
- '╚██████╗╚██████╗██║ ██║╚██████╔╝███████║ ██║ \n' +
15
- ' ╚═════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ \n';
5
+ ' ██████╗ ██████╗██╗ ██╗ ██████╗ ███████╗████████╗\n' +
6
+ ' ██╔════╝██╔════╝██║ ██║██╔═══██╗██╔════╝╚══██╔══╝\n' +
7
+ ' ██║ ██║ ███████║██║ ██║███████╗ ██║ \n' +
8
+ ' ██║ ██║ ██╔══██║██║ ██║╚════██║ ██║ \n' +
9
+ ' ╚██████╗╚██████╗██║ ██║╚██████╔╝███████║ ██║ \n' +
10
+ ' ╚═════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ \n';
16
11
 
17
12
  function renderBanner() {
18
13
  let version = '';
19
14
  try {
20
15
  version = require('../package.json').version;
21
16
  } catch {
22
- // package.json missing — banner still renders without a version.
23
17
  }
24
18
  const tagline = 'Multi-profile launcher for Claude Code';
25
- const versionLine = version ? `v${version} — ${tagline}` : tagline;
26
- return BANNER + ' ' + versionLine + '\n\n';
19
+ return BANNER + ' ' + '\n\n';
27
20
  }
28
21
 
29
22
  module.exports = { renderBanner, BANNER };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cchost",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Host multiple isolated Claude Code accounts on one machine via the `cc` command.",
5
5
  "keywords": [
6
6
  "claude",
@@ -44,4 +44,4 @@
44
44
  "devDependencies": {
45
45
  "vitest": "^2.1.0"
46
46
  }
47
- }
47
+ }