vibeshare-live 0.2.0 → 0.2.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.
@@ -991,7 +991,7 @@ var ShareManager = class {
991
991
  };
992
992
 
993
993
  // src/version.ts
994
- var VERSION = "0.1.0";
994
+ var VERSION = "0.2.2";
995
995
 
996
996
  export {
997
997
  vibeHome,
package/dist/cli.js CHANGED
@@ -10,11 +10,13 @@ import {
10
10
  loadLedger,
11
11
  readActiveShare,
12
12
  writeActiveShare
13
- } from "./chunk-RY2ANOPC.js";
13
+ } from "./chunk-QJY2Z6HC.js";
14
14
 
15
15
  // src/cli.ts
16
16
  import { spawn } from "child_process";
17
17
  import { createInterface } from "readline/promises";
18
+ import { realpathSync } from "fs";
19
+ import { pathToFileURL } from "url";
18
20
  import { badge, createHookBus, parseConfirm, watchCwd } from "@pooriaarab/vibe-core";
19
21
  var CliUsageError = class extends Error {
20
22
  constructor(message) {
@@ -415,7 +417,7 @@ async function run(argv, io = stdio) {
415
417
  return stopCommand(command, io);
416
418
  }
417
419
  }
418
- var isMain = process.argv[1] !== void 0 && import.meta.url === new URL(`file://${process.argv[1]}`).href;
420
+ var isMain = process.argv[1] !== void 0 && import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href;
419
421
  if (isMain) {
420
422
  run(process.argv.slice(2)).then(
421
423
  (code) => process.exit(code),
package/dist/index.d.ts CHANGED
@@ -74,7 +74,7 @@ declare function hashPassphrase(passphrase: string): string;
74
74
  /** Verify a candidate against a stored `scrypt$…` hash, timing-safe. */
75
75
  declare function verifyPassphrase(passphrase: string, stored: string): boolean;
76
76
 
77
- declare const VERSION = "0.1.0";
77
+ declare const VERSION = "0.2.2";
78
78
 
79
79
  /**
80
80
  * vibeshare — npm library surface.
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  spectatorPage,
17
17
  verifyPassphrase,
18
18
  vibeHome
19
- } from "./chunk-RY2ANOPC.js";
19
+ } from "./chunk-QJY2Z6HC.js";
20
20
 
21
21
  // src/index.ts
22
22
  import "@pooriaarab/vibe-core";
package/dist/mcp.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  ShareManager,
6
6
  VERSION,
7
7
  loadLedger
8
- } from "./chunk-RY2ANOPC.js";
8
+ } from "./chunk-QJY2Z6HC.js";
9
9
 
10
10
  // src/mcp.ts
11
11
  import { createInterface } from "readline";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeshare-live",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Share your live agent coding session by URL — spectate read-only or invite into the session. Local-first: runs on your machine, nothing readable leaves without consent. Part of the Vibe Suite.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -8,7 +8,9 @@
8
8
  "node": ">=18"
9
9
  },
10
10
  "bin": {
11
+ "vibeshare-live": "./dist/cli.js",
11
12
  "vibeshare": "./dist/cli.js",
13
+ "vibeshare-live-mcp": "./dist/mcp.js",
12
14
  "vibeshare-mcp": "./dist/mcp.js"
13
15
  },
14
16
  "main": "./dist/index.js",