vibeshare-live 0.1.0 → 0.1.1

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
@@ -47,9 +47,9 @@ Send them the `share` URL. They spectate read-only; with `--invite` they can req
47
47
 
48
48
  `vibeshare --version` · `vibeshare --help` · `vibeshare mcp`
49
49
 
50
- ## Your own domain, not vibe.live
50
+ ## Share links
51
51
 
52
- The share URL reads `vibeshare.stream/s/<id>` — **vibeshare's own domain** (available $4/yr), not `vibe.live`. The link is a capability URL: the id is the only thing that grants access (122 bits of entropy), so it's unguessable. Optional `--pass` adds a second factor.
52
+ The share URL reads like `your-host/s/<id>`. The link is a capability URL: the id is the only thing that grants access (122 bits of entropy), so it's unguessable. Optional `--pass` adds a second factor.
53
53
 
54
54
  The actual live stream runs over the local/LAN WebSocket relay that vibelive starts on your machine. The `vibeshare.stream` URL is the identity layer; the bytes flow over a self-hostable relay.
55
55
 
@@ -82,7 +82,7 @@ function parseShareUrl(url) {
82
82
  }
83
83
 
84
84
  // src/share.ts
85
- import { SHARE_SESSION_SCOPE as VIBELIVE_SHARE_SCOPE } from "vibelive-cli";
85
+ import { SHARE_SESSION_SCOPE as VIBELIVE_SHARE_SCOPE } from "vibelive";
86
86
  var SHARE_SESSION_SCOPE = VIBELIVE_SHARE_SCOPE;
87
87
  function parseExpiry(spec) {
88
88
  if (spec === void 0) return null;
package/dist/cli.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { A as AccessMode, E as ExpirySpec } from './share-CoX608sF.js';
3
- import 'vibelive-cli';
2
+ import { A as AccessMode, E as ExpirySpec } from './share-t_zYXkQB.js';
3
+ import 'vibelive';
4
4
  import '@pooriaarab/vibe-core';
5
5
 
6
6
  type ParsedCommand = {
package/dist/cli.js CHANGED
@@ -2,13 +2,14 @@
2
2
  import {
3
3
  VERSION,
4
4
  createShare
5
- } from "./chunk-5OLI3WTU.js";
5
+ } from "./chunk-SBAGPPGC.js";
6
6
 
7
7
  // src/cli.ts
8
+ import { realpathSync } from "fs";
8
9
  import { createInterface } from "readline";
9
10
  import { networkInterfaces } from "os";
10
11
  import { pathToFileURL } from "url";
11
- import { createHost, createRelay, SHARE_SESSION_SCOPE } from "vibelive-cli";
12
+ import { createHost, createRelay, SHARE_SESSION_SCOPE } from "vibelive";
12
13
  var HOST_ID = "host";
13
14
  var BADGE = "\u25CF p2p \xB7 e2e \xB7 nothing stored on a server";
14
15
  var err = (message) => ({ cmd: "error", message });
@@ -267,7 +268,7 @@ async function main(argv = process.argv.slice(2)) {
267
268
  return 2;
268
269
  }
269
270
  }
270
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
271
+ if (process.argv[1] && import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href) {
271
272
  void main().then((code) => process.exit(code));
272
273
  }
