@hasna/configs 0.2.14 → 0.2.15

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.
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  declare const _default: {
3
3
  port: number;
4
+ hostname: string;
4
5
  fetch: (request: Request, Env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
5
6
  };
6
7
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;AAqRA,wBAAgD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;AAsRA,wBAAgE"}
@@ -2721,8 +2721,9 @@ if (dashDir) {
2721
2721
  });
2722
2722
  });
2723
2723
  }
2724
- console.log(`configs-serve listening on http://localhost:${PORT}${dashDir ? " (dashboard: /" : " (no dashboard found)"}`);
2725
- var server_default = { port: PORT, fetch: app.fetch };
2724
+ var HOST = process.env["CONFIGS_HOST"] ?? "localhost";
2725
+ console.log(`configs-serve listening on http://${HOST}:${PORT}${dashDir ? " (dashboard: /" : " (no dashboard found)"}`);
2726
+ var server_default = { port: PORT, hostname: HOST, fetch: app.fetch };
2726
2727
  export {
2727
2728
  server_default as default
2728
2729
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/configs",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "AI coding agent configuration manager — store, version, apply, and share all your AI coding configs. CLI + MCP + REST API + Dashboard.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",