vibedate 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -6
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1387,7 +1387,7 @@ async function handle(req, res, opts) {
1387
1387
  }
1388
1388
 
1389
1389
  // src/cli.ts
1390
- var VERSION = "0.2.0";
1390
+ var VERSION = "0.2.1";
1391
1391
  function parsePort(raw) {
1392
1392
  const n = Number(raw);
1393
1393
  if (!Number.isInteger(n) || n < 1 || n > 65535) return void 0;
@@ -1563,17 +1563,22 @@ async function cmdOpen(port) {
1563
1563
  if (profile) {
1564
1564
  if (!canShareLive()) grantLiveConsent();
1565
1565
  live = createLiveBridge();
1566
+ }
1567
+ const started = await startServer({ port, live });
1568
+ if (profile && live) {
1569
+ process2.stdout.write(`
1570
+ ${LIVE_NOTICE}
1571
+ `);
1566
1572
  const hello = {
1567
1573
  handle: profile.handle,
1568
1574
  league: profile.league,
1569
1575
  harness: profile.harness
1570
1576
  };
1571
- process2.stdout.write(`
1572
- ${LIVE_NOTICE}
1573
- `);
1574
- session = await startDiscovery({ hello, onLink: (link) => live.addLink(link) });
1577
+ void startDiscovery({ hello, onLink: (link) => live.addLink(link) }).then((s) => {
1578
+ session = s;
1579
+ }).catch(() => {
1580
+ });
1575
1581
  }
1576
- const started = await startServer({ port, live });
1577
1582
  process2.stdout.write(`
1578
1583
  vibedating local web app \u2192 ${started.url}
1579
1584
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibedate",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Dating by tokens — matched by usage league across agentic CLIs. Raw usage stays local; only your league is shared. CLI + local web app + MCP. Local-first.",
5
5
  "type": "module",
6
6
  "license": "MIT",