@csdwd/ai-teams-server 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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2306,7 +2306,7 @@ async function startServer(options = readOptionsFromEnv()) {
2306
2306
  await server.app.listen({ port: options.port ?? DEFAULT_PORT, host: options.host ?? "0.0.0.0" });
2307
2307
  return server;
2308
2308
  }
2309
- var isCli = process.argv[1] === fileURLToPath(import.meta.url);
2309
+ var isCli = process.argv[1] && fs.realpathSync(process.argv[1]) === fileURLToPath(import.meta.url);
2310
2310
  if (isCli) {
2311
2311
  let getArgValue = function(name) {
2312
2312
  const idx = args.indexOf(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csdwd/ai-teams-server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "AI Teams central server — Fastify HTTP + WebSocket server for task dispatch, employee management, and web UI",
5
5
  "type": "module",
6
6
  "bin": {