@hasna/conversations 0.1.12 → 0.1.14

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/bin/index.js CHANGED
@@ -3137,7 +3137,7 @@ var init_presence = __esm(() => {
3137
3137
  var require_package = __commonJS((exports, module) => {
3138
3138
  module.exports = {
3139
3139
  name: "@hasna/conversations",
3140
- version: "0.1.12",
3140
+ version: "0.1.14",
3141
3141
  description: "Real-time CLI messaging for AI agents",
3142
3142
  type: "module",
3143
3143
  bin: {
@@ -3207,7 +3207,11 @@ var require_package = __commonJS((exports, module) => {
3207
3207
  repository: {
3208
3208
  type: "git",
3209
3209
  url: "git+https://github.com/hasna/conversations.git"
3210
- }
3210
+ },
3211
+ bugs: {
3212
+ url: "https://github.com/hasna/conversations/issues"
3213
+ },
3214
+ homepage: "https://github.com/hasna/conversations#readme"
3211
3215
  };
3212
3216
  });
3213
3217
 
@@ -32936,8 +32940,8 @@ function isSameOrigin(req) {
32936
32940
  return false;
32937
32941
  return origin === new URL(req.url).origin;
32938
32942
  }
32939
- function startDashboardServer(port = 3456, host) {
32940
- const resolvedPort = normalizePort(port, 3456);
32943
+ function startDashboardServer(port = 0, host) {
32944
+ const resolvedPort = normalizePort(port, 0);
32941
32945
  const resolvedHost = normalizeHost(host ?? process.env.CONVERSATIONS_DASHBOARD_HOST);
32942
32946
  const dashboardDist = join3(import.meta.dir, "../../dashboard/dist");
32943
32947
  const hasDist = existsSync(dashboardDist);
@@ -33350,7 +33354,7 @@ var init_serve = __esm(() => {
33350
33354
  init_presence();
33351
33355
  isDirectRun2 = import.meta.url === `file://${process.argv[1]}` || process.argv[1]?.endsWith("serve.ts") || process.argv[1]?.endsWith("serve.js");
33352
33356
  if (isDirectRun2) {
33353
- const port = normalizePort(process.env.PORT, 3456);
33357
+ const port = normalizePort(process.env.PORT, 0);
33354
33358
  startDashboardServer(port);
33355
33359
  }
33356
33360
  });
@@ -35218,7 +35222,7 @@ program2.command("mcp").description("Start MCP server").action(async () => {
35218
35222
  });
35219
35223
  program2.command("dashboard").description("Start web dashboard").option("--port <port>", "Port to listen on", parseInt).option("--host <host>", "Host to bind (default: 127.0.0.1)").action(async (opts) => {
35220
35224
  const { startDashboardServer: startDashboardServer2 } = await Promise.resolve().then(() => (init_serve(), exports_serve));
35221
- const port = Number.isFinite(opts.port) && opts.port >= 0 && opts.port <= 65535 ? opts.port : 3456;
35225
+ const port = Number.isFinite(opts.port) && opts.port >= 0 && opts.port <= 65535 ? opts.port : 0;
35222
35226
  startDashboardServer2(port, opts.host);
35223
35227
  });
35224
35228
  program2.action(() => {
package/bin/mcp.js CHANGED
@@ -29554,7 +29554,7 @@ function renameAgent(oldName, newName) {
29554
29554
  // package.json
29555
29555
  var package_default = {
29556
29556
  name: "@hasna/conversations",
29557
- version: "0.1.12",
29557
+ version: "0.1.14",
29558
29558
  description: "Real-time CLI messaging for AI agents",
29559
29559
  type: "module",
29560
29560
  bin: {
@@ -29624,7 +29624,11 @@ var package_default = {
29624
29624
  repository: {
29625
29625
  type: "git",
29626
29626
  url: "git+https://github.com/hasna/conversations.git"
29627
- }
29627
+ },
29628
+ bugs: {
29629
+ url: "https://github.com/hasna/conversations/issues"
29630
+ },
29631
+ homepage: "https://github.com/hasna/conversations#readme"
29628
29632
  };
29629
29633
 
29630
29634
  // src/mcp/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/conversations",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Real-time CLI messaging for AI agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -70,5 +70,9 @@
70
70
  "repository": {
71
71
  "type": "git",
72
72
  "url": "git+https://github.com/hasna/conversations.git"
73
- }
73
+ },
74
+ "bugs": {
75
+ "url": "https://github.com/hasna/conversations/issues"
76
+ },
77
+ "homepage": "https://github.com/hasna/conversations#readme"
74
78
  }