273
274
  export {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { a as AccessGate, b as AccessGateOptions, A as AccessMode, C as ConsentError, c as ControlRequestResult, D as DEFAULT_ACCESS, d as DenialReason, E as ExpirySpec, H as HOST_PARTICIPANT_NAME, R as RevokeReason, S as SHARE_SESSION_SCOPE, e as ShareHandle, f as ShareOptions, V as Viewer, g as ViewerRole, h as ViewerRoster, i as createAccessGate, j as createShare, p as parseExpiry } from './share-CoX608sF.js';
2
- import 'vibelive-cli';
1
+ export { a as AccessGate, b as AccessGateOptions, A as AccessMode, C as ConsentError, c as ControlRequestResult, D as DEFAULT_ACCESS, d as DenialReason, E as ExpirySpec, H as HOST_PARTICIPANT_NAME, R as RevokeReason, S as SHARE_SESSION_SCOPE, e as ShareHandle, f as ShareOptions, V as Viewer, g as ViewerRole, h as ViewerRoster, i as createAccessGate, j as createShare, p as parseExpiry } from './share-t_zYXkQB.js';
2
+ import 'vibelive';
3
3
  import '@pooriaarab/vibe-core';
4
4
 
5
5
  /** vibeshare package version (single source of truth for CLI + MCP). */
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  newShareId,
14
14
  parseExpiry,
15
15
  parseShareUrl
16
- } from "./chunk-5OLI3WTU.js";
16
+ } from "./chunk-SBAGPPGC.js";
17
17
  export {
18
18
  ConsentError,
19
19
  DEFAULT_ACCESS,
package/dist/mcp.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
- import { RelayHandle } from 'vibelive-cli';
3
- import { e as ShareHandle } from './share-CoX608sF.js';
2
+ import { RelayHandle } from 'vibelive';
3
+ import { e as ShareHandle } from './share-t_zYXkQB.js';
4
4
  import '@pooriaarab/vibe-core';
5
5
 
6
6
  /**
package/dist/mcp.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  VERSION,
3
3
  __export,
4
4
  createShare
5
- } from "./chunk-5OLI3WTU.js";
5
+ } from "./chunk-SBAGPPGC.js";
6
6
 
7
7
  // src/mcp.ts
8
8
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -14523,7 +14523,7 @@ function date4(params) {
14523
14523
  config(en_default());
14524
14524
 
14525
14525
  // src/mcp.ts
14526
- import { createHost, createRelay, SHARE_SESSION_SCOPE } from "vibelive-cli";
14526
+ import { createHost, createRelay, SHARE_SESSION_SCOPE } from "vibelive";
14527
14527
  function createMcpServer(sessions = /* @__PURE__ */ new Map()) {
14528
14528
  const server = new McpServer(
14529
14529
  { name: "vibeshare", version: VERSION },
@@ -1,4 +1,4 @@
1
- import { ControlState, WriteArbiter, RelayHandle } from 'vibelive-cli';
1
+ import { ControlState, WriteArbiter, RelayHandle } from 'vibelive';
2
2
  import { ConsentLedger } from '@pooriaarab/vibe-core';
3
3
 
4
4
  /**
package/package.json CHANGED
@@ -1,15 +1,24 @@
1
1
  {
2
2
  "name": "vibeshare-live",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Share your live agent coding session by URL — spectate read-only or invite into the vibelive multiplayer engine. Open source, CLI-first, e2e p2p. Local-first.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Pooria Arab",
8
- "bin": { "vibeshare": "./dist/cli.js" },
8
+ "bin": {
9
+ "vibeshare": "./dist/cli.js"
10
+ },
9
11
  "main": "./dist/index.js",
10
12
  "types": "./dist/index.d.ts",
11
- "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } },
12
- "files": ["dist"],
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
13
22
  "scripts": {
14
23
  "build": "tsup src/index.ts src/cli.ts src/mcp.ts --format esm --dts --clean",
15
24
  "typecheck": "tsc --noEmit",
@@ -18,9 +27,9 @@
18
27
  },
19
28
  "dependencies": {
20
29
  "@pooriaarab/vibe-core": "^0.1.0",
21
- "vibelive-cli": "^0.1.0",
22
30
  "@modelcontextprotocol/sdk": "^1.0.0",
23
- "ws": "^8.16.0"
31
+ "ws": "^8.16.0",
32
+ "vibelive": "^0.1.0"
24
33
  },
25
34
  "devDependencies": {
26
35
  "@types/node": "^20.11.0",
@@ -30,9 +39,28 @@
30
39
  "vitest": "^1.6.0"
31
40
  },
32
41
  "homepage": "https://github.com/pooriaarab/vibeshare#readme",
33
- "repository": { "type": "git", "url": "git+https://github.com/pooriaarab/vibeshare.git" },
34
- "bugs": { "url": "https://github.com/pooriaarab/vibeshare/issues" },
35
- "keywords": ["vibe-suite", "vibeshare", "claude-code", "codex", "multiplayer", "cli", "mcp", "share", "local-first"],
36
- "publishConfig": { "access": "public" },
37
- "engines": { "node": ">=18" }
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/pooriaarab/vibeshare.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/pooriaarab/vibeshare/issues"
48
+ },
49
+ "keywords": [
50
+ "vibe-suite",
51
+ "vibeshare",
52
+ "claude-code",
53
+ "codex",
54
+ "multiplayer",
55
+ "cli",
56
+ "mcp",
57
+ "share",
58
+ "local-first"
59
+ ],
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "engines": {
64
+ "node": ">=18"
65
+ }
38
66
  }