vibelet 0.1.14 → 0.1.15

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
@@ -2,6 +2,8 @@
2
2
 
3
3
  `@vibelet/cli` is a cross-platform CLI that installs and manages the Vibelet daemon for remote coding sessions. The same package is also published as `vibelet`.
4
4
 
5
+ Official website: https://vibelet.icu
6
+
5
7
  ## Requirements
6
8
 
7
9
  - macOS / Linux / Windows
@@ -22,6 +24,8 @@ npm install -g vibelet
22
24
  vibelet
23
25
  ```
24
26
 
27
+ The CLI prints the official website on each run so users can always jump back to the main docs and download page.
28
+
25
29
  ## Commands
26
30
 
27
31
  ```bash
package/bin/vibelet.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { spawn, spawnSync } from 'node:child_process';
4
- import { cpSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync, openSync } from 'node:fs';
4
+ import { cpSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync, openSync, writeSync } from 'node:fs';
5
5
  import { homedir } from 'node:os';
6
6
  import { dirname, join, resolve } from 'node:path';
7
7
  import { fileURLToPath } from 'node:url';
@@ -25,6 +25,19 @@ const stdoutLogPath = join(logDir, 'daemon.stdout.log');
25
25
  const stderrLogPath = join(logDir, 'daemon.stderr.log');
26
26
  const pidFilePath = join(vibeletDir, 'daemon.pid');
27
27
  const relayConfigPath = join(vibeletDir, 'relay.json');
28
+ const OFFICIAL_SITE_URL = 'https://vibelet.icu';
29
+
30
+ let officialSitePrinted = false;
31
+
32
+ function printOfficialSite() {
33
+ if (officialSitePrinted) return;
34
+ officialSitePrinted = true;
35
+ try {
36
+ writeSync(1, `\nOfficial site: ${OFFICIAL_SITE_URL}\n`);
37
+ } catch {
38
+ // Best-effort branding footer; ignore broken pipes and closed stdio.
39
+ }
40
+ }
28
41
 
29
42
  // ─── Helpers ────────────────────────────────────────────────────────────────────
30
43
 
@@ -700,5 +713,6 @@ async function main() {
700
713
 
701
714
  process.on('SIGINT', () => process.exit(0));
702
715
  process.on('SIGTERM', () => process.exit(0));
716
+ process.on('exit', printOfficialSite);
703
717
  await main();
704
718
  process.exit(0);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "vibelet",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "macOS CLI for installing and running the Vibelet daemon",
5
- "private": false,
5
+ "homepage": "https://vibelet.icu",
6
6
  "files": [
7
7
  "bin/vibelet.mjs",
8
8
  "bin/vibelet-runtime-policy.mjs",
@@ -24,23 +24,7 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "scripts": {
28
- "build": "NX_TUI=false nx run-many -t build",
29
- "build:release": "pnpm -C apps/daemon build:release",
30
- "dev": "nx run-many -t dev --parallel=10 --verbose",
31
- "dev:app": "pnpm -C apps/app dev",
32
- "dev:daemon": "pnpm -C apps/daemon dev",
33
- "dev:site": "pnpm -C apps/site dev",
34
- "build:site": "nx run site:build",
35
- "test": "pnpm -C apps/app test && pnpm -C apps/daemon test && pnpm -C apps/site test && node --test bin/vibelet-cli.test.mjs scripts/publish-dual-npm.test.mjs",
36
- "prepack": "pnpm build",
37
- "publish:dual": "node ./scripts/publish-dual-npm.mjs",
38
- "publish:dual:dry-run": "node ./scripts/publish-dual-npm.mjs --dry-run"
39
- },
40
27
  "dependencies": {
41
28
  "qrcode": "^1.5.4"
42
- },
43
- "devDependencies": {
44
- "nx": "^22.1.3"
45
29
  }
46
30
  }