yapout 0.10.0 → 0.10.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/index.js +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12,8 +12,7 @@ import { Command as Command17 } from "commander";
12
12
  // src/commands/login.ts
13
13
  import { Command as Command2 } from "commander";
14
14
  import http2 from "http";
15
- import { createHash as createHash2 } from "crypto";
16
- import { hostname as hostname2, userInfo as userInfo2 } from "os";
15
+ import { hostname as hostname2 } from "os";
17
16
  import chalk3 from "chalk";
18
17
  import open from "open";
19
18
  import { anyApi as anyApi3 } from "convex/server";
@@ -558,7 +557,7 @@ function requireAuth() {
558
557
  }
559
558
 
560
559
  // src/commands/serve.ts
561
- var CLI_VERSION = "0.10.0";
560
+ var CLI_VERSION = "0.10.1";
562
561
  var DEFAULT_PORT = 7777;
563
562
  var PORT_RANGE = 10;
564
563
  var HEARTBEAT_MS = 3e4;
@@ -781,7 +780,7 @@ var serveCommand = new Command("serve").description(
781
780
  });
782
781
 
783
782
  // src/commands/login.ts
784
- var CLI_VERSION2 = "0.10.0";
783
+ var CLI_VERSION2 = "0.10.1";
785
784
  function safeReturnTo(raw) {
786
785
  if (!raw) return null;
787
786
  try {
@@ -856,7 +855,8 @@ var loginCommand = new Command2("login").description("Authenticate with yapout")
856
855
  console.log(chalk3.dim("Starting authentication..."));
857
856
  const { port, data } = await startCallbackServer();
858
857
  const appUrl = getAppUrl();
859
- const deviceId = createHash2("sha256").update(hostname2() + userInfo2().username).digest("hex").slice(0, 16);
858
+ const identity = getOrCreateDeviceIdentity(hostname2());
859
+ const deviceId = identity.deviceId;
860
860
  const authParams = new URLSearchParams({
861
861
  port: String(port),
862
862
  deviceId,
@@ -4129,7 +4129,7 @@ async function startMcpServer() {
4129
4129
  };
4130
4130
  const server = new McpServer({
4131
4131
  name: "yapout",
4132
- version: "0.10.0"
4132
+ version: "0.10.1"
4133
4133
  });
4134
4134
  registerInitTool(server, ctx);
4135
4135
  registerCompactTool(server, ctx);
@@ -4896,7 +4896,7 @@ var watchCommand = new Command11("watch").description("Watch for work and spawn
4896
4896
  chalk12.green("Watcher started in background") + chalk12.dim(` (PID ${process.pid}, log: ${LOG_FILE2})`)
4897
4897
  );
4898
4898
  }
4899
- console.log(chalk12.bold(`yapout watch v${"0.10.0"}`));
4899
+ console.log(chalk12.bold(`yapout watch v${"0.10.1"}`));
4900
4900
  console.log(
4901
4901
  `Project: ${chalk12.green(mapping.projectName)} (${mapping.projectId})`
4902
4902
  );
@@ -5449,7 +5449,7 @@ var handleUriCommand = new Command16("handle-uri").description("Handle a yapout:
5449
5449
 
5450
5450
  // src/index.ts
5451
5451
  var program = new Command17();
5452
- program.name("yapout").description("yapout \u2014 from meeting transcript to merged PR").version("0.10.0");
5452
+ program.name("yapout").description("yapout \u2014 from meeting transcript to merged PR").version("0.10.1");
5453
5453
  program.addCommand(loginCommand);
5454
5454
  program.addCommand(logoutCommand);
5455
5455
  program.addCommand(initCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yapout",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "yapout CLI — link local repos, authenticate, and manage projects",
5
5
  "type": "module",
6
6
  "bin": {